#ashishpm

1 messages · Page 1 of 1 (latest)

median sapphireBOT
bright briar
#

Hi there!

#

Why do you want to redirect the customer to pay if you already have their payment method saved?

golden flume
#

So how I can get paid through my portal using saved cards? using javascript

bright briar
#

You can't create payments with JavaScript, you'll need to use backend code with your Stripe secret key.

#

And you want to use Invoices for this?

golden flume
#

Yes

#

My backend team providing us invoice link for payment.

#

but the stripe invoice link page not showing default payment method.
Only input field for card and pay button.
I want to get paid by saved card details only/

bright briar
#

Oh, so you want the hosted invoice page to be prefilled with the payment method of the customer?

golden flume
#

Yes, and not editable.

#

Or to choose from saved card list and pay.

bright briar
#

Let me double check, but I don't think that's possible. The hosted invoice page is meant to be used so that user can input their payment details. If you already have the payment details then you shouldn't need to use the hosted invoice page at all.

golden flume
#

Oh great, Then what are options available to use payment method with payment through my portal?
Already using Stripe Payment Element to save card/bank detail.

bright briar
golden flume
#

Okay, Let me try this solution.

#

Thanks for the help.