ccoleman Posted November 27, 2019 Share Posted November 27, 2019 Hi everyone, I would *really* appreciate some replies on this because I've hit a brick wall. I'm creating a custom payment gateway with 3d secure, and in my callback file I'm logging the payment info and adding the invoice payment as described in the example merchant gateway callback file. However after calling callback3DSecureRedirect($invoiceId, $paymentSuccess); nothing happens. The page is not redirected back to the invoice. Just nothing. I get stuck on the Pay by Credit Card page (screenshot attached). Here's a snippet from my callback file: $invoiceId = checkCbInvoiceID($invoiceId, $gatewayParams['name']); checkCbTransID($transactionId); addInvoicePayment( $invoiceId, $transactionId, $transactionAmount, 0.00, $gatewayParams['name'] ); logTransaction($gatewayParams['name'], json_encode(array('$_POST' => $_POST, '$merchantData' => $merchantData)), 'Successful'); $paymentSuccess = true; callback3DSecureRedirect($invoiceId, $paymentSuccess); 0 Quote Link to comment Share on other sites More sharing options...
ccoleman Posted December 11, 2019 Author Share Posted December 11, 2019 Thanks for all the help and replies on this. Really loving this community. So engaging and helpful... I resolved it myself. The issue was a set of extraneous rules related to a separate issue in our Apache conf regarding Access-Control-Allow-Origin and setting X-Frame-Options to "sameorigin". 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.