stripe-connect

Hide email in Stripe Checkout

元气小坏坏 提交于 2021-01-27 07:11:14
问题 How to disable or hide email in checkout.js in Stripe Payment onStripeUpdate(e) { this.stripehandler.open({ name: "", description: "", panelLabel: "Pay {{amount}}", allowRememberMe: false, email: "", //--->how to hide this email? }); e.preventDefault(); } 回答1: It is not possible to disable the email field entirely. You can pass a value for the email configuration option, but it must be a valid email address. If it's a valid address, the field will be replaced by a static label with the value

“No such customer” when charging with Stripe

别等时光非礼了梦想. 提交于 2020-07-23 21:02:44
问题 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

Getting Django error 'AnonymousUser' object is not iterable after redirecting back from Stripe page

时光怂恿深爱的人放手 提交于 2019-12-25 01:39:51
问题 So it is my understanding that this error comes about from trying to call request.user when a user isn't logged in. The problem I'm having is, I am using Stripe Connect Express so I can have users sign up with debit card or bank account for payouts in my marketplace app. This redirects the user to stripe for a few pages. When Stripe collects the data it needs it redirects the user back to my page where I use request.user to pull their info from the database so I can save Stripe data to their

Tokenize bank info with Stripe iOS SDK

牧云@^-^@ 提交于 2019-12-24 19:04:57
问题 Using the UI components in the Stripe iOS SDK, I can easily generate a token/Stripe Source ID client side to securely pass credit card info to the server. I cannot seem to find a similar tokenization feature for bank account info. I can gather bank info client side with STPBankAccountParams, but is there a way to tokenize this info to then pass to the server? 回答1: I found a tokenization method in STPAPIAClient. Is this what you're looking for? #pragma mark - Bank Accounts @implementation

Get a list of the charges on a Stripe account connected via Stripe Connect

狂风中的少年 提交于 2019-12-24 17:51:19
问题 How do you get a list of customer charges on a connected Stripe account? For the main account, I use this: Stripe::Charge.all(customer: stripe_id).data But I can't find any documentation on getting charges off of another account without changing the Stripe.api_key for that call alone, which seems like a terrible practice. 回答1: The answer is to add the stripe_account key to the options hash of the Stripe API call: Stripe::Charge.all( { customer: stripe_id }, stripe_account: connected_account

Get a list of the charges on a Stripe account connected via Stripe Connect

那年仲夏 提交于 2019-12-24 17:50:04
问题 How do you get a list of customer charges on a connected Stripe account? For the main account, I use this: Stripe::Charge.all(customer: stripe_id).data But I can't find any documentation on getting charges off of another account without changing the Stripe.api_key for that call alone, which seems like a terrible practice. 回答1: The answer is to add the stripe_account key to the options hash of the Stripe API call: Stripe::Charge.all( { customer: stripe_id }, stripe_account: connected_account

stripe bank to bank direct transfers

一世执手 提交于 2019-12-23 21:56:55
问题 OK, I am a little confused on the best way to setup Stripe for customer to customer direct bank transfer. Here's what I want to do. I am building a rental platform where a tenant and landlord can enter their bank information (routing and account) and then on a monthly basis transfer money from the tenant to pay the landlord directly (ie, bank to bank transfer) for that months rent. I think Stripe Connected account makes the most sense to make this happen. But I guess I am not fully

Stripe Connect Charge - Must authenticate as a connected account to be able to use customer parameter

折月煮酒 提交于 2019-12-23 12:23:03
问题 I am trying to setup Stripe Connect and need to charge the buyer by creating a customer first, then generate a token and finally charge the customer with this token. This works fine as long as the buyer and seller are not the owners of the Stripe Connect Platform. I.e. let's assume the following email corresponds to the account holder: admin@admin.com Now, we have two sellers: seller_1@sellers.com admin@admin.com And we have one buyer: buyer_1@buyers.com My code works when buyer_1 buys from

Transfer money from stripe account to other account

被刻印的时光 ゝ 提交于 2019-12-21 21:30:38
问题 I'm using this to charge a connected account the send the money to another account but I keep getting this error message. I keep getting this error message: You cannot supply a destination when charging a connected account. return stripe.charges.create({ amount: 1000, currency: "usd", source: customer_id, destination: { account: "acct_1BxnsfGGXo2wovzm" }, }); How can I do it? Thanks 回答1: Looking at the error message it seems the api believes you're using account debits where the destination

What is CONNECTED_STRIPE_ACCOUNT_ID? How to get it from android platform?

让人想犯罪 __ 提交于 2019-12-21 09:15:35
问题 I am working on Ride Sharing app and i choose Stripe as payment procedure. What happens in app that rider can tip to driver. For this i used this approach that, Rider will pay to the App's stripe account and then app will keep its percentage and then it will transfer remaining amount to driver's stripe account. So far everything is going good.App has successfully charged the rider but bit confused about transfering amount to driver's stripe account. I have looked into stripe documentation