Hi Friend any one please suggest me, how to integrate razorpay payment gateway by default
Unfortunately, you can't implement. You can only use razor pay with payments links only or try PayU
You can only add it through html at the current time.
I have integrated the Invoices API to create links for the payment via POST (https://api.razorpay.com/v1/invoices) and then I use wixLocation.to() to redirect the user to the link which I get in the response body.
On my RazorPay Dashboard I have a Webhook setup and I have exposed my site's API to receive incoming requests.
Once the payment is successful RazorPay will send a request to my API and I fulfill the order on my site's backend.
Plz share sample code for example
@shan Can you please share code to get payment id from the razorpay webhook