#jin_api

1 messages ¡ Page 1 of 1 (latest)

hazy mesaBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

undone lance
#

Hello

#

You changed both your secret and publishable keys to your test keys here?

#

And what error do you see?

fringe hedge
#

LOG ANALYTICS: mc_elements_session_load_failed - [(key: "request_id", value: "req_sB1GrEI5kILxaz"), (key: "pay_var", value: "paymentsheet"), (key: "ocr_type", value: "none"), (key: "mpe_config", value: ["apple_pay_config": false, "customer": true, "return_url": true, "appearance": ["corner_radius": false, "usage": false, "colors": false, "primary_button": false, "shadow": false, "font": false, "border_width": false, "embedded_payment_element": ["style": false, "row": false]], "billing_details_collection_configuration": ["address": "automatic", "email": "automatic", "attach_defaults": false, "phone": "automatic", "name": "automatic"], "style": 0, "card_brand_acceptance": false, "save_payment_method_opt_in_behavior": "automatic", "customer_access_provider": "legacy", "allows_delayed_payment_methods": true, "default_billing_details": false, "payment_method_layout": "automatic"]), (key: "is_decoupled", value: false), (key: "error_type", value: "invalid_request_error"), (key: "error_code", value: ""), (key: "appl

#

LOG ANALYTICS: mc_load_failed - [(key: "request_id", value: "req_kpa3vKkAhELzpI"), (key: "pay_var", value: "paymentsheet"), (key: "ocr_type", value: "none"), (key: "mpe_config", value: ["payment_method_layout": "automatic", "return_url": true, "style": 0, "card_brand_acceptance": false, "allows_delayed_payment_methods": true, "customer": true, "default_billing_details": false, "apple_pay_config": false, "customer_access_provider": "legacy", "save_payment_method_opt_in_behavior": "automatic", "appearance": ["border_width": false, "colors": false, "shadow": false, "primary_button": false, "embedded_payment_element": ["style": false, "row": false], "corner_radius": false, "usage": false, "font": false], "billing_details_collection_configuration": ["phone": "automatic", "email": "automatic", "address": "automatic", "attach_defaults": false, "name": "automatic"]]), (key: "is_decoupled", value: false), (key: "error_type", value: "invalid_request_error"), (key: "error_code", value: "resource_missing"), (key: "durat

hazy mesaBOT
fringe hedge
#

hi

undone lance
#

I think you likely mixed up your keys here

#

Do you have multiple accounts?

#

Or you are using a livemode publishable key with your test mode secret key

#

Which won't work

#

The error that you provided above (req_sB1GrEI5kILxaz) indicates you were using a live mode publishable key with PaymentIntent client secret that isn't from live mode on that same account.

#

So yeah, I'd start by double checking that both your keys are correctly set to your test mode keys of your account