#enforcedcastle-prb-clickevents

1 messages · Page 1 of 1 (latest)

solid ventureBOT
south yacht
weak saddle
#

Like for example I know when I call paymentRequest.on('token', handler) I can call complete with
event.complete("fail")
event.complete("success")

https://stripe.com/docs/js/payment_request/events/on_token

I wanted to know for this 'onClick' event for the payButtonElement what statuses I can send through.

south yacht
#

Thank you for that, and apologies in advance as I will need to take some time to dig into this. I don't readily recognize the name of that type of element, and I'm not seeing it referenced as an element that can be created here:
https://stripe.com/docs/js/element/other_element

So I need to do some digging regarding this.

weak saddle
#

No worries, I appreciate you looking into this.

south yacht
#

Is this for a beta feature that you've been granted access to?

weak saddle
#

No, I'm using it with Apple Pay, I need to update my paymentRequest object on click of the Apple Pay button, so after I've done that then I need to resolve the onclick and I just dont know what status to send through.

south yacht
weak saddle
#

Oh gosh I think you're totally right. Not sure how I got that so mixed up.

#

Oh no wait..

#

Sorry maybe I'll get back to you in a bit. I need to setup my ngrok env and see what information the event is returning me

south yacht
#

All good, they have very similar names. I'll keep an eye out for follow-up questions or clarifying information.

weak saddle
#

Thanks, sorry it'll be just a bit.

south yacht
#

enforcedcastle-prb-clickevents