Closed alcantara64 closed 6 years ago
Try
{
// ...
callback: function() {
console.log('callback reached');
// ...
}
// ...
}
... and see if the console logs correctly after payment.
die($request)
before the if ($request) {
line.Thanks for response can you write a js code that sends variable to a php page?
I'm sorry, I can't at the moment.
Your issue seems to be with Javascript rather than this library. Please consult jQuery's documentation for help on posting data to the server. Testing in Postman (https://www.getpostman.com) before coding in browser can also help.
after successful payment ...it does does not insert into database