stripe-archive/accept-a-card-payment

Excuse me, I want to ask a question, when I know the bank card information, can I automatically fill in the input box?

Closed this issue · 1 comments

Excuse me, I want to ask a question, when I know the bank card information, can I automatically fill in the input box?

Hi there, programmatically filling in card details into Elements is not possible as the inputs are hosted within an iframe on a Stripe domain. This is intentionally done for security reasons, it also protects you by making your integration PCI compliant.

Passing raw card numbers directly to the Stripe API is heavily discouraged as it means you have to be fully PCI compliant and be completely responsible for the security of those card numbers.

If this is still an integration path you wish you explore I recommend reaching out to Stripe support directly: https://support.stripe.com/contact