#caderann_error

1 messages ¡ Page 1 of 1 (latest)

pure ploverBOT
#

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

📝 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.

grim lotus
#

sample initPaymentSheet param:

{"allowsDelayedPaymentMethods": true, "customerEphemeralKeySecret": "ek_test_YWNjdF8xUWFFV2xEYVliUWVoRXpyLGhIbDltZUJJdG1EbWs0RFVJMzU5djdnYzRURWU3bG8_00YbUdZlLo", "customerId": "cus_SzCY5lBss23N4K", "defaultBillingDetails": {"name": "Sahitya Razorbae"}, "merchantDisplayName": "Germany", "returnURL": "studioyoucustomerdemo://setup-intent-redirect", "setupIntentClientSecret": "seti_1S3ECIDaYbQehEzrzbzKYa5R_secret_SzCbdTO1jyhqJLBNHaS8Ln7BLRoQb0j"}
limpid sinew
grim lotus
#

we're passing it in the stripeProvider

#

let me share it

#
    <StripeProvider
      stripeAccountId={stripeAccountId || stripeSession?.stripe_account_id}
      publishableKey={ENV.STRIPE_KEY}
      urlScheme={ENV.url_prefix}
      threeDSecureParams={threeDSecureParams}
      merchantIdentifier={ENV.merchantId ?? undefined}
    >
      {isStripeCheckoutModalOpen && (
        <StripeCheckout
          session={stripeSession}
          onSuccess={handleStripeSuccess}
          onFail={handleStripeFail}
          serviceId={serviceId}
          saleId={saleId}
        />
      )}
      {children}
    </StripeProvider>
limpid sinew
#

And those values are definitely set to acct_1QaEWlDaYbQehEzr? The account the intent was created on

grim lotus
#

let me confirm

limpid sinew
#

and ENV.STRIPE_KEY is the publishable key of the platform (acct_1DHUSEAk5RfErHut)?

grim lotus
#

I've verified the above, indeed the stripeSessionId and stripeAccountId are null as the backend wasnt returning it, do need to set both or just the stripeAccountId?

pure ploverBOT
limpid sinew
grim lotus
#

okay, I'll need some time to allow backend to send the account ID in the setup-intent API