#kiran_api

1 messages ¡ Page 1 of 1 (latest)

onyx zealotBOT
#

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

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

placid gale
#

Can you please give your thoughts on this issue

lone hazel
#

Probably you are using the Connected Account'ts key?

#

Make sure you are using the Platform key, and the Connected Account Id in destination

placid gale
#

No that also I checked i am using the platform key i re checked

#

While i am creating payment with destination i am not getting this error its working properly only for subscription i am facing this

#

@lone hazel Is there any other configuration issues?

lone hazel
#

Can you share the errored request id req_xxx?

placid gale
#

req_OuyGiVwXTwbAwr

#

@lone hazel

lone hazel
#

Sorry will be here soon

#

Ah okie

#

You use the Platform Key, but also using the Stripe Account header and the transfer destination to acct_1RiBqzQViVnGykmM

#

Remove the Account header

onyx zealotBOT
placid gale
#

Thanks it worked

eternal canopy
#

Glad to hear the advice helped!

placid gale
#

Hi I have one more query

#

For subscription payment apple pay google pay option is not showing but for one time payment using payment intent this option is present
I have give the PaymentMethodTypes = new List<string> { "card" } while creating subscription but still not that option is available is there any configuration i am missing?

eternal canopy
#

Apple Pay and Google Pay should still show as normal for subscription payments as with one-time payments

which UI surface are you using to complete the Payment? for example, Payment Element, Payment Sheet, Card Element, etc?

placid gale
#

Payment Sheet

eternal canopy
#

ok! Apple Pay and Google Pay are both supported for subscriptions, so we'll need some more information about how you're testing this

are you able to share a URL to the checkout page you're testing this with so we can inspect from our end?

placid gale
#

we are setting this flutter mobile app
await Stripe.instance.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
paymentIntentClientSecret: clientSecret,
merchantDisplayName: merchantDisplayName,
style: ThemeMode.system,
googlePay: PaymentSheetGooglePay(
merchantCountryCode: countryCode,
currencyCode: currency,
testEnv: testMode,
buttonType: isRenewable == true
? PlatformButtonType.subscribe
: PlatformButtonType.pay,
label: merchantDisplayName,
),
applePay: PaymentSheetApplePay(
merchantCountryCode: countryCode,
buttonType: isRenewable == true
? PlatformButtonType.subscribe
: PlatformButtonType.pay,
),
appearance: PaymentSheetAppearance(
colors: PaymentSheetAppearanceColors(
primary: context.mounted ? context.color.primary.cyan500 : null,
background:
context.mounted ? context.color.grayScale.grey11 : null,
componentBackground:
context.mounted ? context.color.grayScale.grey10 : null,
),
),
allowsDelayedPaymentMethods: false,
customFlow: false,
primaryButtonLabel:
isRenewable == true ? "subscribe".tr() : "pay_now".tr(),
),
);
await Stripe.instance.presentPaymentSheet();

this is the code we are using in flutter, since this is mobile app unable to provide the checkout page url

eternal canopy
#

thanks! we're investigating this now

is there a guide or doc you followed when setting up the integration?

placid gale
#

Thanks for the support, the issue was fixed, it cause because of the region and wallet doesn't have any active account

#

thanks for the support