#remember_api

1 messages ยท Page 1 of 1 (latest)

red salmonBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1394393174633480334

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

hallow wyvern
#

Hello
Your question/use-case is quite vague and open ended. Do you mind narrowing down your question's scope to make sure we're on the same page?

Like what docs have you referred and what have you tried doing? You mentioned something about avoiding "copy" of a product? What are you currently seeing?

frank fractal
#

Yes, will describe it. By any chances in Discord you are providing live calls support? So I can show our system and how we want to integrate that

hallow wyvern
#

We don't do live calls unfortunately. Feel free to take your time to describe the usecase

frank fractal
#

A text version of the question.

We are building a common e-commerce website, with multiple items. We have a custom CRM where you can add a new items, and front-end website page that fetching all info about items (names, prices, descriptions). So if you have added an item in CRM it will automatically go live on website page.

#

So for now we need to connect that Buy button to Stripe links, the main concern right now, by what API we can push data from our CRM to Stripe form if customer want to Buy something.

#

We need to create some sort of link to that item, but we need to fill information about that product and create a copy on Stripe CRM technically

#

So for now if I want to sell something I need to add item on our CRM to show it on website, then go to Stripe Dashboard and do the same process, create a link with price etc, and connect it to our product page Buy button

hallow wyvern
#

Gotcha. Are you planning to use Stripe Hosted page/surface to collect the payment method details OR are you trying to build your own UI to collect payment method details?

frank fractal
#

We good with Stripe UI because its familliar for majaority of customers

#

Just need to figure out how to push our CRM data to create those Stripe links related to each product

#

With out* create copy of that product in Stripe Dashboard

#

Because a common situation, changing prices for example.

hallow wyvern
#

So if you purely want to control the Payment surface using the Product catalogue in your CRM system then you could use inline pricing with Checkout Sessions API - https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-line_items-price_data

You can pass the price data on each request which will then create a new Price/Product object each time on Stripe (which you can mostly ignore)

frank fractal
hallow wyvern
#

Yup

frank fractal
#

Thanks so much

hallow wyvern
#

it's a step by step guide

frank fractal
#

By using that method, we are vanishing security isnt it? Because only one way for Stripe to verify data its our CRM

hallow wyvern
#

Not sure what you mean.. Security of what exactly?

frank fractal
#

Can you inject data between our CRM and Stipe payment system? For example instead of 10K in invoice, push a 1K

#

Or that API will automatically create product on our Stripe profile instead of doing that manually, kind of auto-Import

hallow wyvern
#

The API calls will create the underlying objects automatically. These API calls can only be made with your Stripe account's API key.
As long as you keep the key secure, there's no security risk

frank fractal
#

So by simple words, we are giving access to our CRM info for Stripe, so you can match all information to create an Invoices?

hallow wyvern
#

we are giving access to our CRM info for Stripe, so you can match all information to create an Invoices
Not exactly. You're not giving us access to your CRM.

You're just sending us the info we need to accept a payment securely. This information is stored under various objects on Stripe and is used to create the Payment Page/Invoices.

If that makes sense^ ๐Ÿ™‚

frank fractal
hallow wyvern
#

If your API key is compromised due to a bug in your CRM then it's possible to create an unintended Payment Page with inaccurate info but your developers should be able to design your integration in a way that keeps the keys safe.

frank fractal
#

Ok, thatks so much) That will be our top priority