#wagamumma_webhooks

1 messages ¡ Page 1 of 1 (latest)

craggy ivyBOT
#

👋 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/1367781055339298937

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

prisma hull
#

hi there!

barren vector
#

hi

prisma hull
#

when you create the PaymentIntent on the backend, you can set the customer property (if you have a Cusotmer object), or use the metadata property to store arbitrary strings.

barren vector
#

i wouldnt have a customer but I will look at metadata that sounds like the right thing to look at I think

#

Just another quick thing

#

const options = {
currency: 'usd',

elements.create('expressCheckout', {
allowedShippingCountries: ['US'],

#

would these change to 'GBP' and 'UK' to do UK only

#

or GBP and GB?

prisma hull
#

I'm not sure I understand your question. The currency you set and the allowed shipping countried is completely up to you and your business.

barren vector
#

yeh i just dont know the actual usage they only seem to show usd

#

and sometimes the UK is UK sometimes its GB

#

i presume it's 'gbp' for currency and 'UK' for country code?

prisma hull
#

yes that looks correct to me

barren vector
#

thank you!