#codrin-integration-qs
1 messages · Page 1 of 1 (latest)
Hello
Not familiar with Integromat as we really just work with the API directly using our SDKs
I don't really understand what you are trying to do though
You want to provide a Google Drive URL to the Stripe API?
Basically I create documents with google doc, turn the documents into PDFs, the PDFs automatically go to my Google Drive, now I have to take the Google Drive links and create payments for each PDF with Stripe. Like products, or payment links that then send you to the PDF you are interested in
So after purchase you want to direct your user to the PDF that is on your Google Drive?
codrin-integration-qs
Yes, that is exactly what I would like to realise. I can do it manually by creating the link then directing it to the PDF on Google Drive. But I would like to realise an automation with Integromat (MAKE.com).
👋 hopping in here since bismarck has to head out soon
Again, we're not really familiar with Integromat (if you have specific questions about their plugin/extension it's best to ask them directly), but really the first place you need to start is deciding how you want to collect payment with stripe - there's a lot of different optoins here like checkout, payment links, invoices, elements, etc.
I want to collect payments with links, but each link has a different destination.
One link per PDF
If you want to use Payment Links, you'd configure it to redirect to a site you control after payment is complete, and you'd build this site such that it correctly redirects to the correct PDF (you'd write the redirect to route to the correct PDF yourself). Alternatively, you'd create a new Checkout Session for each new payment so you could configure the correct URL/PDF to redirect to
Any fastest way to configure in directly on make with the api call?
For Payment Links? You configure it with the after_completion param (https://docs.stripe.com/api/payment_links/payment_links/create#create_payment_link-after_completion). If you want to configure it to redirect you have to set after_completion[type]: redirect and after_completion[redirect][url]
The main problem is that we have to create first the payment link, i mean, from make.com we can create only payment intent
this is why we are trying to use the api call
all the options we got
Did you try what I mentioned about after_completion?