pg_3ds = 1 and the client has completed 3DS.pg_3d_acsurl for the client with an HTTP POST form and pass the address of your page in TermUrl:TermUrl after 3DS: then call this method.pg_status | Meaning | Next step |
|---|---|---|
ok | The card is saved. | Store pg_card_token. |
error | The request is rejected or the payment system declined the card. | See «Errors» below. |
200; the error is returned in pg_error_code and pg_error_description.pg_error_code | When | What to do |
|---|---|---|
94031 | pg_payment_id is not passed or not found. | Pass pg_payment_id from the Save card response. |
1100 | The signature is missing or invalid, or pg_merchant_id is not found. If the merchant is not found, the response is not signed. | Check the merchant ID and the signature with the secret key. |
10004 | The client has not completed 3DS. | Call the method after the client returns to TermUrl. |
110691 | Card saving is not waiting for 3DS: 3DS is not required or is already completed. | Get the card with List saved cards. |
| Other codes | The payment system declined the card, for example the client failed 3DS. | See Error codes. |
pg_sig is calculated with the secret key test_secret_key.