Integration StepsStep 5: Handle Payment Status

Step 5: Handle Payment Status

Step 5: Handle Payment Status

Payment States

StateDescription
initiatedTransaction created; customer redirected
pendingPayment submitted; awaiting confirmation
successPayment confirmed and settled
failedPayment declined or could not be processed
expiredCustomer did not complete payment in time

Tracking Methods

Apara sends HTTP POST to your endpoint on every status change. Most reliable — should be your source of truth.

2. Redirect URLs

Configure in your transaction request:

  • successRedirectUrl — customer sent here on success
  • failureRedirectUrl — customer sent here on failure

3. Dashboard

Manual check under Dashboard → Transactions.

Redirects are great for user experience, but webhooks should be your source of truth.