Skip to content

can a Stripe checkout session be initiated for anonymous user? #1048

@desert-dionysus

Description

@desert-dionysus

My goal is to create a Stripe checkout session for an anonymous user to subscribe, then use the customer information collected during checkout to build a User in Rails via the return_url, but everything I've looked at seems to imply that I must use current_user.payment_processor.checkout to instantiate the session with Pay gem -- I suppose I can just fall back to the classic Stripe API but curious if there's a proper way to do this with the gem?

Thanks!

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