Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Silent post passing decline as success
Here is my php code which has been working fine for ARB payments when they are successful:
// Get the response code. 1 is success, 2 is decline, 3 is error
$response_code = (int)$_POST['x_response_code'];
if ($response_code == 1) {
// Approved!
..do important stuff here
However, a recent ARB transaction was declined, but the code still ran (i.e. $response_code == 1 when it should have been 2).
Did I miss something?
โ07-11-2017 06:10 PM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ07-13-2017 01:44 PM