Example
This example uses Px Pay2 by Payment Express.
Redirect URL
| Field | Value |
|---|---|
| Contents | {{oPaymentServerTransaction.CustomProperties.Get("url")}} |
Prepare payment
| Field | Value |
|---|---|
| Format | XML |
| Host Address | https://uat.paymentexpress.com/pxaccess/pxpay.aspx |
| Request Method | Post |
| Contents |
|
| Response Mapping |
Source: /Request/URI Destination: url Value: |
| Success Conditions |
Name: url Value: Operator: IsNotEmpty |
Authorize payment
| Field | Value |
|---|---|
| Format | XML |
| Host Address | https://uat.paymentexpress.com/pxaccess/pxpay.aspx |
| Request Method | Post |
| Contents |
|
| Response Mapping |
Source: /Response/ReCo Destination: Status Value: Source: /Response/DpsTxnRef Destination: DpsTxnRef Value: |
| Success Conditions |
Name: Status Value: 00 Operator: Equals |
Inquire payment
| Field | Value |
|---|---|
| Format | XML |
| Host Address | https://uat.paymentexpress.com/pxaccess/pxpost.aspx |
| Request Method | Post |
| Contents |
|
| Response Mapping |
Source: /Txn/Transaction/@responseText Destination: InquireCaptureResponseText Value: Source: /Txn/DpsTxnRef Destination: DpsTxnRef Value: Source: /Txn/Transaction/@reco Destination: InquireCaptureResponseCode Value: |
| Success Conditions |
Name: InquireCaptureResponseCode Value: 00 Operator: Equals |
Reverse payment
| Field | Value |
|---|---|
| Format | XML |
| Host Address | https://uat.paymentexpress.com/pxaccess/pxpost.aspx |
| Request Method | Post |
| Contents |
|
| Response Mapping |
Source: /Txn/Transaction/@responseText Destination: RefundResponseText Value: |
| Success Conditions |
Name: RefundResponseText Value: APPROVED Operator: Equals |