#streetfeels

1 messages · Page 1 of 1 (latest)

reef shoalBOT
lyric basin
#

Hi there

winter plume
#

I did pass that in yes

lyric basin
#

But you aren't seeing email stored for the Billing Details on the PaymentMethod?

winter plume
#

yes, correct, email field is null

#

but I see that the name field IS populating

lyric basin
#

Interesting, can you give me an example PaymentMethod I can look at?

#

And is this happening in both live/testmode or just one or the other?

winter plume
#

just testmode

lyric basin
#

And is this happening for both Google and Apple Pay?

#

Or just one?

winter plume
#

I've only tested in Google Pay,

#

but will let you know soon about Apple Pay

lyric basin
#

Can you provide me the PaymentMethod ID from your Google Pay test?

winter plume
#

pm_1N1BOiFfzadd3IOMD68vNiyA

lyric basin
#

Ah this is Payment Element

#

Not PaymentRequestButton

#

There is no way to force email collection for wallets when using Payment Element

winter plume
#

so I have the PaymentRequestButton that loads

#

and am clicking the PaymentRequestButton and not the PaymentElement

lyric basin
winter plume
#

ok, we're using both technically, we're trying to have the user ONLY use the PaymentElement when they choose to enter the CC and the PaymentRequestButtonElement when it's available

#

(for google and apple pay)

lyric basin
#

And then can you run another test?

winter plume
#

ah okay - now I understand

reef shoalBOT
winter plume
#

I have ApplePay enabled on the paymentElement, when it is the chosen element, instead of a confirm button I show the PaymentRequestButtonElement

#

Would that still process via the PaymentElement flow?

velvet hazel
#

Hi there 👋 taking over, as my colleague needs to step away

I don't understand the question. Bismarck had you disable G-Pay and Apple Pay on the Payment Element, but then you come back and say "I have ApplePay enabled on the paymentElement, when it is the chosen element". What are you actually trying to do here?

winter plume
#

Ok I think I'm a bit confused about how to implement the PaymentButtonRequestElement essentially.

#

Does it need an onClick handlesubmit function, what function do I need to call upon clicking it?

velvet hazel
winter plume
#

Ahh okay, so that's what was happening

#

Ok, and through that the contact and email can be passed thru to the webhook?

velvet hazel
#

I don't understand. What contact and email are you referring to?

#

Are you talking about address?

winter plume
#

ultimately we just want to ensure that the email name fields populate when the user uses the PB Request Element

#

without having to ask for it explicitly

#

we were hoping it would be possible to access it via the webhook, and Stripe would be able to get it from Apple or Google Pay

velvet hazel
winter plume
#

ah okay!

#

let me check it real quick

#

ok, so ONLY name is showing up in that intent.succeeded object - - but that's because of the way I have payment request button set up right now which I believe is incorrect.

#

Ok, thanks for your help now, I will revert after making paymentRequest.on change