Integrating PayPal Checkout with Anvil

If this is the case I strongly suggest you check out the paypal docs for connecting through the API

Above is the response from @meredydd back in the day about Paypal integration, it was also the suggested method of integration.

Anvil is already very good at this and already built for using APIs, when implementing it from scratch is usually very hard.

Just glance it over and decide if you really want to keep trying the javascript route.

Also see:

3 Likes