“No such customer” when charging with Stripe
问题 I was testing around with Stripe API and I couldn't get this basic 'marketplace' scenario to work. The scenario is a buyer buys from a seller, and the application has a fee. My setup: # Seller has already connected their account to the application # through "Stripe Connect Standalone". Below will attempt to charge a customer. import stripe # application's sk from stripe stripe.api_key = "sk...." # Build customer customer = stripe.Customer.create( email = customer.email, card = token_from