cordero67 / openseatdirect-in-test

OpenSeatDirect Front End Production
0 stars 0 forks source link

Onboarding with Stripe crashes after Google-signin #72

Open mikem20 opened 2 years ago

mikem20 commented 2 years ago

I go into Sign, and then do google sign in (for the first Time) and it takes me to the gateway selection screen. Then I rest the Stripe button and system crashes. The code doesn't know "accoutNum" and sends the to server: The server log shows: (not the // where it should show /accountNum/

2|app | POST /accounts//subscription/stripe/onboard1-genlink 404 0.957 ms - 186

The console reveals that the error occult line 874 Authentication.js inside the function: const submitStripe = () the stored variable "acccountNum" is missing. in line 884: let 880= ${API}/accounts/${accountNum}/subscription/stripe/onboard1-genlink;