#sinduri_api

1 messages · Page 1 of 1 (latest)

solid fiberBOT
#

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

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

untold flint
#

"metadata": {
"Total Shipping": "0",
"Products": "pa1",
"Billing Email": "dev@webtoffee.com",
"WP customer #": "1",
"order_id": "60",
"Referer": "https://wordpressmu-319567-4676487.cloudwaysapps.com/checkout/",
"Total Tax": "0",
"Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
"Customer IP": "27.63.226.51"
},

this is the metadata key value pair works well with stripe in charge API, but now metadata key with space become new key value pair as below
"metadata": {
"Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36",
"Billing": {
"Email": "bdunk35@gmail.com"
},
"Customer": {
"IP": "38.140.112.74"
},
"Products": "FluidTint Smart Sunglasses v2.0 (6-Month Money-Back & 1-Year Warranty)",
"Referer": "https://www.sanofan.com/secure-checkout-1/?billing_category=Golfing&wcf-default=1",
"Total": {
"Shipping": "0",
"Tax": "0"
},
"WP": {
"customer": {
"#": "0"
}
},
"order_id": "35596"
},

paper ravine
#

👋 happy to help

#

in the request that failed you sent
metadata[WP][customer][#]=0
instead of metadata[WP customer #]=0

#

in all cases, I really think you should use _ instead of spaces in the metadata key