The following client-side function call just seems to stop dead at the point of call.
token, user_info = stripe.checkout.get_token(
currency='USD',
amount=2495,
title='DARMA(tm) by InjAnnuity, Inc.',
description='DARMA(tm) 30-day Voucher',
raw=True
)
print(token) # never reaches this point
No error message, no apparent exception, but no pop-up, either. I’m surely missing something. This seemed to work earlier, before we actually connected this app to Anvil’s Stripe service.
UPDATE: There is no pop-up with raw=True
. But if I comment it out, or pass raw=False
, then the popup does appear.