#dev-help

1 messages · Page 100 of 1

cursive heronBOT
#

@reef mauve pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Code , depends on your experts response

Question
Hi, my developers Connected my platform with Stripe to Split commissions within my market place between admin and vendors, but there are 2 options for european cards: 1.5% + 0.25 or monthly payment of 2€ per Stripe active account + 0.25% + 0.10ct, how to choose the second option?

What have you already attempted?
I already Contact stripe support and they asked me to check with developers

What are you working on?
Market place

#

@balmy hedge pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi is there a page somewhere showing all the variables you can get from the shipping address object? I need to get the customers name and ideally phone number but they don't seem to exist in shipping address?

Doc/Guide Links
stripe docs website help

What are you working on?
ecommerce website

cursive heronBOT
#

@distant escarp pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to recreate subscription with the existing payment method, but it incomplete

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview

What are you working on?
I build an internet data service with monthly subscription. User can create subscription and cancel. But after cancel van create another subscription. I want to use same payment method from first checkout session to immediately

cursive heronBOT
#

@lavish sigil pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The webhook response is missing the request body, causing it to fail. It was functioning properly until April 29th. Were there any API updates made after this date, or any changes in the authorisation process?

Related Event ID(s)
evt_3RMmTPCqeLYn5bOv0bbXeQwn

What have you already attempted?
Compared the responses when the webhook was successful or failed, and found that the only difference was the request body data used for authorization.

What are you working on?
capturing successful payment data via webhook, using this eventpayment_intent.succeeded

cursive heronBOT
#

@sour idol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
link integration with stripe card is already implemented

Related Request ID(s)
link integration with stripe card is already implemented

What have you already attempted?
link integration with stripe card is already implemented

What are you working on?
link integration with stripe card is already implemented

cursive heronBOT
#

@void nimbus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have been getting an increase in mandate errors from customers... seems to only happen with "ba_" bank accounts currently and not "pm_" ones. I don't know if this has to do with the Source API migration or not.. i pulled one example, ba_1PYW8hBnxMPxdETuzJ5Vta9K, and it looks like we have changed the way that we're creating a payment intent.

Related Request ID(s)
req_3wvRgzFgMRGh0A - using Source parameter, and req_oPSeKbWvnAddUA using payment_method parameter

What have you already attempted?
I have the 2 different styles of calls; I just want to know which I should be using.

cursive heronBOT
#

@oblique pebble pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! Following up on my question from yesterday re: setting manual tax rates for certain U.S. counties and cities:

To confirm—for the markets in which they collect tax at the state level they can set those as such in Webflow ecommerce. And for the markets where they require city and county tax collection they can set those manually in Stripe.

Are there any issues to be aware of at the point of sale in these cities and counties? i.e. Will the tax be reflected in their check out page and receipt?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/use-manual-tax-rates

What are you working on?
A Webflow ecommerce site for a company that sells cold storage clothing B2B.

#

@vague elm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there not an API endpoint to add customers/fingerprints to the block list? We need to backfill a large volume of bad actors.

Related Request ID(s)
n/a

What have you already attempted?
Still trying to find the endpoint in the docs/Postman collection but not seeing it so far.

What are you working on?
Fraud and compliance

#

@strange ingot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are creating transfers to send money between accounts that are connected to the same application. When we create the transfer, we can set the description, but when the payment is created by the transfer, there is no description. We have been looking that payment up and updating it, but something has changed and it's not setting the description so I'll need to go back and work on that. Is possible to set the description for the payment when we create the transfer, so that we can do it all in a single API call?

Related Request ID(s)
I don't have a specific request for this

What have you already attempted?
Read docs, looking up the transfer to find the payment and set the description.

cursive heronBOT
#

@muted mica pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm building a mobile app, and I'm looking at using Stripe billing credits so users can pre-pay for services (play a sport in real life).

It seems like a bit of a grey area whether Apply would consider billing credits as digital in-app purchases though. Can anyone provide insight into whether Apple classifies billing credits purchased from an iOS app as a digital transaction subject to App Store fees?

Doc/Guide Links
https://developer.apple.com/design/human-interface-guidelines/in-app-purchase

https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits#credit-grant-eligibility

What are you working on?
Mobile app - Expo

#

@gloomy kite pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/testing#payment-failures

Question
Can we test the monthly subscription renewal using simulation?

What have you already attempted?
i created sandbox and test clock
This is the test clock on my sandbox account: clock_1RMUehEHihjLdxhNyYw6N6bZ
and created subscription, subscription id is sub_1RMUcBEHihjLdxhNU5ffO3Dp

cursive heronBOT
#

@solemn juniper pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
3.3.5 :001 > account = Stripe::Account.retrieve(account_id)
=>
#<Stripe::Account:0x307b4 id=acct_XXXX> JSON: {
...
3.3.5 :002 > account.external_accounts.data[0].available_payout_methods
=> ["standard"]

Question
I'm trying to test instant payouts for Standard Connected accounts (US). In production, our users add bank accounts and debit cards that support instant payouts (available_payout_methods includes "instant"). However, in the test mode Standard onboarding flow, I can only add a bank account (the 000123456789 one), which doesn't support instant. How can I create a test Standard Connected account with an external account (like a debit card) that does support instant payouts so

What have you already attempted?
I've manually created multiple Standard Connect accounts using the Standard Connect onboarding flow, but cannot connect to an external account that supports instant payouts (in test mode). The only test bank account for successful payouts (000123456789) does not have support for "instant" payout methods (account.external_accounts[0].available_payout_methods == ["standard"])

What are you working on?
Working on accounting software integration for Stripe Instant Payouts.

cursive heronBOT
#

@unreal garnet pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
A user visited stripe checkout but the user was not able to subscribe. I've checked for others and checkout seems to be working for others.

What actually happened?
A user was not able to fill the billing address in stripe checkout. See the error message in red.

Reproduction Steps
No idea on this ----

Question
What are the possible reasons behind this error? And what solution can we offer to the user?

#

@woeful vault pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I want to create a new stripe app, but I cant get the stripe dashboard to recognize the local server.

What actually happened?
I have tried reinstalling cli, relogging in, I also tried on both my laptop (M2 Mac) and PC (i9), but am unable to get Stripe to recongnize my app on either.

Reproduction Steps
Just going through the standard docs; https://docs.stripe.com/stripe-apps/create-app

Question
Is this an issue with some account related permissions? Is this an issue that other people run into? What is throwing me off most is the fact the same thing is happening on both the mac and pc, which to me suggest its either an issue with my account or the package.

What are you working on?
An app for dynamic pricing

cursive heronBOT
#

@keen bramble pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are trying to write some test for subscriptions using the ideal/sepa payment methods. Is there a payment method token for ideal we can use similar to `pm_visa` for cards?

Related Request ID(s)
N/A

What have you already attempted?
Looked the docs but haven't seen any test payment method id tokens for ideal?

What are you working on?
Subscription

cursive heronBOT
#

@grim marlin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do you retrieve an invoice from charge or payment intent? You used to be able to know which invoice a charge or intent belonged to, but in basil this was removed. So for example converting the charge from a refund webhook to the invoice id that charge belongs to.

Related Request ID(s)
req_PB6YiayjiBy02e

What have you already attempted?
I'm working on updating my webhook handling for basil release. We used invoice id as a reference for subscription transactions. We now can't get the invoice id for several webhooks so have been trying the various invoice APIs to retry and retrieve this, but the query API has no method to search for invoice by charge or intent.

What are you working on?
Payment provider integration for our commercial product.

#

@tacit anvil pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
[Violation] Potential permissions policy violation: payment is not allowed in this document.

[Violation] Potential permissions policy violation: publickey-credentials-get is not allowed in this document.

Question
I have a vue/vite app that uses the @stripe/stripe-js modeule to create the payment element, this vue app is then hosted inside a LWC component in Salesforce. How can I fix these errors?

What have you already attempted?
I have no idea whatsoever on how to tackle this one.

Reproduction Steps
Load the payment element inside the vue app inside salesforce via iframe.

What are you working on?
Vue app loaded as iframe in Salesforce LWC

cursive heronBOT
#

@ivory valley pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
paymentIntent, err := stripeClient.PaymentIntents.New(&stripe.PaymentIntentParams{
Confirm: stripe.Bool(true),
Amount: stripe.Int64(StripePaymentMethodHoldAmountCents),
Currency: stripe.String("usd"),
CaptureMethod: stripe.String("manual"),
AutomaticPaymentMethods: &stripe.PaymentIntentAutomaticPaymentMethodsParams{
Enabled: stripe.Bool(true),
AllowRedirects: stripe.String("never"),
}}

Question
How do I check how many payment method we currently have, relies on redirect based payment ? How do I allow for redirect based payments if the code I run is in the backend(offline/unattached to the UI) ?

What have you already attempted?
we want to introduce putting a hold on the card when user signs up to our platform: https://docs.stripe.com/charges/placing-a-hold

cursive heronBOT
#

@eager vault pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're trying to test our webhook integration with radar events, but receiving this.

```
The event `radar.early_fraud_warning.created` is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a `customer.created` event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures
```

We're wondering what the proper way to test this is

Related Event ID(s)
n/a

What have you already attempted?
n/a

cursive heronBOT
#

@bleak prairie pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there anyway to configure/use Adaptive Pricing in Stripe Checkout for subscriptions?

Related Request ID(s)
Stripe API

What have you already attempted?
We are looking to write a whole pricing update tool to just support showing our subscriptions in different currencies to unlock local payment methods. If Adaptive Pricing already does this in Stripe Checkout, can it be enabled for subscriptions using Stripe Checkout?

cursive heronBOT
#

@robust meteor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I had a question on dispute countered fees and how they are represented in Stripe's API. When a dispute countered fee is created (via evidence submission), is it kept under a BalanceTransaction object? And is there any indication via webhook when this is applied/created?

Related Request ID(s)
N/A

What have you already attempted?
In this link

https://support.stripe.com/questions/calculate-dispute-countered-fees?locale=en-US

It is detailed that "The dispute countered fee is applied directly to your account balance via a balance transfer. The fee is not shown in the balance_transactions field of the Dispute API object."

I created a test dispute and have not seen the dispute countered fee in Stripe dashboard after submitting evidence.

I am mostly hoping to be able to identify these dispute countered fees and understand how to easily access and relate them to the disputes

cursive heronBOT
cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

We are currently offline. We will be back at 9 AM UTC on Monday, 2025-05-12. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@gloomy quail pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const subscriptions = await stripe.subscriptions.list({
status: 'active',
current_period_end: {
gte: oneMonthFromNow,
lt: oneDayAfterOneMonth,
},
});

  // Filter subscriptions that are yearly and expiring in one month
  const expiringSubscriptions = subscriptions.data.filter\(
    \(subscription\) =\> {
      return \(
        subscription.plan.interval === 'year' // Only yearly subscriptions
      \);

Question
How to get renewal or expire date of subscription, I want to create custom subscription notification system of email, There are two plans monthly and yearly, I want to send reminder email to user before 1 month of subscription expiry

What have you already attempted?
I shared code

What are you working on?
I am working on subscriptions

#

@cosmic arch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My app has an Apple Pay purchase flow built into it. Since I’m making a native Mac app (rather than using Catalyst), I can’t use Stripe’s iOS SDK. How can I submit the payment token I receive from PassKit to Stripe?

Related Request ID(s)
N/A

What have you already attempted?
I dug through the iOS SDK’s implementation which uses Tokens and what seems to be a [private API](https://github.com/stripe/stripe-ios/blob/098c60b43d0e40624dbcc2e502035270b96ca9a0/StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Token%2BAPI.swift#L56-L91). AFAIK using Tokens would mean I take on a PCI compliance burden, even though my app never actually has access to credit card information. Is there a supported way of doing this?

What are you working on?
A native Mac app with an integrated purchase flow

cursive heronBOT
#

@subtle lily pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to migrate to the latest version 2025-04-30.basil from the current version in our app: 2022-11-15.

I look at all breaking changes, and one is catching my attention about legacy usage-based billing. The aggregate formula max is no longer available.

We use this aggregate to invoice the maximum number of active users monthly. I am looking for other options to achieve this. Would you have any advice on how to do this with the latest version?

Doc/Guide Links
https://docs.stripe.com/changelog/basil/2025-03-31/deprecate-legacy-usage-based-billing

What are you working on?
SaaS platform for event industry

cursive heronBOT
#

@desert sky pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
applepay.cdn-apple.com/jsapi/v1.2.4/apple-pay-button.js:93 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'sha256-zhyeDlZTEKZvKgtxHpxj4ydFABucKb8zpjZLFzOborc=' 'sha256-leLzbVxZAzOi3vU/QL+Ol4qnwxlwA0nSPFZDP71A4Kk=' 'sha256-mQ4LZTkAl1QYJkeyaT4nVx0YDeQ9WOH9k4ajt5PFvNU=' 'sha256-B3yoUHRULn1isE4VCTQnLT0

Question
Google Pay and Apple Pay are displayed on my website, but nothing happen when user click on them. Last week its worked normally but today it's broken.

What have you already attempted?
Nothing

cursive heronBOT
#

@finite yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var options = new SessionCreateOptions
{
SuccessUrl = $"{paymentCheckoutRequest.SuccessRedirectUrl}?session_id={{CHECKOUT_SESSION_ID}}",
CancelUrl = $"{paymentCheckoutRequest.CancelRedirectUrl}",
Mode = "subscription",
BillingAddressCollection = "required",
LineItems =
[
new()
{
Price = paymentCheckoutRequest.PriceId,
Quantit

Question
Setup Intents in checkout session while creating new subscription , so that OTP will not be required for card for renewal or upgrades. currently invoice is in pending state as we have to enter OTP

What have you already attempted?
PaymentIntentData = new SessionPaymentIntentDataOptions
{
SetupFutureUsage = "off_session"
},

What are you working on?
creating subscription for a customer

#

@sour idol pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
link integration in stripe always use Destination Charge?

Question
link integration in stripe always use Destination Charge?

What have you already attempted?
link integration in stripe always use Destination Charge?

What are you working on?
link integration in stripe always use Destination Charge?

cursive heronBOT
#

@spark veldt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In billing event meters can we completely overwrite the total value of the aggregated sum events? I think in legacy usage records SET can be used, but cannot see logic for billing meter events.

Related Request ID(s)
-

What have you already attempted?
We use idempotency keys but these only last for 24 hours. Within the same billing cycle we need to ensure the event is emitted once for the value/the value should not change.

What are you working on?
Billing system that utilises usage-based billing for arrears billing.

#

@gloomy quail pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
for await (const subscription of stripe.subscriptions.list({
limit: 100,
})) {
subscriptions.push(subscription);
}

Question
Does there is any way to fetch all subscriptions instead of 100

What have you already attempted?
I provide code above

What are you working on?
Subscriptions

cursive heronBOT
#

@gleaming patio pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Migrating over to using the payment element and stuck at a last hurdle. We want to based off some parameters block certain card brands being used and were wondering the best way to go about this. Is there a field I'm not seeing in the options when setting up the element or does it have to be done through javascript etc?

Doc/Guide Links
Been following this guide mainly:
https://docs.stripe.com/payments/payment-element?locale=en-GB

What are you working on?
Migrating over to Stripes payment element

cursive heronBOT
#

@unkempt hill pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
Integration of flexible subscribtion

Question
We want to integrate mixed types of subscribtion by using stripe.
It it possible to book a subscription by using external location data, like hamburg in germany, that combine with runtimes like 3, 6 or 12 month and a special price for this?

What have you already attempted?
Try to read the documentation.

What are you working on?
integrate stripe for client project

cursive heronBOT
#

@tawdry compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Fetch all charges related to a subscription

Related Request ID(s)
NA

What have you already attempted?
Tried using invoices etc

What are you working on?
I need to fetch all charges that are related to a subscription ID?

#

@sour idol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want to disable all payment just show card using setupIntents

Related Request ID(s)
i want to disable all payment just show card using setupIntents

What have you already attempted?
i want to disable all payment just show card using setupIntents

What are you working on?
i want to disable all payment just show card using setupIntents

#

@frosty pasture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we enabled google pay payment method in our testing stripe env. Google pay shows in the mobile app (react native). We were following these steps. https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-google-pay When clicking on GPay we are getting error "An internal error occured.". Can you please let us know what do we still need to configure.

Related Request ID(s)
/

What have you already attempted?
This is how we initialize payment sheet right now:

export const initializePaymentSheet = async setupIntent => {
const { error } = await initPaymentSheet({
merchantDisplayName: 'merhant',
customerId: setupIntent.customerId,
setupIntentClientSecret: setupIntent.clientSecret,
returnURL: 'merhant://stripe-redirect',
googlePay: {
merchantCountryCode: rootStore.userStore.user?.serviceCountryData.code,
testEnv: true
},
style: 'alwaysLight',
applePay: {
merchantCountryCode: rootStore.userStore.user?.serviceCountryData.code,
},
billing

#

@dusky jasper pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/account_links/create?lang=node

Question
the field:
collection_options: {
fields: 'eventually_due',
future_requirements: 'include',
},

does not seem to exist anymore in the version 2022-08-01 of stripe but it's still in the documentation, how should I set these values instead?

What have you already attempted?
I have changed it from:
collection_options: {
fields: 'eventually_due',
future_requirements: 'include',
},
to
collect: 'eventually_due',

but I still need to set future_requirements: 'include'

how do I do this?

cursive heronBOT
cursive heronBOT
#

@chrome cedar pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In certain cases such as payment method update, I do not receive "invoice.payment_succeeded". This happens even though in the logs in Stripe dashboard shows I receive "invoice.payment_succeeded" which I rely on making changes on my backend

Related Event ID(s)
evt_1RNsP0GYWEsxhdnCsGaPzpx2

What have you already attempted?
I havent made any changes so far.

What are you working on?
It is a project where people can buy credits to use the service https://neocortex.link/pricing

#

@digital geyser pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am having difficulty with determining the `invoiceId` based on webhook events sent during a refund. I can see that `refund.created` event does not have it, however on the stripe dashboard, the `
charge.refunded` event does have a field `invoiceId`. But when i check the model for it from the `stripe-js` node librfary (version `18.0.1`). The fields is not there.
What would be the best approach to get the `invoiceId` in case of a refund, through webhook events

Doc/Guide Links
https://docs.stripe.com/api/charges/object
https://docs.stripe.com/api/refunds

What are you working on?
sports data application

cursive heronBOT
#

@minor imp pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
While testing my webhook integration in the test environment, when I advance the time on a simulated subscription, I'm not getting the expected events. I assume if I advance the time over the next billing cycle, a new invoice would be generated and attempted to be paid and everything and I'd receive the relevant webhook events locally via the Stripe CLI.

Related Event ID(s)
evt_1RNwemC7y2gAMQROSWxK8y3G

What have you already attempted?
All I'm getting are test_helpers.test_clock.ready/advancing events which are not useful....

#

@surreal vigil pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we have several connected accounts, (main or just connected)
in the Settings>Payment methods>For your connected accounts we want to restrict the payment methods. Right now we have for link some accounts that have it enabled.
At this point we have the implementation without payment methods, the one with showing only the card details inputs.
We want to enable payment methods, but restrict to card and klarna for now. By blocking the others, the other implementations that are not related to our platform will not be impacted, no?

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/integration-options

What are you working on?
implementing the payments with stripe connect having the multiple payment methods enabled (google pay, apple pay, and klarna)

cursive heronBOT
#

@mortal ridge pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
As cobranças não estão ativadas para essa conta

Question
I am not able to charge customers

What have you already attempted?
I already tried on the Stripe panel but the same errors shows

#

@robust rain pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am 3D fullstack developer.

Question
three.js, babylon.js, mapbox, cesium

What have you already attempted?
three.js, babylon.js, mapbox, cesium

What are you working on?
three.js, babylon.js, mapbox, cesium

cursive heronBOT
#

@night cape pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected the Stripe WisePAD 3 reader (WPC32) to appear in discovery and connect—just like the Sunmi native reader does—when using either Bluetooth or USB.

What actually happened?
No WisePAD 3 devices were ever returned in onUpdateDiscoveredReaders. The native Sunmi reader shows up and connects fine, but the WisePAD 3 never appears via Bluetooth scan (even unpaired) or USB-OTG.

Reproduction Steps

  1. SunmiV2(compileSdk 33,minSdk 26,targetSdk 33) with StripeTerminalSDK v2.23.4
  2. WisePAD3(Model:WPC32,S/N: WPC323127003826)
  3. USB or Bluetooth
  4. DiscoveryConfiguration c = new DiscoveryConfiguration(0,DiscoveryMethod.BLUETOOTH_SCAN,false,LOCATIONID)
    Terminal.getInstance().discoverReaders(c,l,b)
  5. l.onUpdateDiscoveredReaders() is never called with WisePAD3

Question
Has anyone integrated WisePAD 3 on Sunmi V2 (or similar industrial Android device)?

Are extra Android permissions or USB host flags required?

Any hidden configuration steps for non-standard Android builds?

Troubleshooting tips for deeper inspection (e.g., enabling ADB logs on the reader)?

What are you working on?
An Android POS application on industrial Sunmi V2 hardware, integrating Stripe Terminal readers to process in-person card p

#

@celest flint pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to transfer funds from a connected account to the platform ? I want to avoid reverse transfer.

Related Request ID(s)
No related id

What have you already attempted?
I already attempted transfer reversal but as we split payments into multiple transfers, sometimes we want to refund the customer without having to reverse a lot of transfer, and we just want to transfer an arbitrary amount.

cursive heronBOT
#

@heavy charm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I retrieve a list of Stripe Tax transactions using the Stripe API, similar to the rows returned by "Export your Stripe Tax transactions" in the Dashboard?

Related Request ID(s)
req_HaNbxEDpMYian4

What have you already attempted?
I am using BalanceTransaction.list from the Java SDK to retrieve all balance transactions, but this does not include Sales/VAT collection information. I also can not seem to find this information in associated Charge objects.

What are you working on?
I am trying to automate the creation of Stripe-related journal entries in our accounting system.

#

@tough venture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Consuming the GET /charges endpoint, I'm getting the error message:

"code":"more_permissions_required_for_application","message":"This application does not have the required permissions for this endpoint on account 'acct_1O7PUDHfRvDQqrA3'. Having the 'read_write' scope would allow this request to continue.","request_log_url":"https://dashboard.stripe.com/acct_1O7PUDHfRvDQqrA3/logs/req_KTyW7dC3ZfSSVY?t=1747052186","type":"invalid_request_error"

I would like to understand, since the request is for reading and not writing.

Is it necessary to change the scope for it to work?

Related Request ID(s)
req_KTyW7dC3ZfSSVY

What have you already attempted?
It worked when changing the scope, but even so, we work with integration across multiple clients and I would like to understand why re-authentication across multiple clients will be necessary for it to work and I would like to present the justification.

What are you working on?
Integrations in Pluga

#

@tidal ocean pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What should I listen to, to be sure to be paid and know what subscription the user paid for ? Customer.subscription.update/created/deleted ?

Doc/Guide Links
The official Stripe doc

What are you working on?
SaaS

cursive heronBOT
#

@arctic zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to update tax behavior to turn off automtic_tax and add a tax rate. When doing so in test environment it looks like its prorating even with proration_behavior set to none. My understanding was taxes aren't affected by proration. Also if I change the tax rate the preview shows partial taxes in both tax rates.

Am I missing something?

Related Request ID(s)
req_aKYYdwgsspSo9f

What have you already attempted?
Updating the tax rate with and without proration behavior specified.

What are you working on?
Updated tax rate behavior and tax rates on subscriptions.

cursive heronBOT
#

@silver fjord pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Metadata values can have up to 500 characters, but you passed in a value that is 514 characters. Invalid value: [{

Question
Is there a chance that metadata character limits can be increased for an account?

What have you already attempted?
Nothing

Reproduction Steps
update a payment with 514 character metadata

What are you working on?
Payment intents

cursive heronBOT
#

@kindred spruce pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Stripe have a way of accepting only credit card payments with paymentIntent api and not debit cards reliably. I need to process payments later and with debit cards there is a chance of insufficient funds. How to handle this

Related Request ID(s)
Dashboard/developer

What have you already attempted?
paymentIntents api with setup_future_usage

What are you working on?
I'm building the payment system of a rental application and a paymentIntent can be charged upto 4 months later.

cursive heronBOT
#

@bleak zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm posting because I couldn't find a way to simulate a subscription schedule like we can with the "Run a simulation" option on Subscriptions. When start_date is now, the schedule returns the created subscription, but if the start_date is in the future, it doesn't — which seems expected. My issue is: I need to trigger a hook when the subscription is actually created, so I can reconcile it in my system using the originating schedule ID. How do I get Schedule ID from "customer.subscription.created" in a WebHook ? Also how do I simulate this scenario ?

Related Request ID(s)
req_Ky8IQWIPT45YCb

What have you already attempted?
Everything is in place I just need to identify the Schedule ID and simulate the process.

What are you working on?
GYM Membership starting in future dates

cursive heronBOT
#

@daring silo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when I try to create a setupintent with the acc = acct_1J5qP1QWySendxGD (setting on_behalf_of parameter) it is giving me this error.

"error": {
"message": "This payment method (sepa_debit) is not activated for the account specified in `on_behalf_of`. You can only create testmode sepa_debit PaymentIntents. You can learn more about this here https://support.stripe.com/questions/i-am-having-trouble-activating-a-payment-method", }

but when i check in dashborad sepa_debit is activated.

Related Request ID(s)
dont have

What have you already attempted?
Trying to create new setup intent.

#

@jolly cradle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a limit to the number of organization sandboxes you can have? I see posted limits for "regular" sandboxes, but not organization sandboxes.

Doc/Guide Links
https://docs.stripe.com/sandboxes/dashboard/organizations#create-an-organization-sandbox
https://docs.stripe.com/sandboxes/dashboard/manage#create-a-sandbox

What are you working on?
Building out a new subscription API to interface with Stripe Subscriptions. Trying to understand sandbox capabilities for local testing and CI testing

#

@twilit raven pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I use a WebView in React Native for in-app payments, or is it recommended to use the React Native Stripe SDK for creating the in-app payments? I want to be sure I’m following best practices for security and compliance.

Doc/Guide Links
https://docs.stripe.com/payments/elements/mobile-payment-element

https://docs.stripe.com/payments/mobile/accept-payment?platform=ios&type=payment

What are you working on?
ERP Accounting Management Software

cursive heronBOT
#

@high copper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a customer in stripe that has a cash balance of over 10k. When I retrieve the customer, it shows cash_balance with the available amount. Now I try to apply it to a payment intent with paymentIntent.apply_customer_balance, and no matter what amount I pass in (even tried 1 dollar) I get an invalid_request_error saying The amount provided exceeds the customer's available cash.

Related Request ID(s)
req_9zIocmsAIYIcBy

What have you already attempted?
Have triple checked that a customer balance exists, and have tried passing tiny amounts as well.

cursive heronBOT
#

@smoky lotus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
In Data management you can export to google cloud service. When It does this it does it in a hive partition with parquet files. this would be fine if not for the fact that google cloud service doesn't allow double wild cards to read the data in. https://cloud.google.com/bigquery/docs/hive-partitioned-loads-gcs
Is there any way to export directly to big query, if not Id have to ditch the data management and build custom with the api

Question
In Data management you can export to google cloud service. When It does this it does it in a hive partition with parquet files. this would be fine if not for the fact that google cloud service doesn't allow double wild cards to read the data in. https://cloud.google.com/bigquery/docs/hive-partitioned-loads-gcs
Is there any way to export directly to big query, if not Id have to ditch the data management and build custom with the api

What have you already attempted?
I have attempted partitioning and creating an external table, but because I cannot double asterix I would have to load this another way. Any thoughts?

What are you working on?
internal reporting

#

@hasty granite pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
backend:

const getStripeClient = (): Stripe => {
if (!stripeClient) {
console.log('Initializing Stripe client...');
stripeClient = new Stripe(process.env.STRIPE_SECRET_KEY!);
}
return stripeClient;
};

const session = await stripe.checkout.sessions.create\(
  {
    line\_items\: lineItems,
    mode\: 'payment',
    payment\_method\_types\: \['card', 

frontend:

const stripePromise = loadStripe(
process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY!
);

Question
Hello, I'm currently developing a Stripe connect integration for our platform. We are creating connected accounts for our customers and sending out payments on their behalf. We would like to embed the payment checkout session instead of redirecting to checkout.stripe.com. However, it seems like when we create the checkout session under the connected account id, we cannot pass in my own platform's publishable key to render the checkout page and hit an error

What have you already attempted?
for additional context I have been following this guide for embedded form https://docs.stripe.com/checkout/embedded/quickstart

but this now seems to me that it is not correct for the Connect usecase.

i've done the following on Stripe CLI:

stripe accounts list - i see the connected account i created for testing

stripe checkout sessions list - I see nothing

stripe checkout sessions list --stripe-account=acct_1RNlLsR0pmVaxB83: I see all of the sessions I have been

What are you working on?
a saas platform that has a feature to charge our customers' customers for them.

#

@sterile garden pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How long is the timeout for the Customer Portal link? Can I generate it on page load for a customer settings page? Or should I generate it on user click? I would prefer to generate it on page load for accessibility purposes.

Doc/Guide Links
https://docs.stripe.com/api/customer_portal/sessions

What are you working on?
Ministorage management software

cursive heronBOT
#

@tired moon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Buttons like “Business Info” and “Branding” don’t work
- Console shows errors like: `sourcemaps.corp.stripe.com requires client certificate`
- CORS errors: `r.stripe.com` → 403
- Content-Security-Policy issues block embedded resources
- Even the Stripe support site is broken for me – I cannot reach support via chatbot or forms

Question
Hi, I urgently need help – my entire Stripe dashboard is broken.
**None of it helps.**

It looks like I'm being served a debug/internal build instead of production.

**Please escalate this issue to the Dashboard or CDN team.**
Account email: **info@fordjonly.com**

What have you already attempted?
I’ve tested:
- Different browsers (Chrome, Safari, Firefox)
- VPN (US), mobile hotspot, incognito mode
- Cleared cookies and DNS

cursive heronBOT
#

@pliant apex pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I setup a coupon that last for 6 weeks? Trying this because our customer can setup weekly subscriptions

Related Request ID(s)
NA

What have you already attempted?
I can currently created coupons that last for x number of months but cannot do it for partial months

What are you working on?
I have a subscription based software, so I want to allow users to created coupons for various scenarios

#

@exotic trout pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Invariant Violation: `new NativeEventEmitter()` requires a non-null argument. [Component Stack]

Question
I'm trying to use stripe in an expo react native app. When i use StripeProvider, i have problem with my themeProvider, it doesnt load anything and app crash because theme from useTheme become undefined, also i get the nativeEvent error when i try to use initializeStripe.

What have you already attempted?
Trying to move the provider between diferent parts, now is on app/_layout.tsx(I'm using expo router). Fot the nativeEvent error, i tried to update all dependencies but is still there, my versions are: "expo": "~52.0.43",
"@stripe/stripe-react-native": "0.38.6",
"react": "18.3.1",
"react-native": "0.76.9",

Hope you can help me.

What are you working on?
Building a react native expo app.

cursive heronBOT
#

@echo dew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<script src="https://connect.stripe.com/connect.js"></script>
<script src="https://connect-js.stripe.com/v1/connect.js"></script>

Question
I'm testing the payment details embedded connect component. I have a unique scenario for testing where I need to load the connect library as a script on an html page instead of importing @stripe/connect-js

What have you already attempted?
Neither of these imports seem to allow me instantiate the library to run the initial loadConnectAndInitialize method. Is there something I need have turned on for my org? I understand some components are in beta.

What are you working on?
I want to see how the connect embedded components behave inside a salesforce org.

cursive heronBOT
#

@vale crystal pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected that only one customer would be able to successfully purchase a product when its stock quantity is 1, regardless of the payment method used (e.g. Stripe, PayPay, cash on delivery).
Once a customer confirms an order, other users should no longer be able to purchase the same item if the stock is depleted.

What actually happened?
Two users were able to successfully complete the checkout process for a product that had only 1 stock.
One user paid via Stripe, and the other selected a different payment method (such as PayPay or cash on delivery).
As a result, both orders were processed, leading to an oversell situation.

Reproduction Steps

  1. Create a WooCommerce product with stock quantity set to 1.
    2. Enable Stripe and another payment method (e.g. PayPay or COD).
    3. Two users add the same product to their carts at the same time.
    4. One user selects Stripe and the other selects the alternate method.
    5. Both proceed to checkout and confirm their orders simultaneously.
    6. Result: both orders are c

Question
Are there any known cases or best practices for preventing overselling in scenarios where multiple payment methods (especially asynchronous ones) are used with WooCommerce and Stripe?
Is there a recommended way to ensure that stock is locked or reserved immediately upon checkout initiation to avoid this race condition?

What are you working on?
I’m working on a WooCommerce-based reservation system that allows users to book one-on-one sessions. The system supports mu

cursive heronBOT
#

@heavy jasper pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe payment element doesn't display a zip field for India, but it's one of a select few countries that requires it for taxes.

What actually happened?
Using a payment element, with an indian card specifically, causes tax calculations to fail (no other country has this issue)

Reproduction Steps
Use a payment element and select india

Question
If this is a bug, can it be fixed? If it is intentional, how can I work around this?

cursive heronBOT
#

@dapper musk pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create

Question
On payment intent creation, I see that you can set parameters off_session to true so that there will be no authentication at all. But I can't seem to complete payment with this. The goal is to be able to pay without 3DS for supported cards/region.
How can I achieve that?

What have you already attempted?
Try with off_session = true
But rejected with decline code authentication_required

I'm using 4000 00XX XXXX 3184
this card from the stripe test card page

I have tried to talk with Stripe Support and they are the one suggesting the off_session = true
They also suggest me to ask here

What are you working on?
Trying to make a sucessful payment without 3DS

cursive heronBOT
#

@summer oxide pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Hi dev, I am creating a manual payment invoice so that users can pay an advance payment for their ongoing subscription.

To achieve this, I am using the upcoming invoice to get the invoice and tax details and replicating the same in the manual invoice.

This invoice is created as step-1 and the id is stored in db, user can then pay this whenever they want.

What actually happened?
When I am paying the invoice, the invoice is getting paid and the tax details are also exact, For example if the tax % is 10% then the same is getting applied to the subscription amount, which is correct.

Reproduction Steps
Will share the steps to create the invoice in chat space.

Question
In step 1 the invoice is created and ID is stored in db, now the user can pay this invoice whenever they want, as this option will be visible to them.

The only concern I have is that with the passing time, if the tax rate for a country changes, then will it reflect back to the invoice? I guess not since it is created as Step-1 at some past time.

What are you working on?
I am working on a mechanism to get the advance payment for an ongoing subscription renewal, based on our use-case.

cursive heronBOT
#

@sour idol pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
pay with link is not getting disabled in flutter

Question
pay with link is not getting disabled in flutter

What have you already attempted?
pay with link is not getting disabled in flutter

What are you working on?
pay with link is not getting disabled in flutter

cursive heronBOT
#

@slender lynx pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any notification for price changes on the platform (https://dashboard.stripe.com/test/dashboard)? I have a scenario: the platform (https://dashboard.stripe.com/test/dashboard) adds a new product and notifies us to record the product price_id in the database for the price_id input parameter for placing an order

Related Event ID(s)
non

What have you already attempted?
non

cursive heronBOT
#

@tame reef pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using the Stripe API (balance_transactions endpoint) to retrieve balance transactions on a daily basis.

The balance transactions give us insights in all the movements over the Stripe balance on a transactional level.

We want to further deepdive into the fees that are deducted from the Stripe balance. We can distinguish two types of fees:

  1. Fees that are directly deducted during the balance transaction of a specific payment (details are sufficient).
  2. Fees that are deducted on a periodic (mostly daily) basis.

For fees deducted on a periodic basis we want to gain more insights in the calculation (P*Q) and assign them to transactions happened whenever possible.

Doc/Guide Links
I used this endpoint: https://docs.stripe.com/api/balance_transactions

Tried to gain more insights by using expand functionality: https://docs.stripe.com/expand
There doesn't seem to a possibility to expand transactions of type .

Transaction type that i would like to expand are "stripe_fee" transaction types:
https://docs.stripe.com/reports/balance-transaction-types?locale=en-GB#balance_related

I cannot identify if this would give me more insights into the calculations:
https://docs.stripe.com/stripe-data/query-all-fees-data

Can you guide me with a best practice into how to explain these periodic charged costs on the balance transactions and assign them to transactions?

What are you working on?
Stripe balance transactions - Fee insights

#

@gloomy quail pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
let subscriptions = [];

  // Get today in UTC, start of day
  const today = DateTime.utc\(\).startOf\('day'\);

  // Calculate "one month from today", also at start of day
  const oneMonthFromToday = today.plus\({months\: 1}\);

  for await \(const subscription of stripe.subscriptions.list\({
    status\: 'active',
    limit\: 100,
    customer\: 'customerId'
  }\)\) {
    subscriptions.push\(subscription\);
  }

  const expiringSubscriptions

Question
I am building a reminder email notification system, I want to send email to users before one month their subscription expired or 30 days, subscription plan should be yearly, I don't know how to test this

What have you already attempted?
Code above

What are you working on?
subscriptions

cursive heronBOT
#

@spiral bluff pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscription_items/delete

Question
How do I both update a subscription item and delete an item from a subscription in one go?

What have you already attempted?
Tried updating and then deleting. But I want to make it atomic

What are you working on?
Users with subscriptions that include 2 items should be able to downgrade to a base plan which involves on one item.

cursive heronBOT
#

@gaunt aspen pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/ach-debit

Question
I have a question regarding ACH subscriptions. Suppose my client has bought a subscription with ACH as the payment method, now during renewal stripe will create a invoice but it will take time to succeed due to ACH. What will happen to subscription state if it is past due date and payment is still in pending state.

What have you already attempted?
Read docs

What are you working on?
Adding ACH as payment method for subscriptions.

#

@silver otter pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I would like to know, if Stripe will send a registration/welcome email to new sellers after I guided them to the Stripe component widget handling the onboarding on my marketplace.
We are not yet in production with the onboarding feature and I do not receive any confirmation emails after testing the onboarding process successfully in a sandbox

Doc/Guide Links
https://docs.stripe.com/connect/embedded-onboarding

What are you working on?
Merchant platform

#

@spiral bluff pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to update a subscription with 2 items by updating one of them and deleting one of the items. I followed the API docs and set the deleted flag to true for the item I wanted to remove from the subscription however I received an error message.

Related Request ID(s)
req_XPPrq9ksVxnNZG

What have you already attempted?
I may have to experiment with a different kind of payment behaviour rather than pending_if_incomplete perhaps? But idk if this will break existing functionality.

What are you working on?
Let customers downgrade from a subscription with 2 items to 1 item.

cursive heronBOT
#

@kind saddle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to find in API json data that a dispute was RDR resolved?

Related Request ID(s)
-

What have you already attempted?
I took a dispute that's RDR resolved and looked through its data to find anything.

I looked through all events data related to the dispute in any way.

#

@chrome swift pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
charge on succeeded payment intent without transaction

Related Event ID(s)
evt_3ROHht4ZVRqKYMiD1cZcIXoQ

What have you already attempted?
I'm doing
```py
charge = await stripe.Charge.retrieve_async(payment_intent.latest_charge, expand=["balance_transaction"])
if charge.balance_transaction is None:
raise RuntimeError("Expected transaction on charge")
```
when receiving the payment intent through an event, and then updating our internal db with the charge's time and fees from the transaction but we got None on the transaction.

Should the charge update be listened to separately in case the intend webhook comes in before the charge is updated with the transaction?

#

@slate cairn pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe Support,

We’ve built a web platform called SmileFund that allows clinics to manage and collect payments from patients. We’re using Stripe Connect for managing each clinic as a connected account.

Current Setup
Our platform Stripe account name is: New York Dental Implants

The platform account is also a clinic using SmileFund (Entity 1)

We have additional connected accounts such as:

JGX Labs (connected account)
ABC Dental Implants (connected account, Entity 2)

The Problem
Currently, when a patient is invoiced by any connected account (e.g. ABC Dental Implants), the invoice/receipt shows that they are paying New York Dental Implants, which is misleading and confu

Doc/Guide Links
https://support.stripe.com/questions/update-account-name-shown-in-the-dashboard

What are you working on?
a web platform called SmileFund that allows clinics to manage and collect payments from patients. We’re using Stripe Connect for managing each clinic as a connected account.

cursive heronBOT
#

@hallow bronze pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
**Unclear Tax Status for Intra-Community Supplies**

I’m a German business delivering industrial components to EU businesses with valid VAT-IDs (tax-exempt per § 6a UStG). Stripe’s tax status options are: Taxable, Exempt, Reverse Charge. None seem correct—Taxable adds VAT, Exempt is for services, Reverse Charge isn’t for standard goods. I’ve picked Exempt but am unsure.

**Questions:**
- Which option fits tax-exempt intra-Community supplies?
- Any specific Stripe Tax setting to enable?

Doc/Guide Links
https://docs.stripe.com/tax/zero-tax

What are you working on?
B2B Ecom Shop for MRO Market

#

@warm bane pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hi, is there an api endpoint that simply checks if a stripe secret api key is valid? i'm developing a stripe integration for a (self-hosted) tool i'm maintaining, and when people put their stripe api key there, i'd like to immediately show an error if the key is not valid

Doc/Guide Links
https://docs.stripe.com/api-v2-overview

What are you working on?
stripe integration to pay in an event management tool i'm maintaining

cursive heronBOT
#

@misty ore pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/pricing-table

Question
I want to make a pricing table which include Yearly and Monthly subscription of all plans. Also, I want to show discounts on yearly pricing. I am not able to figure out how can I do this.

What have you already attempted?
I go through multiple tutorial and entire documentation

#

@sharp bobcat pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
StripeElements renders an extra border for LinkAuthenticationElement and there is no work-around to fix it using the appearance rules customization.

What actually happened?
I noticed that my forms show two borders in the LinkAuthenticationElement that is being rendered compared to the PaymentElements below. Th

Reproduction Steps
This existing Stripe sample already reproduces de issue: https://github.com/stripe-samples/link

The example in the documentation of LinkAuthenticationElement https://docs.stripe.com/payments/elements/link-authentication-element
does not show this issue. But this is because there's an extra private class being used with `!important` that overrides the behavior.

Question
Is there a way to access either of the selectors that create the border so that I can remove one of them? Is this bug being already tracked or will it be fixed soon?

What are you working on?
Building a checkout flow with LinkAuthenticationElement and PaymentElement.

#

@keen bramble pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to manage Billing and Invoice settings through the API? For example, Retry schedule, Upcoming renewal events etc.. We have to manually set these up right now, and it's open to user error and not easily repeatable

Related Request ID(s)
N/A

What have you already attempted?
Nothing, as I couldn't find a way to do this.

#

@clever crow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a express connect user who has their country set as United Kingdom so their express default currency in GBP. However, they are using an Irish bank account denominated in EUR.

Right now I can't payout is this user via the API because their funds are settling in GBP. I get this error: StripeInvalidRequestError: Sorry, you don't have any external accounts in that currency (gbp).

How do I change this users default currency via the API so it settles in EUR? Or how do I convert their balance via the API before a payout?

Related Request ID(s)
No related req ids because I can't create one.

What have you already attempted?
Right now I have to manually payout this user via the dashboard by doing a balance conversion first. This is obviously not ideal or scalable.

I have tried updating the users' default_currency via the account updates API, but I get this error: "This application does not have the required permissions for the parameter 'default_currency' on account 'acct_xxx'."

Stripe support told me about a balance conversion API but I couldn't find anything about this in the docs.

What are you working on?
Live marketplace with 10k+ sellers.

#

@fast stream pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I’m trying to retrieve the payment methods for multiple users at once. Is there an endpoint where I can get them in a single call?

Related Request ID(s)
-

What have you already attempted?
So far, I’ve only been able to fetch them one by one like this:

const paymentMethods = await this.stripe.paymentMethods.list({
customer: customerId,
type: 'card',
});

What are you working on?
I’m building a hold system based on the user’s card type.

cursive heronBOT
#

@dull hare pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/terminal/configuration/update

Question
Want to know if/when it will be possible to support terminal tipping suggestion based on price before taxes. There is new law here in Quebec Canada that require us to do so

What have you already attempted?
Don't see anything in documentation to achieve that

What are you working on?
Terminal payment integration

#

@unreal chasm pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am using PIX Brazilian payment method with Stripe (apparently it is not on GA yet). I was expecting almost instant confirmation and forwarding to the payment confirmed page.

What actually happened?
When a payment is made, it takes way more time than other gateways to recognize the payment, if it recognizes the payment at all, and it stays at the payment screen, instead of forwarding to the confirmation screen, even when the payment is confirmed.

Reproduction Steps
On Stripe checkout, select payment made through pix, make the payment, it takes minutes to confirm, if it confirms, and then it doesn't forward to the confirmation screen

Question
Is the payment confirmation update frequency slow on purpose? Can you fix the frequency and also fix the redirect to the payment confirmed page?

What are you working on?
E-commerce

#

@topaz belfry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how to configure stripe to get invoice.payment_succeeded even if non subscription payment is done via checkout

Related Request ID(s)
pi_3ROK9qJVbFQb3xmW0siU6Us7

What have you already attempted?
how to configure stripe to get invoice.payment_succeeded even if non subscription payment is done via checkout

What are you working on?
payment webhooks process

#

@gleaming patio pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm currently setting Stripes payment element like the doc below for just saving card details, so passing through a SetupIntent. Based off of some parameters we have on our end, we want to stop users from being able to add specific card types such as Amex or JCB etc. Previously using elements.create('card'), after adding an event listener on it, the event would contain the card brand. However it does not seem to be the same with the payment element. I'm wondering if there is a way around this I'm not seeing? Thanks in advance

Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse?locale=en-GB&lang=python

What are you working on?
Setting up Stripes payment element to save card details

#

@tiny estuary pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've seen in the other day May 8 Stripe Sessions video about StripeTax that now Stripe does the international registering and tax filling: https://x.com/pucknorris/status/1920596771467616756.

Is this something new, or is the Taxually integration I've seen in the docs in the last months (https://docs.stripe.com/tax/filing#filing-with-stripe)?

Doc/Guide Links
https://x.com/pucknorris/status/1920596771467616756

What are you working on?
International Stripe Tax filling and registering

cursive heronBOT
#

@unreal chasm pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am using PIX Brazilian payment method with Stripe (apparently it is not on GA yet). I was expecting almost instant confirmation and forwarding to the payment confirmed page.

What actually happened?
When a payment is made, it takes way more time than other gateways to recognize the payment, if it recognizes the payment at all, and it stays at the payment screen, instead of forwarding to the confirmation screen, even when the payment is confirmed.

Reproduction Steps
On Stripe checkout, select payment made through pix, make the payment, it takes minutes to confirm, if it confirms, and then it doesn't forward to the confirmation screen

Question
Is the payment confirmation update frequency slow on purpose? Can you fix the frequency and also fix the redirect to the payment confirmed page?

What are you working on?
E-commerce

#

@jolly cradle pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/customers/create#create_customer-address

Question
If Stripe can pull address information from the customer's payment method for calculating taxes, why does the API docs for creating a customer say address is required for calculating taxes?

What have you already attempted?
This document explains that customer address is not required for collecting taxes, that if it's not present, the payment method will be used: https://docs.stripe.com/tax/customer-locations#address-hierarchy

What are you working on?
Create subscriptions, leveraging the stripe tax feature

#

@heavy charm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For a given invoice ID of an invoice that has had VAT or sales tax collection enabled, how do I use the API to find the filing_tax_amount and filing_currency as reported in the "Export your Stripe Tax transactions" report in the dashboard? (I use the Java SDK.)

Related Request ID(s)
req_p7rzXU1Uce46bS

What have you already attempted?
I can get the tax amounts in USD from invoice.lines.tax_amounts.amount, but I need them in the filing currency (e.g. EUR for VAT collected in the european union) as well.

What are you working on?
Writing scripts to automate monthly and quarterly accounting work related to Stripe transactions.

cursive heronBOT
#

@toxic compass pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{
"error": {
"message": "card_issuing can only be requested if your platform has been onboarded on Stripe Issuing already.",
"param": "requested_capabilities",
"request_log_url": "https://dashboard.stripe.com/test/logs/...?t=...",
"type": "invalid_request_error"
}
}

Question
Why am I having this error when trying to created a connected account with card_issuing capability?

What have you already attempted?
https://docs.stripe.com/issuing/connect?integration=api

Reproduction Steps
Call the accounts API passing capabilities[card_issuing][requested] = true

#

@tulip cipher pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using the react-stripe-js library for Credit Card form.
Users are unable to enter a credit card with zip code from South Africa.
For example, their zip is 3159 but the Credit Card form requires five digits.
How can we accept zip codes from regions like South Africa?

Related Request ID(s)
https://docs.stripe.com/sdks/stripejs-react

What have you already attempted?
https://docs.stripe.com/sdks/stripejs-react

What are you working on?
https://docs.stripe.com/sdks/stripejs-react

#

@balmy fossil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When a card is updated in the background after a new issue - so the card expiry changes - does the PaymentMethod's card expiry get updated or does it stay as the original one?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Building a subscription model for a Saas app.

cursive heronBOT
#

@vocal wagon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Error Payments not yet enabled. To create a payment link, complete
required tasks to enable live payments for your account.

Question
I don't have any further required tasks.
I am concerned that it might be because I added my website later, at first I got an email saying that my account would not be able to accept payments until I put up a website. However, I have now put up a website.

What have you already attempted?
I have not tried anything, beyond clicking around to find a solution.

cursive heronBOT
#

@rich valley pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The provided capture_method (manual) does not match the expected capture_method (automatic). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements

Question
I use manual capture for some payment flows in my app. I use elements.update() in order to update the capture method. Somehow my users are facing the error above from time to time. how to fix this?

What have you already attempted?
elements.update({
captureMethod: isManualCapture ? 'manual' : 'automatic',
});

and

elements.on('update-end', handleUpdate);

What are you working on?
rebulding my checkout form

cursive heronBOT
#

@compact storm pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/appearance-api#variables

Question
Does the ConnectComponentsProvider support an appearance prop like Elements does in @stripe/react-stripe-js

What have you already attempted?
I tried setting the appearance prop like we can do with Stripe Elements, but it appears not to be supported, so I tried changing the appearance via the dashboard under Settings -> Branding but I'm not seeing the colors change locally.

What are you working on?
I'm trying to change button and link colors in the ConnectAccountOnboarding component

cursive heronBOT
#

@ivory valley pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
paymentIntent, err := stripeClient.PaymentIntents.New(&stripe.PaymentIntentParams{
Customer: stripe.String(customerId),
SetupFutureUsage: stripe.String(string(stripe.PaymentIntentSetupFutureUsageOffSession)),
Amount: stripe.Int64(StripePaymentMethodHoldAmountCents),
Currency: stripe.String("usd"),
CaptureMethod: stripe.String("manual"),

Question
We also expose No code Customer portal to end users where they can add/delete payment methods, and we want to accept a payment method only the card has some money to hold in that(to avoid fraud cards). What is a way to achieve this ?

What have you already attempted?
We want to have hold on payment method https://docs.stripe.com/payments/place-a-hold-on-a-payment-method , we got the suggestion to follow https://docs.stripe.com/payments/save-during-payment where it combines paymentIntent and sends the secret to the UI to confirm the payment

cursive heronBOT
#

@last cove pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're a Stripe platform account. We're using Stripe Connect for our customers who are business owners. We have 2 internal products and we want to use account metadata to differentiate between them in Stripe side so that we can filter reports based on the product. We're using OAUTH for onboarding and some customers create stripe account first time vs some of them already have a stripe account that they connect with our platform.

Related Request ID(s)
req_6LVTzHAvfYH85t

What have you already attempted?
There's no way to set metadata. We don't see that option in the dashboard either. We spoke to multiple members of stripe team in Stripe Sessions they suggested we can use Organization and 2 platform accounts. But we don't want to maintain 2 api and secret keys and deal with the complexity of having 2 platform accounts which will also not reach volume sooner for revenue share. Kindly request your help.

cursive heronBOT
#

@pliant apex pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I create a subscription with a coupon it is not being removed from the subscription object once the duration in months has passed? Is this expected?

Related Request ID(s)
NA

What have you already attempted?
I created a subscription with a coupon that lasts for 2 months. I simulated a time clock to advance three months and the coupon is still in the

What are you working on?
I am working on a feature to allow coupons to last for n number of months but currently since the discount is not being removed when I recalculate the fees I am still taking into account the discount

#

@white fox pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on managing disputes programmatically. My question is about file upload limitations. In the documentation, it says that the combined page count cannot exceed 50.

I was able to upload two documents with 42 pages each. Would this be a violation? Or Should I ensure that all files uploaded's combined pages do not exceed 50?

Doc/Guide Links
https://docs.stripe.com/disputes/best-practices#file-upload-recommendations

What are you working on?
I'm managing disputes programmatically, and I'm trying to understand language in the docs

cursive heronBOT
#

@kind saddle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to know if there is a way to tell from Stripe API data if a dispute was a Verifi RDR.

This is one example of such dispute: pi_3RKX0iBpyoglPFi53wQed2G7

Related Request ID(s)
-

What have you already attempted?
I checked all Stripe API objects (payment_intent, charge, dispute) for several disputes marked as 'Verifi RDR'. Nothing conclusive can be found.

I opened the same thread here some hours ago. A link is provided which doesn't help with the question. I wasn't able to reply as the thread was locked.

I read all Stripe articles I could find on the matter.

#

@little zenith pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
getting this error, trying to validate my website

We weren't able to verify your business using the URL you provided. Make sure it's entered correctly or provide another URL.

what meta data do I need to pass this test

Doc/Guide Links
https://support.stripe.com/questions/business-website-for-account-activation-faq

What are you working on?
Setting up company

#

@mossy talon pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm receiving events not processed by my platform from connected account account via webhook.

Related Event ID(s)
evt_1RNZJRCVZ7qJa6Qin1CL98be

What have you already attempted?
Investigated my code, double checked everything with stripe docs. Found nothing in my code

What are you working on?
Working on recurring donations

cursive heronBOT
#

@polar sparrow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have stripe.com connected to my kit.com account. I actually have multiple kit.com accounts and one stripe account. one of my kit.com accounts is working fine with stripe and I do not remember creating a webhook endpoint and as i said, that account is working fine - I think the webhook was created automatically when I attached stripe to kit. today I tried to connect stripe to my other kit account and it asked me to create a webhook end point. I tried and there seem to be two listed and it doesn't work. and neither do I see the webhook endpoint listed for the kit account that is working - help

Related Request ID(s)
na

What have you already attempted?
i have tried to create the webhook for the new kit account many times and it doesn't seem to connect

#

@mortal kindle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why are my PIs not including Crypto as a payment method when it is enabled for my connected accounts and one of the connect accounts (which I also own)

I am using automatic_payment_method = True

Related Request ID(s)
req_nWNazZrvRVT0Bi

What have you already attempted?
Turning on crypto payments on every setting I can find.

What are you working on?
Billling

cursive heronBOT
#

@lime bear pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What to do when capture malfunctions.

This transaction responded with a 500 error on capture, but then, according to events afterwards, seem to have captured after all.

We really don't want to code for such edge cases.

Please advise?

Related Request ID(s)
pi_3RHEN3HV1bfqWGJ81QfIpXu9

What have you already attempted?
Checked the Stripe logs

What are you working on?
Regular single token transaction.

#

@frosty yoke pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I create multiple product in test mode, I copy them to prod mod. But when I want to do cross sell , no product appear

What actually happened?
product should appearl in list box

Reproduction Steps
create product in test mod and copy them in prod mod

Question
please solve the problem because I cannot make cross sell

cursive heronBOT
#

@glossy crow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting 'no such account' error

{"message":"No such account: 'acct_1RORfsR43W5Lvri7'"}

Related Request ID(s)
n/a

What have you already attempted?
switched to using sandboxes, but getting

What are you working on?
onboarding users into stripe for our stripe platform

#

@lapis fulcrum pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
"Is it possible to make installment purchases using the Stripe API in Brazil (BNPL)?"

Related Request ID(s)
Dashboard > Configuration > payments

What have you already attempted?
I tried using the payment_method_options and payment_intent_data settings with mode="payment" in stripe.checkout.Session.create, but without success.

What are you working on?
Integrate stripe on a patient management application for psicologysts.

#

@dense idol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I use checkout.sesssion.create and I pass a customer id the customer’s attached payment methods do not show up

Related Request ID(s)
None

What have you already attempted?
Please stop asking for a request id - this is an api usage question

#

@pastel flame pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting an error while creating payment method for a migrated customer from old account to new account.

Related Request ID(s)
req_X7vYMVRkDuBohm

What have you already attempted?
I tried to check in the stripe dashbaord for the payment method, but i am unable to see it.

#

@thin epoch pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
getting a timeout error with https://js.stripe.com/v3/

Question
Today my app stopped downloading https://js.stripe.com/v3/ and I get a timeout issue. When I go to https://status.stripe.com/reachability is also shows js.stripe.com is down

What have you already attempted?
Tried a different browser, mobile phone data.

Reproduction Steps
Go to https://status.stripe.com/reachability and see if js.stripe.com is down?

What are you working on?
Website to book campgrounds

cursive heronBOT
#

@dusty vapor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When updating a subscription, I wish to apply the currently active subscription discount to the prorated upgrade amount. IE: If the user has a 30% discount applicable to the new price, we wish to discount the price they pay by 30%

Related Request ID(s)
req_OQ4V8fAhBTytsd

What have you already attempted?
We have already tried updating the invoice with the new prices and items we want on their subscription.

What are you working on?
Building an upgrade function for users to upgrade their subscription and keep their discount

cursive heronBOT
#

@spark salmon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Discord Bot integration into stripe to automate everything

Question
I’m looking for help integrating a Discord bot with Stripe.
I want the bot to automatically assign roles to paid customers when they subscribe, and remove roles when they cancel—similar to how the Whop bot works. The goal is to fully automate Discord access based on active Stripe subscriptions.

What’s the easiest and fastest way to set this up? Ideally something that doesn’t require coding or complicated setup.

What have you already attempted?
I don’t know where to start

cursive heronBOT
#

@wheat wind pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When we have funds pushed to our financial accounts we have set up in treasury, we consume the received_credit webhook, is there any way for us to have the bank account last_4 included in that webhook? when we receive these funds, we would like to be able to identify which of our customers has sent up funds programatically and this would be the best way.

Related Event ID(s)
evt_1RLin6PxTHQLN92TQTeNSn8n

What have you already attempted?
Docs, Tested webhooks, etc.

What are you working on?
fintech platform

#

@digital condor pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
ShowCheckbox is not a recognized parameter

Question
Why does the showCheckbox: false doesnt work?

What have you already attempted?
I tried to hide the default stripe checkbox in the address elements and it doesnt seem to work

What are you working on?
I am trying to initialize two address elements one for shipping mode and one for billing mode…

cursive heronBOT
#

@surreal vigil pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have this form https://teenwise.kartra.com/pay/kdB5oE7xIJa4
the payment_method_types is set only to 'card'
I should get only cards in the options

What actually happened?
going to the link I see bank, and the id in the html is link_card_brand

Reproduction Steps
just go to the link https://teenwise.kartra.com/pay/kdB5oE7xIJa4

Question
How do I get rid of that bank option, and have only card (or apple/google pay when conditions are met)

What are you working on?
I have an application that processes payments on behalf of the connected/standalone accounts

cursive heronBOT
#

@bitter heron pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Session is getting lost after using stripe checkout on mobiles.

Question
Have you had any recent comments about similar issues? Seems to me that session cookies are lost on iphones after going to stripe checkout and then return.

Same happens to AWS ALB cookie.

Maybe with recent iOS update things for a little bit worse?

What have you already attempted?
Review lots of logs

Reproduction Steps
Shopping cart on our site.
Hit Pay.
Navigate to checkout.stripe.com
When rerun to site, cookies got lost

cursive heronBOT
cursive heronBOT
#

@gloomy quail pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am sending custom reminder email to users, I want to provide a action button on email when user click on it it redirect user to his customer portal, how I do that

Related Request ID(s)
Nothing

What have you already attempted?
I am thinking I will call customer portal api with customer id and attach in button but I don't want this link expired

What are you working on?
Subscriptions

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

@idle blaze pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm doing a custom checkout & are looking at checkout sessions which seems to be one way to accomplish this. When the user is going to pay I want to display all the line items with their descriptions, name, price etc such that they can review it before paying. I'm wondering if there's something already available for this. I see that it's possible to supply an invoice_creation param, but this seems to be for post purchase, I instead would want a preview which I can embed with the payment element in some way if possible.

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create?lang=php & https://docs.stripe.com/checkout/custom/quickstart

What are you working on?
It's a webpage for a company which offers massages at location for companies in the local area.

cursive heronBOT
#

@slender lynx pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I modify the price in the management platform, how can I pass the custom parameters to the trigger so that the receiving end can obtain the custom parameters: {"request":{"id":"req_3snoH02GdNv5Fh","idempotency_key":"32ee9906-ad1f-4cff-8e49-a204c3a86747"},"data":{"object":{"id":"price_1P12cpAg2QOnAGt7ggtYGTKV","object":"price","active":true,"billing_scheme":"per_unit","created":1712046203,"currency":"cny","livemode":false,"metadata":{},"nickname": "CMP1710141042517","product":"prod_PDnnX3bG9wz5Un","tax_behavior":"unspecified","type":"one_time","unit_amount":19900,"unit_amount_decimal":"199

Related Event ID(s)
non

What have you already attempted?
non

cursive heronBOT
#

@rapid stratus pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method#card-not-present-transactions

Question
Assume user have $20 and i captured $20 dollar by manual capture. Now user is trying to use the same card for another purpose. will it complete that payment.
if yes, assume i am capturing the amount ($20), it will throw insufficient balance ,right ?

am i misunderstood the capture flow ?

What have you already attempted?
No

#

@brave rain pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using stripe checkout page, and use a webhook listen checkout.session.complated event to fulfill order.
But I want to know which payment method the user used to pay, the Checkout Session object do not contain this.
I notice that this info i can get from charge.succeeded event, but how could I connect the Charge object to the Checkout Session object?

Related Event ID(s)
evt_1ROZY3EuUZucavEdtKZ5qqTh

What have you already attempted?
https://docs.stripe.com/api/charges/object
https://docs.stripe.com/api/checkout/sessions/object

cursive heronBOT
#

@velvet bear pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to verify Connected account (acct_xxx) with identity document.
Before on my mobile app i was using accountLinks.
I have an update with sdk implementation in mobile code.
Now with the sdk i'm generating a versificationSession.

Till there all is ok, Stripe Identity tells me documents are ok, but my stripe account isn't updated, it's still in limited state.

My question is, how with stripe sdk can we link the verification session document and report to my stripe account connect.

thanks for your help

Doc/Guide Links
official stripe doumentation

What are you working on?
An B2C app

cursive heronBOT
#

@spiral bluff pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am still unclear about the approach I need to take regarding downgrading a subscription in one atomic operation where from 2 subscription items it would be reduced to two and where one of them would be updated to a different price.

Related Request ID(s)
req_XPPrq9ksVxnNZG

What have you already attempted?
The payment behaviour `pending_if_incomplete` is causing this problem. So considering that it is a downgrade to a Base plan that does not have a flat fee I can perhaps use a different payment behaviour type to get this working?

What are you working on?
Allow customers to downgrade from higher plans to a Base plan.

cursive heronBOT
#

@slim pilot pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, we have enable in settings that the inovice.upcoming webhook should be sent to us 15 days before the subscription is renewed but we are not receivig this event - for example this subscription - https://dashboard.stripe.com/events?related_object=sub_1PEj7zK50FhV0FTMgktyONXE in our Celonis Inc. (Make) space. Could you please help me with figuring out why it did not arrive? Thank you very much, Lukas :)

Related Event ID(s)
sub_1PEj7zK50FhV0FTMgktyONXE, cus_Q4sMEKOfwwB0qv

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/webhooks I have read those docs and we have checked that the event is correctly set in settings

What are you working on?
We want to send emails based on this event

#

@topaz peak pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{
"error": {
"message": "Sorry, something went wrong. We've already been notified of the problem, but if you need any help, you can reach us as support.stripe.com/contact."
"type: "api_error"
}
}

Question
I have a custom payment solution where I create a sub and confirm the payment on the server, and I handle next action on the client. This works for cards and Apple/Google pay, but for PayPal the user gets redirected to PayPal and when they click "Agree & Continue" a white screen shows up with the error above, the payment is halted and the sub remains incomplete.

What have you already attempted?
Added a return URL to the confirm payment step. Also PayPal has worked before when we just created the subscription on the server and confirmed the payment on the client side. So I know that PayPal is configured correctly in Stripe.

Reproduction Steps
Create a subscription and confirm payment on the server. Send the client secret to the client and use this to handle next action.

What are you working on?
A custom payment solution using Node

#

@stoic sedge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
With `paymentRequest` developers had the possibility of completing a request with specific errors like:
- `invalid_payer_email`
- `invalid_payer_name`
- `invalid_payer_phone`

Link to docs: https://docs.stripe.com/js/appendix/payment_response#payment_response_object-complete

What actually happened?
With the express checkout element button, this is no longer the case, since these errors are not listed in the docs: https://docs.stripe.com/js/elements_object/express_checkout_element_confirm_event#express_checkout_element_on_confirm-handler-paymentFailed-reason

This removes access to specific error messages from Apple Pay and Google Pay (I'll attach images)

Reproduction Steps
const expressCheckoutElement = elements.create('expressCheckout');
expressCheckoutElement.mount('#express-checkout-element');

Question
expressCheckoutElement.on('confirm', async (event) => {
event.paymentFailed({
reason: 'invalid_payer_email', // This fails because value is not available
})
}

What are you working on?
Integrating Express Checkout element

cursive heronBOT
#

@sharp bobcat pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
StripeElements renders an extra border for LinkAuthenticationElement and there is no work-around to fix it using the appearance rules customization.

What actually happened?
I noticed that my forms show two borders in the LinkAuthenticationElement that is being rendered compared to the PaymentElements below. Th

Reproduction Steps
This existing Stripe sample already reproduces de issue: https://github.com/stripe-samples/link

The example in the documentation of LinkAuthenticationElement https://docs.stripe.com/payments/elements/link-authentication-element
does not show this issue. But this is because there's an extra private class being used with `!important` that overrides the behavior.

Question
- Is there a way to access either of the selectors that create the border so that I can remove one of them?
- Is there any other way to circumvent this?
- Is this bug being already tracked, and if not, how can I report and/or track it.

What are you working on?
Building a checkout flow with LinkAuthenticationElement and PaymentElement.

cursive heronBOT
#

@grizzled wren pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
SCPErrorInternalNetworkError

Question
We're using stripe-terminal-ios SDK version 3.5.0 and a particular user started experiencing the error consistently since a couple of days.

It's returned by Terminal.shared.connectLocalMobileReader and we're using Tap to Pay on iPhone (LocalMobileDiscoveryConfigurationBuilder)

Can you clarify all the reasons why this error can happen?

Thanks in advance

What have you already attempted?
Re-installing the host app using Stripe SDK.

#

@rich hedge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the embedded checkout (C# Stripe SDK) and currently using a custom field for collecting customer consent to send promotional emails etc. In the API docs I can see there is a specific property for this use-case but only for the US-market, why is that?

And secondly custom fields can not be checkboxes for some reason? Why not? I have a dropdown with yes/no values now, which not feels like an optimal solution.

Third - according to API docs the custom dropdown has a DefaultValue property, but my SDK (Stripe 1.12.0) don't seem to have this property.

Related Request ID(s)
All requests

What have you already attempted?
Custom property

What are you working on?
Ecommerce checkout

cursive heronBOT
#

@austere patrol pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```python
coupon = stripe.Coupon.create(
duration='once',
amount_off=int(discount_amount * 100), # cents
currency='czk',
name="Referral code discount",
)

    promotion\_code = stripe.PromotionCode.create\(
        coupon=coupon.id,
        max\_redemptions=1,
        restrictions={
            'first\_time\_transaction'\: True
        },
    \)

```

Question
I wanted to allow users to refer new users who are sign up and subscribe to the premium service.

As such every user in Django has a unique referral code which others put in when signing up. The code will then generate a discount on the Stripe checkout

How should I handle this in Stripe? Should I make a coupon for every user? The problem is that coupons CANNOT be changed and I need a solution that allows me to change the discount

What have you already attempted?
- created a coupon for every user (cannot change them, cannot delete and remake them)
- created promotional codes (cannot change coupon they reference, they persist if the user cancels checkout)

What are you working on?
I am working on a Fiverr-like platform

cursive heronBOT
#

@vocal wagon pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was curious what information is public to the customer? Is https://dashboard.stripe.com/settings/business-details the only public details available that I should be careful with?

Is the business address / number a requirement if i have a support email. Do most people just find themselves a virtual address/number?

Doc/Guide Links
https://dashboard.stripe.com/settings/business-details

What are you working on?
SaaS

#

@frozen berry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to schedule payouts from one connect account to another? eg, we're trying to support creating marketplaces for our clients but it's proving to be a little difficult as we can't be the merchant of record (so we can't use the flow of funds division method)

Related Request ID(s)
Flow of funds

What have you already attempted?
Separate charges

#

@rich ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We use destination charges which means we have to calculate Stripe's fee before we add our own fee on top. It's hard to correctly identify whether a card is premium (1.9%) or not (1.5%), so we've had situation where we may have undercharged the application fee since we calculated Stripe's fee using the 1.5% instead of the 1.9% for premium cards.

My question is, is there a way to have Stripe do the fee calculation for us, and if not, is there a way to easily identify whether a card is premium or not through Stripe's APIs?

Related Request ID(s)
Not relevant, but can provide if asked for

What have you already attempted?
Manually calculate Stripe's fee using known fees.

What are you working on?
Hotel guest payments (we are a PMS)

cursive heronBOT
#

@brisk fable pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am getting an "An unknown error occurred" error when modifying metadata on a subscription

Related Request ID(s)
req_G0kS5tDZnWIMf0, req_QcyH9LfSm1UwEQ, req_ieDRGDSsCNySR4, req_8rxGyi8QdJ9QaC, req_B5WHQaa0QYAsin

What have you already attempted?
Tried editing and deleting metafields

#

@karmic dagger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When is it not allowed to pass "link" as a payment_method_type when creating a PaymentIntent? I was doing some testing as part of upgrading to API version 2024-06-20 and hit an error around passing "link" as a payment_method_type, but now I can't reproduce the issue

Related Request ID(s)
req_PpfHBuiBW2rO9z

What have you already attempted?
I've attempted multiple flows with setup_future_usage online and offline

What are you working on?
Upgrading our Stripe API Version to 2024-06-20

#

@clever rock pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have BBPOS WisePad 3 terminals that I want to take payments for more than £1,000 via an ios app using stripe sdk package

What actually happened?
when making a paymentintent for under £1,000 the reader prompts for card entry but when equal to or more than £1,000 the paymentintent is immediately cancelled and the reader does nothing.

Reproduction Steps
Terminal.shared.createPaymentIntent(params) {
createResult, createError in
if let error = createError {

Question
the response from the code is
collectpaymentMethod failed
error code=5000 "an unexpected SDK error occurred

#

@limber compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I create a Stripe Invoice from an existing invoice template?

Related Request ID(s)
none

What have you already attempted?
Ideally I want to call ` const invoice = await stripe.invoices.create({` with the template ID and then pass in the dynamic data via API. How can I achieve that? I find nothing in the docs?

What are you working on?
Ecom

#

@tacit prism pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
preciso encontrar a documentaçao de referencia de parcelamentos no cartão de credito a opçao de pagamento por pix utilizando a SDK PHP.

Related Request ID(s)
Desenvolvimento

What have you already attempted?
preciso da documentaçao de referencia de parcelamentos no cartão de credito a opçao de pagamento por pix utilizando a SDK PHP.

#

@compact storm pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/setup_intents/collect_bank_account_for_setup

Question
Can we change the styles on the modal that opens up when we let users save their bank details?

What have you already attempted?
I looked at
https://docs.stripe.com/connect/customize-connect-embedded-components

and

https://docs.stripe.com/elements/appearance-api#variables

What are you working on?
We are building a dark theme in our UI

cursive heronBOT
#

@violet marlin pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Not really a code question, just looking for clarification on using Custom Payment Methods (link below) for Connect(ed) accounts.

https://docs.stripe.com/payments/payment-methods/custom-payment-methods#custom-payment-method-integrations

Question
At that link above, there's a one-row table with an ❌ under "Connect". Does that mean you cannot use those methods (eg, PayPal, Venmo) with Connected Accounts?

What have you already attempted?
Curious if there are any workarounds for that. For example, if the Connect Account goes into their own dashboard and sets up Venmo (ie, on their own account, not from our end via Connect settings), will that payment method be available to donors?

What are you working on?
Fundraising platform for non-profit clients (ie, Connected Accounts).

#

@uneven rover pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I'm using Elements to pay with Revolut specifying a valid redirect url https:://host/hompage/thankyoupage . I expect that after conclusion will be redirect on the specified redirect url with a status parameter.

What actually happened?
Using sandbox all goes fine, but in live mode this works only if the web app is runned from a browser desktop. If the web app is runned from a browser on a mobile device, after Revolut app conclude the payments the execution will be redirected to the homepage and not to the thankyoupage

Reproduction Steps
Create a payment intent specifying a redirect url.
Open the page from a mobile app with revolut App installed
Pay selecting Revolut button
Complete the payment from the Revolut app
Check if the redirect url will be called

Question
Why the redirect from a mobile device doesn't work ?

What are you working on?
I'm developing a portal for pay transits on Portugal bridges (Lusoponte)

cursive heronBOT
#

@faint kindle pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I turned on confirmation emails for when a customer successfully makes a payment but they are not getting an email.

What actually happened?
No email was sent to confirm payment.

Reproduction Steps
Open my app.
go to the embedded purchase page
Buy product
Wait for confirmation email.

Question
Why didn't my user get a confirmation email after making a successful purchase from my website.

What are you working on?
An app that lets people buy transactions with my AI.

cursive heronBOT
#

@magic juniper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Team,

I created a PaymentIntent using the parameter 'transfer_group' => 'my_unique_order_id'. The total value of the transaction was 5 EUR.

However, I noticed that the fee charged was 0.43 EUR, which is nearly 10% of the total amount. According to the pricing listed on your fees page, I was expecting a fee of either:

1.5% + €0.25 for European cards
or
2.5% + €0.25 for international cards.

Could you please help me understand how this fee was calculated? Is there something I may have missed of using of transfer_group or other related settings?

Related Request ID(s)
pi_3RLikrLMNbDCJifk0Ga8nnDV

What have you already attempted?
I reviewed the official documentation and pricing information, and I couldn’t find any mention that using the transfer_group parameter would result in higher fees.

What are you working on?
Our platform lets hotels sell activities from multiple providers. We hold the fund and pay providers only after they confirm the activity.

cursive heronBOT
#

@dusty vapor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I perform prorations with discounts using ALWAYS_INVOICE and have those discounts apply to proration items?

Related Request ID(s)
req_yhdQoYzC5ODah2, req_yhdQoYzC5ODah2

What have you already attempted?
I am using the InvoicePreview functionality to generate a preview invoice for the user. I want to keep 2 of the line items, and change 1 line item to use a new price.

The subscription itself has a discount, but the proration is being considered not discountable (even though the description of the item says a 10% discount applies on the upgrade).

Applying the discount to the line item itself works, but now there are 2 discounts on that item (the line item discount and the subscription total discount).

What are you working on?
Subscription upgrades mid billing cycle

cursive heronBOT
#

@modest warren pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
#old, works
checkout_session=stripe.checkout.Session.retrieve(
session_id,
expand=["line_items"],
)
# new?
client=StripeClient(...)
checkout_session=client.checkout.sessions.retrieve(session_id)

Question
In a python app, I'm trying to migrate to the service-based approach instead of the resource-based. I'm not sure how to expand the line items with the service approach. Can you help?

What have you already attempted?
Nothing, I can't find much documentation on it, the api still gives examples using the resource-pattern.

What are you working on?
I'm working on a fulfillment of a checkout event. Webhook works properly with legacy pattern.

#

@brazen solstice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we have an online store that sells a product that includes a Install Service. we are trying to look at solutions to accept a tip at the end of the job. but because we are not an authorized merchant that can take a tip in the same fashion as a restaurant. I wanted to know if it was possible to do a partial authorization for the purchase. so charge 80% and then after the job we process the last 20% and then provide a section to include tip or not. is this a possible use of the API ? or do you have a better suggestion

Related Request ID(s)
NA

What have you already attempted?
Checking proof of concept first

What are you working on?
Online tire retailer store that allows you to schedule a mobile installation

#

@elfin knot pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"dependencies": {
"@hookform/resolvers": "^3.10.0",
"@lowkey/react-native-gif": "^3.1.0",
"@react-native-async-storage/async-storage": "^2.1.0",
"@react-native-clipboard/clipboard": "^1.16.2",
"@react-native-community/checkbox": "^0.5.17",
"@react-native-masked-view/masked-view": "^0.3.2",
"@react-navigation/bottom-tabs": "^7.2.0",
"@react-navigation/drawer": "^7.1.1",
"@react-navigation/native": "^7.0.14",
"@react-navigation/native-st

Question
So i have installed stripe-react-native, now i am running pod install which is working perfecetly, but when i am running `npm run ios` it is causing error

What have you already attempted?
i have attempted to change my pod file but just failing everytime i also tried changing the version of stripe

What are you working on?
I am integrating payment gateway

cursive heronBOT
#

@tacit prism pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
PHP SDK for payments via Pix in Brazil, how do I get this information?

Related Request ID(s)
PHP SDK for payments via Pix in Brazil, how do I get this information?

What have you already attempted?
PHP SDK for payments via Pix in Brazil, how do I get this information?

#

@burnt iris pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
An invoice was created from a subscription renewal. Expecting that the available credits will be used as a payment for the invoice

What actually happened?
Available credit was ignored and payment failed due to no payment method attached.

Reproduction Steps
create a subscription. remove card then add creedits and wait for it to renew

Question
how do i make the subscription renewal use available credits

cursive heronBOT
#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've created a billing portal configuration with the mode: 'at_period_end' today on *May 14*

I created a subscription today, and when I go into the billing portal, and hit cancel on the subscription, it says that it will cancel on *July 14*

The intended behavior I expect is for it to cancel on *June 14*, and that's how it functions if I manually do it through the stripe dashboard

Related Request ID(s)
live_YWNjdF8xTVQ1NUJMU1lmTlhQeUp1LF9TSlFUN2gwRVRMTzNDS3I0UUxGRGhiM0xzNzJnWW8z0100sh6Tlhag

What have you already attempted?
There's only one other mode which is 'immediately' which I don't want

What are you working on?
SaaS

cursive heronBOT
#

@inland void pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Stripe have a currency conversion tool? Trying to quote in platform in USD but charge in COP and want quote to match what ends up in charge.

Related Request ID(s)
Connect

What have you already attempted?
Searched docs

What are you working on?
An e commmerce site

cursive heronBOT
#

@kind pine pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

We are running into a few issues with our existing implementation of Stripe and wanted to get some ideas on best practices around this.

Current usage:

  1. PaymentIntent is created and updated with "manual" capture
  2. Frontend confirms the payment (we use PaymentElement on web and StripeApplePay + STPCardFormView on native)
  3. If the payment fails for whatever reason, frontend displays and handles the error.
  4. If payment succeeds, send the order to the backend. The backend executes additional business logic before capturing the payment.

We are seeing that due to spotty networks, Step 4 (sending the order to the backend) sometimes fails and the payment is left uncaptured

Doc/Guide Links
There were a few guides that we visited, with this one being the most promising:
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment#web-fulfillment
The issue is that the solution that we go with will have to work with ApplePay as well, and the Apple Pay iOS SDK doesn't seem to support confirmation token usage? (https://docs.stripe.com/apple-pay?platform=ios#client-side)

What are you working on?
Food Ordering platform

cursive heronBOT
#

@granite valve pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a question regarding ACH Positive Pay. If a bank account is enabled with Positive Pay, the account owner typically needs to whitelist the vendor before any withdrawal can be made. Could you clarify how Stripe handles this process? Specifically, how is vendor whitelisting managed within Stripe’s ACH flow?

Related Request ID(s)
NA

What have you already attempted?
No info available publicly

What are you working on?
Trying to handle ACH flow in cases where Positive Pay is enabled

cursive heronBOT
#

@regal sky pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
td-perfs_7.3.2.js:13 Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-mkORJ99+860ErO1Yj9T0fX4Kd6jDKTS9nuIiOWw8PvE='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attribu

Question
When user try to register card info on the sandbox, it fails and get this error.

What have you already attempted?
I tried to change next.config. But it happens in stripe billing sandbox. So I think it doen't work.

#

@inner drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We would like to change the business entity associated with our Stripe account. Is it possible to make this change? If so, what steps should we follow?

Related Request ID(s)
no

What have you already attempted?
no

cursive heronBOT
#

@sour idol pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
i want to disable link in us_bank_account in angular

Question
i want to disable link in us_bank_account in angular

What have you already attempted?
i want to disable link in us_bank_account in angular

What are you working on?
i want to disable link in us_bank_account in angular

cursive heronBOT
#

@finite yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if (updatedSubscription.PendingUpdate is not null)
{
var sessionCreateOptions = new SessionCreateOptions
{
Mode = "payment",
SuccessUrl = $"https://https://clinic-portal-euw-dev.azurewebsites.net",
CancelUrl = $"https://clinic-portal-euw-dev.azurewebsites.net",
Customer = invoice.CustomerId, // Replace with the customer's ID
LineItems

Question
I'm trying to send check out session url to user for a pending invoice due require action 3d secure

What have you already attempted?
i'm able to get check out page and do payment but invoice is still in pending

cursive heronBOT
#

@winter raptor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi everyone, I need some help validating balances before transferring from my platform account to a connected account.

Related Request ID(s)
req_C9iGvI9ujNvKrg

What have you already attempted?
I'm using balance retrive api to get balance

What are you working on?
In my project, the flow works like this: a customer makes a payment to the Stripe platform account, and after that, the platform transfers the amount to a connected account. Before initiating the tra

cursive heronBOT
#

@elfin knot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting error when trying to use payment sheet in react native
PaymentSelectionScreen.tsx:50 Payment failed: The provided key 'ek_test_YW*********************************************************************_******AkS8' does not have the required permissions for this endpoint on account 'acct_1QWbKIL7xBeUccvj'. Having more permissions would allow this request to continue.

Related Request ID(s)
null

What have you already attempted?
So far nothing

#

@rain stream pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Get Czech VAT for the customer

What actually happened?
Got HU VAT

Reproduction Steps
I sent a particular vat in req_hzkYiHZPQNinsK.

Question
Is there a way to debug why it happened?

cursive heronBOT
#

@uneven rover pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I'm using React <Elements ..> to pay with Revolut specifying a valid redirect url https:://host/hompage/thankyoupage . I expect that after payment confirmation to be redirect on the specified redirect url with a status parameter.

What actually happened?
Using sandbox all goes fine, but in live mode this works only if the web app is runned from a browser desktop. If the web app is runned from a browser on a mobile device, after Revolut app conclude the payments the execution will be redirected to the homepage and not to the thankyoupage

Reproduction Steps
Create a payment intent specifying a redirect url.
Open the page from a mobile app with revolut App installed
Pay selecting Revolut button
Complete the payment from the Revolut app
Check if the redirect url will be called

Question
I use Elements Component this way:
return (

        <Elements options={options} stripe={stripePromise.promise}\>
            <StripeForm data={paymentMethodData} confirm={setConfirmPayment} secret={intentData.response.client\_secret}/\>
        </Elements\>
\);

What are you working on?
I'm developing a portal for pay transits on Portugal bridges (Lusoponte)

cursive heronBOT
#

@broken crown pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to modify a subscription following an overage model, in a way that the upcoming invoice does not reset to today -> period end, but keeps it period start -> period end. So I'm basically trying to replace the usage-based price without losing the usage for period start -> now. I understand that this is an unusual use case, we are trying to correct an improperly setup price within our subscriptions.

Related Request ID(s)
req_oaIQwb92VFte91;req_hGspWq5GfUmGpo

What have you already attempted?
I tried immediate updates, scheduled updates, many combinations of prorations and start dates - but nothing resulted in a backdated price.

What are you working on?
overage based subscription model, we incorrectly setup the overage and trying to correct it

cursive heronBOT
#

@wintry quest pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a card number that stripe declares uncorrect but the number is valid and the card works on amazon. With API is rejected, if we try to insert directly from the platform the error is "the card number is incorrect".

Related Request ID(s)
req_WHjFLvmAoqRxv4

What have you already attempted?
With API is rejected, if we try to insert directly from the platform the error is "the card number is incorrect".

What are you working on?
New platform for our subscription

#

@paper elk pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using `billingPortal.sessions.create` to update a subscription of my user with `subscription_update_confirm`.

I'm wondering how I can force a currency in the request, or if there is a way to switch currency when they are on stripe confirmation page

Related Request ID(s)
req_xzLbTnBMfhzjPX

What have you already attempted?
I checked the doc of the billingPortal and subscription items but didn't find a mention of currency there.

I have my subscription product with 2 currency prices inside

cursive heronBOT
#

@spark veldt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For Stripe Subscriptions and Meters, meter events are reported to a customer Id with meter name. If we have a customer with multiple subscriptions (one for each clinic), with the same meter on each. How do we report usage separately?

Related Request ID(s)
-

What have you already attempted?
Our customers are a group of clinics, we would like to have separate invoicing for each Clinic rather than the whole group. Each clinic has a subscription with product A with price B and meter C. If the subscription is on the same Customer ID, how would we report billing events to the correct subscription, e.g. clinic 1 has 3 meter events whereas clinic 2 has 1 meter event for the same meter?

#

@tame iron pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Issue on enable Cartes Bancaires

Question
How to turn on Cartes Bancaires and why is my case is failed?

What have you already attempted?
I'm turning on Cartes Bancaires on my Stripe account. But it's not able to turn on and it also doesn't have any error notification

Reproduction Steps
I go to Payment Method screen and turn on the Cartes Bancaires payment method

What are you working on?
Integrate this payment method for Shopify

cursive heronBOT
#

@swift stratus pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/create#create_subscription-automatic_tax-enabled

Question
Can i use the zipcode field of the card payment for the automatic tax calculation?

What have you already attempted?
after enabling the automatic tax, the payment fails with "The customer's location isn't recognized. Set a valid customer address in order to automatically calculate tax."

But i have provided a postalcode in the card element.

#

@lyric cedar pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Recently we have started receiving a lot of the following error when attempting off-session billing "The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer..". It seems that some our setup intents fail, so we need to listen for setup_intent.setup_failed event. We, however, have cases where setup intent succeeds for stripe connect (it seems) added PMs, but we still get the same error. Anything we can listen for to handle such cases? We add customer in all cases

Related Event ID(s)
pm_1R5ADHBVfuMTCR40rd2OIDwj, seti_1R5ADGBVfuMTCR40Pfr21PkC

What have you already attempted?
We haven't yet attempted, but we'll add handling for PM's that for some reason or another failed their setup intent. We want to extend this handling for those cases where the setup intent succeeeded, but we are still somehow blocked from billing the PM

What are you working on?
Lease to own application

#

@gentle wadi pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
At the bottom of an invoice I send the customer after manually taking payment, it has my old email that I have previously changed in the "If you have any questions, contact us at {email} or call us at {phone number}

I believe the bug is that it hasn't updated to my new email (will attach screenshot) please help me fix the bug

Question
At the bottom of an invoice I send the customer after manually taking payment, it has my old email that I have previously changed in the "If you have any questions, contact us at {email} or call us at {phone number}

I believe the bug is that it hasn't updated to my new email (will attach screenshot) please help me fix the bug

What have you already attempted?
My contact details are admin@physioascentpartners.com.au

Reproduction Steps
If you take a manual payment by taking card details, and then you you put the clients email in to send the invoice of the transaction, and your account has changed it's email from what the original email address was, at the bottom of the invoice in the "If you have any questions" section, it will supply the old email (screenshot attached)

cursive heronBOT
#

@nocturne hinge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using stripe terminal sdk for tap to pay feature in my ios app but I need to check business account is linked or not before tap to pay process?

Related Request ID(s)
Dashboard

What have you already attempted?
Yes

cursive heronBOT
#

@uneven rover pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
In a thReact frontend I would like to call:
await stripe.paymentIntents.update(...)

Question
I'm in a thankyou page invoked by Stripe as a redirect_url associated to the payment intent. I can't use useStripe Hooks because I'm outsaide the <Element ...></Element> context. I only can use const stripePromise = useStripePromise();

There is a way from this to call stripe.paymentIntents.update(...)

What have you already attempted?
I don't know how to do

#

@lyric cedar pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Continuation of https://discord.com/channels/841573134531821608/1372527151269810317 . Soma requested req id from me, but I'm unable to find it in dev logs when filtering by PM id. Requests are made to /v1/payment_intents

Related Event ID(s)
pm_1R5ADHBVfuMTCR40rd2OIDwj, seti_1R5ADGBVfuMTCR40Pfr21PkC

What have you already attempted?
what was mentioned in https://discord.com/channels/841573134531821608/1372527151269810317 + attempted to get the req id from stripe dashboard but was unable to

cursive heronBOT
cursive heronBOT
#

@hybrid hemlock pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Hello, we are using an older API version 2018-11-08 of the Payment Card element. We're finding that the Apple Pay button does not show up when there is a query string with the word "trial". If we remove that, then the Apple Pay button does show up.

Question
Is there a workaround for this?

What have you already attempted?
We have confirmed that removing the query parameter named "trial" does allow it to show up. We are considering upgrading API versions or moving to the new Payment Element component, but that will require much more testing.

What are you working on?
We are trying to build an integration that allows us to take payment within our Apple app.

#

@static vortex pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
I am getting stripe payment form design issue on my checkout page.

My website: https://germaphobix.com/checkout/
Stripe payment form design issue: https://tinyurl.com/ypwkd47r

Could you please check and let me know does it's an issue from Stripe?

Question
I am getting stripe payment form design issue on my checkout page.

What have you already attempted?
I can not do anything in this form because it's coming from stripe.

Reproduction Steps
My website: https://germaphobix.com/checkout/

Add product in cart and go to checkout page to check design issue on payment form.

#

@void nimbus pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am trying to request NZ BECS Direct Debit capability for all my Connected customers in NZ. Went to their account details and hit "Edit" on the capabilities, but didn't see "NZ BECS Direct Debit" as an option to add, and I would expect to see it.

What actually happened?
Went to account dashboard, edited capabilities and didn't see "NZ BECS Direct Debit" in the list.

Reproduction Steps

  1. Go to https://dashboard.stripe.com/connect/accounts/acct_1M4Y2LBOx2NhCazn/activity.
  2. Click the "Edit" button next to Capabilities
  3. review list of available capabilities

Question
What do I need to do in order to request the capability for my NZ Connected customers?

cursive heronBOT
#

@glad mirage pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On a website a code integration is somehow throwing a 503 error. The same integration works perfectly fine on hundreds of other websites (eCommerce platform).
the cURL request (from the Stripe library) seems to be failing and I can't tell why.

This is a cURL request to: https://api.stripe.com/v1/apple_pay/domains I have the data if needed but for the life of me I can't tell why it's failing.

Related Request ID(s)
I don't have one.

What have you already attempted?
debugging the code until I got to the cURL execution.

#

@karmic root pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have created a test environnement for my code but I cannot test the transfer of payment with stripe.transfers. How to do that ?

Related Request ID(s)
I don't know

What have you already attempted?
Create a transfer with stripe.transfers.create but makes error

cursive heronBOT
#

@simple relic pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need Create a subscription with varied monthly amounts (automatic payment)

Related Request ID(s)
billing

What have you already attempted?
Create a subscription with varied monthly amounts (automatic payment)

What are you working on?
developer

cursive heronBOT
#

@shell raven pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I get the invoice last update date via the API? Specifically we have an invoice with a dispute, and I am getting the data.charge, data.charge.dispute etc and every other expandable object but can't get the correct date when the dispute was finalized.

Related Request ID(s)
req_WxDQsWuGLnTika

What have you already attempted?
Expanding every object I could think of to find the correct date in some of them. There's no update date anywhere that I can see. The date seems to be tied to an event object but there's no reference to events in any of the invoice data.

#

@clever olive pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<PaymentElement
onReady={() => setIsReady(true)}
onChange={(e) => {
setPaymentMethod(e.value.type as any);
// Don't auto submit cards
if (isReady && e.complete && e.value.type !== "card") {
handleSubmit();
}
}}

Question
Is it possible to auto initiate Apple Pay payment process after loading a PaymentElement?

What have you already attempted?
Submitting my form in the onChange event

cursive heronBOT
#

@opaque sleet pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We are creating a stripe app on top of our sandbox account and currently its stuck in INSTALLATION.

What actually happened?
I created stripe app and uploaded it and the app is visible in sandbox , developers -> apps, but I cannot install it.

Reproduction Steps
Have set permission for charge_read, transfer_read, balance_transaction_source_read, application_fee_read, event_read, webhook_read, customer,read and submitting causes the same issue. I submitted multiple apps but with same results.

Question
How to get through the loop of missing error message (only have the generic error message) and get the details why the app is stuck on installation phase.

What are you working on?
We are building a platform on top of stripe that helps merchants discover how much they are making per merchants.

#

@quartz quarry pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
issue with integrating the card element in my flutter app

Question
issue with integrating the card element in my flutter app

What have you already attempted?
i tried to integrate multiple times it works fine at the beginning and later the input is completly empty and i can't insert card infos

cursive heronBOT
#

@eager vault pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're seeing some credit card payments fail while rewatching user sessions with an error of "Please provide a mobile phone number". We believe this is Link related. Is there a setting we can use to disable this?

Related Request ID(s)
n/a

What have you already attempted?
Reading through docs

#

@surreal vigil pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripeInstance = await loadStripe(paymentProcessorData.value.stripeKey);
stripeElements = stripeInstance.elements(stripeOptions.value);

Question
hello,
We have implemented the stripe elements in javascript with the payment_method_types not set to anything. This way stripe will display the methods as it sees fit.
But for example in the case of apple pay it will not display if the user is not logged in the browser
Is there any way to "force" it to show google/apple pay even if the user is not logged in the wallet account, and make him log when trying to use it?

What have you already attempted?
we implemented the code with no payment_method_types option

What are you working on?
implementing the payments with stripe connect having the multiple payment methods enabled (google pay, apple pay, and klarna) on behalf of connected users

cursive heronBOT
#

@graceful rivet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to get a list of all the billing emails associated with a customer. Is there any way to get this info via the the Stripe API? I am not seeing anything in the documentation about accessing these billing emails fields.

Related Request ID(s)
req_RlG7o8Z4OuAdmN

What have you already attempted?
I have only attempted getting the customer object from the Stripe API.

What are you working on?
I am working on trying to integrate my Shopify B2B store with Stripe.

#

@rugged crown pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Metadata should be added to invoice so that it is present in webhook data when invoice is paid.

What actually happened?
Metadata is not added to invoice thus when it is sent in webhook, metadata isn't present.

Reproduction Steps
Added meta data to an invoice, finalize invoice, pay invoice, view metadata property of invoice.paid webhook. It will be blank even though the finalized invoice activity shows metadata.

Question
How can I make sure the metadata is correctly added to invoice to be used later.

cursive heronBOT
#

@fossil plank pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
class Order(...django Model...):
def create_order_on_stripe(self, institute):
"""
For Stripe payment gateway, we need to create a Checkout Session on Stripe
and initially store the checkout_session_id as our order_id.
"""
app = get_app("stripe", institute)
stripe_session = app.fetch_or_create_stripe_session(self)
self.order_id = stripe_session.id
self.pg_url = stripe_session.url
self.save()

Question
Few weeks back, I integrated stripe in our lms website where I work as intern and now the company wants me to integrate stripe-android-sdk in their (kotlin+java app) [I am new to android dev].
In our backend which I coded and shared above uses stripe checkout to create checkout page for new order and if order unpaid order then I retrieve and redisplay (<24hr).
Now what I have exposed in API v3 for android-sdk is cs_url (pg_url), cs_test... and stripe API keys (pk. and sk.)

What have you already attempted?
Our Kotlin is 1.8.8 and I used stripe-android v20.32 and tried to use paymentSheet but later realized I need paymentIntent client secret. Is there other way to do it with what I have in API exposed as said above ? I mean without payment intent client secret as I use checkout pages in backend.

I tried using WebView and was successful but I believe its not good, right way and require more changes to handle the success/failure of payment. and the app misbehaves.

What are you working on?
I intern at startup company, I integrated stripe using checkout session pages in site. Now they asgned me to integrate stripe sdk in their android app as well.

cursive heronBOT
#

@jolly scarab pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
A connect customer's buyer in UK/GBP is able to complete card payment when using Android browsers with the payment element.

What actually happened?
Since approx Apr 27th, customers using Android browsers are unable to complete card checkout when the amount is above gbp100. On inspection of their logs, they all fail to complete 3d secure indicating 3d secure is not working for this browser. They can complete payment on desktop browsers.

Reproduction Steps
Unable to reproduce, but can provide example from the customer's account

Question
Was there a payment element relese that has caused a regression in 3d secure on android in late April? Our integration has not changed.

What are you working on?
Connect Platform Checkout

cursive heronBOT
#

@tidal ocean pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When my subscription is cancelled from the customer portal, the update event set the cancellation reason, it works, but the status of the subscription is still, "active"

Related Event ID(s)
evt_1RP6lyCMR2FXJzvAzSwhmhRF

What have you already attempted?
i tried to retrigger it from my dashboard instead of customer portal, but it does not work

What are you working on?
Subscription review (save in the database each subscription, their status, and the cancel reason if not null)

cursive heronBOT
#

@blazing spoke pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to prevent SetupIntents from creating payment methods if the payment method already exists?

Related Request ID(s)
req_64Gj6rsm5johhd

What have you already attempted?
Looking through docs

What are you working on?
An integration where we save payment methods from a web app and then save a reference to the Stripe Payment method in our database.

cursive heronBOT
#

@granite spoke pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are seeing instances where a user reports in that they have been charged for a rental after returning the item. They provide us only with their last digits. In some cases, we cannot find the charge from our dashboard. Is this potentially due to the card being a child card or a primary card? I don't understand for what other reason the last 4 digits on the physical card does not return any payment methods.

Doc/Guide Links
This is a payment method that mathces the date and time, but the user provided last 4 digits do not match: pm_1RLZ03Bb49XQ2DGyjQDTuCoW

What are you working on?
Conditionally charging as part of a rental program

cursive heronBOT
#

@viral topaz pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
i dont have the code because it disappeared

Question
how do i see the link i need for roblox?

What have you already attempted?
i tried looking back at my purchase receipt

What are you working on?
idk

cursive heronBOT
#

@exotic pivot pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$refund = $stripe->refunds->create(
[
'charge' => $chargeId
],
[
'stripe_account' => $restaurant['stripe_id']
]
);

Question
Why have i this error : <br/><b>Warning</b>: Options found in $params: stripe_account. Options should be passed in their own array after $params. (HINT: pass an empty array to $params if you do not have any.) in <b>/var/www/html/vendor/stripe/stripe-php/lib/ApiRequestor.php</b> on line <b>390</b><br/>{ "ERROR": "Stripe API error: Received unknown parameter: stripe_account", "ERROR_ID": 15, "session_token": "aab9c26626555bb967b2d00398df262f" }

What have you already attempted?
I tried to edit the content of my request, add empty array etc...

What are you working on?
a click and collect platform for multiple restaurant

cursive heronBOT
#

@pseudo mortar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to build an integration for resuming a cancelled subscription. For some reason, I keep getting error that my array is invalid.

Related Request ID(s)
req_dLyHjLwpYwRsyd

What have you already attempted?
I have tried to build the payload with and without the quotes around the variable but it didn't solve the issue. not sure what am I missing here. Can you please help with this?

What are you working on?
Building integration to resume a canceled subscription.

cursive heronBOT
#

@sour canyon pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am building a Stripe app and want to upload a public version for review. I expect the Stripe app to be uploaded successfully.

What actually happened?
Uploading the app to test mode throws an error:
"error": {
"message": "3:App id already taken: MY_APP_ID"...
}

Reproduction Steps
During development and testing, the private version of the app was uploaded to a sandbox account successfully.

Now, when trying to upload the public version to test mode, I see the above error. Attempting to upload to the same sandbox account that was used during testing results in the following error:
"Sandboxes do not support public app uploads...

Question
How can I successfully upload the public version of my app?

Is there a way to delete the app from sandbox, to allow me to re-upload to test mode?

What are you working on?
Stripe app

cursive heronBOT
#

@mossy geode pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to integrate BLIK on react native?

Related Request ID(s)
req_LnpQZcrh0jbvAB

What have you already attempted?
I tried to create a payment intent without payment method on the server side.
And from the react native side, I get input for BLIK code and send it to the backend side.
And on backend side, I tried to confirm the payment with the blik code

cursive heronBOT
#

@amber jackal pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to automate report pulling by enabling Scheduled Reports for 'Itemized Balance Change from Activity' Although I receive the completion email, the reporting.report_run.succeeded webhook isn't being sent. Why is that?

Related Event ID(s)
-

What have you already attempted?
I've read the documentation at https://docs.stripe.com/reports/api#integration-pattern and have enabled the webhook to listen for reporting.report_run.succeeded.

What are you working on?
Scheduled Reports for 'Itemized Balance Change from Activity'

cursive heronBOT
#

@amber coral pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
my app will not crashed

What actually happened?
i use stripe react native version0.40.0 on card filed click my ios app crashed i also patched the library

Reproduction Steps
my patched file is
diff --git a/node_modules/@stripe/stripe-react-native/src/NativeStripeSdk.tsx b/node_modules/@stripe/stripe-react-native/src/NativeStripeSdk.tsx
index f1eedd5..45d5fdb 100644
--- a/node_modules/@stripe/stripe-react-native/src/NativeStripeSdk.tsx
+++ b/node_modules/@stripe/stripe-react-native/src/NativeStripeSdk.tsx
@@ -150,8 +150,11 @@ type Nativ

Question
app crash while click on cardfield

What are you working on?
take a crad detail of the customer through cardfield

#

@weary edge pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I'd like to know how to skip 3DS challenge in payment intent creation. I understand that for forcing challenge, payment_method_options.card.request_three_d_secure = "challenge" but I didn't find information about skipping 3DS challenge.

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/create

What are you working on?
Direct Stripe Card API integration (PCI certified)

cursive heronBOT
#

@wild patrol pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Webhook event payment_method.attached doesn't have any card details associated with it but other has, why?

Related Event ID(s)
evt_1RPG3cHFzwE4pTgeTud1yHIw, evt_1RPFyyHFzwE4pTgeaEg76Gjy

What have you already attempted?
NA

cursive heronBOT
#

@mossy geode pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to confirm payment intent with Blik payment method on the react native?

Related Request ID(s)
req_LnpQZcrh0jbvAB

What have you already attempted?
I tried to confirm the transactiion with customized payload of blik code, but it fails on the react native

cursive heronBOT
#

@knotty glen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can a webhook be created for a connected account to be notified of failed charges?

Related Request ID(s)
req_gmApFC5MPVG9yH

What have you already attempted?
Tried creating webhook, get permission error. I am wondering if this is just a permission setting, or if

What are you working on?
Need to be aware of failed ACH

cursive heronBOT
#

@spiral storm pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
As an EU citizen, a connected account from Bulgaria (BG) should be able to provide a bank account in other EU countries, like a Revolut bank account number in Lithuania (LT).

What actually happened?
Invalid account number: must be an IBAN of the form ... - I can provide a screenshot

Reproduction Steps
This has been reported from a user on the 'Bank details' step during Stripe Connect express account onboarding.

Question
What is the issue exactly and How can we get around the issue and let the user with a Bulgarian address submit their bank details in Revolut (Lithuania)?

What are you working on?
Stripe Connected Account Onboarding

cursive heronBOT
#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How are we calculating tax here?

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_pd4KgehOadz9nz

What have you already attempted?
POST /v1/products
{ "default_price_data": { "currency": "usd", "recurring": { "interval": "month" }, "unit_amount": "23200" }, "description": "<p>sdsds</p>", "name": "check tax plan", "t

What are you working on?
https://dashboard.stripe.com/test/products/prod_SJuqfhMrpybeDl

#

@south pendant pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have subscription system where I create customer and attach subscription ($0) without a payment method on user signup. Once user logs in they can upgrade subscription to new price. I am using payment elements and webhooks to actually update subcription in my DB. If user clicks upgrade, form appears and if user clicks cancel, it cancels invoice & no credit is saved

What actually happened?
If user clicks upgrade, form appears and if user clicks cancel, it cancels invoice & credit is saved for that price and the next time when user clicks upgrade stripe automatically uses that credit to upgrade subscription and mark invoice paid.

Reproduction Steps
Create a customer & subscription ($0) without payment method, on update check if user has default payment method if yes use that for upgrade or else ask for one, if user cancels on form, cancel invoice, use invoice.payment_succeeded to update the db.

Question
How to update subscription price where user can cancel that invoice and no credit of the price is stored, if the invoice is cancelled generate a new on new upgrade and dont add proration or credit if the last invoice was not actually paid and was voided or cancelled?

What are you working on?
I am creating a recurring subscription system with upgrades/donwgrades, with payment elements and webhooks

#

@limber compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I fetch an invoice template by a tag or something or than the ID?

Related Request ID(s)
/

What have you already attempted?
My problem is that we have different invoice templates for different customers. When we create the invoice in our code, we fetch all invoice templates and want to filter by certain attributes to select the correct invoice template. The problem is that I don't want to hard-core the invoice ID into my code to fetch the correct one. I would much rather want to filter them by tag I can set in the UI or something.

What is the recommended way of doing this? Same goes for tax rates by the way?

What are you working on?
Ecommerce

cursive heronBOT
#

@summer oxide pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am creating a subscription extension mechanism for users where they can pay in advance for an year and I then extend their subscription with +1 year from their current renewal date using trial_end while modifying the subscription at the time when they pay in advance, this can be the day of sub purchase or even the renewal date.

Only Annual subscriptions.

What actually happened?
For the first time it is working as expected. But if I am again trying to do it after +1 years after the renewal went through, it gives me error saying.

The maximum number of trial period days is 730 (2 years).

Reproduction Steps
subscription id: sub_1ROxisCtiaajKx2EYPS3GQj1

Customer id: cus_SJauQ4owX7T1g9

Question
Why is this error coming up? we currently offer +1 month extension as a free-credit system and users have availed multiple free months credits but we never saw this error on production.

Since I am adding +1 month to the ongoing subscription on the day of purchase, can it be that lead-year is counted which gives this error?

What are you working on?
Annual Advance Payment Mechanim.

#

@urban cloud pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Embedded form Stripe Checkout

Question
Help with Embedded Stripe Checkout Integration in HTML/JS Site

What have you already attempted?
Hi! I’m building a website for a small business using HTML, CSS, and JavaScript. I’m trying to integrate an embedded Stripe Checkout form, but I’m not sure how to properly configure it.
I’ve tried reading the official documentation and watching some video tutorials, but I couldn’t really understand how to get it working.
Could anyone provide some guidance or share a simple example? Thanks in advance!

cursive heronBOT
#

@ember glen pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When I submit the promo code, I expect it to work.

What actually happened?
It has been showing a screen "Something went wrong" and "There was an unexpected error communicating with our servers. Please try again later."

Reproduction Steps
Go to https://buy.stripe.com/aFaaEW48Q2tFdx1e5kfbq1y and try to use the code `I9HZDQEQ`

Question
I have been using coupons without issue for months for my product. Just today, coupons stopped working.

What are you working on?
Job board

#

@fervent dove pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
{
"distribution_type": "private"
}

Question
I need to create a new app with `distribution_type: 'public'` but I already have one so I'm not able to.
I tried to update current app distrubtion to private but it's not possible "you can't change the distribution of this app. please contact support
"
Stripe's support doesnot understand my issue

What have you already attempted?
Tried to set current app distribution type to `private` but it's not possible.
I looked for a way to remove an app in my dashboard but it seems that its not possible.
I contacted Stripe's support but they think I want to UNINSTALL an app when I want to REMOVE it

What are you working on?
I want to allow my users to connect their stripe account to my app so I can retrieve useful data for accounting

cursive heronBOT
#

@gloomy quail pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does stripe retries for payment after trial end or it is only after trial end subscription start

Related Request ID(s)
None

What have you already attempted?
Subscription

What are you working on?
subscirptions

#

@agile wasp pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I cant get the express checkout buttons working, i always get different errors, for example if I use the PayPal one on my localhost i get this response: {
"error": {
"code": "parameter_missing",
"doc_url": "https://stripe.com/docs/error-codes/parameter-missing",
"message": "Missing required param: is_shipping_required.",
"param": "is_shipping_required",
"type": "invalid_request_error"
}
}

even tho i have delcared it in the code, its for digital products so there is no shipping required
shippingAddressRequired: false,

Related Request ID(s)
https://dashboard.stripe.com/test/workbench/logs/req_vCyggQESme6spz

What have you already attempted?
- I tried different ways but i simply cant make it work, if I use the normal way, with test card 424242424... then it works like it should

#

@pine cloud pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I retrieved a BalanceTransaction using the following code, but the returned BalanceTransaction object does not contain an exchange_rate field.

java

BalanceTransaction balanceTransaction = BalanceTransaction.retrieve("txn_3ROw5LIc7bXa2gFo25C5tjzK");

Response body:

json
{
"amount": -3000,
"availableOn": 1747293708,
"created": 1747293708,
"currency": "usd",
"fee": 0,
"feeDetails": [],
"id": "txn_3ROw5LIc7bXa2gFo25C5tjzK",
"net": -3000,
"object": "balance_transaction",
"reportingCategory": "transfer",
"source": "tr_3ROw5LIc7bXa2gFo2Ni7JT4g"

Related Request ID(s)
none

What have you already attempted?
1、https://docs.stripe.com/api/balance_transactions/object

cursive heronBOT
#

@drifting tiger pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
DgtBilling::stripe()->entitlements->activeEntitlements->all([
'customer' => $this->billed_at_level === 'group' ? $this->multiGroup->stripe_id : $this->stripe_id,
]);

Question
Is there any way to trigger a entitlements refresh without waiting for a whole month / subscription period?

What have you already attempted?
Tried updating the subscription by adding metadata.

cursive heronBOT
#

@quartz quarry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to create a pm in my app using server side of the front instead of sending data to the backend ?

Related Request ID(s)
No

What have you already attempted?
I tried integrating payment with card in my flutter app in different ways i can't figure out what's wrong in web so i had this idea and i needed to ask if it's restricted like sending card data across to the my backend server

cursive heronBOT
#

@frozen berry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I pass shipping data in my checkout session (instead of a shipping rate id), will a stripe shipping rate be created for this data? And can I include shipping data if the checkout session includes both one time purchases and subscriptions? We're using checkout session with payment elements (the new version)

Related Request ID(s)
NA

What have you already attempted?
NA

#

@alpine goblet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there,
We're trying to use the RefundService that Stripe provides in the API (we're using the .net library).

A lot of our payments work fine when we try to get the refund, where we notice the ID starts with "re". However when a customer pays with Link as the payment method, the ID starts with"pyr" which doesn't work with the refund service to retrieve a refund. Can you providde any insight?

Related Request ID(s)
N/A

What have you already attempted?
We have tried to get refunds and google around pyr but to no avail

What are you working on?
Trying to provide a means to get information from stripe on a refund

#

@molten gate pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking to build the credit system using Stripe as mentioned in this blog (https://stripe.com/blog/introducing-credits-for-usage-based-billing)

We already have 2 plans in place. We are looking to introduce something called "Goodies" with these 2 plans. On 1 plan, 500 "Goodies" to be given. On another plan, 1800 "Goodies" to be given. When a user does the task, "Goodies" are consumed. When "Goodies" expire, they have to buy it again as a purchase, until their monthly renews.

I have read multiple docs but confused how to set this using API (event, event meters etc)

Related Request ID(s)
Unsure

What have you already attempted?
We have read the docs around Events, Event Meters, Subscriptions, Credit Grant, Credit Balance transaction but difficult to model it out in the real world.

What are you working on?
We are building an AI agent for Science.

cursive heronBOT
#

@stoic latch pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>KEMJF6ZRNA6NY90W</RequestId><HostId>CXPu/m8cCHYPCQ0uNTfCHmPfkhNRcWo7zzpoca/Ur6ws6r/mn008Mrn6ZB+QD3FJR/vL9swqh88=</HostId></Error>

Question
Stripe elements cannot load because the assets are no longer accessible

What have you already attempted?
Reloading.

Reproduction Steps
Load stripe elements, create payment element > error

#

@surreal vigil pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
hello, we have an implementation of stripe and all of a sudden we are getting errors from stripe
Failed to load resource: the server responded with a status of 403 ()

What actually happened?
the payment element just does not display and the stripe requests are failing

Reproduction Steps
https://geluneamtx.kartra.com/pay/2vsZ6HyjbcrK

Question
is this an issue on your end, or it has something to do with our app, as we are seeing "access denied"

What are you working on?
we have an app that facilitates purchases for the connected accounts

cursive heronBOT
#

@willow oracle pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
"Something went wrong
There was an unexpected error. Please try again later." Failed to load resource: the server responded with a status of 400 ()

Question
Hi, i use embedded checkout and had a 100% off coupon that has always been working. Since last night whenever adding the coupon for testing the embedded checkout will give the text "Something went wrong, an unexpected error, try again later".

What have you already attempted?
Normal checkout (paying) works.
Creating a new coupon 100% but also other percentage based coupons are seen as "invalid" and can not be used.
No code has been changed before and after this error started.

What are you working on?
A service that sends digital files with ownership attached through customisable agreements.

#

@sour idol pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
link option is not loading in stripe

Question
link option is not loading in stripe

What have you already attempted?
link option is not loading in stripe

What are you working on?
link option is not loading in stripe

cursive heronBOT
#

@surreal vigil pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
hello,
I have this checkout https://teenwise.kartra.com/pay/kdB5oE7xIJa4
the code for the payment element restricts the payment_method_types to ['card']
so it should be only cards there

What actually happened?
in the payment options we have link (which is a card wallet type) and bank transfer, which does not look to be related to ['card']

Reproduction Steps
https://teenwise.kartra.com/pay/kdB5oE7xIJa4

Question
Since I do not have direct access to the account in question, having an app that connects via api keys, I cannot disable bank transfer. How do I do it programmatically?
I thought imiting payment_method_types to ['card'] should have done the trick

What are you working on?
I have an application that processes payments on behalf of the connected/standalone accounts

#

@near kestrel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am upgrading to the latest Stripe API version and there is a change to the invoice line item I'm not sure how to reconcile. There is a new pricing object that includes the price and product but it looks like its not expandable via the API. Our current code relies on the populated product. So, is it true that the product is no longer expandable? If so, is my only course of action to make a call to get the product after fetching the line item?

Related Request ID(s)
n/a

What have you already attempted?
I just read the API docs for the invoice line item. I haven't tried to actually get the object because our code doesn't compile with the API change so I can't test it.

What are you working on?
SaaS app for organizing after school programs

cursive heronBOT
#

@finite yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var customerService = new CustomerService();
var customerDetails = await customerService.GetAsync(invoice.CustomerId, cancellationToken: cancellationToken);
var defaultPaymentMethod = customerDetails.InvoiceSettings.DefaultPaymentMethod;

Question
Not able to fetch customer default payment method

What have you already attempted?
I have tried fetching using customer service

cursive heronBOT
#

@wide whale pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Something went wrong
There was an unexpected error communicating with our servers. Please try again later.

Question
Why does 100% off coupon that doesnt require payment method collection error out on the checkout page without a clear error

What have you already attempted?
I have read all the relevant docs.

Reproduction Steps
I have 100% coupon with a promo code. On the checkout page, as soon as I click "Apply" the promo code, the screen gives me the error message specified above.
In my code, I have enabled allow_promotion_codes: true, and payment_method_collection: 'if_required'. If I removed the second flag, then it asks for card details but 'Apply' doesnt error out.

What are you working on?
I want users to be able to apply a forever 100% off coupon

#

@sage stag pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our connect express accounts are unable to download a payout report when viewing the payout on their connect dashboard

Related Request ID(s)
N/A

What have you already attempted?
A lot of our clients are asking for this and we are considering building but before would be good ot hear if there is a reason it hasn't been enabled or any plans to enable soon?

What are you working on?
Sports team management app

cursive heronBOT
#

@snow tartan pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
com.stripe.exception.InvalidRequestException: Received unknown parameter: radar_options[skip_rules]; code: parameter_unknown; request-id: req_2vqEf9ZCeWeQHN

Question
We tried testing in sandbox sending the skip_rules parameter, but it failed with the error shown under "Code". Why did we get this error? Can we test this in sandbox at all?

What have you already attempted?
{capture_method=manual
confirm=true
statement_descriptor=A15693
amount=1000
metadata={comment1=15693
customer_id=null
order_id=mRefADER452457auth
email=ss1904@hostedpci.com}
radar_options={skip_rules=[all]}
automatic_payment_methods={allow_redirects=never
enabled=true}
description=15693
currency=usd
customer=cus_PxDmTOqUzGrKnW}

What are you working on?
We'd like to add the skip_rules parameter for recurring transactions.

cursive heronBOT
#

@surreal vigil pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We have an account that is the main account for several connected accounts.
we have for example the pmc_1PFup1Eah6jYoDaipaeErIT4 where we want to restrict all the payment methods beside klarna, card with apple/google pay.
The connected accounts should only have the unblocked options for payment methods

What actually happened?
going into one of the connected accounts, acct_1PJDjPKqCXDAtnBu for example (pmc_1PJDjiKqCXDAtnBuHRLq6MQo), the payment methods inside the connected variants have all things blocked beside klarna, card with google/apple pay
But there are 2 more options not present in the main account: alipay, and wechat pay. Those are unrestricted

Reproduction Steps
just going to the payment options for the in both pmcs

Question
I want to block the alipay and wechat pay as well. Also can there be more options than these, based on the accounts settings ?
The issue here is that our app has tested only the ones we do not want to restrict, so we would want to make sure all the payment method options are managed by us

What are you working on?
I have an application that processes payments on behalf of the connected/standalone accounts

cursive heronBOT
#

@wise iron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I think I may have found a bug in the way paymentIntent data is formed after clicking on a payment link for a subscription: PaymentIntents that are missing the related invoice ID.

evt_1RP7KbExfkC84dniyn8pun79 is for a paymentIntent but the value for invoice is null.

in_1RP7KaExfkC84dnic3wOokdY references
"payment_intent":
"pi_3RP7KXExfkC84dni085EaLpK"

but
"pi_3RP7KXExfkC84dni085EaLpK"
shows "invoice": null,

If I'm using the API and I only have the paymentIntent ID to go on, how can I look up the related invoice ID?

Related Request ID(s)
evt_1RP7KbExfkC84dniyn8pun79, evt_1RP7KbExfkC84dniyn8pun79

What have you already attempted?
I've looked up the related py_3RP7KXExfkC84dni03iqepZi attached to the paymentIntent, and it's invoice value is also null. A customer ID may be missing from the paymentIntent, so I can't reliably list all invoices from a customer to search for the related paymentIntent to make a match.

We need the invoice ID (if it exists) so our Stripe app can reliably create a shipment (using shipping rate details from the invoice). However, the paymentIntents API is not reliably reporting the related invoice ID.

What are you working on?
Parcelcraft Shipping for the Stripe Apps Marketplace

cursive heronBOT
#

@bitter heron pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
AWS ALB Sticky sessions to work

What actually happened?
AWS ALB Sticky sessions seem to get lost after stripe checkout requests the logo

Reproduction Steps
This seems to happen for ios 18_4_1.

Architecture:
AWS ALB with 2 servers.
Using sticky sessions, which depend on cookies.

We use stripe checkout (loaded from JS https://checkout.stripe.com/checkout.js).

User gets sticked to server A.
He triggers the checkout.
Checkout (inside iframe) requests logo from site.

After that AWS ALB stickiness is lost

Question
Why we are loosing sessions with ios 18_4_1 when stripe requests the logos?

What are you working on?
Bug with Checkout

#

@timber acorn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In Stripe Basil, will any existing amount off forever coupons stop working if they are already applied to existing subscriptions? And to confirm, are percent off forever coupons are still supported?

Related Request ID(s)
n/a

What have you already attempted?
Read the docs here: https://docs.stripe.com/changelog/basil/2025-03-31/restrict-coupon-duration

What are you working on?
Working on Trainwell (trainwell.net)

#

@neon umbra pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
A customer's statement descriptor should have said "EnrollVB benefits"

What actually happened?
The statement descriptor on the customer's bank's web site said "ENROLLVB BENEFITS LINKEDIN.COM/GA"

Reproduction Steps
I do not know how to reproduce this

Question
Why did the statement descriptor include "LINKEDIN.COM/GA"?

cursive heronBOT
#

@tulip tiger pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
There was an unexpected error -- try again in a few seconds

Question
We just got a spike of these errors starting about 30 minutes ago on our React Native application. No app versions have been released in the last two week

What have you already attempted?
Docs, stack overflow, llms

Reproduction Steps
const { error } = await initPaymentSheet({
merchantDisplayName: "MERCHANT_NAME",
customFlow: true,
returnURL: RETURNU_URL,
intentConfiguration: {
mode: {
currencyCode: 'USD',
setupFutureUsage: 'OffSession',
},
confirmHandler: handleConfirmation,
},

What are you working on?
React native app

#

@tough condor pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Something went wrong. Please try again later, or contact support.

Question
I can't log in my account, when I try log in it give me the error

What have you already attempted?
I try to renew my password and re sing up a acc

cursive heronBOT
#

@subtle lily pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm working on an update to implement a schedule for subscription upgrades and downgrades.

Reading the docs, I am unsure of the best way to achieve, for example, downgrading an item quantity from 5 to 4.

I should create a schedule from the subscription, update Phase One to end via end_date, and add a second phase with the new quantity. But I struggle with dates and intervals.

How can I ensure that the first phase ends at the billing_cycle_anchor? I don't want to modify it, and I don't want any proration to be created. And should I use an interval of 1 (so the schedule will still exist for one month after the creation) or an end_date 1 second after to release it

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases?lang=node#downgrading-subscriptions

What are you working on?
SaaS platfom for event industries

#

@fringe oak pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Link shows up in Payment Element when creating an elements objects without an intent in `subscription` mode

What actually happened?
No Link available

Reproduction Steps
- Initialize Elements with "subscription" mode
- Initialize Payment Element
- Mount Payment Element

Question
I'm trying to generate a SetupIntent / PaymentIntent using the guide for subscriptions:

https://docs.stripe.com/payments/accept-a-payment-deferred?type=subscription#web-collect-payment-details

In order to get Link to show up, I have to set mode to either "setup" or "payment".

What are you working on?
Web customer subscription flow

cursive heronBOT
#

@hallow dawn pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I'm not using the cli since a lot of time, I've tried to resend an event but I get:
```
Operating in local (wksp_test_***)...
no session
```

Related Event ID(s)
N/A

What have you already attempted?
I've tried to re login but nothing changed

#

@static vortex pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentElementOptions = {
layout: {
type: 'accordion',
defaultCollapsed: false,
radios: false,
spacedAccordionItems: false
}
};

Question
Is it possible to re-order the Payment methods on the Payment Element?

What have you already attempted?
I don't see an attribute.

What are you working on?
We would like to promote ACH Bank Transfer and have that display first

cursive heronBOT
#

@fringe oak pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Link shows up in Payment Element when creating an elements objects without an intent in `subscription` mode

What actually happened?
No Link available

Reproduction Steps
- Initialize Elements with "subscription" mode
- Initialize Payment Element
- Mount Payment Element

Question
I'm trying to generate a SetupIntent / PaymentIntent using the guide for subscriptions:

https://docs.stripe.com/payments/accept-a-payment-deferred?type=subscription#web-collect-payment-details

In order to get Link to show up, I have to set mode to either "setup" or "payment".

What are you working on?
Web customer subscription flow

#

@languid garden pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Something went wrong
There was an unexpected error communicating with our servers. Please try again later.

Question
This is happening with all zero-cost coupons and causing all sorts of problems for our customers.

What have you already attempted?
We called Stripe Support.

#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

We are currently offline. We will be back at 4 AM UTC on Monday, 2025-05-19. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

@bronze orchid pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-and-reuse

Question
How to use this setup intent for later payment with the card, which requires authentication on all transactions, regardless of how the card is set up.
Ex: 4000002760003184 (card testing)

What have you already attempted?
We are supporting 3ds card for auto charge in my service. I do same the docs, but with the card requires authentication on all transactions, it's fail.
For this case, I want to ask we should change to solution or others. Thank you for support.

cursive heronBOT
#

@blissful summit pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Billing address is same as shipping address button to appear.

What actually happened?
Button does not seem to appear. The checkout flow fails due to missing billing info.

Reproduction Steps
Build a react web elements integration with the new CheckoutProvider api. (ui_mode: 'custom') Add the AddressElememt in only mode shipping and also the PaymentElement. See that the "Billing Address same as shipping address" button does not appear inside the payment element.

Question
Hi, I'm looking into integrating with the new checkout & web elements api (ui_mode: 'custom'), however when I open my custom checkout page, the "billing address is same as shipping" button I am used to from standard hosted checkout is missing.

What are you working on?
A shop-like website for professional services.

cursive heronBOT
#

@lilac slate pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Step 1: Create a Test Clock
var testClockOptions = new Stripe.TestHelpers.TestClockCreateOptions
{
FrozenTime = DateTime.UtcNow
};
var testClockService = new Stripe.TestHelpers.TestClockService();
var testClock = testClockService.Create(testClockOptions);

// Step 2: Update a customer to associate the Test Clock
var existingCustomerId = "cus_SJreBFGgGU6Wp3";
var customerUpdateOptions = new CustomerUpdateOptions
{
TestClock = testClock.Id // property not exist in Cu

Question
I want to Create and Advance a test clock to an already existing customer using .Net SDK

What have you already attempted?
https://docs.stripe.com/api/customers/update?lang=dotnet&api-version=2024-09-30.acacia&shell=true&api=true&resource=customers&action=retrieve

What are you working on?
QA Test Automation - Advance Time Simulation

cursive heronBOT
#

@crisp flare pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to have the "I'm purchasing as a business" checkbox selected by default in Stripe Checkout?

Related Request ID(s)
stripe

What have you already attempted?
i have added the below code for adding tax id collection but now we are getting checkbox called " I'm purchasing as a business" but here we need to select explicitly the checkbox in payment checkout page..but we need the checkbox needs to select by default..how could we achieve this

code:
TaxIdCollection = new Stripe.Checkout.SessionTaxIdCollectionOptions{Enabled = true,},

#

@vocal wagon pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/bbpos-wisepad3

Question
Hi,
I am using a raspberry pi on site, and I am currently using the S700 terminal with backend integration to process payments.

I would like to switch to a WISEPAD3 reader for multiple reasons (harder to break, cheaper to replace, ...)

I was looking at using a docker android emulator to address the WISEPAD3 via usb/bluetooth, I don't really like this solution though and was wondering if there was an alternative option. Even if it requires some integration on my part.

What have you already attempted?
Using android sdk, works but sub optimal

What are you working on?
Self checkout payment solution for laundromats

cursive heronBOT
#

@inner junco pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I work with a Stripe integration in Systeme.io. I received a e-mail that I need to do something with iDeal in Stripe. I'm not sure if and what I have to do, because I work with Systeme.io - I don't work directly in Stripe. Am I right to think that I don't have to do anything?

Related Request ID(s)
iDeal integration in Systeme.io, what to do?

What have you already attempted?
I've contacted the support of Systeme.io. They say that I need to contact Stripe support to make sure if I don't have to do something.

cursive heronBOT
#

@young walrus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When moving from a free subscription to a paid subscription, if the user enters a card that requires 3D Secure authentication, they are prompted to authenticate when I confirm the setup intent of the subscription. This then leaves the payment intent status of the lateset invoice as "requires_action" and the payment intent needs to be authenticated as well. So, the user gets prompted for authentication twice during the upgrade subscription process that I have implemented. Is that correct behaviour?

Related Request ID(s)
req_myw8Ao5r59u32G

What have you already attempted?
It already works, the flow for the customer just feels incorrect as they have to authenticate twice in quick succession

What are you working on?
A subscription mechanism that allows the user to upgrade from a free subscription to a paid one

cursive heronBOT
#

@hidden moss pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
A subscription with `collection_method` as `charge_automatically` and `pause_collection` set to `keep_draft` keeps on generating invoice and all the invoices are in the PAID state

What actually happened?
Shouldn't the invoices be in a draft state in this case?

Reproduction Steps
`sub_1JwaKeA5BZ3mzPMyw8Wtbd11` - Subscription for reference

Question
When does the `pause_collection` field kick in to effect? Also I want to know when this subscription was paused because I am unable to see it in the logs

#

@velvet bridge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're now well in the weeds of integrating and hooking up all the services for PTP and I've encountered an interesting problem.

I've done all the things that are needed to mount an issuingCardNumberDisplay on one of our pages. So I did the nonce request, wrote up my side of the API to generate the ephemeral key that my UI calls and gets back the key from, and obviously have the card id that I want all this for retrieved from the API.

(cannot attach screenshot below)

Related Request ID(s)
req_Gpp4Ll8mC5M1fO, req_o3jRmIcapBu4l5

What have you already attempted?
I made sure that all our calls use the latest API (.basil) both from the UI (Vanilla JS) and the API (Python / Stripe library) and up to this point it all works.
I see the logs for all these calls and they all indeed go to .basil and are green response 200s.

Then at the last step in the page where I have stripe.js (v3) and would mount the element, the stripe.js code spits a bunch of errors at me like so:

image.png << cannot attach this here sorry

and the iframe where the card number should appear stays empty (i mean just the <div id="root"></div> is inside the HTML of the iframe)

What are you working on?
Card number surfacing via Elements on self issued cards.

cursive heronBOT
#

@wild epoch pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working with Stripe in a Go backend and have a custom checkout flow. I want to apply a coupon to a one-time $120 payment (using stripe elements) without using the full Stripe UI. What's the best way to handle this with Payment Intents? Any tips are appreciated!

Also i came across session and payment intent which one should I use? is there any other solutions.?

Doc/Guide Links
https://docs.stripe.com/payments/payment-element/migration-ewcs
https://docs.stripe.com/payments/payment-element/migration

What are you working on?
I am creating an appliction which have fixed products and might need coupons for future.

cursive heronBOT
#

@tepid drift pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
System.out.println("Event Type: " + event.getType());
System.out.println("Raw Event Data: " + event.toJson());

            EventDataObjectDeserializer deserializer = event.getDataObjectDeserializer\(\);
            StripeObject stripeObject = deserializer.getObject\(\).orElseThrow\(\(\) \-\> new Exception\("Deserialization failed"\)\);
            responseStatus = 200;

Question
We are trying to validate a strip signature and we are getting Deserialization failed error. This api version is used "2025-04-30.basil" in prod and accordingly the Wh_Secret is also used.
What else can we check for Deserialization issue.

What have you already attempted?
Checked the compatibility of api version and wh secret.

What are you working on?
We are able to verify the Stripe Signature

cursive heronBOT
#

@zenith vault pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
export async function createBookingSession(
userId: string,
dto: HoldClassSlotDto,
dataSource: DataSource,
stripe: Stripe,
redirectTo: RedirectTo,
) {
const queryRunner = dataSource.createQueryRunner();
await queryRunner.connect();
await queryRunner.startTransaction();
try {
const classData = await queryRunner.manager.findOne(Classes, {
where: {
id: dto.classId,
deleted_at: null,
},
lock: { mode: 'pessimistic_write' },

Question
currently it is happening that whenever user buy subscription the subscription starts immediately i want to make it start in the month of september 2025

What have you already attempted?
currently it is happening that whenever user buy subscription the subscription starts immediately i want to make it start in the month of september 2025

What are you working on?
stripe subscription

#

@finite yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var subscriptionService = new SubscriptionService(_stripeClient);
var subscription = await subscriptionService.GetAsync(subscriptionId);
var options = new SubscriptionUpdateOptions
{
Items = new List<SubscriptionItemOptions>
{
new SubscriptionItemOptions
{
Id = subscription.Items.Data[0].Id, // Get this from the existing subscription

Question
while upgrading using proration , i'm first showing user how much they may have to pay and later charging so in that process if user takes couple of min to decide by the time actual upgrade happens amount deducted mismatches

What have you already attempted?
ProrationDate = DateTime.UtcNow.Date

but this has a catch if user subscribes at 10 am and chose to upgrade at 11 am , proration date is set as 00 so its throwing error as date should between start date and end date

cursive heronBOT
#

@ripe juniper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Due to a problem Stripe stayed in test mode on production server, card payments got declined successfully but Apple Pay payments went through, was the payment real or still in test mode so the customer won't receive the money?
Sorry but idk what category put the question in

Related Request ID(s)
-

What have you already attempted?
-

#

@hoary venture pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
This reader is no longer supported, Please contact us via https://support.stripe.com/contact with details, so we can help

Question
we have to connect wisepod 3 device to get above error while connecting iOS Device

What have you already attempted?
This reader is no longer supported, Please contact us via https://support.stripe.com/contact with details, so we can help

What are you working on?
app developpment

#

@void nimbus pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Trying to add Australia BECS DD to a Connected account.

What actually happened?
On their dashboard it is showing a warning that they cannot debit AUD: "To allow debits, this account must have a bank account with an accepted
debit agreement
for each currency."

Reproduction Steps
https://dashboard.stripe.com/connect/accounts/acct_1QSB2XBOo48DvGMw/activity

Question
How can I resolve this issue for this Connected customer so they can start adding and using payment methods again? Also it seems as though they are unable to add bank payments or CCs.. is there a way to temporarily remove the BECS feature or something to unblock them?

cursive heronBOT
#

@viral spoke pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, I got a new client and it’s one of my firsts. I would like to connect them to my account via stripe connect. I know how that works :)
I thinking about two ways to add the new customer: they add my account via „team“ so I can use their account to make stuff or do I directly send them the onboarding link so they connect to me? I then can also directly use their account, right?

Doc/Guide Links
Stripe docs for the described ways

What are you working on?
Onboarding with connect

cursive heronBOT
#

@molten gate pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking to build the credit system using Stripe. It's mentioned here: https://stripe.com/blog/introducing-credits-for-usage-based-billing

We already have 2 plans in place. We are looking to introduce something called "Goodies" with these 2 plans. On 1 plan, 500 "Goodies" to be given. On another plan, 1800 "Goodies" to be given. When a user does the task, "Goodies" are consumed. When "Goodies" expire, they have to buy it again as a purchase, until their monthly renews.

How to model this using Stripe? We don't want to store anything on our side.

Related Request ID(s)
None

What have you already attempted?
I tried posting before but the ticket got closed within few mins. Could not respond back.

set up a sandbox with meters, subscription and credits but don't know how to proceed.

We have read the docs around Events, Event Meters, Subscriptions, Credit Grant, Credit Balance transaction but not sure how to implement this.

What are you working on?
AI agent for any scientific question

cursive heronBOT
#

@dawn merlin pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage-api#high-throughput-ingestion-with-higher-rate-limits

Question
Is there any way to test High-throughput ingestion with higher rate limits from V2 API on the sandbox?

The doc says it's not but it's a bit risky to deploy changes to live and test there

What have you already attempted?
I tried to use this with my sandbox keys. No events were reported, or I didn't see any.

What are you working on?
Billing entitlements platform

#

@high copper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Through an app, I am trying to create billing credit grants. The stripe docs page for permissions (https://docs.stripe.com/stripe-apps/reference/permissions) mentions billing_credit_grant_read, but we tried to add that and _write to the permission list of our app and they were not found.

Related Request ID(s)
N/A

What have you already attempted?
Read docs, tried to add what would be the permissions to the app and it failed

What are you working on?
Trying to make use of all the new Stripe usage-based billing features

#

@kindred garnet pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey ! i am using Stripe to handle the subscriptions of my app. The problem is that i got a lot of cards rejections from banks and stripe paused my account. I want to make sure if i am doing everything right in order to avoid being banned and also ask if there is something else that i can do to enhance the process.
I use stripe checkout, so i was creating checkout sessions in subscription mode for my customers and was giveing a free trial for one week before it was charged.

Now i changed this to checkout sessions in setup mode with a setup intent. Removed the free trial for now. Also enabled 3ds for every checkout session and i am considering to avoid using cards that do not

Doc/Guide Links
https://docs.stripe.com/payments/3d-secure/authentication-flow?api-integration=checkout-session-api

https://docs.stripe.com/payments/setup-intents

What are you working on?
I'm working on an app that provides connection services and the integration with Stripe is to subscribe and have unlimited access while the subscription is active.

#

@torpid latch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
settings.payouts.schedule.delay_days API parameter

Question
Looking to confirm logic on this parameter... We are gated into accelerated payouts. so we can set this parameter to 1 to accelerate payouts on desired connected accounts.

per documentation, "Minimum" is the default. If we set to 1 and then want to go back to the standard default payout, the documentation seems to point to using "minimum", but it feels like strange logic to send "Minimum" and expect and outcome of 2 when 1 is already an option.

What have you already attempted?
https://docs.stripe.com/api/accounts/object#account_object-settings-payouts-schedule-delay_days

cursive heronBOT
#

@plush crow pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I created a webhook to notify me when a checkout is successfully paid. In the console, I can see that the event is triggered, but even though I have the webhook configured, it doesn't send the POST request to my Node.js API to execute the webhook. Do I need to activate something specific in order to use a webhook that notifies about paid checkouts?

Related Event ID(s)
evt_1RP5IO07imWyG30ZfYz3lhZG

What have you already attempted?
I tried to get a notification sent to my Node.js API when a checkout payment is successful, but it doesn't send the notification to the route I specified.

What are you working on?
I’m creating an API to manage payments using Stripe.

#

@golden bone pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to fetch the bank transactions from the bank account. And I subscribed to the transactions. But the test account is not triggering webhooks for the new bank transactions. Is there a way that I can add a deposit to one of the stripe financial connection test bank accounts?

Related Request ID(s)
NA

What have you already attempted?
Yes. But i didn't find a way to add the deposits to the test bank account.

cursive heronBOT
#

@still minnow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
paymentRequest.update(
...,
applePay: {
recurringPaymentRequest: {
...,
regularBilling: ...,
trialBilling: isFreeTrial ? {...} : undefined
)

Question
I'm trying to use a paymentRequest apple pay button to handle subscriptions with or without free trials.

We allow the user to switch between subscription options on the same page as the apple pay button.

However, when we try to update from a subscription with a free trial -> no free trial, we have no way to clear the trialBilling object. When we update the paymentRequest via undefined trialBilling, it maintains the previous value before the update.

How can we fix this?

What have you already attempted?
We've tried setting trialBilling to undefined, not including trialBilling in the update options object, overwriting trialBilling with invalid dates, or a date that starts and ends today,

What are you working on?
A package select page that lets you choose a package option and pay via apple pay on the same page.

cursive heronBOT
#

@tepid bloom pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm getting this error when trying to let user onboard a express connect account

error:
You requested an account link for an account that is not connected to your platform or does not exist

my account id acct_1RPPXBR4fUCNb9cw

Related Request ID(s)
I dont see it...

What have you already attempted?
I checked the api if there's potential error, but I think something wrong with creating my account on sandbox/testing account...

What are you working on?
A marketplace

#

@round trellis pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Invoice payment page to load

What actually happened?
Invoice payment page does not load, spinning icon only.

Reproduction Steps
Create and finalize an invoice on a test account, then navigate to the hosted_invoice_url. It does not load

Question
Why does the invoices for this test account not load, but the ones for my live account are fine?

What are you working on?
Trucking insurance platform

cursive heronBOT
#

@quaint token pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When trying to cancel some open invoices I got an error that I wasn't able to because there was an open payment. But I don't seem to be able to cancel the payments and the payments looked to have been open for over a year. How do I void these invoices that I don't think will be collectable?

Related Request ID(s)
POST /v1/invoices/in_1NbBMyCjifdfNJ28XDjIxdT3/void

What have you already attempted?
I've tried manually voiding the invoice and searching the associated payment for a way to void it.

What are you working on?
I'm just trying to void out all unpaid invoices as part of sunsetting my company's product.

cursive heronBOT
#

@limber compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Custom Invoice ID is not returned in API Call

Related Request ID(s)
NA

What have you already attempted?
Why is the stripe invoice API not returning my custom invoice ID? I can’t find it anywhere and I also don’t see it in the documentation in the response object.

What are you working on?
Ecomm

cursive heronBOT
#

@gleaming mica pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am implementing the separate charges and transfer feature for my project developing using Laravel. The charge part of the feature works but it fails during the transfer part. I got error which says "Insufficient funds" for a payment around 300 euro. But it worked for a payment less than 10 euro. Can you please help me to figure out why the transfer of my payment is failed.

Related Request ID(s)
https://dashboard.stripe.com/logs/req_UtFNCaVPN8Pqsd?t=1747673138

What have you already attempted?
I already used a waiting time of 30 seconds after the charge is successful before going to the transfer phase. Because I learned the payment might take some time to be available.

What are you working on?
I am developing a platform where customers pay to the service providers for their service. My platform is work as mediator between them.

#

@round trellis pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe invoice payment page loads

What actually happened?
Stripe invoice payment page does not load, though the PDF is accessible.

Reproduction Steps
Attempt to click hosted invoice url through the Stripe dashboard attached to invoice in_1RQXBNI2ityHcHS8464oJLrz

Question
Is this related to a test mode/live mode discrepancy? If so, how do I fix it?. Please reference sabrina-hendricks-unexpected thread that occurred at 2pm this afternoon for more information.

What are you working on?
Trucking insurance platform

cursive heronBOT
cursive heronBOT
#

@dreamy mural pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to create a product that has a 7 day free trial... collect credit card upfront... and then one payment for unlimited access to the product going forward.

I use Checkout Sessions to setup my order forms. There is a subscription_data key I can set up some subscription options including a trial. However is there a way I can create my checkout session so it only charges one time after that trial?

Would it be best to cancel the subscription after this time, pause it, or just leave it active? I don't think active is an option.

Any help on the best setup would be greatly appreciated.

Related Request ID(s)
NA

What have you already attempted?
I create Checkout Sessions all the time for products and "normal" subscriptions... but looking at the api I can figure out how to get this done.

What are you working on?
I have a fitness app that sells products and memberships.

cursive heronBOT
#

@fast thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am attempting to get reports for payout_reconciliation.by_id.itemized.3 report. All the reports I am getting when calling `https://files.stripe.com/v1/files...` are empty. I want to figure out how to properly obtain these reports so that I can see the itemized transactions for a payout

Related Request ID(s)
Not seeing them in the developer dashboard

What have you already attempted?
I am currently calling the following URLs:
* https://api.stripe.com/v1/payouts - GET, with token and Stripe-Account header set
* https://api.stripe.com/v1/reporting/report_runs - POST, with token, Stripe-Account header, and report_type=payout_reconciliation.by_id.itemized.3, parameters[payout] set
* https://api.stripe.com/v1/reporting/report_runs/{report_id} with token and Stripe-Account header
* https://files.stripe.com/v1/files/{file_id}/contents with token and Stripe-Account header

Used the following docs:
* https://docs.stripe.com/payouts/reconciliation
* https://docs.stripe.com/reports/

What are you working on?
I want to download payout reconciliations for connected accounts

#

@shy kindle pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/issuing/cards/virtual/issue-cards

Question
For the purposes of using Stripe Issuing to issue virtual cards, do Connected Accounts have to be businesses or can they be individual users? Or is there a way to issue virtual cards to users who aren't businesses?

What have you already attempted?
I've read all the docs on Issuing Cards, How Issuing Works, and Get Started with Connect. It's still unclear to me whether Connected Accounts must be businesses if I want to issue virtual cards to them or whether I can build a customized onboarding flow that would allow users to become connected accounts simply as individuals.

cursive heronBOT
#

@paper glen pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to start using stripe payment sheets in our iOS app in the US following the recent court order.

We offer subscriptions only and sometimes offer free trials.

Since we need to support trials, we have to use a SetupIntent not a PaymentIntent I believe and then attach the subscription once the setupIntent is successful.

Can we still use apple pay? The docs have apple pay instructions but I am not sure if apply pay can be saved for later and then attached to a subscription. PaymentIntents seem straight forward for apple pay just didn't know about setupIntents. I still need to create a merchant identifier for our app

Doc/Guide Links
https://docs.stripe.com/payments/mobile/accept-payment?platform=react-native&type=setup

What are you working on?
moving from IAP to stripe payment sheets

#

@agile wasp pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe Express Checkout buttons not working

Related Request ID(s)
req_J1qirsf5zNTv1B

What have you already attempted?
I try to implement the express checkout buttons on my website but sadly they are not working like they should, i already had a ticket open and wonder if there are news?

What are you working on?
ecommerce website

cursive heronBOT
#

@formal aurora pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My Stripe secret key stopped working out of nowhere leading to webhook verification failed.
second time it happens with no reason or notification to me

Related Event ID(s)
evt_1RQanRJC74B9O4BfhS7eubHV

What have you already attempted?
It was working fine before that so i just went to my dashboard created a new key and plugged into my .env and it was working again

What are you working on?
web app

#

@dense bobcat pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our business has an integration with Stripe Connect (Destination). Due to fundamental business reasons, we need to convert all Destination accounts TO Direct accounts. In addition, we need to convert all customers to Direct customers under the account. Assume we know the individual customers for each account. Is there an API for doing that?

Related Request ID(s)
N/A

What have you already attempted?
Asking for account/customer migration purposes

#

@sterile garden pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to allow my customers to sign up for auto-pay and I'm not sure the best way to present it to them. I need to possible be able to pre date the subscription. My customers are billed monthly from the start of their lease, for storage units. I would like for them to be able to sign up for a subscription at any point in their billing cycle. Is subscription even the right tool for this? How do gather the customers payment info with out charging them until the start of their next billing cycle? I'm currently using a checkout session to start a subscription, but I don't know how to change the start date of the generated subscription.

Doc/Guide Links
https://docs.stripe.com/api/subscriptions
https://docs.stripe.com/api/checkout/sessions

What are you working on?
Ministorage management software

cursive heronBOT
#

@haughty orchid pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Have had an active open issue regarding Stripe React Native and Apple Pay for over 6 months. The intentCreationCallback will fail when the generated intent is set to ManualConfirmation.

Question
I have explained this issue many times, and it is very well defined in this GitHub issue that I was told to open. Unfortunately, that issue has been closed and I was directed back to here:

https://github.com/stripe/stripe-react-native/releases

What have you already attempted?
I have attempted everything that has been suggested to me. I was told a bug ticket was opened for this issue as it was determined that what I am experiencing is in fact a bug, but I still don't have any idea of resolution and the GitHub issue I was told to log was closed.

Reproduction Steps
Outlined in this GitHub issue that I was told in my last discord thread to log: https://github.com/stripe/stripe-react-native/releases

What are you working on?
A mobile app that allows users to request to book a seat in a car, the driver is able to confirm or deny the payment/seat.

cursive heronBOT
#

@native falcon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I use a PaymentIntent that has its price populated with a preview invoice to create a new subscription after the PI is confirmed?

Related Request ID(s)
nil - still testing locally

What have you already attempted?
Create payment intent -> Update customer address -> confirm payment intent -> create invoice item -> attach invoice item to subscription - but im getting an error that InvoiceItem needs to be of type 'one_time'

What are you working on?
On a checkout page with web elements that eventually creates a subscription. I want to be able to charge taxes based on what the user dynamically inputs in the address element.

cursive heronBOT
#

@opaque sleet pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/plugins/oauth

Question
Cannot see OAuth creation UI setup on the console.

What have you already attempted?
I created a app in test mode, and have set ouath on stripe_api_access_type, and currently have set distribution to private but there is no option to setup stripe oauth link nor I can see client id to be used to redirect users to connect to the app.

What are you working on?
We are working on a payment intelligence solution to give information on how well your merchants are rewarding you (you are making on a particular merchant deal)

cursive heronBOT
#

@amber coral pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
i want to run my android project
i install the new verios of stripe react native 0.46 after doing some changes it;s working fine in ios but in android first it cuase issue in kotlin version i update it to kotlinVersion = '2.0.21'
and add this line classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
it;s clean succfully but when run andr

What actually happened?
i install the new verios of stripe react native 0.46 after doing some changes it;s working fine in ios but in android first it cuase issue in kotlin version i update it to kotlinVersion = '2.0.21'
and add this line classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
it;s clean succfully but when run andriod it shows this error
* What we

Reproduction Steps
i install the new verios of stripe react native 0.46 after doing some changes it;s working fine in ios but in android first it cuase issue in kotlin version i update it to kotlinVersion = '2.0.21'
and add this line classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
it;s clean succfully but when run andriod it shows this error
* What we

Question
i install the new verios of stripe react native 0.46 after doing some changes it;s working fine in ios but in android first it cuase issue in kotlin version i update it to kotlinVersion = '2.0.21'
and add this line classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
it;s clean succfully but when run andriod it shows this error
* What we

cursive heronBOT
cursive heronBOT
#

@grizzled ingot pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/mobile/accept-payment-embedded?platform=react-native&type=paymentsfu

Question
I try to use latest stripe version (0.46.0) with EmbeddedElement by using useEmbeddedPaymentElement hook, follow sample given by docs but it just show up Grabpay for me only, any tips or critical point i need to follow for setup correctly?

What have you already attempted?
I update from 0.33 to 0.46, updating version go well so far, try to apply useEmbeddedPaymentElement hook with:
- empty paymentMethodTypes
- doesn't pass paymentMethodTypes
- paymentMethodTypes: ['card']
- paymentMethodTypes: ['grabpay', 'card', 'paynow']
alll 4 attemps only show Grabpay for my payment method, doesn't show the others

What are you working on?
Building a payment follow for an ecommerce app

cursive heronBOT
#

@trim crypt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to integrate Google Pay via ExpressCheckoutElement. When I enabled tax, the Google Pay button became unavailable. The docs says to include shipping address. But shipping address does not make sense to me as it is digital subscription (like patreon) and also it does not work with mode subscription. What is the workaround this situation

Related Request ID(s)
req_s1wNtO1xhFbjkF

What have you already attempted?
Already explained .

What are you working on?
Adding a Google Pay Button in the checkout for monthly subscription with automatic tax enabled and without shipping address

cursive heronBOT
#

@tepid badge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can Stripe Invoices Support Fixed-Amount Taxes (Instead of Percentage-Based)?
We're using Stripe’s TypeScript SDK to generate invoices with line items, and currently applying taxes via percentage-based tax_rates. However, our use case requires fixed-amount taxes (e.g., $5.00 flat tax per item) rather than percentages.

Is there a native way to apply precalculated dollar-amount taxes to line items, without using percentage-based tax_rates?

Are there plans to support fixed-amount taxes in future API versions?

Related Request ID(s)
https://docs.stripe.com/api/invoiceitems

What have you already attempted?
Calculating taxes externally and applying them via percentages

What are you working on?
Vyta is an innovative aging-in-place assist platform developed for Bayshore Healthcare, aimed at helping older adults live independently while staying closely connected to caregivers and healthcare pr

#

@mellow shuttle pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://stripe.com/en-sg/legal/restricted-businesses

Question
This document indicates:

"Nonfiat currency
Cryptocurrency mining and staking
Initial coin offerings (ICOs)
Secondary NFT sales"

Our scenario is that we will allow users to purchase NFTs using fiat currency, but would like to allow users to later sell it on the secondary market if they choose to on their own accord. Just want to confirm that this is not supported?

What have you already attempted?
n/a

What are you working on?
Integrating stripe as a fiat payment platform for NFT purchases.

#

@valid moss pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
payments on test mode of connected accounts is triggering the webhook of test mode and live mode as well, why?

Related Event ID(s)
evt_3RQk8bGUfk6Cpft40BKlOs0f

What have you already attempted?
For payment_intent.amount_capturable_updated
we have webhooks on Test and live mode, for our own and connected accounts.

when test payment is happening on test mode of connected account it has to trigger only the Test mode webhook, right?

why it is triggering both test and live mode?

cursive heronBOT
#

@twin thicket pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I add a "pause" a subscription with a trial period and move the end of the current billing cycle at the same time? For example, today is May 20th, my monthly billed subscription's next invoice is on June 15th. I want to "pause" the subscription for 10 days, and I figured out I can use trial days for this. I also want to move the end of the current billing period by the number of trial days, so June 15th + 10 days = June 25th. And after that I want the subscription to go on normally, that is the billing days are July 25th, August 25th and so on.

Related Request ID(s)
req_4kwfhn1DEaYVX6

What have you already attempted?
I tried using subscription schedules for this, and with the request I'm attaching, I managed to accomplish this. However, there are 2 $0.00 invoices – one at the start of the trial and one at the end of the trial. I would like to avoid any invoices between the actual June invoice.

#

@sly dove pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We create PaymentIntents via API on behalf of our customers (using Stripe Connected Accounts). We manage the emails sent to end customers for the payments that we create, and we don't want emails to be sent by Stripe even if the connected account has emails on "Succeeded payments" enabled.

ChatGPT says that setting `receipt_email` to `null` when creating the `PaymentIntent` will prevent the email from being sent even if the `Customer` object has an email address set, but I haven't seen this anywhere in the documentation. Can you confirm if what ChatGPT says is correct?

Related Request ID(s)
None

What have you already attempted?
Cannot test in test mode because emails are not sent

#

@cold plover pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
This is the code in Drupal Commerce Payment module which causes access denied since Commerce Stripe module is Offsitepayment not onsite.

// Allow on\-site and manual payment gateways.
$payment\_gateways = array\_filter\($payment\_gateways, function \($payment\_gateway\) {
  /\*\* @var \Drupal\commerce\_payment\Entity\PaymentGateway $payment\_gateway \*/
  return $payment\_gateway\-\>getPlugin\(\)\-\>hasFormClass\('add\-payment'\);
}\);
// @todo Move this check to the access

Question
I am currently working on a Drupal Commerce website and used Stripe module. https://www.drupal.org/project/commerce_stripe.
The client requirement is to use ACH only.

The Commerce Stripe module works for ACH on user checkout but users can't add ACH as their payment method. Also Drupal site admins can't add payment methods because the Drupal module for Stripe implements OffsitePaymentGateway.

What have you already attempted?
So is it possible to use Commerce Stripe ACH as onsite payment gateway? So that users can add ACH details on the site and these can be resused as we add credit card details in a site?

What is the way to go, kindly guide me. Which part of Stripe documentation should I follow. I got to this page , is this the one to follow?

https://docs.stripe.com/payments/ach-direct-debit/set-up-payment?platform=web&payment-ui=elements.

Can't we present users a form to fill bank details?

What are you working on?
I want to create an alternative Drupal Commerce payment gateway module for ACH which supports adding ACH as payment method of the user and Admin.

cursive heronBOT
#

@tribal cloud pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we are adding support for our new connected account from Switzerland (with chf)

I am trying to call the payouts api for a Swiss connected account (in dev mode) and I get an amount too small error (the docs say 5CHF the error is for under 200CHF).

Trying to understand if this is a bug or not and if on production environment the limitations are the same and if these can be adjusted to a lower threshold.

For EUR we have no issues with amounts above 1EUR.

Related Request ID(s)
req_O3wCB8hvCs7hn8 req_mfi9H3Wcy5PRDT

What have you already attempted?
I have read
https://docs.stripe.com/payouts#minimum-payout-amounts - this says it's 5CHF

https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts

What are you working on?
Payout mechanism for our connected accounts

#

@subtle jewel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to sent capture request via Java API as async call and need only ack as response once Stripe receive request and actual response will be part of webhook call back. can you please share sample Java API request for the above scenario

Related Request ID(s)
Dashboard

What have you already attempted?
Tried a different sample request

cursive heronBOT
#

@open inlet pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi everyone! I’m trying to set up a fee structure for international payments and payments in different currencies. However, it seems that Stripe doesn’t provide an API endpoint to retrieve the exact fee based on card details. Is there any way to get accurate fee estimates (including international and currency conversion fees) before confirming the charge, so I can display them to the user? Any guidance would be appreciated!

Doc/Guide Links
https://stripe.com/pricing

What are you working on?
Payment for marketplace

cursive heronBOT
#

@neat acorn pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Although it states in the docs that charges won't be deprecated, only the create charge endpoint was deprecated, it seems Payment Intent API is the prefered. way to process payments.

There are a lot of similarities between the two objects, but there are some fileds that I miss in Payment Intents, like receipt_url, amount_refunded, refunded.

Will we ever see these on Payment Intents?

Doc/Guide Links
https://docs.stripe.com/payments/payment-intents/migration/charges

https://docs.stripe.com/payments/payment-intents/migration

What are you working on?
Implementing Stripe Invoices

cursive heronBOT
#

@sly dove pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This is a follow up of a previous conversation I had with @soma.

We create PaymentIntents on behalf of our customers using Stripe Connected Accounts (using Direct Charges). For this kind of payments, we want to avoid emails to be sent to end-customers even if the connected account is configured to send emails upon successful payments, as email communication is handled separately. Would there be any undesired side-effect if we set the `receipt_email` field to a sink email address we control? For example, is the receipt email used for fraud detection?

Related Request ID(s)
Follow up of previous thread #dev-help message

What have you already attempted?
Cannot test since emails are not sent in sandbox

What are you working on?
We handle payments for our customers via connected accounts, and we handle email communication for the end customers. We don't want those end-customers to receive duplicate emails about the same charg

#

@topaz locust pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When buying item from our shop, bank id is not needed, why is that? the item cost 2500kr

What actually happened?
It went too easy to get the product, feels unsafe for the customer

Reproduction Steps
as mentioned in the first box

Question
as mentioned in the first box obove

What are you working on?
fixing the website

cursive heronBOT
#

@naive shuttle pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{
"error": {
"code": "transfers_not_allowed",
"doc_url": "https://stripe.com/docs/error-codes/transfers-not-allowed",
"message": "You cannot create transfers until you activate your account. Visit https://dashboard.stripe.com/account/onboarding to submit your account application.",
"request_log_url": "https://dashboard.stripe.com/t

Question
I'm trying to test the /transfer API using the sandbox environment. I was under the impression this was possible even without the activation.

  1. If transfer capability is enabled only when the sandbox's platform account is verified ? How do I switch to test mode ?

What have you already attempted?
I used the "request_log_url" which directed to me the test mode initially and I was unable to create an connected account as it was prompting me to complete the onboarding for activation.

Now I'm unable to get to the test mode altogether

What are you working on?
Trying to create a payment and transfer the amount to a connected account

#

@flint star pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Given a scenario where a recurring payment fails, and a user proceedes to update their payment method using the checkout session "setup" mode, we are seeking to update their subscriptions payment method to the defaulted card using the api.

Stripe::Subscription.update(subscription.id, {default_payment_method: '', default_source: '', cancel_at_period_end: subscription.cancel_at_period_end})

this has results in: You can not update cancel_at_period_end on a subscription while the checkout session is active.

Is there a way to update a user subscriptions but skip those in checkout?

Related Request ID(s)
{"id"=>"evt_1RK41a4e1iEh3Zh6oPFjnOCj", "object"=>"event", "api_version"=>"2025-02-24.acacia", "created"=>1746132486, "data"=

What have you already attempted?
its been a trial and error to keep adding conditions/attributes that has kept resulting in different errors. It seemed to be a wack a mole problem and seemed fitting to just reach out.

What are you working on?
Updating payment methods for subscriptions to trigger payment processing

cursive heronBOT
#

@cursive shale pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We would like to capture a partially funded Payment Intent that is in the "requires_action" state due to an insufficient customer balance. Is there something that can be done programmatically to accept the underfunded state and capture as much as possible?

Thank you!

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/capture

What are you working on?
B2B sales software

#

@boreal halo pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"id": "com.chargeresolve",

Question
I accidently uploaded my app with the example id of "com.example.charge-resolve and want to change it to com.chargeresolve

What have you already attempted?
I've tried to do stripe apps upload to upload the new version but it won't let me due to already having a app uploaded

What are you working on?
Stripe Marketplace App

#

@main gate pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a number of failed webhooks due to a misconfig about 4 days ago. I want to reprocess all webhooks that will not be retried again. My understanding is that failed webhooks will be retried on a backoff strategy over 3 days.

I would like to retrieve all failed events over the past (5) days and reprocess the ones that failed. However, I don't want to reprocess events that will be retried by Stripe because it's still within the 3 day retry period.

Related Event ID(s)
evt_1RPKt6KtuaHMerXj5upR0lbG

What have you already attempted?
Retrieved all events via the API, and looping through to determine if "$event->pending_webhooks > 0", but it seems like this is always true

#

@upper geode pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've seen that the Payment Sources API has been deprecated and that an update to the Payment Intent API will be needed. My question is, is there a timeline or date for when the Payment Sources API will no longer be supported?

Related Request ID(s)
N/A

What have you already attempted?
I've searched documents and Google for any specific mention, but have only found reference to an October 2024 deadline that was given to WooCommerce.

What are you working on?
A large ecommerce platform for one of our clients.

#

@wary umbra pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a US-based Stripe account to manage off_session subscriptions payments. We currently use setupIntents and have enabled 3DS via confirmCardSetup. We charge in USD only and want to allow users anywhere in the world to purchase subscriptions.

It looks like our subscription fee crosses some threshold in India that will requires a new 3DS verification for each recurring payment. We have enabled the option "Send a Stripe-hosted link for customers to confirm their payments when required" in Stripe's console. But we don't know if we should do anything else? ChatGPT insists we have to add `mandate_options: {card: {}}` to `setupIntents.create()`, but I don't see this anywhere

Doc/Guide Links
https://docs.stripe.com/india-recurring-payments?integration=paymentIntents-setupIntents#how-payments-work-with-an-e-mandate

What are you working on?
Recurring off_session payments for India-based cards

cursive heronBOT
#

@steep moth pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm working on receiving events from Stripe through AWS EventBridge. I can receive the event payload but I'm having issues deserializing it into the Stripe Event class. I noticed the Event class maps into the detail root key from the full event payload, so I created an Envelope outer class to represent the full event with a detail field mapped as Event. However, when deserializing the string event payload into this Envelope class using sdk embedded GSON instance (ApiResource.GSON), the detail.data.object field results in a empty map, even though I'm passing a valid full event payload.

Related Event ID(s)
no one

What have you already attempted?
Described above

cursive heronBOT
#

@peak gyro pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Invoice emails with custom domains - to deliver without being marked as spam

What actually happened?
They do get flagged as spam

Reproduction Steps

  1. Set up a Stripe account with a custom email domain
  2. Set up a Google Group (e.g. receipts@example.com)
  3. Send an invoice to the group's email address

Email will go into the "pending" section

Question
Just trying to report this issue so your internal team can be aware/look into it

Have observed this behavior on acct_1BEDNBATtIoO7XeZ and acct_1D3tXcLys3uUGY2C, starting only after adopting custom domains

The issue does not occur on emails from the regular invoice+statements+acct_xxx@stripe.com addresses

#

@lone adder pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
params = {
customer: @stripe_customer.id,
amount: amount,
currency: currency,
# payment_method_types: payment_method_types|| [],
setup_future_usage: "off_session"
}

Stripe::PaymentIntent.create(params, stripe_account: stripe_account_id)

Question
I want to hide checkbox "Save payment details for future purchases " and save the payment method via payment element

What have you already attempted?
I have passed offsession true but it is saving payment method but the checkbox Save payment details for future purchases is still showing I want to hide that check as well

cursive heronBOT
#

@craggy breach pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Development on localhost/angular, on card form field says "automatic payment methods filling is disabled"

I setup a self-signed cert on localhost, this didn't remediate the problem. How to work around this?

Doc/Guide Links
... All of them? Not sure what you're looking for here.

What are you working on?
a payment collection form

#

@pine lance pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how can i remove a applied coupon on a subscription Item

Related Request ID(s)
req_tU14flslo3Hgzr

What have you already attempted?
as i using a previous version stripe .Net SDK which is 44.5.0 i am able to remove coupon applied on a subscription using the discount service but i did not get any method to update or remove the subscription item please guide here Thanks.

#

@rancid marsh pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
No such backend_signature
at new ApolloError (dashboard.vendors~aadhaar_digilocker_popup~confirm_support~dashboard~login~myinfo_popup~register~sharded_onboa~68f94c3b.14ea57096f.min.js:237:48098)

Question
I am updating my Stripe app. When the app tries to make an API call to my backend, the console shows this error. My API is up and working. But I can't seem to access it from my Stripe app. I am using https via tunnel.
I last updated my app April 2024 and it worked then.

What have you already attempted?

  1. Upgraded CLI
  2. Called my API via postman
  3. Changed from Axios to fetch API

What are you working on?
Stripe Apps

#

@tepid bloom pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're currently using Stripe Connect Express for onboarding on our platform. During the onboarding flow, users are being asked for multiple sections including:

Business type

Personal details

Business details

Bank details

Public details

However, for our use case, we only need to collect personal details and bank account information. Our users are typically individuals (e.g., property owners), not registered businesses.

Is there a way to simplify or customize the onboarding flow to only require personal and bank details?
We want to streamline the process and reduce friction

Related Request ID(s)
NA

What have you already attempted?
Changing API code... but not working

cursive heronBOT
#

@muted kite pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In a bank transfer payment intent, there is a "hosted_instructions_url" and the resulting webpage shows the formatted bank transfer instructions for the relevant currency (account/routing/iban/swift/sort/branch_code/etc..), so how can I achieve similar formatting in my website? Do I need to create my own bank transfer instruction templates for each currency that mimics Stripe's?

Related Request ID(s)
https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xTnZSdHNLRDNtUWEwdUNULF9TSDc5STBjZXlaNklHSVltQ3RnRnhCSXllOUZOU0NL01001mjMujnN

What have you already attempted?
Reached out to Stripe support to no avail. Reviewed this resource: https://docs.stripe.com/payments/customer-balance/funding-instructions?dashboard-or-api=funding-instructions-api&country=us

What are you working on?
Showing the customer their bank transfer payment instructions in a formatted manner (outside of a Stripe hosted pebpages)

cursive heronBOT
#

@worldly warren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What information is required to set up an Individual Connected Account using the API?

Related Request ID(s)
?

What have you already attempted?
Documentation is information-overload

What are you working on?
Bill-splitting app and want to reimburse user

cursive heronBOT
cursive heronBOT
#

@obsidian ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We had a customer link a financial connection from MidFirst Bank Business account and we get an error on every balance refresh. This means we can’t really present a reliable balance they can pull into the system. Any ideas or a work around?

Related Request ID(s)
req_PzERiik4xmpdsX

What have you already attempted?
THis code works for FCAs with other banks.

#

@noble talon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to create a subscription with whatever price we want without firstly creating the reoccuring price?

I'm building a reoccuring physical service platform where user select a range of services e.g. (up to 10 range of services, hence hundred of combinations). The service selected will show a monthly subscription cost and hence needs to be dynamic based on what the user has selected. I haven't been able to create a subscription via the API with whatever entered value I want as it asks for a reoccuring price ID.

Related Request ID(s)
Looks at Docs

What have you already attempted?
https://docs.stripe.com/products-prices/pricing-models

Read the above but it doesn't specify ability to create dynamic subscription prices.

What are you working on?
Building a reoccuring physical service platform where user select a range of services e.g. (up to 10 range of services, hence hundred of combinations), hence require dynamic subscription price.

cursive heronBOT
#

@waxen flower pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi guys, I am allowing users to configure their default payment and billing details in a specific component, then in another component I let them create/update their subscription by selection between 4 plans. My backend correctly create the invoice in open mode with the right prices but i can never get back a payment_intent to give a client_secret to my frontend. I have been stuck on this for hours while it used to work in my php integration now node just does not work. If I make the customer pay 1 payment, I can then update the subscription correctly and it charges prorata instantly.

Related Request ID(s)
req_amBd8GEKvXp6Fe

What have you already attempted?
I have tried so many different ways to get the subscription payment_intent but nothing works. The expected expand : latest_invoice.payment_intent gives : This property cannot be expanded because it doesn't exist: payment_intent But if I check the stripe dashboard there is a payment_intent created. subscription = await stripe.subscriptions.create({
customer: client.stripeId,
items,
default_payment_method: defaultPaymentMethodId,
payment_behavior: "default_incomplete",
expand: ["latest_invoice.payment_intent"],
automatic_tax: { enabled: true },

What are you working on?
Im working on a saas and refactoring it fully to react. Basically 1:1 logic for payments taken from php into react using node as backend.

cursive heronBOT
#

@surreal chasm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My user encountered a problem. When a customer upgrades from a one-year subscription to a two-year subscription, the ending_balance parameter and the UNIX end time of the billing cycle are incorrect.
In the test mode (req_jUg5r6JqpGkyCC), we can see that the UNIX end time before the customer upgrades the subscription is 2025 and 2026, and the billing period is 2025 and 2027 after upgrading to a two-year subscription.
However, in the live mode (req_PtVRUpmin7wWm8), the ending balance(-3057; supposedly 23335), and the billing period remains unchanged in 2026, even though the subscription is not

Related Request ID(s)
req_jUg5r6JqpGkyCC req_PtVRUpmin7wWm8

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/change-price#:~:text=you can delete the current subscription item and create a new subscription item with the updated price.

cursive heronBOT
#

@sour idol pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
apple pay is not loading in safari

Question
apple pay is not loading in safari

What have you already attempted?
apple pay is not loading in safari

What are you working on?
apple pay is not loading in safari

cursive heronBOT
#

@charred lodge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I set a fixed currency for a customer when creating the customer through the API? There is a 'currency' attribute on the returned customer after creation but I really cant figure out how to change this. The only remotely close I can find is the 'preferred_locales' which I don't get if it does anything else but set the locales for the customer in the customer protal and I don't get what kinds of strings are valid for this?

Related Request ID(s)
req_4UqNTlKVKPx03N

What have you already attempted?
I have attempted to look at the documentation: https://docs.stripe.com/api/customers/create?api-version=2024-09-30.acacia&shell=true&api=true&resource=customers&action=create

What are you working on?
I'm integrating Stripe for invoice payments into my dotnet web app.

cursive heronBOT
#

@glossy oak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are trying to use `pay_immediately` feature while creating a subscription. We are planning to set it to false, so we could make few changes to the invoice post subscription creation like adding tax from other providers, but when we do so, the payment / card does not gets validated at stripe's end. We do not receive back the payment_intent in the subscription invoice response , so clientSecret is not present which we use it to verify the payment at our end

Related Request ID(s)
req_IL7NGEqviPUGsN

What have you already attempted?
I tried setting `pay_immediately` as false and removed the `payment_behaviour` param

cursive heronBOT
#

@twin orchid pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
(For Discord Bot Verification)

Identity Verification Needs Action
We are unable to verify your identity because one or more of the documents you provided are invalid. Please try again.

Question
I'm trying to verify my identity for Discord bot verification using valid Indian government IDs. I first used my Aadhaar card, then tried my PAN card multiple times (which Stripe lists as accepted). All were high-quality images. Please help me understand why it's still being rejected. I hope you can assist, as Stripe is the official verification partner for Discord.

What have you already attempted?
I tried verifying with my Aadhaar card (government ID) and then multiple times with my PAN card. Both are government-issued and clear. I’ve reviewed the accepted document list, ensured image quality, and confirmed my info matches. Still getting the same error.

Reproduction Steps
Click “Verify Me” on Discord Developer Portal

Upload PAN card (front and back)

Click submit

Gets submitted

Get error: “Identity Verification Needs Action”

Repeat with new and clear images, same result

What are you working on?
I'm building a public Discord bot that offers utility features for communities

#

@lyric basin pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When changing the tax type of a subscription the prorations should be done correctly

What actually happened?
The previous invoice had a flat discount of 40€ in the total and in the current invoice it substracted 40€ for each invoice line

Reproduction Steps
Create a subscription with 0% tax and a coupon of a flat discount of 40€, then update the subscription tax type to 21%, in the next invoice you will have a proration with the 0% invoice lines refunded and with the 21% now but each line will have a 40€ flat discount applied so if the previous total was for example 100*2 -> 200 -40 -> 160 now is (100-40)*2 -> 120

Question
Is this correct? I'm doing something wrong when updating the subscription tax type?

What are you working on?
We are building a SAAS

#

@wise shuttle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can we retrieve via the API the list of all billable emails for the customer?

Related Request ID(s)
Dashboard > Customers > [id]

What have you already attempted?
I attempted to extend the invoicing property of the customer object, but I cannot get all of the customer emails, and I need them to send them notifications via each email they have

What are you working on?
Subscription Management system

#

@uncut tundra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currently we are using stripe payment intents api to complete payments for our endusers. What i would like todo is when that payment intent succeeds create an invoice and link that invoice to the payment intent.

Stripe checkout does can do this on the fly. But we have our own custom in-app checkout flow. From the invoices perspective i can create an invoice but that invoice does not have a payment intent id i can pass to the application for payment.

Is there maybe a workaround the idea is since we work with B2B we just want to issue an invoice instant after payment.

Related Request ID(s)
req_8c7ScupVuQFy73, req_6yEGPXqFvyu7AJ

What have you already attempted?
Creating the invoice and checking if there is a payment intent id.

What are you working on?
IOS/Android application with in-app checkout.

cursive heronBOT
#

@vocal wagon pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices/object

Question
I want to expand "charge" and "payment_intent" inside invoice object.
payments-> data-> payment-> charge
payments-> data-> payment-> payment_intent

What have you already attempted?
Here is my code snippet please check it.

```
await this.stripe.invoices.finalizeInvoice(stripeInvoice.id, {
expand: ['payments', 'payments.data.payment.charge', 'payments.data.payment.payment_intent'],
});
```

#

@mystic roost pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
https://api.stripe.com/v1/tax_rates is not accepting latest state code for India. https://www.iso.org/obp/ui/#iso:code:3166:IN from this reference we can see latest state fro Telangana is TS but API through error it accepts older code TG

Related Request ID(s)
req_IYi5etkihvj6oj?t=1747813324

What have you already attempted?
gone through docs

What are you working on?
building checkout pages using stripe

#

@stark bay pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have received an overwhelming number of payment requests using Stripe link, which isnt currently being handled properly by our system. Theres a few questions: sometimes in the stripe console, the customer will have a payment method with a link icon AND a card icon (e.g. VISA), but sometimes they will just have the LINK icon. what is the difference? we are also having issues integrating link payments into our flow. what is the best way to handle link wallet payments

Related Request ID(s)
n/a

What have you already attempted?
We have looked into link payments, and i have collected and store the stripe_mandate_id, such that i can pass it to paymentIntent.confirm(updateBuilder.build()). This works on successful cards, (e.g. test card 4242) but for cards that required 3ds (e.g. 3184) this doesnt work, and returns an error

cursive heronBOT
#

@balmy hedge pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi is it possible to have a webhook only run on express checkout like google/apple pay?

Related Event ID(s)
evt_3RNv9jI0mg5XUkop1XomOyeJ

What have you already attempted?
Normal checkout is fine just want a webhook on the express checkouts to gather the customer name/address details etc (normal checkout these already exist on the website)

What are you working on?
ecommerce website

cursive heronBOT
#

@loud zinc pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
hi, i have stripe app for connecting to stripe app.
if i need to change the ownership of the plugin how it can be done.

Question
i have stripe app for connecting to stripe app.
if i need to change the ownership of the plugin how it can be done.

What have you already attempted?
nothing

cursive heronBOT
cursive heronBOT
#

@tiny estuary pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My backend generates the id of all invoices and refunds. We have an internal logic for sequences. Can from the API, send a custom id that i want for each invoice? Now we want to sync with taxually and we need to use our invoiceIDs not the ones generated by Stripe.

In summary, i want to decide the string invoice.id from our backend, not generated by stripe.

Doc/Guide Links
https://stripe.com/en-es/resources/more/what-is-an-invoice-number-what-it-is-used-for-and-how-it-is-created

What are you working on?
Integrating with Taxually for non-Europe market.

cursive heronBOT
#

@mystic roost pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
#dev-help message going back with help qs already asked since it was closed starting anthort

we have tried the IN-TS but does n't work

Related Request ID(s)
req_IYi5etkihvj6oj?t=1747813324

What have you already attempted?
doc and etc

What are you working on?
as mentioned in the thread

#

@surreal chasm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
a customer upgrades from a one-year subscription to a two-year subscription, the ending_balance parameter and the UNIX end time of the billing cycle are incorrect.
In the test mode (req_jUg5r6JqpGkyCC), we can see that the UNIX end time before the customer upgrades the subscription is 2025 and 2026, and the billing period is 2025 and 2027 after upgrading to a two-year subscription.
However, in the live mode (req_PtVRUpmin7wWm8), the ending balance(-3057; supposedly 23335), and the billing period remains unchanged in 2026, even though the subscription is not updated to two years.

Related Request ID(s)
live mode (req_PtVRUpmin7wWm8)

What have you already attempted?
Enabling test mode will distinguish between single year and multiple years according to different cycles. When upgrading to live mode for two years, the two years will be counted as one year, and the amount will also be counted as one year's amount. You don't need to test in the test environment because I know the test environment is fine, only the live environment has this problem

cursive heronBOT
#

@pulsar rune pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am completely lost on how to create a simple "payment plan" with the Stripe API. The only way I know how is to -> set up a payment intent, give the secret info to stripe (in a blade file on laravel), they check out. The success hits a webhook, we then create their user account (they have no user account yet) and attach the stripe info to it. We then make a subscription that has the cancellation date and are good to go. Surely there is a way to do this in 1 step with the subscription from the get go? With SetupIntent, or something else? What am I missing. PHP, Laravel, Stripe, blade, etc.

Related Request ID(s)
none?

What have you already attempted?
I know how to achieve this with payment id -> subscription on webhook with cancellation date.

What are you working on?
payment plan for saas via stripe api

cursive heronBOT
#

@balmy hedge pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi how do I get the customer "billing" name from apple/google pay express checkout? I can get the shipping name/address fine but I'm not sure which object the billing name appears in?

Related Event ID(s)
evt_3RRAq4IDAO7vvncv1KTc34Im

What have you already attempted?
Everything functions fine just not sure where the billing name is stored to retrieve in a webhook

What are you working on?
ecommerce website

#

@winter shuttle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have two accounts now we are using keys of first account. Our comapny wants to switch to second account but we have connected account for first acounts. We want to use second account from now but want to use connected accunt of first account.

how can we do that?

Related Request ID(s)
No id

What have you already attempted?
Tried to search in docs

What are you working on?
API

cursive heronBOT
#

@random solstice pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Stripe blocks payments to protect you from risks that affect all users, regardless of your usage of Radar. Learn more about blocked payments

Question
Why is Stripe blocking my payments?

The blocked payments are not appearing in Radar, and there are no metrics indicating any blocked activity. This issue is occurring frequently, and I’m unable to identify the cause.

pi_3RRBOuE0e5erK45r1VypY4Ug

What have you already attempted?
I'm using Stripe checkout directly; I've reviewed the radar rules and enabled 3Ds verification - but Stripe blocks payments with successful 3Ds verification; I've contacted Stripe support by email, but they don't know what to do.

#

@lone adder pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
.......................

Question
I am using Stripe Payment Element I want to show the "Save Payment Method as Default"checkbox in payment element .

What have you already attempted?
I have already hide the "Save Payment Method for Future Use" checkbox. But now I want to display checkbox - "Save Payment Method as Default

cursive heronBOT
#

@cold plover pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/ach-direct-debit/set-up-payment?platform=web&payment-ui=elements

Question
Hi there,
In an another thread yesterday I was advised this guide to build a system for my Ecommerce site where users will add their preferred payment method in their profile for later use.

What have you already attempted?
I have done most of the things and I am able to create a payment method on Stripe successfully.

What are you working on?
Now I have a couple of questions,

#

@prisma thicket pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
binding.webView.apply {
webViewClient = MyWebViewClient()

isVerticalScrollBarEnabled = true
isFocusable = true
isClickable = true
isFocusableInTouchMode = true
descendantFocusability = ViewGroup.FOCUS\_AFTER\_DESCENDANTS
requestFocus\(\)

loadUrl\(url\)

}

Question
I'm adding a WebView in my app for Apps On Devices. But the WebView isn't scrolling at all.
I'm using the S700 DevKit that's running on Android 10. The same Web page using the same code works fine on a mobile device or an emulator.

What have you already attempted?
- Verified scrolling works on other devices
- Enabled all WebView settings
- Tested with large dummy HTML
- Switched between hardware/software layers
- Adjusted touch listeners (true/false)
- Forced focus (requestFocus())
- Ensured layout is match_parent
- Wrapped in focusable container
- Set clickable flags
- Delegated touch via onTouchEvent

What are you working on?
A Payment app that works on S700, and adding a Reports feature that's built on Web.

cursive heronBOT
#

@swift thorn pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Apple Pay to be displayed as an option on Stripe Elements

What actually happened?
Apple Pay does not display as an option in our base case scenario

Reproduction Steps
Launch our checkout via GET TICKETS button on event page, add tickets to order, enter buyer details, load pmt info step, and Stripe only displays card option, no option for Apple Pay. (https://www.universe.com/events/test-gbp-tickets-197RKX)

Oddly, the Apple Pay option does show when I load my checkout directly (https://widgets.universe.com/682dd5cc71da7e002debdb8d)

Question
I've added both subdomains to my Stripe account - I'm wondering if there's something off in our implementation that I'm missing.

What are you working on?
A new checkout flow for a ticketing platform.

cursive heronBOT
#

@real storm pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I’m implementing custom checkout elements. I am using React, but all of the docs seem to imply that the React components have significantly less options. Is this the case or am I misunderstanding?

Doc/Guide Links
https://docs.stripe.com/js/custom_checkout/react

https://docs.stripe.com/js/elements_object/get_value_address_element

What are you working on?
It seems there’s much less control over appearance, layout, less element options, etc. Am I misunderstanding?

#

@stark bay pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a few questions, we are looking at link payments and reworking our flow slightly to accomodate them.
is it possible to get the last 4 card digits from a Link payment?
is it possible to test mandate expiration? i.e. is there a way to test receiving mandate.updated webhooks so that we can handle it accordingly?

Related Request ID(s)
n/a

What have you already attempted?
above

#

@tacit orchid pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/mobile/digital-goods/custom-checkout

Question
I am developing a US only mobile app that will sell subscriptions. I use Stripe for digital subscriptions purchased externally via web checkout.

Apple rejected app under Guideline 3.1.1, stating I must use in-app purchase (IAP) for subscriptions unlocking features within the app. They also noted accessing content purchased externally without IAP option.

US guidelines now allow linking to external purchase methods, but Apple states this doesn't override IAP requirement for in-app unlocks.

What have you already attempted?
- Implemented a web-based Stripe checkout flow.
- Set up server-side webhooks (subscription creation, payment success) to receive Stripe events.
- Developed app/backend logic to authenticate users and check subscription status based on webhook data for content access.
- Integrated Stripe SDKs for mobile/web communication.
- Reviewed Stripe documentation on subscriptions, webhooks, and mobile integrations.
- Communicated with Apple App Review regarding their GDL 3.1.1 rejection and external link permission in the US.

#

@uneven crag pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a USA account and want to enable PIX as payment method.
For payment links, works well, but I didn't find a way to enable this for invoices.

How to?

Related Request ID(s)
N/A

What have you already attempted?
final InvoiceCreateParams invoiceParams = InvoiceCreateParams.builder()
.setCustomer(stripeCustomerId)
.setCurrency( order.getUser().getCurrency().getCode().toLowerCase() )
.setAutoAdvance(false)
.setPaymentSettings(
InvoiceCreateParams.PaymentSettings.builder()
.addPaymentMethodType(InvoiceCreateParams.PaymentSettings.PaymentMethodType.CARD)
.putExtraParam("payment_method_types[]", "pix")
.build()
)
.build();

#

@mellow glade pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to use Stripe Express Connect and have clients purchase terminals for themselves and they are billed vs us needeing to bill it

Related Request ID(s)
N/A

What have you already attempted?
Looking a tdocs

What are you working on?
Stripe Terminals

#

@jade oriole pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/balance/balance_object#balance_object-instant_available

Question
Test environment

How can I get a balance to appear in instant pay account? Specifically "Available to instantly pay out"

What have you already attempted?
I've linked a eternal account that is instant pay eligible. The Available to pay out balance does show available funds

What are you working on?
Integrating Instant pay

#

@smoky pasture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting the following error:

Cannot create a destination charge for connected accounts in US because funds would be settled on the platform and the connected account is outside the platform's region. You may use the `on_behalf_of` parameter to have the charge settle in the connected account's country. For more information on `on_behalf_of`, see https://docs.stripe.com/connect/destination-charges#settlement-merchant. If using capabilities (e.g. `card_payments`, `transfers`), note that they affect settlement as well. For more information on capabilities, see https://stripe.com/docs/connect/acco

Related Request ID(s)
evt_3RPqlaH19Ab5LLaZ0pP01o2P

What have you already attempted?
We are just getting this error, it is an app based in booknetic (SaaS) , so it has connected accounts, but customers are facing this error after submitting payment during checkouts. Not sure if we are making an error on Stripe Connect options, or is it just a general Stripe restriction?

What are you working on?
Bookings app with multiple vendors (connected accounts)

#

@limber compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Issue invoices to customers paying with Mondu or Billie

Related Request ID(s)
na

What have you already attempted?
We are trying to integrate Billie and Mondu into our checkout flow (via API). We are using stripe invoices and are wondering how we can best achieve:

  1. letting a customer pay via Billie
  2. We receive the amount
  3. We automatically issue an invoice to the customer

We talked to the Billie support but they seem clueless... I know its not possible straight forward but is there a recommended way to perform this with a chain of API calls or something? Would be awesome to get some hints or pointers here.

Thanks

What are you working on?
Ecomm

#

@spring lantern pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have to add this 'rak_margin_read', 'rak_credit_note_read' to my permissions

Related Request ID(s)
req_sjnrFMQeJIXwcE

What have you already attempted?
I can't say, I have no idea what these are, I have set my perms to be so user has write ability or subscriptions

cursive heronBOT
#

@raven torrent pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
A processing error occurred

Question
Hi, I am indie author with an account with Reedsy and I am trying to update my new debit visa card to my account but I keep getting an error message back to me. Can you fix this?

What have you already attempted?
I talked to both Reedsy and my bank about the issue. The issue is clearly not on my bank side, but on Stripes and Reedsy side of things. I have shared screen shot of the error message to Reedsy and explained that I have a payment coming up for my proofreader and I want to make sure I can pay them.

cursive heronBOT
#

@tepid bloom pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
stripe.checkout.Session.create()

give me

Something went wrong
The specified Checkout Session could not be found. This error is usually caused by using the wrong API key or visiting an expired Checkout Session. Please make sure the Session is not expired and that the API keys used to initialize Stripe.js and create the Checkout Session are test mode keys from the same account.

Related Request ID(s)
req_ahaTtw6TXZYsIf

What have you already attempted?
Checking api key and acct id

#

@strange ingot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there delay between when a payment intent is confirmed and the balance transaction on the application fee for the charge for that payment intent exists?

Related Request ID(s)
I can't find the specific request IDs for this

What have you already attempted?
We have a process that creates a payment intent, then confirms, then looks up the charge, from the charge it gets the application fee, and from the application fee it gets the balance transaction so that we can find the exchange rate at the time of the transaction.

This has worked just fine retrieving these items immediately one after the other until today. When we retrieve the application fee, the balance_transaction value is NULL. If I wait a few seconds and try again, the ID for the balance transaction is there.

What are you working on?
A web application

#

@buoyant loom pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We currently use Stripe’s Bank Transfers / virtual account numbers to collect payments in the U.S. Could you please confirm whether these virtual bank accounts can accept incoming international SWIFT wires (USD) sent from non-U.S. banks?
If yes, are there any specific requirements or limitations (e.g., supported countries, intermediary fees, hold periods)?

We integrate with Chargebee and right now, it does not let me create a virtual bank account for customers with billing addresses outside the USA. I think that is wrong though. My understanding is that the VBA works like a regular bank account so international clients can wire money to it.

Thank you!

Doc/Guide Links
https://docs.stripe.com/payments/bank-transfers

What are you working on?
A SaaS business

#

@sudden forum pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
export default {
"id": "com.example.balance-due",
"version": "0.0.4",
"name": "Balance Due",
"icon": "https://raw.githubusercontent.com/nevenmarinkovic17/public-svg/main/business-finance-invoice-svgrepo-com.svg",
"permissions": [
{
"permission": "customer_read",
"purpose": "Allows the app to read information about the customer."
},
{
"permission": "invoice_read",
"purpose": "Allow app to retrieve customer's invoice objects"
}

Question
I'm trying to set a brand icon for my stripe app. I'm using a public github repository to store the svg I want to use for the brand icon. However, I'm getting the following error when trying to start the app from the command line:
[10:22:18] ERROR stripe-app.json
open https://raw.githubusercontent.com/nevenmarinkovic17/public-svg/main/business-finance-invoice-svgrepo-com.svg: The filename, directory name, or volume label syntax is incorrect.

What have you already attempted?
I've read the design page for UI extensions (https://docs.stripe.com/stripe-apps/design?locale=en-GB#branding-elements) as well as played around with my github repo link.

What are you working on?
Stripe App

cursive heronBOT
#

@rigid flame pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If the Card Account Updater is notified that a customer's card account has been closed, will the card automatically be detached and trigger a `payment_method.detached` event?

Related Event ID(s)
n/a

What have you already attempted?
I've tried doing some reading in the docs and asked the AI assistant baked into the Stripe dashboard. The AI assistant seemed pretty confident that the answer to my question is "yes" but I wanted to check in person to be sure.

cursive heronBOT
#

@soft swift pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create a subscription with two options: Recurring monthly (at price x) and 30 day non-recurring (at price y)

I am trying to use as many off-the-shelf Stripe components as possible.

A couple of requirements:
- checkout accurately reflects of the subscription is one-time or recurring
- A subscription is created (not just a purchase) so I can check if a customer has a subscription active

What's the best architecture for this?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/object?api-version=2025-04-30.basil#subscription_object-cancel_at
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=embedded-form
https://docs.stripe.com/sdks/stripejs-react?ui=embedded-components#checkout-provider

What are you working on?
A software subscription with a one-time 30 day purchase as well as a recurring monthly option

cursive heronBOT
#

@waxen elm pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Using Stripe’s browser-side JavaScript library, I expected `elements.update({appearance})` to to change the colors of the Express Checkout Element buttons.

What actually happened?
The colors of the buttons did not update, only the "See More" text color did.

Reproduction Steps
elements.update({
appearance: {
theme: isDark ? "night" : "stripe",
variables: {
colorPrimary: isDark ? "white" : "black",
},
}
})

Question
Is it a bug or am I doing it wrong?

What are you working on?
I want to toggle dark/light time of the Express Checkout when the users changes their browser color scheme

cursive heronBOT
cursive heronBOT
#

@normal dust pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to create SEPA payment method at Stripe using tokens created using Stripe JS. How to do it?

Related Request ID(s)
NA

What have you already attempted?

  1. Call this Stripe JS API to get the token.
  2. How to use this token to create a payment method in either Stripe JS or Stripe REST API?
cursive heronBOT
#

@mortal kindle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe Payment Element is throwing an error when attempting to pay with crypto

Related Request ID(s)
req_5A63gofyXsR3I1

What have you already attempted?
Nothing, I don't know why I am getting this error

cursive heronBOT
#

@limpid plume pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/forwarding/forwarding_requests/create

Question
We see that Token Forwarding is only supported for Cards. Does token forwarding also work for Digital Wallets, such as: Apple Pay or Google Pay?

Can we use token forwarding and imperatively request a token be forwarded at any time? We do not want to have all tokens forwarded as they are created in Stripe, only a subset of them.

What have you already attempted?
We are in the planning phase still so we haven't started testing the token forwarding.

What are you working on?
Building additional Token vaulting for specific payment methods

#

@slow elk pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Bank account payment methods added with manual entry that require verification do not get returned on the stripe.customers.listPaymentMethods method in the javascript sdk

Related Request ID(s)
req_5nrrGR5qExscBC

What have you already attempted?
Not sure what I can attempt here

What are you working on?
Allowing customers to add manual bank accounts and verify

cursive heronBOT
#

@ivory olive pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/address-element

Question
Is it possible to not show the Full Name on screen and just use the Address Element simply to capture address? I've got a multi-screen experience where customer information is already being captured in the previous screen so it's a little weird to have a name field again

What have you already attempted?
tried fields: {name: 'never',} in addressElementOptions

cursive heronBOT
cursive heronBOT
#

@grizzled ingot pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Stripe-react-native update from 0.33 to 0.46, android build cause "Task:stripe_stripe-react-native:compileDebugKotlin"

Question
any additional step need to be config on Android ?

What have you already attempted?
try changing version in android/app/build.gradle:
implementation 'com.google.android.material:material:1.13.0-apha13'
implementation 'com.stripe:stripe-android:21.12.0

Reproduction Steps
app running stripe version 0.33
yarn upgrade stripe-react-native
yarn build android

What are you working on?
ecommerce app

cursive heronBOT
#

@radiant totem pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/issuing

Question
The page mentions "Add physical or virtual cards to mobile wallets like Apple Pay or Google Pay through manual provisioning, in-app push provisioning, or web push provisioning." However, when I navigate to https://docs.stripe.com/issuing/cards/digital-wallets I don't see any mention of web push provisioning. I'm specifically interested in utilizing web push provisioning to add a Stripe-issued card to Apply/Google Pay digital wallets through either a mobile web app or webview in a native app. Is web push provisioning supported, and if so where can I find the documentation?

What have you already attempted?
Tried searching for web push provisioning with Stripe-issued cards.

cursive heronBOT
#

@pulsar rune pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how to set up a checkout for subscription with a specific cancel at date

Related Request ID(s)
none

What have you already attempted?
i see how to set up a session but not with a cancel_at date and subscription doesnt seem correct since we dont have a stored user?

What are you working on?
laravel, php, blade, alpinejs

#

@wooden musk pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
AmazonPay receipts should not show merchant phone numbers when the setting "Show phone number on receipts and invoices" is toggled off.

What actually happened?
AmazonPay receipts show the merchant name, support email, and phone number.

Reproduction Steps
1- Go to settings, business, business details, public details, toggle "Show phone number on receipts and invoices" off
2- Checkout with AmazonPay

Question
Can Stripe not send AmazonPay my customer support phone number?

cursive heronBOT
#

@sour idol pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
link can be copied so i can make couple of payment using setup intent ?

Question
link can be copied so i can make couple of payment using setup intent ?

What have you already attempted?
link can be copied so i can make couple of payment using setup intent ?

What are you working on?
link can be copied so i can make couple of payment using setup intent ?

#

@tender pulsar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Payment created in Stripe and linked to Stripe Invoice. However, response from Charges API doesn't return "invoice" value.

Related Request ID(s)
ch_3RQsq9Lpy9WKM3oQ0WPejb8A

What have you already attempted?
Try to query latest object from Stripe but still charge not returning invoice value

What are you working on?
Identifying if specific charges are linked to stripe invoice

#

@woven star pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have a problem with the payment API. I wanted to start from scratch and so I followed this tutorial: https://docs.stripe.com/payments/quickstart But the problem is that there is no longer autoload in the latest GitHub version, what is the solution to overcome this problem? https://github.com/stripe/stripe-php/tree/master

Related Request ID(s)
Developer

What have you already attempted?
Solution how to replace auto load

cursive heronBOT
#

@fair lichen pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const handlePaymentMethod = (event: StripePaymentElementChangeEvent) => {
console.log(event);
setPaymentMethod(event.value.type);
};

<PaymentElement
onChange={handlePaymentMethod}
options={{
layout: {
type: 'accordion',
defaultCollapsed: false,
}
}
/>

Question
Do I get Card Brand from PaymentElement component?

What have you already attempted?
I have tried to get it from onChange event, but I only get type as "Card", "Klarna" etc. I tried with CardElement, CardElement provides card brand but I want card brand with Payment Element

cursive heronBOT
#

@bronze orchid pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/features

Question
Can we resolve the problem related 3DS card when use subscription? Can charge automatically?

What have you already attempted?
We need to automatically charge cards that require 3D Secure (authentication for every transaction). Can we still use Stripe Subscriptions in this case, and how would 3DS authentication be handled during recurring billing?

cursive heronBOT
#

@crisp flare pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if (isReverseChargeApplicable)
{
options.Metadata.Add("reverse_charge", "true");
options.Metadata.Add("reverse_charge_note", "Reverse Charge: VAT to be accounted for by the recipient as per applicable tax law.");
}

private async Task UpdateInvoiceWithReverseChargeAsync(string invoiceId)
{
if (!string.IsNullOrEmpty(invoiceId))
{
var invoiceService = new InvoiceService(_stripeClient);

    var invoiceUpdateOptions = new InvoiceUpdat

Question
we want to implement the reverse tax in the stripe based on the country selection and the reverse tax related info we we need to show in invoice..but am not able to achieve this. please help

What have you already attempted?
if (isReverseChargeApplicable)
{
options.Metadata.Add("reverse_charge", "true");
options.Metadata.Add("reverse_charge_note", "Reverse Charge: VAT to be accounted for by the recipient as per applicable tax law.");
}

private async Task UpdateInvoiceWithReverseChargeAsync(string invoiceId)
{
if (!string.IsNullOrEmpty(invoiceId))
{
var invoiceService = new InvoiceService(_stripeClient);

    var invoiceUpdateOptions = new InvoiceUpdat
#

@turbid delta pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/customer-sheet

Question
Is there a web equivalent of the customer sheet?

What have you already attempted?
Added a save card checkbox in FE after the PaymentElement. Sending the checkbox value to our current BE flow saves the card but there is no way to remove the card. I think it's because our BE is setting the payment method at payment intent creation. Is there some UI we can leverage for card management

What are you working on?
Getting the web app to native app equivalency in terms of cards management

cursive heronBOT
#

@graceful stratus pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Something went wrong. Try again later or use another payment method. [OR_BIBED_08] OR_BIBED_08

Question
I have a few test environments that are connected accounts to the main one. Google pay doesn't work on the test environments, not sure about production

What have you already attempted?
I was trying to pay the intent by Google Pay

cursive heronBOT
#

@sage stag pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When creating a Stripe connect express account, and redirecting the user to the flow to complete the account, they should be able to prcoeed

What actually happened?
The user is met with an error saying 'The giropay_payments capability is deprecated.' For all account types confirmed in test mode, not sure about production

Reproduction Steps
Create new connect express account, launch the flow to complete the account setup

Question
This seems to have happened in the last few days as we successfully created a test account on Monday. Has something changed If not how can we get around this as it's currently blocking a of demos

#

@peak sluice pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
OR_BIBED_08 error

Question
I gotten the error code OR_BIBED_08 when i try the google pay button from https://docs.stripe.com/elements/express-checkout-element

What have you already attempted?
My development env and both https://docs.stripe.com/elements/express-checkout-element throw the same error OR_BIBED_08

What are you working on?
Testing on my integration with GooglePay

cursive heronBOT
#

@native crystal pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/sandboxes/dashboard/manage

Question
Is there a way to programmatically create a sandbox env?

What have you already attempted?
Asked the AI bot and it gaslighted me into thinking there is a way to do it. It even invented the `stripe sandbox` command.

What are you working on?
Feature branch deployment and testing for our SaaS product

cursive heronBOT
#

@coarse elbow pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Our integration takes card payments using Stripe Elements. We first create a PaymentMethod using the client-side JS API, then create a Customer server-side in Ruby with the payment method ID. After this we create a PaymentIntent, which may trigger 3D-Secure which we handle on the client by calling handleCardAction().

What actually happened?
A customer reported being unable to subscribe. The request to create a Customer failed with a 402 error, declining as "authentication_required". The user did not receive any 3DS challenge. https://dashboard.stripe.com/logs/req_3cmgcfZMRAaOs8?t=1747818451

Reproduction Steps
I have only seen this happen for one customer. I cannot reproduce this decline in our test environment using any of the Stripe test cards.

Question
Is it expected behaviour to see this 402 error on customer creation? If so, how should it be handled and are there any test cards which trigger this response?

What are you working on?
A Ruby SaaS app using Stripe elements with server-side confirmation.

#

@late sigil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any API that I can check if the account got MOTO enabled or not?

Related Request ID(s)
No ID

What have you already attempted?
Is there any API that I can check if the account got MOTO enabled or not?

#

@topaz belfry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
is this a bug? InvalidRequestError(message='Invalid duration: Forever duration is only allowed with percent_off coupons.', param='duration', code=None, http_status=400, request_id='req_4buF8WdinCfoeN')

Related Request ID(s)
req_4buF8WdinCfoeN

What have you already attempted?
is this a bug? InvalidRequestError(message='Invalid duration: Forever duration is only allowed with percent_off coupons.', param='duration', code=None, http_status=400, request_id='req_4buF8WdinCfoeN')

What are you working on?
stripe api version upgrade

cursive heronBOT
#

@slow tangle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Will currently active subscriptions that have an associated payment method that was generated with the Source API continue to function correctly even though the Source API has been deprecated?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
I work for a company that offers educational content

#

@tiny violet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Requirements:
- We're building a credit-based system ("Goodies") with metered billing, alongside Pro/Advanced (prepaid, burndown model).
- On Free plan join, create a Goodies subscription with CreditGrant.
- [Case1] Free → Pro/Adv: use BillingPortal to add Pro/Adv item to same subscription, charge prorated.
- [Case2] Pro/Adv → Free/other: update item price or remove if downgrading.
- Expect prorated pricing based on time left till next billing, and billing cycle to be unchanged

according to docs, Stripe BillingPortal can't update:
-- subscription with >1 item
-- metered-only subscription

Related Request ID(s)
any

What have you already attempted?
Alternatives Tried:
- On plan change, create a Checkout session to make a new Subscription with needed items.
- On success, delete the old Subscription.

Problem:
- Extra effort needed to delete instead of update.
- Prorated pricing is inaccurate—doesn’t deduct unused value from previous Subscription.

What are you working on?
We're building a credit-based system ("Goodies") with metered billing, alongside an existing Product which involves Pro/Advanced plans (prepaid, burndown model)

cursive heronBOT
#

@nimble viper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Ciao a tutti, sto cercando di specificare i payment_method_types all’interno di una Subscription Schedule (campo phases[n].payment_settings.payment_method_types) tramite API. In Dashboard vedo chiaramente che la creazione/aggiornamento dello schedule include questo parametro, ma nella documentazione ufficiale e via SDK non riesco a trovarlo. Qual è il modo corretto per passarli?

Related Request ID(s)
req_123456789abcdef

What have you already attempted?
Ho provato con Stripe.net v48.2.0-beta.2, aggiungendo un blocco ExtraParams["phases"] sul SubscriptionScheduleCreateOptions per iniettare manualmente il JSON con payment_settings.

Ho forzato l’header Stripe-Version: 2025-04-30 sia globalmente (via StripeClientOptions.ApiVersion) che su singola chiamata via RequestOptions.ApiVersion, ma continuo a ricevere “unknown parameters: payment_settings”.

Ho controllato la docs alla versione 2025-04-30 e confermato che le proprietà esistono in Dashboard, ma non vengono accettate dalle API Schedule.

cursive heronBOT
#

@reef dune pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working with the Payment Intents API, specifically focusing on refunds associated with Stripe payment intents. I would like to know the estimated time it takes for Stripe to process a refund in live mode.

I understand that refunds are processed immediately in the sandbox environment, but the timing in live mode can vary. Additionally, I am aware that the processing time may depend on the selected payment method. However, I would appreciate having an average time frame so that we can provide messages to users indicating how long it may take for their refund to be processed.

Thank you!

Related Event ID(s)
1

What have you already attempted?
Refunds in TEST mode

What are you working on?
Webhooks

#

@neon venture pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$bts = $client->balanceTransactions->all([
'limit' => 2,
'created' => [
'gte' => Carbon::parse($startDate)->timestamp,
'lte' => Carbon::parse($endDate)->timestamp,
]
], ['stripe_account' => $subsidiary->stripe_id]);
foreach ($bts->data as $bt) {
// HOW TO GET ALL CHARGES
$csv->insertOne([
$bt->id,
Carbon::createFromTimestamp($bt->available_on)->format('Y-m-d H:i:s'),
]);
}

Question
Hi
I want to get all payments/charges that are included in a balance_transaction. But I can't figure out how. I can see that there is a balance_transaction id in the charge object. But there is no filter/query/search attribute supporting a specific balance_transaction

What have you already attempted?
Tried the query language, but there are no supporting attributes.

What are you working on?
Detailed payout export

#

@naive sandal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using the Stripe API via .NET. We're using the subscription update endpoint to add a seat to an existing customer's subscription. This code has been running for 3 years and has not changed at all.

Today we received an error from the API when a customer attempted to add a seat to their account, saying: "Error: If invoice collection method is 'send_invoice', you must specify 'days_until_due'"

As mentioned, this has not changed on our side. Is this a bug/breaking change on Stripe's end?

Related Request ID(s)
req_gMm3EnOBklrSK0

What have you already attempted?
-

#

@drowsy kindle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
one of my connect accounts, acct_1QH8XRFmfYMJ873a, has a new customer that was created with a checkout session, cs_live_b1djtoTA2zjFZrPbJWxv2jF8I4sLjj5d4jUKrYD8bOURp0saSrBwsIUp9l,

Related Request ID(s)
acct_1QH8XRFmfYMJ873a, cs_live_b1djtoTA2zjFZrPbJWxv2jF8I4sLjj5d4jUKrYD8bOURp0saSrBwsIUp9l, pm_1RRL0KFmfYMJ873axYwTaj2L

What have you already attempted?
Oddly, it shows the payment method as "default" in stripe dashboard but when I get that customer's data from stripe I get this for the invoice_settings:
{'footer': None,
'custom_fields': None,
'rendering_options': None,
'default_payment_method': None}

This is odd because the most recent event in stripe clearly shows the payment method in the invoice settings:
"invoice_settings": {
"custom_fields": null,
"default_payment_method": "pm_1RRL0KFmfYMJ873axYwTaj2L",
"footer": null,
"rendering_options": null
},

What are you working on?
customer support

cursive heronBOT
#

@dusk snow pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a need to check whether the card that a user has added "requires action" (e.g. 3DS) on every transaction. For example, this card 4000002760003184 from [stripe docs][1] is supposed to require it on every payment, so I can't use it off session.

My current approach is to check whether the card I already authorized one time requires action on an off session payment intent. I first have the user add the card -> authorize it -> create a payment intent that is "manual" (i.e. doesn't charge until I capture it), and see whether it requires action -> and then cancel the intent.

My question is - is this allowed, and will I get flagged?

Doc/Guide Links
My question is - is this allowed, and will I get flagged? This test card, when set up (2) for off session use, does say that it can be used off session by the set up intent response, but still requires authentication when I do create the off session payment intent.

I have heard that this is a card that is specifically designed to behave this way from github discussions, so maybe I don't have to worry about a "false positive" case in production?

1) https://docs.stripe.com/testing?testing-method=card-numbers#authentication-and-setup

2) https://docs.stripe.com/api/setup_intents

What are you working on?
Mobile application

cursive heronBOT
#

@topaz belfry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can i make a checkout session with the checkbox for save for future payments enabled?

Related Request ID(s)
nil

What have you already attempted?
can i make a checkout session with the checkbox for save for future payments enabled? whats the value ?

What are you working on?
stripe api version upgrade

#

@ionic canopy pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Users can successfully checkout with Apple Pay on Chrome desktop (with the QR code)

What actually happened?
When users submit orders from mobile, the browser QR code closes and triggers the onCancel event, which we use to reset the order for non-express checkout. But if this happens during payment submission, the order errors out and the user is still charged.

Reproduction Steps
Checkout with Apple Pay on Chrome desktop (with the QR code) and see that the onCancel event is triggered.

Question
We have disabled Apple Pay in Chrome for now, but we would like to understand the behavior better so we can enable it again on our platform.

What are you working on?
Apple Pay for Artsy.net checkout.

cursive heronBOT
#

@warped storm pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected methods that don't need a return_url to appear in my checkout

What actually happened?
amazon pay is available on my checkout and it needs a return_url

Reproduction Steps
I created a payment intent for my account with the parameters

automatic_payment_methods -> enabled -> true

automatic_payment_methods -> allow_redirects -> never

I saw on the checkout page that Amazon Pay is appearing

Question
How do I prevent methods that redirect the customer to another page from appearing in my checkout?

#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can we use stripe-terminal-react-native in our production app, is it safe ?

Related Request ID(s)
a

What have you already attempted?
can we use stripe-terminal-react-native in our production app, is it safe ?

#

@opal wedge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We expected both SEPA and card payment methods to be available in the Customer Portal, as they have been until now. No changes were made on our end that should have affected available payment options.

What actually happened?
Since approximately two days ago, the card payment option has disappeared from the Customer Portal. Only SEPA is now available, which is not the expected behavior.

Reproduction Steps

  1. Access the Customer Portal via API as usual.
  2. Open the payment method section for a user.
  3. Observe that only SEPA is available as a payment method, card is missing.

Question
Has there been any recent change on your side that could explain the disappearance of the card payment method in the Customer Portal?

What are you working on?
I work for a company that uses Stripe to manage payment methods and the various subscription plans for its users.

cursive heronBOT
#

@indigo surge pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Payments and payouts paused until requirements met
Provide some additional required information to resume payments and payouts.

Question
Why am I seeing the message: ‘Your question must be between 30 and 369 characters’? I need help understanding what’s causing it and how to resolve it properly.

What have you already attempted?
I’ve submitted all the necessary requirements, including my bank information where the funds should be transferred, but I’m still getting the character limit error.

Reproduction Steps
I accessed the form, filled in all required details, and submitted bank info. The error shows up when I try to send the form. What specific format or input should I use to meet the character rule?

What are you working on?
Promoting my First Book "The Professional Graphic Designer"

#

@kind nova pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm calling `$StripeClient->applePayDomains->create(...)` successfully against API Keys for TestMode/Test Sandbox accounts however there is no indication in the Dashboard or developer console of these events ran on the account. Is this API reflected in the Dashboard/Developer Console. How can we confirm that the results of this API are working in a test environment. I can see in the response that `livemode` => false so I'm not worried that I'm accidentally calling against production.

I am aware that this is an old API/SDK version.

Related Request ID(s)
Unable to see request in developer console

What have you already attempted?
Have attempted in both test mode and sandbox environment.

What are you working on?
Building tests around our onboarding script for new clients that registers their domain for apple pay. We're building tests currently to help in upgrading to the latest Stripe SDK.

cursive heronBOT
#

@upbeat trellis pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
This code is invalid

Question
I have created a coupon code and have attached it to a subscription product. I keep getting an error when I test to make sure that it is working.

What have you already attempted?
I have tried it in incognito browser and other device. Deleted and recreated. Ensured it was connected to proper product. Tried changing ID. Tried doing with and without customer facing coupon code.

Reproduction Steps
go to this link: https://buy.stripe.com/3cI00j0kK7a9cefdJw5gc0h
Try this coupon code and click apply: FAMILY-FRIENDS

What are you working on?
option for someone to purchase my website maintenance plan and get a family discount

#

@mellow glade pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why am I getting an error code regarding application fees for a client in Mexico

Related Request ID(s)
N/A

What have you already attempted?
Not sure where to start

What are you working on?
Stripe Connect Express Platform > Customer tried to purchase and couldnt because of an error

cursive heronBOT
#

@nimble viper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the Dashboard I can create a schedule “from subscription” and choose a custom start date for when that subscription actually begins. When I call POST /v1/subscription_schedules with from_subscription and include start_date I get:

You cannot set `start_date` if `from_subscription` is set.

How can I specify a future start date via the API when creating a schedule from an existing subscription?

Related Request ID(s)
req_3c9c1ea2-9dcf-98b3-7eb5f3b9

What have you already attempted?
Created a Subscription first, setting payment_settings.payment_method_types successfully.

Tried CreateAsync(new SubscriptionScheduleCreateOptions { FromSubscription = sub.Id, StartDate = … }) and received the above start_date error.

Built the schedule entirely from scratch (dropping from_subscription) which allows start_date but loses the inherited payment settings.

Experimented with trial_end on phase 0 to delay the first invoice, but that doesn’t satisfy the requirement of delaying the subscription start itself.

Verified I’m calling with Stripe-Version: 2025-04-30 and correct SDK version

cursive heronBOT
#

@drowsy kindle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
One of my connect clients adds a payment method from the dashboard but the API shows it as the "default_source" instead of "default_payment_method".

Related Request ID(s)
cus_SLxS3IyFC151Fj, acct_1QH8XRFmfYMJ873a, evt_1RRFZ3FmfYMJ873aRd8Y4S2a

What have you already attempted?
My understanding was that sources was the old way of doing things and now everything should be set as a "payment method".

What are you working on?
stripe conenct integration

cursive heronBOT
#

@weary hare pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currently Building a website with an integration for payment from stipe. I need to enter in a " Test Singning Secret " & " Live signing secret" Im just looking for guidance of where may i find that information regarding my account

Related Request ID(s)
.

What have you already attempted?
I've looked in support articles on the website

What are you working on?
Payment integration on website

cursive heronBOT
#

@crimson bone pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
subscription = stripe.Subscription.create(
customer=customer.id,
items=[{"price": price_id}],
trial_period_days=4,
discounts=(
[{"promotion_code": promotion_code["id"]}]
if promotion_code
else []
),
)

Question
I am wondering what is a good way to ensure that users

  1. Do not have two subscriptions active at one time
  2. Cannot start a new free trial with the same account

What have you already attempted?
What I do is manually check during the checkout flow whether that email has any active subscriptions, if so it cancels them, also I check for if they have had past subscriptions with free trials. If so I do not give the trial_period_days. Is there a way to do this less manually?

What are you working on?
A subscription service platform

cursive heronBOT
#

@hybrid hemlock pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/customize-payment-methods?client=html#filter-card-brands && https://docs.stripe.com/js/elements_object/create_without_intent#stripe_elements_no_intent-options-disallow

Question
Hello, I'm curious if there is an error in documentation as they seem to point to the same Payment Elements attribute of disallowedCardBrands but they specify two different values for American Express - one of them is "american_express" and the other is "amex".

What have you already attempted?
We have tried "amex" so far. Team is doing an update now with the other option.

What are you working on?
We are trying to implement Payment Element and remove AMEX as an option.

#

@azure bane pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
class StripeProcessor:
def __init__(self):
self.client=StripeClient(current_app.config["STRIPE_API_KEY"])

def create\_new\_customer\(self, data\_in\: dict\)\:
    return self.client.customers.create\(
            name="Jane Doe",
            ...\)

Question
Why does the old method of making calls to the stripe api work with no issue but when I follow hot to use StripeClient on the github, I get the following error
TypeError: CustomerService.create() got an unexpected keyword argument 'name'
Im following based on information from the github docs and the intellisense definitions

What have you already attempted?
def __init__(self):
import stripe
#self.client=StripeClient(current_app.config["STRIPE_API_KEY"])
stripe.api_key = current_app.config["STRIPE_API_KEY"]
self.client = stripe

def create_new_customer(self, data_in: dict):
return self.client.Customer.create()

Swapping to the old way successfully created the user

What are you working on?
Scheduling software with auto billing

cursive heronBOT
#

@golden osprey pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.stripe.com/v1/elements/sessions?customer_session_client_secret=___

also

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://merchant-ui-api.stripe.com/link/get-cookie?referrer_host=____

Question
Why does this error happen and how do we prevent it? It seems like it's a policy on Stripe's side but I'm not sure. I'd love just to know where to look more or less than anything else.

What have you already attempted?
Since we haven't been able to reproduce it there wasn't a way to truly verify that it's been fixed but we've looked into updating our Content Security Policies if it is something on our end. I've double checked our integration to search for fixes but did not find anything of value.

Reproduction Steps
We're actually unable to reproduce it, we tried a bunch but the error doesn't occur in our office. Buyers reproduce it by trying to load a payment element but not succeeding. We've had 250k+ successful payments with Stripe and only a few people running into this issue. We're assuming it may have to do with a firewall or network/browser issue but don't know for sure.

What are you working on?
Getting the payment element to load consistently without throwing an error

cursive heronBOT
#

@odd stream pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hi there,

I'm attempting to preview a credit note for this invoice in_1RRgWDDAWTp2PXOwGpGIY5jk

Related Request ID(s)
in_1RRgWDDAWTp2PXOwGpGIY5jk

What have you already attempted?
I've been able to create a credit note for different types of invoices but I'm noticing this issue only happens for invoices with discounts.
- I have verified I am sending the correct amounts and the total amount is equivalent to the entire invoice amount that was paid.

What are you working on?
Building a credit note flow for our own UI

cursive heronBOT
#

@mental verge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How should we do for error "setup_intent_authentication_failure" ? Our customer register his credit card, and complete required action, but stripe flutter bottom sheet shows error.

Related Request ID(s)
evt_1RRTpqD8lzQcPy988gvTqzqa

What have you already attempted?
check the error message of the event

#

@hushed crest pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const cardData = {
number: cardNumber,
expMonth: parseInt(expMonth, 10),
expYear: parseInt(expYear, 10),
cvc,
};

        // Temporarily hardcode card details to test if the issue is with input
        const paymentMethodResult = await createPaymentMethod\({
            paymentMethodType\: 'Card',
            paymentMethodData\: cardData,
        }\);

Question
I am receiving an "Unknown parameter received: client_secret" when attempting to place a test order.

What have you already attempted?
I have attempted using various api versions for my backend route, and have tried using older versions of '@stripe/stripe-react-native'

What are you working on?
I am building a modal that allows customers to make purchases.

#

@stray skiff pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking to add a token/usage based billing service similar to OpenAI's to my express API. I would like to offer both Pre-Paid & Post-Paid options so I am working with Meters. I would like to bundle my meter requests as I have an API that at peak time can receive well above 1000 requests/sec.
Many users have different permissions as to how many requests they can make to our API, anywhere from 1rps to +25rps.
From my perspective there are many routes I could go for bundling so I am looking for tips/practices:
- Bundle within timeframe (send after 1s, 15s, 1m, etc)
- Bundle based on user request limit (send after 1-25 requests)
- Bundle based on arbitrary # (25, 100, 1000)

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage-api#rate-limits

What are you working on?
Usage Based Billing via "Tokens" for my API (>1000 requests/sec)

cursive heronBOT
#

@humble jay pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Trying to add a cofounder but the field is not allowing me to do so

What actually happened?
Fields become uneditable and jumps to the equity stake without ability to add cofounder

Reproduction Steps
Filled in first cofounder but when I select + a cofounder it does not allow me to

Question
Please help me make the add cofounder field available

cursive heronBOT
#

@glad owl pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Invoice property must be not null

What actually happened?
Invoice is null, while payment_intent exists and have invoice object

Reproduction Steps
Intermitent issue. Happen not at every time

Question
My platform creates a Checkout session of mode "payment" and enabled invoice creation (req_i6152DuSY6D2T4). Customer completes session and redirected to platform. Platform fetches Stripe session using id from the query string. But session object does have "invoice" as null but payment_intent object has correct invoice id stated. Happy to share the dump of such reques

What are you working on?
Stripe connect platform

cursive heronBOT
#

@vagrant willow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
enabling wechat pay for payment options only shows pending. it has been 3 days

Related Request ID(s)
n/a

What have you already attempted?
i tried enabling wechat pay and it just shows pending

What are you working on?
on connecting wechat pay as an option

#

@grizzled ingot pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
> Task :stripe_stripe-react-native:compileDebugKotlin FAILED
e: This version (1.3.2) of the Compose Compiler requires Kotlin version 1.7.20 but you appear to be using Kotlin version 1.8.0 which is not known to be compatible. Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).

Question
I'm using react-native 0.73, with stripe-react-native 0.46, trying to use EmbeddedPaymentElement for Vault and Forwarding. All good from iOS, but build faild on Android with given error

What have you already attempted?
- try to downgrade Kotlin to 1.7.20 as message suggest
- try to set suppressKotlinVersionCompatibilityCheck= true, but also doesn't work
- try to upgrade kotline version 2 also doesn't work

Reproduction Steps
- react-native project with react-native version 0.73
- update stripe-react-native from 0.33 to 0.46
- run react-native run-android

What are you working on?
ecommerce cross platform app

cursive heronBOT
#

@exotic lotus pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are running a marketplace using stripe connect and are trying to uterlise radar, I know Radar for Platforms is in early access but we have not been able to get access to this. What I have been able to do is go into the connect account and start a trial and then turn on 3DS forced as well as lower the acceptable risk score from 75 to 50, but I would have to manually do this for 1400 accounts. I can not seem to find an API to allow me to activate radar in the account and then turn 3DS on and lower the score

Doc/Guide Links
https://docs.stripe.com/connect/radar

What are you working on?
Marketplace Platform - Radar Connect Accounts

cursive heronBOT
#

@fiery canopy pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected the payment process using the “PayNow” method through PaymentIntent to complete successfully. After the user scans the QR code using their banking app and confirms the payment, the event should be captured by our web listener, and the payment status should be updated accordingly on the dashboard.

What actually happened?
Most of the time, payments are processed successfully. However, occasionally, when a customer scans the QR code and completes the payment in their bank app, the app shows the payment was successful, but our web listener never receives the success event. Additionally, no corresponding successful event appears in the Stripe Dashboard.

Reproduction Steps

  1. Go to our React web page that initiates a PaymentIntent with PayNow as the only payment method.
  2. Use a banking app to scan the generated QR code.
  3. Confirm the payment in the bank app.
  4. Occasionally, the banking app shows payment success, but the event is not received by our listener, nor shown in the Stripe Dashboard.

Question
I’d like to know how to resolve this issue. Is this caused by something wrong in our implementation, or is it possibly an issue on Stripe’s end? Any guidance would be appreciated.

What are you working on?
Maintaining a React website that enables customers to place orders and pay using Stripe PaymentIntent with PayNow.

cursive heronBOT
#

@harsh island pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have linked the stripe account to rakosell, an online course platform. I was trying to set up in there and ask me to input the API publishable keys and secret keys. I followed the instructions and got verified by email and authenticator and the secret API section just show"try again" and did not reveal the API keys ever again. I have tried twice already with two different new account and still failed.

Related Request ID(s)
req_6ahMEilYaRoaPs

What have you already attempted?
I have created the new account and yet it doesnt work

cursive heronBOT
#

@nimble viper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the Dashboard I can create a schedule “from subscription” and choose a custom start date for when that subscription actually begins. When I call POST /v1/subscription_schedules with from_subscription and include start_date I get:
You cannot set `start_date` if `from_subscription` is set.

Related Request ID(s)
req_3c9c1ea2-9dcf-98b3-7eb5f3b9

What have you already attempted?
Created a Subscription first, setting payment_settings.payment_method_types successfully.

Tried CreateAsync(new SubscriptionScheduleCreateOptions { FromSubscription = sub.Id, StartDate = … }) and received the above start_date error.

Built the schedule entirely from scratch (dropping from_subscription) which allows start_date but loses the inherited payment settings.

Experimented with trial_end on phase 0 to delay the first invoice, but that doesn’t satisfy the requirement of delaying the subscription start itself.

Verified I’m calling with Stripe-Version: 2025-04-30 and correct SDK version

#

@blissful summit pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{
"error": {
"message": "You cannot provide the `usage=off_session` parameter when using a SetupIntent with a PaymentMethod of type paypal. Try again with a different payment method, or create a new SetupIntent with a different `usage` and try again.",
"param": "deferred_intent.payment_method_types",
"type": "invalid_request_error"
}
}

Question
Hi, I'm building a web elements stripe integration with the checkout session API. Only in production mode when I create a checkout session with a sum of 0€, no web elements are rendered, the place where they should appear is just empty. I'll attach a screenshot below

What have you already attempted?
Tested in sandbox mode, works.
Tried switching to a checkout that costs >0€, works as expected.

Reproduction Steps
Start a checkout session with custom web elements and set the product prices to 0€. Can't post live URLs publicly unfortunately. Here is my checkout session id though: cs_live_a1Z5LGCCV2EvHswaDVfJSaudav0TyoAIG13Nf2HrCrPISj2q96wNCshyRh

What are you working on?
Shop-like website for professional services.

cursive heronBOT
cursive heronBOT
#

@hoary venture pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
func discoverReadersAction() throws {
let config = try BluetoothScanDiscoveryConfigurationBuilder().build()
self.discoverCancelable = Terminal.shared.discoverReaders(config, delegate: self) { error in
if let error = error {
print("discoverReaders failed: \(error)")
} else {
print("discoverReaders succeeded")
}
}
}

Question
connectBluetoothReader failed in Our IOS device

we are using stripe terminal sdk version 3.8.0

What have you already attempted?
Alreadey working fine but now got the error like :

Error Domain=com.stripe-terminal Code=9020 "This reader is no longer supported, Please contact us via https://support.stripe.com/contact with details, so we can help." UserInfo={NSLocalizedDescription=This reader is no longer supported, Please contact us via https://support.stripe.com/contact with details, so we can help., com.stripe-terminal:StripeAPIRequestId=req_dfqsNCIANVNaxD, com.stripe-terminal:HttpStatusCode=400, com

What are you working on?
app developpment

cursive heronBOT
#

@balmy phoenix pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
payment intents api response - invoice is null even though there are events that tie the PI to an invoice

Related Request ID(s)
pi_3RF88f2NtvlMLsl80YfRGafa

What have you already attempted?
n/a

#

@kind trench pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices/create_preview?lang=ruby&api-version=2025-04-30.basil

Question
I'm not sure where to send docs feedback so I'm writing it here.

In the create preview invoice docs it says "discounts" will be returned as full objects. As with other endpoints it seems that you need to run an expand on the discounts to get the full objects.

This might be the case for other attributes on this endpoint too but I haven't checked.

What have you already attempted?
Ruby library

Failure: Stripe::Invoice.create_preview(subscription: stripe_subscription.id, customer: stripe_subscription.customer)

Solution:
Stripe::Invoice.create_preview(subscription: stripe_subscription.id, customer: stripe_subscription.customer, expand: ['discounts'])

Versions:
Ruby gem - 15.0.0
API - 2025-04-30.basil
Docs: ?lang=ruby&api-version=2025-04-30.basil

#

@north scroll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
PaymentIntent with PaymentElement component is sometimes failing saying the PaymentIntent is incomplete as a payment method is yet to be chosen. I create my payment intent as soon as I have the amount with 2 potential methods "card" and "sepa". Then I mount the payment element form as said in the guide. Recently some payment failed because the method is said not selected. The only error I get is in the client console : a 401 issued by api.captcha, does this prevent the method to be selected ? Why is the method is not selected ?

Related Request ID(s)
req_tSkmGpVckgipEU

What have you already attempted?
I've tried to pay in another location with another card and another computer
I've also looked for recent updates regarding paymentintent/paymentelement but nothing seems to have changed. I checked my implementation and its exactly as described in the guide.

What are you working on?
Marketplace with connected accounts

cursive heronBOT
#

@silk pine pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Terminal.initTerminal(
context,
logLevel,
tokenProvider,
object : TerminalListener {
override fun onConnectionStatusChange(status: ConnectionStatus) {}
override fun onPaymentStatusChange(status: PaymentStatus) {}
}
)

Question
Right after we receive a status CONNECTING from the onConnectionStatusChange callback, a call to the API https://api.stripe.com/v1/terminal/connection_tokens/activate is automatically done, and some code from our Application class creation is called without any action from us. Is this normal and can we prevent this from happening ? It is problematic for another SDK we use, which is in this case initialised again while it shouldn't be.

What have you already attempted?
We already have a check in the code to prevent from this kind of issues, but it is not sufficient to handle this case. Before initialising our SDKs in the application class creation, we use this check : if (!isProcessIsolated()), with isProcessIsolated() = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) Process.isIsolated() else Process.myUid() in FIRST_ISOLATED_UID..LAST_ISOLATED_UID

What are you working on?
Tap to Pay feature on an Android native app

cursive heronBOT
#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using stripe capiral and have enabled early access to private preview version but I get an error that "Received unknown parameter: components[capital_financing_application]"

Related Request ID(s)
a

What have you already attempted?
const express = require("express");
const app = express();

const stripe = require("stripe")(
'sk_live_xxx',
{ apiVersion: '2020-08-27; embedded_connect_beta=v2;' }
);

app.use(express.static("dist"));
app.use(express.json());

app.post('/account_session', async (req, res) => {
try {
const accountSession = await stripe.accountSessions.create({
account: "{{account}}",
components: {
capital_financing: {
enabled: true,
},
capital_financing_promotion: {
enabled: true,
},
capital_financing_application: {
ena

#

@raw coral pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My client subscribed to a price of $500 per year on May 21, using a 100% off promotion code. At this point, I would expect that an invoice for $0 was finalized. However, the first invoice is dated December 6.

Related Request ID(s)
https://dashboard.stripe.com/subscriptions/sub_1RR5jRFvG2PBfrpSTlvJprZY

What have you already attempted?
I checked the log and found that this action was manually performed by another admin. However, I still don’t understand where it went wrong

What are you working on?
A subscription services.

cursive heronBOT
#

@silver rose pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const preview = await this.stripeAdapter.client.invoices.retrieveUpcoming({
subscription: subscriptionId,
subscription_items: subscriptionItems,
subscription_proration_behavior: "none",
});
const preview = await this.stripeAdapter.client.invoices.retrieveUpcoming(upcomingParamters);

Question
When i have a subscription with 2 Items (Plan qty1 + Extra qty=variable)

I update via API, that the Extra Quantity = 5
-> Payment will be done.

When i reduce afterwards the Extra Quantity = 3
I create a schedule, that the next payment period does use Quantity 3.

But when I want to show a preview (while a schedule is placed), the preview shows me always the same preview.total amount.

Only when i increase the quantity higher, than it shows the correct amount.

Can you help?

What have you already attempted?
Preview Parameters subscription_items are defined with the correct quantity.
subscriptionItems:
[{ id: 'si_SMJ8V0IBExi7Nf', quantity: 1 }, { id: 'si_SMJdSFAy6KPmyl', quantity: 3 }]

cursive heronBOT
#

@silver rose pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Please see previous thread xsliii_code.
It was closed immediately after answer, but the answer doesn't help to fix my issue.

Question
How to do previewUpcoming with a running subscription and changed subscription_items quantities.

When a subscription_schedule is defined, it calculates the wrong preview amount for the next payment period.

adding only price and quantity fields to the subscription_items results in only "one-time" prices are applicable.

What have you already attempted?
previewUpcoming with different kinds of "parameters" like (price, quantity) or (id, quantity)

cursive heronBOT
#

@boreal star pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await this.stripeService.stripe.checkout.sessions.create({
mode: 'subscription',
customer: user?.stripeCustomerId,
line_items: [
{
price: subscription?.stripePriceId,
quantity: 1,
},
],
payment_method_types: ['card', 'paypal'],
success_url: successUrl,
cancel_url: cancelUrl
})

Question
I have a few subscription plans on my account, and I allow my end customers to subscribe to them by creating a session. A user might already have a card attached to their account, or if not, a card gets attached as the default during the subscription process.

Additionally, I made sure that all my cards have "allow_redisplay": "always" set through code.

However, on the subscription session screen hosted by Stripe, the user's default card does not appear. Users are required t

What have you already attempted?
I tried updating the card configuration to ensure "allow_redisplay": "always" is set correctly – initially, this wasn't the case.

Regarding the request to display all cards: unfortunately, it seems the system doesn't support showing multiple cards simultaneously. As a workaround, we can display the default card by default. Let me know if that works for now, or if you'd like to explore alternative solutions.

What are you working on?
A client side ecommerce project with subscription

cursive heronBOT
#

@wet mesa pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
I need to write a specific legal text in the footer of the subscription's invoice. This specific text should be present only when the amount of tax of the invoice is more than 0 (if there is VAT collected). I did not find any way to do that through the dashboard but I guess it can be done with code.

What is the best way to achieve this? Thank you.

Doc/Guide Links
https://docs.stripe.com/invoicing/group-line-items

What are you working on?
Subscription System

cursive heronBOT
#

@jaunty cave pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
mode: "subscription",
payment_method_types: ["card"],
payment_method_options: {
card: {
request_three_d_secure: "automatic",
},
},
payment_method_collection: "always",
billing_address_collection: "required",
automatic_tax: { enabled: false },
customer_email: email,

Question
I'm getting An error occurred while processing your payment. Try again later or with a different payment method. With all my customers in the US

What have you already attempted?
We've attempted to change the 3DS , we've used multiple cards, nothing has worked, its either declined or error occurred.

cursive heronBOT
#

@flat zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I credit note an invoice with a charge and a credit?

Related Request ID(s)
na

What have you already attempted?
Using the API to credit note JUST the lines with charges. The overall invoice is a net credit because there was a charge and a credit due to proration, and this seems to be preventing me from issuing a credit note for the charge portion.

cursive heronBOT
#

@echo horizon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<a href="https://dashboard.stripe.com/acct_number?destination=/tax-rates">Tax Rates</a>

Question
How can I create a link for connected accounts to go to specific sections of their stripe dashboard (specifically tax rates).

What have you already attempted?
<a href="https://dashboard.stripe.com/acct_number?destination=/tax-rates">Tax Rates</a>

What are you working on?
Registration platform

#

@balmy phoenix pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting invoice id for a payment intent id - API isn't working whereas the events API tells a different story

Related Request ID(s)
req_MnlyYwqqKMMf60

What have you already attempted?
Tried to use invoice payments API but it returns an empty list

#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we are using react native stripe terminal version 0.0.12-beta version and everything was ok till it stopped working yesterday and on some of devices. the error message is NOT_INITIALIZED (null): adk not initialized

Related Request ID(s)
a

What have you already attempted?
we are using react native stripe terminal version 0.0.12-beta version and everything was ok till it stopped working yesterday and on some of devices. the error message is NOT_INITIALIZED (null): adk not initialized

cursive heronBOT
#

@naive vessel pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const ConfirmButton = ({ clientSecret }) => {
return (
<div>
<button onClick={handleConfirmPayment} disabled={!stripe || !elements}>
Confirm Payment Intent
</button>
<PaymentElement />
</div>
);
})

        <Elements stripe={stripePromise} options={options}\>
          <ConfirmButton clientSecret={paymentData?.clientSecret} /\>
        </Elements\>

Question
Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Express Checkout Element.

What have you already attempted?
like the code i provide

What are you working on?
confirm payment intent

cursive heronBOT
#

@rough forge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I can no longer access a Connect Account id in the stripe dashboard or API. When I search for the account id in the Developers > Logs view I don't see any delete events or anything indicating it being removed.

Related Request ID(s)
req_GCrjgZDNVS1HEt

What have you already attempted?
I queried the resource "acct_1QouWn2Zb7u3iewC" directly from the api `stripe.Account.retrieve("acct_1QouWn2Zb7u3iewC")`, which gave me: `The provided key '***' does not have access to account 'acct_1QouWn2Zb7u3iewC' (or that account does not exist). Application access may have been revoked.`

I checked the logs for it and didn't see anything.

What are you working on?
platform for fitness coaches

cursive heronBOT
#

@thorn stirrup pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Finally I got how to ask here :)

I'm using my stripe account with 2 inner accounts, one to manage a contributer plataform and the other with woocommerce, I think I'm getting this messages the contributer platform.

"Response from webhook pending
The payment ***
of €10.00 has been made
07/05/2025 14:37:51"

How do I get rid of this messages?
The ID is for

Related Event ID(s)
Have many ID's!

What have you already attempted?
I've reactivated the webhooks for the contributer platform webhooks, which were deactivated.

What are you working on?
I'm trying to understand if Stripe settings are ok.

cursive heronBOT
#

@torpid quartz pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have been using the invoicelineitem price.unit_amount field to display the un-prorated annual cost of subscriptions from the create invoice preview API response. With the update to v82 of the go SDK this field is no longer available and I am pointed to the new pricing.unit_amount_decimal field. However, this field is not being populated, it is returned as null probably because I am not using the per_unit billing scheme (we use a subscription based model). I don't see any other fields in the response which are not prorated.

Related Request ID(s)
req_ehNzrWDi3SbqsU

What have you already attempted?
I tried using the amount/quantity but this amount is prorated in the response I am receiving. I could try doing an un-prorated calculation but this is likely to produce numbers which aren't quite correct, i.e 299.99 instead of 300.00. I could make API calls to get the 6 price objects I need however that would cause my API call to get even slower than it already is (3 seconds) which is not acceptable for our users experience. Since this is just a version upgrade I would prefer not to have to implement a cache just for this purpose.

cursive heronBOT
#

@patent cloak pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The fund get charged from one user and get sent to the other user

What actually happened?

  1. USD charges succeed but transfer_data null (money trapped)
  2. Manual transfers fail: "Funds can't be sent to US accounts - restricted outside platform region"
  3. Platform can't see connected account customers/banks
  4. Connected accounts can't see each other for transfers
    All scope isolation issues.

Reproduction Steps

  1. Create charge: stripe.Charge.create({customer: "cus_SGpc0Po1dbP2yF", source: "ba_1RMHxhRiSJKnLIEVCbmNPRBO", transfer_data: {destination: "acct_1RKMCgDBcVfAOO6E"}})
  2. Error: "No such customer" (platform can't see connected account customer)
  3. Manual transfer also fails with regional restriction

Question
Canadian platform: CA-to-CA payments work (PaymentIntent+transfer_data), but US-to-US fail with scope errors. CA users have payment_method_id, US have customer_id+bank_account_id on connected accounts. Can CA platform process US-to-US ACH with transfers, or need architecture change?

What are you working on?
Revenue-based financing platform. Canadian users work perfectly with PaymentIntent+payment_method_id. US users have differe

cursive heronBOT
#

@modest cloak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using the Stripe PHP library, and are prorating subscriptions. We need to preview the price before sending them to checkout to actually make the change so we generate an upcoming invoice using code I will include later due to space. This has been working fine, but has recently started timing out for some reason.

This code was written by someone else, so I'm trying to track down what this endpoint is expecting, and I see references to this endpoint in the existing documentation, but the page for it 404s

Related Request ID(s)
N/A

What have you already attempted?
This endpoint is referenced in existing invoices documentation, for example:

> Unique identifier for the object. This property is always present unless the invoice is an upcoming invoice. See Retrieve an upcoming invoice for more details.

(which links here: https://docs.stripe.com/api/invoices/upcoming)

but this page gives a 404

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

We are currently offline. We will be back at 12 AM UTC on Tuesday, 2025-05-27. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@glad owl pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected to have payment_intent.invoice property of type Invoice

What actually happened?
It's just text string (id)

Reproduction Steps
Request Checkout session with parameters `expand: ["payment_intent.invoice"]`

Question
I requested the session once customer was returned back to my platform. ID is req_bozRV0FXtV1rfN . The response did have `invoice` as null and payment_intent.invoice as string (id of the invoice)

What are you working on?
Stripe connect platform

#

@frozen cave pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using the reporting/report_runs API to retrieve risk_reserved_funds for our reconciliation, however there are times when a report run doesn't seem to finish, whereas other times they finish within 30 seconds and we can retrieve the data.

Related Request ID(s)
frr_1RSsfrCPODlSNewZYDnTy4Av, frr_1RSs61CPODlSNewZsZCjnbdi

What have you already attempted?
Attempted to wait for up to 5 minutes for the report

What are you working on?
Financial Reconciliation process

#

@brazen moth pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to be able to consolidate two Stripe accounts into one for better book keeping purposes and to simplify our accounting.

Ideally, the best case scenario would be to move the account across to a different Stripe account as the current account has quite a few customers and existing subscriptions that are running.

Doc/Guide Links
https://docs.stripe.com/get-started/data-migrations

What are you working on?
SaSS application

#

@obsidian marlin pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Browser request
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such charge: 'ch_3RTAUC4DV5v9huRd06ncomoe'",
"message_code": "missing_resource_with_message_about_livemode",
"param": "id",
"type": "invalid_request_error"
}
}

Question
I am using stripe embeddded component 'payment-details'. With the connect account:
acct_1QyNtFQO0RUdDsWD

I am trying to load information about the charge ch_3RTAUC4DV5v9huRd06ncomoe which transfered the funds into the above connected account.

It appears that the acct_1QyNtFQO0RUdDsWD does not have visibility of this charge and I do not know why.

What have you already attempted?
I've tried using a payment intent instead of a charge, same error. I've tried different connect account id's still the same error. when I login as the user in the stripe dashboard, I do not see paymentintent id's under transactions, I see 'py_' id's, making me believe the connected account is unable to view those transactions

cursive heronBOT
#

@light pagoda pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a client that will be generating payable 'invoices' that their clients will pay using a stripe link. The invoices can contain an array of different items, but the prices are very flexible, to the point where maintaining a product library with pricing in Stripe is impractical

Doc/Guide Links
CheckoutSession, PaymentLink

What are you working on?
Middleware to pass payments on behalf of a client

cursive heronBOT
#

@bronze orchid pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-and-reuse

Question
Some 3D Secure (3DS) cards behave differently:
- Some require authentication only on the first setup (Authenticate once, then off-session charges are allowed).
- Others always require authentication, even for off-session payments.

When using a SetupIntent to save a card, is there any way to determine which behavior applies to that card (authenticate unless set up or always authenticate)?

What have you already attempted?
Check the api response, but I don't see the field that describe about type.

cursive heronBOT
cursive heronBOT
#

@sinful karma pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We’re using Stripe Connect and would like to implement recurring payments for connected accounts without integrating with Stripe Billing. Could you please confirm the recommended approach for this?

Related Request ID(s)
req_wNlpYiJb0pQ3EC

What have you already attempted?
I have referred to this documentation but didnot find anything as such. https://docs.stripe.com/api

What are you working on?
I am working on integrating Stripe apis.

#

@unborn jolt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I get daily mails that my API key is public in the Internet

Related Request ID(s)
Nothing

What have you already attempted?
Changed sk_live 7x its only in my .env on my Site and Selly.io

What are you working on?
A Photo Shop, I edit pictures for people

cursive heronBOT
#

@wise shuttle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi!
Is it possible to have a statement descriptor of an invoice number for invoices generated by subscriptions?
We would like this statement descriptior to be on the payment intent

Related Request ID(s)
Dashboard > Invoices or Payment Intents

What have you already attempted?
We tried to apply this when invoice gets finalized but it does not show on the Payment intent

What are you working on?
Subscription Management system for our customers

cursive heronBOT
#

@finite yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var invoiceItemOptions = new InvoiceItemCreateOptions
{
Customer = "cus_SNpHRymxlLwqzr",
Amount = -50000, // Negative amount to represent a payment
Currency = "eur",
Description = "Previous payment for subscription",
Subscription = "sub_1RT3czPq0Tpc8aFd0xXFagLg",
Period = new InvoiceItemPeriodOptions()
{
End = new DateTime(2026, 3, 1

Question
I'm creating a trial subscription as I'm migrating user into stripe , i want to enter user amount as well so that , when user tries to upgrade , proration can be applied, i'm able to add invoice item but proration is not applied
var invoiceItemOptions = new InvoiceItemCreateOptions{
Customer = "cus_SNpHRymxlLwqzr",
Amount = -50000, // Negative amount to represent a payment
Currency = "eur",
Description = "Previous payment for subscription",
Subscription = "s

What have you already attempted?
var options = new SubscriptionCreateOptions
{
Customer = stripeCustomer.Id,
Items = new List<SubscriptionItemOptions>
{
new SubscriptionItemOptions
{
Price = priceId, // Your actual price ID from Stripe
}
},
PaymentBehavior = "default_incomplete",
TrialEnd = currentPlanEndDate.DateTime,
BackdateStartDate = clinicLicens

#

@sinful karma pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We’re using Stripe Connect and would like to implement recurring payments for connected accounts without integrating with Stripe Billing. Could you please confirm the recommended approach for this?
(The previous thread got closed)

Related Request ID(s)
req_wNlpYiJb0pQ3EC

What have you already attempted?
I have referred to this documentation but didnot find anything as such. https://docs.stripe.com/api

What are you working on?
I'm working on Integrating Stripe APIs

cursive heronBOT
#

@crisp flare pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you please list the countries that are not supported by Stripe for displaying the reverse charge note on the invoice..

Please share the official documentation

Related Request ID(s)
stripe

What have you already attempted?
We tried adding tax IDs for a few countries on the checkout page, such as India and Ukraine. However, we're seeing the reverse charge note appear on the invoice for India, but not for Ukraine

#

@unborn mesa pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/customize-payment-methods#sort-payment-methods

Question
Does the react-native SDK support sorting payment methods in the paymentSheet component?

What have you already attempted?
I've tried passing the paymentMethod to the initialisation method of the paymentSheet, which does not seem to affect the payment method order.

cursive heronBOT
#

@next musk pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey guys,
I hope this is the right topic/area for that. I am currently looking for advice regarding charges and transfers and PSD2 in europe.

What we need to create:
A subscription system, where we can split money between multiple connected accounts. Our current setup is: Subscription with transfer_data into the connected account. Since having multiple destinations is not supported, I was thinking about receiving the payment into the platform account and on the invoice.paid webhook, I'd create transfers to the correct connected account.

This thinking did however lead to more questions:
- is this the right way to do it?
- are there psd2 implications or stripe the psp still?

Doc/Guide Links
https://docs.stripe.com/connect/separate-charges-and-transfers
https://stripe.com/at/connect#routing-payments
https://stripe.com/at/guides/how-psd2-impacts-marketplaces-and-platforms#welche-ausnahme-besteht-fur-handelsvertreter

What are you working on?
subscription system with multiple connected accounts

#

@crystal kayak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to enlarge the image on the checkout page

Related Request ID(s)
Request assistance

What have you already attempted?
Going into settings

What are you working on?
Just setting up a payment page

cursive heronBOT
#

@jolly turtle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
While creating invoice with collection_method: 'charge_automatically' and auto_advance: true,
do we need to finalize them again? Also if we have default payment method, will it auto debit or we have to use invoice.pay() API manually?

Related Request ID(s)
https://dashboard.stripe.com/test/workbench/inspector/pi_3RTHwlCpfpVCWu670fAf6MoM/events

What have you already attempted?
When I tried without manually calling invoice.pay() API, the payment is in Incomplete state with following description.
Latest activity
PaymentIntent status:
requires_confirmation

cursive heronBOT
#

@opaque sleet pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are building a payment intelligence platform and allowing users to connect our stripe app with oauth, but have run into issue with webhook modify permission. This permission seems to be accessible and is used by some of the existing apps on marketplace but not sure on how do we proceed with this setup. Our flow is user logs in our custom platform -> clicks connect stripe -> goes to oauth flow on stripe app -> we exchange tokens and keep it for querying the api on behalf of the users, what we also want is to modify webhook so that we can get information related to connected accounts on behalf of the users.

Doc/Guide Links
https://docs.stripe.com/stripe-apps/reference/permissions

https://docs.stripe.com/stripe-apps/api-authentication/rak

What are you working on?
We are building https://fluxmap.io/

#

@heady drum pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi everyone! 👋

I've successfully integrated Stripe on my website using Destination Charges and currently have many connected accounts.

Now, I need a way to get the total earnings of a specific connected account without having to list and sum up all their charges, intents or individual payments manually. Some of these accounts have 8000+ of payments, so listing everything and calculating it is inefficient.

Is there an API or recommended way to retrieve the total earnings for a connected account directly

Related Request ID(s)
Dashboard > shell > API explorer

What have you already attempted?
I want to get the total earnings of a connected account without listing all the charges, payouts, or transactions.

#

@lucid cairn pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe doesn't seem to send webhooks to an ngrok endpoint. Is ngrok blocked by stripe?

Related Event ID(s)
N/A

What have you already attempted?
This was previously working. There are no logs on ngrok traffic from stripe

What are you working on?
Using stripe for SAAS.

cursive heronBOT
cursive heronBOT
#

@tough arch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're having an issue with Payment Intents in our checkout flow. Our checkout flow is as follows:

  1. Capture customer's name & address
  2. Capture payment method, using a payment intent. We call `stripe.confirmPayment()` at the end of this step.
  3. Stripe redirects the customer to the same page, but with additional query params The payment is now "uncaptured".
  4. Customer fills out additional details
  5. Customer completes checkout

Some customers have reported that they've been "charged" after entering their payment method. Is there any way to prevent them being "charged" until they checkout?

Related Request ID(s)
req_3M0J1FbeKAjXSr

What have you already attempted?
I've considered moving the payment step to the end of the checkout page.

However, I wanted to double check there wasn't an alternative way to fix this.

#

@untold plover pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We’re experiencing an issue with our Stripe terminal (WisePOS E). Payments with French cards work fine, but payments with Luxembourgish cards are consistently being declined.

Here are the details:

We contacted

Related Request ID(s)
Dashboard / odoo

What have you already attempted?
The terminal is connected and linked to our Stripe account.

We are using live API keys.

French cards are accepted with no problem.

Luxembourgish cards return the error\:
card\_declined with reenter\_transaction.

Odoo logs show\:
ValidationError\: Received data with missing merchant reference, though the merchant reference is correctly configured in Odoo.

What are you working on?
Odoo

#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe capital is enabled for our account in test mode, we use test keys but I get an error saying that "Invalid Stripe API version: 2020-08-27; embedded_connect_beta=v2;. You do not have permission to pass this beta header: embedded_connect_beta."

Related Request ID(s)
can't make request so no request id

What have you already attempted?
I'v followed https://docs.stripe.com/capital/embedded-component-integration

cursive heronBOT
#

@frozen jay pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For an application that has Stripe Connect, if the platform owner is from USA, what are some best practices to handle the non-us users to connect with an account.
From what I read, it's a must to create multiple accounts in all the countries.
For example, If I want to allow people that registered in Brazil, I will need as a platform to also have an account made there.

Doc/Guide Links
https://stripe.com/en-ro/connect

What are you working on?
A collection management platform

#

@alpine sorrel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Im trying to fetch the BalanceTransactions for a specific payout_id. Although I can see the specific payout and it's ID on my dashboard, I keep getting the error "No such payout". I am using python sdk. Also if I do the same request but specify the parameter "stripe_account", it works.

Related Request ID(s)
po_1RS5WdIHjfsHPzfrpspqHsiv

What have you already attempted?
res = stripe.BalanceTransaction.list(
payout=payout_id,
type="payment",
starting_after=last_balance_transaction_id,
expand=["data.source"],
)

This is my code currently. Like I said, if I pass the corresponding stripe_account in the request it works, but that is not what I want.

What are you working on?
Saving payouts and what transfers are associated to that specific payout so the users in my app know when their payments are coming

#

@slim sinew pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/customer_portal/sessions

Question
We are actually using the customer portal so our users can update or cancel there subscription. The problem we are confronted now is that we got 10 prices before with 10 products. And now we need to have 12 prices with 12 products and it's not possible. The fact is we could have 6 products with 2 prices per product, because we have 1 price if the user take an engagement of 12 month and 1 price without it. But we want the user to see writed on the customer portal and checkout session (with 12 month engament, or without engagement) that is why we did 1 product 1 price. Do you have any solution?

What have you already attempted?
Or solution for now is just to eliminate the lower and higher price from product list to have 10 products. And we tried to make 2 prices per product but as said we can't see with or without engagement and this is more important for our users

cursive heronBOT
#

@tropic wyvern pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do the connect accounts receive the automatic mail from stripe regarding payout failed?

Doc/Guide Links
I've been studying a way to provide some feedback to account connect regarding payout failed. By reading some documentation about that, i've find out that Stripe doesn't perfom the automatically sending of the email when a payout was failed.

So, i wonder if i should manually implement this feature in my sistem.

https://docs.stripe.com/connect/payouts-connected-accounts

What are you working on?
Working about the automatically sending of emails in case of payout failed

#

@plush spire pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We use Stripe Connect with automatic payouts. Previously payouts would get created within 24 hours after a transfer to an account. And we'd get the payout.created webhook, followed by the payout.paid one a few days later. Now payout.paid happens waaay faster (awesome!), but the payout is now always created basically on the the same day as we get payout.paid. Regardless of whether the payout takes 1 day (usually) or 3+ days (weekend / holidays). We used the arrival_date from the payout to let users know when to expect the money. Unnecessary when it take a day now, but still important if it takes longer. Is there any way we can get an estimated payout date now?

Doc/Guide Links
https://support.stripe.com/questions/autopayout-creation-timing

What are you working on?
C2C marketplace

#

@lone adder pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
params = {
customer: @stripe_customer.id,
amount: amount,
currency: currency,
payment_method_types: payment_method_types|| [],
setup_future_usage: "on_session"
}

Stripe::PaymentIntent.create(params, stripe_account: stripe_account_id)

Question
`setup_future_usage` cannot be used with one or more of the values you specified in `payment_method_types`. Please remove `setup_future_usage` or remove these types from `payment_method_types`: ["affirm"].

I am getting this on create payment intent I want to hide checkbox for save payment method by default. But I want to show affirm in payment method types.

FYI - I am using stripe payment element

What have you already attempted?
...........

#

@raven schooner pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can you please check why in_1RNATZDDNjjgOpmzUliGgvZn is draft and not paid, subscription is cancelled

Related Event ID(s)
evt_1RNATaDDNjjgOpmze6DKlZBr

What have you already attempted?
Nothing

#

@eager spindle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Mapping for Account v2 properties and responsesvs v1 standard type creation

Related Request ID(s)
req_v24aPhJxgwnX9aolN

What have you already attempted?
I attempted to create account via v2 api and explores the responses.

What are you working on?
Connect integration

#

@oak sand pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Run Payments by Stripe (https://extensions.dev/extensions/invertase/firestore-stripe-payments) work with your new Stripe Sandboxes enviroment or only your dev mode enviroment?

Related Event ID(s)
Using Firebase Functions Gen 2 for React Web App

What have you already attempted?
I created the test sandbox keys in Sandbx but unsure if they will work with the Firebase Stripe extension like they do currently with the Test Mode keys.

What are you working on?
Web App Using Firebase Functions Gen 2

#

@untold plover pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We’re experiencing an issue when processing payments with Luxembourgish cards on our WisePOS E terminal using Stripe and Odoo. While French cards work correctly, Luxembourgish cards are consistently declined with the error card_declined and the message: "Re-enter the transaction". The PaymentIntent returns a 200 status, but the transaction is not approved.

Related Request ID(s)
Dashboard > Dev

What have you already attempted?
We tested several Luxembourgish cards — all failed with the same result.

We contacted the issuing bank, and they said it was a format issue but didn’t give further details.

On the Odoo side, the merchant_reference field is properly configured and sent in the metadata.

The merchant name is set in our Stripe account.

We verified the logs in Stripe, and there’s no clear error apart from card_declined.

We're using a restricted key (limited access) to interact with the Stripe API — maybe this could be affecting some parts of the request?

What are you working on?
We’re trying to understand if this issue is related to: A missing configuration in Stripe (possibly region-specific)? A limitation of the restricted key? Or if the rejection is entirely

cursive heronBOT
cursive heronBOT
#

@boreal moss pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create(
{
payment_method_types: ["card", "pix"],
line_items: [
{
price_data: {
currency: "brl",
product_data: {
name: event.name,
description: event.description,
},
unit_amount: Math.round(totalAmountToCharge), // Apply discount
},
quantity: 1,
},
],
payment_intent_data: {
a

Question
I'm trying to implement PIX payment. It works on Test mode, I get a checkout session on stripe with Pix available but I'm getting an error in Live mode and it doesn't open a checkout session.

What have you already attempted?
I tried the code removing PIX as payment_method_types and evertything runs perfectly both in Test and Live Mode.

What are you working on?
Event Ticketing Platform

#

@crisp flare pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Usually, it takes approximately 60 minutes to finalize the invoice for the renewal payment. Is it possible to change this duration

Related Request ID(s)
stripe

What have you already attempted?
Actually, our subscription was about to renew in the next hour. Before that, the user upgraded the subscription successfully and received a confirmation email. However, a few minutes later, he also received a renewal email

#

@pine parrot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What trigger event do i choose on Zapier when trying to integrate it with Stripe to send Facebook conversion data (using Stripe API)

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

cursive heronBOT
#

@final grove pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error: initError } = await initPaymentSheet({
merchantDisplayName: "Mealtyme",
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
setupIntentClientSecret: setupIntent,
allowsDelayedPaymentMethods: false,
defaultBillingDetails: { email: customerEmail },
applePay: applePayParams,
googlePay: googlePayParams,
appearance: {
colors: {
primary: "#3A83F1",

Question
I have apple pay and google pay configured in my stripe account. When I create a checkout session using stripe both payments do show up. But mt expo react nantive app doen't show these options (more detail in thread). May I know what I'm doing wrong?

What have you already attempted?
Created a stripe checkout session directly, it showed payments perfectly.
Created a closed testing build on playstore to test google pay and an ios build to test on IOS.

What are you working on?
Mobile application on expo react native SDK 53.

cursive heronBOT
#

@obsidian crystal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the python api to attempt to charge a payment method we have on file. I'm using the python api and stripe.PaymentIntent.create(request_body) to charge this customer an amount of $25.27. I'm entering the amount in my request as 2527 per the requirements of stripe and getting an error that says "Invalid Amount" with no other info. Any suggestions on things I should check for?

Related Request ID(s)
I don't have access to the stripe dashboard so I'm going to leave this blank for now

What have you already attempted?
We use this same code in production hundreds of times a day to successfully render payments so I'm not sure what the issue is here

#

@willow holly pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using stripe tax calculation API, and the stripe is calculated properly on my development environment on MacOS and Web. But when I deploy it , it does not work. Do you have any resources i can use to fix this, or know if I need to set a configuration on stripe for this to work

Related Request ID(s)
ch_3RT2FYG1waH8tLZd0yJ0yd5A

What have you already attempted?
- Testing it out on all environments
- Looking at the function calls

What are you working on?
Building a tax calculation feature

#

@pseudo mortar pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Something went wrong
Please try again or contact the merchant.

Question
I am migrating the stripe self hosted checkout from my local to server. When I try to access the checkout on server, I get above error. How can I see what the cause is for this error?

What have you already attempted?
I have tried with curl and the checkout.html is rendering correctly but it errors on browser. I can't see any failed requests in stripe logs so not sure what is causing this error.

What are you working on?
Migrating the stripe self hosted checkout from local to server.

#

@meager river pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/search#query-fields-for-customers

Question
hello, we want to find customers that share a same payment method. It is possible to query the Stripe api for a given card_fingerprint (or other field)
Thank you

What have you already attempted?
investigated api: https://docs.stripe.com/search#query-fields-for-customers

What are you working on?
fraud prevention

#

@pure talon pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do i best handle the wehbook on my platform for when customer subscription is renewed. I want to update their access to a service

Related Event ID(s)
https://dashboard.stripe.com/test/workbench/events/evt_3RTI5c058U8nLMGs1N0opMPn

What have you already attempted?
I have tried using the charge.succeeded, invoice.paid and invoice,payment_succeeded

What are you working on?
I am doing a subscription service for clients. I want to use the webhook event to tell the customer, the plan that was paid for and the start and end date

#

@drowsy kindle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Checkout Session confirmed tax but no tax was added to the subsequent invoice

Related Request ID(s)
acct_1KzAYtGm1G8RebO8, req_IuGiBBkU6zCzEQ, in_1RSldXGm1G8RebO8MbxgPn4G

What have you already attempted?
I have reviewed our code, and the logs... The logs don't add up. We created the checkoutsession and I can see the tax being applied but is disappears once the checkoutsession was complete

What are you working on?
customer support

#

@frosty coyote pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a character limit on descriptions? Specifically the subscription description field, but I imagine they are all the same. I can see in our code we have a limit of 512 imposed on other descriptions, but I can't find any reference to that in the documentation.

Related Request ID(s)
N/A

What have you already attempted?
Read through the Create subscription API docs

#

@weary folio pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/pricing-table#customer-session

Question
Hello Stripe Support

I hope you're doing well. I have a few questions regarding the customer session, billing portal, and embeddable pricing table for subscriptions. I read that these features seem tied to the API version 2025-04-30.basil which may be a preview version.

- Are customer_session, billing portal, and embeddable pricing table considered production-ready or are they still in preview?
- Is it safe to use the 2025-04-30.basil API version in production?
- How can I identify which API features are in preview vs generally available?

Thank you in advance for your help!

What have you already attempted?
I've already installed different versions and they do work but those are my concerns.

What are you working on?
We're currently integrating a subscription flow into our application and want to ensure that we're using only stable, production-ready features for long-term reliability.

cursive heronBOT
#

@umbral saffron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I add a subscription to a invoice in order to charge the user for the invoice to start the subscription

Related Request ID(s)
Reviewed invoice life cycle docs

What have you already attempted?
Using subscriptions to expand on the invoice

What are you working on?
Simple payment system where everything is an invoice (hopefully)

#

@dusky jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We've been working on updating our API version to the latest and it has been successful but we're still seeing some requests going through our default version of the stripe API in the dashboard (2018) but we have eliminated all instances of calls using the default version. where are they coming from? we're unable to identify them.
Also, we're currently in the 2025-02-24.acacia version but all the api calls are still going through
2023-10-16 version. why is this?

Related Request ID(s)
GET /v1/payment_intents/pi_3RTODIFFDkJfVxlL1Zj1Sr85

What have you already attempted?
We have looked everywhere in our code but we can't identify where the problem is coming from.

What are you working on?
API upgrade to the latest

#

@crimson bone pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import { stripe } from "@/stripe-server";

export async function POST(req: Request) {
try {
// Get the user ID from the request headers
const userId = req.headers.get('x-user-id');
console.log("userId", userId);
if (!userId) {
console.log("No user ID found");
return new Response(JSON.stringify({
error: 'Unauthorized',
debug: {
userId: null,
envi

Question
I am building an expo stripe implementation. The api route is hanging on my expo server.

What have you already attempted?
I tried logging the error and here is what it returns:

Network error details: {"error": [Error: API request failed with status 500: Unhandled Worker Script Exception

A runtime error was thrown while the worker script executed and no response could be returned.

The Workers runtime canceled this request because it detected that your Worker's code had hung and would never generate a response. Refer to: https://developers.cloudflare.com/workers/observability/errors/

Request I

#

@ember wigeon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{ code: UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR, message: KEY_ERROR (null): Error setting key entry during secure import }

Question
Hello Team,

We are currently developing a Tap to Pay application using React Native and the stripe-terminal-react-native package for handling payment processing.

The integration had been working smoothly until recently. However, we’ve encountered an issue where some of our devices have stopped

"KEY_ERROR (null): Error setting key entry during secure import"

What have you already attempted?
check line by line of code and open github issue for this and base on what see it's happened for other developers in last days.

cursive heronBOT
#

@wide shadow pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Good Day,

I am willing to pay anyone 200 Euro who can solve this problem:

Question
Dear Stripe Team,

I am contacting you regarding my closed Stripe account registered under the name Felix Happel. On the day the account was closed, an amount of approximately €19,000 was transferred to the account – just seconds before the closure.

What have you already attempted?
To this day, more than four weeks later, these funds have neither been paid out to me nor refunded to my customers.

I have no way to manually issue refunds or trigger payouts. At the same time, my customers have not received any reimbursement – which has already led to legal issues and severe reputational damage on my end.

I really hope for help

Reproduction Steps
If you are able to forward me to anyone who can help me I would really appreciate it, if this leadts to solving the problem I would pay you 200 Euro for forwarding me to someone who can help

#

@spark veldt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to replace the connected billing meter on a Price that is already used in a subscription? I want to change the meter from SUM aggregation to LAST aggregation that was released recently, but we have a lot of subscriptions that use the price already. this is not clear in the documentation for Stripe Prices with billing meters

Related Request ID(s)
-

What have you already attempted?
Currently we create new price and meter and update the subscription line item with new price

#

@polar merlin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created a webhook and connected it to our dev workato tenant and then migrated to production. We keep getting emails that the webhook is failing, but we are receiving messages from the webhook in production. How can we fix these error messages?

Related Request ID(s)
https://dashboard.stripe.com/workbench/logs/req_NuxzIeW3E90jb8

What have you already attempted?
Deleting the webhook address in Workato development

What are you working on?
Stripe to Workday connection

#

@pure talon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
the period_start and period_end on the invoice.paid webhook give the same time.
This is triggered from a subscription purchase

Question
Is the period_start and period_end suppose to be the case or different dates?

What have you already attempted?
n/a

#

@real plover pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Paiements et virements suspendus jusqu'à ce que les exigences soient respectées
Vous devez fournir certaines informations supplémentaires pour rétablir vos paiements et virements.

Question
why my account is not active? i did provide all the documents

What have you already attempted?
i want my account active plese help me

What are you working on?
i want my account active plese help me

#

@reef dune pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to have a better understanding between charge.refunded and charge.refund.updated events. When a refund is succeeded what's the gap between both events are triggered?

Related Event ID(s)
1

What have you already attempted?
Testing in sandbox

What are you working on?
Refunds

#

@modest cloak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using the Stripe PHP library, and are prorating subscriptions. We need to preview the price before sending them to checkout to actually make the change so we generate an upcoming invoice using code I will include later due to space. This has been working fine, but has recently started timing out for some reason.

This code was written by someone else, so I'm trying to track down what this endpoint is expecting, and I see references to this endpoint in the existing documentation, but the page for it 404s.

Related Request ID(s)
N/A

What have you already attempted?
This endpoint is referenced in existing invoices documentation, for example:

> Unique identifier for the object. This property is always present unless the invoice is an upcoming invoice. See Retrieve an upcoming invoice for more details.

(which links here: https://docs.stripe.com/api/invoices/upcoming)

but this page gives a 404.
this was deprecated and removed from the latest version of the API. We're using 2023-10-16 so it should still work

Created a chat last week on Discord, but the Discord closed in the middle of it and was prompted to create a ticket, but received no response

cursive heronBOT
#

@devout escarp pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
im working with stripe supabase and lovable and have created a software with a subscrition system but whenever i try to link both it doesnt work and send the info

Related Event ID(s)
evt_1RTRQePBzQ7y8O9AylAU71yY,evt_1RTRQePBzQ7y8O9ALprl843h

What have you already attempted?
changing the endpoint and asking chatgpt supabase and lovable to help fix it

What are you working on?
software

#

@frosty night pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My application is a marketplace app. It is using Stripe Connect and acting as an intermediary between the users and sellers. And it is using Stripe Checkout with Apple Pay feature for the buyer to purchase products.

Is it possible to update the title in the payment sheet? It is showing `Pay {seller}` now, however, we need to update it to `Pay {seller} via {my app}` to fulfill Apple's design guideline

https://developer.apple.com/design/human-interface-guidelines/apple-pay#Streamlining-checkout
```
If you’re not the end merchant, specify both your business name and the end merchant’ name
```

Related Request ID(s)
N/A

What have you already attempted?
reviews docs but could not find this configuration

What are you working on?
Marketplace app

cursive heronBOT
#

@wise iron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the previous API version (Acacia and below), when requesting an invoice, we could expand the product object on the invoice object using expand: ['lines.data.price.product']

However, on the new Basil API, we can't expand product details for an invoice's line item.

This is relevant to our app as we use the shippable boolean available on a product's object to determine if an invoice needs to be shipped. We also need access to the product's metadata, which might include a tariff_code for international shipments.

How can we expand product details when requesting invoices?

Related Request ID(s)
req_bAY6rRR5E4c31G

What have you already attempted?
We will downgrade to the previous API version if we can't resolve this issue.

What are you working on?
Parcelcraft Shipping app (publically available in the Stripe Apps Marketplace at https://marketplace.stripe.com/apps/parcelcraft-shipping).

cursive heronBOT
#

@winged compass pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello. My company has a bunch of end-to-end tests, including for our Stripe integration. For our SEPA tests, previously, payments in TEST mode would transition from pending to succeeded immediately and fire a webhook, which is what our tests are expecting. However, starting on May 23rd, that behavior appears to have changed; now SEPA payments in TEST mode are taking four days to transition from pending to succeeded. Is there any way to control this in the dashboard?

Related Event ID(s)
Look in the dashboard for recent payment events associated to this payment method token pm_1MYTewAy0nzSWXrAy8H12wOD

What have you already attempted?
I reviewd the event log and determined that the window of time between payment getting accepted in TEST mode had increased. I looked for a way to change it back in the dashboard, checked the existing sepa docs, and googled.

What are you working on?
Maintaining our existing end-to-end tests. They are relatively short-lived. They take minutes not days to execute.

#

@split ether pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I see the error: (I am using the latest API version)

Received unknown parameter: items[0][price_data][product_data]. Did you mean product?

Related Request ID(s)
req_6iFyTCWwg6s7fJ

What have you already attempted?
Upgrade API last version

What are you working on?
Create a paid subscription without defining plan or price. Custom price.

cursive heronBOT
#

@cerulean pasture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do connect accounts have access to api credentials?

Related Request ID(s)
None

What have you already attempted?
I am trying to connect a user's account to wix and use their nerdpay/stripe account as the payment processor

What are you working on?
Nerdslice Point of Sale

cursive heronBOT
#

@final grove pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
def post(self, request):
try:
customer_id = request.data.get("customerId")
interval = request.data.get("interval", "year")
email = request.user.email # Extracted from token

Question
How to enable automatic tax calculation based on my product? I enabled it for eg my price was 1 USD for my product ID, for my canada user it should have applied the tax and be billed as 1.23 etc but it was billed at 1 USD
Full code in thread

What have you already attempted?
I have already passed
automatic_tax={"enabled": True},
in creating a subscription

What are you working on?
A subscription based custom workflow

#

@hard frost pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const fetchOptions = async () => {
if (!sessionId || !ephemeralKeySecret) {
throw new Error('Session data is missing');
}
return {
sessionId,
ephemeralKeySecret,
brandLogo: Image.resolveAssetSource(logo),
};
};
const {present, loading: stripeLoading, status: stripeStatus} = useStripeIdentity(fetchOptions);
const handlePress = () => {
present().catch(err => {
Alert.alert('Error', 'Failed to open verification session');

Question
I’m integrating Stripe Identity in a React Native app using @stripe/stripe-identity-react-native The app crashes when calling present() on Android,
(I'll put my conifg files after submitting)

What have you already attempted?
Updated Kotlin to 2.0.21, Gradle to 8.4, AGP to latest, and Stripe Identity to 0.3.7. Also cleaned cache, reinstalled node_modules, rebuilt project, and checked Compose versions. Still crashing with the same error.

What are you working on?
I just want to verify Documents of users and selfies by usinf Stripe Identity in my React native, Spring boot app

cursive heronBOT
#

@wary glade pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I got this error:
{
"error": {
"type": "standard_error",
"messages": [
"This object cannot be accessed right now because another API request or Stripe process is currently accessing it. If you see this error intermittently, retry the request. If you see this error frequently and are making multiple concurrent requests to a single object, make your requests serially or at a lower rate."
]
},
"status": 500
}

and I would like to know specific API request or Stripe process causes the error. How do I know?

Related Event ID(s)
Developer -> webhook -> failed -> checkout.session.completed

What have you already attempted?
I retry the webhook and it works. But I would like to know which specific cause so i can fix it

What are you working on?
im maitaining on handle stripe checkout session complete

cursive heronBOT
#

@dapper smelt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using an old API version (2013-08-13) to retrieve customers using https://api.stripe.com/v1/customers/:id, why do some customers have their credits cards saved in both "cards" and "sources" fields, while some customers only have their credit cards in the "sources" field

Related Request ID(s)
req_3CoYRRuqchwaz6, req_o0tALbIpOvFXJc

What have you already attempted?
req_3CoYRRuqchwaz6 is a customer that has their credit cards only in the sources field, req_o0tALbIpOvFXJc is a customer that has credit cards in both cards and sources

cursive heronBOT
#

@wooden stump pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can one create a coupon discount through the API in the latest basil API version (2025-04-30.basil) since the option to create it through the Customer object has been removed? We were passing along just the coupon ID when creating the Customer object but that doesn't work anymore. It does seem like this has been removed on purpose from what I can read here: https://docs.stripe.com/changelog/basil/2025-03-31/deprecate-singular-coupon-promotion-code

Related Request ID(s)
req_7X3xuFFr6tN5o4

What have you already attempted?
Have read this guide: https://docs.stripe.com/billing/subscriptions/coupons?dashboard-or-api=dashboard

But there is nothing regarding attaching a coupon/discount to a customer object

What are you working on?
Billing of our clients

#

@still minnow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The Express Checkout Element let's us render an apple pay button even if the user doesn't have a card in their wallet. In doing so, it let's users enter card details via the apple pay modal.

Is it possible to do something similar via PaymentRequest or PaymentRequestButton? We'd like to be able to call `paymentRequest.show()` and render an apple modal, even if the user doesn't have a card in their wallet.

Related Request ID(s)
N/A

What have you already attempted?
Tried doing this out of the box, but receive IntegrationError: Payment Request is not available in this browser.

cursive heronBOT
#

@strange pewter pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
def initialize_subscription_with_payment_intent(event_vars):
try:
price_id = event_vars.get("priceId")
customer_id = event_vars.get("customerId")
uuid = event_vars.get("uuid")

    today = datetime.today\(\)
    day\_number = today.day
    
    
    \#midnight time
    midnight\_datetime = datetime.combine\(today, datetime.min.time\(\)\)
    
    if price\_id == os.environ.get\('STRIPE\_MONTHLY\_SUBSCRIPTION\_PRICE\_ID'\)\:

Question
We implemented susbcription intents into our sign up flow on our website.

We currently offer two types of subscriptions, let's say Subscription1 and Subscription2

Currently on our stripe-hosted Customer Portal as well, we off the ability for members to switch between subscription plans.

Question: on the stripe-hosted Customer Portal, if we allow users to switch plans themselves, but only show/allow them Subscription2 on the Customer Portal... will this mean that users wi

What have you already attempted?
this code all works as is. I want to know the technical effect of the stripe-hosted Customer Portal and users ability to switch between subscriptions... and how that behavior will affect our code and susbcription offerings

cursive heronBOT
#

@keen jewel pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Express Checkout Element.

Question
how do i fix so that i consumers can make payments on website

What have you already attempted?
i disconnected the stripe plug in and reconnected

What are you working on?
adding stripe payment to website

cursive heronBOT
#

@short oak pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/customize-payment-methods

Question
I noticed that even if we specify a paymentMethodOrder, the selected payment option shown first is the saved cards (if it exists). I was wondering if there is a way for me to specify an order where the saved cards (if it exists) does not show up before the order I have configured in the code.

What have you already attempted?
I have tried the paymentMethodOrder in the code to change the ordering of the payment methods shown.

What are you working on?
Implement a feature where the last used payment method is shown first and selected

cursive heronBOT
#

@soft swift pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
In a sandbox, I'm trying to create an account for a government entity and then go through the account_onboarding flow. I expect that the "business type" selection input allows me to choose a government entity.

What actually happened?
The selection input offers me corporation types, partnerships, non profits, but not government entities.

Reproduction Steps
Create a new account:

const account = await stripe.accounts.create\({
  business\_type\: "government\_entity",
  country\: "US",
}\);

Create an onboarding link:

const accountLink = await stripe.accountLinks.create\({
  account\: account,
 ...

Question
Am I doing something wrong in how I am creating an account for a government entity?

cursive heronBOT
#

@worldly warren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is full SSN required for a connected account to receive a destination charge from a platform account? Is a full SSN required for a connected account to transfer money to their bank account?

Related Request ID(s)
N/A

What have you already attempted?
https://docs.stripe.com/connect/required-verification-information

Says only last 4 needed

What are you working on?
Reimbursement app

cursive heronBOT
#

@cold bear pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
StripeConfiguration.ApiKey = "sk_test_•••KSHe";

var options = new AccountCreateOptions
{

};
var service = new AccountService();
Account account = await service.CreateAsync(options);

var options1 = new AccountLinkCreateOptions
{
Account = account.Id,
RefreshUrl = "https://example.com/refresh",
ReturnUrl = "https://example.com/return",
Type = "account_onbo

Question
i want to preserve link if user clicks multiple time , it should not expire after one click

What have you already attempted?
unable to open same link multiple times

cursive heronBOT
#

@lament steeple pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I have a SEPA refund , the refund takes time to succeed on sandbox

Related Request ID(s)
don't have one

What have you already attempted?
I tried to check in the documentation of a way to bypass this but there isn' any

What are you working on?
We are bulding end to end testing cases on refund for our product

cursive heronBOT
#

@nimble viper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using SubscriptionSchedules to manage recurring invoices with collection_method: send_invoice.
Is it possible to override or set a custom invoice number when the invoice is created — for example, via the invoice.created webhook?
We’d like to apply a custom number format based on metadata or internal logic. Is there any supported method to achieve this?

Related Request ID(s)
req_3c9c1ea2-9dcf-98b3-7eb5f3b9

What have you already attempted?
We’ve tried using invoice.created webhook and calling InvoiceService.UpdateAsync(invoiceId) — but it seems the number field is read-only.
We’ve also looked into custom fields and metadata, but they don’t change the invoice number itself.

cursive heronBOT
#

@visual star pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, My client wants me to setup a subscription where:

- The first payment covers the end of this month and the next
- Then, the billing period is sheduled every month from the 1st day to the last, but invoice payment is triggered on the 5th of each month
Example : let's say the price is 30€/month, I subscribe today :
- I pay 33€ today (3€ for may and 30€ for june)
- Then I pay 30€ on the 5th of june for the period from 1st of june to 30th of june
- Then I pay 30€ on the 5th of july for the period from 1st of july to 31st of july

Related Request ID(s)
-

What have you already attempted?
It seems like I cannot use the parameter days_until_due if the invoice is charged automatically. Everything would work fine if I used periods to cover the ongoing and next month first, however, I don't know how to trigger payment only 5 days after the start of an invoicing period -- if that is even possible.

What are you working on?
An insurance policies subscription app

cursive heronBOT
#

@native cloud pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The paymentmethod pm_1rtpn7iu6dk9x8yshz3xmase does not belong to the customer you supplied cus_sobkj9lelj8qie. please use this paymentmethod with the customer that it belongs to instead.

Question
The aim was to create platform cross-selling scenario with multiple connected-account (acting as customer and vendors) paying among themselves. I used same 4242...4242 card for all of them. This problem was created by the Payment element form during the payment with a card. The stripe form got stuck and the website was completely unusable.

What have you already attempted?
I had to close the tab and open the app again and I tried to finish the previous process and got the error.

https://docs.stripe.com/payments/payment-element

Reproduction Steps
Not found any way how to reproduce as this has happened for the first time and due to unresponsiveness of the stripe elements in the form.

#

@trim sierra pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, for creating connected account, with business_type="individual" and only 'transfers' capabilities, phone and email are not required for individual. But is it any beneficial to send them to stripe? Maybe for requirement collection(we will have embedded solution)?

Doc/Guide Links
https://docs.stripe.com/connect/api-onboarding

What are you working on?
Marketplace

cursive heronBOT
#

@jagged perch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I’m trying to replicate the behavior seen in Cursor’s Stripe Checkout, where a user subscribing to a $20/month plan is shown a toggle to switch to annual billing with a discount (e.g. “Save $48 with annual billing – $16/month”).
I created a product with two recurring prices ($20/month and $192/year), and when I tried to include both prices in the line_items array using stripe.checkout.sessions.create, I got this error:

Error: Checkout does not support multiple prices with different billing intervals.

Could you please confirm how this toggle behavior works?

Related Request ID(s)
req_MHaZOsrXW1Cal8

What have you already attempted?
I created one product in the Stripe Dashboard with two active recurring prices (monthly and annual).
Then, I tried passing both to checkout.sessions.create → line_items, but it threw the error mentioned above.

What are you working on?
A saas subscription flow

#

@fast summit pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to update a metadata from a payment_intent with status succeeded. The payment intent has been paid with PayPal. On our architecture after the order is created, we store the orderId on the payment_intent metadata. Sometimes it stores correctly, but sometimes it doesn't.

Related Request ID(s)
req_AlRZezDMDnX5SC

What have you already attempted?
We tried to update the payment_intent through a script and through stripe dashboard, all atempts have failed.

cursive heronBOT
#

@true loom pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I’m currently developing an app where users can purchase a virtual currency, which I’ll refer to as “coins.”

My goal is to offer a tiered pricing structure for these coins, as follows:

The first 100 coins are priced at $0.50 per coin.

For purchases of 101 to 999 coins, the price drops to $0.40 per coin.

For purchases of 1,000 coins or more, the price is $0.25 per coin.

I’ve learned that the only way to implement this type of tiered pricing is through recurring payments. However, I need this to be a one-off payment.

Is there a way to achieve this tiered pricing model without using inline prices?
If not, do you have any alternative suggestions?

Thank you in advance!

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models

What are you working on?
App for locations renting

#

@pastel crane pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/charges/object

Question
I am working on stripe integration on my node app and I need to view and donwload the striipe invoice from my react native app, I am able to view the stripe invoice using the charge object and receipt_url but I am not sure how can i allow my users to download the invoice

What have you already attempted?
I tried to download the invoice using my server but it says invalid pdf file,

cursive heronBOT
#

@dreamy inlet pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I'm trying to figure out why a DELETE subscription is sent to Stripe.

What actually happened?
When a trial ends and the attached card requires a 3DS verification from the user, the invoice payment fails and the subscription is canceled (by a DELETE subscription API call from what I see in the Stripe Dashboard logs).

I've added console logs everywhere in my app where I call the DELETE subscription route, however none of my logs show up.

Reproduction Steps
- Start a free trial with a 3DS card
- Don't complete nor fail the 3DS (leave it in requires_action state)
- At the end of the trial, the invoice cannot be paid and the subscription is canceled (by a DELETE subscription call apparently)

Question
I'd like to understand if this DELETE subscription call could be something Stripe does automatically.

I'd also like to understand how I can reproduce the behavior in TEST mode. Indeed, the DELETE subscription call returns fails with a 429 in TEST mode because the subscription is already manipulated by a clock. So I have no clue how to reproduce in TEST mode.

cursive heronBOT
#

@quiet spruce pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```
const options: StripeElementsOptionsMode = {
mode: "payment",
paymentMethodCreation: "manual",
paymentMethodConfiguration: order.paymentMethodConfigurationId,
amount: amount,
//...
customerOptions: {
customer: order.customerId,
ephemeralKey: order.ephemeralKeySecret,
},
appearance: {
//...
}
```

Question
The modal opened by clicking "Learn more" below the Klarna payment option has elements with a white background which can't be changed using stripe appearance api or overwritten with our own styles

What have you already attempted?
I have checked the [docs](https://docs.stripe.com/elements/payment-method-messaging?locale=en-GB)

I tried adding the element classaname to the rules in the appearence api, but doesn't seem like it's supported

I tried overwriting the styles in my app

What are you working on?
an app for selling tickets for events

#

@hard frost pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const fetchOptions = async () => {
if (!sessionId || !ephemeralKeySecret) {
throw new Error('Session data is missing');
}
return {
sessionId,
ephemeralKeySecret,
brandLogo: Image.resolveAssetSource(logo),
};
};
const {present, loading: stripeLoading, status: stripeStatus} = useStripeIdentity(fetchOptions);
const handlePress = () => {
present().catch(err => {
Alert.alert('Error', 'Failed to open verification session');

Question
I’m integrating Stripe Identity in a React Native app using @stripe/stripe-identity-react-native The app crashes when calling present() on Android,
(I'll put my conifg files after submitting)

What have you already attempted?
Updated Kotlin to 2.0.21, Gradle to 8.4, AGP to latest, and Stripe Identity to 0.3.7. Also cleaned cache, reinstalled node_modules, rebuilt project, and checked Compose versions. Still crashing with the same error.

What are you working on?
I just want to verify Documents of users and selfies by usinf Stripe Identity in my React native, Spring boot app

cursive heronBOT
#

@short steppe pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
discoverReaders failed: Error Domain=com.stripe-terminal Code=9050 "Connecting to the reader failed because the app completed fetchConnectionToken with an error." UserInfo={NSLocalizedDescription=Connecting to the reader failed because the app completed fetchConnectionToken with an error., com.stripe-terminal:Message=Connecting to the reader failed because the app co

Question
I am getting this error when i am trying to fetch the discoverable device. it is working for first time when i am reinstalling the application after that it is throwing the error in fetch token api

What have you already attempted?
i have compared from the stripe example code and documentation as well but did not helping

Reproduction Steps
it is happening with my project. I have copied every file from the example code of stripe terminal.

What are you working on?
Stripe terminal tap to pay ios

#

@modest creek pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I'm working with Subscription Schedules and when testing and advancing time to the date that the subscription change is scheduled, the Subscription Schedules is not being released. Is this a limitation in test mode? Does the Subscription Schedule updates automatically to Released in production?

Related Request ID(s)
evt_1RTim52sDVri7VidbYjXN7pW

What have you already attempted?
I attempted to stripe.subscriptionSchedules.release() but I had this error saying that I have a clock event running and I can't release it.

#

@hard frost pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const fetchOptions = async () => {
if (!sessionId || !ephemeralKeySecret) {
throw new Error('Session data is missing');
}
return {
sessionId,
ephemeralKeySecret,
brandLogo: Image.resolveAssetSource(logo),
};
};
const {present, loading: stripeLoading, status: stripeStatus} = useStripeIdentity(fetchOptions);
const handlePress = () => {
present().catch(err => {
Alert.alert('Error', 'Failed to open verification session');

Question
I’m integrating Stripe Identity in a React Native app using @stripe/stripe-identity-react-native The app crashes when calling present() on Android,
(I'll put my conifg files after submitting)

What have you already attempted?
Updated Kotlin to 2.0.21, Gradle to 8.4, AGP to latest, and Stripe Identity to 0.3.7. Also cleaned cache, reinstalled node_modules, rebuilt project, and checked Compose versions. Still crashing with the same error.

What are you working on?
I just want to verify Documents of users and selfies by usinf Stripe Identity in my React native, Spring boot app

cursive heronBOT
#

@lavish igloo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking into whether there is a way to generate a link that could be shared with a customer for the customer to update their payment details (CC information) using the API. Is this only possible for customers that have subscriptions already? What happens for the case of a new customer, does a default subscription have to be setup behind the scenes before a link can be generated?

Related Request ID(s)
N/A

What have you already attempted?
Read the https://docs.stripe.com/billing/subscriptions/update-payment-method documents. Looks like its possible through the dashboard. Is there something in the API that would allow a link like this to be generated to be sent to the customer?

What are you working on?
we have an app that allows users to enter customer details and billing profiles, including CC details. Sometimes, the customer's CC details are not their own, they need a link to send to the card hold

cursive heronBOT
#

@lost meadow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am learning to use the API, I am setting up a system to take charges and store them in a google sheet. I only need to capture specific info, from 4 products

Related Request ID(s)
NA

What have you already attempted?
I have been reading the documentation to find an endpoint, but I am having trouble here. I am good with the processing data, but finding endpints is my weakness

#

@ionic wagon pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/billing-cycle

Question
I need to set up a payment link directly in the Stripe billing dashboard with the option for the customer to choose between annual or monthly payments for their subscription. Annual is 2490 DKK ex VAT, and monthly is 249 DKK ex VAT (so 17% discount with annual payments). The issue is that I need one subscription payment link, but that when I try to add the two different prices for the same product (or even two different products), I get an error saying "The prices on all line items must have the same recurring interval."

What have you already attempted?
I have attempted to use the create payment link solution in the Stripe Dashboard.

What are you working on?
SaaS subscription plans. We already have some subscribers on a monthly payment plan, but want to also offer an annual one to people who click on the link to subscribe.

cursive heronBOT
#

@topaz belfry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how to edit upcoming invoice? i can do it from dashboard but from api i can see it was removed, any other options via api that i missed ?

Related Request ID(s)
nil

What have you already attempted?
how to edit upcoming invoice? i can do it from dashboard but from api i can see it was removed, any other options via api that i missed ?

What are you working on?
stripe api version upgrade

cursive heronBOT
#

@still minnow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm rendering a stripe payment element that only displays card entry fields. However, there seems to still be a "Card" tab container surrounding the fields themselves. Is it possible to remove this container?

Related Request ID(s)
n/a

What have you already attempted?
Not much, just rendering the payment element as it is

What are you working on?
A credit card billing modal

#

@twin hamlet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to access new balanceSettings endpoint but not being able to

Related Request ID(s)
no req ids

What have you already attempted?
using sdk beta version

What are you working on?
connect integration

#

@dusk gale pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Accounts v2 API issues

- AccountsLinks V2 missing from api (its in the docs but not available)

Related Request ID(s)
req_v2Of4AsUlny1s4sL4

What have you already attempted?
Attempting to create account links v2.

What are you working on?
I am building a community platform marketplace like Skool.com or Whop.com

cursive heronBOT
#

@velvet cypress pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
My Client pay the ivoice through the bank details which was under the link and he uses everytime that details and pay through the bank but i didnt receive the payment in my account

What actually happened?
My Client pay the ivoice through the bank details which was under the link and he uses everytime that details and pay through the bank but i didnt receive the payment in my account

Reproduction Steps
My Client pay the ivoice through the bank details which was under the link and he uses everytime that details and pay through the bank but i didnt receive the payment in my account

Question
What i have to do how i will get that money in my account

cursive heronBOT
#

@still minnow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our website offers a subscription with a free trial. However, we're running into a lot of users starting it with insufficient balances on their debit cards, leading to high cancellations.

We'd like to restrict our payment options to not allow debit cards. Currently, we're using the card payment element, and the apple pay paymentRequest button. Is this possible to do?

I know apple pay natively has a merchantCapabilities field, which doesn't seem listed in the payment request documentation.

Related Request ID(s)
n/a

What have you already attempted?
Not much on the debit card restriction side

What are you working on?
A website offering a subscription with a free trial.

cursive heronBOT
#

@rough finch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I see on a customers account the default payment information, but when i go to pull it from the API, it isn't giving me the same information. Any reason why that would be?

Related Request ID(s)
cus_JJGG8JZ7U4Uua7

What have you already attempted?
I've retried the calls, tried to see if just missed something.

cursive heronBOT
#

@worthy vortex pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a question regarding the integration of Google Pay with Stripe. We have a website (both desktop and mobile) where we sell content (such as an image or an access link, not a physical product), and we already have a Stripe Checkout integration in place.

My concern is whether it's necessary to use Google Play Billing for the website, or if that requirement only applies to Android apps?

Related Request ID(s)
google-pay

What have you already attempted?
Stripe and google documentation:
https://docs.stripe.com/google-pay?platform=web
https://developer.android.com/google/play/billing?hl=es-419

#

@weary pollen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! How can I provide company EIN creating a connected accounts using Account V2 API? identity: { business_details: { id_numbers: [ { type: 'us_ein', value: "000000000" } ] } } doesn't seem to work.

Related Request ID(s)
req_v2m4q9QqcnsC0Pxnf

What have you already attempted?
Providing id_numbers array

What are you working on?
Connect integration

#

@kind pine pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

For the receipt_url that is part of the Charges object, is there any customization/while-labeling that we can do to have it match the Connected account's styling? Our platform is white-labeled so ideally the receipts would not show our company's information but rather the merchant's own information.

Curious if this is possible with the Stripe receipt or is this something that needs to be custom-built by us.

Thanks,

Doc/Guide Links
https://docs.stripe.com/receipts

What are you working on?
B2B White-labeled food ordering platform

cursive heronBOT
cursive heronBOT
#

@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can 2-day ACH settlement be controlled? We want the 2 day ACH for specific customer's accounts not all. Is that possible?

Related Request ID(s)
none

What have you already attempted?
implemented ACH direct debit

cursive heronBOT
#

@humble rivet pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/balance_transactions/list

Question
is there any document about stripe fee for Tap on mobile - Per Auth fee? I checked balance history related to a payout, I can see there are stripe fees. However I didn't get any event for this fee, I am wondering did I miss the configuration to add this type of event in webhook.

What have you already attempted?
Make a payment in live environment using mobile tap, wait for the payout made. I can see the Stripe fee, however in event, I didnt see anything about the fee.

What are you working on?
working on mobile tap pay using terminal, need to handle stripe fee

#

@night swan pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am in Uganda and I want to use stripe for my apps but my country is not available.

Related Request ID(s)
I didn’t find this

What have you already attempted?
I have tried creating an account to get API but my country isn’t available.

What are you working on?
A couple of Apps that receive money but I want to use stripe to receive payments

cursive heronBOT
#

@dull python pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the PaymentMethodDomain API to register a domain for Apple Pay, Google Pay, etc. I sent off a `POST /v1/payment_method_domains`, and the response body is as expected. However, when I check https://dashboard.stripe.com/settings/payment_method_domains, my domain is not there.

Related Request ID(s)
req_O90yvuxvkLgWWr, req_Km93RpVQMp1wIr

What have you already attempted?
I followed the instructions in https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=api, and got an API response that is expected, but the domain still does not appear.

What are you working on?
Code that performs payment method domain registration for new shop sites.

cursive heronBOT
#

@silver umbra pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I'm using the onboarding connected component to collect information from my users. Once I add my information, I would expect the component to inform my users that no further action is required.

What actually happened?
Once the information is added and the account is eligible to be paid out, the onboarding component still displays a "review and confirm" step, which is confusing. It makes people think that they missed some information or there was an issue.

Reproduction Steps
A user goes to my site, accesses the connected component, and adds their information.

Question
Is there a way for the connected component to just tell my users that onboarding is complete once they are eligible to be paid?

What are you working on?
A sales platform where we pay commissions to users for sales leads.

cursive heronBOT
#

@pseudo mortar pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Embeded checkout form to show when the checkout.html is accessed.

What actually happened?
The form doesn't show. It generates error "Something went wrong". There are no error in the nginx or uwsgi error logs not I can see any requests on the Stripe logs under developer dashboard.

It works as expected on my local environment but not on the server.

Reproduction Steps
access the checkout url www.example.com/checkout.html

Question
How can I find where the calls are failing? When I access the link via curl, it renders the html correctly for the checkout endpoint.

What are you working on?
Migrating the embeded stripe checkout to server from my local system.

cursive heronBOT
#

@queen crown pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have been trying to get my webhook working for 2 days and have gotten nowhere.

Related Event ID(s)
evt_1RTx4SL6G7tKq6vSiEPtF7HF

What have you already attempted?
I have tried changing my code as much as I can and still cant seem to get it right

What are you working on?
web app

cursive heronBOT
#

@tiny violet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have 2 subscription for a user, one burnDown and one metered. burnDown is user facing and has two - premium and Advanced. Now when user subscribes to one of them, hidden metered subscription is created and managed internallly( by assigning credit grants and triggering metered-events). Everything is well during monthly billing cycle. But when I update the burnDown subscription from premium to advanced or vice versa in middle of the month, I want to trigger the invoice for metered subscription and clear the metered events & credit grants. But this invoice is always quantity consumed is alway

Related Request ID(s)
-

What have you already attempted?
I have tried different combinations in "create-invoice" api but none of them worked. I can't supply line items myself as far as i know.. if i could i would've calculated the meter consumption and generated the invoice myself.

What are you working on?
Building a metered credit burndown system along with fixed price subscription model

cursive heronBOT
#

@grizzled ingot pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe SDK on iOS should open webview show scan qr code for PayNow

What actually happened?
App Crash

Reproduction Steps

  1. stripe-react-native version 0.33
  2. react-native version 0.73
  3. initPaymentSheet()
  4. presentPaymentSheet()
  5. choose paynow as payment method
  6. hit pay button
  7. app crash

Question
is it expected on Dev environment? all other payment methods work fine on dev, except paynow

What are you working on?
ecommerce app

cursive heronBOT
#

@jolly turtle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a customer and the default payment method is attached to the customer requires authentication always (4000002760003184 test card). While I create invoice, finalize and pay it programmatically through invoices API, I am getting the error that this payment requires user action. Is there any way to know before paying invoice, that this payment requires an action / authentication?

Related Request ID(s)
https://dashboard.stripe.com/test/workbench/inspector/pi_3RU0PwCpfpVCWu671jfF1srh

What have you already attempted?
I tried checking in invoice retrieve API, where I can check for payment intent associated with it, but couldnt find it

What are you working on?
I am exploring if there is a way I can know if invoice payment requires additional action / authentication before programatically invoking invoices.pay() API?

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

Discord will reopen at 1pm UTC

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@vapid wyvern pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
appearance: {
rules: {
'.Text': {
textAlign: 'center'
}
}
}

Question
I am currently using Stripe Elements. I am adding ACH as a payment method (in addition to credit cards) and there is a text block on the generated form that says "Enter bank details manually instead (may take 1-2 business days)". Is there anyway to apply custom CSS to this form?

What have you already attempted?
I've been reading the style guide for Elements at https://docs.stripe.com/elements/appearance-api, but I haven't been able to find a specific class or variable that works in this case. The generated HTML element has the classes "p-Grid p-BankView--grid". I've tried playing around with "gridColumnSpacing" and "gridRowSpacing" per the webpage, but they have no effect. I've also tried using ".Text" and ".TermsText", but they also have no effect

What are you working on?
Fundraising app

#

@floral kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a stripe connect account. Has any developer gotten approval from Stipe to use Klarna or Affirm as a payment option for a marketplace that connects homeowners with contractors for home repairs.

Related Request ID(s)
I have

What have you already attempted?
I have read Stripe docs and selected Affirm and Klarna as payment option.

What are you working on?
I am building a home services marketplace

cursive heronBOT
#

@vivid geyser pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are trying to improve conversions on our checkout page, which uses stripe.initEmbeddedCheckout. Looking for a way to change the button label.

Related Request ID(s)
None

What have you already attempted?
Read the docs

What are you working on?
SaaS app

#

@keen bramble pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Use of test card pm_card_visa keeps triggering 3D Secure sporadically.

Related Request ID(s)
N/A

What have you already attempted?
Not sure what to attempt as the occurrence is sporadic

What are you working on?
Subscription

cursive heronBOT
#

@formal river pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What does this mean by stripe in console log ? Should we do anything on stripe dashboard for this ?

Request URL
https://api.stripe.com/v1/payment_intents/pi_3RU7AJ02kAGyRVpy0EBDtr6g/confirm
Request Method
POST
Status Code
404 Not Found

{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payment_intent: 'pi_3RU7AJ02kAGyRVpy0EBDtr6g'",
"param": "intent",
"request_log_url": "https://dashboard.stripe.com/logs/req_U8IuQBvE13u5aP?t=1748527840",
"type": "invalid_request_error"
}
}

Should we do anything on stripe dashboard

Related Request ID(s)
Nothing

What have you already attempted?
Nothing else

What are you working on?
Getting the stripe gateway from test to production. I have the website built with react typescript on front end and node js on backend

#

@junior mist pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Apple Pay deferredPaymentRequest pre-authroize a charge with the creidtor? What will happen if a user attempts to use a debit card with no balance?

Can Apple Pay deferredPaymentRequest and recurringPaymentRequest work together?
We need to have recurringPaymentRequest to make recurring charges, but I am not sure if both can work together

Doc/Guide Links
https://docs.stripe.com/apple-pay#order-tracking

What are you working on?
Apple Pay on Payment Element

#

@tired nymph pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the expected response from closing a presentpaymentsheet with an active insufficient funds? We get the error on the payment sheet but my understanding is that when closing the sheet using the X with the error active, it should resolve the promise to mimic that error. We only get a canceled error code but we're 99% certain we were getting the correct code ~2 weeks ago.

This is in react native application (0.76.3) using stripe/stripe-react-native": 0.41.0.

Related Request ID(s)
not required

What have you already attempted?
Note all successful payments are working correctly. We are only concerned with the error handling aspect.

We have attemped generating errors on the payment sheet using the various card details found within stripe. Mainly using 4000 0000 0000 9995 (insufficient funds). This works as expected on the payment sheet. However, our developer team is convinced that ~2 weeks ago, if we closed the payment sheet while it had an active error, the async presentPaymentSheet function would resolve to that error. Now it only seems to return the default canceled error.

What are you working on?
a react native health app. stripe is implemented in a private GP consultation section

cursive heronBOT
#

@gilded geyser pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
One of our customer received an email with the following text:
"
Access your customer portal
Here's your requested link to log in to your customer portal.
Log in to your customer portal
If you're not trying to log in, ignore the email.
Please note: This email contains a link that should only be used by you. Do
not forward this email.
Questions? Contact us at
"

I checked and it seems like it is a legit email from you but I can't figure out when is this email send and how to turn it off. When I go to the customer in the stripe dashboard, I don't see any email sent. I Found that when we ....

Related Request ID(s)
evt_1RThhCJGtlvk1dohbuGDNkX0

What have you already attempted?
Checking the email settings and the emails sent to this customer

What are you working on?
platform for ai services

#

@deft meadow pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a stripe sigma webhook setup to fetch payout daya, we noticed that one of our payouts the Payout trace ID data was missing

Related Event ID(s)
evt_1RTEH7Et6sPlTbJqJn4cIXAC

What have you already attempted?
We looked at the payout file itself and saw a value in the Payout trace id but not sure why the webhook didn't fetch from the beginning

What are you working on?
We use this stripe sigma webhook to bring over the bank reference number for cash reconcilation in our ERP.

#

@eager spindle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the Account V2 `details_submitted` or `charges_enabled ` equivalent from V1 to establish if a customer has completed an Account onboarding?

In V1 checking `details_submitted` or `charges_enabled` would give an indication to if a customer has completed onboarding.

Related Request ID(s)
req_v2mBWDDhFf6p4z9FL

What have you already attempted?
Try to read the docs to find guidance on how to established if an Account customer has completed onboarding. Try to use Stripe AI in the docs.

cursive heronBOT
cursive heronBOT
#

@midnight mortar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm having a problem with the upcoming invoice API. The value I'm passing to subscription_details.default_tax_rates is applying to a line_item that I need to not apply tax to. According to the docs, if a tax_rate is not explicitly set on the invoice_item then it falls back to the subscription_deatil's default tax rate. Is there any value I can pass to the invoice item that will keep the default_tax_rates from being applied to it?

Related Request ID(s)
N/A

What have you already attempted?
I tried to not use the default_tax_rates param and instead explicitly passed a tax_rates list to each of the subscription_detail's items. This almost worked but I experienced an issue where this approach did not calculate tax for a subscription_detail.item where I set the deleted param to true.

What are you working on?
Building out a feature to allow our end users to modify their subscriptions and I'm using the upcoming invoice api to generate a preview of their changes.

cursive heronBOT
#

@clear holly pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In an async workflow (we accept customer credit cards through Checkout, then bill later for unpredictable amounts of money), I need to test receiving a mandate on a setup intent, specifically for Indian customers. But the Indian test credit cards are succeeding, and both the setup intent and payment intent have a null mandate field

Related Request ID(s)
I don't get access to our company's dashboard, but setup_intent: seti_1RUBNxLHfZ87AuliUKQFg12O is a recent example of a test Indian card that should simulate a customer getting a pre-debit notificati

What have you already attempted?
I can inspect the setup intents as it proceeds through our code's lifecycle and then issue test charges. I'm using this page for the numbers: https://docs.stripe.com/india-recurring-payments?integration=paymentIntents-setupIntents&testing-method=card-numbers#testing. and have started rewriting the Checkout `confirmSetup` step to push mandateData (but the mandate field is still null)

What are you working on?
Rewriting a billing workflow to use setup intents/ payment intents instead of sources/charges directly for customers who give us their credit card via Checkout, but aren’t billed until later

cursive heronBOT
#

@topaz niche pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
An unknown error occurred while attempting authentication. Please try again later or contact support.

Question
I would like to add my payment method to the OpenTrain AI platform. I'm from Ecuador and need help.

What have you already attempted?
Tell someone about my problem. I really need help.

Reproduction Steps
I'm using the OpenTrain AI payment method, and it sends me to a section asking for an email address. When I enter my email address, I get an error and can't continue with the steps.

What are you working on?
FREELANCER

cursive heronBOT
#

@rich flame pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I get a Stripe customer's total MRR? Is this data saved and retrieved by the API, or do I have to obtain it myself through calculations?

Related Request ID(s)
None

What have you already attempted?
What I do is bring the last invoice (upcoming) and know the interval of the active subscription and from there with the total amounts without taxes I do my calculations but I think I'm doing it wrong

What are you working on?
I'm trying to display a view with a customer's current Stripe data.

cursive heronBOT
#

@austere portal pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
defaultValues: {
billingDetails: {
...(this.shippingForm?.customer_email && { email: this.shippingForm.customer_email }),
...(this.shippingForm?.customer_phone_number && { phone: this.shippingForm.customer_phone_number })
},
}

Question
Is it possible to pre-fill the phone number that will be used in the Payment Element for Link signup? We are setting the phone number in the billing details, but it doesn't pre-populate in the Link phone number field.

What have you already attempted?
Tried to pass the phone in as a default value per the code above

What are you working on?
We operate a funnel / landing page builder and checkout solution for direct to consumer brands.

#

@vivid geyser pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
setTimeout(() => {
document.getElementById('cardNumber').focus()
}, 4000)

Question
Looking for a way to auto-focus the credit card field of an embedded checkout form when it loads.

What have you already attempted?
Tried the .focus() method on id="cardNumber" but it doesn't work since the element is inside an iframe.

What are you working on?
SaaS

cursive heronBOT
#

@rich flame pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to get the MRR from a Stripe customer. I know the API doesn't include that data, but I'd like to know how you do it in Stripe, since I'm doing it using online formulas.And it gives me different results

Related Request ID(s)
None

What have you already attempted?
I get the total_exluding_tax amount and Then I do the calculations depending on whether the subscription is annual or monthly.

What are you working on?
I'm making a dashboard in my project that shows customer data.

cursive heronBOT
#

@outer cliff pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/issuing/authorizations/object

Question
We are building on the Issuing APIs and want to implement our own spend controls. One of the rules we've been asked to support is allowing/disallowing by merchant name.

I see in the docs we receive a NAME field for the merchant, is there somewhere to retrieve a standardized list of those names? I'm trying to avoid having to build some sort of fuzzy matching since that could lead to incorrect rejections of authorizations.

What have you already attempted?
Reading all the docs. Searched through the dev-help channel to see if anyone else has asked this question

cursive heronBOT
#

@swift lichen pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the Stripe Checkout Session so my customers can buy my Subscription type product. Can I rely on CheckoutSessionCompleted with a PaymentStatus of "paid" to be the only event I need to care about ? In todays YouTube video, it vaguely references both that and InvoicePaid and doesn't really make clear on how to determine if it is ok to consider a customers Subscription as valid.

Related Event ID(s)
CheckoutSessionCompleted InvoicePaid

What have you already attempted?
It's not clear what is the correct practice.

What are you working on?
SaaS project

cursive heronBOT
#

@vocal sphinx pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I show only my custom connect account's business name when sending receipts to their customer? I've tried using the on_behalf_of param but that doesn't seem to work. I've also tried using the statement_description_suffix and appending the custom connect account business name but I don't want my own business name in the prefix.

Doc/Guide Links
https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts

What are you working on?
Stripe integration

cursive heronBOT
#

@floral aspen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to read the billing email address from customers via the API but as best I can tell, this is a UI-only feature: https://stackoverflow.com/questions/71319021/stripe-one-customer-need-to-send-invoice-to-multiple-email-addresses

Is there any way at all today to retrieve the unique billing email address (not the customer email address) via the API?

Related Request ID(s)
n/a

What have you already attempted?
Reviewed API documentation

What are you working on?
Have I Been Pwned integration

cursive heronBOT
#

@restive cosmos pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
In order to use Checkout, you must set an account or business name at https://dashboard.stripe.com/account.

Question
Trying to use Stripe Checkout on a Wordpress Donation Website using Charitable Plugin. My Account Name is ok.

https://amarevida.org/campaigns/amar-e-vida-2/donate/

What have you already attempted?
I Changed Account Name, cleared website cache.

cursive heronBOT
#

@prime grove pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
addressShippingElement.on("change", function (event) {
if (event.value.address.country) {
recalculateShippingFees(event.value.address.country);
}
});

Question
Is it safe to 'do something' using the change event, as opposed to using the change and also the ready event, if I want my function to trigger on page load, and on change? Cause it works with just the change event, but I don't know if it's 'safe' to use.

What have you already attempted?
This function works, but I don't know if it's a good practice.

cursive heronBOT
#

@wooden stump pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to use the Stripe::Invoice.create_preview method with the ruby bindings to replace our usage of Stripe::Invoice.upcoming but I get an error that this method doesn't exist:

undefined method 'create_preview' for class Stripe::Invoice (NoMethodError)

I upgraded our "gemfile" to include the latest version which is "5.55.0" and yet the method is not included there. Am I missing something?

Related Request ID(s)
req_zEqn8vvvdahBBC

What have you already attempted?
Tried to follow the guide here:

https://docs.stripe.com/api/invoices/create_preview

Which references the not-found method

What are you working on?
Billing integration for our platform.

cursive heronBOT
#

@bronze orchid pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
Can a payment intent be automatically canceled in any case?

Question
After I create a payment intent (on session). I received 1 payment intent id. If I don't cancel it by API, it can automatically cancel or not?

What have you already attempted?
Wait some days, but it didn't expire.

cursive heronBOT
#

@vocal wagon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
I've made a purchase with QR code given via Fairmart site but orders was not captured and money has already been deducted

Question
I've made a purchase with QR code given via Fairmart site but orders was not captured and money has already been deducted

What have you already attempted?
I've made a purchase with QR code given via Fairmart site but orders was not captured and money has already been deducted

cursive heronBOT
#

@autumn roost pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, We're seeking some guidance/best practices for introducing annual subscriptions ( We currently only have monthly subscriptions) . For some context, we have multiple tiers of our product that allow users to perform n actions per month. We manage these limits within our app, however we're currently relying on the dates for subscription start/end that are in the Stripe for tracking moth start/end. We want to still retain the monthly limit, but in our current position it looks like we're either going to have to:1. Manage month start/end in the the app when the subscription is billed annually, or 2. Create a second subscription per customer for tracking each month start/end

Doc/Guide Links
I have read through most of the pages in: https://docs.stripe.com/billing/subscriptions/features
We understand how we're going to create/manage the annual plans but just want to see if there's anything options for managing the monthly period dates.

What are you working on?
We're a document signing platform that allows users to create and send agreements, we use Stripe subscriptions to manage multiple tiers of product which each allow different amounts of documents sent

cursive heronBOT
#

@honest rover pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We had a payment on our live tenant (26.05.25) where the invoice (invoice generation via checkout session) did not contain the VAT amount. The one before it (22.05.25), using the same tax rate id as well as product however had the amount in the invoice.
Logs show that the TaxRate was provided for the creation of the checkout session and the amount was calculated in the response as well.

I see nothing wrong when comparing both checkouts side by side, but there must be something different otherwise the VAT would have been displayed.

Do you have more insight in what could have caused this?

Related Request ID(s)
req_qZ53Tn2lHXyAIr (Checkout Session without VAT in invoice) req_m8IIP5g0jmGHW4 (Checkout Session with VAT in invoice)

What have you already attempted?
Checking if settings are correct. Trying our implementation of the checkout procedure in test mode to check if something is wrong.
Checking the logs, customers and payments for differences.

What are you working on?
An application running stripe checkout via the Stripe.net package (45.0.0 with Version 2024-06-20)).

cursive heronBOT
#

@ionic flax pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe issued and charged 2 invoices for the same billing cycle when creating subscription on the 31st. The scenario is monthly subscription was created on the 31st of the month morning through subscription schedule where the schedule start date is set to 30th of the month evening. When the next month does not have 31st, 2 invoices are generated one on the current period end and another on phase 0 end. We're only expecting one invoice generated, the one generated on phase 0 end.

Related Request ID(s)
req_b44r6irHuCSGlC

What have you already attempted?
Releasing the schedule when subscription renewed on the current period end, but we need the invoice to be generated on the phase 0 end instead of the current period end. We need to follow the subscription schedule start date as the billing cycle anchor and not the created date of the subscription.

What are you working on?
Billing system

cursive heronBOT
#

@jovial saffron pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
message
:
"An error has occurred confirming the Checkout Session."
type
:
"invalid_request_error"

Question
error in checkout session this error comes on 1 email only

What have you already attempted?
this error comes with one email with others it works fine

cursive heronBOT
#

@frigid peak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello Stripe team,
My name is Sataapon, and I'm working on a Stripe direct integration where I send credit card information to Stripe from the backend. I'm using PaymentMethod and PaymentIntent for the integration.
My current flow is as follows:

First, I call the API to create a PaymentMethod
Then, I call the API to create a PaymentIntent with the amount
Based on the response, I may or may not need to render 3DS to users
After that, I will call capture or cancel the PaymentIntent
Based on my research, I need to listen to webhooks for successful captures

I have a few questions regarding this

Related Request ID(s)
-

What have you already attempted?
I have tried to check some documents on stripe website

What are you working on?
Do a direct backend integration for credit card to stripe

cursive heronBOT
#

@nova pawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to connect with Stripe Connect, but it gives me message to go back to "instructions they gave me" with other business, which I don't have.

Related Request ID(s)
Connect

What have you already attempted?
To click the button

What are you working on?
Sharable payment.

cursive heronBOT
#

@keen bramble pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can the timestamp of an event be used as a sequence for when an object was updated? Or is there another timestamp that can be used. The AI assistant said this

`For certain objects, Stripe provides a livemode_next_sequence_number field that increments with each update and can be used for precise sequencing.`

Doc/Guide Links
Used the AI Assistant

What are you working on?
Subscriptions

#

@native palm pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var paymentIntent = await new PaymentIntentService().CreateAsync(options);

        res.PaymentIntentId = paymentIntent.Id;
        res.TransferGroupId = transferGroup;
        
        responseList.Add\(new RhbActionResult<CreateResResponse\> {Entity = new CreateResResponse\(\) { client\_secret = paymentIntent.ClientSecret }}\);

Question
I'm building a room booking platform where guests may add more than one room to checkout, potentially from more than one host. I don't want payments to be taken until the rooms are confirmed by the hosts. I'm using payment intents with manual confirmation, then making the transfer when the host approves.

What have you already attempted?
I'm using Stripe connect, and have the backend creating one payment intent per room, with the implementation returns one client secret per intent. This will return a list of client secrets to the frontend, but I'm not sure where to go from here. The AI bot suggests confirming the PIs on the frontend, but it is unclear how to do this. It invented types that aren't there.

I'm using C# asp.net for the backend, and Vue 3 + TypeScript for my frontend.

What are you working on?
A room booking platform where guests may pay for rooms with more than one host in the checkout (Stripe connect)

cursive heronBOT
#

@dull tapir pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I extend an active subscription, that has already been billed, by a set amount? That is, given that I have a sub that was created 10 days ago and has yearly billing, I want to extend its end date by 40 days without billing anything to the customer, while maintaining the yearly billing at the new renewal date (i.e., 1 year and 30 days from now).

Related Request ID(s)
req_ia0B0EPVHoaObv

What have you already attempted?
I have attempted to update the billing anchor / create a subscription schedule that reset at the right time.

curl https://api.stripe.com/v1/subscriptions/sub_XXXXXX
-u sk_test_...:
-X POST
-d "proration_behavior=none"
-d "billing_cycle_anchor=NEW_TIMESTAMP"
-d "cancel_at_period_end=false"

curl https://api.stripe.com/v1/subscription_schedules
-u sk_test_...:
-X POST
-d "from_subscription=sub_XXXXXX"
-d "end_behavior=release"
-d "phases[0][items][0][price]=price_XXXXXX"
-d "phases[0][start_date]=NEW_ANCHOR_TIMESTAMP"
-d "phases[0][iterations]=1"

cursive heronBOT
#

@worn plover pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I see 4 different type of pricing based on card type if EU one or International. We want to charge all Stripe fees to our end user. How can we know which fee will be on a transection ? we use payment intent to get price which end user pays. Can you tell me api or best way to do it ?

Doc/Guide Links
https://stripe.com/en-at/pricing

What are you working on?
We want a payment flow where we inclue all stripe cost so user bares the cost now us.

cursive heronBOT
#

@half lodge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to develop a stripe connect, I need not to redirect to the stripe for payment, I also want to save the card information of the user on the stripe. While using sandbox I am able to do that but when I am trying production it gives compiles issue.
> I can use popup on my website bit I not want to use redirect on the stripe server.

> My basic requirements are:

  1. I want to save the card details of the user on stripe.
    > Want to make payment without redirecting to the stripe server.(it can be via popup or on my webpage.)

Related Request ID(s)
Request Id: req_hlCyyF8wtFT4Jn

What have you already attempted?
I am able to do this on the sandbox, I want to bypass compiles issue.

What are you working on?
I am PHP LAMP dev working on a ecommerce platform.

cursive heronBOT
cursive heronBOT
#

@silver jewel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, how do we pause a subscription in such a way new invoices wont be issued but existing invoices are unaffected?

Related Request ID(s)
req_mCjtK0po8cdns3

What have you already attempted?
When we try to send:

pause_collection:: {
behaviour: "void"
}

but this causes existing subscriptions to be voided

cursive heronBOT
#

@stiff heath pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We briefly stood up a different production endpoint which is no longer active. We have renewal attempts which have hit the inactive endpoint (where webhooks are now disabled). It seems that even though the webhooks hit our real/working production instance successfully, unsuccessful calls to the other endpoint kept renewals from processing. How can we force those renewals to hit the existing endpoint and successfully renew?

Related Event ID(s)
evt_1RUIeW2FNYSW8XZhGz4SgLE9

What have you already attempted?
We do not know what to attempt. We can manually resend the webhook, but it looks to only be possible to resend it to the endpoint which is no longer active and can not process the webhook event.

What are you working on?
Litcharts.com

#

@vivid burrow pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
When confirming a PaymentIntent with a `link` PaymentMethod and `setup_future_usage`, `mandate_data` is required

Question
My sign up flow does not use paymentIntents, I use stripe elements and attach the payment method to the customer on the backend. How would I get this error?

What have you already attempted?
I tried researching putting mandate_data in the subscription created call that I do later but I am unsure why I need to do this at all.

Reproduction Steps
req_JR9HEpsW9oTYk7?t=1747939778

Cannot reproduce

What are you working on?
Using Link as a payment option in my customer sign up flow

cursive heronBOT
#

@exotic wigeon pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/enabling-jcb-payments-for-japan-based-stripe-accounts

Question
Some test cards seems to be not supported. Whenever they are entered, we get the card_not_supported error. We already have cards and JCB payment methods enabled. What is the cause of this one?

What have you already attempted?
Some additional information:
Stripe account is currently set in Japan. If I try to set it to US, I don't get this error but I read in the documentation that these cards should be usable in a Japan Stripe Account with JCB but it still gets an error with it enabled.
We're supporting USD and JPY. Both currencies seems to reject the card.
Customer's country can also be outside of Japan. So far I tried having both set in Japan and US and they both also reject the card.

cursive heronBOT
#

@icy wolf pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create a webhook to use the BETA permissions for terminal_collect_inputs_beta=v2 I need the BETA permissions enabled please

Related Event ID(s)
req_mITWmu4LZ0jn5n

What have you already attempted?
I get this error {
"error": {
"message": "Invalid Stripe API version: 2025-02-24.acacia;terminal_collect_inputs_beta=v2. You do not have permission to pass this beta header: terminal_collect_inputs_beta. If you have any questions, we can help at https://support.stripe.com/.",
"type": "invalid_request_error"
}
}

What are you working on?
We have these permission in the UK to use the email reciept function. I just need the same permissions for our Munich account

cursive heronBOT
#

@hushed hazel pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
A resource is blocked by OpaqueResponseBlocking, please check browser console for details. csp-report
MouseEvent.mozInputSource is deprecated. Use PointerEvent.pointerType instead. isVirtualEvent.ts:17:6
Uncaught (in promise) SubmerchantAuthError: Popup is blocked by browser.
r SubmerchantAuthenticationError.ts:5

Question
Trying to use stripe components, the account-management component

https://docs.stripe.com/connect/supported-embedded-components/account-management

Set it up as mentioned, but when trying to "sign in to see details", I get an error

An error occurred while authenticating your account. Please try again.

My payouts and payments components work great, not this.

What have you already attempted?
There are no CSP within my django, i've checked all the codebase.

Tried to make CSP as least restrictive as possible with django-csp, has not worked.

Removed all adblocker and stuff from my firefox
Used other browser e.g. brave, removed all ad blocking from brave and used incognito mode, hasn't worked.

Reproduction Steps
const accountManagementComponent = instance.create("account-management");

document.getElementById('account-management')

Doing this gives the error.

What are you working on?
A django web app

#

@junior mist pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Based on this documentation (https://docs.stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-applePay-cardFunding), Express Checkout Element Apple Pay option should support the field cardFunding, but the js library codebase doesn't really have the option for cardFunding (https://github.com/stripe/stripe-js/blob/c59eb2d5dfd2bedcbf13218d7ce6cf63c3ae15c7/types/stripe-js/elements/apple-pay.d.ts#L123-L143)

Related Request ID(s)
n/a

What have you already attempted?
Dig into the library code base

What are you working on?
Trying out Express Checkout Element Apple Pay with credit card only

cursive heronBOT
#

@buoyant loom pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to update scheme ACH Credit Transfer to the new US_Automated_Bank Transfer for existing customers.

Related Request ID(s)
NA

What have you already attempted?
I've created a curl that I need help on

cursive heronBOT
#

@lavish mist pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/building-with-llms

Question
I'm trying to configure my MCP server to access Stripe documentation when using Agent mode in VSCode.

The GitHub repo says they have a "documentation.read" option, but it's not working. I hope you can help me.

https://github.com/stripe/agent-toolkit/tree/main/modelcontextprotocol

What have you already attempted?
These are the options I used, but it still doesn't work.

--tools=all
--tools=documentation.read

What are you working on?
Setting up my MCP in VSCode

#

@spiral minnow pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hey, for my saas I am looking to have a subscription plan for Individual Users but also one for Teams to manage multiple Seats. What is the best practice to choose for price here? Should i do a Usage based Plan or how do people usually handle this?

Doc/Guide Links
i dont have any links

What are you working on?
Software as a Service subscriptions

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

We are currently offline. We will be back at 4 AM UTC on Monday, 2025-06-02. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@tired forge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to set up an API call (via python sdk> client.payouts.create) for initiating a manual payout for a connected account. As suggested in the docs, I set the "stripe_account" field to the connected account ID in my params, but I'm getting the error "Received unknown parameter: stripe_account"

Related Request ID(s)
req_RlOYx0ys3DKA4M

What have you already attempted?
I tried moving the field to metadata, but it didn't work.

What are you working on?
Peer-to-peer shopping marketplace

cursive heronBOT
#

@ocean fern pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why does payment_intent not show up in responses to invoice retrieval requests (for .basil)?

Related Request ID(s)
Not really applicable in this case

What have you already attempted?
For the two .basil api versions, the api fails to retrieve payment_intent from an invoice. However, it shows up in the dashboard.

For example (cli, stripe version 1.27.0) stripe invoices retrieve in_1RVOp1QgbqhSbmBEnfnN4MLF
fails to retrieve payment_id. The exact same command works in the web dashboard's shell.

I also tried fresh installs of Python and Node.js versions locally, as well as cli, all failed.

I am in the sandbox currently. If this is a bug with .basil, any invoice should work. I downgraded to "2023-10-16" and got payment_intent as expected.

cursive heronBOT
#

@woeful stone pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We need code to integrate 3dS using javascript in the front end and JAVA in the backend.

Question
We need help in integrating 3dS using javascript in the front end and JAVA in the backend.
Our usecase is, we can only take authorization in the front end and will do the payment at backend API.

What have you already attempted?
We need code to integrate 3dS using javascript in the front end and JAVA in the backend.

What are you working on?
We need code to integrate 3dS using javascript in the front end and JAVA in the backend.

#

@outer oasis pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://stripe.com/connect

Question
I want to know how I can create an automated payout system with stripe connect that takes money from our stripe account and gives it to a player of our game. As I am doing this for a client (i.e. the stripe account is of a client) are there any steps that they have to take on their end before I can start development?

Is there a sandbox or test mode for stripe payouts/stripe connect? How hard/time consuming is this going to be because I am not even sure if this is the right fit for my use case. Please any guidance on this is highly appreciated.

What have you already attempted?
I have a stripe checkout system where I take my player's payment details (on stripe) and I get a customer id that I store. I am also handling all in app purchases and subscriptions through stripe.

What are you working on?
I have a game where I reward people in game currency at the end of the day if they rank on top of the daily leaderboard. Now I want to create an automated process to give them real $$$.

#

@tawdry compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does defining api version in code enforce the change on dashboard or do we have to make the changes in the code and as well as in the dashboard?

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
Stripe api/sdk upgrade

cursive heronBOT
#

@wise stratus pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/setup_intents/object?api-version=2025-05-28.basil

Question
I'd like to change the statement descriptor of the 0€ authentification charge of a SetupIntent when creating the SetupIntent object. I manage a 2-brand company, and I want to display BrandA on brand-a.com and brandB on brand-b.com.
Same thing for the Business name, but now I'm on SetupIntent.

What have you already attempted?
I've changed the account Statement Descriptor https://dashboard.stripe.com/settings/business-details to display something like "Product", but I want "Product* BrandA"

What are you working on?
I have a company with 2 brands and 2 websites, but 1 stripe account

#

@glossy oak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Tried paying via a test card. In one scenario it triggerd 3ds and in other it did not trigger 3rd. Wanted to know what are parameters for it to trigger 3ds and if that is expected

req_Do4lVwYZsdG4Y0 - Triggered 3ds
req_PXTOo2ww9GDvLS - Did not trigger 3ds

Related Request ID(s)
req_Do4lVwYZsdG4Y0, req_PXTOo2ww9GDvLS

What have you already attempted?
Tried matching the payload, but was unable to find anything

cursive heronBOT
#

@slate palm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
why after configuration API radar and and open radar free trial,,, my account have issue charge pause and payout pause?

Related Request ID(s)
pi_3RV6JDP4YIKefxuX1eWQ5o2R

What have you already attempted?
my company data

What are you working on?
chargebee

#

@fathom vortex pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Payments not completed at renewal subscription

Related Event ID(s)
evt_1RV9xKAnAEsngDG1fJGFEaxp

What have you already attempted?
First payment was successfully completed by user. User received Auto Activated Message from their Bank. But not working on Recurring

What are you working on?
I integrated Recurring payment Flow in Stripe, and Added Webhook on the stripe panel to update the Recurring payment status on our database. First time payment working fine and success but when its fa

#

@modern bobcat pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
That payments for a renewal of a subscription also include the Customer’s country

What actually happened?
Only the subscription creation payments have saved the country

Reproduction Steps
Create a checkout session with a product and complete a payment -> see in the payment that it has a country. -> Wait for the extension -> find that no country is stored in the extension payment.

Question
Is it possible to see what sales have been generated for which country in a month? Also the extensions. Because we have to report this to the European tax authorities.

cursive heronBOT
#

@tawdry compass pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Receiving incorrect event data on charge.succeeded event

Related Event ID(s)
evt_2RVUguqWxM0n7YqD0izu8lgA

What have you already attempted?
NA

What are you working on?
Stripe api upgrade

#

@summer veldt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an ios app which issues cards to the Apple wallet via Stripe Issuing & the Stripe react native SDK.

As part of our integration we have a Apple Wallet extension to facilitate the adding of our card via the wallet flow.

Previously, this integration worked fine.

We have since upgraded to target a newer version of iOS and we get a build error from the Stripe Pod which the extension uses: "shared is unavailable in application extensions for iOS"

The github issue: https://github.com/stripe/stripe-ios/issues/2853

Related Request ID(s)
N/A

What have you already attempted?
Rolled back our Stripe npm package to an older version, but this isn't supported in the required iOS target version.

What are you working on?
An expense card

cursive heronBOT
#

@odd mantle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi. Can someone let me know what's the correct way to handle "3D Secure attempt incomplete" payments during subscription upgrades using `stripe.Subscription.update()` (Python SDK, 12.2.0)? Our current approach for upgrades is to charge the full amount and move them to new plan immediately.

I have handled this before in an older SDK version. Over there I used to fetch payment_intent from latest invoice details > get the client secret > start payment intent on frontend > Complete the 3DS verification. But with the new SDK version it seems "payment_intent" field has been removed.

Related Request ID(s)
-

What have you already attempted?
I have gone through the docs for Subscription and Invoice objects but couldn't find any payment intent details there.

What are you working on?
Implementing plan upgrade/downgrade

#

@cyan prawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,

We have an issue with one of our subscriptions. The payment for this particular subscription was charged one day earlier (on May 31st) instead of on June 1st, as it happens for all our other subscriptions. All other subscriptions are correctly charged on the first day of the month.
I would like to understand why this specific subscription has a shifted billing date and how we can correct it to ensure that all subscriptions are charged consistently on the same day each month.

Related Request ID(s)
N/A

What have you already attempted?
I checked our other subscriptions and confirmed they all renew on the first day of the month as expected. I also verified that this subscription was created in the same way as the others, with monthly billing. I looked in the Stripe Dashboard for any manual adjustments but couldn't find any explanation.

What are you working on?
I’m working on an internal company application built with Adonis.js that uses Stripe subscriptions to manage customer billing.

cursive heronBOT
#

@hoary light pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
POST https://api.hcaptcha.com/authenticate 401 (Unauthorized)

Question
I'm using payment elements using stripejs (directly, no wrapper) in my react app.
When loading the elements I get hcaptcha 401 errors in the console.
Additionally express buttons don't load - everything else works.
I'm trying to figure out if
a) hcaptcha and express buttons not working correlate
b) if hcaptcha not working has any other implications

What have you already attempted?
- The domain is added to my payment domains
- Deactivating and activating again did not help

What are you working on?
Ecommerce Checkout

#

@warm mortar pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to Set Subscription Start Date to the First of the Month Using Stripe Checkout?

I'm currently using Stripe Checkout for handling payments and subscriptions in my application. It's working great for standard use cases — when a customer completes the payment through Checkout, the subscription is automatically created.

I need subscriptions to always start on the first day of the month, regardless of when the customer actually makes the purchase

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions

What are you working on?
A customer checks out today (let’s say June 2). The subscription should not start immediately, but instead be scheduled to start on July 1.

cursive heronBOT
#

@dusk gulch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I have give the code in chant

Question
I have to create a Subscription. Then, the latest invoice ID to get the invoice object, but I did not find the payment intent

What have you already attempted?
First Attempted

What are you working on?
Subscription

#

@bitter spade pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hello, we have enabled the Klarna payment method on our platform, and while we are getting successful purchases, we're also seeing something unexpected: there are some successful payment intents on the Stripe Dashboard, for which we don't have any record of the buyer successfully landing on the return URL that the Klarna portal should be redirecting to. We're wondering if there's a way to get more insight for why is that happening, and whether it's normal for Klarna orders, and we should rely on webhooks to fulfill purchases.

Doc/Guide Links
https://docs.stripe.com/payments/klarna

What are you working on?
Payment Element integration with manual payment methods

#

@wet mesa pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello!
Few days ago I asked a question about invoices: https://discord.com/channels/841573134531821608/1375469730894446673

I am updating the invoices when they are in draft mode successfully.
But there is an issue, when an invoice is created on a subscription created, it is never in draft, its directly "open". So how should I handle invoices in my case when the invoice is generated at a subscription creation

Doc/Guide Links
https://docs.stripe.com/api/invoices/object

What are you working on?
Subscription system

cursive heronBOT
#

@delicate oracle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello!

We've been implementing Stripe Connect in our marketplace app. During onboarding, sellers in Canada are unable to select their country from the dropdown.

Our store is located in Spain. Is this an issue?

Related Request ID(s)
Stripe Connect

What have you already attempted?
Select Canada form the Country list

What are you working on?
Implementing Stripe Connect

#

@slender tree pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
[Subscriptions] I have 3 prices for my product with 1y, 2yand 3y recurring interval. After my customer subscribes for 2 or 3 years, I want to switch them to 1 year after the initial period ends. I figured subscription schedules would be best practice in this case. I know how to set up the phases and everything, but I am wondering when in the flow I should create the subscription schedule. I was thinking first create the subscription (default_incomplete), then create the schedule from the subscription and then update the schedule (everything in my route handler)? Alternative would be using a webhook event, maybe subscription.created/updated, but not sure. Any suggestions? Thx

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules

What are you working on?
Subscriptions for a B2C Social Media Platform

cursive heronBOT
#

@keen bramble pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a Sandbox to try out the eventbridge destinations feature. This seems promising and we would like to proceed. However, when creating a sandbox, it copies live data but in test, we've heavily invested in Test Mode. Is there a way to use event destinations in test mode or link the accounts somehow? Only because it would be huge effort for all the teams to migrate from test mode to sandbox. TL;DR, we want to receive test mode vents in EventBridge

Related Event ID(s)
N/A

What have you already attempted?
Creating a sandbox, but this is not linked to test mode

What are you working on?
Subscriptions

cursive heronBOT
#

@regal sky pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Payments and payouts paused until requirements met
Provide some additional required information about your business website to resume payments and payouts.

Question
I want to do text in live mode. But this error happens. After getting this error, I can not do any transactions...

What have you already attempted?
I changeed some description about the website. But it didn't work. I texted Strpes support. But nothing changed.

#

@nimble viper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm using the Customer Search API and I want to filter by metadata fields as documented (e.g., metadata["key"]:"value"). However, when I try this, I get the following error:
"Error: command does not accept positional arguments."
Can you confirm whether filtering by metadata is currently supported for the Customer search endpoint? If so, could you provide an example of the correct syntax?

Related Request ID(s)
N/A

What have you already attempted?
I followed the syntax provided in the Search Query Language documentation, using the format metadata["key"]:"value". I also tried encoding the key/value pairs and variations in quotes but continue to get the same error.

What are you working on?
I'm building a system that integrates with Stripe to manage and retrieve customers based on custom metadata values.

#

@surreal thunder pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I want to finalize payments on the server when using the Intents API. I found a guide for doing so, but it feels like going against the grain. I’m especially confused about `setup_future_usage`: Is a payment confirmed on the backend still considered “off-session” even if the user is in our app, waiting for the response after hitting “pay”? What if they’re saving their card for re-use (again only ever in our app checkout flow)?
We’re not doing subscriptions, we always authorize for the full amount, and only accept “immediate notification” payment methods. Async failures are virtually nonexistent. Am I overlooking anything when considering this server-based approach?

Doc/Guide Links
https://docs.stripe.com/payments/mobile/finalize-payments-on-the-server?platform=react-native&type=payment
https://docs.stripe.com/payments/payment-intents/migration
https://docs.stripe.com/payments/payment-methods#payment-notification
https://docs.stripe.com/api/payment_intents

What are you working on?
Migrating old Source/Charge-based payments system to Intents API

cursive heronBOT
#

@vapid wyvern pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const [stripeElementsOptions, setStripeElementsOptions] = useState({
mode: 'payment',
amount: 50,
currency: 'usd',
payment_method_options: {
us_bank_account: {
verification_method: 'instant'
},
financial_connections: {
prefetch: ['balances'],
permissions: ['payment_method', 'balances'],
}
}...})

<Elements stripe={stripePromise} options={stripeElementsOptions}>
....
</Elements>

Question
I use Stripe Elements to generate a payment form on the front-end. When the user hits the submit button on the form that encapsulates the Stripe Elements inputs, I create a confirmation token. I then send the confirmation token to the back-end and create a payment intent with the confirmation token which charges the payment method provided. I would like to use Financial Connections to verify a connected bank account's balance on the front-end before sending the request

What have you already attempted?
Using the above Stripe Elements configuration, I console log the confirmation token that's created:

const result = await 
stripe.createConfirmationToken\({
		elements\: stripeElements,
		params\: {
			payment\_method\_data\: {
				billing\_details\: {
					email\: formData.email,
					address\: {
						country\: 'US'
					}
				}
			}
		}
	}\);
  console.log\(result\);

The above object being console logged gives me the bank info, but there is no balance info.

What are you working on?
Donation platform

#

@wind gorge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using the stripe js payment element we are trying to disable instant verification and only use microdeposits. Does the payment element support disabling instant and showing microdeposits only?

Related Request ID(s)
n/a

What have you already attempted?
Setting the setup intent payment_method_options.us_bank_account.verification_method to microdeposits, but that doesn't have the same values as stripe.js payment element.

What are you working on?
Building a checkout page for association dues and trying to avoid the instant verification $1.50 fee since its not attached to the payment and is messy.

cursive heronBOT
#

@ember wigeon pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/features/collecting-tips/overview?locale=en-GB

Question
Hello Team,

We are currently developing a React Native application for Tap to Pay functionality on POS devices such as the "iMin Swift 2 Pro", as well as on personal phones and tablets.

We would like to implement tipping functionality as part of the Tap to Pay flow in the United Kingdom.

Could you please confirm if tipping is supported for Tap to Pay transactions in the UK?

Looking forward to your guidance.

Best regards.

What have you already attempted?
https://docs.stripe.com/terminal/features/collecting-tips/overview?locale=en-GB

#

@candid perch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const handleKYC = async () => {
const result = await completeKYC()
return {
sessionId: result.verification_session_id,
ephemeralKeySecret: result.ephemeral_key_secret,
brandLogo: RNImage.resolveAssetSource(images.logo)
}
}

const { status, present, loading } = useStripeIdentity\(handleKYC\);

const handlePress = React.useCallback\(\(\) =\> {
  present\(\);
}, \[present\]\);

Question
My app crush anytime I hit the present

What have you already attempted?
All the solutions online

cursive heronBOT
#

@woeful stone pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
payment intent id pi_3RVW7oCxX4SwUhJg0bCFe5bj is a 3ds transaction in test environment and its payment wa s captured also.Plz verify this transaction is liability shifted or not..?

Question
payment intent id pi_3RVW7oCxX4SwUhJg0bCFe5bj is a 3ds transaction in test environment and its payment wa s captured also.Plz verify this transaction is liability shifted or not..?

What have you already attempted?
payment intent id pi_3RVW7oCxX4SwUhJg0bCFe5bj is a 3ds transaction in test environment and its payment wa s captured also.Plz verify this transaction is liability shifted or not..?

What are you working on?
3ds transactions

cursive heronBOT
#

@stray swift pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Stripe Elements with options:

const options = {
    mode\: "setup",
    currency\: config.user?.currency?.toLowerCase\(\) ?? config.stripe.presentment\_currency ?? "usd",
    paymentMethodCreation\: "manual",
    appearance\: {
        theme\: "stripe",
    },
};

Question
We have an issue where Google Pay is showing a $0 amount (vs Apple Pay showing "Amount pending"). Is there any way to actually show the amount of the subscription?

What have you already attempted?
I haven't seen an option in the docs that is talking specifically about this issue.

What are you working on?
A payment widget

#

@broken plover pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$checkout_session = \Stripe\Checkout\Session::create([
'line_items' => [[
'price_data' => [
'currency' => 'usd',
'unit_amount' => 100,
'product_data' => [
'name' => 'Test product namex', // Replace with your product name
],
],
'quantity' => 1,
]],
'mode' => 'payment',
'success_url' => $YOUR_DOMAIN . '/success.html',
'cancel_url' => $YOUR_DOMAIN . '/cancel.html',

'payment_intent_data' => [
'on_behalf_of' => $connec

Question
How to enable micropayment rate to account outside of the platform country?

What have you already attempted?
I created test account in UK and the USA, and none of them has the microtransaction rate that has been approved in our platform country (australia)

What are you working on?
IoT payment related

#

@silver sundial pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const invoice = await stripe.invoices.create({
customer: customer.id,
auto_advance: false,
collection_method: "send_invoice",
currency: "aud",
days_until_due: DUE_DAYS,
description: `Invoice ${new Date().toLocaleDateString("en-AU", {
year: "numeric",
month: "long",
})}`,

    }\);

Question
Hi there, I create an invoice with the code above. However, Stripe doesn't send an invoice via email when the invoice is finalized. Could you please assist?

What have you already attempted?
I have followed Stripe's instructions but it didnt' work

What are you working on?
Invoice customer

#

@pulsar bough pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi team, we're seeing a new flow we have not encountered before using the Stripe Terminal - transactions ending up as "uncaptured" requiring an additional capture step. Can you give us more information on how this can happen? Normally Terminal transactions are captured immediately without further action needed. I'm including the ID of the request to confirm the payment intent, the account ID is acct_1QQf2PARnfO2ueZx

Related Request ID(s)
req_QSqnuCcvtFTiQ4

What have you already attempted?
We have a working implementation with the Stripe Terminal which has transacted many thousands of transactions via our Connect account. We have not seen uncaptured transactions previously. It seems perhaps related to use Apple Cash - Apple provided debit cards through Apple Pay.

What are you working on?
We provide payment infrastructure to gyms through our gym management software

#

@leaden belfry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Since updating to the latest api, it seems we can no longer reconcile payouts with transactions via the api. We used to be able to get an "invoice" from a "charge" object, however that seems to be gone. It's strange because clearly the stripe dashboard does hits, if you inspect the responses. Why was this removed, and how can we work around this?

Related Request ID(s)
req_FdfDIBeXHsqUUq

What have you already attempted?
Expanding all responses for a charge, and also implement lots of workarounds, like looking at all invoices around the time of the charge, but nothing has proven reliable

What are you working on?
We are trying to reconcile payouts through the api

cursive heronBOT
#

@shrewd sky pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Good afternoon. I have a question regarding the implementation of Pay by Bank payments in a mobile application developed with SwiftUI. The backend is deployed as a Firebase Function, where I pass the amount to create a PaymentIntent, and other parameters are set as follows:
currency: "gbp",
payment_method_types: ["card", "pay_by_bank"]
If I understand correctly, the PaymentSheet object from the Swift StripePaymentSheet library does not currently support Pay by Bank. I also couldn’t find any other built-in UI element—like STPPaymentCardTextField for cards—that would support Pay by Bank.

Related Request ID(s)
n/a

What have you already attempted?
I tried to connect PaymentSheet but it does not help. Card menu and Apple Pay works fine, but Pay By Bank does not appear

What are you working on?
A mobile app, social project for a school to sell tickets on their events

cursive heronBOT
#

@gusty widget pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to set "metadata" at the "Subscription Line Level", not at subscription level. How Can i do it?

Antecedents
We have an issue of the "Subscription lines" id are updated often, so we have no way to relate the lines to our system.
I dont see the metadata of the "subscription line" in the Portal.

Related Request ID(s)
122

What have you already attempted?
Not, yet.

What are you working on?
Subscription Lines Integration

cursive heronBOT
#

@shrewd sky pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best way to implement Pay by Bank payments in a SwiftUI mobile application?
Is there any iOS library that provides a built-in implementation of Pay by Bank?
If not, what would you recommend as the best approach?

The goal is to present the user with a list of banks. After selecting a specific bank, a payment document should open showing my account details as the recipient and the amount passed from my application. The next step should launch the user’s banking app with the payment ready for confirmation.

Related Request ID(s)
n/a

What have you already attempted?
Mobile payment elements as a Payment Sheet

What are you working on?
Social project, mobile app for a school

cursive heronBOT
#

@wind gorge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This is about ACH Instant verification fees and when the fees are charged vs a saved connect customer.

Scenario:
Person A checks out using instant verification, this incurs a 1.50 fee. The payment method was NOT stored as part of the customer record.

If they come back later and do instant verification again, does this incur another 1.50 fee? They are stored as a customer in stripe, but no listed payment methods. If no is there a timeout for how long before it needs to reverify? IE a year?

Amounts don't matter too much, its about when the verification fee is incurred.

Related Request ID(s)
n/a

What have you already attempted?
https://stripe.com/pricing
Pricing values under financial connections.

What are you working on?
Implementing customer into our flow and trying to understand scenarios when fees are charged.

cursive heronBOT
#

@onyx spoke pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
kCFErrorDomainCFNetwork error -1001. (Timeout)

Returned by presentPaymentSheet()

Question
iOS simulator (EAS dev client): presentPaymentSheet() times out (-1001 error), UI never appears. initPaymentSheet() succeeds. Backend SetupIntent is on_session. All keys/schemes seem correct. Is a paid Apple Dev Acc needed for simulator network access for Stripe SDK? What else causes this timeout?

What have you already attempted?
-Latest Stripe RN SDK.
-Verified keys, merchantId, urlScheme, returnURL in StripeProvider & initPaymentSheet.
- Correct Info.plist schemes & Bundle ID.
-Backend SetupIntent confirmed on_session & requires_payment_method in Stripe Dash.
-automatic_payment_methods: true.
-Detailed client logs show timeout at presentPaymentSheet().
-Basic API domain connectivity OK.

Reproduction Steps
-iOS Sim (EAS dev client).
-Sign-up to payment step.
-Backend: Creates Supabase user, Stripe Customer, SetupIntent (on_session). Returns client secret, cust ID, ephemeral key.
-Client: initPaymentSheet() with this data succeeds.
-Client: await presentPaymentSheet() called.
-Expected: Stripe UI.
-Actual: Times out after ~60s with -1001 error. UI never shows.

What are you working on?
ios app

cursive heronBOT
#

@torn turtle pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Somehow webhook calls to my endpoint are incomplete. Some times they succeed, sometimes one of the events goes through and sometimes nothing happens. When they arent received they also dont show up in NGINX logs. In the stripe dashboard the error is called timout.

Related Event ID(s)
pi_3RVfA5AyWcr7GMt14Xo5TaOE

What have you already attempted?
-I tried opening all Ips in the ufw
-For debugging I just return 200 (no slow process)
-Watch nginx logs
-Tried Gunicorn locally and requests go through
-Tried stripe cli on server with forwarding=>works too

cursive heronBOT
#

@lavish mist pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/building-with-llms

Question
I'm trying to use Stripe MCP server to access Stripe documentation, using Agent mode in VSCode.

The documentation tool is not available in the MCP server, I already added more information to the GitHub issue: https://github.com/stripe/agent-toolkit/issues/106

In the GitHub repository says that we have a "documentation.read" option, but it's not working.

https://github.com/stripe/agent-toolkit/tree/main/modelcontextprotocol

What have you already attempted?
These are the options I used, but it still doesn't work.

--tools=all
--tools=documentation.read

What are you working on?
Setting up my MCP in VSCode

cursive heronBOT
#

@open marlin pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
check out project like lottomat.com or redfoxlotto.com , they use stripe.com to process illegal gambling, they use front shopping of https://se-marketing.biz/ account , help me guide me how to set up such for my other gambling projects?

Doc/Guide Links
redfoxlotto.com
lottomat.com
https://se-marketing.biz/

What are you working on?
using stripe.com for illegal gambling with frontshopping script

cursive heronBOT
#

@errant haven pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Mobile Application Stripe Setup: Hello, I am building a sort of marketplace application where users can list their products / services for sale.

I want users to be able to connect their bank routing information to Stripe via my mobile application. What is the best way to go about implementing this? Thank you so much for the help!

Related Request ID(s)
N/A

What have you already attempted?
Initial Research

What are you working on?
Base Research for Mobile Application utilizing Stripe

cursive heronBOT
#

@twilit remnant pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any endpoint or other way to gather `issuer` bank information for a card?

Specifically, the dashboard exposes `payment_method_details.card.issuer` in a few endpoints like `https://dashboard.stripe.com/v1/payment_intents/pi_xxx` but I've found no way to get the API to return this outside of the dashboard.

Related Request ID(s)
n/a

What have you already attempted?
This field is present in the TS types, as well as the dashboard, but after hitting payment_intents, charges, payment_methods, I'm running out of options to try and get this info back in my integration.

What are you working on?
We're seeing an increase in declines and I'm trying to figure out reporting to correlate if it's a specific bank or similar.

cursive heronBOT
#

@mighty quarry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Minha API backend (AWS Lambda com Node.js/Express) está criando sessões de Stripe Checkout no modo Ao Vivo com sucesso (a API da Stripe retorna 200 OK e um ID de sessão cs_live_...). No entanto, quando o usuário é redirecionado para a URL de checkout fornecida pela Stripe, a página da Stripe mostra um erro genérico "Something went wrong / You might be having a network connection problem...".

Os `payment_method_types` estão configurados como `["card"]`. Os `line_items` usam `price_data` e `product_data` criados dinamicamente, com `unit_amount` corretamente em centavos e `currency` como `brl`.

Related Request ID(s)
https://dashboard.stripe.com/workbench/logs/req_NYR33D78FDKnK7

What have you already attempted?
- Verifiquei que a Lambda cria a sessão via API da Stripe com sucesso (retorno 200 OK e um ID cs_live_ válido é gerado).
- Confirmei nos logs da Stripe que a requisição POST /v1/checkout/sessions está com status 200 e os parâmetros enviados parecem corretos.
- Confirmei que 'payment_method_types' está definido como ['card'] na criação da sessão.
- Confirmei que 'unit_amount' está sendo enviado em centavos e a moeda é 'brl'.
- Verifiquei que as 'success_url' e 'cancel_url' são URLs HTTPS válidas e acessíveis.
- Confirmei que a conexão com o MongoDB e a busca de dados dos produtos na Lambda (que

cursive heronBOT
#

@twilit remnant pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Followup to https://discord.com/channels/841573134531821608/1379235214080872460

Related Request ID(s)
n/a

What have you already attempted?
Followup to https://discord.com/channels/841573134531821608/1379235214080872460

I reached out to support and was told:

> I tried to search for the said document but it is not available. Were you provided a support document link for the feature you were looking for?

Is there any further info that can be provided here?

#

@gusty widget pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I removed a subscription line and that produced a bad result: The Subscription Schedule was changed to today.
How can i set the subscription schedule to the right previous date dec/05/2025. I have changed the schedule of the invoice, but it does not reflect

Related Request ID(s)
123

What have you already attempted?
I have changed the schedule of the invoice, but it does not reflect on the subscription.

What are you working on?
subscriptions and invoices

cursive heronBOT
#

@vocal wagon pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Add Money To Test Account Balance Instantly For Testing Purposes

Related Event ID(s)
Dashboard > Balances

What have you already attempted?
"Add to balance" button and checkout via nodejs

What are you working on?
a website with wallets

cursive heronBOT
#

@silver sundial pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const invoice = await stripe.invoices.create({
customer: customer.id,
auto_advance: false,
collection_method: "send_invoice",
currency: "aud",
days_until_due: DUE_DAYS,
description: `Invoice ${new Date().toLocaleDateString("en-AU", {
year: "numeric",
month: "long",
})}`,

    }\);

Question
Stripe doesn't send invoice via email upon finalization. Could you please assist?

What have you already attempted?
I tried to send the invoice manually . Take invoice in_1RRREzC2f17SN1tpDqQ0Jwwl for example.

What are you working on?
Invoice customer

cursive heronBOT
#

@true goblet pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Dear Stripe Support,
I would like to express my disappointment regarding the deactivation of my account due to a supposedly unacceptable risk level. This decision comes as a complete surprise to me, considering that:
My business is fully registered and legitimate.
My website is professional, complete, and fully operational, including clear information on shipping, return policies, customer service, and contact details.
My identity and business information have been fully verified.
I have never had any prior violations.
No significant activity has yet occurred.

Related Event ID(s)
payouts, account, refunds

What have you already attempted?
MAILING x 30

What are you working on?
my account

#

@dusk gulch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I have created the subscription and fetched the invoice object, butthe payment intent key cannot be found

Question
How to found the payment intent kye

What have you already attempted?
First attempt

What are you working on?
create the subscription

cursive heronBOT
#

@jolly basalt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm developing an app that'll allow (through payment links) homeless people to accept card payments, the app will have a partner id that links the donation to the individual and (client ref) so that a 'balance' can be maintained for the person.

The end to end would be something like:

To Spend
Homeless onboarded -> card provided through ??? -> Dashboard allows depositing onto card from stripe -> person can spend at a shop or but accom

To Collect
Homeless person shows QR code -> Donator Scans and a stripe payment screen is shown -> person donates -> donation is linked with homeless person.

Related Request ID(s)
None

What have you already attempted?
I need a conversation to validate the end to end journey.

What are you working on?
App for the homeless to accept card payments.

cursive heronBOT
#

@trim mirage pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am getting this error while trying to use the Search API

{
"error": {
"message": "The search feature is temporarily unavailable in your region.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_7hZih5lgABMXkR?t=1748928938",
"type": "invalid_request_error"
}
}

Related Request ID(s)
req_7hZih5lgABMXkR

What have you already attempted?
Looked upon the community pages and found that this was bug which was fixed, but I still see it

#

@hidden moss pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Billing cycle should have remained unchanged

What actually happened?
Billing cycle changed on subscription item update

Reproduction Steps
The subscription had a period from Dec 18, 2024 to Dec 18, 2025. I added a subscription item with proration behavior none. (Req ID - `req_xl0aMEml4jfFGP`). This caused the subscription date to reset to when the subscription item was added

Question
The date shouldn't have resetted but the item should have been added to the same cycle. This is the first time we are seeing this

cursive heronBOT
#

@real fog pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Support, I have a concern about invoice.updated webhook payload. I processed a BECS Debit invoice and its payment, and I received an invoice.updated webhook payload. I noticed that the status from the payload is Open, not Pending. Now, based on the Stripe's invoice void documentation, it says you can void an invoice that has a status of open or uncollectible. I tried to cancel the BECS Debit invoice that I processed and it returned an error saying that I can't void a pending invoice. The status from the payload was somewhat misleading in our end, and I assume you can void it.

Related Event ID(s)
evt_1RVlGHD2CzZDU24j3JFmXR7l

What have you already attempted?
Cancel a BECS Debit invoice via API callout.

cursive heronBOT
#

@modest hill pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why i'm not getting the whole object of price and plan in `invoice.payment_succeeded` webhook?

Related Event ID(s)
evt_1RVnkVJLAMUw2SWan5m9kVAl

What have you already attempted?
I'm getting ids of product and price in pricing details.

What are you working on?
I need the whole object of price and plan as i can see in event.

cursive heronBOT
#

@warm mortar pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Best Practice for Tracking Product with Payment Intent. I’m currently using the Payment Intents API (not Stripe Checkout) to handle payments on my platform. I’d like to understand the best practices for tracking which specific product a user has paid for when the payment is successful.

Doc/Guide Links
https://docs.stripe.com/api/payment_intents

What are you working on?
What’s the recommended way to associate a product or service with a Payment Intent so I can reliably track what was purchased?

cursive heronBOT
#

@limber compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Enforce 3D Secure on CreditCard Payments via API

Related Request ID(s)
nA

What have you already attempted?
We have a working stripe creditcardPayment but we want to enforce 3D Secure Payments. We have turned it on in our Dashboard together with Radar but I am not sure how to handle it via the code:

```
stripe.confirmCardPayment(clientSecret)
```

I looked through the docs but I am not sure how I can enforce 3D secure here, where to provide my returnUrl etc.? Can anyone help with this?

#

@livid mauve pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to programmatically edit/prepopulate the embedded pricing table. We have a Stripe Connect Platform account under UA2 and our customers are able to connect their business within our app to Stripe Connect and take payments from their clients via our website (we are a space management and monetization SaaS).

We would like to programmatically enable and customize embedded pricing tables to each venue owner using our product to be visible in their subdomain (custom to the membership/subscription plans that they create in Stripe or from our website synced with Stripe).

Related Request ID(s)
n/a

What have you already attempted?
Read:
- https://docs.stripe.com/payments/checkout/pricing-table
- https://docs.stripe.com/customer-management/integrate-customer-portal

What are you working on?
Space management and monetization

cursive heronBOT
#

@tawdry compass pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am not getting `refunds` object are part of this charge id ch_2RA2TTqWxM0n7YqD0MC9bw18. This is triggered by charge.refunded event. I want to know is this expected?

Related Event ID(s)
evt_2RA2TTqWxM0n7YqD0VCDdQFd

What have you already attempted?
NA

What are you working on?
Just upgrade stripe api version to basil

#

@worthy radish pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I implement a Stripe subscription with a paid trial period, where the price can be adjusted by the user during the subscription (for example, if they change their plan)?

Doc/Guide Links
https://stripe.com/docs/billing/subscriptions/subscription-schedules
https://stripe.com/docs/billing/subscriptions/trials
https://stripe.com/docs/billing/subscriptions/updating

What are you working on?
We are building a fresh pet food delivery service, where the cost of the food varies based on a personalized diet calculated for each animal.

cursive heronBOT
#

@true vessel pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
override fun onStartInstallingUpdate(
update: ReaderSoftwareUpdate,
cancelable: Cancelable?
) {
cancelable?.let {
if (isTimeBetween5AMTo4AM) {
updateTerminalState(TerminalState.CancellingUpdate)
cancelable.cancel(updateCancellationCallback)

Question
I’m using the Stripe Terminal SDK with an M2 card reader. I have implemented a check during the onStartInstallingUpdate callback, where I cancel the reader software update during a specific time window (e.g., between 5AM–4AM):

My question is: After cancelling the update, does the M2 reader return to an idle/ready state automatically, or do I need to explicitly reconnect the reader or perform any additional steps (like calling connectReader() again).

What have you already attempted?
Trying to reconnect

What are you working on?
Android app for payment

#

@delicate oracle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a new marketplace seller, but the country is automatically set to "Spain." However, in my API call, I no longer specify that the country is closed.

Related Request ID(s)
STRIPE CONNECT

What have you already attempted?
I've tried reviewing the entire flow and I don't see anything in the API that might indicate that it's closed to Spain.

What are you working on?
STRIPE CONNECT

cursive heronBOT
#

@solemn vale pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Stripe::Refund.create(
payment_intent:,
amount: refundable_amount_in_cents
)

Question
In sandbox, how to create a refund that returns as "pending"?

What have you already attempted?
refunds I create always returns as successful. I want to test pending refunds

What are you working on?
implementing automated refunds via Stripe

#

@winter tulip pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have Subscriptions that have been created on Stripe in UTC but our App Servers are GMT, clocks here went forward in March so payments expected on the 1st of the month appear to have come out on the 31st of the month. Is there an API that would allow me to update the time (by an hour or two) when payments come out on an existing subscription? Or is there something else regarding timezones I need to look at?

Related Request ID(s)
I haven't created a test scenario for this as it happened in Live

What have you already attempted?
Looked at updating billing cycle here: https://docs.stripe.com/billing/subscriptions/billing-cycle#changing,

But should I be looking at something to do with timezones instead?

What are you working on?
Updating time a subscription payment is made

cursive heronBOT
#

@languid venture pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am testing subscriptions with failed payments. I've created subscriptions with trials attached, waited for those trials to finish and the payment to fail before I've been able to run tests on the subscriptions with failed payments.

The guide states: "To test the effects of payment failure on an active subscription, attach the 4000 0000 0000 0341 card as the customer’s default payment method, but use a trial period to defer the attempt (a trial of a few seconds or minutes is sufficient)."

But I am only able to create a trial period of a minimum period of one day through the test area. How can I create shorter trials so that I don't need to wait 24 hours before testing?

Doc/Guide Links
https://docs.stripe.com/billing/testing?locale=en-GB

What are you working on?
Failed subscription payment handling for our customers

cursive heronBOT
#

@vernal trail pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Subscription API - 2 plans $10/month & $100/month are created and user subscribed but now $100 changed to $80 by creating new price obj, but old users are still paying $100. how to fix it

Related Request ID(s)
Stripe Subscriptions API

What have you already attempted?
first I want to get info about which approach to follow to fix it.

What are you working on?
PHP Stripe APIs

cursive heronBOT
#

@stray swift pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Following up on the thread from yesterday https://discord.com/channels/841573134531821608/1379119172348543141. A colleague did a test adding the type "subscription" and the "amount". He said it worked with Apple Pay but that the Google Pay option disappeared.

What actually happened?
Works for Apple Pay but Google Pay not available anymore and seemingly replaced by CashApp.

Reproduction Steps
Use following options array for accepting a deferred payment:

const options = {
mode: "subscription",
currency: config.stripe.presentment_currency ?? "usd",
paymentMethodCreation: "manual",
appearance: {
theme: "stripe",
},
amount: Math.round((orderBasket?.total || 0) * 100),
};

Question
When in mode "setup" Google Pay was showing but displaying $0 which was our original issue from yesterday's thread. Why is Google Pay not showing when the mode is "subscription"?

What are you working on?
A payment widget in React

#

@waxen sluice pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We’ve set up a workflow in our sandbox (acct_1FihgAII80MJLEfu) with the ID:
autocfg*AZc10y2AFAAAAP9V#EhcKFWFjY3RfMVBYb3NpSWNRTUdPSVg1ag

It charges a saved card if:

GBP balance_available < 10,000
GBP pending < 5,000
How often is balance_available evaluated? Is it updated in real-time (per transaction) or at fixed intervals?

We’re worried about repeated triggers if the balance updates in small increments — e.g. one day it’s £5K (triggers), next day £7K (triggers again).
We want to avoid this while keeping our platform balance healthy.

Doc/Guide Links
We’ve reviewed the Balance object docs, but couldn’t find details on evaluation frequency for workflows. Let us know if we’ve missed a relevant section.

https://docs.stripe.com/workflows

What are you working on?
We’re building a safeguard that auto-charges a platform customer when our GBP balance runs low.

#

@crude ocean pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am reading the attached documentation regarding transferring funds to multiple connected accounts. I am using Stripe Connect with Direct charges.

The end goal is that the customer makes a payment and that is being transferred to multiple connected accounts, e.g. 70% - 30% split.

I don't really understand how the transfer_group works and if it has any relevance in this case.

Additionally, something that puzzles me is that when I create a paymentIntent for a connected account the client app confirms it with the connected account ID. How the confirmation happens in this case where multiple connected accounts are involved?

Doc/Guide Links
https://docs.stripe.com/connect/separate-charges-and-transfers

What are you working on?
Building a payment system for a sport booking app

#

@limber compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Minimum API Version to use payment method "Billie"

Related Request ID(s)
na

What have you already attempted?
I am currently receiving this error when opening a payment intent with payment method "Billie" (B2B BNPL method):

'Received unknown parameter: payment_method_options[billie][company_details]

This is from the official docs. Unfortunately I do not know what API node stripe version supports this?

I also get this typeerror:

Object literal may only specify known properties, and 'billie' does not exist in type 'PaymentMethodOptions'.ts(2353)

Can you guys tell me? I cant find it in the changelogs and the billie support knows nothing...

We are on

"stripe": "^17.6.0",

#

@safe wyvern pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://docs.stripe.com/api/invoices/create#create_invoice-metadata

Question
We want to apply a RADAR rule for specific product. Now, to add an identifier for product, the best option seems to be metadata attributes that we can use (reference: https://docs.stripe.com/radar/rules/reference#metadata-attributes).

However, we are struggling to add the metadata on the Charge object. We use Invoices and Subscription apis in our SAAS product and hence the charge object is created automatically by Stripe in these cases.

What have you already attempted?
We have tried to add metadata to invoice via the api using this https://docs.stripe.com/api/invoices/create#create_invoice-metadata. However that metadata is not passed to charge object created automatically afterwards.

An example invoice is https://dashboard.stripe.com/invoices/in_1RVYDmDTvZeJR5ZpKnielELd. Notice the metadata is passed to invoice but the charge object generated by this invoice doesn't include invocie metadata.

What are you working on?
Finding a way to apply RADAR rule targeted for specific product invoice/subscription payments

cursive heronBOT
#

@iron junco pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does anyone have experience of running a Windows Card Reader emulator?

Related Request ID(s)
windows card reader emulator

What have you already attempted?
Tried to find documentation but it's confused and contradictory. In some places it says there is one, and give you code to run; in others it says there was one but it's been deprecated

What are you working on?
Implementing in person card payment for a client

#

@winter tulip pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I was asking earlier about updating the time payments were taken on an existing Subscription, as are app servers are in GMT & the subscriptions were in UTC which meant that when the clocks went forward the payments came out on the 31st and not the ist of the month. I wanted to know if I could update the time to e.g. 3am via the aAPI so that they would appear to come out on the correct day on our system.

Related Request ID(s)
I haven't created a test scenario for this as it happened in Live

What have you already attempted?
I tried to update the billing schedule phases for the subscription but the schedule has been released and control has been passed back to the subscription where I am only allowed to update SubscriptionBillingCycleAnchor to 'now' or 'unchanged'

What are you working on?
Updating the Payment time of an existing subscription

#

@proven plaza pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I’m using Stripe Connect with Standard accounts. We create customers only on the platform account, not in connected accounts. Can I use transfer_data.destination and application_fee_amount with Standard accounts? Can I specify stripeAccount in API when creating a PaymentIntent? What's the correct way to pay sellers directly and also collect a fee as a platform?

Doc/Guide Links
https://docs.stripe.com/connect/charges

What are you working on?
Marketplace platform

#

@lucid island pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Looking to create a donation page that allows people to choose various projects (donate to disaster relief, donate to the educational fund)

Doc/Guide Links
YTube channels, payment instructions on stripe

What are you working on?
Stripe Donation Page

#

@vapid wigeon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public Session createCheckoutSession(Resident resident, double amount, boolean payWithCard, boolean recurring,
String idempotencyKey) throws ServiceException, StripeException {
Building building = resident.getBuilding();
StripeAccount stripeAccount = building.getStripeAccount();
if (stripeAccount == null) {
throw new BadRequestException("Building does not have a Connected Stripe account");
}

Question
Does anyone know if by adding a Customer to the checkout session creation we avoid duplicate ACH bank account verification fees for the same customer's account?

What have you already attempted?
Not using the Customer object at all, and being charged a verification fee every time a customer pays.

What are you working on?
Property Management Software

cursive heronBOT
#

@winged compass pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have some automated end-to-end tests that started failing recently. The issue is with SEPA. In test mode, Charges would transition from pending to succeeded quickly (in a matter of seconds), which is what our tests are expecting. Now they are taking much longer. I asked about this on this discord last week and was told it was an issue on the Stripe side that had been resolved. However, it was still happening. The suggestion at the time was to generate a new token and use that. I have done that and things have improved. It was taking 4-5 days to transition and now it is taking four hours?

Related Event ID(s)
pm_1RVfy0Ay0nzSWXrAS626MqL9

What have you already attempted?
Looked at events in the logs and observed the transition times for Charge events. Tried generating a new payment method token.

What are you working on?
A suite of automated tests that supports our Stripe integration.

#

@loud quiver pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does the API bring back recent data? I’ve realised I’m only getting data back from 2024 and not anything from 2025.

Related Request ID(s)
N/a

What have you already attempted?
I’ve tried using the created[gte] and created[lte] filters with dates from this year but I get no results - even though there should be data

What are you working on?
Bringing stripe data into power bi using power query

#

@iron junco pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I asked a question about Windows Card Reader Emulators, got a question back from the moderator, but then found my thread was locked. I'd been away for about an hour - I have work to do!

Question
Has anyone had any success with a Windows emulator for a Stripe card Reader? The documentation is confused and contradictory in places/

What have you already attempted?
Tried using various samples, but it appears that contrary to the documentation, there currently is no Windows Card Reader Emulator. I find that hard to belive, so I must be missing something...

What are you working on?
In person card payments

#

@quiet hull pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can we create multiple discounts or coupons on single subscription on stripe

Related Request ID(s)
--

What have you already attempted?
No

What are you working on?
I have used stripe for payment process in my application

cursive heronBOT
#

@jovial slate pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Serverside :

return {
"paymentIntent": paymentIntent.client_secret,
"ephemeralKey": ephemeralKey.secret,
"customer": customer.id,
"publishableKey": "MY KEY"
}

Clientside :

const {error} = await initPaymentSheet({
merchantDisplayName: "Example, Inc.",
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: paymentIntent,
allowsDelayedPaymentMethods: true,
returnURL: 'myapp://profile'
});

Question
The PaymentSheet element in react-native opens successfully, but the app silently crashes every time I try to add a card to a new user. If I create a payment method manually via the Stripe dashboard (test), I am able to complete the payment. The problem really occurs when I try to add a payment method to a user who does not have any payment method initially.

Here is some informations about my expo app:

"expo": "~52.0.46"
"@stripe/stripe-react-native": "0.38.6"

What have you already attempted?
Initially I thought the error might be coming from the server and how I generate the ephemeral key and payment intent. I tried changing setup_future_usage='off_session', the API version for the ephemeral key and several other parameters but without success.

What are you working on?
I'm developing a mobile app with Expo. I'm using the EAS development build.

#

@loud quiver pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I’m trying to get recent data from https://api.stripe.com/v1/payouts (also tried with charges, customers, balance_transactions too) and the latest data I get returned is from November 2024. I’m after data from the last 6-8 weeks minimum, there is data that my customer can see, I’m just not getting anything back from the API (sorry for repeat, my thread closed I was unaware of idle time limit)

Related Request ID(s)

What have you already attempted?
I’ve tried using the created[gte] and [lte] filters but no data returned at all for 2025

What are you working on?
Connecting API to PowerBI to use data

#

@vapid wyvern pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<Elements stripe={stripePromise} options={stripeElementsOptions}>
....
</Elements>

Question
I would like my Stripe Elements generated form to accept both card payments and ACH payments. On my local and dev environments using Stripe's test environment, the ACH option appears as a menu item in the generated Stripe Elements form.

In my production environment, the ACH option never appears.

What have you already attempted?
In both my test and production Stripe environments, I have my platform and connected accounts all enable ACH Direct Debit. But the ACH option is still only generated in my local and dev environments and not on my production environment.

In my local environment, if I disable ACH Direct Debit in Stripe's test environment, then the ACH menu option in the Stripe Elements form does not appear. If I turn ACH Direct Debit back on, the option appears again.

What are you working on?
Donation platform

cursive heronBOT
#

@deft python pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey folks, I've spotted that the dispute reason of `noncompliant` is not represented in your Go SDK but it is a valid API response https://docs.stripe.com/disputes/categories?dispute-category=noncompliant#dispute-category-types

SDK: https://github.com/stripe/stripe-go/blob/8fdb0c0060bf37078330b682c0f99a34051e887a/dispute.go#L93-L106

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@slim veldt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I think I found a bug? When trying to create a new Subscription with certain expandable fields that do not exist, the server returns a 400 error, but also creates the subscription.

Related Request ID(s)
req_wiuRTIxxR3Pp5A

What have you already attempted?
For a random field name that does not exist, the error message is "This property cannot be expanded (random)." and the subscription is not created.

However, if I attempt to expand certain fields like "latest_invoice.payment_intent" (which use to exist in previous api versions), the error message is slightly different: "This property cannot be expanded because it doesn't exist: payment_intent." and the subscription does get created.

Version of the API tested: 2025-05-28.basil

What are you working on?
Creating a new subscription

cursive heronBOT
#

@vocal wagon pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to fix error: StripeInvalidRequestError: Funds can't be sent to accounts located in US because it's restricted outside of your platform's region; for custom accounts

Related Event ID(s)
My code

What have you already attempted?
everything

What are you working on?
an international website

#

@crimson bone pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const openPaymentSheet = async () => {
const { error } = await presentPaymentSheet();

if \(error\) {
  Alert.alert\(\`Error code\: ${error.code}\`, error.message\);
  //reinitialize the payment sheet
  initializePaymentSheet\(\);
} else {
  //reinitialize the payment sheet
  initializePaymentSheet\(\);
}

};

Question
When closing the payment sheet popup on mobile react native sdk there is a visual error where it swipes up before closing on a success payout or xing out.

What have you already attempted?
I tried removing any alerts on successfull payment but it still happens

What are you working on?
React native expo sdk payment session intent

cursive heronBOT
#

@woeful stone pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Is it possible to get the card 3DS details without callint payment intent API?

Question
Is it possible to get the card 3DS details without callint payment intent API?

What have you already attempted?
Is it possible to get the card 3DS details without callint payment intent API?

What are you working on?
3DS

#

@quiet gorge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Checkout session on payment method 'klarna' should I ask for name.

What actually happened?
It didnt ask the name (there is no field)

Reproduction Steps
Creates checkout session -> went to the stripe hosted page

Question
How can I ask for name on checkout session page on all payment methods?

#

@jovial slate pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
SIGABRT
Level: Fatal
Signal 6, Code 0 > Stack overflow in (null)

Question
Hello I opened a ticket not so long ago about a silent crash that happened within my expo app and I am here to provide more details

What have you already attempted?
I attempted plenty of solution but I can't get any logs from the error. So I just set-up Sentry so I now have the full trace of the error.

cursive heronBOT
#

@ionic wagon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
The Stripe payouts embedded component doesn't seem to support a PDF export with VAT info included for Connect platform fees

Question
Our customers use the payouts module to download receipts associated with the payouts from their Stripe connected account to their own bank accounts. We use direct charges. How do we make sure that they can download a PDF showing payouts in a given period, and that the PDF includes the VAT information?

What have you already attempted?
Tried using the Stripe Dashboard and using the embedded component, but cannot find the option there. We would like to use a default solution rather than have to develop new stuff, and we don't use Stripe tax currently. All receipts should show that our payment fees include 25% VAT.

What are you working on?
A multi-vendor platform built on Stripe Connect for payouts, using direct charges. Payouts made once a week of the connected accounts' GMV minus platform fees.

#

@gaunt kettle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I've discovered an exposed Stripe API key for a customer with ~100,000,000 GBP of total charges. The company has ignored any and all communication from me, and has not fixed the issue. Does stripe offer a bounty for finds like this, or have a place to report them?

Doc/Guide Links
https://stripe.com/.well-known/security.txt

What are you working on?
Discovered a Stripe API key within a stripe customer's app

cursive heronBOT
#

@delicate ridge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
fun TerminalException.toApi(): TerminalExceptionApi {
val code = errorCode.toApiCode()
return TerminalExceptionApi(
code = code ?: TerminalExceptionCodeApi.UNKNOWN,
message = errorMessage,
stackTrace = stackTraceToString(),
paymentIntent = paymentIntent?.toApi(),
apiError = apiError?.toString()
)

Question
Throws /ExceptionMappings.kt:23:40 Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public fun CardDetails.toApi(): CardDetailsApi defined in stripeterminal.mappings
public fun CardNetworks.toApi(): CardNetworksApi defined in stripeterminal.mappings
public fun CardPresentDetails.toApi(): CardPresentDetailsApi defined in stripeterminal.mappings

What have you already attempted?
Checked changelog and could not find anything related to mismatch. I have not faced this issue last month. This appeared suddenly.

What are you working on?
S700 Devkit

cursive heronBOT
#

@tawny sigil pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://buy.stripe.com/test_28o4ig0SY9Xq8co3cc

Question
Can I see a preview of how accepting crypto (link) and apple pay in checkout will look like? Looking at the docs they're both CTAs for either one or the other. unsure how it'd look like with both enabled.

What have you already attempted?
looked at different stripe docs
https://docs.stripe.com/apple-pay
https://buy.stripe.com/test_28o4ig0SY9Xq8co3cc

cursive heronBOT
#

@weary pollen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do we set the service agreement type to 'recipient' when creating a connected account? Also, how do we set payouts to 'manual'? We're using the Accounts V2 API, but I haven’t found these options in the latest version of the docs.

Related Request ID(s)
acct_1RVMyqIH5RgbMPmE

What have you already attempted?
Following this https://docs.stripe.com/api/v2/core/accounts/create?api-version=2025-05-28.preview&rds=1

What are you working on?
Stripe Connect (Accounts V2)

cursive heronBOT
cursive heronBOT
#

@inner drift pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currently, I’m receiving webhook callbacks in two different API versions: 2023-10-16 and 2025-04-30.basil.
My code is able to correctly parse the old version (2023-10-16), but when it receives callbacks from the new version (2025-04-30.basil), it fails — the logic always falls into the else block.
I’ve already tested it, and none of the new version’s callbacks can be parsed correctly.

What I want now is a solution that allows my code to keep working as-is, without needing to make any changes.

Related Event ID(s)
no

What have you already attempted?
no

cursive heronBOT
#

@ashen nova pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
export const stripeAppearance: Appearance = {
// 1️⃣ base dark theme
theme: "night",
// 2️⃣ optional floating labels (nice with dark inputs)
labels: "floating",

// 3️⃣ design-tokens → Stripe “variables”
variables: {
/* palette */
colorPrimary: "#d2b277",
colorBackground: "#18181b",
/* text now dark for proper contrast on beige backgrounds */
colorText: "#1c1917",
colorTextSecondary: "#1c1917",
colorDanger: "#f87171",
/* UX tweaks *

Question
How do I change the color of the link icon on the checkout form when using stripe elements

What have you already attempted?
Yes, primary, secondary, icon, and all the colors I can find in the docs

What are you working on?
A checkout page

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

@plain needle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a React Native app with Expo that is processing payments in test mode (meaning it's targeting the Stripe sandbox).

I'm having no trouble simulating payments using an NFC reader on Android and iOS terminals, using the "Tap to Pay" configuration for the payment method.

However, I can't change the card I'm simulating the payment with. I want to test with other cards provided in the documentation to validate other scenarios where the payment may fail for other reasons.

Is there a way to configure the card used to simulate the payment for the "Tap to Pay" payment method?

Related Request ID(s)
pi_3RW3oRPfS8wOeh3P09bwkuRo

What have you already attempted?
I've tried changing the payment method detection type, changing different amounts, and trying different versions of the "stripe-terminal-react-native" package v0.0.1-beta.25 and v0.0.1-beta.23.

What are you working on?
Application development.

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

@molten radish pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Apple Pay option appears on Stripe checkout webview in our react native app

What actually happened?
Apple Pay did not appear

Reproduction Steps
This was working before. I think the culprit is that we now need to send a custom user agent from our webview to allow web to detect the page request is coming from the app. Removing this shows Apple pay again

Question
How can I fix this? I need to send custom user agent, but I also need to see Apple Pay

#

@strange depot pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Hola, anteriormente tenía ventas y saldos en esta cuenta vinculada a ThriveCart, pero han desaparecido. ¿Podrían ayudarme a verificar si estoy conectado a la cuenta correcta o recuperar el historial anterior?

Question
Mi correo asociado a todas las transacciones anteriores es rmirandamussio@gmail.com, necesito encontrar una solución para tener todo el historial de transacciones, como saldos y clientes desde la creación de la cuenta

What have you already attempted?
El Lunes entré en Stripe y se perdió esa sincronización, he comprobado las sincronizaciones y estaban activas. He perdido todo el historial

cursive heronBOT
#

@dense moat pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm a bit confused when it comes to Stripe Connect and creating payment intents for connected Accounts.

Using the Go SDK (server-side), it feels like there are many ways you can do this, and I'm a bit confused by the many options. Which one should I use? Are they doing the same, or are they for different scenarios?

First, you have the params.SetStripeAccount(..) that you can add to request params.

There's also the "onBehalfOf". And finally, you can define it on the Stripe Client itself on initiation, by adding it on the BackendConfig.StripeContext.

So.. Which one should I go with?

Doc/Guide Links
SetStripeAccount: https://github.com/stripe/stripe-go

OnBehalfOf: https://docs.stripe.com/api/payment_intents/create?lang=go&api-version=2025-05-28.basil#create_payment_intent-on_behalf_of

BackendConfig: https://github.com/stripe/stripe-go/blob/8fdb0c0060bf37078330b682c0f99a34051e887a/stripe.go#L266 (The comment says: "The Stripe-Context header can be used to set the account or other context for the request."

What are you working on?
Stripe Connect integration in Go backend

cursive heronBOT
#

@spring lantern pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, I'm trying to collect an address with <PaymentElement and a setup intent but it never seems to show up

Related Request ID(s)
None

What have you already attempted?
<PaymentElement options={{
fields: {
billingDetails: {
address: 'auto',
name: 'auto'
}
},
layout: 'tabs'
}}/>

cursive heronBOT
#

@wild ravine pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When the call of a webhook fails for some reason we can see this in the logs-tab of the dashboard. We would like to implement some warning mechanic when this happened. So is there an intended way to get this logs via an api call or a web socket connection or something else? We found the “stripe CLI tail logs” concept which would fit our needs but it seems to be exclusive for test mode. Is there an other option which we don’t see?

Doc/Guide Links
https://docs.stripe.com/cli/logs/tail
https://docs.stripe.com/api/webhook_endpoints

What are you working on?
A warning mechanic when webhook fail.

cursive heronBOT
cursive heronBOT
#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello!

For a onetime purchase, I need to create a payment intent and get client_secret to continue pay on the frontend. But it doesn't work with Apple Pay and Google Pay (payment_method_types).

Related Request ID(s)
For a onetime purchase, I need to create a payment intent and get client_secret to continue pay on the frontend. But it doesn't work with Apple Pay and Google Pay (payment_method_types).

What have you already attempted?
For a onetime purchase, I need to create a payment intent and get client_secret to continue pay on the frontend. But it doesn't work with Apple Pay and Google Pay (payment_method_types).

#

@gentle imp pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
calculate stripe fes per transaction

Question
does anyone know where to input the code to automatically add a perecentage charge to a transaction amount?

What have you already attempted?
tried setting up as a tax code

What are you working on?
Trying to set up a payment link where customers are charged the transaction cost, and this is not passed on

#

@silver jewel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why did the following invoice fail to be paid: in_1QppYuE3jfg5KaWYdGDCa6ur

Related Request ID(s)
evt_1QuvAwE3jfg5KaWYwx0KyKaV

What have you already attempted?
Looking at the event id we can see it failed to be paid but not why, how can we get the reason, i.e. insufficient etc.. to relay to customer?

#

@thin badger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are looking for tax calculation based on the location for EV domain. How do we get started to your process

Related Request ID(s)
Support ID: #23044714

What have you already attempted?
No

What are you working on?
Charger CSMS billing with location specific tax calculation for EV domain

cursive heronBOT
cursive heronBOT
#

@upbeat cove pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<CardNumberElement
options={{
...elementOptions,
showIcon: params?.displayCardLogo,
iconStyle: 'solid',
disableLink: true,
preferredNetworks: ['cartes_bancaires'],
}}
onChange={(e: StripeElementChangeEvent) =>
handleChange(e, 'card')
}
/>

Question
Hello,
I'm trying to implement a CardNumberElement component with react. The disableLink and preferredNetworks give me warnings. How and where should I set these parameters?

What have you already attempted?
null

cursive heronBOT
#

@wary haven pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a monthly subscription which is my main one. I want to have additional features - whats the best way to handle those?

Doc/Guide Links
I'm using Cashier and from Stripe and Cashier docs I understand that user may be subscribed to multiple products, however this appears as different subscriptions in the dashboard - is this the correct way to handle this additional item? If person subscribes on 1st to the main plan and then on the 14th to the additional one how the invoice be changed?

What are you working on?
Monthly main subscription + additional monthly feature

cursive heronBOT
#

@tulip parrot pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
"No such customer: 'cus_SPJpCtUfMyhDgI'"

Question
getting this erorr while creating invoice I check before creating invoice whethere there is exist of accoutn against that stirpe account or not if not I am creating with that one that try with that part.

"No such customer: 'cus_SPJpCtUfMyhDgI'"

        "code"\: "resource\_missing",
        "doc\_url"\: "https://stripe.com/docs/error-codes/resource-missing",

What have you already attempted?
I am trying to created stripe invocie for bank transfer.

cursive heronBOT
#

@stone solar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've been trying to update the available balance in my Stripe account that's in a sandbox using /v1/topups. The request succeeds and I get a succeeded event as well (evt_1RWJ4KAzfvgavqprmOboWqQu) but the available balance doesn't change.

Related Request ID(s)
req_XvjSQwwDGfuAQc

What have you already attempted?
I've also tried going through the dashboard and using the "Add to balance" button

cursive heronBOT
#

@wary haven pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Question
I have a monthly subscription which is my main one. I want to have additional features - whats the best way to handle those?

Doc/Guide Links
I'm using Cashier and from Stripe and Cashier docs I understand that user may be subscribed to multiple products, however this appears as different subscriptions in the dashboard - is this the correct way to handle this additional item? If person subscribes on 1st to the main plan and then on the 14th to the additional one how the invoice be changed?

What are you working on?
Monthly main subscription + additional monthly feature

cursive heronBOT
#
#

@gusty lotus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I know Stripe has a product called Vault and Transfer API. But what i want to know is how can i process payments if I own the tokenize information and I will be the one passing to Stripe environments. Is this something you can support?

Related Request ID(s)
N/A

What have you already attempted?
Vault and Forward

What are you working on?
Process Payments

cursive heronBOT
cursive heronBOT
#

@quartz jolt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are testing with apple pay in our test environment, but getting a "card_declined" error "test_mode_live_card"

Related Request ID(s)
req_VA1ckWpfHqUFts

What have you already attempted?
We have tested in the past with a real card via Apple pay and it has worked fine. The last attempt that worked was on May 30th (req_1eFXLP9TLYBt6B). Not sure why it has stopped worked recently since we haven't made any changes on the client side or backend.

What are you working on?
We are trying to QA our Apple Pay flow within our staging enviroment

cursive heronBOT
#

@ivory sail pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expect Apple Pay to show up when using Stripe payment element

What actually happened?
Apple Pay option is not showing up

Reproduction Steps
- Apple Pay shows up if the iframe is accessed directly: https://iframe.celitech.com/?token=eyJhbGciOiJIUzI1NiJ9.eyJjbGllbnRJZCI6IjQ4NG9udHFnaGRsbmgwbDdlcGswODl0dmluIiwicGxhdGZvcm1OYW1lIjoiQ0VMSVRFQ0hfcGxhdGZvcm0iLCJpYXQiOjE3NDkwNjM0NDEsImV4cCI6MTc0OTA2NTI0MX0.EnY7q9besnrrBSGwEWqckN0J1s-jQtzFIIwhuSQwp5c

- if the iframe is embedded in a website, it's not showing up

Question
How to enable/show Apple Pay in an iframe that is embedded in a website

What are you working on?
- the child iframe (iframe.celitech.com) already has the domain whitelisted in Stripe dashboard + the Apple key is uploaded

#

@delicate ridge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
E/DartMessenger( 7501): Uncaught exception in binary message listener
E/DartMessenger( 7501): com.stripe.stripeterminal.external.models.TerminalException: Service unexpectedly disconnected
E/DartMessenger( 7501): at com.stripe.stripeterminal.handoffclient.HandoffRpcClient.withTranslatedExceptions(HandoffRpcClient.kt:85)
E/DartMessenger( 7501): at com.stripe.stripeterminal.handoffclient.HandoffRpcClient.makeRequest(HandoffRpcClient.kt:56)

Question
I successfully completed a payment once, but subsequent attempts fail with this error:
com.stripe.stripeterminal.external.models.TerminalException: Service unexpectedly disconnected

What have you already attempted?
After running ADB diagnostics, I found that the required handoff service (com.stripe.terminal.handoffservice) is not installed on the S700. This was confirmed using:

adb shell pm path com.stripe.terminal.handoffservice

What are you working on?
S700 Devkit

cursive heronBOT
#

@marble geyser pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Updating pause_collection for a subscription with a pending subscription renewal (invoice still in draft state) isn't working via API

Related Request ID(s)
req_Vsx1JQEcl2d47z

What have you already attempted?
Trying to pause_collection after receiving invoice.created. have tried sleeping for 10 seconds. the subscription renewal is triggered by moving the test clock forward for the subscription.

cursive heronBOT
#

@devout zodiac pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to tell if an invoice payment failed specifically because the invoice is marked as uncollectible?

Related Event ID(s)
pi_3RWNn2BsYzIqHjob3zmDDSb3 (I wasn't able to find the event that changes the pi status)

What have you already attempted?
I've checked the whole payment intent object but doesn't seem that there's a direct reference of the "uncollectible" status from the invoice.

#

@lost meadow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How would I go about creating a stripe payment button that creates subscription for a product that renews on a set date each year?

Related Request ID(s)
na

What have you already attempted?
I have read that this is done using the api, but I am not sure how I would implement that into a wordpress website. Maybe It requires some serious coding.

What are you working on?
Membership for a Community Social Club that renews on a specific date.

cursive heronBOT
#

@frank cloak pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using sandboxes in the stripe dashboard, isn't there a way to actually copy the data that's in the test mode or live mode rather than have empty data? (Customer, subscriptions and so on) That would be beneficial for me as I want to run tests based on what we currently have as a dataset and how will it affect the users as a whole on our platform

Doc/Guide Links
I haven't looked into any links or docs, just tried using the sandbox in the dashboard

What are you working on?
We're building a B2B and b2c platform for farmers. We use stripe for our subscriptions and add-ons

cursive heronBOT
#

@dusky frigate pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting `test_mode_live_card` error when testing apple pay on stripe sandbox mode

- I'm using a real apple pay account with real credit card
- Using ExpressCheckoutElement
- following this docs https://support.stripe.com/questions/testing-apple-pay-with-stripe

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_pkjRxaPrbbDZNZ?t=1749080000

What have you already attempted?
- stripe live mode apple pay is working
- stripe sandbox mode google pay with test card is also working

What are you working on?
ecommerce site

cursive heronBOT
#

@vagrant kayak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Cant update a subscription by API.

ERROR: The subscription is managed by the subscription schedule.

But when looking in the stripe dashboard there are none schedule.

Are schedule hiding?? because as far I know if its not in the dashboard the subs does't have a subscription schedule.

ERROR log: https://dashboard.stripe.com/logs/req_LwfuPST1TZpNho

User subscription: https://dashboard.stripe.com/subscriptions/sub_1MStQo2hcBjtiCUZEAgJna2a

Related Request ID(s)
NONE

What have you already attempted?
Update as always do but can't do it now.

cursive heronBOT
#

@glad owl pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Invoice will be marked as uncollectible and no further actions will happen to it

What actually happened?
Invoice has been updated with adding `next_payment_attempt`: evt_1RVo86IgqC1aidaOfcmljtud

Reproduction Steps
No idea because the problem is intermitent and occurs rarely

Question
A customer of my merchant has failed invoice payment. My platform has received `invoice.payment_failed` webhook (evt_1RVo86IgqC1aidaOIw2ofuCh) and checked `next_payment_attempt` field. Which was `null` so platform decided that invoice will not be moved further and considered that attempt as a final attempt

What are you working on?
Stripe connect platform

cursive heronBOT
#

@sour egret pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For collection_method=send_invoice, the subscription will be automatically activated, which is fine to provision the feature. However, because the current phase is created when the subscription is activated, the user would waste a few days until the payment is completed. Is there any way I can create a subscription with status incomplete for bank transfer, or start the phase when the first payment is made?

Related Request ID(s)
req_3OZKpNcoyuYkW4

What have you already attempted?
Created an subscription with payment_behavior: "default_incomplete",
collection_method: "send_invoice",

But as the doc says, the subscription was created as active.

What are you working on?
I want to accept card and bank transfer(customer balance). I don't have an issue with the card payment, as I can just set payment_behavior to be default_incomplete but doesn't work for bank transfer

cursive heronBOT
#

@karmic nova pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
No valid payment method types for this Checkout Session. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) or specify `payment_method_types`.

Question
How do I get canadian pre-authorized debits to work in a server-side redirect checkout session?

What have you already attempted?
I am specifying the currency is USD, an amount of $1000 (less than the $3000CAD limit). I am attaching a customer that has their billing and shipping set to Canada, and the email address has the "+location_CA" suffix. I include a payment method configuration ID that has canadian pre-authorized debits . I have adaptive pricing enabled. I am not using manual captur

What are you working on?
Making a checkout page

#

@wintry magnet pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
invalid_request_error - payment_method_types
No valid payment method types for this Payment Intent. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) or specify payment_method_types

Question
When creating a payment intent (with no payment_method_types), I get this error, this seems to be happening only for this one connected account (1000+ connected accounts working fine). Sometimes a Payment intent creation will work, but most fail.

What have you already attempted?
I tried to load the account via the API to see if there was anything wrong with it (pending documentation or inactive payment methods) but it all looks ok. Looking at the dashboard things look ok too. There's been no changes in my code recently, this just works and has worked for years.

Reproduction Steps
Hard to provide this without sensitive data, but the only payment intent fields I am passing are: "amount", "application_fee_amount", "currency",
"customer", "description",
"expand" ("0":"latest_charge.balance_transaction") and "metadata". I am not passing payment_method_types as I usually avoid it so Stripe will load the payment methods that exist in the account

What are you working on?
Platform for collecting donations

cursive heronBOT
#

@blazing cipher pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're implementing a ballot-based ticketing system and need guidance to ensure optimal payment processing. Please see the attached document for full details.

Key Concerns
Primary Issue: Preventing 3DS authentication prompts during ballot processing (sequential payments with vaulted cards, 0.5-1 second intervals)
Questions:

Risk factors that might trigger 3DS with our setup?
Account configurations to optimize success rates?
Best practices for sequential payment processing?
Recommended monitoring approaches?

We'd appreciate proactive guidance to address potential issues before they impact customer experience

Doc/Guide Links
https://docs.google.com/document/d/1bWwyTW0T30xmgZHrQaiWWCLfrkbi9Ec5cDcWP5do88g/edit?usp=sharing

What are you working on?
B2C Pre authorised ballot system

cursive heronBOT
#

@tulip parrot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My use case is to create an invoice for a bank transfer after the customer has completed the transfer. Can Stripe support this?

Related Request ID(s)
My use case is to create an invoice for a bank transfer after the customer has completed the transfer. Can Stripe support this?

What have you already attempted?
My use case is to create an invoice for a bank transfer after the customer has completed the transfer. Can Stripe support this?

cursive heronBOT
#

@merry wadi pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
“User not found”

Question
Hello,

I have accidentally deleted all the Stripe business accounts linked to my profile. Now, after correctly entering my OTP and login credentials, I receive the error message: “User not found.”

The email address in question is: amministrazione@italiaeco

I would like to know if it’s possible to unlock this email address so I can use it again to create a new Stri

What have you already attempted?
I tried to log in with my credentials and enter the opt code received on my phone

Reproduction Steps
I tried to log in with my credentials and enter the opt code received on my phone

What are you working on?
Setting up new business accounts for ecommerce

cursive heronBOT
#

@hallow flax pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I'm using latest API (2025-02-24.acacia) via Stripe.net 48.2.0. In the ChargeObject I expected the "PaymentMethod" to return a "PaymentMethod" object.

What actually happened?
"PaymentMethod" in the ChargeObject does not return a PaymentMethod object, but returns a "PaymentMethodId" string instead. While in other places, like in the PaymentIntent, "PaymentMethod" correctly returns the object, and "PaymentMethodId" returns the id. This inconsistency is confusing.

Reproduction Steps
Just scroll trough the object class...

Question
I'd like a fix to be added in the future versions so that ChargeObject.PaymentMethod returns the object, and a new ChargeObject.PaymentMethodId returns the id.

cursive heronBOT
#

@cinder dune pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When updating subscription billing country via Address Element (India to US), Payment Element should automatically show updated country-specific payment methods (like US bank payments) since both elements use the same client_secret.

What actually happened?
Payment Element didn't reflect updated payment methods after country change via Address Element. It remained frozen with original India payment methods, not showing US-specific options.

Reproduction Steps

  1. Create subscription for Indian customer, get client_secret from payment intent
  2. Render Address + Payment Elements with same client_secret
  3. Change country from India to US via Address Element
  4. Update subscription via API
  5. Payment Element doesn't refresh - original client_secret unchanged
  6. No new payment methods appear despite country update

Question
Address and Payment Elements need fresh client_secret for Google Maps integration. Updating existing subscriptions doesn't regenerate client_secret, so Payment Element can't refresh with new billing context.
Is this intended behavior? What's the recommended approach for dynamic country changes while maintaining Google Maps auto-suggestions?

What are you working on?
Building subscription billing system integrating Address Element with Payment Element.

#

@modest hill pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When i tried to charge the customer for invoice i was unable to find any update amount field.

What actually happened?
There should be a update amount field as per the docs.
https://docs.stripe.com/invoicing/partial-payments

Reproduction Steps
Try to charge a customer with partial payment.

Question
I'm unable to see any update amount field in charge customer dialog.

#

@winged spade pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Will Stripe JS support apple pay enable Coupon code and liesen the coupon code changed event? I notice that apple pay lauch this feature in 2021.

Related Request ID(s)
N/A

What have you already attempted?
stripe dev document / change log / github

What are you working on?
I want give customers the expirence that they can input the coupon code in the apple pay sheet.

cursive heronBOT
#

@frosty coyote pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to set a stripe subscription to start further ahead than the first natural billing date?

For example, Say I want to start a monthly subscription but I don't want the subscription to start until 2 months from now?

If I try to do it via the subscriptions API, or via the subscription checkout I get:

> billing_cycle_anchor cannot be later than next natural billing date (1751709095) for plan

The use case is that the user is signing up for a series of courses. The courses happen monthly but don't start until a later date.

Related Request ID(s)
N/A

What have you already attempted?
Tried to do it via the API and checkout, also searched the docs but cant seem to find anything

#

@frozen berry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Calling createCheckoutSession. If i pass metadata to it, will it be transferred to the payment intent and invoice (if applicable) created from it? Need to somehow pass orderId from my system.

Related Request ID(s)
Na

What have you already attempted?
Na

#

@tulip parrot pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
My use case is to create an invoice for a bank transfer after the customer has completed the transfer. Can Stripe support this?

Question
My use case is to create an invoice for a bank transfer after the customer has completed the transfer. Can Stripe support this?

What have you already attempted?
My use case is to create an invoice for a bank transfer after the customer has completed the transfer. Can Stripe support this?

For example:

A client sends a bank transfer manually (outside Stripe).

After I confirm the payment is received in the bank, I want to generate an invoice in Stripe for accounting/record purposes.

I don't want to create a payment link or

cursive heronBOT
#

@wise pumice pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
problem

Question
Hi, I need help setting up my Stripe account for a Kickstarter campaign.
I selected “Individual / Sole Trader” as my business type, but the system keeps asking me for a Companies House Registration Number (CRN), which I don’t have because I’m not a registered company.
Could you please help me resolve this so I can proceed?

What have you already attempted?
1

cursive heronBOT
#

@ember bear pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have enable Link payment method on my stripe account but it doesn't reflecting on client side. How do i achieve that

Related Request ID(s)
Dashboard > settings > payment_methods

What have you already attempted?
by enabling Link

What are you working on?
To get automatic payment

cursive heronBOT
#

@vocal aurora pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to check efficiently if a user is verified ?
Before, we were using the status in "individual.verification" but it is now deprecated, and we don't handle companies so.

Looking at your guide, it says that I have to check if "requirements.currently_due" has entries and then check for "requirements.current_deadline".
But here I have two questions:
- What happens when "current_deadline" has passes ? Will Stripe request our webhook with "payouts_enabled: false" ? If it is the case, I don't need to check it (but I will keep it to show it to my end user)
- Is this the only check I have to do ? What if it is a company for example ? I'm not sure if I'm doing it properly...

Doc/Guide Links
https://docs.stripe.com/connect/handling-api-verification#determine-if-verification-is-needed

What are you working on?
I'm working on an "outdated" API version and trying to update my code to handle user's verification.

cursive heronBOT
#

@quiet cobalt pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout

Question
Good morning, via the following id (cs_test_c12EnP6PujEjADBib6rEyjGudAmqpTCCTLIbiOLFW3i9N00EL9wQphD22h) I have made a payment via a guarantee card, but when logging into the backoffice there is no trace of this transaction. In the transaction section there is nothing as it is not a real transaction, but a saving of the card. Where can one find such a transaction in the stripe backoffice?

What have you already attempted?
I have already looked in the Transactions section but have found nothing

#

@late scroll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to set preferred_locales for guest customers? I see in the docs that it is only possible to set the locale on the customer level, but I don't see such option to use custom locale for guests, therefore receipts for such users are always in English. Since Canada — specifically Quebec — has a legal requirement for receipts to be provided in French (if French is selected by the customer), how can this be handled in Stripe in a guest checkout flow?

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@frozen berry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When i receive a stripe payment intent webhook event prompted by an invoice, is there any field the the payment intent that points to the invoice id?

Related Request ID(s)
Na

What have you already attempted?
Na

#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello!
How i can use Setupintent with expresscheckout emements?
Thank you!

Related Request ID(s)
Hello! How i can use Setupintent with expresscheckout emements? Thank you!

What have you already attempted?
Hello!
How i can use Setupintent with expresscheckout emements?
Thank you!

cursive heronBOT
#

@grizzled storm pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our checkout uses Payment Element to collect payment info, create and confirm a setup intent for future use, and at the end of the flow charge the card (or place a credit hold) via a payemnt intent. Will SCA be possibly triggered in both steps, i.e. confirming a setup intent _and_ charging a card?

Doc/Guide Links
https://docs.stripe.com/api/setup_intents/confirm

What are you working on?
Payment Element integration to checkout

cursive heronBOT
#

@quaint gate pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, im developing a platform.
On our platform we have 4 packages(Free, Starter, Smart, Premium). Price for each package calculating dynamically, it depends on many factors. We have 2 ways of subscriptions - month and year(10% discount)

Im already created basic subscription by checkout session and package upgrade( subscription.upgrade)

About the product flow:
I created 3 products from the code without price.
Then im dynamically creating a price and assigning product to it. Price is assigned to subsc

Is im correctly doing product flow?
Is it any way to make like checkout page but for the subscription update, to trigger user to submit the new price for package on stripe side?

Doc/Guide Links
https://docs.stripe.com/api/privacy/redaction-job/object#privacy_redaction_job_object-objects-checkout_sessions

https://docs.stripe.com/api/subscriptions/update

https://docs.stripe.com/api/prices/create?api-version=2025-02-24.acacia

What are you working on?
Cyber Security Platform

#

@vagrant kayak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The API Subscription Schedules. the method release.
https://docs.stripe.com/api/subscription_schedules/release?lang=curl

what does it mean by releasing?
if I have two phases.
removing ? deleting?

Related Request ID(s)
NONE

What have you already attempted?
I'm trying to add a free trial days, but got error that can only be done by Subscription schedules but I want to be able to update with the API Subscription and not the API Subscription Schedules

#

@vernal trail pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
As an admin, i want to stop payments for users who are getting charged with wrong amounts

Related Request ID(s)
Stripe Subscriptions API

What have you already attempted?
Looking for some and workflow in this case

What are you working on?
PHP Stripe APIs

cursive heronBOT
#

@midnight mortar pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expected subscription schedule sent in subscription_schedule.updated to send the updated subscription schedule data when advancing with test clock.

What actually happened?
When advancing a test clock that triggers a subscription phase change, the subscription_schedule object that is sent in the webhook is not the updated object. It is the same object as the when the object was created origianlly except with test_clock added.

Reproduction Steps
Add a phase to a subscription and inspect the webhook data sent. Advance the test clock to move the schedule from phase 1 to phase 2 and inspect the webhook data sent for the schedule.updated

Question
Is this just an issue with time clocks?
I can give you an example customer to look at.

What are you working on?
Building an integration where end users can modify/cancel their subscriptions

cursive heronBOT
#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello i use express checkout elements: gpay, Apay, amazon pay. I would like to ask if setup future usage will work with it?

https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage
https://docs.stripe.com/payments/payment-intents#future-usage

Related Request ID(s)
Hello i use express checkout elements: gpay, Apay, amazon pay. I would like to ask if setup future usage will work with it? https://docs.stripe.com/api/payment_intents/object#payment_intent_object-se

What have you already attempted?
Hello i use express checkout elements: gpay, Apay, amazon pay. I would like to ask if setup future usage will work with it?

https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage
https://docs.stripe.com/payments/payment-intents#future-usage

cursive heronBOT
#

@woeful apex pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
No auth session is invalid

Question
Trying to pay my bill and the no auth session is invalid keeps popping up

What have you already attempted?
Restarting the app, multiple times logging in.

What are you working on?
Trying to pay my bill

cursive heronBOT
cursive heronBOT
#

@void nimbus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to onboard UK-based connected customers to BACS debit payment capabilities. We have been stuck due to the issue with custom branding https://docs.stripe.com/payments/payment-methods/bacs-debit#custom-branding . My understanding from someone answering Stripe support emails is that "By default, if you request the bacs_debit_payments capability without specifying settings.bacs_debit_payments.display_name, the account will use Stripe branding."

Related Request ID(s)
req_KC07WYlZfW35WA

What have you already attempted?
In my request (id attached) I don't set display_name, and yet if I look at that account (acct_1KYZhTPkIhzYm1fS), there is a value set for settings.bacs_debit_payments.display_name. I am assuming this is because of the requirements request that went to the admin due to the capabilities request. How can I either null that field or set it to "Stripe"? I have been told this will invalidate their current mandate and re-issue another one, but I have questions about that also.

What are you working on?
Business management software

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

We are currently offline. We will be back at 8am UTC on Friday, June 6. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@tender crater pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Created two payments,
One from web succeeded but another from mobile remains open invoice and not succeeded.

Related Request ID(s)
sub_1RWv4EAGlCdR56ap75hGNZ6V

What have you already attempted?
```
if (data?.type === 'invoice.created') {
const isSubscriptionExist = await this.subscriptionRepo.isSubscriptionExist(data, transaction);

      if \(isSubscriptionExist\) {
        const invoice = await this.stripeService.retrieveInvoice\(data?.data?.object?.id\);
        if \(invoice?.status === 'draft'\) {
          await this.stripeService.finalizeInvoice\(data?.data?.object?.id\);
        }
      }
    }

```

#

@inland vapor pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
'use client';

import Button from '@/components/atoms/Button';
import useStripe from '@/hooks/payments/useStripe';
import { useCheckout } from '@/providers/CheckoutProvider';
import { PaymentElement } from '@stripe/react-stripe-js';
import { useTranslations } from 'next-intl';
import { FC, FormEvent } from 'react';

const CheckoutStripe: FC = () => {
const t = useTranslations();
const { createAndConfirmPaymentIntent } = useStripe();
const { applyPaymentMethodFee,

Question
Hi everyone, Im using the Stripe Payment Element for some payment method and for the "card" i want to accept only AMEX. I dont want to accept visa or mastercard is that possible ?

What have you already attempted?
For this i checked the payment methods i accept in the dashboard but i didnt find a way to accept only amex

What are you working on?
Im building a marketplace where we sell concert tickets

cursive heronBOT
#

@bleak rivet pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
A customer of us had a monthly subscription and had invoices in "uncollectible" state three months streak. Why Stripe didn't cancel his subscription and let him have a subscription alive three months without any payment validated ?

Related Event ID(s)
customer id : cus_PVylXIgjmgBWeU

What have you already attempted?
Tried to see if we were sending any request to make it uncollectible but logs are telling me we didn't

What are you working on?
SaaS

cursive heronBOT
#

@compact pier pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I activated "Bank Transfer" as a payment method in my profile, and I expected my clients to see this option at checkout.

What actually happened?
The "Bank Transfer" option does not appear for clients during the checkout process.

Reproduction Steps
Go to my profile and activate "Bank Transfer" as a payment method.

Visit the checkout page as a client.

The "Bank Transfer" option is not visible among the available payment methods.

Question
Why isn't the "Bank Transfer" option appearing at checkout for my clients, even though I’ve enabled it in my profile?

What are you working on?
Website checkout

cursive heronBOT
#

@tender crater pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async createSubscription({ customerId, priceId, coupon }: CreateSubscriptionPrams) {
try {
return await this.stripe.subscriptions.create({
customer: customerId,
items: [{ price: priceId }],
// payment_behavior: 'default_incomplete',
expand: ['latest_invoice.payment_intent'],
collection_method: 'charge_automatically',
...(coupon ? { discounts: [{ coupon }] } : {}),
});
} catch (error) {
logger.error('er

Question
Created two payments,
One from web succeeded but another from mobile remains open invoice and not succeeded.

What have you already attempted?
sub_1RWwx8AGlCdR56apxGOU53pU

cursive heronBOT
#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello!
Setup intent with google pay, how to hide $0 inside google pay ui?
Thanks

Related Request ID(s)
Hello! Setup intent with google pay, how to hide $0 inside google pay ui? Thanks

What have you already attempted?
Hello!
Setup intent with google pay, how to hide $0 inside google pay ui?
Thanks

cursive heronBOT
#

@modest hill pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why i'm getting invoice as null for 'charge.failed'?

Related Event ID(s)
evt_3RWxo2Eap0XQH1am0GzaSnok

What have you already attempted?
I have attempted to get invoice from payment intent and invoice payment

What are you working on?
I want to retrieve invoice id for the charge failed

cursive heronBOT
#

@snow crescent pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! We use subscription with initial payment and recurring payment elements. We get payment intent for initial payment from subscription's latest invoice, and do not specify allowed payment sources for it. However, since payment intent generated this way has "automatic_payment_methods": null, when we display a payment form for the user, we have to explicitly set allowed payment methods on the Elements component on the frontend to match what will be generated in the payment intent. Is there a way to get the allowed payment methods for a subscription without generating payment intent?

Related Request ID(s)
none

What have you already attempted?
I read the docs for Invoice and Subscription objects, but cannot find anything relevant

What are you working on?
We're selling a product with a subscription, using Subscription and Invoice objects in our flow

#

@snow roost pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
code: 'UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR',
message: 'Contactless transaction failed com.stripe.core.aidlrpc.AidlRpcException: Failed to send request to AIDL server.' }

Question
Hello, we are trying to create Tap To Pay Experience with stripe-terminal-react-native v0.0.1-beta.14 on Android. but when we try with a realease build, on android, after a short time, we have the following error with logcat. the same code work well on iOS.

What have you already attempted?
We have try to put simulated to trus, and everything work. we wanted to try on a real device. thank you for your help

cursive heronBOT
#

@vagrant kayak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there an API to get the Logs Events?
We have a lot of errors
404 DELETE invalid_request_error

"The subscription is managed by the subscription schedule `sub_sched_1RR1Hz2hcBjtiCUZIGXz0loL`, and updating any cancelation behavior directly is not allowed. Please update the schedule instead."

We want a list of customer and subscription ID with this issue to re-process.

Unfortunately we don't proper log the error in our back-end logs.

Related Request ID(s)
NONE

What have you already attempted?
Check dashboard if any export button exists https://dashboard.stripe.com/logs

cursive heronBOT
#

@misty plover pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using Stripe Connect with React Native PaymentSheet. Backend creates PaymentIntent on connect account with application_fee_amount and connect customer. initPaymentSheet() succeeds but presentPaymentSheet() fails with "No such payment intent". Backend verification confirms PaymentIntent exists and is accessible via API with stripe_account parameter. Is React Native PaymentSheet compatible with PaymentIntents created directly on connect accounts, ?

Related Request ID(s)
req_PGMgFOnAOqXhNd

What have you already attempted?
✅ Verified PaymentIntent exists on connect account via API
✅ Customer & ephemeral key created on same connect account
✅ Payment methods cloned from platform to connect account
✅ Confirmed PaymentIntent accessible with stripe_account param
✅ Tested without stripeAccountId in PaymentSheet config
✅ Verified all IDs are consistent (customer, account, PaymentIntent)
❌ Still fails at presentPaymentSheet() despite successful initPaymentSheet()

#

@wary haven pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$apiPriceId = $apiSubscriptionService->getApiPriceForSubscriptionSwap($result, $accountOwner);

            $result\-\>swapAndInvoice\($newPlan\['subscription\_price\_ids'\]\[SubscriptionPackagePrice\:\:PRICE\_TYPE\_MONTHLY\]\);

            // Add the API price back if it was part of the subscription
            if \($apiPriceId\) {
                $result\-\>addPrice\($apiPriceId\);
            }

Question
How to handle multiple prices and changing one of them?

What have you already attempted?
Scenario is the following - user is on a main plan, he then adds a feature to his plan so now he has two prices. Once he adds the feature I invoice him. He can change his subscription to which I do cashier swapAndInvoice method - reading though the docs as well as testing I see it removes all old prices. So then I add the api price if he had it previously - but he gets charged again.

What are you working on?
Is there a general concept I'm not following? How I'm supposed to change his original plan and invoice him and keep data of his other items he has in his sub?

#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
{
"message": "Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed through the API configured with payment_method_types.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_050UJxbyax3bi6?t=1749215551",
"setup_intent": {
"id": "seti_1RX04CBZmGtUq60jaUCMpKoc",
"object": "setup_intent",
"automatic_payment_methods": null,
"cancellation_reason": null,
"client_secret": "seti_1RX04CBZmGtUq60jaUCMpKoc_secret_•••wuFT",
"created": 1749215536,

Related Request ID(s)
{ "message": "Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed through the API configured with payment_method_types.", "request_lo

What have you already attempted?
{
"message": "Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed through the API configured with payment_method_types.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_050UJxbyax3bi6?t=1749215551",
"setup_intent": {
"id": "seti_1RX04CBZmGtUq60jaUCMpKoc",
"object": "setup_intent",
"automatic_payment_methods": null,
"cancellation_reason": null,
"client_secret": "seti_1RX04CBZmGtUq60jaUCMpKoc_secret_•••wuFT",
"created": 1749215536,

cursive heronBOT
#

@dusk gale pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to get no-costs payment to work. Using Embedded components.

But the checkout session never completes.

I have even tried the examples on the no-cost page.

I must be doing something wrong. I never get a completed session webhook.

Related Request ID(s)
req_iHERYNBZpv46Rb

What have you already attempted?
I have tried modes for payment & subscription for one-time & recurring at $0.

cursive heronBOT
#

@vocal wagon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const currentSubscription = await stripe.subscriptions.retrieve(organisation.subscriptionId);
await stripe.subscriptions.update(currentSubscription.id, {
items: [{ id: currentSubscription.items.data[0].id, price: priceId }],
});

Question
I've got a plan "good better best", where user can mainly upgrade to a better plan, once they're reached the limit of their plan. When they subscribe I create a checkout session to the current plan, and when they want to change, I use the code above to change the price of their subscription. But it's not as guiding as the stripe's pricing table where the user is guided through the upgrade. Is there a way for the code above to redirect to a checkout that explain the new price?

What have you already attempted?
Basically I want to use our own pricing table with the stripe's checkout to upgrade?

What are you working on?
an app for creatives with AI integrated

cursive heronBOT
#

@wild crystal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
having multiple payment for same transaction

Related Request ID(s)
pm_1RUdPERseT52asDvgEnHTn8Q

What have you already attempted?
check the api and see reqest tesponse

What are you working on?
online stripe integration in my website

cursive heronBOT
#

@neat grove pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have completely recreated my webhook endpoint in LIVE mode . I have subscribed it to the account event & transfer.created event. I then created and captured a new live Destination Charge, which resulted in a successful payment and the creation of Transfer

However, my webhook endpoint still did not receive the transfer.created event for this transfer. There is no delivery attempt in my webhook logs. but it receives the log for account.updated

Related Event ID(s)
we_1RWw••G7GKrM78sAeRp0kzth

What have you already attempted?
Hello, I have completely recreated my webhook endpoint in LIVE mode . I have subscribed it to the account event & transfer.created event. I then created and captured a new live Destination Charge, which resulted in a successful payment and the creation of Transfer

However, my webhook endpoint still did not receive the transfer.created event for this transfer. There is no delivery attempt in my webhook logs. but it receives the log for account.updated

cursive heronBOT
#

@pseudo fossil pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Whenever i open the pricing tables I have two different ones, instructor and player, instructor has 3 tiers silver, gold, platinum. Player has 2 silver and gold. If i go to either of them i can see that, if i go to the player one i see the tiers correctly,

What actually happened?
if i go the instructor one i see the 3 tiers of the instructor with a legend that says, form this table and i see the two of the player, now this reflects on my applications and its showing the tables of the player and instructor together and it shouldn't, i cant manually erased them but if open the pricing tables, they again appear

Reproduction Steps
if i go to the instructor table it appears the two tiers from other table, you just have to open the table, can be erased manually, save, closes, open again and there they are again, two tiers from a different table on this one apart from the ones that should be here.

Question
i have a question to see if anyone could tell me if this is a normal behavior(it think is not) on the product catalog tab->pricing tables, its showing the tiers from other table apart for the ones that are actually from the table in question.

What are you working on?
a simple sports solution for player and instructor with stripe as billing service

cursive heronBOT
#

@median pelican pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When im on my website, and I go to the checkout website, the back button on the top left after I click it it takes me back to my website

What actually happened?
When im on my website, and I go to the checkout website, the back button on the top left instead of taking me back to my website takes me to an adult website

Reproduction Steps
go to moddedmillions.xyz click on any product, and on the checkout page click the back button on the top left.

Question
My website is also set to the right one in stripe so I don't know why its redirecting to that website.

What are you working on?
Just a website that when a button is clicked redirects users to a checkout page.

cursive heronBOT
cursive heronBOT
#

@delicate ridge pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://github.com/stripe/stripe-android

Question
I wanted to know if this is the main android native code for all stripe terminals, including S700 handoff mode

What have you already attempted?
I am searching for native android code for Stripe S700 devkit handoff mode. I wrote a plugin on top of the android native code, but im having issues with disconnecting from the reader terminal when transaction is completed. So i wanted to verify the native code but cant find the repo anymore.

What are you working on?
S700 devkit Handoff mode

cursive heronBOT
#

@turbid dune pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're getting an invalid param error on live mode, but not on dev.

It has to do with the 'created' param for all of our .list api requests (e.g., received_credits.list, inbound_transfers.list, payouts.list)

here's an example of it failing in live mode: req_1uWX8NK2Zngo3N

Not sure what's wrong as the api versions are identical across both test and live.

Related Request ID(s)
req_1uWX8NK2Zngo3N

What have you already attempted?
tried to modify the parameter, tried to set it to null

no matter what, it works fine on test, but fails on live.

#

@sand fiber pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const appearance = { theme: 'stripe' };

elements = stripe.elements\({
clientSecret\: setupIntentClientSecret,
appearance\: appearance,
paymentMethodOrder\: \['card'\]  
}\);

const paymentElement = elements.create('payment');
paymentElement.mount("#payment-element");|

@action(detail=False, methods=['get'], url_path='create-setup-intent')
def create_setup_intent(self, request):
intent = stripe.SetupIntent.create(

        usage=

Question
Hey, I’m integrating Stripe payments into my app. It’s working fine, but I only want to show the card option to users. Currently, both card and bank options are being displayed. How can I restrict it to show only the card option?

What have you already attempted?
I have tried various payment types but it's not working.

#

@winged ridge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I thought that I would just have to sign up and not have to pay anything but unfortunately my small brain didn't realise it

What actually happened?
basically it's charging me £70 and I didn't know it would and now it wont let me close my account because I have -£70 or something like that but I genuinely can't pay it and I do not know what to do

Reproduction Steps
I would like to close my account as I can't pay the £70

Question
Is it even possible to close my account without paying the £70? I am very worried as I do not have that kind of money

What are you working on?
Trying to close my account as I do not want to be charged this much

cursive heronBOT
#

@brazen kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When We are making payment from stripe checkout page is it possible to store the card details for future payment instead of redirecting user again to checkout page like making paymet method default so can be used again like for adding seats or other things?

Related Request ID(s)
NA

What have you already attempted?
billing_address_collection: 'required',
// Save payment method for future use - this is crucial for automatic charging
payment_method_collection: 'always',

tried using this when redirecting to checkout page

What are you working on?
Subcription system per user seats

cursive heronBOT
#

@sand fiber pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
@action(detail=False, methods=['get'], url_path='create-setup-intent')
def create_setup_intent(self, request):
intent = stripe.SetupIntent.create(
payment_method_types=["card"]
)
return JsonResponse({'client_secret': intent.client_secret})

Question
Hey, I’m integrating Stripe payments into my app. It’s working fine, but I only want to show the card option to users. Currently, both card and bank options are being displayed. How can I restrict it to show only the card option?

What have you already attempted?
I have tried various payment types but it's not working.

What are you working on?
I am trying to create a SetupIntent to store payment info of customers

#

@rich flame pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how does proration work in a subscription?

For example, an account modified its subscription (did not upgrade) so its account is billed at 0.00. It is ok but then if he upgrades (buys a new item) another invoice is generated at 0.00. Do you happen to know what is happening?

We are doing all this via API:

stripe.Subscription.modify(
subscription.stripe_id,
items = updated_items,
proration_behavior = 'always_invoice',
metadata = metadata,
discounts = [{
'coupon': coupon['id']
}]
)

Related Request ID(s)
i have the custome ID with the proration: https://dashboard.stripe.com/events?related_object=cus_PRpw9ejTQZmDd0

What have you already attempted?
puede ser al momento de enviar los parámetros con el "proration_behavior" ?

What are you working on?
with subscription (update and modification)

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

We are currently offline. We will be back at 9am EDT on Monday, June 9. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@gaunt aspen pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
If invoice is open, then payment intent shouldn't be in succeded state

What actually happened?
I made request to fetch subscription with invoice attached. there i found invoice was open and payment intent was succeded for invoice.

Reproduction Steps
Create subscription and make payment and made request to fetch subscription.

Question
Why are payment intent and invoice state not synced?
I relied on invoice state and cancelled the subscription(because open invoice = cancel subscription in my business logic) but the payment was done successfully.

#

@wide ledge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$sub=\Stripe\Subscription::create(
['expand'=>['latest_invoice.payment_intent']],
['idempotency_key'=>$idempotencyKey]
);
$pi=$sub->latest_invoice->payment_intent??null;
if(!$pi||!$pi->id){wp_send_json_error(['message'=>'Payment failed']);exit;}
wp_send_json_success([
'payment_intent_client_secret'=>$pi->client_secret,
'requires_action'=>$pi->status==='requires_action'
]);

This has been shortened to help with the 400 character limit.

Question
Payment intent and attached payment method isnt working. Im using stripe elements to host everything on my site with the CVC, Card Number and expiry mounted via stripe-elements.JS

I cant get this to work via test mode card number. I also used code to retry 5 fives (1 second delay) to wait for the payment intent.

No matter what i do payment intent doesnt get sent to me.

What have you already attempted?
I've logged everything, ive checked stripe via dashboard and Stripe CLI to see if the payment method is attaching, apparently it's not, i logged all JS and PHP in console and debug.log file, respectively. I've double checked my stripe-elements.js file.

For some reason payment method isnt getting attached to the payment intent, therefore im not getting a payment intent for the recurring payment (subscription) therefore i cant trigger 3DS (SAC) so payments never get completed

What are you working on?
Im building stripe elements embedded payment system, linking the price ID to everything so people can pay my business,completed this,now need to get 3DS working

#

@teal ridge pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Subject: React Marketplace – Custom vs. Express Connect

Hi Stripe team 🙌,
I’m building a React-based two-sided marketplace and about to onboard sellers with Stripe Connect. We need advice on whether to go with Custom or Express integration for Connect.

A bit of context:

We need to launch in the next 6–8 weeks.

Full in-app branding is important, but we’re also mindful of compliance effort.

We expect ~200 sellers initially, growing to 2k+ over the next year.

Payout schedules may need some customization, but nothing too exotic.

Questions:

Given a tight timeline and moderate branding requirements, would you recommend Express or Custom?

What’s the typical compliance over

Doc/Guide Links
https://docs.stripe.com/connect

What are you working on?
Marketplace application

cursive heronBOT
#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello!
i want to user Express Checkout Element with Confirmation Token, any docs for this?
Thanks!

Related Request ID(s)
Hello! i want to user Express Checkout Element with Confirmation Token, any docs for this? Thanks!

What have you already attempted?
Hello!
i want to user Express Checkout Element with Confirmation Token, any docs for this?
Thanks!

cursive heronBOT
#

@limpid mural pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Charges and payouts are paused

Question
after some time i enter into my stripe account and see this, and the support team dont answer to my emails

What have you already attempted?
Contact via email Stripe support

#

@opal slate pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
subscriptions.search API does not retrieve successfully for "created:1748652607" but does for "created>=1748652606 AND created<=1748652616" with the gap unable to be narrowed

Related Request ID(s)
req_fP60mjEfTquTzY req_5a4tShv7xKTEjL

What have you already attempted?
A combination of queries. I've also read the associated documentation https://docs.stripe.com/search#query-fields-for-subscriptions

What are you working on?
A frontend for the billing portal which exposes created timestamps and user attestation instead of subscription ids

cursive heronBOT
#

@regal apex pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I enabled account.updated to get status and other requirement for my customer connected accounts.
Its works for individual account while adding business account.updated event not occur.

Related Event ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1RY7Sw6qVOk7qJ5j/activity

What have you already attempted?
Ask this from AI its saying its work for every type of account and nothing related to this find in documentation.

What are you working on?
Update user accounts requirements through webhook using event account.updated

cursive heronBOT
#

@rapid wave pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I have a very big issue reguarding updating a payment link on a connected express account.

this is the request body shown in the gui:

{
"subscription_data": {
"trial_period_days": ""
}
}
in the event ("evt_1RY7peB22zu7OYezwv0nU3gB"), is shown in the previous attributes that i updated also the application fee percent:

"previous_attributes": {
"application_fee_percent": 10,
"subscription_data": {
"trial_period_days": 7
}
}

Why it has been resetted if i did not modified

Related Request ID(s)
req_Erw64PxsP6KNYP

What have you already attempted?
debugging, but didn't found anything

#

@slender plank pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have used Stripe API for our new platform. I want to understand the flow of the payments. What we want to achieve is the following:

  1. Client pays $100 to our platform
  2. 3% goes to Stripe (transaction fee)
  3. 97% Stays in our account
  4. 82% (of the original $100 USD) is paid out to the individual providing the service through our platform, AFTER they actually provide the service. That way we, as owners of the platform, we can refund the client if needed, or if there is a cancellation, etc. and have control over that.

The QUESTION is, can this flow be done through STRIPE?

Related Request ID(s)
PAYMENT FLOW

What have you already attempted?
Yes, our developers attempted and they are saying that they need to pay out the individual immediately their 82%, as we receive payment. We want to understand if our developers are correct or and if what we want actually CAN'T be done through Stripe OR if they just need to put more work in?

What are you working on?
Platform for group coaching, something similar to Better Help, but for Coaching

cursive heronBOT
cursive heronBOT
#

@meager crag pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/features/apps-on-devices/build#collect-payments

Question
I was wondering if there was a way to read custom cards on the terminal. S700 to be specific. We want to create our own loyalty cards and so on. Eventually even read EBT cards. Is there a way we could get that information

What have you already attempted?
Reading the docs. Don't see an api

What are you working on?
Building Custom Loyalty Cards and Reading EBT Cards

#

@lavish igloo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to limit the available payment methods in the Customer Portal to just credit cards, without affecting the payment methods we accept elsewhere via Stripe?

Related Request ID(s)
n/a

What have you already attempted?
read https://docs.stripe.com/api/customer_portal/sessions/create and tested making a customer portal link

What are you working on?
We’re using the Stripe Customer Portal and would like to configure which payment methods customers can add or edit within the portal. Specifically, we want to allow only credit cards in the Customer P

cursive heronBOT
#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to use the Express Checkout Element to create a confirmation token on the frontend and send it to my backend to create a PaymentIntent. After that, I have two options for confirming the payment: either confirm it on the frontend or confirm it on the backend. Is that correct?

Related Request ID(s)
I want to use the Express Checkout Element to create a confirmation token on the frontend and send it to my backend to create a PaymentIntent. After that, I have two options for confirming the payment

What have you already attempted?
I want to use the Express Checkout Element to create a confirmation token on the frontend and send it to my backend to create a PaymentIntent. After that, I have two options for confirming the payment: either confirm it on the frontend or confirm it on the backend. Is that correct?

#

@wide ledge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// 8) Respond to frontend (always return client_secret + requires_action)
error_log('ℹ️ Responding with payment_intent_client_secret and requires_action flags');
wp_send_json_success( [
'payment_intent_client_secret' => $pi->client_secret,
'requires_action' => $pi->status === 'requires_action',
] );
error_log('---- payments-api.php END [response] ----');
exit;

Question
SCA isnt popping up. Payment intent is being created on stripe server however stripe server wont attach a payment method

What have you already attempted?
Default payment method is already set

cursive heronBOT
#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hello!
i have Q about this part:
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#create-ct

Related Request ID(s)
hello! i have Q about this part: https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#create-ct

What have you already attempted?
hello!
i have Q about this part:
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#create-ct

cursive heronBOT
#

@wide ledge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Ive fixed my original code, will share

Question
I got help from ma developer in regard to this doc: https://docs.stripe.com/changelog/basil/2025-03-31/add-support-for-multiple-partial-payments-on-invoices however my code STILL doesnt work

What have you already attempted?
Please help me understand why it is still not working

What are you working on?
Building payment system for my website

cursive heronBOT
#

@weak flower pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I setup more than one item on a payment link to give the customer options

Related Request ID(s)
what is IDS

What have you already attempted?
I tried contacting support

What are you working on?
Payment Links

#

@errant haven pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
AWS Lambda script generates a link where a Stripe Connect user can update their account information. How can I have the script listen for any successful updates made to the account? What are the best practices for this?

Related Request ID(s)
NA

What have you already attempted?
Mapping this out.

#

@brisk goblet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe.js PAD payment Form:
Hi I'd like to use the PAD Payment Form (stripe.confirmAcssDebitSetup) for enabling a customer to enter the bank account information:
* Bank id
* Transit number and
* Account id
Unfortunately, the form ask for the following:
* Username and
* Password
Could you please refer me to a URL or a tutorial showing how to do it?
Thanks in advance...

Related Request ID(s)
stripe.confirmAcssDebitSetup

What have you already attempted?
const {setupIntent, error} = await stripe.confirmAcssDebitSetup(
clientSecret,
{
// [me]:customizing-stripe-data-structure - Transmit the customer's name and email to the Setup Intent's billing details. Doing so enables us to see, in the Stripe Dashboard, the user's name and email associated to the setup intent.
payment_method: {
billing_details: {
name: accountHolderName.value,
email: email.value
},
}
}
);

What are you working on?
A prototype for our corporate web site

cursive heronBOT
#

@spice trench pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Your statement descriptor must have at least one latin character

Question
I am a project manager for a merch company and we use AtVenu for our artists. No matter what we write as our statement descriptor the error shows up.

What have you already attempted?
We have changed the descriptor name.

cursive heronBOT
#

@muted escarp pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The PaymentMethod API allows for duplicate payment methods (i.e. payment methods with the same `fingerprint`). Why is this? https://docs.stripe.com/api/payment_methods

Related Request ID(s)
N/A

What have you already attempted?
We are working on exposing Stripe payment methods to our customers and they have asked us this question and we aren't sure of the answer.

What are you working on?
https://www.withflex.com/

cursive heronBOT
#

@sour egret pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/overview

Question
At provisioning, it says "Granting the customer access to the products and features they subscribed to." How can I know until when the subscription will be available(paid)?

What have you already attempted?
Subscription object has start_date, but I don't find end_date. But I would like to know what period the payment was for when I receive invoice.paid hook.

What are you working on?
Subscription

#

@wild patrol pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting errors like

  1. "Failed to connect to remote host"
  2. "Timed out"
  3. "Timed out connecting to remote host"
    None of these requests reaches our service and doesn't have a log that our service returns. What exactly are these errors?

Related Event ID(s)
evt_3RY5KzHFzwE4pTge1B3EZZ4e

What have you already attempted?
Looked into our system if these events were logged somewhere

cursive heronBOT
#

@tawdry sundial pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating checkout session with transfer data for destination charge.
Is there a way to include description or at least the metadata for the transfer from checkout session creation API? If not, what is the best way to provide those details?
What I'm looking for should look like this:

stripe.checkout.sessions.create({
...
payment_intent_data: {
...
transfer_data: {
destination: "",
description: "I WANT THIS 😅"
}
}

Related Request ID(s)
req_Tk2wZnNhPEUCnM

What have you already attempted?
Tried
payment_intent_data[transfer_data][metadata]
payment_intent_data[transfer_data][description]

What are you working on?
Checkout session for destination charge

cursive heronBOT
#

@cold plover pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Manual Form for Account Number and Routing Number rather than Stripe Popup

Question
Is it valid to provide such a manual form for payment method collection.

What have you already attempted?
I have setup the form already which allows for manual entry of acount number and bank routing number

What are you working on?
Connect manual form for bank and payment authorization

cursive heronBOT
#

@grizzled ingot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Vault and Forward with capture method as "Manual" doesn't appear full payment methods when set intentConfiguration.paymentMethodTypes = []

Related Request ID(s)
req_x9KcdYFRDhMQVz

What have you already attempted?
Try to change CaptureMethod to "Automatic" and "AutomaticAsync", it show all other payment methods, but unexpected behaviour

What are you working on?
ecommerce website

#

@gusty coyote pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Our bookkeeper complained that we no longer provide matching reports. So something has changed. So we expected everything to work like it did before.

What actually happened?
Looking at the dashboard, it seems like there's a new "stripe processing fee refund" that's deducted from processing fees that we haven't encountered before.

Reproduction Steps
We sometimes do partial captures of holds. Apparently this now results in refunding some fees. We're also using stripe connect if that matters.

Question
When did this change and why? Where can we access the refund amount in the API so that we can provide accurate reports to our bookkeeper.

What are you working on?
laakari.chat

cursive heronBOT
#

@polar sundial pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe WisePad 3 to update

What actually happened?
Stripe WisePad 3 fail to update

Reproduction Steps
Connection with SimCard (SimBase Service)
Try to autoupdate WisePad 3

Question
Good afternoon, we have a network of a large number of IoT devices using your SIM cards. Each device is connected to a Stripe WisePad 3 POS terminal. The issue is that during the automatic firmware update of the terminal, a failure occurs, and the download keeps retrying, resulting in excessive data consumption and causing the station to go out of service.

What are you working on?
Powerbank rentals

cursive heronBOT
#

@gusty coyote pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm not getting a refunds.updated webhook event.

Related Event ID(s)
evt_3RYNtMJU9SZr1WsC1Eo4apZV

What have you already attempted?
I've looked at pi_3RYNtMJU9SZr1WsC1Ij8t54z in the dashboard

#

@urban trout pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/subscriptions#collect-fees

Question
How can I configure stripe processing fee in a subscription create API so that I can charge the stripe processing fee from the invoice that the user is paying instead of paying the processing fee from my platform?

What have you already attempted?
I have set an application_fee_percent in stripe subscription create API but that is being deducted after the full amount is transferred to the connected account. I want to charge the processing fee at the moment when the user's subscription is created so that my platform won't have to pay the processing fee to stripe.

What are you working on?
In my App creators can pay a platform subscription fee and create paid communities which other users pay and join the community's amount and then that amount is transferred to connected account

#

@fierce mortar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm making a call to delete a card from a customer. When I check manually, I can find the customer by their ID, and then the card by it's ID, but I'm getting a 404 error when making the api call to delete the card with those IDs.

Related Request ID(s)
req_KunfNBBeKM7Zyg

What have you already attempted?
Tried a few different customers and cards. All giving the same error

What are you working on?
Card management.

cursive heronBOT
#

@oak thorn pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/business-and-international-versions-of-alipay

Question
Is there any planned updates on the support for AlipayHK? In addition, is there any availability source for WeChatPay HK?

What have you already attempted?
Read through the documentations and used search help articles

What are you working on?
Stripe Elements Integration on Web

cursive heronBOT
#

@glossy nymph pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
We are not able to paid invoice less that $0.50 dollar because generated invoice amount is $0

Question
We are looking for your guidance on how to:

Lower the minimum chargeable invoice amount to $0.10 or a similarly low value.

Prevent small amounts (< $0.50) from automatically being added to the customer’s invoice balance.

Ensure all invoices, regardless of size, are charged directly at the time of invoice finalization, without reliance on existing balance credits.

What have you already attempted?
We are do some changes in stripe dashboard

cursive heronBOT
#

@turbid mica pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe team,

I'm running into an issue when trying to install the Stripe React Native SDK (v0.47.1) in a new React Native 0.74.2 project. When I run `pod install` in the iOS directory, I get the following error: [paste error here]. I've tried clearing my Pods directory, updating CocoaPods, and verifying my environment, but the issue persists. Could you help me resolve this? Let me know if you need any additional details from my setup. Thanks!

---

This keeps it simple and to the point while including:

  1. The core problem
  2. Key versions
  3. Error details
  4. Troubleshooting a

Related Request ID(s)
Developers

What have you already attempted?
I'm still unable to resolve a `pod install` failure when integrating `@stripe/stripe-react-native@0.47.1` with React Native 0.74.2. Here's what I've tried so far:

  1. Updated the iOS deployment target in Podfile (tested with `11.0` through `14.0`)
  2. Ran `pod repo update` and ensured CocoaPods is latest
  3. Repeatedly cleaned the project (`ios/Pods`, `Podfile.lock`, `build/`, `node_modules`)
  4. Reinstalled dependencies from scratch

What are you working on?
solution of this error. [!] Invalid `Podfile` file: [!] /opt/homebrew/bin/node ./../node_modules/react-native/scripts/generate-codegen-artifacts.js -p /Users/xyz/Documents/GitHub/SoulWisper/ios

#

@nova siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I would like to use global payout with my US LLC for global payouts in EUR for Germany. Can someone activate my stripe account for that? (acct_1MCRzbHF1LmHuIDE - GENO SOFTWARE LLC) ? thank you

Related Request ID(s)
?

What have you already attempted?
?

What are you working on?
Cross Border Global Payouts from US to EUR in EURO Germany

cursive heronBOT
#

@uneven oasis pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In a previous interaction on this channel with you, I asked how to understand if a payment failed the 3DS authentication. Yuor answer was to check for the events that have "last_payment_error.code" = "payment_intent_authetication_failure" and have no charge associated, as charges are only created if the 3DS is successfull. However I have this example (evt_3RAvvxG0HkO3ZPnp1Vks1t3f) (and many others) where I see "payment_intent_authetication_failure" and there is a charge associated (latest_charge not null). I want to understand why I have an associated charge.

Related Request ID(s)
evt_3RAvvxG0HkO3ZPnp1Vks1t3f

What have you already attempted?
I tried to reconstruct the event sequence and check if the API responses match those seen in the dashboard, with no success.

What are you working on?
anti-fraud applications

#

@idle crater pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have one Stripe Connect sub-account that’s used by 8 different WordPress sites. I’ve configured a separate webhook endpoint for each site under Developers » Webhooks, but whenever a payment or invoice event fires, Stripe broadcasts the same payload to all 8 URLs—even if only one site actually created the charge. This creates unnecessary traffic and failed retries on the other sites. How can I configure Stripe so that each webhook endpoint only receives events for the site it belongs to?

Related Event ID(s)
evt_3RYAN1GZA0ols33I0lcWuT0a

What have you already attempted?
Created separate webhook endpoints scoped to only the event types each site needs (e.g. only invoice.payment_succeeded) but Stripe still sends every event to all URLs.

Added in-code filtering in my WP plugins to drop events not matching the site’s secret, which works functionally but doesn’t stop the extra webhook calls.

Reviewed the Connect documentation for per-account webhook settings, but couldn’t find any option to isolate endpoints by connected account or metadata tag.

What are you working on?
I’m running eight WordPress stores (WooCommerce) on different domains, all charging through a single Stripe Connect sub-account to simplify reconciliation and payouts. I need each site to only receive

#

@static wraith pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Customize the invoice sender address

Related Request ID(s)
Invoice

What have you already attempted?
Hello, is it possible via the API when creating an invoice to customize the billing address of the sender from a Stripe Connect account?

#
cursive heronBOT
#

@crimson bone pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Packages:
"@stripe/react-stripe-js": "~2.4.0",
"@stripe/stripe-js": "~2.4.0",
"@stripe/stripe-react-native": "^0.41.0",

Config in app.config.ts
[
"@stripe/stripe-react-native",
{
"merchantIdentifier": "merchant.com.[].[]", ###note this is static and not different between environments
"publishableKey": process.env.EXPO_PUBLIC_STRIPE_PUBLISHABLE_KEY,
"enableGooglePay": true
}
]

Question
On a development build in expo with a stripe test key this is working as expected however on a preview build with a real ios device it says "Apple pay is not available" (again with a stripe test key).

What have you already attempted?
I have tried using different merchant ids for different builds but that did not work

What are you working on?
Expo app stripe integration

cursive heronBOT
#

@golden stump pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My software company has been integrated with stripe for couple years. We provide the users with an onboarding link for stripe express, for some users Stripe does not recognize an existing Stripe account associated with that login/phone/email after verifying with OTP. It directly prompts to create a new business. When trying the same onboarding link with another account it does recognize the associated businesses that I can chose from.
What may be the reasons for the stripe business accounts not automatically detected?

Related Request ID(s)
const account = await stripe.accounts.create({ type: 'express',

What have you already attempted?
The same login has previously worked to link it to numerous accounts. Now it does not work for newer ones.
Tried the same link with different log ins and it worked with one but not the other.
The login it did not work with has previously worked 5-6 times to link businesses.

What are you working on?
We have smart lockers that have payments terminals and web-payments using stripe. Our customers link their own stripe account to our locker management platform to add price, process refunds, penalties

#

@scenic bough pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey
We’re facing an issue with our Stripe integration and need your advice.
Our custom checkout supports zero-dollar and paid transactions. For zero-dollar, we use customer.subscription.updated to create our member subscription. We use invoice.payment_succeeded for further logic, which requires the subscription to exist.
Recently, these events arrived in a different order—so invoice.payment_succeeded sometimes fails at first due to the missing record, but works on retry.
Is relying on customer.subscription.updated arriving first recommended? Any best practices for zero-dollar checkouts?
Thanks

Related Event ID(s)
evt_1RY9wmDlgG4V75nn5XR4ihXX, evt_1RXr8tDlgG4V75nn5iWdLwIw

What have you already attempted?
We tried not to rely on customer.subscription.updated but our logic (zero-dollar transaction) makes it difficult

What are you working on?
A subscription based system

#

@topaz marsh pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This is a request for help with missing upsells in the API.

I have two use cases. First as a customer of Stripe, Second as a SaaS business using Stripe Connect.

1: As a consumer, we have almost a hundred products. We want a season upsell. Currently we have to go to each product in the Dashboard to set an upsell. An API would literally make it 1000x faster.

2: For our Connect customers, we can't set an Upsell for them, so they are losing opportunity and revenue.

Stripe has always had best in class API, but the more features that are Dashboard only the more frustrating the API feels.

Related Request ID(s)
n/a

What have you already attempted?
Checked the docs, checked the Discord periodically for last year hoping for updates

What are you working on?
We sell products with Stripe, and also have a SaaS business where we build sales pages integrated with Stripe Connect

#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I have a question about 3D Secure. Can it still be required when using an already saved payment method?

Related Request ID(s)
Hello! I have a question about 3D Secure. Can it still be required when using an already saved payment method?

What have you already attempted?
Hello! I have a question about 3D Secure. Can it still be required when using an already saved payment method?

#

@lament anvil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to reset or log out any existing users in Stripe Link displayed on the Stripe Payment Element.

Is it possible to do this after a Payment is created?

If not, is there a way to disable Stripe Link for certain Payment Elements? We have a use-case for it on other parts of the application, but we do not want it displayed in certain high-traffic public checkout-style pages.

Related Request ID(s)
https://docs.stripe.com/payments/link/payment-element-link

What have you already attempted?
I've removed the `defaultValues.billingDetails`

cursive heronBOT
#

@vocal wagon pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In checkout.session.completed webhook I am not getting the payment intent.

Related Event ID(s)
evt_1RYP9rEap0XQH1amVWYU3HXZ

What have you already attempted?
I have got the checkout session by payment intent using Stripe.Checkout.Session API call.

What are you working on?
I want link the checkout session with specific payment intent.

#

@hearty karma pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Looking at the documentation for the Stripe Invoice object (https://docs.stripe.com/api/invoices/object), `subscription` is not listed as an attribute; however when looking at the data I receive when I retrieve an invoice, the subscription ID is listed there.

Is the `subscription` attribute safe to use long-term or is it being deprecated? Is there a better alternative for determining which subscription an invoice is a part of?

Related Request ID(s)
req_nGgjShibhf7Ltw

What have you already attempted?
N/A

What are you working on?
Developing the WordPress plugin Paid Memberships Pro

#

@wicked matrix pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Create a promo coupon for a specific user and it being applied to all users

What actually happened?
Today

Reproduction Steps
Created coupon, applied it for one specific user, opened another user account and seeing the promo is available for everyone

Question
Why are coupons that are created for specific users available to all users?

cursive heronBOT
#

@short oak pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/payment-methods

Question
I want to specify apple pay and google pay manually in payment_method_types for my stripe payment element. Is there a way to do so?

What have you already attempted?
I tried to specify apple_pay and google_pay in payment_method_types but got an error saying I must put input a specified list of payments that do not include these payments

What are you working on?
Integrating the Stripe Payment Element to our payment system.

#

@queen mulch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I did not manage to create the code I need. That's what my question is about.

Question
Stripe documentation says: "When performing an API upgrade, make sure that you specify the API version that you’re integrating against in your code instead of relying on your account’s default API version. To test a newer version for API calls, set the Stripe-Version header (in live or testing environments)."

Source: https://docs.stripe.com/upgrades

How can I set the Stripe-Version header in Java?

What have you already attempted?
I looked for a Java example in the documentation, but I could not find it. I asked for A.I.s for help, but the code they generate does not work.

What are you working on?
My application completely relies on stripe to process payments and manage subscriptions.

#

@foggy latch pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expecting standard connect charges to have stripe fee taken out

What actually happened?
Charges since friday on connect standard are not taking out the stripe fee.

Reproduction Steps
There is no way to reproduce this, but i can send links

Question
This charge has the stripe fee and our application fee being taken out: ch_3RWngJ2seolwOi2A16G0QK81

This charge just has the application fee being taken out: ch_3RX9Oz2seolwOi2A1YkSneZ3

We can't find any code changes we've made that would have caused this to happen. Can you help us diagnose what the problem is?

What are you working on?
Problem with stripe charges

cursive heronBOT
#

@arctic aurora pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$subscription->swapAndInvoice($subscription->stripe_price, [
'quantity' => $newQuantity,
'proration_behavior' => 'always_invoice',
]);

Question
I am having subscribtion model where i am charging per seat. Its a flat rate, 5 usd per month.
Project owner can invite other users to his account and shall be charged 5 usd per added/invited user.
In short, User register (call him Account Owner), pays 5 usd for a plan (5 per seat) and he is only one on. Stripe charge and all good.
Then, Account owner invites a new user, and i am exxpecting that account owner will be charged for a new 5 usd (per seat), prorated.But!

What have you already attempted?
I read documentations, i tried to consult chatgpt and cursorAI and looks like we cant get this work when user (account owner ) card is behind 3D secure and from India.

What are you working on?
Taskavel.com

cursive heronBOT
#

@fallen moat pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We'd like to improve our defenses against ATO (account takeover) attacks. Currently when a user upgrades a subscription, we do it through the Stripe api, thus Stripe Radar does not have a chance to look at user cookies, IP, etc and detect fraud. We can't use the Stripe self-service portal because of it's limitiations. Is there any middle ground, like using Payment elements to let the user choose thier payment method, so that Radar has a chance to detect fraud?

Doc/Guide Links
https://docs.stripe.com/customer-management
https://docs.stripe.com/radar/rules

What are you working on?
SaaS

cursive heronBOT
#

@slow wadi pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When generating an onboarding link, should the provider of said link also explain requirements?

Additionally, should we be targeting V2 instead of V1?

Doc/Guide Links
https://docs.stripe.com/connect/hosted-onboarding
https://docs.stripe.com/connect/api-onboarding
https://docs.stripe.com/connect/onboarding/quickstart

What are you working on?
I work on an SaaS platform that utilizes Stripe Connect, and we want to make it such that customers are the one who set up their Stripe Connect account instead of requiring someone from our team create one in our dashboard.

#

@pallid crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to get the correct tax calculations from the Calculations API but keep getting an amount of 0. I have correctly setup tax settings in the connect account as well as setup the registrations that should return a 21% tax on the calculations yet I keep getting 0.

Related Request ID(s)
Failed To Load Logs.

What have you already attempted?
Changing tax codes and registrations, trying different addresses.

What are you working on?
A marketplace that autogenerates ecommerce websites for local businesses.

cursive heronBOT
#

@nova siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi the global-payouts inventory level, here is only GBP available... is there any entity instead of GBP and USD .. to support EUR ?

Related Request ID(s)
?

What have you already attempted?
Hi the global-payouts inventory level, here is only GBP available... is there any entity instead of GBP and USD .. to support EUR ?

What are you working on?
send money in euro

#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I have a question about 3D Secure: Can 3DS be required if the user pays using wallets like Google Pay, Apple Pay, or Amazon Pay?

Related Request ID(s)
Hi! I have a question about 3D Secure: Can 3DS be required if the user pays using wallets like Google Pay, Apple Pay, or Amazon Pay?

What have you already attempted?
Hi! I have a question about 3D Secure: Can 3DS be required if the user pays using wallets like Google Pay, Apple Pay, or Amazon Pay?

cursive heronBOT
#

@wide ledge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
From Stripe
charge.failed
Inspect event detail in Workbench
Event data
{
"id": "ch_3RYYCi1VlpCPYqMR1Dg4ThQL",
"object": "charge",
"livemode": false,
"payment_intent": "pi_3RYYCi1VlpCPYqMR1n2SCwPR",
"status": "failed",
"amount": 100,
"amount_captured": 0,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": "d",
"countr

Question
When i pass the simulation of the payment through fake time, the subscription charge the next month fails

What have you already attempted?
i dont know whats happening in the first place, how do i even change something when it is stripe side?

What are you working on?
Subscription payment system

#

@outer cliff pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to trigger an issuing_authorization.request with the Stripe CLI but it keeps failing after setting up fixtures. Looks like it's because the CLI doesn't know how to accept the bank ToS when creating a cardholder.

What is the correct way to trigger the above event for verifying my webhook works?

Related Request ID(s)
N/A cause I can't issue the request

What have you already attempted?
Tried to update the fixture cardholder through API but the CLI creates a new cardholder each time and they can't accept the ToS.

#

@fringe sierra pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When I use ExpressCheckoutElement with PaymentElement and set setup_future_usage: "off_session" the Paypal Button renders inside PaymentElement.

What actually happened?
The Paypal Button should render inside ExpressCheckoutElement, not inside PaymentElement.

Reproduction Steps
Setup Elements with setup_future_usage: "off_session", and create ExpressCheckoutElement & PaymentElement.

Question
Is there any way to prevent Paypal Button to render inside PaymentElement?

#

@frozen berry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we need to collect IP addresses and bank country info for tax collection. We are not using Stripe Tax. Is there any way to get this info from stripe payment intent succeeded webhook? Or elsewhere?

Related Request ID(s)
Na

What have you already attempted?
Na

cursive heronBOT
#

@abstract dagger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can we automatically select a payment method when creating a checkout session?

Related Request ID(s)
N/A

What have you already attempted?
I tried passing in the customer and payment_method_id, but that didn't seem to work. Am I missing something?

What are you working on?
A checkout page for customers that automatically has the customer + payment method, and they click "Pay". We want to eliminate the need to put in payment method on every checkout.

cursive heronBOT
#

@velvet bane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting an error when trying to request the crypto_payments capability for a Connected Account.

Related Request ID(s)
req_8wYob8tpqQupSP

What have you already attempted?
Looking at docs and re-trying the request.

cursive heronBOT
#

@ruby siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For our platform, we create connected accounts under the MCC code 8021. We recently had an issue where someone manually updated it to 742 through the dashboard. When I try to update it back to 8021 through both api and cli, it is not updating back. Am I creating or updating our connect accounts with an MCC incorrectly?

Related Request ID(s)
req_bfLOTGe0JqgCju, req_shPcdfImHwX5hX, req_RJoQzjdmvpp7OO

What have you already attempted?
I have attempted updating through CLI and API.

What are you working on?
A payments related product for dentist offices

cursive heronBOT
#

@dense idol pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
I am trying to understand why I cannot refund: https://dashboard.stripe.com/payments/pi_3RS7SjH9HQjLBInW1cddcgHs with a reverse transfer. I already did a payout reversal on the connected account.

Question
This is really frustrating because I have built the integration according to stripe rules, but somehow something is still breaking.

I don't know how to advise clients better - should I enforce EIN as part of the onboarding process? Is that even possible?

What have you already attempted?
Everything

cursive heronBOT
#

@dusky frigate pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/create_express_checkout_element

Question
I'm trying to capture subscription item purchase via stripe Elements and ExpressCheckoutElement. I'm only using ExpressCheckoutElement to capture the paymentMethod on client side,. Creating setupIntent, authorizing payments, etc. will be done on backend.

My subscription item will have a free trial period, is there a way to show pay total amount as $0 within apple/google pay dialog.

What have you already attempted?
- setting `amount` as 0, stripe element throws IntegrationError: Missing value for options: amount should be a number.

- setting no `amount` field, same error

What are you working on?
ecommerce site

#

@rare kite pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey everyone, I just had a quick question on the process of how to do recurring ACH bank transfers between two different customers I can set up in Stripe. I see your api has Subscription Schedule which takes in customer field for customers who are paying, but I dont see a destination customer field. Maybe I am approaching this wrong? Is it possible to do this with Subscription schedule or would I have to charge the payer first then payout the payee seperately, all in a recurring monthly schedule. Can you please offer some insight? Thank you!

Related Request ID(s)
Cannot find

What have you already attempted?
I have attempted to use Subscription schedule for this.

What are you working on?
An app which customers can purchase monthly subscriptions to items from a host.

cursive heronBOT
#

@fresh plume pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/billing/meter-event/create?lang=python&api-version=2024-06-20

Question
I am currently trying to work with Stripe Python SDK 8.4.0 (I know, I know) and I have been trying to access "stripe.billing.MeterEvent" but keep coming up with the error: "module 'stripe' has no attribute 'billing'".

I was wondering what my best course of action here is? We have a fair amount of legacy code cron jobs that would probably require rewrites if we try upgrading from 8.4 -> 12.2.

What version was 'billing' added?
I see multiple "breaking changes" in the Changelogs w/ Billing around 2019, am I just a few versions too early?
What might be the best version for us to migrate to?

What have you already attempted?
- Looked around for documentation & version information regarding Billing but the furthest the docs go back is v10.

- Tried chatting with Stripe AI assistant.

What are you working on?
Stripe Meter Events for Usage Based API Billing via Daily DAG/Cron job

cursive heronBOT
#

@raven hamlet pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
getPaymentIndentProvider.collect { result ->
when (result) {
is NetworkResult.Success -> {
// Payment intent created successfully, proceed with payment flow
val indentResponse = result.data.indent
val intent = indentResponse.paymentIntent
_activePaymentIntent.value = intent
c

Question
I am getting this payment intent object from my node js server. The payment intent is retrieved server side and is being passed to the client (kotlin). But it seems like this js object is missing some fields that the kotlin client requires.

What have you already attempted?
2025-06-10 20:36:11.496 22836-22930 StripeTerminal E class=TerminalSession (Ask Gemini)
java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.collections.CollectionsKt___CollectionsKt.intersect, parameter <this>

#

@sudden river pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/custom/hosted-onboarding#info-to-collect

Question
My Stripe account executive and I were emailing a year ago about an issue we face. The issue is that our customers go through "progressive onboarding," where only a small amount of tax/compliance information is collected from them up front. Then, when they hit $10k in payouts, they have to come back and supply more information. This is bad — we want to capture everything we potentially need up front, when they first onboard. My rep pointed me to https://docs.stripe.com/connect/custom/hosted-onboarding#info-to-collect, but can I use this with Stripe Express somehow?

What have you already attempted?
Asked my account executive, but they weren't sure of the answer.

What are you working on?
Parking marketplace

cursive heronBOT
#

@frigid peak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I’m working on integrating credit card payments with Stripe. Our current flow is:

The backend creates the payment method.

The backend creates the Payment Intent (we control 3DS/non-3DS behavior and we skip confirm ourselves).

For 3DS transactions:

The backend calls capture or cancel immediately.

For non-3DS transactions:

4.1 The frontend handles 3DS (if applicable).

4.2 The backend listens to the payment_intent.amount_capturable_updated event and then calls capture or cancel.

For both 3DS and non-3DS flows, we listen to the payment_intent.succeeded and payment_intent.failed events to u

Related Request ID(s)
-

What have you already attempted?
Read the documentation

What are you working on?
Integrate credit card with stripe

#

@grand moss pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices/attach_payment

Question
The document states: "Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of payments." However, if I follow the link to the supporting docs, it doesn't show a way to add "out of band" payments. What I mean by "out of band" is the definition based on the `paid_out_of_band` attribute on the `/v1/invoices/:id/pay` endpoint.

Is the functionality to apply partial "out of band" payments to an invoice actually available? If so, how do I do that?

What have you already attempted?
Checked the supporting doc here: https://docs.stripe.com/invoicing/partial-payments?dashboard-or-api=api

Checked the pay endpoint docs to see if it changed (it hasn't): https://docs.stripe.com/api/invoices/pay#pay_invoice-paid_out_of_band

Checked if there is some other avenue to add an "out of band" payment, I.E. not an actual PaymentIntent, but I did not find any.

What are you working on?
Porting our billing system to Stripe

cursive heronBOT
#

@granite valve pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/american-express-card-support-for-india-based-businesses

Question
Could you please confirm whether the Stripe US account is unable to process India-issued American Express cards?

What have you already attempted?
Stripe US account attempting to process an India issued Amex card but is unable to complete the transaction. Error message states: "Your Stripe account cannot currently process American Express cards."

cursive heronBOT
#

@frigid peak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
question-related to manual capture during create payment Intent

Related Request ID(s)
-

What have you already attempted?
Read the documentation and want to confirm what I understand

What are you working on?
credit card direct backend integration

cursive heronBOT
#

@torpid hearth pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/features/apps-on-devices/overview

Question
I'm building a small app in react native and deploying to a DevKit

Do I still need to manually register the device to my account? Can my app just pull the registration code / serial number programmatically and send that to the api?

What have you already attempted?
Looking at example repos

cursive heronBOT
#

@hidden moss pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
A new setup intent to not be generated

What actually happened?
A new setup intent got generated when I created a subscription. We don't generally see this happening. Was there a behavior change?

Reproduction Steps
https://dashboard.stripe.com/workbench/logs?object=req_PIhr8hS0nK3Yn5&filtered=true - Here is the request that led to the creation of this setup intent

Question
Link as a payment method got attached to the customer. We only expect US bank account and card, but the setup intent that got generated unexpectedly had Link included in the allowed payment method types, so wanted to check how did this setup intent get generated in the first place

cursive heronBOT
#

@wet hatch pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=android

Question
Hi Stripe Support,

I'm evaluating the Sunmi V3s device for tap to pay integration and need to confirm compatibility before purchasing

I previously attempted integration using SDK v4.3.0 with the Sunmi V3s but encountered attestation failures that prevented it from working. Now that SDK v4.5.0 has been released, I want to confirm whether the Sunmi V3s is officially supported with this newer version

Can you confirm if the Sunmi V3s is officially supported with SDK v4.5.0?

I'd appreciate a definitive answer on device compatibility to avoid another non-working integration

Best Regards,
Fern

What have you already attempted?
Tested Sunmi v3s with Stripe SDK v4.3.1

#

@final crown pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
class=AidlRpcClient message="AIDL RPC error"
com.stripe.core.aidlrpc.AidlRpcException: Service never connected
at com.stripe.core.aidlrpcclient.AidlRpcClient.onAidlError(AidlRpcClient.kt:136)

Question
On android, tapToPay with beta 14, when in release mode, the tap to pay is initializing but then cant find the reader, keeps on loading it seems. We have react native 72 and we can't upgrade. Then after a while we have the error above

What have you already attempted?
Beta 15
Beta 16
Beta 23

What are you working on?
a tap to pay app

cursive heronBOT
#

@static wraith pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
PDF Invoice – Display Amounts Before and After Tax (Excl. and Incl. VAT)

Related Request ID(s)
none

What have you already attempted?
Hello,
I'm currently generating invoices by directly creating invoice items and adding them to an invoice. However, I'm unable to display the amounts before and after tax (Excl. and Incl. VAT) on my invoices, which is essential for me.

cursive heronBOT
#

@cunning harness pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
let stripeState = STPCardValidator.validationState(forNumber: number, validatingCardBrand: shouldValidateBrand)

Question
UnionPay(19 digit) marked as invalid on iOS

Geting .invalid for variable code in ios Xcode

What have you already attempted?
I tried downgrading the Stripe SDK from version 23 to 21 because I saw a closed GitHub ticket related to UnionPay (19-digit) being marked as invalid on iOS, which was fixed in version 21.

What are you working on?
Native iOS UIKit app (Xcode)

cursive heronBOT
#

@lilac bone pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I've recently ran into a problem when using destination charges. My integration account is in the US and the destination was in Australia. I got an API error saying that you cannot create destination charges for connected accounts in AU because funds would be settled on the platform and the connected account is outside the platform's region. It says to use `on_behalf`of` as a param.

My question would be if there is a programmatic way of determining if `on_behalf_of` should be used based on the countries, does the Stripe API give any way of knowing this in advance?

Doc/Guide Links
https://docs.stripe.com/connect/account-capabilities#transfers-cross-border

What are you working on?
An integration utilizing Stripe subscriptions

cursive heronBOT
#

@fringe sierra pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When I use ExpressCheckoutElement with PaymentElement and set setup_future_usage: "off_session" the Paypal Button renders inside PaymentElement.

What actually happened?
The Paypal Button should render inside ExpressCheckoutElement, not inside PaymentElement.

Reproduction Steps
Setup Elements with setup_future_usage: "off_session", and create ExpressCheckoutElement & PaymentElement.

Question
Is there any way to prevent Paypal Button to render inside PaymentElement?

cursive heronBOT
#

@storm wing pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{"error":{"message":"Cannot onboard via express oauth due to gated access.","code":"forbidden"}}

Question
when trying to connect my wordpress theme to stirpe i get this error message

What have you already attempted?
ive tried everything i can to resolve this

#

@finite sparrow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have either an invoice number or a charge ID, and I need to find out which payout included the funds from that specific transaction. Is there an API endpoint or a recommended way to retrieve the payout information based on an invoice number or charge ID?

Thank you very much for your help!

In the Stripe Dashboard, when I search by txn_xxx, I can clearly see the related invoice, charge, and the payout it was included in – this is exactly what I want to reproduce via API.

Related Request ID(s)
req_XszNt0QyPVgGQh

What have you already attempted?
I retrieved the balance_transaction and tried to expand it with ['expand' => ['payout']], but Stripe API responded:
"This property cannot be expanded (payout)."

What are you working on?
i want to get payout by invoice number

#

@errant venture pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripeCharge = service.Create(options, new RequestOptions
{
StripeAccount = paymentGateway.MerchantId,
IdempotencyKey = itempotency + "CRE"
});
if (stripeCharge != null && stripeCharge.Status.Equals("succeeded") && stripeCharge.LatestCharge != null && stripeCharge.LatestCharge.Captured)
{
}

Question
We're upgrading our .NET SDK from version 40.4.0 to 48.2.0. While creating a PaymentIntent using sandbox credentials, we see that the payment succeeds and latest_charge_id is returned. However, unlike the older SDK, the latest_charge object itself is not included in the response. Do you know how we can retrieve the full latest_charge details in the new SDK?

What have you already attempted?
We tried retrieving the charge object using the latest_charge_id by calling the "Retrieve a Charge" API, and we were able to get the object successfully. However, if the PaymentIntent contains a latest_charge property, we would expect it to include the full charge details directly, not just the ID.

cursive heronBOT
#

@viscid elbow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello!
You mentioned before that
"3D Secure can be required by the issuing bank at any time."

What does it mean? What does it mean at any time? In what methods/cases?

Case. I added the payment method and bought a subscription. After a month, I cancelled my subscription and want to buy another subscription. But the payment method has already been created and added, so I'm just sending a subscriptions->create request with this payment method id.

Does this message mean that I can get a status like "incomplete" or "action required" in response?

Related Request ID(s)
Hello! You mentioned before that "3D Secure can be required by the issuing bank at any time." What does it mean? What does it mean at any time? In what methods/cases? Case. I added the payment meth

What have you already attempted?
Hello!
You mentioned before that
"3D Secure can be required by the issuing bank at any time."

What does it mean? What does it mean at any time? In what methods/cases?

Case. I added the payment method and bought a subscription. After a month, I cancelled my subscription and want to buy another subscription. But the payment method has already been created and added, so I'm just sending a subscriptions->create request with this payment method id.

Does this message mean that I can get a status like "incomplete" or "action required" in response?

#

@manic marsh pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on a transfer chain scenario and need some guidance on the best approach.

Current situation:

I have a charge processed on Platform A
I successfully transferred funds A→B with a standard transfer
This created a destination payment on account B
Now I need to transfer from B→C, but funds are in pending status on account B
What I've tried:

✅ Transfer A→B works fine using charge as source_transaction
❌ Transfer B→C using destination_payment as source_transaction fails with: "can only be transferred to the account that the destination field was set to"
❌ Transfer B→C without source_tr

Related Request ID(s)
Trasfer

What have you already attempted?
its exmplain in question

cursive heronBOT
#

@neat acorn pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currently following the guide posted below, but with a little twist. I am using invoices, so the Payment Intent is created by an Invoice.

In Dashboard Billing settings, I changed the Invoices Default payment methods, to use the default configuration.

The Payment Intent, is created with `payment_method_types`, so to make it work I add to set `paymentMethodTypes: ["card"]` in the StripeJS element.

For now we are only using card, but later we are going to enable more Payment Methods.

It seems a bit maintenance hell to have to update the FE `paymentMethodTypes`, every time we enable or disable a Payment Method

Is there a better way to do this?

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#create-intent

What are you working on?
I am implementing StripeJS Payment Element to enable 3DS.

cursive heronBOT
#

@dark kiln pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hi, hope you are doing well, we have made a purchse but w didn't get a response from webhook for that, wanna know if stripe has sent this event to our webhook endpoints or not

Related Event ID(s)
a

What have you already attempted?
hi, hope you are doing well, we have made a purchse but w didn't get a response from webhook for that, wanna know if stripe has sent this event to our webhook endpoints or not

cursive heronBOT
#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In this invoice in_1RYnMCEap0XQH1am64yXTPCJ the discount is there but it is not applied.

Related Request ID(s)
evt_1RYnMGEap0XQH1amGZz5LmQ8

What have you already attempted?
In this invoice in_1RYnMCEap0XQH1am64yXTPCJ the discount is there but it is not applied.

What are you working on?
I want to apply the discount.

#

@small sedge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to create a Coupon that has a discount of x% in month 1, y% in month 2, and z% in month 3? the documentation suggests no, but just want to confirm

Related Request ID(s)
n/a

What have you already attempted?
I've explored the documentation, and it seems like we would need to have some mechanism that applies a new coupon after the fact

cursive heronBOT
#

@wary lintel pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://paystack.com/stripe/south-africa

Question
We use Stripe Payment Element and customers are asking about PayStack. I see Stripe acquired PayStack so is it possible to accept payments using PayStack through Stripe Payment Element?

What have you already attempted?
Nothing yet, wanted to check first

What are you working on?
GiveWP - a fundraising platform

#

@steep moth pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Stripe send a webhook message when a card expires (i.e. current date is after card expiration date)

Related Event ID(s)
.

What have you already attempted?
Looked in online docs and found nothing about this

cursive heronBOT
#

@modest heron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On Connect: If we create a PaymentIntent with capture_method=manual (auth only, no transfer_data yet), can we add transfer_data[destination]=acct_… at the capture call so the funds move to the WashPro’s pending balance immediately—i.e., recipient is assigned after the pre-auth but as we capture?

Related Request ID(s)
Don't have as asking on behalf of developer

What have you already attempted?
We tried updating the existing PaymentIntent with the provider’s account ID (destination) after the authorisation, using the PaymentIntent Update endpoint but the API wouldn’t accept that field.

What are you working on?
Our app tumbil.com is a gig economy laundry service in Canada.

#

@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
what API calls are required to pay funds to Connect account from platform account?
another scenario where the funds need to paid out of the customer account directly into the Connect account, by passing the platform.

Related Request ID(s)
none

What have you already attempted?
Direct charges using on_behalf_of
separate charge and transfer

What are you working on?
Connect integration

cursive heronBOT
#

@steep moth pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Stripe send a webhook message when a card created using the Card Issuing API expires (i.e. current date is after card expiration date)? I'm now referring to a card added as a payment methods, but for a card issued to a cardholder. Thank you

Related Event ID(s)
.

What have you already attempted?
Read docs

#

@tranquil surge pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
RPC application error INVALID_REQUEST with message Invalid device_type: must be one of bbpos_wisepad3, stripe_m2, stripe_s700, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, simulated_wisepos_e, simulated_stripe_s700, or mobile_phone_reader

Question
I'm creating an on device app, the device that i'm testing on is a stripe_s700_devkit, why do i get this error event after registering the device?

What have you already attempted?
I tried even using the sample app after registering the device https://github.com/stripe-samples/terminal-apps-on-devices

Reproduction Steps
dowload the example run and run it on the devkit, it shows a loader and the logcat has the error

#

@dark kiln pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have an endpoint that creates payment intents, when it's called from our website the event objects have "api_version": "2019-12-03" but when it's called from react native sdk the have version 2020-03-02!! what could be the problem ?

Related Event ID(s)
a

What have you already attempted?
We have an endpoint that creates payment intents, when it's called from our website the event objects have "api_version": "2019-12-03" but when it's called from react native sdk the have version 2020-03-02!! what could be the problem ?

cursive heronBOT
#

@covert agate pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are planning to deprecate `customer.source.updated`. Wanted to know what's the right alternative for it. We found that we can use payment_method.automatically_updated.
Should we also listen to payment_method.updated event?

Also, if some customers are already using source, will the same payment_method event be triggered for customer.source.updated as well?

Related Event ID(s)
customer.source.updated

What have you already attempted?
Haven't attempted anything yet, just need a confirmation before migrating to the new event.

cursive heronBOT
cursive heronBOT
#

@wind ether pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I have 3 different stripe accounts, can I use a creditcard toke created in one account in my other account or is it limited to the account where the token was created

Related Request ID(s)
none

What have you already attempted?
None

What are you working on?
Proof of concept

cursive heronBOT
#

@violet basin pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Greetings. I am trying to upgrade the API version on a webhook event destination from 2025-01-27.acacia to 2025-05-28.basil. The webhook is configured for `issuing_authorization.request`. Is there any way to make this upgrade without downtime? Thanks!

Related Event ID(s)
issuing_authorization.request

What have you already attempted?
I have tried to follow Stripe's "handle webhook versioning" guide (https://docs.stripe.com/webhooks/versioning), but this doesn't work with this specific event type since it can only be configured on a single webhook at a time.

I have searched the API for a method to update the API version on an existing webhook, but no luck.

cursive heronBOT
#

@drowsy ridge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to be able to list "pending" payment methods that were added via the SetupIntents API in my NodeJS service. I attempted to use the test accounts listed here https://docs.stripe.com/testing?payment-method=sepa-direct-debit&testing-method=payment-methods#non-card-payments though these don't seem to work for SetupIntents

  1. How can I test this without real cards?
  2. When adding a method that takes time (ie: SEPA), if I fetch the intent via stripeClient.setupIntents.list will the returned "payment_method" id exist? If so - when is this actually attached to the customer object?

Related Request ID(s)
req_yMOkkXYUbYj61A

What have you already attempted?
I've tried testing using SEPA test accounts but they immediately transition to "succeeded" state and add the payment method to the customer.

I'm using stripeClient.setupIntents.list to fetch the pending payment methods, but it's not clear whether the payment_method object returned here will exist in the "pending" state.

What are you working on?
I have a Stripe integration in a NodeJS service that allows customers to add payment methods for future charges, and list their existing payment methods. As part of this we support SEPA - however thes

cursive heronBOT
#

@ancient tusk pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am seeing a lot of info on the new Api versioning system. As long as I don't manually upgrade my Api version, can I stay on 2022-11-15 for as long as I want? Since upgrading will introduce a lot of breaking changes to existing coupons and perhaps their subscription.

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@velvet bane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
An invoice create_preview request keeps failing with the following error: You may only specify one of these parameters: on_behalf_of, subscription_details.

Not sure how to construct the body so that it has the intended behavior.

Do I just need to set the automatic tax liability parameter and omit the on_behalf_of on the root?

Related Request ID(s)
req_xAA83kiEZrDxKH

What have you already attempted?
Reading API reference.

#

@dense idol pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have payment methods and they are connected to customers. If a payment method is removed from a customer, can that payment method still be used?

Doc/Guide Links
I have payment methods and they are connected to customers. If a payment method is removed from a customer, can that payment method still be used?

What are you working on?
payment methods

cursive heronBOT
#

@glossy pecan pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My client has an account with Vimeo OTT and we're looking for access to the API. He doesn't have the ability to login bc he's on a managed connect account. Is there a way for us to login? Do we have to go through Vimeo OTT?

Related Request ID(s)
n/a

What have you already attempted?
Already tried to go to login page, but he does not have an email address associated with Stripe.

What are you working on?
Building analytics dashboard for client.

cursive heronBOT
#

@crimson bone pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const subscription = await stripe.subscriptions.create({
customer: customerId,
items: [{ price: 'price_1***************' }],
payment_behavior: 'default_incomplete',
payment_settings: {
payment_method_types: ['card'],
save_default_payment_method: 'on_subscription'
},
trial_period_days: 7,
default_payment_method: paymentIntent.payment_method.toString(),

Question
Wondering what the best way to do a subscription in react native.

  1. I want to make sure that the payment method is not limited to the one I specify here. So that if a user wants to use another card it will automatically update when they change it in the portal
  2. I do not want to have to specify payment method types. Can I just leave that field open?

What have you already attempted?
The code above but looking for suggestions

cursive heronBOT
#

@jovial pebble pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're running into an issue where Stripe is preventing us from creating prices that exceed a digit limit. This is odd because we've exceeded this limit before and the prices are not unreasonable (they're anchored to our US prices). This is specifically for COP currency / CO country code.

Error: Exception in thread "main" com.stripe.exception.InvalidRequestException: This value must be less than or equal to 99999999 (it currently is '101658599').

Related Request ID(s)
req_05MdtJEabeEKYV

What have you already attempted?
This has worked before, so we're not sure what to try. We've verified that we're using the right currency/country since there's an exception for Columbia.

What are you working on?
We're setting up new SKUs for web.

cursive heronBOT
#

@magic solstice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We respond to invoice.payment_failed events by checking to see if the customer has a default payment method, and if not, we cancel their subscriptions. But we had a case today where a person was able to successfully pay moments after we sent the API request to delete the subscription. And in fact the subscription was actually updated a few seconds later by successful payment even though we had just requested the delete. 10 seconds after that the event from stripe was generated indicating the subscription was canceled and the end state was a customer paid, but had no subscription. What to do?

Related Request ID(s)
req_3Ry5UWfrUD2z5w

What have you already attempted?
I've puzzled through the timeline and thought of how to handle this case. One idea I had was to delay the actual cancelation (subscription delete) and check later to see if the customer ended up with a paid subscription and a default payment method.

cursive heronBOT
#

@sullen patrol pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
NFC tap to pay to work

What actually happened?
Got a error of “ device is not good mobile services certified”

Reproduction Steps
D3 pro with gms enabled, double screen with nfc built in

Question
I have gms enabled on my sunmi d3 pro. They are not gms certified. But have gms enabled. It has Google play store etc.

What are you working on?
Get nfc tap to pay to work on my device

cursive heronBOT
#

@vocal wagon pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The customer service told me there is no cross-border transfers beta feature for Belgium but there is another way to do international payouts from Belgium using the Stripe docs and I don't know how to so could you please show me how to do payouts to custom accounts?

Related Event ID(s)
https://discord.com/channels/841573134531821608/1379507715042185307

What have you already attempted?
Cross-border transfers beta feature

What are you working on?
a website

#

@deep vigil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to build a custom checkout page using embedded components using NodeJS/React.

After creating a checkout session server-side and fetching the client secret client-side, the docs say to render the `<CheckoutProvider>` component. However there is no such component available to me.

If I use the `<CustomCheckoutProvider>` instead (the only alternative I can think that corresponds) then the provider component throws the error `TypeError: stripe.initCustomCheckout is not a function`. On inspection of the `stripe` object, there is however a `initCheckout` - but then no corresponding provider.

Related Request ID(s)
N/A

What have you already attempted?
Upgrading the `@stripe/stripe-js` and `@stripe/react-stripe-js` packages, looking at the docs and API reference to see if I can find anything that corresponds to what I see in the SDK.

What are you working on?
Spelling game for use by literary interventionists and speech therapists.

cursive heronBOT
#

@grave heart pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Stripe::FinancialConnections::Session.create(
{
account_holder: {
type: 'customer',
customer: @stripe_customer.id,
},
permissions: permissions,
})
end

Question
Hi, when we are implementing Financial Connections, we get an additional step for LINK. Is there any way we can bypass this step?

What have you already attempted?
Tried looking for any props to bypass this but couldn't find any

cursive heronBOT
#

@loud zinc pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
hi many of my customer get some mail from you and woocomerce combined.
it regarding woocommerece stripe plugin.

Question
why this message is received to our client they dont use wooocomerce stripe plugin.
they use stripe plugin by webtofee.
mail
screenshot: https://app.screencast.com/uSxsgZwuMKRsU?conversation=bGzddPqT5JYu03Es0ZMDhp

What have you already attempted?
nothing

cursive heronBOT
#

@slim nymph pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{
"error": {
"message": "Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web.",
"type": "invalid_request_error"
}
}
'https://api.stripe.com/v1/apple_pay/sessions'

Question
How to resolve this issue

Request Data
validation_url: https://apple-pay-gateway-cert.apple.com/paymentservices/startSessi
domain_name: bcb0-2401-4900-889f-7b61-ecd2-69a4-8945-a112.ngrok-free.app
display_name: qwerty
key: pk_test_51OPkg7Itc1yGX3Tghv6HNprwlv3j1XXJpqVYQuxeTDvHEK0yA3iheefDN6F1Qia7BBBXFNAtdJqKggoxmBHPjO0b00QSjJu2Ve
_stripe_account: acct_1OPkg7Itc1yGX3T

What have you already attempted?
I tried all the steps given in the doc, this error is thrown from stripe session api.

Reproduction Steps
https://bcb0-2401-4900-889f-7b61-ecd2-69a4-8945-a112.ngrok-free.app

Open this link and then click continue , wait for few seconds, you will see apple pay button.
When clicked i am getting error in session api in network call and it closes automatically.

What are you working on?
Migrating from paymentRequest to expressCheckoutElement for apple pay

cursive heronBOT
#

@viscid dock pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I use stripe connect to split the revenue from checkout between multiple vendor. I'm wondering which hook event should I listen to send the transfer to each vendor. Because when the customer checkout using paypal payment method, it says there is insufficient available funds. I'm working in test mode. I want to listen to the right event for both production and test mode. right now I listen to the checkout.session.completed for sending the transfers to the vendors

Related Event ID(s)
req_CHEk7uhdfSRJXF

What have you already attempted?
I tried to listen to the charge.updated instead but I still have insuffiscient fund with paypal in test mode but it works with the card. I want to be able to transfers works already in test mode before doing it in production

What are you working on?
E-commerce website

cursive heronBOT
#

@mint atlas pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to retrieve the receipt url though I'm using invoice.paid to get notified whenever the invoice is paid within the invoice object there should be a payments object that contains payment intent id or charge id as shown in stripes documentation. I can use that charge id to retrieve the receipt url but the problem is that the invoice object I receive through the webhook doesn't have payments object in it

Related Event ID(s)
evt_1RZ66xPMxqOj4c8aEPXh1u0I

What have you already attempted?
I checked the invoice.paid event object on dashboard as well but that too doesn't contain payment object

What are you working on?
I'm building a billing module for my company

cursive heronBOT
#

@plain pasture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
my developer unable to link stripe gateway to website

Related Request ID(s)
no id

What have you already attempted?
Payment processing error: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

this erros coming when clicking on pay

What are you working on?
its online doctor appointmentg website

#

@foggy vault pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Basically, I am handling recurring payment in my own application during payment I save paymentMehtodId and customerId, for when time comes for nextPaymentDate I use cutomerId and paymentMethodId to create new payment.
So, My question is this paymentMethodId is valid for how much interval. Like can I used for recurring payment for years?

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/create

What are you working on?
I am handling recurring payment on my application as I have more than one payment processor

#

@zealous pendant pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'sha256-zhyeDlZTEKZvKgtxHpxj4ydFABucKb8zpjZLFzOborc=' 'sha256-leLzbVxZAzOi3vU/QL+Ol4qnwxlwA0nSPFZDP71A4Kk=' 'sha256-mQ4LZTkAl1QYJkeyaT4nVx0YDeQ9WOH9k4ajt5PFvNU=' 'sha256-B3yoUHRULn1isE4VCTQnLT04X7QKzhw+FhvpPPZfR/w='". Either the 'unsafe-inline' keyword

Question
We have an existing web implementation of a custom checkout with Apple Pay. Recently we noticed Apple Pay is now available in Chrome, but the Stripe button does not render correctly. Stripe appears to be blocking itself with your own CSP. We have a very permissive CSP. The CSP in the console logs come from Stripe when we load the Apple Pay element.

What have you already attempted?
Trying CSS/JS to fix the button, does not work because of the iFrame.

Reproduction Steps
Go to https://www.northshorecare.com/, add something to cart, checkout as guest (no need to create account), go to checkout page, add any US address details to test, select Apple Pay as payment option. Issue only appears in Chrome.

What are you working on?
Website with custom checkout using Stripe

cursive heronBOT
#

@inner cairn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using payment links for my use case as I have a very specific need of invoicing + auto tax deduction. any way to make discount codes work with my links?

Related Request ID(s)
.

What have you already attempted?
tried to create a discount code and use but it seems they dont work on payment links?

What are you working on?
an image generation saas

#

@thick kindle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What's the proper way for a business to collect taxes through Stripe? In my case, I'm a EU resident registered with a valid VIES, meaning I can make transactions with other businesses/freelancers in Europe without collecting tax. But I'm not sure how to set this up in Stripe.

I have a working integration on my webapp to collect stripe payments/subscriptions, and I have set the Price in Stripe to add the tax on top of the price. The thing is that if the buyer is registered in VIES, they should be able to add their VAT and tax should be 0%, for everyone else 21%

What's the proper way to do this? I'd like to avoid the 80€/month plan for Stripe Tax if possible, and pay as I go.

Doc/Guide Links
https://docs.stripe.com/tax

What are you working on?
Small web application that will accept payments and should collect taxes.

cursive heronBOT
#

@rare perch pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On my charge.updated event in production/live mode my reciept_number keeps coming through as null

Related Event ID(s)
evt_3RZ8AqRsAFHOkz1y0NLKrJXz

What have you already attempted?
Ive tried accessing the reciept url but it keeps coming back as null

What are you working on?
ecommerce site

cursive heronBOT
#

@timber delta pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need the to get the "network_transaciton_id" preferably a setup_attempts or payment_intents Call, do I need to adjust anything to get this property in a successfull response?

Related Request ID(s)
req_0IdVhxyebIg9X0

What have you already attempted?
Updated to latest version => 2025-05-28.basil

What are you working on?
Integration between one PCI compliant partner to another one

cursive heronBOT
#

@mellow spindle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The Stripe AI bot is lying to me in circles - I need clarification please.

There used to be a subscription property on event Invoice objects to easily identify the associated subscription. It seems to have gone away.

The AI bot is telling me it has been replaced with a subscription_details property. I can't find it.

It then said it was in fact replaced by a subscription and/or subscription_details property on the lines object. This is also not true.

Then it said it was replaced with a subscription property on each line item in the invoice. Also not true.

What's the truth folks?

Related Request ID(s)
Nope

What have you already attempted?
API docs, AI Bot.