#Jeff Jin-hold-capture
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Have you had a chance to look into this guide yet?
https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
Oh wait, you're asking about Stripe Connect
Hi, @storm fulcrum Thank you for your reply.
NP! ๐ Good luck
Hi, @storm fulcrum
i have just checked.
but it looks like that cant hold payment until a certain action takes place.
I think there should be these actions.
1, create a payment from student card
2, hold a payment in my platform
3, when a certain action has done, money can go to coach's account.
๐ stepping in here as hanzo needs to step away.
With Separate Charges & Transfers you determine when to move funds to your Connected Accounts
So you can hold funds in your platform until the relevant action
Hi, @bleak jungle Thank you for your info. But i cant find that.
How can we hold a payment?
You create the charge in your platform account and as long as your platform is on manual payouts then you will hold the payment in your platform balance.
Then later on you can create a transfer to move the funds to your connected account user
The student and coach should be connected accounts?
The coach would be the connected account
The student would pay you -- the platform.
Then you would transfer to the coach (the connected account)
The student should be connected account?
ye
Then no the students would be Customers and the teachers would be Connected Accounts
but the student should add a payment method and use that payment method when creating a payment.
await this.stripe.paymentIntents.create({
amount,
currency: "usd",
customer: customerId,
payment_method: paymentMethod,
off_session: true,
confirm: true,
});
like this
and the student can also become a coach.
What integration flow are you planning on using to collect paymentmethod details?
Yep so that is the next step. But regardless you will also need to decide on what type of Connected Accounts you want to use. I would recommend using Express for your use-case.
How to check charge in one payment in stripe?
I created a payment and the payment gets successful but when i tried to refund using charge id, it gets 404 error, no charge found with that charge id
The service Stripe Custom - Create a refund just returned an error (HTTP 404). Please consult their documentation to ensure your call is setup properly. Raw error:
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such charge: 'ch_3LNfzGABDisL7hin0IkI9J2B'",
"param": "id",
"type": "invalid_request_error"
}
}
get this error
Can you share your code for creating that refund?
Ah no I'm not familiar with bubble.
Like the charge in your error can be seen here: https://dashboard.stripe.com/payments/pi_3LNfzGABDisL7hin0Ki3kyxp
where can i find charge in here?
Down at the bottom under Connections
Or you can look at the specific request like: https://dashboard.stripe.com/test/logs/req_PJOxYPi5W6CvfI
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ah okay
Looks like you are mixing up your API keys
I see that error on a different account that you have
So you need to check the API keys to make sure you are using the same ones for the refund that you did for creating the PaymentIntent
Thanks
Okay so I see the Payment Intent being created that corresponds to this charge. Can you share the request ID where you tried to create a refund?
How can i get request id?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
But you should still see the request in your Stripe dashboard
Unfortunately we don't have much insight into what is going on here since this channel is for developers writing code to integrate with Stripe. Have you tried reaching out to Bubble support?