#devangbhuva97

1 messages ยท Page 1 of 1 (latest)

broken havenBOT
stuck lily
#

sub_1M7xi2AjORjIkyJ0bhZlc6R4

desert gulch
#

Looks like you're passing the seti_xxx ID when initiating the Payment Element, not the seti_xxx_secret_yyy

#

You will need to expand the pending_setup_intent field when creating the subscription to get the full object, and not just the ID

stuck lily
#

Oh.. got it

desert gulch
stuck lily
#

Let me try that

#

Thanks @desert gulch

desert gulch
#

be something like:

stripe.subscriptions.create({
  ...params,
  expand: ['pending_setup_intent']
})
stuck lily
#

Yupp.. thanks

#

have another question

If I click on Apple Pay, what will be next action?

Not able to see any popup in browser

desert gulch
#

You select the Apple Pay tab, and click your pay button that calls confirmPayment and the Apple Pay dialog appears!

#

Let me know if that's not working โ€“ should do though if you can see the Apple Pay tab (that means your session/payment supports Apple Pay)

stuck lily
#

Ohh.. need to click here?

desert gulch
#

No, you'd click your 'pay' button in your UI (that you need to add) that calls the confirmPayment function

#

(or confirmSetup)

stuck lily
#

Ok.. got it

desert gulch
#

That function then triggers the Apple Pay dialog, and you submit payment from your Apple wallet

stuck lily
#

๐Ÿ‘

#

Another doubt in US Bank Account payment method

#

How can I do micro deposits verification in same payment flow (using Payment Element)?

#

or i won't possible?

#

When I click on Pay Now... next status will be require_action to verify deposite

desert gulch
stuck lily
#

Hey @desert gulch
Another issue with Google Pay

honest egret
#

what's the issue?

stuck lily
#

It means Google Pay is activated in that browser

#

So what's issue with stripe hosted page & stripe payment element?

#

Can you help me to identify?

honest egret
#

works for me at least

stuck lily
#

Any config missing?

honest egret
#

I don't think there's any config or things for you to change, seems to work fine. Likely it's something about your Google account or Chrome profile. Bear in mind Google has a local Indian version of Google Pay that's different from the rest of the world, and we don't support that one, if that's where you are.

stuck lily
#

No I'm testing with one developer who is in Canada

#

Can I send you my private url where I built POC?

honest egret
#

not sure what you mean or what link I need other than the one you shared above

stuck lily
#

that one is stripe hosted invoice

#

I built one demo application... actually where I'm trying to see
So for that first i'm checking in stripe hosted invoice, if their I can see those options, then I'll check in my application

#

Demo application built using Stripe Payment Element

#

will you able to see Google Pay option?

honest egret
#

works for me

stuck lily
#

thanks @honest egret for confirming

#

do you know any reason why it's not working for our canadian developer

honest egret
#

there's tons of reasons but ultimately it doesn't matter since it's not like you can do anything or change code , it works for customers who have a working set up

#

common reasons are being in India; being 'rate-limited' by Chrome if you check a lot of sites with Google Pay in a short period of time; only having non Visa/Mastercard cards in your wallet; the page not being hosted on HTTPS; having the settings on chrome://settings/autofill to let sites see saved payment methods turned off

stuck lily
#

Ohkk..

#

thanks @honest egret

graceful arch
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!