#itchtherightspot

1 messages · Page 1 of 1 (latest)

glass pewterBOT
cyan raft
#

Hi there

#

Do you know which Stripe integration you are planning on using?

native badge
#

Hello Bismarck

cyan raft
#

Are you following as specific set of docs?

native badge
cyan raft
#

Okay using Products/Prices is only compatible with Stripe Checkout if you are taking one-time payments.

#

Are you familiar with Stripe Checkout?

native badge
#

Yes so it will be a 1 time payment

#

And no I am not familiar. I have watched a couple tutorials but haven't implemented yet

cyan raft
#

There are basically two options, where you either use Automatic currency conversion or you create Multi-curency Prices.

native badge
#

Ok I am a bit confused

cyan raft
#

I'd recommend taking a read through that doc and then circling back if you have specific questions

#

Sure, what are you confused about

native badge
#

I understand I can create multiple products

#

In my stripe account

#

For each product I attach a number of currencies.

#

That way it is easier for a cx to chose their currency in checkout profile

#

Does that make sense?

cyan raft
#

Kind of

#

What you really want to do is create a Price with multiple currencies

#

Then when your customer goes to the Checkout Session we will localize based on their location to show the correct currency

native badge
#

Ahh I see I see.

#

But in my situation I want to create a product that has 2 currencies. USD and NGN

#

So basically when an admin creates a product, I store the details in my DB and also stripe product details.

#

When a cx add items to their cart, the pricing would be in either USD or NGN.

cyan raft
#

Sure

native badge
#

When they are in checkout, the currency would be in their choice and since I already created the products in my stripe account, stripe already knows the currency. All it has to do is sum up (number of items * price)

native badge
# cyan raft Sure

Alright so this can be achieved. Is there any reference examples to creating a product with multiple currencies?

cyan raft
#

You are saying that when you redirect your customer to Checkout you are going to have your customer already decide which currency they want to pay in?

#

Or you want it to automatically present their local currency?

cyan raft
native badge
#

Ok thank you for your help. Looks like my request can be handled. Is there a link to details for java apis?

#

I mean a reference docs?

cyan raft
#

Each of the code snippets in the docs has a Java snippet

native badge
#

Not exactly what I was looking for but I think I got my question answered

#

Thank you

cyan raft
#

Sure

native badge
#

Enjoy the rest of you shift!

cyan raft
#

Appreciate it 🙂

native badge
cyan raft
#

Ah

#

My bad, misunderstood