- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Card expired
If my card is expired for the particular month, for this month authorize.net 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.
โ07-06-2017 03:10 AM - edited โ07-06-2017 03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 }
Certified Authorize.net developers

โ07-06-2017 04:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @4uE73QEHwd
Another option is to use Account Updater to automatically keep cards on file information accurate.
https://www.authorize.net/solutions/merchantsolutions/merchantservices/accountupdater/
Richard
โ07-06-2017 10:16 AM

