#dinlashades - Apple Pay

1 messages ยท Page 1 of 1 (latest)

deep ruin
#

Hi there!

tight pumice
#

Hey! ๐Ÿ™‚

deep ruin
tight pumice
#

Stand by

#

req_IAEOUGUJps0xlE

#

here ๐Ÿ™‚

#

oops, sorry

#

that one was from 4000...0002 card

#

req_MWBLF6aphbHnPz

#

^ this one from Apple Pay

#

when I try test card 4000...0002 the .confirmSetup resolves just fine

#

but not with Apple Pay

deep ruin
#

Discord is a little busy, sorry for the delay. Will have a look in a moment.

tepid parcel
#

no worries, I can jump in

tight pumice
#

Thanks guys, really appreciate this

#

Spent a few hours trying to figure out this mystery

tepid parcel
#

@tight pumice unfortunately I know what the issue is but I'm not allowed to tell you for policy reasons. Please read between the lines.

tight pumice
#

hm, not sure I follow. What kind of policy forbids to tell why JS promise would not be resolved? ๐Ÿ™‚

#

I've tried awaits and regular promises

tepid parcel
#

it relates to your card specifically

#

not a JS thing

tight pumice
#

well, I still need to handle such errors ๐Ÿ™‚

#

and I can't because nothing happens ๐Ÿ™‚

#

I'm not talking about the card (I know exactly why my card is rejected, that specific card)

tepid parcel
#

it's wrong that the library doesn't resolve the promise in that case, hmm

#

it should handle the failed request to /v1/tokens and pass up an error

tight pumice
#

Exactly

tepid parcel
#

yep that's a bug, we likely don't handle this case well(the tokenzation failing), I'll report it internally. I don't think there's really any workaround

tight pumice
#

Alright, thanks! How can I track the bug status if there is any way?

tepid parcel
#

I'll try that myself later when I'm filing the issue

tight pumice
#

good to know about an option to block particular test cards through radar, thanks!

#

I will try that too

#

Thanks for the prompt answer and all your help