stripe-connect

Get account ID of connected stripe account

醉酒当歌 提交于 2019-12-06 22:41:32
问题 When I run a test for connecting a user to accept payments through my application, I will need the account id to charge their account. Stripe\Token::create( array("customer" => CUSTOMER_ID, "card" => CARD_ID), array("stripe_account" => CONNECTED_STRIPE_ACCOUNT_ID) // id of the connected account ); In this snippet (from Stripe), the CONNECTED_STRIPE_ACCOUNT_ID implies the connecting about id which starts with acct_ How do I obtain this ? Thanks, Rich. 回答1: I came here from a Google search with

Get parameters from Stripe page redirect URL Node.js

筅森魡賤 提交于 2019-12-06 06:31:38
I am using Stripe Connect and using their example code in the documentation. You redirect a user to the Stripe page, they sign up and it redirects back to your site. Stripe then sends a code in the URL for you to be able to access and charge the users account. var CLIENT_ID = 'clientID'; var API_KEY = 'API Key'; var TOKEN_URI = 'https://connect.stripe.com/oauth/token'; var AUTHORIZE_URI = 'https://connect.stripe.com/oauth/authorize'; var qs = require('querystring'); var request = require('request'); var express = require('express'); var app = express(); app.get('/authorize', function(req,res){

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

試著忘記壹切 提交于 2019-12-05 02:32:07
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 which says i need driver's stripe account CONNECTED_STRIPE_ACCOUNT_ID , which i am unable to find and

Transfer money from stripe account to other account

。_饼干妹妹 提交于 2019-12-04 17:14:23
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 Looking at the error message it seems the api believes you're using account debits where the destination parameter does not make sense: https://stripe.com/docs/connect/account-debits So it's likely that your

'No such token' error upon submitting payment request to Stripe

跟風遠走 提交于 2019-12-03 22:02:40
I'm setting up payments using the Stripe API to allow a user to log into their Stripe account on an iPad and accept payments from anyone. To do this, I'm using Stripe Connect to log them in and save their account id, then I'm using the STPPaymentCardTextField to obtain credit card details, then using the Stripe iOS SDK I'm submitting a card (with the test card info - 4242...) and getting back a token via createTokenWithCard . This successfully returns a token. At this point I need to submit that token along with the destination account id (provided to the app after the user logged in) and

stripe api checking for existing card

和自甴很熟 提交于 2019-12-03 09:22:23
问题 I'm sure I'm missing something obvious here, but I can't get my head around how to check for an existing card against a customer. I'm using the stripe connect api within an laravel app to manage payments on behalf of others, and the basic process is as follows: a stripe token is created via stripe.js and submitted with the payment form if the customer exists in the local database, I grab their stripe_id , otherwise a new customer is created using the token as the source/card a charge is then

stripe api checking for existing card

时间秒杀一切 提交于 2019-12-02 23:37:15
I'm sure I'm missing something obvious here, but I can't get my head around how to check for an existing card against a customer. I'm using the stripe connect api within an laravel app to manage payments on behalf of others, and the basic process is as follows: a stripe token is created via stripe.js and submitted with the payment form if the customer exists in the local database, I grab their stripe_id , otherwise a new customer is created using the token as the source/card a charge is then created using the retrieved or new customer stripe_id Currently, if the customer returns and uses a

How to integrate Stripe Connect with Node.js?

我的未来我决定 提交于 2019-11-30 21:03:05
So im at the part where you sign in your Stripe account and it redirects you to my website once done. I dont know what to do next and the documentation is difficult to comprehend because i dont have any expierence in node.js I just need some guidance in what to do. Akshay Phulare After Clicking on 'Authorize' button, at your redirected URI it will give you Authorization code. After getting Authorization code you should make post request to get details of connected user account. It will give you json like this { "token_type": "bearer", "stripe_publishable_key": PUBLISHABLE_KEY, "scope": "read