Skip to content

Payment Element integration documentation #1541

@clementmas

Description

@clementmas

The Cashier Stripe documentation is only explaining how to use the Stripe UI Card Element, which is now marked as "Legacy". While the new Payment Element is not documented.

It seems like the JS code should now call await stripe.confirmPayment instead of await stripe.confirmCardSetup. But it requires defining a return_url. A payment_intent_client_secret value is then passed as GET query string parameter (not ideal), which I guess can be used with Cashier.

I think the documentation should explain how to set this up properly. Or is this not supported officially?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions