So basically, razorpay popup is opening, payment being success but the callback url isn’t getting called:
var options = {
"key": data.razorpay_key,
"amount": data.amount,
"currency": data.currency,
"name": "BusinessCard4U",
"image": "{{websitelogo.image.url}}",
"description": "Payment for digital card subscription",
"order_id": data.razorpay_order_id,
"callback_url": "{% url 'PaymentSuccess' %}",
"handler": function (response){
// Handle Razorpay success callback
},
"theme": {
"color": "#5EB9F0"
},
};
This is data i am passing… it has callback url as you can see… but neither anything is getting printed, nor it’s being called.
I tried using redirect: true variable to see if that works but that made the payment failed.
Thank You!