I would like my customers to use the Paypal digital goods lightbox. I've used the following steps in Python/Django/Javascript to create an order by sending the customer to the Paypal website:
The above shows that I'm generating a token correctly, but I would like to use the lightbox instead in step 3. I've read the Digital Goods Integration Guide, but I don't see how I make the lightbox pop up and feed the token to the lightbox. Other documents lead me to think that Paypal causes the lightbox to show when the token is returned. Is there a basic HTML/Javascript/Python example of how the lightbox is activated?
My solution is to use Stripe instead. Within 5 minutes I had a working lightbox credit card form. Within an hour I had a working payment solution hooked up, and was registering test transactions to my account.
Edit: I don't know why someone is voting down my answer. While waiting for someone to answer my question I in good faith tried Stripe for the first time. It worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With