#recipe.p
1 messages · Page 1 of 1 (latest)
hello! I think you mean Checkout Sessions and Payment Links - Checkout Sessions offer you more customization options, but on the other hand, you would need more effort to implement it. Payment Links can be done via the Dashboard and via no code, but there are certain limitations to it such as - you can't pass in an existing customer id so you wouldn't be able to de-duplicate Customers
So can I just use Checkout session and ignore paymentlink?
Yes, you can just use Checkout Sessions and ignore Payment Links
Okay! Thank you so much!
I took a checkout session and now I'm trying to test.
And I received this error message.
Can you tell me how to test the payment please?
error message:
"Your card has been rejected. The request is in test mode but used a non-test card. For a list of valid test cards, visit https://stripe.com/docs/testing ."
found it! never mind!
Where can I find email receipt api?
there's no email receipt API, is there something specific that you're looking to do?
As far as I know, giving receipt is mandatory in some country.
So is there any api I can automate the receipt?
this document covers how to configure receipts to be sent automatically : https://stripe.com/docs/receipts
Thank you!
So the receipt will be sent when we start live mode(actually launched) and using checkout session?
yes, that's correct
Thank you.
Sorry I'm asking too much questions
Our business model is a market place.
Buyers will purchase Top-up and spend small amount of money.
And then we will calculate the seller's earning and transfer the money.
So Stripe only can track Top-up purchase.
But there will be a DB of seller's sales.
How can I use our own DB to automate the calculate and transfer the money to sellers?
Hi @sick tinsel I'm taking over
Are you asking how to transfer funds from platform to connected accounts?
Hi Jack!
I'm asking to integrate the Purchase DB with Stripe to automate the calculation and transfer the money to sellers
Let's break it down. I believe your system will do the calculation and the job for Stripe is to transfer the funds, am I right?
Yes!
https://stripe.com/docs/api/transfers/create?lang=curl#create_transfer this is the API that you can use to create a transfer to move funds from platform to a connected account
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks!
And I'm trying to set the image in the Product api to show the customized Payment Link. Is there a standard size of the image? And is there a maximum size of it?
You mean the file size? as long as it's less than 2MB
How about the width and length?
There's no hard requirement on the dimension