[Fixed]-Error in charging a one-off payment in pinax-stripe module of django python

1👍

You should probably look at the getting started guide

It mentions that to create customers, you’d need code like

from pinax.stripe.actions import customers
customer = customers.create(user=new_user)

Edit

If a customer object already exists, you can try to get it with something like

customer = Customer.objects.get(user=relevant_user) # or similar
👤NS0

Leave a comment