Posts: 1
Registered: ‎07-06-2017

Card expired

[ Edited ]

If my card is expired for the particular month, for this month Silent Post  first given me successful recurring request and then after given me failed post with message "The card is expired".

I am really stuck here, can anybody help me out here.

Posts: 459
Topics: 0
Kudos: 92
Blog Posts: 0
Ideas: 0
Solutions: 36
Registered: ‎04-28-2017

Re: Card expired

Ideally Webhooks should be used instead of the silent post method. However, when receiving a silent post you could check the responseCode and responseReasoneCode values to determine the status of the transaction.


$response_code = (int) $_POST['x_response_code'];
$reason_code = (int) $_POST['x_response_reason_code'];
 if ($response_code == 3 && $reason_code == 8)
        // An expired card
Powered by -
Certified developers
Posts: 2,765
Topics: 57
Kudos: 247
Blog Posts: 67
Registered: ‎12-05-2011

Re: Card expired

Hello @4uE73QEHwd


Another option is to use Account Updater to automatically keep cards on file information accurate.