Skip to content

Commit

Permalink
Merge pull request #95 from paytrail/pay-and-add-card-card-parameters
Browse files Browse the repository at this point in the history
Add card details parameter info to pay and add card
  • Loading branch information
jfrojd-paytrail authored Oct 2, 2023
2 parents 5ffcfda + 53eb7ea commit ff23ea0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,8 @@ The initial request will return `HTTP 200` when successful, the `transactionId`

If the flow is successfully completed, the given [success-callback URL](#redirect-and-callback-url-parameters) will be called with an additional parameter: `checkout-card-token`, which is also included in the HMAC-calculation of the `signature`-parameter. This token can be saved by the merchant and additional payments can be [charged](#charging-a-token) on the token. The token is **not** included in the redirect URL parameters, as we don't want the user to be able to see the token.

The success callback will also include [the card details](#card) as additional parameters.

If the flow fails due to issues with the card itself (insufficient funds, fraud etc.), the given [cancel-callback URL](#redirect-and-callback-url-parameters) will be called with additional parameters `checkout-acquirer-response-code` and `checkout-acquirer-response-code-description` for troubleshooting the possible cause.

## Invoices
Expand Down

0 comments on commit ff23ea0

Please sign in to comment.