Skip to content

Updating client using source prop is not working #177

@fernandoiwamoto

Description

@fernandoiwamoto

I have my integration with rails and when I create customer as Stripe::Customer.create({ source: source }), I can see the sources object there. But then when I try to update my Customer, it gives me Bad Request as Stripe::Customer.update(stripe_customer_id, { source: card_token }). Using any other props, it works fine.

Copying this code
https://github.com/adrienverge/localstripe/blob/master/localstripe/resources.py#L715
To
https://github.com/adrienverge/localstripe/blob/master/localstripe/resources.py#L721
Works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions