isPaid
Check if Checkout order is paid and when paid, return status is_paid with callback data so checkout can simulate a callback to the store return by echo JSON string.
An example of how to use this function can be found here
- Endpoint
/public/ajax.php?isPaid
- Method
POST
Request
Property | Type | Description |
---|---|---|
hash | string | The hash for the order. |
Repsonse
Property | Type | Description |
---|---|---|
method | string | The payment method used for the purchase. |
code | string | Returns 'is_paid' if successful |
data | object | Order data |
credentials.hash | string | The hash for the order. |
accepturl.returnmethod | string | The method used for the return. (Either GET or POST) |
accepturl.url | string | The complete url used in accessurl. |
accepturl.baseurl | string | The base url of the accessurl. |
accepturl.params | object | Parameters for the accessurl. |
Last modified: 13 September 2024