#devangbhuva97

1 messages · Page 1 of 1 (latest)

topaz needleBOT
neon cairn
#

Hi there!

#

Pasting your other messages below:

I want to enable other payment methods/types in Payment Element
So that's why I'm passing collection method as send invoice. Without that - it's working but not showing additional payment methods which enabled in invoice settings

hybrid fjord
#

Perfect

neon cairn
#

I'm creating subscription with given details & first invoice is draft for 1 hour. S
Are you sure about this? The first invoice should be finalized immediately.

#

Oh actually your subscription has a free trial?

#

If the first invoice of a subscription is for a zero amount (for example because of a trial), there's no PaymentIntent on the invoice. Instead check subscription.pending_setup_intent.client_secret and use confirmSetup() on the frontend to confirm the SetupIntent.

hybrid fjord
#

Yes.. I'm sure - sub_1M7dCHAjORjIkyJ0d2a9iCpE can you check this subscription which I created now

#

invoice is in draft mode

neon cairn
#

Oh yes, if you are using collection_method: "send_invoice" then it's expected.

hybrid fjord
#

So how can I show additional payment methods with that?

neon cairn
#

What is your end goal exactly? Do you want users to enter their payment method in the Payment Element and then be charger automatically, or do you want to send them invoice every month that they need to pay?

hybrid fjord
#

users to enter their payment method in the Payment Element and then be charger automatically

neon cairn
#

Then you should use collection_method: "charge_automatically"

hybrid fjord
#

& also we want to show additional payment methods to customer apart from card

neon cairn
hybrid fjord
#

Like Google Pay & Apple Pay

#

but Google Pay & Apple Pay options are not there

neon cairn
#

Google Pay & Apple Pay are automatically included in the Payment Element if you accept card payment method.

#

But they will be only displayed if you use the correct browser, have a card in your wallet, and are on a httpS url.

hybrid fjord
#

but as per document, I don't pass anything in payment method types, then it will take from invoice settings

neon cairn
#

correct

hybrid fjord
#

Ok..

#

How can add test card in Google Pay from India?

#

Can you please give some document to test Google Pay & Apple Pay

neon cairn
hybrid fjord
#

Actually our application will be used in US

neon cairn
hybrid fjord
#

If I will use Payment Element, still we have to do these all config for Apple Pay?

neon cairn
#

Yes. Note that the recommended option to create subscription with with Checkout Session, which is simpler and automatically works with Google and Apple Pay.