Skip to content

Redirect to Stripe checkout to not manage the credit card data #20

@dantart

Description

@dantart

Is it possible to use this module to create a subscription where the flow is redirect to Stripe so user put the credit card in Stripe?

I see the method:
$user->newSubscription('main', 'monthly')->create($creditCardToken);

but I don't want to "host" the credit card input data, so I'd like to create the subscription session id, so I can redirect user to stripe checkout as shown in https://stripe.com/docs/billing/subscriptions/checkout

Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions