I’m trying to add PayPal credit to my store. I have code that says to post between … and also in the . I don’t know where to paste it. I tried under add, html code and it didn’t work. Can someone please help? Thank you
This is not supported in Wix Code as it requires access to restricted methods or elements.
Accessing document sections such as head and body can not be done with corvid
You would be better suited going through Wix Support about this issue as it is not a code issue but embedding custom code:
A more secure way to handle web service requests is by using backend (server-side) code. Using backend code you can secure your passwords, API keys, and other secret information. The article Accessing 3rd Party Services explains how this is done. Check with PayPal regarding their REST interface.
You might also be interested in these examples:
Use Corvid Pay API to collect payments from your visitors outside the context of a Wix App (like Wix Stores).
Stripe Payment Processing
Integrate the Stripe Payment processing system into a site. Three levels of user access are demonstrated: visitor, freemium (registered), and premium (paid).