Skip to main content

Payment Status

Check the status of a payment

You can track an order's payment status using Oceanpayment’s asynchronous notifications or order status query.

Note
  • Ensure you interpret Oceanpayment’s payment status correctly.
  • Misinterpretation may lead to financial discrepancies or losses.

Payment Status

Response ParameterDescription
payment_statusPayment result
  • -1: Pending – the transaction is not final. Wait for async notification or query the latest status.
  • 0: Failed / Cancelled – the payment did not complete.
  • 1: Successful – fulfill the order and provide goods or services.
<payment_status>1</payment_status>

Payment Type

Response ParameterDescription
payment_authTypeType of payment for the order
  • 0: Sale (standard transaction)
  • 1: Pre-authorization, non-3D
  • 2: 3D Secure, non-pre-authorization
  • 3: 3D Secure with pre-authorization
<payment_authType>0</payment_authType>

Response Details

  1. Each transaction returns detailed result codes:
<payment_details>80000:Transaction Approved</payment_details>
  • payment_solutions, Suggested actions if the payment fails. You can display this on the failure page for customers.
<payment_solutions>Sorry, your card is unable to authorised. If you entered the correct information, please use a different card or call your card issuer or use different payment method.</payment_solutions>
  1. Refer to the full list of Oceanpayment transaction response codes for more details.