#wagamumma_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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.
hi there!
hi
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.
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?
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.
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?
yes that looks correct to me
thank you!