Phortune "add payment method" erroring out on submission
Open, Needs TriagePublic


I was just trying to buy you some beer.

yelirekim created this task.Feb 8 2017, 5:10 PM
yelirekim edited the task description. (Show Details)

Edited to not give out my credit card number on the internet.

You destroyed the original file in Files too, right?

This is probably the same as T12158 but I'll merge that here since this is a more complete description.

Yeah I clicked "Delete File" and can't see it anywhere now.

Yeah I clicked "Delete File" and can't see it anywhere now.

😎 πŸ‘ :caprisun: 🌞 πŸ„ 🌊 :sunmbrella: 🍨 🍦 🍧

I'm having some trouble reproducing this -- I tried Safari and Chrome here and in my sandbox. You aren't using anything weird, right?

I think what's happening is that we include Stripe's Javascript with a normal <script /> tag, and then somehow manage to win a race against it and run before it defines the Stripe object, but I'm not sure how that's possible. We can have our behavior sit there waiting for Stripe to become defined, but I'd like to be able to reproduce this and understand what the underlying issue is before we do that.

D17333 is a probable fix without needing to resort to a bunch of weird setInterval() juggling. I've pushed that here, let me know if you're still seeing the issue? If you are, does your JS console have anything in it?

You may want to test the workflow where you give us money several times to make sure it works reliably.