#Knippy-createPaymentMethod-not-working

1 messages ยท Page 1 of 1 (latest)

neon patio
runic aspen
#

I also don't see an errors thrown in the console ๐Ÿ˜ฆ

neon patio
#

๐Ÿ‘‹ Hmm.... that's strange - is this something you see happen in all browsers?

runic aspen
#

Admittedly, I've only tested in Chrome, and I am not sure how long it's been broken. We haven't had any new subscriptions for awhile...

#

I went back to the subscription creation stuff to add in a new feature to the subscription flow, and while trying to work on that, I noticed it's not advancing past the phase where it would create the payment method token

#

and this part of the code hasnt changed in over a year, so it's unlikely anything I've added.

neon patio
#

Yeah try it in other browsers and see if it's also broken - I'd also remove the debugger; lines. We've seen odd behavior in the past with it

runic aspen
#

aye, i'll replace it with a console.log

#

give me a sec to brush off the dust off firefox

#

Strange! Firefox's rendering engine advanced

#

i got the expected log statements (and it went to the next page, as expected)

neon patio
#

Interesting - yeah to me this smells like a Chrome-specific bug with debugger

runic aspen
#

well i removed the debugger symbol and tried it again, it still doesn't work.

#

it's just not executing the callback

neon patio
#

Ah gotcha - but it's still working in Firefox, right?

runic aspen
#

yes

#

Huh, now its working. wuttt.

#

i wonder if it was a race condition or something

#

I guess this closes my issue. ๐Ÿค”

#

Thanks karbi, you rock as always!

neon patio
#

well i'm glad it works now!

#

I'm still convinced the debugger is to blame

runic aspen
#

maybe add an additional note somewhere that debugger is causing more wheel spinning frustrations

#

I think you're right. When i refreshed in chrome before after removing the debugger, it's possible that the built javascript wasn't finished, so it was still using the debugger stuff elsewhere in the logic

neon patio
#

Yeah let me see if there's a place we can add that ๐Ÿ‘

runic aspen
#

Thanks Karbi! best vibes to you ๐Ÿ™‚

#

talk to you later on

neon patio
#

๐Ÿ‘‹ hope you have a good day!