#Mosh-ApplePay-GooglePay

1 messages · Page 1 of 1 (latest)

sinful estuary
#

Hi there, Card element doesn't support ApplePay or GooglePay, please use Payment Element instead.

prime raptor
#

We use Stripe connect and it doesn't support Payment element.

sinful estuary
prime raptor
#

In documentation it says extra code can support apple/Google pay

sinful estuary
#

can you send me the doc link?

#

Anyway Payment element support Connect as well. Did you encounter any problem when integrating the payment element?

prime raptor
#

Sorry for the delay

#

In the comparison here it says not support for application fee.

sinful estuary
#

No problem, this doc is for card element only.

prime raptor
#

I haven't implemented it as in here it says not support for application fee amount

sinful estuary
#

Ah, this doc says payment element doesn't allow you to change a different app_fee based on the card details, but you can still specify a app_fee when creating the paymentIntent and then pass the client secret to the payment element

#

The different between card element and payment element is we can't determine card brand / country / payment method upfront on payment element

prime raptor
#

That okay, I update application fee in out webhook call when capturing the order. So in that case I assume I can use the payment element

sinful estuary
#

Yup, you can adjust the application_fee when the payment Intent status is requires_capture . Please note that you can't adjus the amount when the status is requires_capture .

prime raptor
#

Noted, Thank you

#

Ill give it a try.

#

Its saying

#

Unrecognized request URL

#

when doing the payment

placid shore
#

can you share the request id where you're getting this error?

prime raptor
#

you mean Payment intent ID

placid shore
#

yoyu're passing this in return_url: "/Payment/PaymentSuccess"

#

this isn't a valid URL schema

prime raptor
#

Got it

#

Thanks

#

With payment elements, Do we need to add any code for apple/Google pay?

#

Or is it automatically pickit up?

placid shore