I want to make a page with input details and a payment option. I have a payment gateway account.
The input on the registration page will be inserted into the database collection only if the payment is successful.
How to implement this? If not possible, is there any alternative solution to this???
Can you write the entire code, then I can understand you better. .
Hi,
You can use the Wix Pay API to craft something like this.
Have a conditional statement which enters data into the database only when the payment is successful.