I have a website where i have already set up the user input from and connect with database but i want the payment button in my form like once the customer fill the form and want to submit the message will show to pay first then submit and the customer will pay and then submit button will work or can add the Paypal button in the form and make it necessary to pay first.
So, is there any way to add this feature in my user input form ?
Thank you
You need to code that. U will need :
-
https://www.wix.com/corvid/reference/$w.Button.html#disable
https://www.wix.com/corvid/reference/$w.Button.html#enable
for the button to disable enable after conditions (payment)
(disable when page is loaded and then if payment is correct enable button)
-
paypal button with HTML embed or
after a purchase in wix store at the “thank you” page redirecting him to the previous page with button being,now, enabled
https://www.wix.com/corvid/reference/wix-location.html#to