#contact_api

1 messages ยท Page 1 of 1 (latest)

modern impBOT
#

๐Ÿ‘‹ 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/1291606521729257554

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

timid falcon
north niche
#

I am not storing it

#

I am just passing it to the stripe.

#

?

timid falcon
#

As long as your server gets card details at any point of time even for passing through, this is not allowed by PCI DSS unless you're PCI compliant

north niche
#

Okay.

#

So, I inject the stripe html code. and provide success url etc.

#

How do I know the payment method id.

#

for a customer.

timid falcon
#

What do you need this Payment Method ID for?

north niche
#

I am creating the customer at the backend + Product + price.

#

When I need to charge a payment.

timid falcon
#

How do you charge the payment? Which integration path are you following? Could you share the doc?

north niche
#

I need to tell stripe this is the customer, this is the product and this is the price.

#

I have product and price in my system. I would create them in stripe and link them using stripeId

#

e.g. stripeProductId, stripeCustomerId etc

timid falcon
#

Could you share the example Payment Intent ID (pi_xxx) that you have done with Stripe, so that I can check how your integration works, and provide the solution that fit your use case accordingly?

#

For direct Payment Intent integration, you shouldn't need to create a stripe product first

north niche
#

I have not reached that stage.

timid falcon
#

In the guide I shared above, it mentioned how the payment can be created including collecting the payment method details

north niche
#

I can share my client id if thats what you want. or code.

timid falcon
#

You shouldn't need to access the payment method ID at all

#

I'd recommend checking the guide above and let me know if any step isn't clear

north niche
#

I think there is a disconnect.

#

I think you are saying that I should not do the server side integration.

#

and I am saying I want to do the server side integration.

#

This is my code.

#

I can remove the paymentMethod code

#

If that is a problem.

modern impBOT
dark herald
#

Hi @north niche I'm taking over this thread.

#

Can you tell me the current problem that you are trying to solve?

north niche
#

I have real esate portal and I am trying to setup infra for charging payment

#

I decided to go with the server side integration

#

In my DB, I have stripeids

#

Product, Prices etc

#

ofcourse I dont want to store the credit card and other details

dark herald
north niche
#

I am not PCI compliant and donot want to store credit card.

dark herald
#

Sure, the RAW PAN is saved securely with Stripe, and you'll get a PaymentMethod ID for future payment. More details in the guide that I shared.

north niche
#

Should I create my own credit card controls Or use stripe payment html

#

How stripe would pass me the paymentMethod ID