#dev-help

1 messages · Page 102 of 1

cursive heronBOT
#

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

Question
How to adjust subscription billing cycle based on paused time?

If I've paused a monthly subscription for 10 days with "mark_uncollectible" and "resumes_at" and either (a) it's in between invoices or (b) spans an invoice—how can I adjust the billing cycle to effectively push the next invoice 10 days?

In (a) we need to delay the upcoming invoice by 10 days and in (b) we need to invoice earlier since we already passed the previous, right? Is there a consistent pattern for handling this?

Related Request ID(s)
req_MvwXwjpA0J2YmL, req_jQ2a7TM7O4s7EL

What have you already attempted?
I tried `stripe.Subscription.modify(sub_id, billing_cycle_anchor=new_anchor, proration_behavior='none')`, but it doesn't accept timestamps.

cursive heronBOT
cursive heronBOT
#

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

Code
I'll paste more in the ticket chat

Question
I'm trying to handle and validate promo codes in stripe elements. I have an input field and an API route to validate them against any restrictions, but I cannot see any mention of the product restrictions? How can I get that?

What have you already attempted?
I'm fetching the active promoCodes on the API, parsing in the user's promo input via params

const promoCodes = await stripe.promotionCodes.list\({
  code\: promoCode,
  active\: true,
  limit\: 1
}\)

const promoCodeObj = promoCodes.data\[0\]
console.log\('Promo Code\:', promoCodeObj\)

This gives me some data but not all

What are you working on?
Tier based subscriptions using stripe and stripe elements

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/payments/payment-element/custom-payment-methods

Question
Was made aware of this functionality in payment elements recently and wanted to get a better understanding of how this works for the Australian market specifically with PayPal.

I wanted to double check what the best way of implementing paypal would be

1) i assume the best way is by showing the paypal SDK button within the embedded area?
2) do I need it enabled as it's currently in preview? I had submitted my email a week ago but haven't heard anything since
3) are there any examples of how it should be implemented?

What have you already attempted?
I've implemented paypal as a separate component styling both sides (stripe and paypal) to look similar to one another. Hoping this means it'll be contained wholly within stripe's payment element instead for a better UX

What are you working on?
Website checkout payment screen

cursive heronBOT
#

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

Question
I am trying to create a page (I would like to host it if possible) to update the saved credit card for an existing customer's subscription.

Related Request ID(s)
n/a

What have you already attempted?
The documentation seems to have ways to do everything else but this, and all the help seems very clearly pointed to other use cases

What are you working on?
a customer-facing portal web app for my company, and we use Stripe to handle subscriptions

cursive heronBOT
#

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

Question
We’re currently using the ExpressCheckoutElement to support digital wallets in our integration. When using a SetupIntent, the Google Pay modal displays A$0.00.

We understand that SetupIntent is not meant to charge a customer, but for our use case, we’d like to show an indicative amount to help reduce friction and confusion during checkout.

Our current workaround is:

We create a confirmation token on the client with setupFutureUsage: "off_session".
The ID of the confirmation token is passed to our server, where we create and confirm a PaymentIntent (also with setupFutureUsage: "off_session").
We extract the payment method ID from the PaymentIntent and save it in our db

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
https://docs.stripe.com/elements/appearance-api

What are you working on?
Digital wallet integration

cursive heronBOT
#

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

Code
<script>
document.addEventListener('DOMContentLoaded', function () {
setTimeout(function () {
initializeStripePayment();
}, 100);
});

function initializeStripePayment\(\) {
    if \(typeof Stripe === 'undefined'\) {
        console.error\('Stripe library not loaded. Retrying...'\);
        setTimeout\(initializeStripePayment, 500\);
        return;
    }

    const stripe = Stripe\('{{ stripe\_publishable\_key }}'\)

Question
I’ve added Apple Pay to my Stripe account and also uploaded the Stripe verification certificate to my Apple Developer account.

Now, I need to verify the domain by hosting the .well-known/apple-developer-merchantid-domain-association file.

Can you please guide me on how to download this file from Stripe so I can upload it to my domain and complete the verification process correctly?

What have you already attempted?
Yeah, a processing show, not redirect Apple Pay

What are you working on?
i am working a tour and visa booking website using python django

cursive heronBOT
#

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

Question
is that possible to change an active subscription price?
i want to update the price for the next period. do I have to use a schedule or can i just update it directly. and if using a schedule how to do it? do i need to provide the current phase?

Related Request ID(s)
-

What have you already attempted?
creating a subscription

#

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

Question
hello,
I am implementing klarna off_session payments.
Is there a way to generate the second payment to be declined, or any other status than successful ?
After I am doing the first payment and saving the pm in the db, using it for new payments always works. And I am trying to see how it behaves on failed/needs_actions payments with the same pm.
thank you

Doc/Guide Links
https://docs.stripe.com/payments/klarna/set-up-future-payments#:~:text=Saving Klarna to a wallet to streamline future on-demand purchases without requiring customer re-authentication.

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

cursive heronBOT
#

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

Question
I currently have Stripe integration with my marketplace platform, we sell one-hour sessions of time with Experts. I would like to offer customer Gift cards through Cardivo. What is the easiest way to do this? I think I need to add all of the products into Stripe and have the developer tag them appropriately in our backend.

Related Event ID(s)
N/A

What have you already attempted?
Nothing! I'm just trying to find the best solution.

cursive heronBOT
#

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

What did you expect to happen?
When using Stripe API to create subscription, it is expected to have the payment_intent object included within the invoice object if you have expand it in the request parameters. However, It did not exist in the response and there is not way for me to retrieve the payment_intent after creating the subscription.

What actually happened?
The payment_intent does not exist within the response body of createSubsciption. I checked the console, the payment does exist, thee subscription is created, as well as the invoice. But it just does not exist in the response body.

Reproduction Steps
Create subscription with Python API by specifying customer, default_payment_method, items, expand, and trial_period_days. The payment method is one fo the test card provided by Stripe.

Question
What can I do to solve this issue? I checked the sample page for implementing subscription feature and it is uilitizing the very same method. I also tried doing the same thing with Stripe Shell console and it does have the payment_intent included in the response. It just doesn't work for my python file

What are you working on?
A subscription system

cursive heronBOT
cursive heronBOT
#

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

Question
“As of September 30, 2024, Stripe requires all plugin developers to adopt secure authentication methods (restricted API Key, OAuth 2.0, or Stripe Connect)"

i see this message earlier and then it extent to 2025 jully.

is there is any restriction to static api key usage?
or the dead line is changed ?

Related Request ID(s)
nothing

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
I created a bacs_debit monthly subscription using Stripe.js Checkout. It collects the mandate and successfully creates the payment automatically.

When I get notified about each subscription payment, is there a way to find both the subscription id and the payment intent id from the same webhook?

Related Request ID(s)
req_pbfkMzyv3pdM4N

What have you already attempted?
In the `invoice.payment_succeeded` webhook (evt_1Rm6j8AtWht7Zb8qIb2rNKV7), the Invoice data includes a Subscription id under `parent->subscription_details->subscription`. But I am unable to get the Payment Intent.

In the `payment_intent.succeeded` webhook (evt_3Rm6ihAtWht7Zb8q1nM80Zr2), I have the Payment Intent id, but I am unable to link it to the Subscription.

Same for the `customer.subscription_created` webhook (evt_1Rm6ijAtWht7Zb8qPxbVwUeH). I cannot find the Payment Intent from there.

I see the data I need when I inspect the checkout session from the workbench. But not from the API.

What are you working on?
I am building a Wordpress integration for Bacs direct debit subscriptions.

cursive heronBOT
#

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

What did you expect to happen?
We've received reports from our client that Apple pay is not working for @stripe/stripe-react-native connected accounts based out of UAE. The payment sheet gets dismissed once the user selects Apple pay in the payment sheet.

What actually happened?
The payment sheet gets dismissed and the payment gets cancelled.

Reproduction Steps
Setup a connected account based out of UAE with apple pay enabled.

Question
are there any additional configuration steps besides domain verification, for making apple pay work for UAE connected accounts?

cursive heronBOT
#

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

Code
https://github.com/stripe/stripe-go/wiki/Migration-guide-for-Stripe-Client#list-methods

Question
With the changes to the Stripe client within the Go SDK, how can I access the LastResponse for each of the objects?

Prior to this change, the LastResponse from the List should have been used instead of the LastResponse on each object but we don't have access to the List anymore.

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
Hello,

I'm trying to understand what the best payment type is to use for processing top-ups from customers.
Top-ups are payments a customer can do to his prepayment meter, where he can choose the amount himself. We listen to webhooks to process the payment in our billing and metering system. We use checkout sessions for invoice payments but for payments where the user can change the amount during payment, I don't know what to use.

Doc/Guide Links
https://stripe.com/en-be/payments/payment-links

What are you working on?
Allowing energy suppliers to use Stripe to get their invoices paid

cursive heronBOT
#

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

Code
const appearance = {
variables: {
borderRadius: '0px',
}
};

Question
I'm trying to set borderRadius for Apple Pay button used inside Express Payment Element but it looks like the value is not propagated to iframe. It works properly for Google Pay button and Amazon Pay button

What have you already attempted?
I've tried setting it via appearance

cursive heronBOT
#

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

Question
Is there any limitation to number of subscription productions in stripe when using embeddable pricing table for subscription
https://docs.stripe.com/payments/checkout/pricing-table

example. I want 100 products in pricing page

Related Request ID(s)
null

What have you already attempted?
Is there any limitation to number of subscription productions in stripe when using embeddable pricing table for subscription
https://docs.stripe.com/payments/checkout/pricing-table

What are you working on?
subscription

#

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

Question
Following up on a conversation from yesterday, I have an issue in which some accounts at facing issues when creating portal session links if this setting is not turned on in the dashboard("Launch customer portal with a link" setting). I was told to use a Configuration to solve this but I don't see a setting that correlates to "Launch customer portal with a link". Is the fact of creating a Configuration and passing it to the call to create a link supposed to be the same as manually turning that setting on? Thank you for your help

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

What are you working on?
Subscriptions

#

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

Code
```
const elements = stripe.elements({})
const paymentElement = elements.create('payment', {...})
const linkAuthElement = elements.create('linkAuthentication')

paymentElement.mount('#id')
linkAuthElement.mount('#auth-id')

...

paymentElement.blur();
```

Question
I'm using both Stripe Payment elements and PayPal integration. I'm trying to achieve seamless UI. I'm also using Link auth element. When I select PayPal I'm calling `blur()` on Payment Element instance. It stills is selected (see screenshot in thread). Expected behaviour here is that it unselects the UI when calling blur()

What have you already attempted?
calling methods from provided API

cursive heronBOT
#

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

Question
How to know if the stripe automatic tax is setup

Related Request ID(s)
N/A

What have you already attempted?
Get the information from
- stripe tax settings retrieve
- stripe accounts retrieve

Beside status that seems to be if stripe tax is enabled, I don't seem to found where to get this info

What are you working on?
At Swapcard, we've integrated Stripe for attendee payments and enabled Stripe Tax for automatic tax calculations. We'd like to allow event organizers to choose whether or not to use Stripe Tax

cursive heronBOT
#

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

Question
We are trying to calculate the application fee as a percentage of the subtotal, excluding tax and discounts.

We use the invoice preview route when dealing with subscriptions, but this is a one-off charge to the customer (we still create an invoice for it).

We want to leverage something similar to calculate the subtotal (minus any discounts applied, taxes, shipping etc).

Is there a way to preview one-off invoices or charges we are unaware of?

Related Request ID(s)
None

What have you already attempted?
API documentation on invoice preview plus examples

What are you working on?
Federated marketplace using direct charges

cursive heronBOT
#

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

Question
We have a sandbox account where we are testing our platform and connect account integration. We setup a webhook for payouts but it looks like we need to wait for about a week to be able to trigger the first payout. Is there anyway to speed up this wait time?

Related Event ID(s)
N/A

What have you already attempted?
Tried switching to manual payments and automatic payments but it looks like the account has zero balance until the transfers complete

#

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

Error Message
Tap to Pay reader not operating in secure process

Question
What is the meaning of this error?

What have you already attempted?
Im integrating stripe tap to pay, i’m running the apk in release mode on my android device with terminal version 4.5.1
When i call the discover method with simulated set to false i get this error.
Im sure that my device is compatible because reader works with the example app in release mode

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-samples/terminal-apps-on-devices?tab=readme-ov-file

Question
After I deploy the backend, and then put the backend url in local.properties, after running the app it says, register the reader to do payments. Where should i register the reader for running this project.

What have you already attempted?
I have clicked on the settings icon on the app, which is redirecting to the settings of the device. What is next?

What are you working on?
S700 terminal apps on devices

cursive heronBOT
#

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

Question
I want to mirror the status that Stripe shows for invoices on the https://dashboard.stripe.com/invoices page. For example, when you click the past due filter on this page, what is the logic to determine if an invoice is past_due. Some invoices has a due date but those generated from a subscription with automatically charge payment method on file do not has a due date.

Doc/Guide Links
https://dashboard.stripe.com/invoices

What are you working on?
customer portal to show users their past due invoices with options to pay them via the Stripe payment link

cursive heronBOT
#

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

Question
We're moving to a usage-based credit system where a user can purchase one of four tiers with each tier coming with an allotment of included credits and then overages if credit allotment is exceeded.

This all works great with the current usage-based, tiered pricing model on MONTHLY terms but breaks on ANNUAL terms as we want overages to be billed monthly but the flat fee portion to be paid upfront for the full year.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/set-up and https://docs.stripe.com/products-prices/pricing-models#pay-as-you-go

What are you working on?
We're moving to a usage-based credit system

cursive heronBOT
#

@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/list

Question
I am working on an integration to display Stripe invoices in my GraphQL API. The model looks like 1 customer <- N Alarm systems <- N invoices.

The issue I'm finding is that the list all invoices endpoint does not let me filter by metadata, which would be used to indicate which alarm system the invoice is for. I could use the search endpoint, but it appears there is no backwards pagination for the search endpoint. I need backwards pagination in order to fully implement the GraphQL Relay connections specification for paginating through invoices in the graph.

What have you already attempted?
I have researched the API docs for both the list invoices API and the search API. I have also attempted to find out if I can do 1 to 1 with customer <-> alarm system without sacrificing the user experience for the person paying. However, I haven't found any information on how 1 payer can share 2 customers on Stripe while appearing to only have 1. So my questions are:

  1. Is there some other way to list invoices by metadata that allows both forward and backwards pagination that I don't see?
  2. If not, is it possible to have 2 customers behave as 1 for the purposes of the end user experience?

What are you working on?
Porting our billing system to Stripe.

cursive heronBOT
#

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

Question
A client wants to put a Discord bot behind a Stripe subscription paywall but has no idea whatsoever of what they will or won’t need as part of that implementation.

What are the different options and how do they compare in terms of feature ?

I found 3 so far : Checkout, Payment Link and Invoicing. The docs for the last 2 contain a comparison table for these, but the former isn't part of it.

Doc/Guide Links
https://docs.stripe.com/payments/checkout
https://docs.stripe.com/payment-links
https://docs.stripe.com/invoicing

What are you working on?
I'm working on a bot Discord for a client as a freelance web dev.

#

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

Question
Can we add "maximum" aggregation method to meters api? The request id isn't relevant I was forced to put one.

Related Request ID(s)
req_NSqbJmK0RYJRlU

What have you already attempted?
I use sum method currently but its tedious with keeping track of the current state of the meter and only adding an additional +1 to the meter at certain times.

What are you working on?
Trying to implement subscription billing based on number of users on an account

cursive heronBOT
#

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

Question
Im creating small payment system which uses payment intent and works like that

  1. create payment intent
  2. create the UI
  3. Accept the payment

And the 4 step should be send some transaction related info to the backend server . And by that i dont mean cards info but the one which user typed in other avaible inputs. So generally i would like to trigger some backend actions when user pays for product using payment intent and the payment is confirmed and how to do so in correct way?

Doc/Guide Links
https://docs.stripe.com/webhooks
https://docs.stripe.com/js/payment_intents/confirm_payment

What are you working on?
Small payment system using custom UI and additinonal UI elements

cursive heronBOT
#

@dusk zephyr 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/payment-methods/pmd-registration?dashboard-or-api=dashboard

Question
I am trying to set up apple pay on my website but don't recall if we have to generate the apple-developer-merchantid-domain-association or if that's handled automatically when we register the domains on Stripe

What have you already attempted?
Registered domains on stripe

cursive heronBOT
#

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

Question
A client wants to put a Discord bot behind a Stripe per-guild subscription paywall. A user who owns multiple guilds might want to subscribe multiple times in order to use it in multiple guilds.

Having that done, when opening the customer portal, the user would see multiple subscriptions to the same product.

In order for the user to be able to differenciate those, they would need to know which guild does each subscription belongs to.

I saw the Checkout API allows overwriting the product name and description.

Will this persist in the customer portal ?

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create?api-version=2025-05-28.basil#create_checkout_session-line_items-price_data-product_data-name

What are you working on?
A Discord bot that a client wants paywalled with a Stripe subscription.

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-07-21. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Question
Can i directly change price for an active/trialing subscription?. what will happened if i update the subscription in the middle of period

Related Request ID(s)
-

What have you already attempted?
Create subscription.

cursive heronBOT
#

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

Question
We're currently testing 3DS with Google Pay but all the 3DS cards available fails when off_session is true. Is there a card we can use so that we can set it up with 3DS, then it passes when it's off_session? We use `4000 0025 0000 3155` to test it with credit cards.

Doc/Guide Links
https://docs.stripe.com/testing?testing-method=card-numbers#authentication-and-setup

What are you working on?
Integrating digital wallets using ExpressCheckoutElements

cursive heronBOT
#

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

Question
is identity verification optional for Custom or Express Connect onboarding? The acccount will be domestic in USA

Related Request ID(s)
none

What have you already attempted?
Documentation around Connect onboarding

cursive heronBOT
#

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

Question
I'd like to know the correct way to update the billing address associated with a payment method. We did this for one account with no issue but another account was forcibly closed and marked as presenting a "higher level of risk".

Related Request ID(s)
req_DSURTCTM0sHEr9

What have you already attempted?
Posting to the payment method endpoint to update the billing address of the payment method attached to the customer. https://docs.stripe.com/api/payment_methods/update

What are you working on?
Migrations to Stripe/Shopify

cursive heronBOT
#

@void 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/billing/subscriptions/multiple-products

Question
What is the general/suitable approach to attach a monthly usage-based product for customers who are billed annually?

What have you already attempted?
The current implementation is attaching another subscription with that usage-based product but would like to get clarification on how this is usually done

What are you working on?
Pay-as-you-go billing feature for existing subscribers (billed monthly & annually)

#

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

Question
i try to implement this code

https://docs.stripe.com/billing/subscriptions/subscription-schedules#changing-subscriptions

but
const schedule = await stripe.subscriptionSchedules.create({
from_subscription: 'sub_ERf72J8Sc7qx7D',
});

the schedule doesnot return schedule.phases[0].items[0].price like the docs

Related Request ID(s)
sub_1RlnatKxUzgEvuWhz0WvpPKH

What have you already attempted?
try to implmenet the api.

cursive heronBOT
#

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

Error Message
I'm experiencing UI error with Payment Elements regarding iframe height calculation when switching between Cash App and Amazon Pay - there is weird spacing at the bottom (see screenshot)

Question
Not sure if this is right place, but reporting and asking for fix

What have you already attempted?
Just debugging

Reproduction Steps
It doesn't happen every time, but switching between several payment options gives me this from time to time

cursive heronBOT
#

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

Code
<EmbeddedCheckoutProvider
stripe={stripePromise}
options={{
clientSecret: 'pi_3RlrtfQG6G0kBU391eCqUcaY_secret_•••xz3v',
}}
>

Question
Trying to implement reactJS EmbeddedCheckoutProvider to finalize a paymentIntent but consistently receiving an error stating "Uncaught (in promise) IntegrationError: fetchClientSecret failed with error "Unable to parse client secret. Please ensure you are using a valid embedded Checkout client secret.""

What have you already attempted?
Tried also to return the client_secret from a Promise but keep receiving the same error

What are you working on?
A platform where retailers can receive refunds of the facial value granted by coupons

cursive heronBOT
#

@frosty bear 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?__ hsfp=1551434154&__hsfp=1235175601&__hssc=192971698.1.1590796800202&__hstc=192971698.9c49e44b73bd3bee6fa385653ecd7c96.1590796800199.1590796800200.1590796

Question
If I enable manual capture for payment methods like "card" or "mobilepay", Is there a way I can get the capture_expiry date/time using any api or webhook

What have you already attempted?
Then docs only mention this for 'card_present' payment type, and I am not able to figure it out in the docs.

What are you working on?
We provide services similar to shopify where the merchant recieves the money directly from the buyer

cursive heronBOT
#

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

Question
Hi, I have few questions:

1) Can you have multiple customers with the same Email?

2) What happens if a customer has pending usage bill and we delete that customer?

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Error Message
humanly.design@gmail.com

Question
i am lost in loooking how to create thank you letter. Even AI doesn't help. Can you please support me with it?

What have you already attempted?
everything i could even asking AI

Reproduction Steps
created product, looked for 'thank you page' - and didn't find it

What are you working on?
thank you page for product after people pay

#

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

Code
SecurityError: Blocked a frame with origin "<my_domain>" from accessing a cross-origin frame. Protocols, domains, and ports must match.

Question
We've just started seeing this error today in our dev environment without any changes made on our side, so wondering if something has changed with Stripe. We hit our backend API which has CORS enabled, but this seems to be happening before the fetch request is even made (we don't see requests logged in the browser).

What have you already attempted?
Added logging, checked for requests being logged in the browser, but cannot see where this is coming from.

What are you working on?
E-commerce website

cursive heronBOT
#

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

Question
Trying to enable Paypal Wallets from Stripe but getting this error: "Something went wrong while processing your onboarding request. Please try again or contact support for assistance."

Related Request ID(s)
Something went wrong while processing your onboarding request. Please try again or contact support for assistance.

What have you already attempted?
Followed this documentation : https://docs.stripe.com/payments/paypal/activate

#

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

Question
subscription.updated seems to be sent a few milliseconds BEFORE subscription.created which leaves our copy of the subscription in a stale state

```customer.subscription.created 03:19:19
customer.subscription.updated 03:19:18```

Related Event ID(s)
evt_1Rn9JxLDtxfCVdikSwEbxAYu, evt_1Rn9JxLDtxfCVdikYr326e4N

What have you already attempted?
Throttling to process only one HTTP request at a time is not practical for a production system.

Buffering webhook requests locally and replaying them to ourselves in the correct order seems like quite a lot of work.

#

@steel pawn 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/tax/payment-intent#link-calculation-to-payment

Question
On the section 2 Link tax calculation to the PaymentIntent, it says I can link calculation when creating/modifying payment intent, but I cannot find hooks in create api reference

What have you already attempted?
Tried add 'hooks' when creating payment intent, but got error which saying 'TS2353: Object literal may only specify known properties, and hooks does not exist in type PaymentIntentCreateParams'

cursive heronBOT
#

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

What did you expect to happen?
Convert from standard usage based billing to Flexible

What actually happened?
Error Message thrown : Could not update billing mode
Setup Intents are not supported with `billing_mode.type=flexible`.

Reproduction Steps
Open Subscription sub_1RmLdVCYEIkFpocTFsryPiNt and try and switch from classic to flexible

Question
What is this error message? And how can this be thrown on a brand new subscription

cursive heronBOT
#

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

Question
I was wondering if there’s a way to use pricing tables and also have addons. My addons are most likely going to be per seat option where I allow 10 users in the subscription and then if they want to add extra users it will be $5/month extra, same for push notifications, everytime the subscription renews they get 5 push notifications and have to purchase extra

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/multiple-products

https://docs.stripe.com/products-prices/pricing-models
https://www.reddit.com/r/stripe/comments/17965z7/subscription_with_addons/

What are you working on?
I want my connected accounts to choose a plan, plan A will be basic with no addons, and plan B will have a base price and then addons charged at monthly rate(ex: additional PoS $99/mo extra) and the user can choose the quantity

#

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

Code
Existing thread: https://discord.com/channels/841573134531821608/1396809393105932388

Seeing the following logged also:

[Error] ResizeObserver loop completed with undelivered notifications. (universal-link-modal-inner-75ef4120f91af44acbffde0039a0efda.html, line 0)

[Error] Failed to load resource: the server responded with a status of 429 () (envelope, line 0)

URL is https://errors.stripe.com...

Question
From what I understand, Stripe JS is adding a frame to the page, which is then where our API call is being made from, which breaks due to CORS. But this isn't the normal behaviour that is observed on other pages on our website, so it's unclear why this one is behaving differently and getting the error above.

What have you already attempted?
Debugged to understand that this is not a CORS issue on our side - our server setup is as it should be and is working for other pages that do not have this error above. It's unclear though why we're getting logging that suggests that it is a CORS issue.

What are you working on?
E-commerce website

#

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

Question
Hello

My app uses destination charges but don’t set on_behalf_of. Apple requires users to accept Tap to Pay terms, which Stripe docs say is only needed for direct charges or destination charges with on_behalf_of.

Can we stay compliant without using on_behalf_of? If not, is it valid to use it just to meet Apple’s requirement, even if we don’t need its effects? Also, as a platform with connected accounts, should we have been using on_behalf_of already?

Thanks!

Related Request ID(s)
req_moFzhlkRyyIIsA

What have you already attempted?
tried to set the on_behalf_of when creating the payment intent + connecting to a reader (tap to pay). The terms appeared.

What are you working on?
I'm buiding a mobile app that will allow users to collect in-person payments using tap to pay

#

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

Error Message
Two factor identification required

Question
I was invited to be an administrator for Central Infantil De Los Ángeles when I try to login they tell me that I need to do a two factor identification, but there is no place to do that. And the support only lets you get support if you are already logged in please help! Our
free daycare nursery school for poor Mexican children urgently needs money. Thank you.

What have you already attempted?
I tried writing questions to the chat

What are you working on?
I want to raise money for the poor Mexican children, and I am running into a huge roadblock

#

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

Question
I want to give my users a paid trial period for 3 months for which I will be charging $1 only in first month. The next 2 months, user won't need to pay anything. And then after 3 months, the user will be charged the actual subscription cost.

Related Request ID(s)
customerId: "cus_SNGljFQZ8GlQ4v", invoiceId: "RAGNHKZH-0001", checkout_session_id: "cs_live_a1KvvP9GmRMiLJzMCQLdeYRLSEOLGi8fei1laVhph5ACOQkz6XGUEI9cDf", stripeSubscriptionId: "sub_1RSWEpSCN5U3Z9OGrsB

What have you already attempted?
Create a subscription that starts with a 3-month free trial and payment collection after trial
const subscription = await stripe.subscriptions.create({
customer: customerId,
items: [{ price: priceId, quantity: DEFAULT_QUANTITY }],
trial_end: trialEndTimestamp,
payment_behavior: 'default_incomplete',
expand: ['latest_invoice.payment_intent'],
metadata: {
order_id: orderId,
trial_type: 'three_month_trial',
original_price_id: priceId,
},
});
// Create a one-time payment intent for the trial access

What are you working on?
neweb.ai : an ai based website builder

cursive heronBOT
#

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

Question
When getting a list of charges via the `GET /v1/charges` API, is there an easy way to know if a charge was merchant-initiated or customer-initiated? Or in other words, off-session vs. on-session. We just would like to know if customer was present for the charge.

Related Request ID(s)
N/A

What have you already attempted?
I've read through the charge API docs. I've made some sample requests, and inspected responses.

cursive heronBOT
#

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

Question
How to create a checkout session for an existing unpaid subscription invoice ?

Related Request ID(s)
req_IpYYZAyHj2ysdF

What have you already attempted?
`POST /checkout/sessions`
```js
{
'mode': 'payment',
'invoice': invoiceId
}
```
(Suggested by the Stripe Docs AI)

What are you working on?
A client wants to put a Discord bot behind a paywall.

#

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

Question
I want to test Stripe subscription behavior in test mode where the first payment of around $200 succeeds, and then on the next subscription invoice, the payment fails due to insufficient balance, triggering invoice.payment_failed webhook events.

Related Request ID(s)
1

What have you already attempted?
In Stripe test mode, I created a subscription with a normal success test card (4242 4242 4242 4242). The first payment went through successfully and charged $200 as expected. After that, I tried to update or replace the customer’s card with Stripe’s "insufficient funds" test card (4000 0000 0000 9995) to simulate a failed payment due to insufficient balance on renewal. However, this card failed immediately during attachment and wasn’t accepted, so I couldn’t simulate the subsequent invoice failure as intended.

What are you working on?
I want my subscription forcefully send invoice_failed due to insufficient balance card

#

@jagged grove 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/get-started/data-migrations/pan-copy-self-serve?copy-method=full&locale=en-GB#data-considerations

Question
When copying customers (and their payment methods) from one Stripe account to a Stripe Connect account, it seems that I'm unable to copy ACH as a payment method.

Does this mean that the customer would have to re-enter payment? Is there any other way of transferring ACH authorizations to a Stripe account?

What have you already attempted?
I've already pan copied all customers from one account to another.

What are you working on?
Stripe Integration

cursive heronBOT
#

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

Question

  1. for Connect onboarding , is 'card capabilities' required ?we are only going to do ACH transfers.
  2. what information can we pre-populate so that the onboarding will be quick and easy?

Related Request ID(s)
none

What have you already attempted?
Stripe hosted solution for types Express and Custom

cursive heronBOT
#

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

What did you expect to happen?
To not receive notification

What actually happened?
Order no.2520-8407-4621 purchased via stripe has been notified to a email wrongly which should not be marcoli0121@gmail.com
Can you please help me to disconnect with the stripe notification

Reproduction Steps
Order no.2520-8407-4621 purchased via stripe has been notified to a email wrongly which should not be marcoli0121@gmail.com
Can you please help me to disconnect with the stripe notification

Question
can you help me to disconnect from the notification

What are you working on?
to solve this problem

cursive heronBOT
#

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

Code
now = Time.now.to_i
test_clock = Cliniko::StripeClient.client.test_helpers.test_clocks.create({frozen_time: now, name: 'Customer Source Expiring Test Clock'})
customer = Cliniko::StripeClient.client.customers.create(test_clock: test_clock.id)
card = Cliniko::StripeClient.client.customers.payment_sources.create(customer.id, source: 'tok_au')
card_expiry_date = Time.parse("#{card.exp_year}-#{card.exp_month}-01")
advance_time = card_expiry_date.advance(months: 2).to_i
Cliniko::S

Question
Is there a way with test clocks to simulate the `customer.source.expiring` event?

What have you already attempted?
I've tried creating a customer with a test clock, attaching a source, noting the expiry of that source, and then advancing the test clock past that expiry, no event is created for the card expiring.

Looks like others may have this issue: https://github.com/stripe/stripe-cli/issues/874

What are you working on?
Trying to build a test automation in our app around a customer's card expiring.

cursive heronBOT
#

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

Question
Currently I have a case in my app where the user is offering a parking subscription (basically a rental), and I need (as platform) to confirm that both renter & owner confirm that the parking key has been given physically. But I don't want to initiate this step unless the charge to the first subscription payment has already been done...

Currently I am using Stripe Connect & I am performing a destination subscription (aka I as platform do not save the money, only take the comission). So I do not have a way to wait for this key confirmation before the owner receives the money.

But after the first payment, the rest can go directly.

Which is the best approach for this case?

Doc/Guide Links
Does not apply in this case. Checked generic docs & guides

What are you working on?
An e-commerce marketplace where users offer subscriptions to services

#

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

Question
We are a marketplace where we connect service providers and customers, and as such, customers are directly paying the service provider. We want the Stripe fee and our platform fee to be passed onto / payed for by the customers. What's the current best practice for this? I am using Stripe Connect.

Doc/Guide Links
https://docs.stripe.com/payments

What are you working on?
We are a marketplace where we connect service providers and customers, and as such, customers are directly paying the service provider.

#

@fallen 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/api/billing/meter

Question
It is possible to use Stripe meters to track usage of a specific event without assigning first the meter to a product and a product to a subscription?

What have you already attempted?
Currently, we are assigning a meter to a product and using it in order to track usage for customers, but we want to know if it's 100% necessary to do this.

What are you working on?
This is because we're not planning to generate costs per usage initially, but we want to still track some usage over our platform using meters. It's possible?

cursive heronBOT
#

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

Question
I am trying to set a subscription with a schedule attached to it to cancel_at_period_end.
After I have taken the steps described and fetched the subscriptions again, the subscription still has cancel_at_period_end set to false, even though the Stripe dashboard correctly displays the date it will be cancelled.

How can I find if the subscription is set to cancel at the end of the period if it is not via the cancel_at_period_end field?

Related Request ID(s)
evt_1RnLUvDmuqIMmGLr7Ipv5uH7

What have you already attempted?
- Retrieve the subscription [stripe.subscriptions.retrieve(id)]
- Release the subscription schedule [stripe.subscriptionSchedules.release(scheduleId)]
- Update the subscription to cancel_at_period_end [ stripe.subscriptions.update(id, {
cancel_at_period_end: true,
})
]

cursive heronBOT
#

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

Code
await stripeConnectReader(
{
reader,
merchantDisplayName: "Org name",
onBehalfOf: "acct_1OAFaFFzA5ZUnvUA"
locationId: "tml_FlQttwHx34hfpc"
},
"tapToPay",
);

Question
I am trying to connect a reader using onBehalfOf account, but it doesnt connect. if i remove that attr it works.

What have you already attempted?
I tried other organizations as well, and for example this id: acct_1Q7NOnFkBojrDOxc, works.

What are you working on?
Tap to pay on iphone using Expo and RN

cursive heronBOT
#

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

What did you expect to happen?
On downloaded quote PDFs, items which are recurring should display a refresh icon (arrows spinning in circles).

What actually happened?
Where that icon used to be displayed, there is now an empty box.

Reproduction Steps
I can reproduce with any quote PDF for any time - even those that used to display the icon.

Question
How can I get the "recurring" icon to properly display in downloaded quote PDFs?

I debugged this a bit myself - that refresh icon is an embedded image. On working PDFs I can run `pdfimages` and extract the refresh icon, on not-working PDFs `pdfimages` fails to extract any images. This would lead me to believe the refresh icon is no longer being correctly embedded.

cursive heronBOT
#

@elder panther 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#build-saas-platform-marketplace

Question
I am working on integrating stripe connect into my app. i made a new connected account but it says restricted. It says everything is ok on one page and the other that is need more information. So basically im wondering how do i get it our of restricted mode?

What have you already attempted?
Ive searched all the docs that i could and i cant find the answer.

What are you working on?
I am building a Saas that will allow creators to sell thier day trading strategies

#

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

Code
know how to use zapier and stripe for discord auto add roles

Question
know how to use zapier and stripe for discord auto add roles

What have you already attempted?
know how to use zapier and stripe for discord auto add roles

What are you working on?
know how to use zapier and stripe for discord auto add roles

cursive heronBOT
#

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

Question
Since `2025-06-30.basil` and version 48 of the .NET Stripe SDK, it is very complicated to obtain the connection between these 3 entities after a webhook.
`Invoice` / `PaymentIntent` / `Charge`

At the reception of a webhook, I try to figure out what's my next course of action based on each of these 3 objects.

Related Event ID(s)
evt_3RnQn1C54o3SkfX80mUwukHK

What have you already attempted?
Let's say we try to handle a payment failure or success and I try from different paths:

`charge.*`
* PaymentIntent -> *available*
* Invoice -> *not available*

`payment_intent.*`
* Charge -> *LatestChargeId*
* Invoice -> *not available*

`invoice.*`
* PaymentIntent -> *must re-query with expands=payments*
* Charge -> *not available, even after expands*

  1. `invoice.payment_succeeded` or `invoice.payment_failed` webhook
  2. Get invoice with expands=payments (can't expand payments.data.payment_intent)
  3. Get payment intent with the `PaymentIntentId` (can't expand latest_charge)
  4. Get Charge
cursive heronBOT
#

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

Question
Normally, when a subscription payment fails upon subscription creation, the subscription will be marked as expired if the client doesn't pay in the next 24 hours. For some reason, this wasn't the case for the subscription sub_1ROghfF5OtnksZcvCcZ85V6v. The subscription kept on generating invoices every month and I'm not able to find any event related to a successfull payment.

Related Event ID(s)
evt_1RnSipF5OtnksZcvkHGZKqmT

What have you already attempted?
Tried to reproduce in a testing environment using a test card that won't be accepted, but I wasn't able to reproduce.

cursive heronBOT
#

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

Question
Hi, I have a question regarding coupons and customers.
I want to find a way to export a customer along with discount codes, I am aware that I can apply a filter to get customers with discount codes and export it from the dashboard. However, the export does not include the `coupon code` that was applied as a discount.

Is there a way I can retrieve it from the API ?
What I am looking for is some customer details along with the coupon code that has been applied to their account.

If it helps, all of these customers have cancelled their subscription so there is no active subscription on their account.

Doc/Guide Links
N/A I am a bit confused as to where to start looking.

What are you working on?
SaSS

cursive heronBOT
#

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

Question
We're looking into using off-session mode with the SetupIntent API, for both Google and Apple Pay, on Android and iOS respectively (w/ the native Stripe SDKs for each platform). off-session mode seems like a good fit for our application because we have many async payment workflows. We already use it with credit cards, SEPA, and PayPal.

We're curious how well off-session truly works with Google and Apple Pay. In particular:

  1. Is it compatible with 3D Secure cards, e.g., in the EU?
  2. How long do the payment method IDs last? Do card providers expire them on us?

Doc/Guide Links
https://docs.stripe.com/apple-pay/apple-pay-recurring
https://docs.stripe.com/payments/checkout/save-and-reuse

What are you working on?
At Via we are a Transit Tech company. This question relates to our microtransit and paratransit products, which are, to oversimplify, ride sharing applications with a B2G/B2B transit focus.

cursive heronBOT
cursive heronBOT
#

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

Code
public TestClock createTestClock() throws StripeException {
Stripe.apiKey = stripeSecretyKeyTest;

    TestClockCreateParams params = TestClockCreateParams.builder\(\)
            .setFrozenTime\(Instant.now\(\).getEpochSecond\(\)\) // current time
            .setName\("15\-minute Test Clock"\)
            .build\(\);

    return TestClock.create\(params\);
}

public Customer createCustomerOnTestClock\(String testClockId\) throws StripeException {
	Stripe.apiKey = stripeSecrety

Question
I am working on recuring payment by creating product and subscribe it in session by providing there session id and price id .now i am using TestClock to check that recuringpayment is working or not

What have you already attempted?
I have created a testclock with the help of TestClockCreateParams and than created a customer and setted that clock to that customer with help of setTestClock ,than i am passing that customer to session and after payment will be done i am calling a function of advanceClock wich i using TestClockAdvanceParams so that billing date come today i m passing 24 hour in second in these

What are you working on?
I am working on recuring payment and want to test that recuring payment is working or not

#

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

Question
I am experiencing an error in testing that says that The payment method you provided has already been attached to a customer. -- I am a bit confused because in the scenario that a user creates a new account but uses the same card, they would be unable to use this card. It also seems you cant detach/reattach without issue. Furthermore, we wouldn't want to just attach to old customer if possible. What is the appropriate way to handle this? Not sure I understand.

Related Request ID(s)
none

What have you already attempted?
I am in PHP/Laravel with some Laravel Cashier/Stripe API -- I simply try/catch and move on. The payment goes through but the default payment method can't be added.

What are you working on?
laravel/php

cursive heronBOT
#

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

Code
<StripeProvider
publishableKey={publishableKey ?? ''}
urlScheme={urlScheme}
stripeAccountId={stripeAccountId ?? undefined}>
{children}
</StripeProvider>

Question
I would like to use this in a react native app (using expo) for different accounts on different screens that have only in common the App Root Layout and Navigation component but then they are in different tabs

What have you already attempted?
- #1: Add the above piece of code in different places that did not work, did not initialise stripe with the new publishableKey

- #2: Tried to put that in a React Context Provider on the Root/Navigation level and reload when updating the publishableKey, but then my entire app would reload and would restart from the beginning

What are you working on?
It is a hotel booking application for different hotel brands with each brand having their own stripe account, and then a joint stripe account for subscriptions.

cursive heronBOT
#

@pearl epoch 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/quickstart

Question
Need help setting up WisePad 3 and iOS device. Just purchased the Wisepad not long ago. What do I need to start? I've downloaded Xcode but that's all I know

What have you already attempted?
Installed Xcode, downloaded the 'full app' from the quickstart URL. Opened the swift code in Xcode. Didn't know what's the next step

What are you working on?
Trying to setup my Wisepad to accept Card payments in-person

#

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

Question
How does stripe round prices / discounts.
Example:
20.59 Price with a 50% off coupon => 10.295 => stripe expects 10.29 payment, i would generally think its rounded up to 10.30.
Whats the rule in stripe for rounding non service fee lline items

Doc/Guide Links
Looked for docs but didnt find anything, only the stripe fee doc that tells that stripe fees are always rounded up, which is not the case here.

What are you working on?
A online platform where people can purchase subscriptions to different people, similar to patreo

#

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

Code
No code yet........

Question
So, stripe payment links (those you create via dashboard) for one time payment create guest customer which arent accessible via the api.

How can i access them or make stripe create real customers? the only i am thinking of is listening to checkout complete webhook

What have you already attempted?
Nothing yet

cursive heronBOT
#

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

Question
I’m building an eLearning platform that allows tutors from various countries to host and earn from online classes. We would like to enable these tutors to receive withdrawals directly to their local bank accounts.

We have already created a Stripe account, and it is fully activated.

Here's the flow we’re aiming to implement:

Tutor selects their country

Selects their bank from a list of supported banks (based on country)

Enters their bank account number

The system verifies the account by retrieving and displaying the account holder’s name, How can I achieve this

Related Request ID(s)
nIl

What have you already attempted?
I was just making reserach

cursive heronBOT
#

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

Question
How should I be able to disconnect a connected account? I am using C# and successfully set up connected accounts, but want to foresee a disconnect action. I can only seem to find accountService.DeleteAsync, is this the correct one?

Doc/Guide Links
https://support.stripe.com/questions/disconnect-your-stripe-account-from-a-connected-third-party-platform#:~:text=To disconnect your Stripe account from a connected,Subscription migration options with the platform before disconnecting.

https://support.stripe.com/questions/platform-controls-for-connected-accounts

What are you working on?
Allowing energy suppliers to use Stripe to get their invoices paid

#

@foggy vault 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/connection_tokens/create

Question
For each terminal transaction, I need to generate a connection token via stripe.terminal.connectionTokens.create(). When internet connection is poor, this takes several seconds and impacts user experience. Can I cache connection tokens and reuse them until they expire, or do I need a fresh token for each transaction? What's the recommended approach for optimizing token generation in poor network conditions?

What have you already attempted?
Currently generating a fresh connection token for every transaction using stripe.terminal.connectionTokens.create() in my Node.js backend. This works but causes delays (3-5 seconds) when network is slow. I've read the docs but they don't specify token reuse policies or caching strategies. I'm considering implementing a caching mechanism but want to ensure it's compliant with Stripe's requirements.

What are you working on?
Building a kiosk donation system using Stripe Terminal for in-person card payments. The system handles multiple transactions throughout the day and needs to be responsive even with poor internet

cursive heronBOT
#

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

What did you expect to happen?
Email custom domain verification instructions to show the actual DNS records to copy

What actually happened?
They all include the string `custom-email-domain`

Reproduction Steps
Go to https://dashboard.stripe.com/settings/emails

Add a custom domain

Go to the verification status

Question
It is unclear to me if you need to manually replace `custom-email-domain` with anything, and if so what with?

If my custom email domain is "example.com", and the DNS record string is `6tfnhxxxxxxxxxbridrid.dkim.custom-email-domain.stripe.com.`, what is the actual value I need to add?

#

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

Question
Hi, we currently use Stripe Payment Elements with Card and Apple Pay.

We previously used Stripe Link but disabled it from being visible in the Payment Element. We were able to still charge customers for additional payments with a Stripe Link payment method whilst keeping the UI element hidden for new customers.

With the recent Stripe Link change forced on last week we're no longer able to hide the option without turning it off.

If we turn Stripe Link off, addition payments fail as the option isnt enabled anymore. Is there a workaround to hide UI whilst allowing additional payments?

Related Request ID(s)
req_OgwqUyDcyjuZew

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
Attempting to update billing address.
Why does posting to payment_methods/update throw errors such as "Your card number is incorrect", "Your card is expired", "Your card was declined"? These are the kinds of errors you would see if you were charging the card not updating the address details on a payment_methods/update api

Related Request ID(s)
req_9XmGt1tlBpKLkB, req_cp9UPGuzTxNEGH, req_KcPQzCaz24NZ4z, req_gMvqu9C8XNDI0n

What have you already attempted?
We've tried using the payment_methods/update
https://docs.stripe.com/api/payment_methods/update

What are you working on?
Shopify Integrations and Stripe migrations

cursive heronBOT
#

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

Question
I want to upgrade from the Stripe api version 2024-12-18.acacia to 2025-06-30.basil.
I have written a client that, fot every incoming refund (over the webhook) it will check if there is a credit note already linked to it. If not, it will create a new credit note and attach it to the refund. I am unsure if my below code is still correct, and I don't see how I could (easily) test this at the moment. Please check and let me know.

https://pastebin.com/1SjkRA75

Related Request ID(s)
No Requests

What have you already attempted?
APi doc, GPT O3 Pro

#

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

Question
i am testing in local my stripe webhook integration, apiVersion: "2020-08-27". now i have setup handling for webhook events. one of those events is invoice.payment_failed. i can't find the right command to test this. my flow is i create a customer and that customer buys a subscription via stripe test cards. everything works fine. now for the very same customer subscribed before i want to trigger a invoice.payment_failed in order to check that my webhook handler for such event works fine

Related Event ID(s)
invoice.payment_failed

What have you already attempted?
i tried to trigger via stripe cli the invoice.payment_failed but i did not succeed

cursive heronBOT
#

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

Question
Why doesn't an *unpaid* subscription have an open invoice ?

Related Request ID(s)
req_rDmt4fLPKOkD6g

What have you already attempted?
`GET /invoices`

```js
{
params: {
subscription: subscriptionId,
status: 'open',
limit: 1
}
}
```

What are you working on?
A client wants to paywall a Discord bot.

#

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

Question
We are implementing a flow to redisplay saved credit cards (doc: https://support.stripe.com/questions/prefilling-saved-cards-in-checkout).

However, when a card is saved through payment elements, it is not redisplayed on Stripe checkout, even though user checked the "Save my payment information for future purchases" and allow_redisplay is set to "always" in the payment method object.

Can you please help me understand what's missing? The card redisplay works fine when we use Payment Elements, but not on Stripe Checkout.

Related Request ID(s)
req_BEOVhUCxl2IPaf

What have you already attempted?
- Changing filter parameters to always, limited and unspecified in different requests.
- Saving payment method via Stripe Checkout (that works)

#

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

Question
I am from Chargebee L2 Engineering team. Previously we see Canadian Merchants were able to accept ACH-US Direct Debit. However, now they are receiving an error "us_bank_account is invalid". Is there a new restriction, were the merchants notified on this?

Related Request ID(s)
NA

What have you already attempted?
I am able to replicate the issue but wanted to know about backward compatibility

#

👋 Hi from Stripe Support.

Summary:
User has an issue where the "update customer" button in the dashboard is unresponsive. This happens across multiple team members and devices. Tried this live with the user but no update events/logs are created when they try to update the email address of a customer "cus_SW3fBCf7pMGKBw" screenshot of the button attached on chat

cursive heronBOT
#

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

What did you expect to happen?
Customer cus_R4yroywK4BY8fk to have ability to add Microdeposit payment method again.

What actually happened?
the customer cus_R4yroywK4BY8fk In past the payment method (microdeposit) failed.
Now, when the customer trying to add the method, Stripe is not allowing the customer to add Payment Method shows a error message saying "This account has failed verification in the past and cannot be used. Please enter another account or contact us if you wish to use this account."

Reproduction Steps
This is happening in Production so cant replicate on my end. Customer shared video

Question
Why is it failing now, How to allow adding it again.

What are you working on?
Stripe Integration Maintenance

#

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

Question
Hello, I got this email.

We’ve had some trouble sending requests in live mode to a webhook endpoint associated with your The Rainbow Connection account. Stripe sends webhook events to your server to notify you of activity in your Stripe account, such as a completed payout or a newly created invoice.

The URL of the failing webhook endpoint is: https://rainbowconnection.org/ticket6706/?callback=gravityformsstripe&fid=29

I am not 100% sure what this means or how to even begin to fix it.

Related Event ID(s)
evt_1RnggKFpjXOrnwjUmdakshHR

What have you already attempted?
I looked in the events and realized that it is pulling a different webhooks url, so I think this could potentially be a non issue.

What are you working on?
Following up on an email regarding a clients existing website and its integration

cursive heronBOT
#

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

Question
follow up to: https://discord.com/channels/841573134531821608/1397167745824587839

look, i started my webhook and completed an application flow in local in order to buy a subscription via checkout session. here's the logs:
stripe listen --events customer.subscription.updated,customer.subscription.deleted,checkout.session.completed,invoice.payment_failed --forward-to http://localhost:5002/protected/stripe/webhook

Related Event ID(s)
invoice.payment_failed

What have you already attempted?
> Ready! You are using Stripe API Version [2020-08-27]. Your webhook signing secret is whsec_a7bc2d2284b38df66c58d5cd6cf29962f42389db5de2a17e47a4057b25a516b0 (^C to quit)
2025-07-22 17:17:39 --> checkout.session.completed [evt_1RnhwlKKWf9Suo52KUoqN7tu]
2025-07-22 17:17:39 --> customer.subscription.updated [evt_1RnhwlKKWf9Suo52uDJklfry]
2025-07-22 17:17:42 <-- [200] POST http://localhost:5002/protected/stripe/webhook [evt_1RnhwlKKWf9Suo52KUoqN7tu]
2025-07-22 17:17:43 <-- [200] POST http://localhost:5002/protected/stripe/webhook [evt_1RnhwlKKWf9Suo52uDJklfry]

cursive heronBOT
#

👋 Hi from Stripe Support.

Summary:
The user is facing an issue with Subscriptions and Stripe Checkout.

#

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

Error Message
Error: “Merchant identifier not found”

Question
Why am I seeing “Merchant identifier not found” when I attempt to launch Apple Pay on a real iOS device using testflight, even though I’ve configured everything exactly as per the Stripe docs?

What have you already attempted?
Created and uploaded a valid Merchant ID and Apple Pay certificate in Apple Developer → Identifiers.
Added the Merchant ID to my Xcode project’s “Signing & Capabilities” under Apple Pay.
Confirmed that merchantId matches the one in both Stripe Dashboard and Xcode.
Installed and initialized @stripe/stripe-react-native with live keys in producution

Reproduction Steps
Android (Google Pay) and iOS Simulator flows succeed; only Apple Pay on a physical iOS device fails with this merchant‑ID error. I’m using Stripe’s latest React Native SDK

What are you working on?
I’m building a React Native mobile app (Expo bare workflow) that uses Stripe to accept in‑app payments.

cursive heronBOT
#

👋 Hi from Stripe Support.

Summary:
The user has a problem with API Integration

#

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

Question
Failed payouts used to not include any previous related payouts, did this change recently?

When a Connected account (express) payout fails, the first one we know the link to all the transfers that were going to get paid in that po. But when a new po was tried the next day, and failed, that one did not have any link with the previous payout or the related balance transactions.

Related Event ID(s)
none

What have you already attempted?
A few years ago we tried to reconcile failed payouts automatically but the data didn't exist

What are you working on?
Failed payout reconciliation flows.

#

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

What did you expect to happen?
I expected to be asked for confirmation for a PaymentIntent with confirmation_method=manual that used RevolutPay after finishing the redirect. In the docs I read the status will change to requires_confirmation after each next_action.

What actually happened?
I had to confirm the PaymentIntent once after setting the payment method to revolut, "unlocked" the next_action with redirect url but after completing the redirect, the status of the PaymentIntent changed to succeeded instead of required_confirmation as I had expected.

Reproduction Steps

  1. Create a PaymentIntent with confirmation_method=manual
  2. Set revolut_pay as selected payment method for the PaymentIntent
  3. Confirm the PaymentIntent
  4. Complete the redirect
  5. Retrieve the PaymentIntent and look at its status

Question
I wonder if the behaviour I observed is intended. If it is, I do not understand what confirmation_method=manual is meant for, because PaymentIntents created with it can't be used in Payment Elements in StripeJS, so it isn't even useful for other payment methods without redirect

#

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

Question
We are a product that allows users to create accounts and provide a payment method via Tap to Pay as well as Stripe Elements.

Assuming a user has registered in app (Stripe Elements) and added more than 1 payment method (credit/debit cards or Google/Apple pay), is it possible to recognize that user via Tap to Pay without storing a list of card fingerprints in our database?

In other words, is it possible/advise-able to use a Payment Method to get an existing Stripe Customer ID linked to that PM?

Doc/Guide Links
https://docs.stripe.com/terminal/features/saving-payment-details/save-directly

https://docs.stripe.com/api/payment_methods

What are you working on?
Renting assets and charging conditionally if the asset is not returned

#

@vale pecan 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
facing this issue on wordpress when testing the integration as a user

What have you already attempted?
tried to chat with support but the issue didnt resoled

Reproduction Steps
Need clear guidance i have instructions from plugin

What are you working on?
Im integrating stripe into my wordpress website ulimate member pro plugin

cursive heronBOT
#

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

Code
I am having issues to run the app on S700 device: https://github.com/stripe-samples/terminal-apps-on-devices

Question
Need help with successfully running the app.

What have you already attempted?
I have deployed the backend via render, and before deploying , used the correct api key. Also, after deploying, as per documentation I have edited the backend url, and for the same stripe account, the reader is also registered.

What are you working on?
S700

#

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

Error Message
Error: No configuration provided and your test mode default configuration has not been created. Provide a configuration or create your default by saving your customer portal settings in test mode at https://dashboard.stripe.com/test/settings/billing/portal.\n

Question
A very straightfoward error, however, my portal page has been created for a long time, so I think this is related to connectAccounts, since I get this error when calling

session = await stripe.billingPortal.sessions.create({
customer: customerId,
}, {
stripeAccount: connectAccountId,
});

if that's the case, how do I fix it?

What have you already attempted?
doing additional changes to portal page

#

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

Question
Hello, I am a C# developer looking for technical help. I am using the endpoint /v1/tax/calculations to lookup State Tax by ZIP code. My business has registered 5 states. One of the states, TX, seems to work fine and return the tax rate. The other states (HI, SD, NM, WV) return a 0% tax rate with the response including "taxability_reason":"not_collecting". I will attach a sample request/response payload for TX (working) and for NM (not working). Can you please give me an idea to try?

Related Request ID(s)
N/A not seeing it in logs

What have you already attempted?
Asking Copilot/Google why a state would show "not_collecting". Verifying the states appear on the dashboard in the "Registered" tab of Tax. Filling in properties in the CalculationLineItemOptions object I am submitting

What are you working on?
Enhancement to an Invoice tool to look up the Sales Tax % from an API

cursive heronBOT
#

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

Question
I can not figure out any of the coding for SDK API or webhooks to get Stripe to work on my app. The integration is there and the button option is on my app but when you click it it says theres more integration steps

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

What have you already attempted?
install stripe sdk
configure webhooks endpoints
implement invoice creation API

What are you working on?
Allowing my team to take payments on their apps

#

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

What did you expect to happen?
When creating a checkout session `on_behalf_of` another connected account, I expected the receipt from that transaction to use the Connected account's branding not the platform's.

What actually happened?
The email receipt uses our platform branding information instead of the connected account's branding.

Reproduction Steps

  1. Create a checkout session with `on_behalf_of` set to a connected account and `transfer_data.destination` set to that same connected account.
  2. Complete the checkout session with a test card.
  3. view the receipt in the dashboard or your email if it sends it to you in test mode.

Question
Why is the receipt using the platform's branding instead of the connected account's branding?

#

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

Question
We use stripe connect onboarding to verify customers and enabled payouts. In some cases, companies who go through verification are showing verification.status as pending (in the persons object). While in the Stripe dashboard they are showing as verified. Is this still the correct field to reference when showing our customers that they are properly verified?

Related Request ID(s)
n/a

What have you already attempted?
GET to accounts to verify response

#

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

Question
Hey! I’m building a peer-to-peer marketplace (like eBay Kleinanzeigen or Vinted) using Stripe Connect (Express accounts). Buyers pay both platform and Stripe processing fees upfront. I charge via Stripe Checkout, sending platform fees to me and the rest to sellers. Payments include cards, Apple Pay, PayPal, etc. Stripe fees vary by payment method, card type, currency conversion, and country, so I don’t know exact fees before payment. How do others handle this? Should I estimate max fees and include them upfront? Can Checkout update dynamically by payment method? If a seller rejects post-payment, does Stripe refund fees? Thanks!

Doc/Guide Links
https://stripe.com/au/connect/pricing#:~:text=You handle pricing-,International and country-specific fees,pay out of your transactions.

What are you working on?
I’m building a marketplace for casual sellers (non-business users) to list plants. Buyers pay the product price plus platform and Stripe fees. I want to show buyers the final total price before Checkout, including platform and e

cursive heronBOT
#

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

Question
I switched from 2024-12-18.acacia
to 2025-06-30.basil . subscription prices are in USD, our account is in EUR, I want to get the Exchange Rate used. Earlier, I used the payment intent - paymentIntent.getLatestChargeObject().getBalanceTransactionObject().getExchangeRate();

How to do this with 2025-06-30.basil?

Related Request ID(s)
evt_1RnlkBAfQ68zM8ansmhPRvjV

What have you already attempted?
Stripe Docs, GPT, trial and error coding

cursive heronBOT
#

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

Question
I'm trying to understand how to recognize a user by card fingerprint or customer ID when using both card present and card not-present workflows.

Our solution allows a user to identify themselves at a Terminal with a card or mobile wallet tap, but also to sign up using Stripe elements.

I'm confused by the presence of both a regular payment method and a generated payment method during Tap to Pay and which of these would map to a card added to a customer when using Stripe elements, and the best way to keep them all connected.

Doc/Guide Links
https://docs.stripe.com/terminal/features/saving-payment-details/save-directly?terminal-sdk-platform=react-native

What are you working on?
Renting assets and charging conditionally if the asset is not returned

#

@elder panther 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/get-started-connect-embedded-components

Question
I am working on making connected accounts but it keeps making new accounts and messing with my process

What have you already attempted?
I looked on dashboard i need to delete the duplicate accounts

What are you working on?
connected account swith embed components

cursive heronBOT
#

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

Error Message
Exception java.lang.RuntimeException: Exception thrown when executing UIFrameGuarded
at com.facebook.react.fabric.FabricUIManager$DispatchUIFrameCallback.doFrameGuarded (FabricUIManager.java:1400)
at com.facebook.react.uimanager.GuardedFrameCallback.doFrame (GuardedFrameCallback.kt:25)
at com.facebook.react.modules.core.ReactChoreographer.frameCallback$lambda$1

Question
How do we prevent this error from happening?

What have you already attempted?
From the research I've done this error seems to be some kind problem with using stripe stuff within a react native modal, but according to some github issues I saw they said it was fixed. I can't actually get the error to happen locally but it happens in the Google Play review on the submission of our app.

Reproduction Steps
const { embeddedPaymentElementView } = useEmbeddedPaymentElement(intentConfig, elementConfig);

<Modal >
{embeddedPaymentElementView}
</Modal>

We are on version 0.50.0 of the @stripe/stripe-react-native package which is shouldn't have this problem.

What are you working on?
Trying to build a payment system into our react native/expo app with the stripe-react-native package

cursive heronBOT
#

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

Code
vendors-ab1cd7d0.8ccd3135.js:1 Uncaught (in promise) Error: Failed to load Connect.js
at HTMLScriptElement.<anonymous> (vendors-ab1cd7d0.8ccd3135.js:1:3135)Understand this error
main.2d2e074d.js:1 Unhandled promise rejection: Error: Failed to load Connect.js
at HTMLScriptElement.<anonymous> (vendors-ab1cd7d0.8ccd3135.js:1:3135)

Question
I am trying to integrated embed components and it wont load the components.

What have you already attempted?
I have looked through docs tried to fix nothing happened.

What are you working on?
web app

#

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

Code
const paymentOptions = {
appearance: {
theme: 'stripe',
variables: {
colorPrimary: '#334740',
},
},
clientSecret: invoiceData.confirmationSecret,
};

<Elements stripe={stripe} options={paymentOptions}>
<PaymentForm invoice={invoice} onPaymentSuccess={onPaymentSuccess} />
</Elements>

Question
How to show the funding instructions for the bank transfer options? I was expecting the Stripe elements to render a similar component showing the funding instructions.

What have you already attempted?
My flow starts with the invoice created and confirmed from the Stripe dashboard and I use the confirmation secret to load the Elements. Following in partial this docs here: https://docs.stripe.com/invoicing/integration?method=elements

cursive heronBOT
#

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

What did you expect to happen?
Credit balance should apply to all Checkout sessions for a customer

What actually happened?
Credit balance appears not to apply to a non-subscription Checkout session?

Reproduction Steps
Current open checkout session: `cs_live_a14z8cU75XAkGZzQuiRT4mpalxgpbLI4YcVfcKTxcZc3mw8oKMTMKKTJlq`.

Or, create a Checkout session with the following line_items arg:

```
"line_items": {
"0": {
"price_data": {
"currency": "usd",
"product": "prod_SZbzzb0COHdErW",
"unit_amount": "501"
},
"quantity": "1"
}
},
```

Question
My test account (cus_PDFAHk5KlpiRVm) has a large credit balance in ZAR curency. This account has a subscription (sub_1Rm0kZGQ5L54VFKVIfZqCQgd) and it is clear that the next invoice will be paid in full by the credit balance. But the credit balance does not seem to apply to a non-subscription Checkout (see checkout_id from earlier cell)

cursive heronBOT
#

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

Question
Hello
I use the stripe woocommerce plugin and it doesn't let me charge my credit card.

Related Event ID(s)
https://www.anatomyfour.com/wp-json/wc-stripe/v1/webhook

What have you already attempted?
Tried reconnecting several times. In test mode, there is no problem. When in live mode, it is rejected.

What are you working on?
I want to be able to make payments on the website.

cursive heronBOT
#

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

Question
I've set up a Stripe sandbox for PHPUnit testing, but it's currently only accessible through my account. We need our backend team and CI pipeline to access the same sandbox environment.

What's the best practice for sharing a Stripe sandbox across a development team? Should we use organization feature in Stripe?

Doc/Guide Links
https://docs.stripe.com/sandboxes/dashboard/organizations

https://docs.stripe.com/sandboxes/dashboard/manage

What are you working on?
Backend API (PHP)

cursive heronBOT
#

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

Question
Question related to transfer amount between multiple accounts.

Related Request ID(s)
8765432

What have you already attempted?
Implemented the payment flow with the separate charge and transfer method.

#

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

Question
May I ask, when we create a subscription price using the "Create a price" API and set the currency to USD, but the user's IP is located in Japan, will the user be required to pay in JPY or USD?

Related Request ID(s)
req_fjFFEw8tvw0Z6C

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
If i have a subscription with priceId A/month. then i want to update the price so the next period which is next month to price B. can i just using update API directly?

Related Request ID(s)
sub_1RnxIaKxUzgEvuWhwD4MkNkm

What have you already attempted?
create the subscription

cursive heronBOT
#

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

Question
Why is amount_paid 0 for this event? And To know how much was paid, what property should I look for invoice.paid then?

Related Event ID(s)
evt_1RnxdFR3ZSJy0f3VYsTpz2be

What have you already attempted?
I set a webhook for invoice.paid. But its amount_paid is 0. Why is this?

cursive heronBOT
#

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

Question
I want to change price for my existing susbcription. from price_abc(10 USD) to price_xyz(100 USD). i want the 100USD only charge in the next period. so do not change anything in the current period. is that okay if i am using update subscription? (what i mean okay is, if i change to 100 the remainder will not be charged to the customer, and vice versa, if the current price is higher, there will be no refund)

Related Request ID(s)
sub_1RnybhKxUzgEvuWhllrew7MT

What have you already attempted?
const subscription =
await this.stripeClient.subscriptions.retrieve(
stripeSubscriptionId,
);
const currentItemId = subscription.items.data[0].id;

      await this.stripeClient.subscriptions.update\(stripeSubscriptionId, {
        items\: \[
          {
            id\: currentItemId,
            deleted\: true,
          },
          {
            price\: newPrice.id,
          },
        \],
        proration\_behavior\: 'none',
      }\);

i did that

#

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

Code
I have a Stripe Checkout within our webapp and working fine. We have recently started accepting Malaysian MYR currency transactions.

Question
Currently on LIVE environment our customers in Malaysia can see CARDS & LINK as payment options, but we want to provide them with options : Boost, Touch'n Go, GrabPay, etc. Essentially the eWallets & pay app options should show for Stripe.

What have you already attempted?
We tried changing the Payment Mode options, but lots of the above do not show up in the list. Please help.

#

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

What did you expect to happen?
A pending_setup_intent to be created on a subscription with a trial

What actually happened?
No pending_setup_intent was created, failing to collect card details

Reproduction Steps
It happens on this checkout form, https://mindsip.checkoutpage.com/monthly, but not on this reproduction copy https://checkoutpage.checkoutpage.com/mindsip-monthly

Question
Here's a request ID from the subscription creation: req_9flYW3gyQfEv7a

In my other tests through different Stripe accounts (we're a connect platform) it works as expected, but for this account no `pending_setup_intent` is being created.

What are you working on?
Checkout Page, no-code checkout page builder, on top op Stripe Connect

cursive heronBOT
#

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

Question
https://docs.google.com/document/d/1G3rxp6k-O_Hrnomq2TdaJQ5INqm63q-uaWjH0IZXvG8/edit?hl=ja&tab=t.0#heading=h.ffvwsjwd73f7
It was too long to fit here, so I summarised it in a document.
Please let me know if there is any information missing.

Doc/Guide Links
https://support.stripe.com/questions/enabling-konbini-payments-for-japan-based-stripe-accounts

What are you working on?
engineer

cursive heronBOT
#

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

Question
What is the difference between the `invoice.paid` and `invoice.payment_succeeded` events?

Related Event ID(s)
N/A

What have you already attempted?
Looked at the docs but its not quite clear

What are you working on?
Subscriptions

cursive heronBOT
#

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

Code
I have a Stripe Checkout within our webapp and working fine. We have recently started accepting Malaysian MYR currency transactions.

Question
Currently on LIVE environment our customers in Malaysia can see CARDS & LINK as payment options, but we want to provide them with options : Boost, Touch'n Go, GrabPay, etc. Essentially the eWallets & pay app options should show for Stripe.

What have you already attempted?
We tried changing the Payment Mode options, but lots of the above do not show up in the list. Please help.

#

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

Question
The thread was closed, so I would like to ask the question again.

Question
How to enable convenience store payments from the dashboard with a Standard linked account

I enabled convenience store payments from the payment methods in the linked account in the test environment. After that, I retrieved the latest account status with the account retrieval API and checked the capability, but I could not find the value for konbini_payments.

In the test environment, it is enabled immediately without actual review. Therefore, is it correct to assume that this behaviour only occurs in the test environment, and that the capability is updated in the production environment?

Doc/Guide Links
https://docs.stripe.com/connect/payment-methods
https://docs.stripe.com/connect/required-verification-information#JP+JP+none+full+company+konbini_payments
https://support.stripe.com/questions/enabling-konbini-payments-for-japan-based-stripe-accounts

What are you working on?
Engineer

cursive heronBOT
#

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

Question
When using the CalculationService for calculating tax with the .net SDK, I am getting this error: "the provided customer object does not have any associated addresses. ". This is for a user that has chosen to use PayPal, for which we do not require address.
Is there any way to calculate the tax for PayPal users without requesting an address?

Doc/Guide Links
https://docs.stripe.com/api/tax/calculations/create

What are you working on?
Payments for a subscription service

cursive heronBOT
#

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

Question
im trying to implement metered plans. I have a subscription tier, that has two metered usages - one is $1 per event, and the other is $0.33 per event. What is the best way to set this up such that i can charge both meter events to the same subscription and have that be reflected in the invoice at the end of the billing period?

Related Request ID(s)
n/a

What have you already attempted?
see above

cursive heronBOT
#

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

Code
How can I hide stripe checkout page leftside informations.

Question
How can I hide stripe checkout page leftside informations.

What have you already attempted?
How can I hide stripe checkout page leftside informations.

What are you working on?
How can I hide stripe checkout page leftside informations.

#

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

Question
I'd like some more information on how GB Bacs Direct Debits mandate with multiple/"dual" signatories work from an API perspective.

Is there some sort of API endpoint to trigger generating/downloading the paper mandate form as a PDF, and then submit it once it's been filled in? Does Stripe Checkout have a web-based flow for the dual signature mandate (similar to GoCardless' "payer_requested_dual_signature" option) that would do this for us?

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/bacs-debit?locale=en-GB

What are you working on?
Recurring billing via DDs

cursive heronBOT
#

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

Question
Hi!

We’ve observed a significant difference in the Stripe Billing Portal UI between our Sandbox and Production environments.

In both environments, the subscription is in a past_due state.

However:
• In Sandbox, the Billing Portal correctly displays the “Payment failed” badge and the “Update payment method” button next to each affected subscription.
• In Production, although the subscription is also in a past_due state, the UI does not show the “Payment failed” message or the “Update payment method” prompt.
We create the Billing Portal session using the Stripe .NET API.

Related Request ID(s)
req_KIbFAJPkx5Z4sW

What have you already attempted?
Tried to change parameters to create the Billing Portal session, but nothing helps

What are you working on?
Smart dunning application

#

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

What did you expect to happen?
When the user finish the payment using boleto, it should redirect the user to the url passed through the success url request that created the checkout

What actually happened?
When the user finish the payment using boleto, it stays at the same page and don't redirect the user to the success url request that created the checkout

Reproduction Steps
1- Create checkout using the checkout endpoint, passing the success-url
2- Redirect the user to the checkout url
3- The user selects 'Boleto' as payment method
4- Stripe shows the information of the Boleto for payment
5- The user pays the boleto
6- Stripe don't redirect the user to the success-url

Question
Could stripe redirect the user to the success url after the payment is completed?

What are you working on?
The checkout for the plans of a Sewage Treatment Plants app

#

@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-samples/terminal-apps-on-devices

Question
Unable to run the sample app on S700. App keeps on loading and doesnt enable the payment button.

What have you already attempted?
Used one my stripe account secret key, and deployed backend via render, used that backend url and pasted in my local.properties

What are you working on?
S700 apps on devices.

#

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

Question
I want to automatically create/attach a credit note to a full/partial refund when one is created without a credit note.

Related Request ID(s)
request-id: req_xtDfdN4wnZxZqS

What have you already attempted?
Stripe docs, GPT, trial and error coding

What are you working on?
create/attach a credit note to a full/partial refund

cursive heronBOT
#

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

Question
I'm trying to process payments on a S700 terminal, (In PHP) the terminal almost always responds with a payment_pending response, can I query the same payment intent ID again to get a success or fail? And if so how many times?

Related Request ID(s)
None

What have you already attempted?
I've read the API docs, and the stripe SDK guides

What are you working on?
Collect payment with s700 terminal

#

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

Question
I have the users create the price item, then that price item is used to create a subscription. So with many users there will be a lot of price items in my dashboard. Is this a problem? Am I going to run into issues down the road with this kind of set up? Any advice is appreciated

Doc/Guide Links
https://docs.stripe.com/api/prices
https://docs.stripe.com/api/checkout/sessions
https://docs.stripe.com/subscriptions

What are you working on?
Mobile app pay what you want/can subscription model

#

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

Error Message
1) Blocked a frame with origin "https://b.stripecdn.com" from accessing a frame with origin "https://js.stripe.com". Protocols, domains, and ports must match.
2) 401 (): https://api.hcaptcha.com/authenticate
Iframes named hcaptcha-invisible and HCaptchaInvisible.htm
3) Iframes named hcaptcha-invisible and HCaptchaInvisible.html are being loaded from js.stripe.com

Question
We’re currently integrating Stripe Express Checkout on our website, and we’re encountering a blocking issue:
when a user clicks on the Apple Pay button, nothing happens — the Apple Pay sheet does not appear.

How can you help us to fix it? Do you have any issues?

What have you already attempted?
Tried turning this setting on and off

<script src="https://js.stripe.com/basil/stripe.js?advancedFraudSignals=false"></script>

Reproduction Steps
Go to app.we53.io
Enter phone number and authorize
Enter vending ID: 26036
Try to click on "Pay with Apple Pay"

#

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

Question
Our product will rely on coupons that vary in duration. But https://docs.stripe.com/api/coupons says `duration_in_months` is deprecated. What is the timeline for the replacement, and in the meantime are there any alternatives.

Related Request ID(s)
N/A

What have you already attempted?
Well as of now, just using duration_in_months.

What are you working on?
A SaaS product

#

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

Question
Hey there, I want to create some service that notifies us if a subscription is going to cancel in x days (say 15 or 30 depending on the interval). At first I thought to use invoice.upcoming, but it doesnt work because there won't be an invoice. Any ideas on what approach I could take?

Related Event ID(s)
N/A

What have you already attempted?
Researching invoice.upcoming

#

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

Question
We are receiving incoming webooks for payment_method.detached events. Occasionally, the payload for the payment_method.detached event will contain details in the previous_attributes hash - as seen in the event evt_1RnRlbKYTiCt9KzSUEw9oK67. Other times the payload will not contain the previous_attributes hash. I wanted to clarify the logic and why the previous_attributes hash may be empty, such as with the event evt_1Rnm94KYTiCt9KzS3of6fTcs.

Related Event ID(s)
evt_1Rnm94KYTiCt9KzS3of6fTcs, evt_1RnRlbKYTiCt9KzSUEw9oK67

What have you already attempted?
Reading the Stripe documents, API changelog and stripe-ruby Github issues.

What are you working on?
openunit.com

cursive heronBOT
#

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

Code
if (cleanupPrices) {
messages.push('\nDEACTIVATING TEST STRIPE PRICE');

await Promise.all\(
  cleanupPrices.map\(async \(priceId\) =\> {
    await stripe.prices.update\(priceId, {
      active\: false,
    }\);
  }\),
\);

}

Question
When using the Stripe Node SDK 17.7.0 I am trying to archive a price from a product but this fails with the error message: " This price cannot be archived because it is the default price of its product."

Is it possible to archive a default price on product?

What have you already attempted?
I have been looking through documentation trying to understand if this is possible. The request is sent so it's not a problem with invocation of the API and I'm a bit confused as to the issue.

What are you working on?
Running tests and needing to archive test prices after tests have run

cursive heronBOT
#

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

Error Message
Invalid link
This link is invalid or has expired.

Question
when i log in and try to click on my business it says the link in invalid

What have you already attempted?
nothing i can try

cursive heronBOT
#

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

Question
I have three subscription types: A, B, and A+B.

A and B are the same price but orthogonal features. A+B is a higher "bundle" plan.

I want the customer to be able to use the portal to upgrade their subscription, but I am worried about abuse - switching between A and B every other day.

Is there any sort of delay parameter I can use?

Doc/Guide Links
https://support.stripe.com/questions/billing-customer-portal

What are you working on?
Subscription mgmt

cursive heronBOT
#

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

Question
I am testing the case for the Stripe dispute. I have created the dispute and submitted the evidence with the string 'losing_evidence'; however, the status of the dispute remains on evidence submitted.

How could I trigger and test both dispute-lost and dispute-won cases?

- Also, when a dispute is lost and refunded, what would be the reason for the refund, and what other possible reasons could there be? Actually, there could be cases where user might be partially refunded or could be refunded because of two payment from ach and card, on that case, how should i take care of it.

Related Request ID(s)
req_3CPO5Zmp0k9Z0a

What have you already attempted?
tried by passing, losing_evidence as string on description when submitting evidence

What are you working on?
dispute and refund handeling

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/api/idempotent_requests

Question
How long do you store idempotency_keys?

What have you already attempted?
I don't quite understand this part:

"You can remove keys from the system automatically after they’re at least 24 hours old. We generate a new request if a key is reused after the original is pruned. The idempotency layer compares incoming parameters to those of the original request and errors if they’re not the same to prevent accidental misuse."

What are you working on?
I'm creating PaymentIntents inside background jobs. The job might fail and retry, so I'm using idempotency_keys to help prevent dupliate charges.

#

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

What did you expect to happen?
Trial invoices not showing up as churn

What actually happened?
Using this https://docs.stripe.com/billing/subscriptions/billing-cycle#change-the-billing-cycle-using-a-trial-period to change subscription payment date generates a $0 trial invoice that shows up on the churn revenue report. User never actually churned.

Reproduction Steps
When invoice fails we change their payment date using trial to be `day when the invoice got successfully charged` + 1 month (or 1 year if annual).

Question
Why is it showing up as churn? User never churned we just changed their payment date.

What are you working on?
Stripe as a payment gateway

cursive heronBOT
#

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

What did you expect to happen?
We have added our Domain in Payment Domain list via Stripe Dashboard and when we open crypto onramp, it should not provide an error of insecure current domain.

What actually happened?
We have integrated Stripe with our system on Prod. But we are getting an error message while purchasing ETH. And we are using JS SDK for rendering UI in HTML DIV Tag along with creating client secret. We have already added our domains in Payment Domains in Stripe Dashboard.

Reproduction Steps
Launch Crypto Onramping via JS SDK and Java Client Secret.

Question
How can I resolve this issue as my domain is already whitelisted?

What are you working on?
Crypto OnRamping

#

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

Question
On stripe, when we're passing a variable price like for donations during the checkout session creation, is there a specific way it has to be passed so that it doesn't always create a new price object?

Related Request ID(s)
General Question

What have you already attempted?
General Question, Thank you!

cursive heronBOT
#

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

What did you expect to happen?
I want to add customer_balance to our user sign-up flow for certain trusted customers

What actually happened?
message:

"Error creating checkout session Error: The payment method `customer_balance` cannot be used in `setup` mode."

Reproduction Steps
const options: Stripe.Checkout.SessionCreateParams = {
mode: 'setup',
payment_method_types: allowCreditCard
? ['card', 'us_bank_account', 'customer_balance']
: ['us_bank_account', 'customer_balance'],
payment_method_options: {
customer_balance: {
funding_type: 'bank_transfer',
bank_transfer: {
type: 'us_bank_t

Question
How can we set up a checkout session with a customer balance bank transfer

#

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

Question
Hi there, I'm trying to see metadata on reverse transfer objects. I'm using code similar to what's posted in this gist: https://gist.github.com/Niximacco/660851408b5fac913f2beeb65659f3c9

I'm not seeing metadata added to the reverse transfers. I'm not sure what's going wrong since I can see the amount getting set correctly and that's set the same place I'm adding metadata. Any ideas?

Related Request ID(s)
f4035bfe-7bac-48d2-a4d7-ad9689bcb592

What have you already attempted?
I've attempted a few changes to our code, namely changing the metadata object into just a flat dictionary which got errors from stripe.

What are you working on?
An ecommerce platform with partner accounts that we use reverse transfers for to capture dispute fees.

#

@gray elbow 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/invoicing/send-email

Question
Under "Subscriptions and emails", there are options to send Email reminders about upcoming renewals, expiring cards, card payment failures, and ACH failures. There are two places for links as well - "Choose where customers update their payment information" and "Subscription Management". Both offer the option to "Use your own custom link".

Is there a solution similar to "Embedded Checkout" that allows one to embed payment method updates and subscription management into their own website branding?

What have you already attempted?
I've looked through the docs and haven't seen an answer to this question.

What are you working on?
We need custom branding for multiple brand names that are managed under the same LLC. I'd like to send the customers to the specifically branded URLs they originally purchased their subscription from

#

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

What did you expect to happen?
Retention coupons should be applied to the subscription upon renewal

What actually happened?
Retention coupon applied to *next* months subscription payment

Reproduction Steps
Configure retention coupon from dashboard. When it is offered during cancellation, accept. Upcoming renewal will be charged at full price, and coupon will be applied to following month.

Question
Is this possible to configure such that the coupon will be correctly applied to the next renewal after accepting the coupon?

What are you working on?
https://t3.chat

#

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

Error Message
Expired API Key provided: sk_live_*********************************************************************************************211nb6

Question
How did our API key expire? I can't see any security/audit trail actions that would cause this, no emails, or any documentation.

What have you already attempted?
I've updated our integration to use the new key, which has resolved the issue, but need forewarning for next time this happens so we don't have an outage

What are you working on?
AI Agent for self-healing CI

cursive heronBOT
#

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

Code
I need help with my backup code

Question
I need help with my backup code

What have you already attempted?
I need help with my backup code

What are you working on?
I need help with my backup code

#

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

Code
Who do i chat to in order to get my back up code for stripe for the 2FA authenticator?

Question
Who do i chat to in order to get my back up code for stripe for the 2FA authenticator?

What have you already attempted?
Who do i chat to in order to get my back up code for stripe for the 2FA authenticator?

What are you working on?
Who do i chat to in order to get my back up code for stripe for the 2FA authenticator?

cursive heronBOT
#

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

Question
We have a booking platform and we're using stripe to process customer payments.. We then hold onto the money until after booking date which is when we transfer money to our store (less commission and fees. We're using stripe connect however we have some confusion over whether we need to pay another fee for the payout or whether it can be waived somehow. Can anyone help guide on this and whether there is a better way to handle this?

Related Request ID(s)
Dashboard -

What have you already attempted?
Stripe connect, looked at the payout docs. Also contacted Stripe product specialist but not been contacted yet.

What are you working on?
Building a booking platform where users can book and we payout to our stores

cursive heronBOT
#

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

Question
I need to retrieve Stripe Invoice object from both a Stripe Payment Intent object and a Stripe Charge object in the Stripe NodeJS/Typescript SDK. Can you walk me through how i can achieve this? A working code snippet would be very helpful. Thanks!

Related Request ID(s)
N/A

What have you already attempted?
I've read through the Stripe API docs and have talked to the Stripe AI bot on the Stripe API page and neither helped unblock.

What are you working on?
I'm implementing in NodeJS/Typescript logic to retrieve a Stripe Invoice object given a Stripe Payment Intent object and a separate logic to retrieve a Stripe Invoice object given a Stripe Charge obj.

cursive heronBOT
#

@sinful arch 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/integration

Question
Can you record usage events for freemium/free trial users(no credit card provided)?

What have you already attempted?
Searched documentation for answer.

What are you working on?
Credit based AI with free tier of a daily amount of credits that resets daily.

cursive heronBOT
#

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

Question
Is it possible to get the paymentIntents recieved amount after tax?

payment_intent.succeeded for a product that costs 10 Euros returns `amount_received` = 1000

Looking into the connect account the final money after fees the account got was €8.42 EUR

I somehow need to get this value after the purchase

(Ignore that webhook failed if looking into the event, already fixed but relevant is only the body)

Related Event ID(s)
evt_3RoBtPIhqKh0OnYl0GD04VDO

What have you already attempted?
Checked through all events

What are you working on?
Marketplace tool for selling plants

cursive heronBOT
#

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

What did you expect to happen?
We've followed Stripe's advice to use Sandboxes when building an app instead of test mode.

However, we find we have to keep uploading new app versions with our updated code to evaluate changes. This is super slow vs. just reloading the app. Are we missing something?

What actually happened?
Changed from building an app in test mode to using sandboxes instead.

Reproduction Steps
Start by building stripe app for test mode. Then, enable sandbox installs by updating the app manifest. Update code and try and evaluate changes by running the app.

Question
Are we able to make updates to our stripe app while developing it and evaluate these changes on the stripe dashboard without having to continuously publish a new version.

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
When interacting with Apple Pay UI via the express checkout element, selecting a shipping method from the Apple Pay UI should provide correct shipping rate in the event sent to the `shippingratechange` handler.

What actually happened?
For macOS Safari version 18.5, the event seems to always contain the previously selected rate. For macOS Safari version 18.0, the event contains the correct rate.

Reproduction Steps
In macOS Safari version 18.5, given an `element` with three shipping rates: Free, Ground, and Overnight, bring select Apple Pay, then select "Ground", and the event sent to `shippingratechange` will contain the rate info for "Free". Select "Overnight", and the event will contain the rate info "Ground". And so on.

Question
Given that this works as expected in macOS Safari 18.0, I suspect there's a bug in Safari 18.5. But, I'm also shocked that I'm somehow the first to notice this given 18.5 was released in May 2025. So, I guess my question is, "is this a bug? or am i doing something wrong?" Obviously more context will be needed if it's the latter.

What are you working on?
Apple Pay via Express Checkout Element

cursive heronBOT
#

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

Question
I need to get the stripe payment secret key for my educational app

Related Request ID(s)
Developer keys

What have you already attempted?
I have the API test key but will not let me use the live stripe secret key

What are you working on?
Jim working on an educational app

cursive heronBOT
#

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

What did you expect to happen?
A few of my returning customers' payments got blocked for some reason even though they should be legit. Not sure what's triggering Radar.

What actually happened?
Their payments are getting denied.

Reproduction Steps
Can't reproduce since it's Stripe Radar

Question
How might this be resolved? I'd like some transparency as to why some of my customers' payments are getting denied.

cursive heronBOT
#

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

Question
I want to connect to the custom payment gateway

Related Request ID(s)
12345

What have you already attempted?
I have attempted to go live in dashboard, but i want to connect to the custom api one

What are you working on?
commerce web

cursive heronBOT
#

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

Question
On September 10, a subscription payment fails, creating a $50 invoice (Invoice A).

On September 15, the same subscription fails again, creating a $100 invoice (Invoice B).

If another payment fails later, will the new invoice include the previous $50 balance (totaling $150)?

Since I only store the latest failed invoice ID (Invoice B), what amount will be charged if I manually retry payment—$50 (Invoice A), $100 (Invoice B), or a combined total?

I need clarity on how Stripe handles recurring failures and manual retries for unpaid invoices."

Related Request ID(s)
1

What have you already attempted?
"I'm working with the Stripe API and intentionally added the test payment method 4000000000000341 to my subscription to trigger the invoice.payment_failed webhook for testing.

What are you working on?
Stripe Webhooks

cursive heronBOT
#

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

Question
I have an embedded checkout in my react frontend and I am creating a checkout session with subscription schedule but What's happening is 2 subscription objects are getting created in dashboard for some reason and one of them shows overdue for some reason after collecting the payment.

Related Request ID(s)
req_0wv5Yds4X6QiO4, req_NAEVVfar3E3uG1, reqreq_K5pnQIExzL5P08_sYreq_7KJYdhoDjJ7Oph, 3YImUYFlzMyl, req_sUK4M86TPd45mN,

What have you already attempted?
Nothing so far, There's nothing much on subscription schedule integration

What are you working on?
I want to give my neweb.ai customers a paid trail before the subscription starts

#

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

Question
I am using 2025-06-30.basil. The amount of a refund - is this with or without tax?

Related Request ID(s)
none

What have you already attempted?
Read the docs.

What are you working on?
finding out if a refund is with or without tax

cursive heronBOT
#

@errant venture 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/instant-payouts

Question
We are using Stripe Connect with direct charges and Payment Element to process customer payments into connected accounts. We made a test transaction of $2, but the amount is not reflected in the connected account’s Stripe dashboard (under Payments or Balance).
We want to confirm if we’re handling Instant Payout eligibility and fund routing correctly, and whether any additional setup is needed to ensure funds appear immediately (even if pending).
Can you help us understand:
Why the connected account is not seeing the $2 transaction?
How to confirm whether the transaction was correctly routed

What have you already attempted?
We created a $2 payment using Stripe's Payment Element with a connected account.

We checked the Connected Account Dashboard under:

Payments → no transaction is showing

Balance > Pending → no pending amount is shown

Balance > Available → no change

We also checked our platform dashboard, and it looks like the charge might have landed there instead.

We used the PaymentIntent API with application fee and attempted to set the stripeAccount parameter (but need confirmation).

What are you working on?
We are working on enabling Stripe Instant Payouts for our connected accounts (event organizers) and want to ensure: Funds from transactions flow correctly into the connected account.

cursive heronBOT
#

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

Question
We have a marketplace and on top of that we currently have an implementation where we receive money from a government instance and we need to reconciliate that money with our data to mark orders as paid.
We made a "fake" stripe customer with a bank account payment method so that the instance can send money to us.
When we receive money (thousands and thousands of small transfer per day) we do a reconciliation. It's super costly and even stripe has issues to show this customer account because of all the transfers it has. If we want to move away from this implementation, what do you suggest?

Doc/Guide Links
We do not really have links

What are you working on?
Marketplace

cursive heronBOT
#

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

Question
Using 2025-06-30.basil, whenever my backend receives a refund created from the stripe dashboard, without a credit note attached to it, I want my backend to fix that and create a correct credit note for it, as our further (accounting) processes require that.

I created some code, but I am not sure if it is working correctly.

Related Request ID(s)
evt_1RnlVgAfQ68zM8anRC6TCfWO, evt_3RnlVbAfQ68zM8an0XUuPKRQ, evt_1Ro9jjAfQ68zM8anrkQYUTSG

What have you already attempted?
Read the stripe api documentation in detail, GPT, trial and error for days now :(

What are you working on?
Creatign credit notes for refunds

cursive heronBOT
#

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

Question
We updated our PHP Stripe SDK from ver 7 to 17, earlier we while creating subscriptions we used to fetch payment intent from subscription's latest_invoice, by passing following while creating subscriptions
'expand' => ['latest_invoice.payment_intent']

Now we are not able to get payment intent from this.
How can I fetch subscriptions payment intent.

Related Request ID(s)
https://dashboard.stripe.com/acct_1GDPndJ7XeRxWFUI/test/logs/req_palGeGc89HM1Q5

What have you already attempted?
Tried fetching invoice from latest_invoice id, even that doesn't contain payment_intent

#

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

Question
I have an unlimited subscription with a "fair usage policy". I will have a credit system behind the scenes - the user will get a grant, actions will deplete it, etc.

The webhooks I'm using are:

invoice.created -> this is to advance draft invoices which can hang out for 1h
invoice.paid -> this is to allocate credits

But I'm noticing there is sometimes a multi-minute gap between the user confirming the charge & the credits finally being allocated.

I'm using current_period_start and current_period_end when allocating credits. So basically, how do I prevent gaps between consecutive credits?

Related Event ID(s)
Not applicable

What have you already attempted?
I implemented my V1 credit system over a year ago, I want to know if there's new functionality I can leverage to make allocation more seamless.

cursive heronBOT
#

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

Error Message
There was an error confirming the Intent. Inspect the paymentIntent.lastPaymentError or setupIntent.lastSetupError property.

Question
I am settng up a payment gateway in a React-Native Appp, running on Expo, everything seems to be working fine, but when I try to test the payment flow in development, I get this error! I am also getting all sorts of relevant data from strip, like payment_id, price_id etc But I am unable to proceed with the payement.

What have you already attempted?
I have tried to add debugging logs at every suspected part, I have referred to the docs and i have read some questions on stackoverflow too, but none of that seemed to have helped!

What are you working on?
I am making a react-native app, that has subscription based usage.

cursive heronBOT
#

@fossil stone 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/radar

Question
Is it possible to completely disable Radar with Stripe Connect?

What have you already attempted?
I don't know if this is really a development issue, but in two months of using Stripe, Radar has never been useful to my business, yet it costs me a lot of money.
I wonder if it is possible not to use it even with Stripe Connect.

What are you working on?
French food delivery service company

#

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

Code
$token = \Stripe\Token::create([
'customer' => $platForm_customer_id,
], [
'stripe_account' => $connected_account_id,
]);

$customer = \Stripe\Customer::create([
'source' => $token->id,
], [
'stripe_account' => $connected_account_id,
]);

$payment_method = \Stripe\PaymentMethod::create([
'customer' => $platForm_customer_id,,
'payment_method' => $platForm_pm_id,
], [
'stripe_account' => $connected_account_id,
]);

$paymentIntent = \Stripe\PaymentIntent::create([

Question
This code is related to our legacy flow. Now we just switch to v3 to set up the payment method using setupIntent I am not sure do we need to clone the customer for this flow or not if we try clone the customer now we are getting "The customer must have an active payment source attached." which is because of we don't have default source attached to it. just want to confirm the flow for direct charges. As we are doing payments without the customer involvement later on the syste

What have you already attempted?
Yes, I try to charge it without cloning the customer and removing the customer_id from paymentIntent. and it worked

What are you working on?
we have a system where we were using stripe v2 token and custoer default source. now we want to switch to v3 using setupintent to make PCI compliant SCA

cursive heronBOT
#

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

Error Message
Stripe doesn't currently support application fees for platforms in US with connected accounts in MY

Question
How can I properly resolve this error? I did some digging and it looks like application fees can be charged in two steps. If I don’t have time to implement that, is there a list of countries where I can’t collect application fees, given that my platform account is in the US?

What have you already attempted?
I attempted to use the `supported_transfer_countries` list but it seems to be the wrong list to look at

Reproduction Steps
Create a platform account in US
Onboard a connected account from MX
Try to checkout

What are you working on?
Billing system using Stripe

cursive heronBOT
#

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

Code
DiscoveryConfiguration.LocalMobileDiscoveryConfiguration m = new DiscoveryConfiguration.LocalMobileDiscoveryConfiguration(simulated);

    Terminal.getInstance\(\).discoverReaders\(
        m,
        list \-\> {
            System.out.println\(list\);

            Reader r = list.get\(0\);

            Terminal.getInstance\(\).connectLocalMobileReader\(
                r,
                new ConnectionConfiguration.LocalMobileConnectionConfiguration\(

Question
I'm getting this error while calling connectLocalMobileReader
com.google.android.finsky.integrityservice.IntegrityException: org.chromium.net.impl.NetworkExceptionImpl: Exception in CronetUrlRequest: net::ERR_NAME_NOT_RESOLVED, ErrorCode=1, InternalErrorCode=-105, Retryable=false

What have you already attempted?
At the end i also get this error
class=TerminalSession
com.stripe.stripeterminal.external.models.TerminalException: Failed to generate attestation.
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.checkAndThrowCotsError(CotsAdapter.kt:462)

cursive heronBOT
#

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

Question
What could be causing these queries to take so long?

A 'create' and a 'cancel' subscription taking 3.5 and 7s respectively

console.time('create');
await subscriptions.create({
customer: user.stripe.customer.customerID ?? '',
items: [{ price: newPlanId, tax_rates: [parsedPlan.data.metadata.taxId] }],
add_invoice_items: [
{
price: parsedPlan.data.metadata.setupPrice,
tax_rates: [parsedPlan.data.metadata.taxId],
},
],
});

console.timeEnd('create');

console.time('cancel');

await subscriptions.cancel(maybeActiveSMSSubscriptionItem.activeS

Related Request ID(s)
req_EbrDOVkA9LYd3P

What have you already attempted?
Logging the time and

#

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

Question
I want to be able to retrieve a Stripe invoice object given an stripe charge id. It would be ideal if the support team can provide a TypeScript snippet for this. I'd appreciate any help you could provide. Thanks!

Related Request ID(s)
N/A

What have you already attempted?
I've chatted with the Stripe AI support and read through the Stripe API docs to experiment with curl commands.

What are you working on?
I'm looking to identify a unique Stripe invoice object given a stripe charge id. Any help would be greatly appreciated. Thanks!

#

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

Question
Hi,
I would like to preview an invoice with a subscription price modification (sub_1RoOkQCrKhyR1Db2h5x3PvNd) for the customer cus_SjsVALCWpNxSez on my Stripe test account.
When I do the modification preview on the dashboard, the amount is 9211 which is what I want.
However, I cannot manage to get the same result via the invoice preview request on the API

I would like to know what are the correct parameters to have the amount of 9211 like the preview please

thank you for your time

Related Request ID(s)
req_eY0dHAO9FQD3YP, req_TvcfeI63eWuOmm

What have you already attempted?
2 requests with 2 different proration_behavior parameters :
req_eY0dHAO9FQD3YP -> amount 226
req_TvcfeI63eWuOmm -> amount 9814

What are you working on?
I'm working on the upgrade subscription feature for my service

#

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

Question
We receive thousands and thousands of transfers per day on one customer account because we used it back in the days as a quick solution to receive transfers from the government. We then use each transfer via a webhook to reconciliate orders on our side. However it's now hard to manage because each of these transfers need to be managed in parallel, we need for each of these transfers to create a payment intent to "pay" us but we cannot do this in parallel, Stripe will complain that we try to access the same ressource at the same time multiple times.

What would be a good and proper way to do this, do Stripe has an "official" alternative from what we did ?

Doc/Guide Links
Not applicable for this

What are you working on?
A marketplace

#

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

Error Message
'No such token'

Question
Hi, I understand that the above error is most likely due to a mismatch in the Stripe Public key used to generate the token and the Stripe Private key used to validate the transaction, but I'm struggling to figure out which Stripe account's Private Key we should be using to execute payment with these tokens

What have you already attempted?
tried swapping around the keys a couple times. I have the request id req_g3UEQvpu48uBD3 and wanted to know if you can tell me which Stripe account is being used to generate the token

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

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

Error Message
Klarna shows incomplete payment

Question
Klarna shows incomplete payment

What have you already attempted?
it's integrated with HighLevel. When I reached out to them, they said I need to contact Stripe and discuss the issue with them.

cursive heronBOT
#

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

Question
Does Stripe tap to pay 4.1.0 version support Android 35?

Related Request ID(s)
NA

What have you already attempted?
Tap to pay stopped working after upgrading to android sdk 35

What are you working on?
Stripe Tap to Pay

#

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

Question
My company offers two products: a monthly email newsletter and then economic data SaaS. There's one Price and Product model for the newsletter and then the economic data has individual price/products for each region we offer (~30 regions), and then a price/plan for "All Regions" at a discounted price.

I'm using Stripe Subscriptions to model these. In order to allow someone to upgrade from one set of regions to another / "All Regions", I'm passing `proration_behavior=always_invoice` and `billing_cycle_anchor=now`.

Related Request ID(s)
N/A

What have you already attempted?
However, if someone subs to both the newsletter and the data and then later upgrades, their newsletter anchor will also move and they will be asked to pay for future issues on top of the existing ones.

As a result, I started creating two separate subscription objects in checkout (if relevant), that way someone could upgrade data without effecting the newsletter.

But, this is starting to feel needlessly complicated, dealing with possibly two invoices+subscriptions per user/order. Do you have any suggestions for simplifying this?

Thanks :)

#

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

What did you expect to happen?
Retention coupon offered to user during cancellation should be applied immediately upon next renewal

What actually happened?
Coupon applied to following month

Reproduction Steps
Configure retention coupon from dashboard. When it is offered during cancellation, accept. Upcoming renewal will be charged at full price, and coupon will be applied to following month.

Question
Why is this happening? Is there configuration that can be done to make sure that the coupon is applied to the correct month?

What are you working on?
https://t3.chat

#

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

Question
Hi! We have a balance_transactions integration, and we're looking to add support for invoices. We noticed in the Basil API version, the Invoice object on Charge was removed. However, we are looking for a way to reference the original invoice a charge/payment relates to, so we can bind them together. What is the recommended approach?

Related Request ID(s)
n/a

What have you already attempted?
I've read the Basil changelog: https://docs.stripe.com/changelog/basil/2025-03-31/add-support-for-multiple-partial-payments-on-invoices

I've also asked Claude Code to review if there was something I was missing.

What are you working on?
A stripe -> general ledger integration

#

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

Question
Is Google Pay compatible with a SetupIntent for usage=off_session and the Element Express Checkout

Related Request ID(s)
req_zBAF1uBhGA2SpN

What have you already attempted?
I can see Link in the express checkout element on Windows. I can see Link and Apple Pay on Mac OS. I'd just like confirmation on whether I should be able to see Google Pay on Windows under this scenario?

What are you working on?
Trying to work with Setup Intents to support some new payment rebill scenarios.

#

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

What did you expect to happen?
We are using PaymentElement to integrate with Stripe. We are seeing different Link behavior in our staging env vs our prod env with the same code configuration on both. We expect no checkouts in prod with Link because we have/had it turned off on PaymentElements but overall enabled. In stage, it's a link PM. In prod, it's a card PM with wallet type 'link'

What actually happened?
We are seeing many come through as of July 17 using link as a wallet under PM type card. We know some change was rolled out that was not communicated to us around this time.
We want to know why we are seeing different behavior in staging vs prod for the same configuration. Is there something different in our dashboards?

Reproduction Steps
Login to link to checkout within a PaymentElement with both card and link being passed in as allowed_payment_methods.

For dashboard investigation:

Prod platform account - acct_1HwFQLIqLAMJ3gjy
Prod usd connected account - acct_1ISmjMIM8s5J3nnP
stage platform account - acct_1Kv54gIHuCKtzvGj
stage usd connected account - acct_1KvRt2GcOvBbq6Ss

Question
Why is it being sent as a different payment method type for the different environments? Would disabling it via https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-wallets solve this problem completely in prod?

What are you working on?
checkout page with link enabled

cursive heronBOT
#

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

Question
I am using Stripe API for payments, and I don't know how to enable Apple Pay to accept debit cards, and ones it is enabled how to distinguish between Apple Pay debit and credit payments?

Related Request ID(s)
Apple Pay

What have you already attempted?
I am current accepting only credit

What are you working on?
Adding debit payment by Apple Pay.

#

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

Question
Given a stripe balance transaction object, i want to identify the associated stripe payout object. how do i achieve this?

Related Request ID(s)
N/A

What have you already attempted?
I have talked to the Stripe AI chatbot and the read through the Stripe API docs.

What are you working on?
I'm looking to identify a stripe payout object given a stripe balance transaction object.

cursive heronBOT
#

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

Question
how do i retrieve the stripe customer objects associated with a stripe balance transaction object in the Stripe NodeJS SDK? I'm currently on version Node.js SDK 18.0.0 • Basil.

Related Request ID(s)
N/A

What have you already attempted?
I've talked to the Stripe AI chatbot and read through the Stripe API docs.

What are you working on?
i'm looking to retrieve stripe customer objects associated with a stripe balance transaction object in the stripe NodeJS SDK.

cursive heronBOT
#

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

Question
Is there a limit to the number of Bank Accounts you can receive from a single account connection? I am a property management company and want to connect all of my property bank accounts from a service called baselane, but I think only a portion are coming through

Related Request ID(s)
req_917PnIL1ycsWuv

What have you already attempted?
In ruby:

accounts = Stripe::FinancialConnections::Account.list(session: session.id).data

When I originally authenticated my own account, I wasn't capturing the account created events, so I'm going back using the session id and getting all accounts that way

What are you working on?
Internal transaction reconcialiation for property management company

cursive heronBOT
#

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

Question
I've been using the `automatic_payment_methods.enabled = true` field to create my payment intents up until now. However, I now need to create some with specific payment methods. This is going well except when I'm adding `affirm` and/or `klarna` as payment methods alongside `card`. With automatic, card will still show up in my payment element if my amount is too low or the currency is wrong. However, with the specific method, my payment intent creation will fail. Is there a recommended way to check ahead of time if the payment methods I'm passing in will work?

Related Request ID(s)
Failing: req_3q0ms8iggT0SQF Succeeding: req_ZOhYkhslcmBMEM

What have you already attempted?
I'm trying to avoid replicating Stripe's logic on my side to tell ahead of time if Affirm, Klarna, etc. will be valid. I'm also trying to limit re-creating a new payment intent if the first creation fails.

What are you working on?
A Custom Connect integration to help users accept payments. Trying to add the ability for them to choose their payment methods at a more granular level than their Payment Method Configuration.

cursive heronBOT
#

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

Question
How long is a `stripe.Subscription.update` call expected to take? Per https://stripe.dev/blog/optimizing-stripe-api-performance-lambda-caching-elasticache-dynamodb, calls to the Stripe API typically range from 100ms to 500ms. I'd expect the subscription update flow to take longer especially if bank networks need to be reached, but do you have guidelines on what to expect?

Previous discussion: #dev-help message

Doc/Guide Links
I didn't have any real numbers back then, and I've since implemented some of the improvements mentioned. That said, I've been tracking execution time of some Stripe API requests, and req_xmN6TusVTbGOJs in particular took 3.495 seconds. On average, I'm seeing about 4 seconds per update.

But if the user were not already auto-renewing, upgrading should cause the subscription to auto-renew. Since req_xmN6TusVTbGOJs is a "pending_if_incomplete" transaction, I have to make a separate call to change autorenew status, which usually takes another 2.5 seconds based on
data.

Want to know whether these times are as expected, or if there are other improvements

What are you working on?
subscription upgrades - one of our pages is occasionally timing out because the series of stripe API calls takes more time than expected

#

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

Question
I have an api call and cloud function that create a subscription with a checkout session. I am trying now to figure out how a user can go and update the amount of money they are paying for a subscription but can't seem to figure it out. Important note, this is a pay what you want subscription so there is no price object, the user sets the price in the ui that then feeds to the checkout session

Related Request ID(s)
Look in Dashboard for pheZyn

What have you already attempted?
I've looked at the documentation. I've tried to ask chat gpt for help but it keeps going in circles.

What are you working on?
Pay what you want subscription system for my mobile platform

#

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

Code
https://docs.stripe.com/payments/finalize-payments-on-the-server

Question
I’m using the Stripe Payment Element on the client and confirming the payment on the server with PHP. Per the docs, I’m using stripe.createConfirmationToken and passing it to the server. However, when I use a test card that should trigger Stripe’s CAPTCHA, the captcha no longer appears—the payment just goes through. If I use stripe.confirmPayment on the client, the CAPTCHA works as expected.

Does Stripe’s built-in CAPTCHA not work when finalizing payments on the server?

What have you already attempted?
https://docs.stripe.com/payments/finalize-payments-on-the-server

cursive heronBOT
#

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

Question
Stripe custom checkout with elements works on test mode (API version 2025-02-24.acacia, custom_checkout_beta=v1), but not live mode. The API error tells us we don't have permission to send the custom_checkout_beta=v1 header. How do we enable this for live mode?

Related Request ID(s)
None (Request failed)

What have you already attempted?
Viewing documentation referring to stripe beta headers, attempting to find resources online.

What are you working on?
Embedded checkout integration

cursive heronBOT
#

@sonic veldt 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/bank-transfers

Question
Hi, I've got a question regarding bank transfer payments. Our subscription product in stripe is in USD but the merchant's location is in Australia. Will that be a concern?

Also, regarding currencies, if assuming a user is subscribing to our USD currency subscription. Then the user prompted for a bank transfer, since the merchant's location is in Australia, should we prompt the user to pay to an Australian Bank or will a Bank Transfer Payment Method work?

In connection with the previous question, this is regarding with the User's local currency, will there be a direct conversion of currency?

What have you already attempted?
In stripe dashbord test mode, I tried the Bank Transfer payment method that will subscribe to a USD currency subscription, it showed me an invoice with a test bank transfer details. Then in my test customer details, I added the Bank Transfer method and added a USD funds then the invoice was paid.

What are you working on?
Bank transfer payment method for our subscription that can support multiple currencies.

cursive heronBOT
#

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

Question
If I add metadata to a line_item during Stripe Checkout creation, where is this information accessible?

Related Request ID(s)
req_MAdtE2CO825nj0

What have you already attempted?
The following invoice.paid event after the checkout was completed (evt_1RocUsGQ5L54VFKVH8LcB8AZ) doesn't appear to have this information in `lines.data[0].metadata`.

What are you working on?
creating checkout with price_data and product_data for customizable title/description catered to the specific product, but otherwise tied to a certain category of products via metadata

cursive heronBOT
#

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

Question
I created a checkout session with `const session = stripe.checkout.sessions.create('...')` that starts a recurring subscription. in the webhooks checkout.session.completed or invoice.payment_succeeded should I be able to access the payment intent id?

Related Event ID(s)
🤷‍♂️

What have you already attempted?
I've attempted the following (with proper expansion):

Checked session.payment_intent

Checked session.invoice.payment_intent (via stripe.invoices.retrieve(invoiceId, { expand: ['payment_intent'] }))

Checked subscription.latest_invoice.payment_intent

For webhook events like invoice.payment_succeeded, I also check if payment_intent is present, and if not, fetch it using its ID or by re-retrieving the invoice with expand: ['payment_intent'].

cursive heronBOT
#

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

Code
accountParams := &stripe.AccountParams{
Capabilities: &stripe.AccountCapabilitiesParams{
CardPayments: &stripe.AccountCapabilitiesCardPaymentsParams{
Requested: stripe.Bool(true),
},
Transfers: &stripe.AccountCapabilitiesTransfersParams{
Requested: stripe.Bool(true),
},
},
BusinessType: stripe.String(businessType),
BusinessProfile: &stripe.AccountBusinessProfileParams{
MCC: StringStripe(enum.DefaultMCC),
SupportAddress: ad

Question
"Even though I pre-filled the email, the email field is not pre-filled during onboarding with an Express account

What have you already attempted?
I tried many times, but not possible

What are you working on?
I'm building system

cursive heronBOT
#

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

Question
Can Stripe help with migrating tokens from Woocommerce to another gateway? Merchant who is using Woocommerce<>Stripe for payments.

Related Request ID(s)
NA

What have you already attempted?
Requested Woocommerce but they are denying payment token export.

cursive heronBOT
#

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

Code
constructor() {
StripeCheckout.createPaymentElement({
fields: {
billingDetails: {
address: {
country: 'never',
},
},
},
});
paymentElement.mount('#payment-element');
}

pay(): void {
StripeCheckout.confirm();
}

Question
We implementing a custom checkout with ngx-stripe. We don´t use the BillingAddressElement because we only want to collect partial billing addresses.

The elements are loaded and the payment options are displayed. I can enter card details etc.

But when I click the pay button which calls the confirm() function sometimes, NOT always, I get an error in the console:

ERROR IntegrationError: Please ensure the Payment Element is mounted before calling confirm().

What have you already attempted?
First impression is when we add the BillingAddressElement it does not happen. But we can´t use this element because we only want to collect address details needed for tax calculation, not more.

What are you working on?
We are moving from the managed checkout to own implementation with stripe elements and custom checkout session.

cursive heronBOT
#

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

Question
How do I update currency of a customer during creation? I want the customer to have a certain currency.

2) when creating invoice in India I get error saying customer name and address is required. How do I pass in these values? During checkout it doesn’t update the customer?

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Question
If I change the retry mechanism settings to custom and 0 retries, will this affect the current subscription? I want to test the condition if all retries fail, without testclock.

Related Request ID(s)
-

What have you already attempted?
create subscription

#

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

Error Message
```
parameter_unknown - payment_details
Received unknown parameter: payment_details. Did you mean payment_method?
```

Question
How do I pass the `payment_details[order_reference]` in the PaymentIntent request for L2/L3 data?

What have you already attempted?
I've been following this doc: https://docs.stripe.com/payments/payment-line-items

Using Stripe Go SDK v82.3.0, I get the error above, see log `req_ZDBkKEjSe6oTOE`. Using Stripe Go SDK v82.3.0-beta.1, I do not get the error, see log `req_QeAmkXqAMEN8pZ`.

We will be using this code in prod, so we'd prefer to use the named releases instead of preview versions.

What are you working on?
Providing L2/L3 data in PaymentIntent

cursive heronBOT
#

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

Code
const paymentElement = value.createPaymentElement();
paymentElement.mount('#payment-element');

stripeCheckout.on('change', (session) => {
console.log('######## stripeCheckout changed ########');
if (session.taxAmounts) {
if (session.taxAmounts.length > 0) {
this.paymentSummary.vat = session.taxAmounts[0].amount;
}
}
});

Question
If we use only the payment element the address collection is inside this one. Why we don´t get any callback or event when the country is changed to display the tax for the customer?

If I call the updateBillingAddress() with a new country I always get a session changed event with the new tax.
But not if I only use the paymentElement.

What is the difference between the BillingAddress and the address in the PaymentElement?

What have you already attempted?
I can´t find any event when country is changed nor I see network calls like when I call updateBillingAddress() manually.

What are you working on?
Integrate custom checkout with ngx-stripe elements.

cursive heronBOT
#

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

What did you expect to happen?
We are currently using the stripe.confirmSetup from the SetupIntent. It requires a return url which we pass. However our return url we pass contains a GET arg. This GET arg seems to be removed when redirecting.

What actually happened?
It redirected to the URL without the GET arg.

Reproduction Steps
Pass a URL through to the return_url with a GET arg. Confirm setup and you'll get redirected to that url without the GET arg.

Question
Is this intended? and if so what is the best solution to get around this scenario?

What are you working on?
Saving cards with Stripe payment element

cursive heronBOT
#

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

Error Message
Authenticated payment declined with an `authentication_required` decline code

Question
When customers try to start a subscription it is declined and this pop ups. How can I avoid this?

What have you already attempted?
I have tried enabling 3D Secure and not using it.

cursive heronBOT
#

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

Code
const paymentElement = stripeCheckout.createPaymentElement({
fields: {
billingDetails: {
address: {
country: 'never',
},
},
},
});
paymentElement.mount('#payment-element');

stripeCheckout.updateBillingAddress({
address: {
country: 'DE',
},
});

stripeCheckout.confirm();

Question
We are implementing a custom checkout with stripe elements. We want only collecting the bare minimum address data to calculate tax.

Are there countries that require more details than just the country code? e.g. postal code or region?
If yes, is there a doc somewhere or do we get a special error in such a case?

What have you already attempted?
Tried some countries (around 10) and never got an error so far.

What are you working on?
implementing a custom checkout with stripe elements

#

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

Question
How can we show the shipping address that was passed into the paymentIntent data when creating a checkout session

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Marketplace for plants

cursive heronBOT
#

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

Question
I want to rate-limit a user switching between plans to prevent abuse. I was told to look into customer portal flows or customer portal configs. The limitation with flows is that there's no way to show a user their invoices. The portal config seems better, but I have a retention coupon, and it doesn't seem possible to show it via the API. Am I missing something?

Related Request ID(s)
Not applicable

What have you already attempted?
Looking at the API docs

What are you working on?
Subscription MGMT

#

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

Question
We use Bubble + Stripe. Each invoice_customer has amount_incl_VAT, amount_paid, and total_to_pay. A Stripe Payment Link is generated and tracked via payment_intent.id. After a partial payment (€100/€300), we added a late fee (€15) and canceled the original intent. Stripe auto-applied the €100 to the new €215 invoice, showing the customer only 215. But our formula miscalculates this as €215 paid instead of €115.
How can we detect the new actual payment amount that the customer made incase of a partial payment of bank transfer?
or prevent auto-application of old amounts?

Related Request ID(s)
N/A

What have you already attempted?
Currently we listen to the payment_intent.partially_funded but id does not work as it only returns the total amount in the stripe payment intent and what is remaining for the customer to pay to stripe.

What are you working on?
Partial payments on bank transfer payment intents

cursive heronBOT
#

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

What did you expect to happen?
My account has been frozen due to numerous disputes by someone who been trheatning to end my stripe by using stolen cards,

What actually happened?
Ive emailed you guys about this i wanted to prevent this and yet i was told to upgrade to radar and i already had done that

Reproduction Steps
I am trying to submit invoices and the system is not allowing me to pick a category

Question
Id like to know how to reinstate my account as i do everything legit

#

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

Code
I want to use only one account for 2 different environments, use products based on USD/CAD currency I need to use single webhook but differentiate environment?

Question
I have US and canada environment with single webhook.

What have you already attempted?
I am just checking on options

What are you working on?
Stripe Usage based billing

#

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

Code
const options = {
mode: 'payment',
captureMethod: 'manual',
setupFutureUsage: 'off_session',
paymentMethodTypes: ['card'],
currency: 'gbp',
amount: stripeAmount,
};

const paymentOptions = {
wallets: {
applePay: 'never',
googlePay: 'never'
},
defaultValues: {
billingDetails: stripeBillingDetails
},
};

Question
How do I disable Link during JS initialisation, whilst keeping link enabled in stripe account.
I have 2 separate places within my website where I am using payment elements. One of them needs link enabled & the other needs link disabled.

What have you already attempted?
Everything I have found online just tells me to disabled link in my Stripe account, which won't work for my situation.

What are you working on?
Two separate payment element initialisations for the same website.

cursive heronBOT
#

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

Code
// Create a portal configuration with only subscription_cancel disabled
const configuration = await stripe.billingPortal.configurations.create({
features: {
subscription_cancel: {
enabled: false
},
invoice_history: {
enabled: true
},
payment_method_update: {
enabled: true

Question
I am taking a user to a portal session and would like to skip past the main screen straight to the upgrade screen

What have you already attempted?
Not much, dont really see the option

cursive heronBOT
#

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

Question
Trying to process a PaymentIntent with an attached PaymentMethod of BACS Debit (UK).

Related Request ID(s)
PaymentIntent creation: req_Pckm0WyoXCCuJi. Confirmation: req_CNRqMjgsccsOcl

What have you already attempted?
We create the PaymentIntent for an already existing payment method (it was just added so the mandate should be for the same creditor), and then I'm using Stripe.js confirmPayment to try and confirm the PI and I am getting the error seen in confirmPayment. Do I need to create the payment intent differently or confirm it differently? (or both!). I don't see a BACS Debit-specific confirm call listed here: https://docs.stripe.com/js/payment_intents/payment_method

What are you working on?
adding UK support for a Point Of Sale application

cursive heronBOT
#

@gray elbow 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/revenue-recovery/customer-emails

Question
We want to customize branding for emails around revenue recovery from our own service. This is because we want to give them more information about what products they are subscribed to. We have multiple brands operating under the same LLC, and multiple brand designs, so customizing the template in the Stripe interface won't quite do what we want.

What webhooks would I use to send emails for the same types of workflows that Stripe supplies?:

* Payment confirmation notifications
* Failed payment notifications
* Renewal reminders
* Expiring card notifications

What have you already attempted?
Some of these workflows I have tried to trigger the Stripe emails with in the test environment and have not been able to do so.

What are you working on?
SaaS product with yearly subscriptions

cursive heronBOT
#

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

Question
Can I create an account session for test mode data for a live connected account?

Related Request ID(s)
n/a

What have you already attempted?
```
const stripe = new Stripe(isTest ? SALABLE_STRIPE_TEST_SECRET_KEY : SALABLE_STRIPE_SECRET_KEY, {
apiVersion: '2024-06-20',
});

try {
const { client_secret: clientSecret } = await stripe.accountSessions.create({
account: organisationPaymentIntegration.accountId,
components: {
balances: {
enabled: true,
features: {
instant_payouts: true,
standard_payouts: true,
edit_payout_schedule: true,
},
},
payments: {
enabled: true,
features: {
refund_man
```

What are you working on?
SaaS Platform for monetisation

#

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

Question
I am trying to capture a payment intent for less than the authorization. Example: $100 auth, but capture $80.
I am using the Payment Intent "capture" parameter: amount_to_capture
Problem: When I capture it is creating 2 balance transactions:
- Charge for the full amount: 100
- Refund for the difference: $20
I need one balance transactions for $80
----------
When I capture and authorization through the dashboard it does what I need - one balance transactions for $80.
What do I need to do capture this through the API so it functions the same as the dashboard capture.

Related Request ID(s)
req_F0Paf6Vcym9crl

What have you already attempted?
I have reviewed the logs to see how the dashboard creates this but it has not been clear.

What are you working on?
We need to be able to Authorize for the full amount > capture for a lesser amount > and then have 1 payment for the captured amount.

cursive heronBOT
#

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

Question
Is there a way to hide customer in search input in the dashboard?
Maybe some property in the customer , when creating or update?

Related Request ID(s)
N/A

What have you already attempted?
Search in the documentation

What are you working on?
Stripe integration

#

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

Question
We currently use Bold Memberships for our app subscription sales but we'd like to move to woocommerce subscriptions instead as it offers features we really need. We'd like to migrate all of our existing members over to woo seamlessly so they don't need to resubscribe. All the tokens should be in our stripe account already so we just need some guides or documentation on how to do this so I can forward to my devs and get sorted.

Related Request ID(s)
nothing related

What have you already attempted?
tried googling but its inconclusive

What are you working on?
a membership app access.

#

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

Question
Hi, I have a couple of questions, but first, some context:
When a purchase is finalized, we internally listen to the checkout.session.completed event to perform the necessary synchronizations. Among them, we need to obtain the charge.id, and we're doing this through the invoice. However, we're receiving this error frequently.
This object cannot be accessed right now because another API request or Stripe process is currently accessing it ...
Does Stripe internally use the invoice object to perform any operations?
Is there any way to avoid this error?

Related Event ID(s)
https://dashboard.stripe.com/events/evt_1Ron0LKisS78xILJ72NIA9Vu

What have you already attempted?
I added a delay to the sync process to prevent this.

cursive heronBOT
#

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

Code
This is the sigma example that i would like to replicate
WITH sparse_mrr_changes AS (
SELECT
DATE_TRUNC(
'day',
DATE(local_event_timestamp)
) AS date,
currency,
SUM(mrr_change) AS mrr_change_on_day
FROM
subscription_item_change_events
GROUP BY
1,
2
),
sparse_mrrs AS (
SELECT
date,
currency,
mrr_change_on_day,
SUM(mrr_change_on_day) OVER (
PARTITION BY currency
ORDER BY

Question
I'm using the segment ETL for stripe which syncs stripe tables with bigquery. Im trying to calculate backdated mrr which is very confusing.

I signed up for stripe sigma which gives you access to tables that I don't have through my etl like 'subscription_item_change_events'. But I haven't been given access yet to the private api.

I need to generate a chart of past mrr. Is there any way to accurately do this through the base stripe tables? If not how can I get access faster t

What have you already attempted?
I attempted backdating through invoice line items but I wasn't able to get a result that closely replicated the stripe dashboard's mrr chart.

What are you working on?
I need to generate a basic mrr chart

cursive heronBOT
#

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

Question
I am trying to capture a payment intent for less than the authorization. Example: $100 auth, but capture $80.
I am using the Payment Intent "capture" parameter: amount_to_capture
Problem: When I capture it is creating 2 balance transactions:
- Charge for the full amount: 100
- Refund for the difference: $20
I need one balance transactions for $80
----------
When I capture and authorization through the dashboard it does what I need - one balance transactions for $80.
What do I need to do capture this through the API so it functions the same as the dashboard capture.

Related Request ID(s)
req_F0Paf6Vcym9crl

What have you already attempted?
Examples:
1 - pi_3RoUofIMglCKPryM05dvkPXi
Created and Captured through the API
Result: 2 balance transactions (Charge for full amount and Refund for difference) > Undesireable
2 - pi_3Ro2dSIMglCKPryM1wWKNF6l
Created through the API and Captured through Dashboard
Result: 1 balance transaction for captured amount. > Desired result for example #1
3 - pi_3RopIbIMglCKPryM1HD1OQYs
Created and Captured through the Dashboard
Result: 1 balance transaction for captured amount. > Desired result for example #1

What are you working on?
We need to be able to Authorize for the full amount > capture for a lesser amount > and then have 1 payment for the captured amount.

cursive heronBOT
#

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

Question
Stripe Identity Verification Vs Id verification for Connect onboarding.
we have vendors that go through Stripe Identity Verification where we save verified source information like selfie, name, DOB, document, age etc.

As a part of Connect onboarding the vendors have to go thru the identity verification again.

we are wondering how can we optimize this experience. Can we eliminate the separate Stripe Identity verification and rely on the Connect onboarding to get all the details we need on their ID verification?

Related Request ID(s)
none

What have you already attempted?
both Express Connect onboarding and Stripe Id verification

cursive heronBOT
#

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

Error Message
STPErrors; Expectd expression in assignment, consecutive statements on a line must be separated by , . Expected initial value after ‘=‘

Question
I am integrating Stripe into my iOS app. Using the save card without bank authentication steps via stripe documents. Everything looks good but when I try to run my app I keep getting errors above as mentioned.

What have you already attempted?
I have commented out all stripe code but errors insist, I have even commented out my app entry code for stripe but I still see these errors. I am using the latest version of stripe

What are you working on?
An iOS app

cursive heronBOT
#

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

Question
I want to better understand the difference between stripe.Invoice.create_preview() and stripe.Invoice.upcoming()

Related Request ID(s)
N/A

What have you already attempted?
Reading the docs

What are you working on?
checkout flow for SaaS

cursive heronBOT
#

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

Question
im trying to add Dynamically customize shipping options with embedded / eexpress checkout elements. in the docs it says its "private preview" but i dont see any other info as to whether or not its actually available to me

Related Request ID(s)
???

What have you already attempted?
building it.

What are you working on?
marketplace platform

#

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

Question
If you're using Custom Payment Methods with Payment Elements, is there any sort of back end thing to tie the Payment Method to an Invoice? https://docs.stripe.com/payments/payment-methods/custom-payment-methods#ongoing-availability

...or do you just mark the invoice `paid_out_of_band` and that's it?

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

⛔️ 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-07-28. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

What did you expect to happen?
I'm using a customer portal flow to let the user update their subscription with these conditions:

schedule_at_period_end: {
conditions: [
{ type: "decreasing_item_amount" },
{ type: "shortening_interval" },
],
},

What actually happened?
When the user downgrades once, they see the correct message (You'll pay X starting on Y). When the user downgrades a second time, they see a strange message and the secondary update doesn't win.

Reproduction Steps
Use the config above to create a customer portal flow

Question
It shis expected? Doesn't seeem right.

cursive heronBOT
#

@frigid pilot 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/pricing

Question
Hi Stripe team,

I’m trying to get clarity on how Stripe fees are handled in Checkout.

We’re testing a setup where we want the customer to cover the processing fees, and I’ve attached a screenshot showing how fees were deducted from our test transaction. Based on this, it seems the only way to ensure we receive the full amount is by manually grossing up the charge.

Can you please confirm officially whether this is the only supported way to handle fees in Stripe Checkout? Or is there any built-in option to pass the fee directly to the customer?

Thanks!

What have you already attempted?
Calculating the grossed-up total manually to cover the fees

#

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

Question
We encountered an issue when using a Stripe coupon.

We have a coupon with a value of $24.99, and there are two products involved:

Product A: $24.99

Product B: $14.99

Case 1:
When we create a subscription with both Product A and Product B and apply the coupon, then later update the subscription to add another Product B, Stripe charges $14.99 + $14.99 during the proration.

Case 2:
When we create the same subscription with Product A and Product B, but without a coupon, and then add another Product B later, Stripe charges only $14.99, which is expected.

Both updates are made during the activ

Related Request ID(s)
no

What have you already attempted?
no

cursive heronBOT
#

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

Question
My need to make stripe fee calculation dynamic. Curently i am ooking for only card method and country is UK. But still in stripe may be there will be different fee percentage based on card type or origin of card , domestic or international transaction etc. So first explain me what are the parameters based on stripe fees will change and how to do i dynamic so i can caluculate dynamic fee calculation during creation of payment intent

Doc/Guide Links
Currently i have done stripe fee calculation static. Means percentage is set 1.5 static and 20 pound flatfee static

What are you working on?
Currently i am working on dynamic stripe fees calculation for card payment method based on different parameters.

cursive heronBOT
#

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

Code
const schedule = await stripe.subscriptionSchedules.retrieve(subscription.schedule);

const updatedPhases = schedule.phases.map((phase) => {
const { coupon, ...rest } = phase;
return {
...rest,
discounts: [{ coupon: couponId }],
};
});
const updatedSchedule = await stripe.subscriptionSchedules.update(schedule.id, {
phases: updatedPhases,
});

Question
how can i attach coupon to subscriptions that are using schedules and phases. i want it to add the coupons on all the phases

What have you already attempted?
i tried attaching to the subscription object, that was not adding coupons to each phase.
then , i tried something like this
```
const updatedSchedule = await stripe.subscriptionSchedules.update(schedule.id, {
phases: schedule.phases.map((phase) => ({
...phase,
discounts: [{ coupon: couponId }],
})),
});
```
i was getting this error: You may only specify one of these parameters: coupon, discounts.

now, with my current code, i've this error: Invalid decimal:

cursive heronBOT
#

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

Code
import { PaymentElement } from '@stripe/react-stripe-js';

<PaymentElement
options={paymentElementOptions}
onReady={() => onReady()}
onChange={evt => onChangePaymentElement(evt)}
/>

Question
We need some design changes in PaymentElement but it is not supporting appearance props

What have you already attempted?
tried to override the css directly by element selector but because it's inside an iframe css is probably ignored

What are you working on?
I need to remove padding from Link Phone number field

#

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

Code
public async Task<PaymentBreakdownResponseModel> CalculateStripeBreakdown(decimal baseAmountPounds, decimal platformFeePercent)
{
const decimal stripePercentFee = 1.5m / 100m;
const decimal stripeFixedFee = 0.20m;

        decimal platformFee = Math.Round\(baseAmountPounds \* platformFeePercent / 100m, 2, MidpointRounding.AwayFromZero\);
        decimal netAmount = baseAmountPounds + platformFee;
        decimal totalCharge = M

Question
How can i identify whether card is standard UK cards , premium UK cards ,European Economic Area cards,international cards ?

What have you already attempted?
I am finding solution to calculate stripe fees dynamically and charge of stripe fees are different based on different parameters.

cursive heronBOT
#

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

Question
Please what API endpoint can I use to implement the resume payout action after failure due to bank account issue?

Related Request ID(s)
None

What have you already attempted?
None

What are you working on?
API integration for payout

cursive heronBOT
#

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

Question
What is the best way to receive a USD payment with your SDK.

Related Request ID(s)
https://dashboard.stripe.com/workbench/logs

What have you already attempted?
We have integrated Stripe API so users can pay merchants on the platform, but merchants are unable to withdraw their funds into their personal account

What are you working on?
a platform for mentors and mentees to connect (mentors can make session paid or free)

#

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

Question
Hi! Need help with deferred subscription start in Stripe Checkout.
Here's an example :
Customer has subscription ending Aug 27th, wants new plan starting exactly Aug 27th.
Should pay full price on Aug 27th (no prorata, no immediate payment).
Tried:
trial_end → Shows "X days free trial" ❌
trial_period_days → Shows "X days free trial" ❌
billing_cycle_anchor → Creates prorata ❌

Need: No "free trial" messaging, full price charged on future date, no immediate payment.
Possible with Checkout or need Subscriptions API? Thanks! 🙏

Related Request ID(s)
req_Jiy9joWm1lqe0G

What have you already attempted?
Hi! Need help with deferred subscription start in Stripe Checkout.
Here's an example :
Customer has subscription ending Aug 27th, wants new plan starting exactly Aug 27th.
Should pay full price on Aug 27th (no prorata, no immediate payment).
Tried:
trial_end → Shows "X days free trial" ❌
trial_period_days → Shows "X days free trial" ❌
billing_cycle_anchor → Creates prorata ❌

Need: No "free trial" messaging, full price charged on future date, no immediate payment.
Possible with Checkout or need Subscriptions API? Thanks! 🙏

#

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

Question
A user is adding their bank account as a payout method to their stripe connect account. its clearly an irish account, but stripe is defaulting it to HUF currency.

Related Request ID(s)
req_Kq08DQIxhkXJra , req_Kq08DQIxhkXJra

What have you already attempted?
I pasted two requests above -
the first is account.external_account.created
which shows default_for_Currency: "true"

the second is account.external_account.updated
which shows default_for_currency: "false"

something weird is going on here, as this has not really been an issue previously - we have not changed the way we handle saving bank accounts

cursive heronBOT
#

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

Error Message
{
"error": {
"advice_code":
"confirm_card_data",
"code":
"card_declined",
"decline_code":
"generic_decline",
"doc_url":
"https://stripe.com/docs/error-codes/card-declined",
"message":
"Your card was declined.",
"network_advice_code":
"01",
"network_decline_code":
"83",
"param":
"",

Question
Hello I have having a lot of those errors, I have a US based stripe accout and I am selling overseas (Mostly in Europe). We've forced 3DS (with challenge mode on payment intent). Also the radar has 3ds enabled.

I am wondering is it a BIN issue? Does European banks forbids transaction coming from US Stripe?

Eur currency is enable in my stripe account.

What have you already attempted?
Test payments in sandbox, everything works fine. And 40% of my customers are able to pay.

What are you working on?
We have a custom Stripe integration, using stripe elements

cursive heronBOT
#

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

Question
Hi! Need help with deferred subscription start in Stripe Checkout.
Here's an example :
Customer has subscription ending Aug 27th, wants new plan starting exactly Aug 27th.
Should pay full price on Aug 27th (no prorata, no immediate payment).
Tried :
trial_end → Shows "X days free trial" ❌
trial_period_days → Shows "X days free trial" ❌
billing_cycle_anchor → Creates prorata ❌

Need : No "free trial" messaging, full price charged on future date, no immediate payment.
Possible with Checkout or need Subscriptions API? Thanks! 🙏

Related Request ID(s)
req_Jiy9joWm1lqe0G

What have you already attempted?
Customer pays nothing upfront, then pays full amount on Aug 27th.

Important clarification:
Aug 27th is just an example date. The future payment date could be in a few days, 2 weeks, 1 month, etc. - it depends on when their current subscription actually ends.

Real scenario:
Current subscription ends on [dynamic date], new subscription billing should start exactly on that same date with full price charge.

So I need a way to create a subscription that starts billing on any future date without showing "free trial" messaging in Checkout.Thanks!

#

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

Question
I have a master account and 4 connected accounts. I would like to listen locally (with the stripe-cli) events from my 4 connected accounts in test mode. I don't want to use external service like ngrok.
Is it possible and, if yes, how to do that ?

Related Event ID(s)
Dashboard > Webhooks

What have you already attempted?
I tried to use stripe-sli to do that without success

#

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

Question
Hi! What are the best practices to toggle between payment methods that support/don't support recurrence when using Payment Elements?

For context, we are adapting our system to accept local payment methods, like Pix in Brazil and QRIS/GoPay in Indonesia.

In our ideal scenario, we would like to charge a user with a yearly/monthly price, but disable the auto-renewal behaviour on the subscription when Pix is chosen as the payment method for example. Could you please help us out?

Thanks!

Doc/Guide Links
https://docs.stripe.com/payments/pix

What are you working on?
Accepting payment methods with no support for recurrency/off-session charge

cursive heronBOT
#

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

Question
We're trying to add support for this relatively recent breaking change in the Charge object: https://docs.stripe.com/changelog/basil/2025-03-31/add-support-for-multiple-partial-payments-on-invoices

There's a new API for retrieving InvoicePayments:
https://docs.stripe.com/api/invoice-payment/list?api-version=2025-05-28.basil&rds=1

It allows you to retrieve the InvoicePayments associated with a particular payment intent, but we do that with a particular Charge.

The InvoicePayment object can be associated with a Charge. How do we retrieve InvoicePayments associated with a Charge now?

Related Request ID(s)
N/A

What have you already attempted?
If the Charge is associated with a PaymentIntent, we can go Charge -> PaymentIntent -> InvoicePayment, but we can't figure out how to do that for Charges without PaymentIntents.

What are you working on?
We're working on an Accounting integration Stripe app. We don't control the Charges/Payments we're migrating. We just have to work with what's in the account.

#

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

Question
After a subscription was deleted, an invoice payment attempt was still made. Is this expected?

Related Request ID(s)
sub_1O0NB9B6RcW2vRiFTuV7OHZp

What have you already attempted?
Nothing as I wasn't to clarify the behaviour

What are you working on?
Subscription

cursive heronBOT
#

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

Question
We want to implement crypto payments. For now we use stripe to process payments on an already registered card (saved through our interface and then synced with Stripe); so we don't have an interface like in the docs provided example.

Doc/Guide Links
https://docs.stripe.com/crypto
https://buy.stripe.com/test_28o4ig0SY9Xq8co3cc

What are you working on?
Willing to implement crypto payments

#

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

Code
def finalize_stripe_invoice!(stripe_invoice: get_stripe_invoice)
return stripe_invoice unless stripe_invoice.status == 'draft'

\# 🔁 Update invoice before finalizing
Stripe\:\:Invoice.update\(
  stripe\_invoice.id,
  {
    collection\_method\: 'charge\_automatically',
    auto\_advance\: true
  },
  { api\_key\: student.stripe\_api\_key }
\)

\# ✅ Now finalize
Stripe\:\:Invoice.finalize\_invoice\(
  stripe\_invoice.id,
  { expand\: \['payme

Question
I'm in a loop that I jsut can't get out. Using the Ruby on Rails stripe gem. I'm trying to get the payment_intent for an invoice so when there is 3DS needed I can pass on the needed info to Stripe.js. No matter what I try, the pament_intent is always nil. There is a payment intent do soemthing when I grab the latest payment intent on the account and move forward, but I'm worried about timing issues.

What have you already attempted?
I've tried every ChatGPT round about way. It insists that there shoudl be a way to get the payment intent directly off the Streip invocie when I finalilze it. I've tried using the pay interface as well. Every single thing I have tried has returned the payment_inten as nil

What are you working on?
Trying to do some basic invoice payments that will have Credit Cards that may or may not have 3DS requirements.

#

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

Code
const paymentElement = value.createPaymentElement();
paymentElement.mount('#payment-element');

Question
Is there a way to ask for the card holder name and adding the "buy as a business" checkbox in the payment element as it is in the managed checkout page?

What have you already attempted?
Reading the docs gives me no hint how to do it.

What are you working on?
We are using ngx-stripe to build our own custom checkout page.

cursive heronBOT
#

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

Question
What would cause the below error after a charge succeeded? I have a 200 at the confirm endpoint at 4:15:15 and then a 400 at 4:15:30. I have processed a number of other charges and not seen this before. Also, if helpful, I don't call confirmCardPayment anywhere in my code.

400 error: A request to confirm a PaymentIntent failed . The log says "You cannot confirm this PaymentIntent because it has already succeeded after being previously confirmed."

What would have caused this?

Related Request ID(s)
N/A

What have you already attempted?
I searched discord and the web

cursive heronBOT
#

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

Code
var signature = await fetchStripeSignature(payload);

Question
I have an app and when I call fetchStripeSignature(payload) I am getting "Failed to load resource: the server responded with a status of 404 ()". The url is https://dashboard.stripe.com/v1/tailor/app_by_public_id?include_only... The app is currently private so not sure why this URL is being called. And the error after that call is "Uncaught (in promise) Error: No such app: com.invoices.installments-and-payment-plans". Any idea how I can fix this?

What have you already attempted?
I've read all of the App docs. I tried to create a new app and copy the id to my existing app and that didn't work.

What are you working on?
Building a Stripe App.

cursive heronBOT
#

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

Question
Where can i access Stripe Connect Express Onboarding UI screens? i want to look at different inforrmation that a vendor need to fill out.

Related Request ID(s)
none

What have you already attempted?
Stripe Connect Express

#

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

Question
The application fee for payment intents is changing, and we're not sure why. For example - this payment intent: pi_3RptgEIChZ09ujub1zsNh67G - the request to create it has an application fee of 8621, but the payment succeeded with a fee of 512. Both of those numbers make sense to me, and I'm confident that we're supplying them, but I don't see a request from us that uses 512 or a reason that it would change from 8621?

Related Request ID(s)
pi_3RptgEIChZ09ujub1zsNh67G

What have you already attempted?
Reviewed our code and the activity log.

#

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

Question
My client is creating a platform in which we will have Standard Connected Accounts. While I've developed in this setup previously, the difference now is that the client wants to "own" every Customer. Will this create issues during payments since the Customer will not belong to the Connected Account?

Doc/Guide Links
https://docs.stripe.com/connect/standard-accounts

What are you working on?
Platform for athletes to get in touch with Personal Trainers

cursive heronBOT
#

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

Question
If I use Stripe with destination charges, do I need to create a new customer per subaccount? I will be using on_behalf_of

Furthermore, if I use on_behalf_of, do I need to create a setupintent per-subaccount? If so, how do I keep track of if I already created a setupintent per-subaccount?

Doc/Guide Links
https://docs.stripe.com/connect/design-an-integration#accept-a-payment

What are you working on?
A hotel platform. Clients create a CIT by putting their card on file, but ultimately the hotel is the one that charges the card at the end.

#

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

Question
Is there an API integration that would allow us to programmatically change a users permissions? Use case we want to temporarily grant an engineer the ability to view our production account while they troubleshoot an issue.

Related Request ID(s)
N/A

What have you already attempted?
Reading the API documents.

What are you working on?
Temporarily grant an engineer the ability to view our production account while they troubleshoot an issue.

cursive heronBOT
#

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

Question
i am trying to integrate stripe in my market place but when i am sending get request then it is successfully hitting webhook but stripe is not returning post request , where as i have tried with stripe cli and both get and post request is working properly, but when i am using with ngrok url or production then webhook is not returning post request.

Related Event ID(s)
evt_1RpeudRbvluuOoytOcc9HtRH

What have you already attempted?
i was using localhost to test using ngrok url and along with production but still not webhook sending post request, i have checked secret key , publicable key, and webhook secret key everything is correct.

What are you working on?
I am working on the market place to integrate stripe for customer payment.

cursive heronBOT
#

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

Question
I need to keep a copy of all balance transactions for a connect account in my database for usage with an accounting system. What's the best way to keep these in sync without overloading the api?

Doc/Guide Links
https://docs.stripe.com/webhooks
https://docs.stripe.com/api/balance_transactions

What are you working on?
booking / payments for fitness studios

#

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

Question
Hello, on Friday I implemented a new feature on my platform and it was working perfectly. Today, Monday, I activated my ngrok, configured my webhook, but my events simply don't reach my API, and nothing appears in ngrok either. However, if I go to the interface and click on resend, then it does arrive.
Another problem is that when I create an invoice and open it in the console, I get the error:
{
"code": "platform_api_key_expired",
"doc_url": "https://stripe.com/docs/error-codes/platform-api-key-expired",
"message": "Expired API Key provided: ek_test_YW*****************************************

Related Event ID(s)
....

What have you already attempted?
..

#

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

Question
API changed a lot and i can't find payment_intent id anymore in the invoice.paid webhook dataObject. How can i get it there?

Related Event ID(s)
sub_1RpwK3DmVlmqORBIdy5It8Ub

What have you already attempted?
I can't find it anymore there in the dataObject

What are you working on?
Trying to create the subscription in my database

#

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

Question
How can I tell the hosted checkout to prioritize a saved payment method when there are multiple?

Related Request ID(s)
req_Fd6lJ2eCZqzDND, req_HIayRkl06qlca7

What have you already attempted?
Did two prior checkouts with `saved_payment_method_options={"payment_method_save": "enabled"}` and checked them, so I now have two cards saved on file. First the 4242 and 2nd the 4444. It’s defaulting to 4444 in the checkout, so I did Customer.modify with `invoice_settings={"default_payment_method": PM_ID}` for the 4242 payment method. This seems to be the wrong approach (impacts future invoice, I think?) and the checkout still show the 444 payment method.

#

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

Code
def add_test_card
authorize @student, :add_test_card?

pm = Stripe\:\:PaymentMethod.create\(
  {
    type\: 'card',
    card\: {
      token\: params\[\:card\_token\]
    }
  },
  { api\_key\: @student.stripe\_api\_key }
\)

@student.request\_stripe\_customer\_id!
Stripe\:\:PaymentMethod.attach\(
  pm.id,
  { customer\: @student.stripe\_customer\_id },
  { api\_key\: @student.stripe\_api\_key }
\)
Stripe\:\:Customer.update\(
  @student.

Question
I'm trying to add the tokens to an account to test automatic bill payment. When I try to add the cards that are say declined for lack of funds, they are getting rejected from adding. I'm trying to simulate the sittuation that everythign is goign along fine, then the card gets declind or canceld etc. I'm probably going about it wrong.

What have you already attempted?
I alredy tried adding the numbers directly (and got yelled at as I should of).

What are you working on?
I'm tryign to add a method in testing environements to quickly add these cards as the defualt payment to a test customer so I can test my webhooks etc.

#

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

Question
How do I retrieve the list items from a successful transactions in /payments (in the dashboard)

Related Request ID(s)
-

What have you already attempted?
I have already attempted to retrieve the list items though payment intent but It has gone nowhere...

What are you working on?
Creating an XML file where I need to retrieve the products I have purchased

#

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

Code
$session = $this->stripeClient->checkout->sessions->create([
'currency' => $package_currency,
'customer' => $customer_id,
'cancel_url' => 'mydomain/paquete/'.$package_id,
'success_url' => 'mydomain/success',
'mode' => 'payment',

    'payment\_intent\_data' =\> \[
        'setup\_future\_usage' =\> 'off\_session',
    \],
    'line\_items' =\> \[
        \[
        'quantity' =\> 1,
        'price\_data' =\> \[

Question
Saved payment methods are not showing in Stripe Checkout, even though the customer has previously saved a card using a successful Checkout session with setup_future_usage.

What have you already attempted?
I'm using the same Stripe customer ID across sessions.
I’ve confirmed that the previous payment was made using Checkout with payment_intent_data[setup_future_usage] = 'off_session'.
I can see the saved payment methods in the customer’s profile in the Stripe dashboard.

What are you working on?
I want returning customers to see and select their previously used cards in the Stripe Checkout page, without needing to re-enter their payment details.

#

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

Question
Hello, on Friday I implemented a new feature on my platform and it was working perfectly. Today, Monday, I activated my ngrok, configured my webhook, but my events simply don't reach my API, and nothing appears in ngrok either. However, if I go to the interface and click on resend, then it does arrive.
Another problem is that when I create an invoice and open it in the console, I get the error:
{
"code": "platform_api_key_expired",
"doc_url": "https://stripe.com/docs/error-codes/platform-api-key-expired",
"message": "Expired API Key provided: ek_test_YW*****************************************

Related Event ID(s)
...

What have you already attempted?
I already tried closing and reopening my ngrok, changing my API keys but I'm still not receiving any events.

cursive heronBOT
#

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

Code
in the api, i am adding a payment_method_options param to my payment intent:
```
{
us_bank_account: {
verification_method: 'instant',
},
};
```

In the front end I'm instantiating the payment element with these options:
```
layout: {
type: 'tabs',
defaultCollapsed: true,
},
defaultValues: {
billingDetails: {
name: `${ contact.firstName } ${ contact.lastName }`,
email: contact.customer?.email,
}

Question
I'm trying to disable the payment element offering the customer the option to add a manually verified bank account

What have you already attempted?
The code above, which doesn't seem to effect anything. The stripe AI assistent which suggested the payment_method_options param...

What are you working on?
creating a payment element with a client secret from a payment intend and a customer secret from a customer session

#

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

Question
On charge.refunded webhook on basil api, the invoice_id doesn't come anymore.

I have payment_intent which i can retrieve but i don't have invoice id there neither.

Can we expand payment_intent for invoice id as well? I need to fetch subscriptionId in charge.refunded webhook.

Related Event ID(s)
req_Ts0Wokk8yzbd5W

What have you already attempted?
payment intent retrieval

What are you working on?
trying to update something on charge.refunded but i need subscription id

cursive heronBOT
#

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

Question
I am attempting to create a subscription schedule that applies a specified promotion code in the next phase (at the phase item level). I noticed that the stripe UI does not show that the promotion will be applied if i provide the discounts.promotion_code when creating the schedule, and only works if i provide the discounts.coupon, is there a reason for this, and will the promotion_code still be applied even if the ui doesn't show it?

Related Request ID(s)
req_FEwfb0RjA7Cb4W

What have you already attempted?
I was able to successfully create the same schedule when providing the discounts.coupon field but we'd like to send the promotion_code instead.

What are you working on?
We want to automatically apply promotions to customers subscriptions when they schedule certain updates

cursive heronBOT
#

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

Question
I am getting this error message india_recurring_payment_mandate_canceled, when i use the test card 4000003560000263. But i dont see this error code mapped in the Stripe sdk here: https://docs.stripe.com/error-codes

Related Request ID(s)
req_n6rzNMkSr2o2ea

What have you already attempted?
I have looked in the stripe sdk. we are on v82@82.0.0. I looked in the docs here for the error code https://docs.stripe.com/error-codes. I got that test card from here: https://docs.stripe.com/india-recurring-payments?integration=subscriptions#testing

What are you working on?
India e-mandates, specifically this is an off session renewal

#

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

Question
Hello, I internationalized my platform and now I want to know which property I send in the checkout interface to define which currency the checkout should useTentar novamenteO Claude pode cometer erros. Confira sempre as respostas.

Related Event ID(s)
.

What have you already attempted?
.

cursive heronBOT
#

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

Question
Hello, I internationalized my platform and I would like my payments to always be in the local currency of my user, however at checkout time the payment is only being processed in my local currency. In the subscription within the dashboard I already configured it to accept multiple currencies, but when creating the checkout it's always in BRL

Related Event ID(s)
.

What have you already attempted?
.

#

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

Question
We've migrated from the Sources API to the PaymentMethods API but I still occasionally get a notice that an ACH Credit Transfer source has been used. Where can I track down the source of this error?

Related Request ID(s)
NA

What have you already attempted?
I've attempted to follow the docs from my Workbench (https://dashboard.stripe.com/workbench/insights/sources_eol?insightId=sources-migration) to go here (https://support.stripe.com/questions/where-can-i-see-example-sources-eligible-for-migration) to locate these sources but only get a list of sources -- all of which were created last year. I don't see a way to sort for activity.

What are you working on?
Migrating away from Sources API to PaymentMethods API

cursive heronBOT
#

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

Question
I would like to know how to set the description that shows up in the backend for native Stripe checkout subscriptions -- not the description that shows up on the payment page, the description that shows up in the Transactions

Related Request ID(s)
none

What have you already attempted?
I know I can't set payment_intent info on it but am confused because the description is what people see, but on the backend in transactions I see "Subscription creation" which I would rather be a little more details

What are you working on?
API, Laravel, PHP

cursive heronBOT
#

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

Code
public async Task<PaymentBreakdownResponseModel> CalculateStripeBreakdown(decimal baseAmountPounds, decimal platformFeePercent)
{
const decimal stripePercentFee = 1.5m / 100m;
const decimal stripeFixedFee = 0.20m;

        decimal platformFee = Math.Round\(baseAmountPounds \* platformFeePercent / 100m, 2, MidpointRounding.AwayFromZero\);
        decimal netAmount = baseAmountPounds + platformFee;
        decimal totalCharge = M

Question
Currently i am using card payment method in stripe. My need is to indentify whether a card used in payment method is domestic , international , premium etc for UK to calculate stripe processing fees.

What have you already attempted?
Currently i am finding this solution

#

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

Question
I'm going to be creating invoices via the api. My clients is more concerned about payments just going through vs. any form of customer tracking. However, customer is mandatory. Is it acceptable/standard practice to have a single generic customer for all invoices in this scenario?

Doc/Guide Links
https://docs.stripe.com/invoicing/integration

What are you working on?
Payment integration between 2 systems

cursive heronBOT
#

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

What did you expect to happen?
When using Google Pay (via web), a few months ago, our application started not showing the amount in the browser pop-up. Our test environment with the same codebase shows it fine. Apple Pay (via web, same codebase) shows the amount properly.

What actually happened?
Completing a donation usually shows a pop-up that should show the amount that the user is about to pay via Apple Pay or Google Pay, this stopped happening for Google Pay.

We have been using GP for 3+ years and only this year did this start to happen.

Reproduction Steps
https://city2surf25.grassrootz.com/beyondblue/donate - PROD
https://3te.test.grassrootz.com/cloud-strife/donate - TEST

In both links, complete the donation form and get to the final step until the DONATE WITH GPAY button appears. When clicking it, you will see the behaviour that I mean. In test it works the way we would expect it to.

Question
What is happening here? This seems like a bug, I tried reaching out to Google but they asked for the paymentDataRequest object (which I don't have access to, I believe) and they said to ensure there are no delays when calling "loadPaymentData()", which I believe we do not call directly, so I decided to bring the question here.

What are you working on?
Grassrootz is an online fundraising platform that operates mainly in AU and NZ. We have been live for 8+ years

cursive heronBOT
#

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

Code
$subscription = \Stripe\Subscription::create([
'customer' => $customer->id,
'items' => $subscriptionItems,
'collection_method' => 'send_invoice',
'days_until_due' => 30,
'payment_settings' => [
'payment_method_types' => ['customer_balance']
],
'metadata' => [
'company_id' => $this->companyBilling->company_id,
'subscription_plans_id' => $plan->subscription_plans_id,
'account_id' => $accountId,
]
]);

Question
Hi, can I still use the customer_balance parameter for bank tranfsers even though my merchant location is in Australia?

This is for the use case of utilizing international wire transfers.

What have you already attempted?
I tried removing the payment_settings parameter but bank transfer wasn't an option for payment.

What are you working on?
I'm working on an international bank transfer payment method for our site.

cursive heronBOT
#

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

Question
I'm in test mode.
I have a stripe account that have one Connect account.
when I do a payment to a Connect account I don't receive any webhook call.

Related Event ID(s)
Dashboard > Webhooks

What have you already attempted?
I put public and secret key of the connect account

cursive heronBOT
#

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

Question
Hey, can funds be sent from one connect account to another connect account? We're using custom connect accounts and want to allow our custom connect accounts to add/transfer funds to our other custom connect accounts.

Related Request ID(s)
NA

What have you already attempted?
NA

#

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

What did you expect to happen?
We expected that when registering a payment method domain via the Stripe API on behalf of a connected account, the domain would appear in the Stripe Dashboard under Settings > Payment method domains for that account.

What actually happened?
The API call to /v1/payment_method_domains succeeds with a 200 response, and the domain becomes active (we can process payments with Apple Pay / Google Pay).
However, the domain does not appear in the Stripe Dashboard UI of the connected account.

Reproduction Steps

  1. Use the Stripe API as a platform to register a payment method domain for a connected account (with payment_method_domains.write permission).
  2. Confirm the domain is successfully registered and active.
  3. Check the connected account’s Dashboard → Payment method domains.
  4. The newly registered domain is missing from the list.

Question
Is this the expected behavior?
If not, is there a reason programmatically registered domains aren’t visible in the Dashboard?
Is there a workaround or something else we should be doing to ensure visibility?

What are you working on?
We’re building a hosted checkout for our users and automatically registering our domain for Apple Pay / Google Pay support.

#

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

Question
When creating a checkout session I get the error "You cannot combine currencies on a single customer. This customer has an active subscription, subscription schedule, discount, quote, or invoice item with currency gbp."

User flow:

  1. Checkout (GBP)
  2. Payment fails -> redirect to checkout
  3. Change currency (AUD)
  4. Checkout session error

I've read the doc about this here - https://support.stripe.com/questions/why-are-customers-locked-to-a-specific-currency-and-can-not-be-moved-to-a-price-in-another-currency?locale=en-GB

Customer has a single failed payment, nothing else.

Related Request ID(s)
req_8bSXTRCoqpD0BM

What have you already attempted?
I've looked at the customer via the API and can't see any attached subs, schedules, discounts, quotes, invoice items. There's one failed charge.

Is it to the failed charge causing a currency lock?

What are you working on?
Subscriptions via checkout sessions

cursive heronBOT
#

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

Question
I want to retrieve meter events sent for customer with given timeframe

Related Request ID(s)
req_3h4pZHVJqueAHx

What have you already attempted?
I have only customer id and timeframe, how can i achieve it?

What are you working on?
Usage based metered subscriptios

cursive heronBOT
#

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

Question
As of Basil API update, we need to make extra calls to get invoice id or payment intent inside the webhooks.

The rate limiter in live is 100 requests per second.

This seems pretty low, if you have 5 k users in the app and 200 of them try to apply a promo code at the same time, you might get into rate limiter.

Is there a way to request an increase of rate limit?

Related Request ID(s)
none

What have you already attempted?
Optimize as much as i can, maybe add some queues as well.

The retry mechanism is not possible on 429 so we need to implment it ourselves alongside with the queue

What are you working on?
Going live with the app

cursive heronBOT
#

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

Question
We are a fundraising platform, and ask for an "optional contribution" that users can add to support platform fees, currently, we use stripe connect and destination payments that go directly the the charity's connected account, deducting the optional contribution from the platform fee. We're wondering, is it possible to create two charges - a completely separate one for the optional contribution.

Doc/Guide Links
https://stripe.com/gb/resources/more/how-to-implement-split-payment-systems-what-businesses-need-to-do-to-make-it-work

https://docs.stripe.com/connect/destination-charges

What are you working on?
Fundraising platform socialsync.app / socialsync.io

#

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

Question
Hi, I recently added a trial feature in a SaaS app I am working on. Since we had to collect the payment method upfront, here is the current stripe flow I am using:

- Create Stripe subscription with `trial_period_days: 7`
- Set payment_behavior: `default_incomplete`
- Use expand: ['pending_setup_intent']
- Get `setup_intent` from `subscription.pending_setup_intent`
- Use `setup_intent.client_secret` in Elements
- Call `stripe.confirmSetup()` on frontend
- Payment method saved, subscription becomes trialing
- After 7 days, Stripe auto-charges saved payment method

This one works fine, just wanted to ask if this is the recommended way for this use case or this can be better?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/free-trials?payment-ui=embedded-components

What are you working on?
Working on a trial feature for a SaaS app

#

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

Question
I'm in test mode.
I have a platform account that have one Connect acccount.
I want to receive webhook calls to my local server using stripe-cli.

Related Event ID(s)
Dashboard > Webhooks

What have you already attempted?
The stripe cli is logged with the platform account. it use the webhook key showing in the logs of the stripe cli.
I use the secret and public key of the platform account.
And I launch listen like that:
listen --forward-connect-to web:8000/stripe/webhook/ --forward-to web:8000/stripe/webhook/

#

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

What did you expect to happen?
We don't want to show the Bank option in Stripe Payment Method Element

What actually happened?
At present, In Live Account, the Card and Bank both options are showing while adding a new card

Reproduction Steps
- <script src="https://js.stripe.com/v3/"></script>
- let stripe = Stripe('KEY');
const options = {
mode: 'setup',
currency: 'usd',
paymentMethodTypes: ['card'],
};
const elements = stripe.elements(options);

Question
We don't want to show the Bank option in Stripe Payment Method Element. How to solve it?

#

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

Error Message
No se puede verificar tu documento de identidad.
Elige otro tipo de documento de identidad y vuelve a intentarlo.

Question
Quería saber por qué me lanza este error, sabiendo que estoy adjuntando mis documentos reales, actualmente cuento con 16 años, soy del país de Colombia, por lo que estoy adjuntando es una tarjeta de identidad, este error me salio cuando seleccione un archivo para adjuntar mi documento, y no me lo detecta por ninguna de las dos caras, por favor me ayudan.

What have you already attempted?
He intentado, reiniciar la página, he salido y he entrado de nuevo, he recargado la página, he enviado el documento por una cara, luego por la otra, y me muestra el mismo mensaje de esto.

Reproduction Steps

  1. Le he dado a verificarme en el Discord Developer Portal
  2. Le he aceptado los términos y demás de stripe
  3. Le dí permiso de camara a Stripe
  4. Adjunte mi documento mediante imagen

What are you working on?
Actualmente soy estudiante de secundaria pero estudio programación

#

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

Code
const options = {
layout: {
type: 'tabs',
defaultCollapsed: false,
radios: true,
spacedAccordionItems: false
},
terms: {
sepaDebit: 'auto',
card: 'auto',
googlePay: 'auto',
applePay: 'auto'
},
}

<PaymentElement options={options} onChange={paymentTypeChange} onReady={() => setLoading(false)}/>

Question
how can i setup conditional payment methods? when customer first time purchase then i want only card option but if he is already client and try to second purchase then want card and SEPA both as payment method

What have you already attempted?
tried to setup paymentMethod in option but its not working. check this document https://docs.stripe.com/sdks/stripejs-react#setup

#

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

What did you expect to happen?
Google Pay available

What actually happened?
I have a stripe integration working properly on ios and web. On android when the webview is loading stripe form, google pay does not show up.

Reproduction Steps
Load the app on an android device.

Question
Is there anything to do on native side to make webviews working?

#

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

Code
I am not adding code, I just have a question related to code.

Question
I am creating a multi vendor platform and I am confused on what charges should I use for stripe, should I use direct charges or destination charges

app flow:

When a customer pays for a order for ex. $100 then I will collect my platform fee 15% in this case will be $15 and the rest will be sent to vendor which will be $85

The main issue is, I want the vendors to pay the stripe fee but I dont want customer to see any details of the vendor in payment or in bank statement.

What have you already attempted?
I am currently using destination charges so vendor details are not visible to customer instead my platform details will be visible to customer, but in the I have to actually pay the stripe fee.

I want is that the customer should not be able to see any vendors details and after payment the stripe fee is charged by the vendor.

What are you working on?
I am building a multi vendor e-commerce platform

#

@wide wedge 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

Question
We are developing a mobile application that includes the subscription of digital goods, I wanted to know if Stripe drop in UI would qualify for use instead of in-app purchases?
As you might already know the updates that have been made with Apple.

What have you already attempted?
We have yet integrated drop in UI

What are you working on?
Payment integration for subscription.

cursive heronBOT
#

@hexed cloak 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/payment-element

Question
I would like to confirm that it isn't possible to create a credit card when using the payment element: without the checkout session integration; without a setup/payment intent; without a payment method ID.

What have you already attempted?
We are currently saving credit cards at order submission, when we have the intent created server side, but would like to create it client side, before order submission. Creating a setup intent before hand is not viable for our purposes. Also setting "paymentMethodCreation: "manual"" is not feasible for our server side intent confirmation approach.

cursive heronBOT
#

@flint 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://docs.stripe.com/testing-use-cases?locale=en-GB

Question
Relatively simple question, but, we're currently trying to test our integration with Stripe Connect in a Staging Environment, and this integration seems to work better on the Test Mode rather than on the Sandbox Accounts (the OAuth flow for creating Test Connections ins't working for us). Is the Test Mode going to be deprecated anytime soon?

What have you already attempted?
I've read all the docs regarding testing both in Test Mode or Sandbox.

What are you working on?
Staging Environment for our Application.

cursive heronBOT
#

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

Code
@app/checkout/studio/page.jsx

return (
<CheckoutClientContext stripePromise={stripePromise} promise={promise} />
)

@components/checkout_page/CheckoutClientContext.jsx
return (
<CheckoutProvider stripe={stripePromise} options={{ fetchClientSecret: () => promise, elementsOptions: { appearance } }}>
<CheckoutClientStudio />
</CheckoutProvider>
)

@/components/checkout_page/CheckoutClientStudio.jsx
return ( <div>test</div> )

Question
All code nested inside of a checkout provider will not render, why is it happening?
I am using next js 15, I have split up my checkout page into three components - page.jsx makes async calls to create a checkout session, CheckoutClientContext wraps the form component in CheckoutProvider and the form component is responsible for stripe checkout submission.

What have you already attempted?
I had tried using purely client side components and getting checkout session in a useMemo but then my code sent repeated requests to stripe until 429 error (too many requests), with just client side components my form element inside CheckoutProvider rendered just fine

What are you working on?
a SaaS marketplace with a focus on live demos with 3 paid listing tiers through stripe

#

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

Question
Is there a way to prevent multiple charges for a single identifier?

I make charges using the payment intent system. I would like to make sure that if I create a payment intent for an invoice on my system, there is no way for that invoice to be create another payment intent for that invoice. Ideally I could add a field like "subscription1234-JULY-2025", and Stripe would ignore repeated payment intents for that identifier **after the first succeeds**.

Related Request ID(s)
I don't understand what this field is asking for, and the instructional placeholder is cut off

What have you already attempted?
I looked at idempotency keys, but those are unique to the request, with a key for a failed response and a different key for retry later. I'm looking to reuse the same key across retries, but only ever allowing a single successful payment intent for that key.

What are you working on?
This is for a subscription system for my web service

#

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

Question
We've migrated from the Sources API to the PaymentMethods API but I still occasionally get a notice that an ACH Credit Transfer source has been used. Where can I track down the source of this error?

Related Request ID(s)
NA

What have you already attempted?
I've attempted to follow the docs from my Workbench (https://dashboard.stripe.com/workbench/insights/sources_eol?insightId=sources-migration) to go here (https://support.stripe.com/questions/where-can-i-see-example-sources-eligible-for-migration) to locate these sources but only get a list of sources -- all of which were created last year. I don't see a way to sort for activity.

What are you working on?
Upgrading from Sources API to PaymentMethods API

cursive heronBOT
#

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

Question
I'm trying to integrate Stripe webhook with a SvelteKit and Cloudflare Worker powered app. `stripe.webhooks.constructEvent` always fails

Related Event ID(s)
cs_live_a1sKfx3aGUmSLUPASaycl9APW08BG5opLGfVBbzon97BPj5lpUF7XYHNDC

What have you already attempted?
I attempted different ways to access the request raw body. `request.text` `request.arrayBuffer` seem to have the same result. I also made sure that the webhook secret I'm using is correct.

What are you working on?
An open source Disqus alternative. Basically we provide a widget that integrates on any website to provide a comment section.

#

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

Question
From July 11th to the 18th. we encountered a fraud / or card enumeration attack on our checkout / funnel.

During the incident, several cards were attempted for a single user until a valid card was used.

We'd like to be able to prevent these enumeration or card validation attacks but need to understand the best practices to implement from the application level to potentially using Radar rules.

Doc/Guide Links
https://docs.stripe.com/radar/rules

What are you working on?
Fraud Prevention

#

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

Code
const paymentIntent = await stripe.paymentIntents.create({
amount : paymentAmount
currency : 'usd',
confirm : true,
customer : stripeCustomerId,
error_on_requires_action: true,
payment_method : stripePaymentMethodId
})

Question
We just started getting this error with the code in question:

The `error_on_requires_action` parameter can't be used with PaymentIntents which use payment methods managed through the Dashboard at https://dashboard.stripe.com/account/payments/settings. Either omit `error_on_requires_action` when confirming this PaymentIntent (and handle any next actions that may be required) or create a different PaymentIntent that uses `payment_method_types`.

Is this a new requirement?

What have you already attempted?
https://docs.stripe.com/api/payment_intents/create

Our previous code with `error_on_requires_action: true` has been working in production for years without issue. Did something change on the Stripe side?

We are using an older version of the stripe npm module: 8.181.0. Is this the reason?

Thank you!

What are you working on?
payment system for tutoring company

cursive heronBOT
#

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

Question
Looking for a webhook for when a Connect Collection Transfer happens. From here:

https://docs.stripe.com/connect/account-balances#understanding-connected-reserve-balances

It says:
"If a connected account has a negative balance for more than 180 days, Stripe will automatically transfer your reserves to the connected account to zero out the balance. Dashboard pages and reports show these transfers as Connect collection transfers."

Is there a webhook that gets sent out when the transfer is created or made?

Thanks!

Related Event ID(s)
n/a

What have you already attempted?
Read documentation and looked here:

https://docs.stripe.com/api/events/types

But nothing stands out that would be a Connect Collection Transfer event.

What are you working on?
Paw Payments

cursive heronBOT
#

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

Question
we're updating our stripe connect express account creation flow from using Oauth to using the new supported flow using this doc: https://docs.stripe.com/connect/express-accounts

the docs say that stripe does not pass any information to return_url that stripe calls. so I'm wondering how do I get the following information after the onboarding is finished?

  1. stripe_publishable_key
  2. refresh_token
  3. access_token

these 3 pieces of info are required for us to make API calls to Stripe. (for context, we use Stripe's stripe-ruby gem)

Related Request ID(s)
none

What have you already attempted?
the info does not exist on the account

What are you working on?
upgade onboarding flow form oauth to new stripe supported flow for express accounts

cursive heronBOT
#

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

Question
I am not able to get express account events triggered on my webhook.

Related Event ID(s)
evt_3RqHENL2jwQoGzrV04w7PS8T

What have you already attempted?
Manually using the Stripe CLI to trigger them.

cursive heronBOT
#

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

Error Message
We are using OloPay Android SDK which uses Stripe SDK for Google Pay.

The OloPayAppInitializer.kt calls PaymentConfiguration.init(), yet we get this IllegalStateException with the message: PaymentConfiguration was not initialized. Call PaymentConfiguration.init().

I have added code snippets in below bug link.

Question
I created bug: https://github.com/stripe/stripe-android/issues/11225

Where I posted that this init() call is being made. So, why are we seeing this Exception?

What have you already attempted?
We are making this call. Yet some users get this error. If user has launched app and has backgrounded it. Does this call need to be made every time?

What are you working on?
Potbelly Android App with OloPay SDK

cursive heronBOT
#

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

Question
We have a multi month promotion that gives a user 3 months of a percentage discount on their subscription. During this time we allow the customer to schedule updates to their subscription for the next billing cycle. I am trying to figure out if there is way to determine if the discount should or not be applied to the future phase or not.

Related Request ID(s)
NA

What have you already attempted?
I noticed that copying over the existing phase.discounts array over to the new phases (omitting the nil fields) results in re-applying the promotion code as new which can essentially issue a perpetual discount to the customer if they make scheduled changes each month.

#

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

Question
Does anyone know how lax is Stripe about negative account balances? If a dispute occurs for a destination charge, Stripe will pull the funds from the platform account. We use webhooks to then immediately pull the funds from the Connect account. Which happens first? If Stripe takes from the platform first, is there a penalty from the potential brief window the Platform account is negative? Similarly, if a dispute is won, Stripe returns the funds to the Platform, which then transfers them back to the Connect account. Which of these events occurs first?

Related Event ID(s)
evt_3RefIZRUip0oyneK0978cfFn

What have you already attempted?
I have implemented Refund and dispute handling with webhooks, and refunds seem to work without issue in testing mode. Disputes also seem to work up until a dispute is won. In this case, I attempt to transfer the funds back to the Connect account on charge.dispute.closed, but if my platform doesnt have enough available funds the transfer fails, which leads me to believe Stripe returning the funds seems to occur after charge.dispute.closed. I am not sure how to account for this scenario, I could let the automatic webhook retries fire but I feel like theres a better way?

What are you working on?
We are building an integration utilizing Stripe Connect and Destination charges with the on_behalf_of parameter. We are using the python stripe library to integrate

#

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

Question
When creating a subscription schedule where we want to charge automatically, what is the best practice to return the proper status to the frontend in a timely manner?

In our flow, the user upgrades its subscription -> we update the schedule subscription. We expand the result to get the latest invoice and its payment intent so we can get the status. The status tells us if it's `requires_action`, etc. The issue is that when making the call to update the schedule, the invoice hasn't been finalized yet so the payment intent is null. We could artificially wait for it but meanwhile the frontend is in a loading state waiting to decide if it has to show 3DS or card decline or w/e.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules
https://docs.stripe.com/payments/payment-intents

What are you working on?
SaaS with subscriptions

#

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

Error Message
price_id not found

Question
I allow connect accounts to create products and prices, but I keep getting price_id not found error. When I create the product and price it appears in the stripe dashboard, but when I click on the price it says not found.

What have you already attempted?
I've inspected the network tab of devtools and I can see prices being returned for the respective product, however even copying those and pasting into search results in a not found.

#

@lavish igloo 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/customer-balance/migrating-from-sources

Question
We store billing profiles for customers where each profile is a Stripe Customer. Previously, users could set ACH Credit as their default payment method. ACH has since been deprecated and customers can no longer select that. Are we supposed to migrate all previously created Stripe Customers to whatever replaced ACH credit transfer? Is that covered in the documentation linked? If I do migrate existing customers, will they receive communication? Will their normal activities be interrupted?

What have you already attempted?
When displaying a profile in our app we check both payment method and sources to display what the customer chose. But i am not sure if the intention was that we manually migrate the customers over from the deprecated Sources API.

What are you working on?
Our app allows customers to create billing profiles where each profile is one Stripe Customer

#

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

Code
application_fee_amount

Question
Hi team,

We’re using Standard Connect accounts and applying application_fee_amount on charges created by our platform. We’d like to move to Platform Pricing so that our platform becomes responsible for Stripe fees, and we can retain the platform fees we set. Profit Share, partner program etc..

Can you please confirm what’s required to enable Platform Pricing on our account?

What have you already attempted?
application_fee_amount

cursive heronBOT
#

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

Code
style: Platform.isAndroid
? CardFormStyle(
borderColor: shadowColor,
borderWidth: 1,
borderRadius: 16,
backgroundColor: backgroundColor,
textColor: textColor,
placeholderColor: inactive,
fontSize: 16,
textErrorColor: errorColor,
cursorColor: kPrimaryColor,
)
: null

Question
Im using a widget on a flutter app that uses CardFormField to register clients payment methods, the issue im having id when i test it on an iOS iPhone with system darkmode the fields are almost invisible, its not taking the style of the Form

What have you already attempted?
Detecting the os then building the style based on that.

What are you working on?
Service application

#

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

Question
Sorry, my thread was closed before I could respond. I asked about negative platform account balances and how certain things are handled by stripe in regards to that. Thank you for the response, perhaps I can be a bit more clear in what I am asking. I will put an example scenario below to illustrate what my issue is that I cannot resolve. I have read the support articles but I think my specific scenario is more intricate than the articles cover

Related Event ID(s)
evt_3RefIZRUip0oyneK0978cfFn

What have you already attempted?
I made a destination in my sandbox for $1000. I then triggered a dispute on the charge. My webhooks correctly reverse transferred the $1000 charge from the Connect account back to the Platform and Stripe took $1000 from the platform. Then I offered winning_evidence. My webhook was supposed to initiate a transfer from the Platform back to the connect for $1000. However, Stripe had not yet returned the disputed funds to the Platform, so the Platform did not have $1000 to transfer, and it failed. I want to prevent this from occuring so that won dispute transfers can succeed

What are you working on?
Dispute management through Connect Accounts and Destination charges. Coding in Python

cursive heronBOT
#

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

Question
Hi, I’m building a marketplace where customers buy coupons, and merchants scan QR codes to release payment in 3 parts. Each purchase includes 3 QR codes; scanning each one releases 1/3 of the funds. I have two questions: 1) When a QR code is scanned, how fast is the payment released—instantly or delayed? 2) Both admins and merchants have a refund button. If a merchant refuses a refund, can the admin still force it through? What is Stripe's policy on this? can you please elaborate and include any technical references. Thanks!

Related Request ID(s)
NA

What have you already attempted?
This is a question that I couldn't find an answer for because it's about API technical and legal policy

What are you working on?
Marketplace

cursive heronBOT
#

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

Code
{
"error": {
"code": "setup_intent_unexpected_state",
"doc_url": "https://stripe.com/docs/error-codes/setup-intent-unexpected-state",
"message": "You cannot confirm this SetupIntent because it has already succeeded.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_mX5IJRRXBUJibT?t=1753828337",
"setup_intent": {
"id": "seti_1RqM23RHtdZpYxj3lJDsYJPK",
"object": "setup_intent",
"automatic_payment_methods": {
"allow_

Question
When a payment intent fails following a setup intent, do I automatically need to request a new setup intent or is there a way to reuse the same one?

What have you already attempted?
I tried requesting a new setup intent, but the behavior seems a bit unexpected UI-wise. We get an error that the card was declined, then the form disappears, loads again while we retrieve the client secret, than reappears. Is this standard?

cursive heronBOT
#

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

Question
What does this mean? "You cannot migrate a subscription that is already attached to a schedule: ..."
I am not sure what is resulting in the migration of a subscription

Related Request ID(s)
req_fwlMSzF1grGgrl

What have you already attempted?
I tried to update the subscription schedule, and then this error popped up.

cursive heronBOT
#

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

Code
$invoice = \Stripe\Invoice::create([
'customer' => $customer->id,
'collection_method' => 'send_invoice',
'days_until_due' => 30,
'auto_advance' => false,
'metadata' => [
'company_id' => $this->companyBilling->company_id,
'subscription_plans_id' => $plan->subscription_plans_id,
'account_id' => $accountId,
],
'description' => "Please make payment via bank transfer to:\n\nBank: XYZ Bank\nAccount: 123-456-789\nName: Y

Question
Can we hide any card payment methods and just display an invoice with a memo instead?

What have you already attempted?
We tried removing all payment methods which worked, but we'll be needing the card payment methods.

What are you working on?
Creation of invoice with no payment methods displayed.

cursive heronBOT
#

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

Question
We encountered an issue when using a Stripe coupon.

We have a coupon with a value of $24.99, and there are two products involved:

Product A: $24.99

Product B: $14.99

Case 1:
When we create a subscription with both Product A and Product B and apply the coupon, then later update the subscription to add another Product B, Stripe charges $14.99 + $14.99 during the proration.

Related Request ID(s)
no

What have you already attempted?
no

cursive heronBOT
#

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

Question
We’re facing a time zone issue with subscriptions renewing on the 1st of each month. Our backend uses JST, but Stripe operates in UTC. So, renewals between JST 00:00–09:00 are seen as occurring on the previous day in UTC, making it look like two payments in the same month.

Is there a way to align renewals with JST? Or any best practices for handling this? We’re considering handling this 9-hour window differently in our backend, but are unsure if that’s advisable since Stripe has charged the user.

Doc/Guide Links
https://stripe.com/docs/billing/subscriptions/overview
https://stripe.com/docs/billing/subscriptions/billing-cycle
https://stripe.com/docs/billing/invoices/timezones

What are you working on?
We’re building a subscription-based app for Japanese users. All billing logic and UI are based on JST, and we want to handle monthly renewals consistently—especially around the 1st of each month when UTC/JST differences cause co

cursive heronBOT
#

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

Code
initPaymentSheet with config + applePay + customFlow: true

Question
there is a preselect screen i want to get rid off

What have you already attempted?
only work with customFlow: false

What are you working on?
ecommerce app

#

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

What did you expect to happen?
Those metered events count against the user's usage-based billing

What actually happened?
The metered events appear in the meters dashboard (https://dashboard.stripe.com/meters/mtr_...), but not on the user's plan

Reproduction Steps
Meter events against a subscription for a given user

Question
There seems to be a recent issue with usage-based billing, where usage billed against our most active customers doesn't actually get invoiced to the user. As you can imagine, this is quite expensive for us

cursive heronBOT
#

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

Question
Hi Stripe team,

We’re using Standard Connect accounts for our platform (YourZown), where we create charges on behalf of connected accounts using our platform’s secret key and apply application_fee_amount.

Based on our research, we understand that to retain our platform fees:
1. We must enable Platform Pricing so YourZown pays Stripe fees
2. We must create the charge on behalf of the connected account (which we already do)
3. We must set an application_fee_amount on each charge

Can you please confirm this setup is correct, and enable Platform Pricing on our account if needed? We’d also li

Related Request ID(s)
Zzz

What have you already attempted?
Xxx

#

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

Code
Hi Team,

we have used stripe terminal sdk using card reader wisepod 3 device in our application

Question
we need to update the reader if the update is available , but currently we have an reader is up to date then how to degrade the version to check update process

What have you already attempted?
just check need to update the reader

What are you working on?
app developpment

cursive heronBOT
#

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

Error Message
"message": "Invalid amount."
"type": "card_error"

Question
Hello I am trying to provide the wanted functionality but some bank providers do not accept the payment.
Imagine we have a user that needs to book a court. We display the individual amount (e.g. £7) but we reserve the full court amount (£40) in case no other players pay for this court. Later we capture (or refund) the right amount based on the user participation.

What have you already attempted?
Different bank providers. Monzo seems to decline the payments.

What are you working on?
A booking platform for sport courts

#

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

Question
Hello, I'm currently trying to figure out how to use the Stripe API to issue refunds for charges. However, I'm running into an issue where `refund_application_fee` always returns `refund_application_fee can only be used by the Connect application that created the charge.`

Related Request ID(s)
req_J9glNCgwdHPD1W, req_SmqMaWOffDEmDy

What have you already attempted?
I've created invoices and paid them through the API without using any `on_behalf_of` or transfer destination functionality. So it should be an invoice paid by the customer where the money goes to the platform. However, issuing a refund with `refund_application_fee` on the charge of this invoice always yields the mentioned error.

What are you working on?
Stripe integration utilizing invoices and refunds.

cursive heronBOT
#

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

Error Message
No such coupon: ''

Question
we suddenly receive no such coupon error and after retry it can pass
req_zLeAvBRPFO6PdM <- error
req_daJO1TGT9RzAJq <- pass

What have you already attempted?
try to create subscription

cursive heronBOT
#

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

Question
I am using coupon retrieve api and I want to show product information inside applies_to

Related Request ID(s)
Coupon ID: jPUrFAQO

What have you already attempted?
coupon = Stripe::Coupon.retrieve({ id: params[:id], expand: ['applies_to.products'] })

What are you working on?
Showing coupon info

cursive heronBOT
#

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

Question
Can a Stripe Connect account be linked to two different Stripe platforms at the same time?

Specifically, if Platform A has already onboarded user via Connect, is it possible for Platform B to access or use that same connected account without onboarding the user again?

Doc/Guide Links
https://support.stripe.com/questions/security-permissions-and-access-levels-when-connecting-your-stripe-account-to-a-third-party-platform
https://docs.stripe.com/connect/oauth-changes-for-standard-platforms
https://docs.stripe.com/connect/platform-controls-for-stripe-dashboard-accounts

What are you working on?
I'm working with multiple Stripe Connect platforms (separate Stripe accounts using Connect). I want to know if a connected account created under one platform can be shared with another platform

cursive heronBOT
#

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

Error Message
Payment method has no customer associated if the payment intent fails to confirm.

Question
Is this expected the expected outcome? Is there a way to force the payment intent customer to propagate to the payment method?

What have you already attempted?
I tried "payment_intent.confirm({expand: ["customer"]})" but it didn't have any effect.

cursive heronBOT
#

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

Question
Stripe allow to have API metadata filed key has a space?

Related Request ID(s)
req_jJFIh88b14OJKu

What have you already attempted?
Earlier metadata key with space is allowed in Stripe - req_4IYUCTURjJ0ckA

What are you working on?
WooCommerce plugin

#

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

Question
I'm using the CLI to redirect webhooks to my local machine. The CLI received a webhook which created a 500 error on my end. However, in order to trigger the webhook I need to do a multi-step process, so I wonder if it's possible to retrigger this event from somewhere inside the dashboard (or the CLI)?

Related Event ID(s)
evt_1RqYiMAZXatHl2PMpM6IkSgG

What have you already attempted?
I've scoured the dashboard, webhooks and developer areas. No luck so far.

What are you working on?
Standard Connected Accounts signing up and being onboarded. Need to verify when they're eligible to receive payments from their clients

cursive heronBOT
#

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

Code

  1. const promise = useMemo\(async \(\) =\> {
     return await createCheckoutSession\(\)
    

    }, [])

  2.         // Set user info in checkout session
         checkout.updateEmail\(email\)
           // Customer name here as well, i couldn't find a method to change that in the checkout object
         const confirmResult = await checkout.confirm\(\)
    
  3.         checkout.updateEmail\(email\)
         const confirmResult = await checkout.confirm\(\)
    

Question

  1. For some reason my checkout page makes repeated requests to stripe until 429 error (too many requests), what would be a possible workaround for this?

  2. I have customer name and customer email form fields. What would be an optimal way of creating a customer with name and email set as those input fields on form submission?

  3. I have other form fields such as price, etc. Is it possible to execute another request after checkout is confirmed & before success redirect?

What have you already attempted?

  1. Currently session creates whenever user loads the page using useMemo. This seems to cause the repeated requests. I tried using useEffect instead but the result was the same.

What are you working on?
SaaS marketplace with a focus on live demos and three paid listing tiers through stripe

#

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

Question
Is there a way to get the remaining time of a coupon applied to a subscription?

Related Request ID(s)
N/A

What have you already attempted?
I’ve reviewed the documentation, specifically the discounts section, but I don’t see any options to retrieve data from a discount using its identifier.

What are you working on?
Working on a use case where the goal is to determine the remaining time of a coupon/discount applied to a subscription.

cursive heronBOT
#

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

Code
// app.tsx

<Elements stripe={stripePromise} options={{ locale: getLocale() }}>
<MyApp />
</Elements>

// cart-screen.tsx
<PaymentElement />

Question
Hello, so I want to migrate from `CardElement` to `PaymentElement`

I want to dynamically show payment methods based on back-end response
I see that you can do that in Stripe Dashboard but the product is really complex and we allow X or Y payment method depending multiple conditions
In the doc, I can't find where in my React component I can put the list of payment method we allow, can you explain me how it's done? Via the client secret from payment/setup intent?

What have you already attempted?
So this means I need to create payment/setup intent before rendering the PaymentElement form?

What are you working on?
Migrate CardElement to PaymentElement with PaymentIntent API

#

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

Question
I am creating a checkout session in order to collect a customer's payment method. The request to /v1/checkout/sessions has an existing customer, cus_SUvLQAH3hteQIk. Looking at that customer's dashboard there is a name and a billing address associated in Stripe, but those fields are not pre-populated in the Checkout form. How do i populate these fields either from Stripe's side or from the creation of the Checkout session either in API or via JS?

Related Request ID(s)
req_Aqktpu1ICinOaA

What have you already attempted?
Updating/creating Customer account with the fields already populated.

What are you working on?
Point Of Sale application.

#

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

Question
Trying to create subscriptions in stripe that start on 1st of month, but 1st payment is not charged & 2nd payment is potentially prorated. - Best practice for this using backdating & billing cycle anchor & potentially discounts

Doc/Guide Links
https://docs.stripe.com/api/subscriptions
https://docs.stripe.com/api/discounts
https://docs.stripe.com/billing/subscriptions/backdating

What are you working on?
Subscription which represents platform fee for B2B Saas

#

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

Question
Attempting to ad discounts incrementally to a subscription. However when I retrieve a subscription with multiple discounts already applied to it, the subsbscription.discount field is nil (it is only populated when there is 1 discount present). How can I view all the the current discounts being applied to a subscription?

Related Request ID(s)
sub_1RgX0pF5n5KjLa7RaWfvuiju

What have you already attempted?
I attempted to add 2 stackable discounts to an existing subscription and wanted to test that when i retrieve the subscription via the api, i can see the discounts applied to the sub via the api.

#

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

Question
How do I access Stripe via React js in a way that allows me to send an email after the customer has made a payment?

Related Request ID(s)
req_6gnncaNOAed8hM

What have you already attempted?
I have tried using loadStripe and redirectToCheckout with the Stripe product price ID.

What are you working on?
a ticket system for a seating chart

cursive heronBOT
#

@fickle narwhal 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/acss-debit

Question
Pretty general so I apologize. I'm working with a customer to setup preauthorized debits in Canada. We need to support an online flow, as well as a flow where the customer does not have online banking available. I believe this means micro deposits.

I was hoping for some guidance/further resources on PAD/micro-deposits. I think I know most of the pieces, although I'm confused on the the order of each and how they interact with another.

What have you already attempted?
Nothing yet

What are you working on?
Enterprise integration

cursive heronBOT
#

@astral 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/invoices/attach_payment

Question
It says that an "out of band" payment can be attached, but there's no reference or instruction on how to do this / what object to do this with. I think public docs are referencing a beta that is not accessible?

What have you already attempted?
We've worked on attaching payment intent, which works. But there' s way to do this for out of band payments

#

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

Question
Hi, I'm trying to understand Stripe Connect's capabilities for USD payouts to Argentinian connected accounts. Given Argentina's high inflation and capital controls, I'm specifically curious:

1) Is Stripe exploring partnerships (e.g., with local banks, stablecoin providers) to facilitate USD/stablecoin payouts, circumventing or mitigating foreign exchange rules?

2) Are there future plans for more flexible solutions in unstable currency markets like Argentina to support USD-denominated payments?

Doc/Guide Links
https://docs.stripe.com/connect/cross-border-payouts

What are you working on?
Stripe Connect Payouts in USD for Argentinian Connected Accounts: Current Capabilities & Future Plans

#

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

Code
const { client_secret: clientSecret } = await stripe.paymentIntents.create({
customer: customer.id,
setup_future_usage: "off_session",
confirm: true,
amount: 4999,
currency: 'usd',
automatic_payment_methods: {
enabled: true,
},
})

in handle submit form
const { error } = await stripe.confirmPayment({
elements,
confirmParams: {
return_url: "http://localhost:3000/success",

Question
This PaymentIntent is configured to accept payment methods enabled in your Dashboard. Because some of these payment methods might redirect your customer off of your page, you must provide a `return_url`

What have you already attempted?
Nothing, just going off the stripe docs

What are you working on?
Saas directory with three paid listing tiers through stripe

#

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

Question
Hey, is there any way I have use {
delay_days: 1,
interval: 'daily'
}
If my controllers for connect accounts are:
controller: {
stripe_dashboard: {
type: 'none'
},
fees: {
payer: 'account'
},
losses: {
payments: 'stripe'
},
requirement_collection: 'stripe'
},

Or any other way to do it?

Related Request ID(s)
Na

What have you already attempted?
Na

#

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

Code
I want help to integrate google pay in Stripe using Flutter. I have written the code but still google pay button is not coming but card option is coming

Question
I want help to integrate google pay in Stripe using Flutter. I have written the code but still google pay button is not coming but card option is coming

What have you already attempted?
I have tried all for Google pay integration with Stripe using Flutter from internet

What are you working on?
In Stripe Payment gateway, I want to integrate Google pay in my Flutter app

cursive heronBOT
#

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

Error Message
decumentos

Question
oi tudo bem eu tava tentando deixa meu documento valido so nao ta dando certo eu sou estrangeiro e meu documento diferente tem ouro forma de resolver isso ? mesmo se vcs quer eu mando meus documentos aqui pq quando pra tirar foto nao ta aceitanto

What have you already attempted?
eu preciso desse stripe pra deixa a minha loja render

What are you working on?
eu trabalho com dropshipping

cursive heronBOT
#

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

Question
I have a unit test that makes a call to /v1/subscriptions/%<id>s" with the following params:
{ coupon: "", proration_behavior: "none" }

The test had three failures at the following times:
2025-07-29 22:15:39 UTC
2025-07-30 06:15:15 UTC
2025-07-30 08:20:37 UTC

With the following error message:
Stripe::InvalidRequestError:
No such coupon: ''

The test is passing now.

Q1. Did stripe had a blip during the mentioned time?
Q2. Is `coupon` still a valid attribute or should we start using `discount` instead?

Related Request ID(s)
N.A.

What have you already attempted?
Nothing.

cursive heronBOT
#

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

Question
My customers are being charged after they have set their subscription to cancel on period end (after the trial ends).

Related Request ID(s)
https://dashboard.stripe.com/workbench/inspector/cus_SjYiLz23t4r589/events?selectedId=cus_SjYiLz23t4r589&date[lte]=1753895597&eventType=&objectId=&resource=&search=

What have you already attempted?
I'm looking at the inspector for the customer and I clearly see the event where the subscription was updated to cancel at the end of the billing period, but then an invoice is still generated and the customer is charged.

#

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

What did you expect to happen?
When I try to retrieve the payment_intent object from the checkout_session, I expect it to NOT be null

What actually happened?
After July 24, 2025, payment_intent object is null when accessing through a checkout_session object

Reproduction Steps
here's ruby code:

Stripe::Checkout::Session.retrieve(
id: stripe_checkout_session_id,
expand: [
'payment_intent'
]
).as_json

Question
Did the behavior on API version 2025-01-27.acacia suddenly change?

What are you working on?
Our users make one time payments using Stripe Checkout. We later allow user to view a receipt of their payment.

#

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

Error Message
You cannot set `payment_behavior` to `pending_if_incomplete` when the default payment method is `bacs_debit`.

Question
I understand that the problem is happening when I try to upgrade a subscription issuing an invoice for the prorated amount and this can't be done with bacs_debit, but what should I do instead?

What have you already attempted?
Nothing really, I'd like to get some guidance on the available options.

#

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

Code
def finalize_stripe_invoice!(stripe_invoice: get_stripe_invoice)
return stripe_invoice unless stripe_invoice.status == 'draft'

stripe\_invoice=Stripe\:\:Invoice.update\(
  stripe\_invoice.id,
  {
    payment\_method\: 'pm\_card\_visa\_chargeDeclinedInsufficientFunds',
    collection\_method\: 'charge\_automatically',
    auto\_advance\: true
  },
  { api\_key\: student.stripe\_api\_key }
\)

Stripe\:\:Invoice.finalize\_invoice\(
  stripe\_invoice.id,

Question
I'm trying to swap in the test PaymentMethods such as "pm_card_visa_chargeDeclined" so I can start testign what happens if the default payment menthod on a account no longer works when attempting an invoice.

What have you already attempted?
I tried putting the payment method in like above. I've also tried to update the payment intent with the card after which does seem to work, but doesn't let me test this code directly. If there is a way to finalize the invoice and then tell it to bill it after I hjave an chance to update the payment intent that would actaully work even smoother in my code.

What are you working on?
A basic ruby on rails application to bill monthly invoices. They want to be able to pay them eraly on request as well.

cursive heronBOT
#

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

Question
My customer locally was deleted automatically but can't understand why.. we havent done that manually.

"id": "cus_S403yGUBFm2tt0",

Source
Automatic

it says it was automatic but why?

Related Event ID(s)
evt_1RqUy2DmVlmqORBIQnT3scm0

What have you already attempted?
Debugged but can't see logs from my app.

What are you working on?
Webhooks

#

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

Question
I have a customer who's reporting they made a payment, but I don't see the payment on my end. This was for a manually drafted + sent invoice, though most invoices in my application are sent automatically. Is there a way to tell if a payment was attempted for this invoice?

Related Request ID(s)
in_1RZgM9CjVzeFIn9gqRK0hRYJ

What have you already attempted?
N/A

#

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

What did you expect to happen?
I have been getting verification text from number 65161 for some time I Googled and determined it was from your company. I don't use your app but I use joist for billing for my business.

What actually happened?
I downloaded the app and tried to login in didn't know my password. But never got an email back to login.

Reproduction Steps
Help i need customer support
I have been getting verification text from number 65161 for some time I Googled and determined it was from your company. I don't use your app but I use joist for billing for my business.

Question
I have been getting verification text from number 65161 for some time I Googled and determined it was from your company. I don't use your app but I use joist for billing for my business.

What are you working on?
C

cursive heronBOT
#

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

Question
why the customer.subscription.updated webhook is sent in a loop even though the server response is 200

Related Request ID(s)
events/evt_1RqfZiJsUJztFB3FduGru3XB

What have you already attempted?
stop requests if response 200 is obtained

#

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

Code
I don't think there is any code I need to share? This is more a question of how to do it as I don't see anything in the docs

Question
I am currently in the process of adding a checkout page to my app using embedded components. I got most figured out, but I want to add a "donate what you want" product, which I setup in the products of my org as "customer chooses price" product. Now, how would I go on about doing this? I know there is an JS method under StripeCheckout that is updateLineItemQuantity, is there anything similar but for price so they can specify how much they want to donate?

What have you already attempted?
Nothing, as I don't know where to approach this from. The docs seem to say that the embedded components don't support this, although I'm not sure if it's a technical limitation or just that it hasn't been documented (seems more like the former). If not, would there be any other way of doing this outside of switching to the embedded form, since I want to create the whole layout and code behind it myself?

What are you working on?
Checkout page using embedded components with tip/donations

#

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

Question
When retrieving a customer's payment methods, do all types of payment methods show up?

Related Request ID(s)
n/a

What have you already attempted?
I am testing with a customer that has a payment method "USD Cash Balance" (which can't be set as a default). Using "stripe customers list_payment_methods" is coming back empty.

cursive heronBOT
#

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

Question
I am trying to create an AccountLink via the v2 API. I have already been able to create accounts via the v2 API. However I get "The API method can not be found " when calling the v2 account_links API (https://docs.stripe.com/api/v2/core/account-links/create?api-version=2025-05-28.preview&rds=1),

Related Request ID(s)
req_v2Ya5ZWYArt4EKT2s

What have you already attempted?
I tried using the curl example generated by the docs site, same result.

What are you working on?
Working on creating merchant accounts for my connect app

cursive heronBOT
#

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

Question
I can't find what call to make in order to retrieve the net amount from Stripe before AND after a refund. Once a refund has successfully completed, the net amount does not update in my bubble database.

Related Request ID(s)
req_cWSmN3wRVuaFfi

What have you already attempted?
Making a call to Stripe to retrieve payment intent on a database trigger anytime a transaction is modified. Also making a call to Retrieve Balance Transaction and then making a change to the transaction with the result of the balance transaction's net. This brings in the net, but it never updates after a stripe issued refund and clearly a new net is displayed in Stripe.

What are you working on?
an event entry app

cursive heronBOT
#

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

Question
How to prefill personal details when identity.entity_type is not "individual"? I have "company" or "non_profit" as my entity type, however account onboarding still asks for personal details. The API will not allow passing in these details under "identity.individual" if the entity_type is not "individual".

Related Request ID(s)
req_v2rBCNfjdzHfecUvr

What have you already attempted?
Removing the identity.individual field. The request works but I no longer have prefilled values for Personal details during onboarding.

What are you working on?
Onboarding connect accounts

#

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

Question
When a dispute is won and a new balance transaction is created. It appears I should expect to receive two events: issuing_dispute.closed and issuing_dispute.funds_reinstated.

Because the dispute process creates a new balance transaction should I also expect to receive an issuing_transaction.created event? If not, does the funds_reinstated event contain the transaction information? I can not find answers to these questions anywhere in the documentation.

Related Event ID(s)
None

What have you already attempted?
Reading the documentation

cursive heronBOT
#
#

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

Code
const customer = await stripe.customers.create()

const { client\_secret\: clientSecret } = await stripe.paymentIntents.create\({
    customer\: customer.id,
    setup\_future\_usage\: "off\_session",
    amount\: 4999,
    currency\: 'usd',
    automatic\_payment\_methods\: {
        enabled\: true,
    },
}\)

Question
Is it possible to change metadata of payment intent / customer objects after initial creation?

What have you already attempted?
Changing metadata in success page
const { payment_intent: paymentIntentId } = await searchParams

if \(!paymentIntentId\) redirect\('/'\)

const paymentIntent = await stripe.paymentIntents.retrieve\(paymentIntentId\)

if \(!paymentIntent\) redirect\('/'\)

const newPaymentIntent = await stripe.paymentIntents.update\(paymentIntentId, {
    metadata\: {
        test\: 'test'
    }
}\)

const { status } = newPaymentIntent

What are you working on?
Saas directory with three paid listing tiers through stripe

cursive heronBOT
#

@spring igloo 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 intent to get a payment method and be confirmed with when I called confirmKlarnaPayment

What actually happened?
It failed with the error payment_intent_incompatible_payment_method.
error message : "A payment method of type klarna was expected to be present, but this PaymentIntent does not have a payment method and none was provided. Try again providing either the payment_method or payment_method_data parameters."

Reproduction Steps
Create a payment intent on the backend without a payment method;
Return the client secret to the client;
Call stripe.confirmKlarnaPayment(clientSecret, {
return_url: window.location.href,
});

Question
What am I doing wrong? It follows the same logic as the example in the docs

What are you working on?
A React webapp for an existing system

cursive heronBOT
#

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

Code
const options: StripeElementsOptions = {
mode: 'setup',
setupFutureUsage: 'off_session',
paymentMethodCreation: 'manual',
payment_method_types: ['link', 'card'],
...
}

Question
I have a react Elements integration in production showing a bank payments option through link, that I can't get to show in development order to test a fix related to them. The same code is running in both environments, I can't find any related settings to change that aren't the same.

What have you already attempted?
Looking for Link settings to change, adding `paymentMethodOrder: ['link', 'card'],` to Elements options

cursive heronBOT
#

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

Question
Hi, I’m building a marketplace where customers buy coupons, and merchants scan QR codes to release payment in 3 parts. Each purchase includes 3 QR codes; scanning each one releases 1/3 of the funds. I have two questions: 1) When a QR code is scanned, how fast is the payment released—instantly or delayed? 2) Both admins and merchants have a refund button. If a merchant refuses a refund, can the admin still force it through? Thanks!

I have the developer online as well in case you need him

Related Request ID(s)
NA

What have you already attempted?
General question about Stripe refund process and for our particular case

What are you working on?
Marketplace

cursive heronBOT
#

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

Question
Why can't I see apple pay as an options on my Stripe Elements page?

I'm creatnig a payment intent but my model basically is subcription. I've already registered my domain in the dashboard and I can see google pay but not apple pay.

Do I need to do some extra configuraiton like adding the certificate to my url?

Related Request ID(s)
evt_1RqmVKGggNnnYrcypoWac0YE

What have you already attempted?
https://support.stripe.com/questions/enable-apple-pay-on-your-stripe-account

What are you working on?
Subscription for my SAAS website

cursive heronBOT
#

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

Question
I have set my retry mechanism settings for subscription to a custom (retry 1 day after previous attempt). and after all the retry failed leave subscription past due. but it already 2 days, and why the status is still retrying?

Related Request ID(s)
sub_1RnyUeS7EHeaHKiludZIsMBT

What have you already attempted?
Try to create the subscription and see how it works

cursive heronBOT
#

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

Question
How do I add a card on file so I can automatically debit from their card weekly? I am charging for a weekly service.

Related Request ID(s)
https://docs.stripe.com/api/setup_intents/create

What have you already attempted?
It says to contact support when I am trying to add a card to a customer

What are you working on?
A subscription service to Personal Training and Coaching Services

#

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

Question
Please confirm Stripe allows space in metadata key-value pair?
The same charge API behaves differently when metadata key having space

Related Request ID(s)
req_jJFIh88b14OJKu, req_tqOm8aQ70czJJB

What have you already attempted?
Please check both requests, we send metadata with space in keys but Seems like Stripe transformed to nested objects

What are you working on?
Plugin

cursive heronBOT
#

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

Code
Need information about stripe destination charges stripe fee

Question
I want to capture the stripe fee before capturing the payment and adding the stripe fee as application_fee for the platform

What have you already attempted?
one of the stripe developer told us that you can use hold on card. but I not sure how exactly use it.

What are you working on?
E-commerce multi vendor

cursive heronBOT
#

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

Question
I'd like to know if Stripe SDK rate limits are based on the merchant or a single API key.
If I create multiple API keys in a sandbox, are they rate-limited individually or are they shared?

Related Request ID(s)
req_FpeE1Y7N0tn4Il

What have you already attempted?
i have take some stress test, but i can not get a clear result

#

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

Question
How do I not show my business address on the invoices to send to customers for receipts?

Related Request ID(s)
https://docs.stripe.com/invoicing/customize

What have you already attempted?
I have tried to remove the address from my profile, which blocks payouts to be made from stripe, how do I protect my privacy, as my business address is my home address, as I am a mobile personal trainer and online coach

What are you working on?
A subscription based personal training and coaching service

cursive heronBOT
#

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

Question
I want to use google pay i have read the docc and i am unable to see it in my checkout page.

Related Request ID(s)
N/A

What have you already attempted?
1) Registered my production server domain
2) enabled google pay in methods
3) Running checkout on an https server

Note:: i am accessing stripe from india, i have read the you cannot use gpay with stripe in india, i am trying it using a vpn. will it work?

What are you working on?
working on payment section of a product

cursive heronBOT
#

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

Code
Double Transaction issue

Question
After implementing Dynamic payment element I am facing double transaction issue

What have you already attempted?
Tried checking the docs

What are you working on?
Ticketing Platform

#

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

Question
Problem Summary:
1. Mandate Creation on every on-session payment:
When using setup_future_usage=off_session, Stripe automatically creates a new PayPal mandate — but no mandate ID is returned, making tracking or reuse impossible.
2. Off-session payments fail:
If multiple mandates exist, off-session charges fail because Stripe can’t choose the correct one. Supplying a specific mandate (as per docs) seems impossible since we don’t have access to any IDs.
3. Mandate management via API feels underdeveloped:
We couldn’t find a way to programmatically access or manage PayPal mandates. Initial fiel

Related Request ID(s)
PayPal Mandate

What have you already attempted?
Our Intended Workaround:
• We plan to track a simple boolean per customer (hasMandate).
• If true → make on-session payments without setup_future_usage to avoid creating a new mandate.
• If false → do one on-session payment with setup_future_usage=off_session to establish a mandate.

Critical Question:

Would this flow be valid?
1. on-session with setup_future_usage=off_session (creates mandate)
2. on-session without setup_future_usage
3. off-session payment (uses the mandate from step 1)

What are you working on?
Web Shop Subscription Service for Transkribus

cursive heronBOT
cursive heronBOT
#

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

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: Math.round(amount),
currency: currency.toLowerCase(),
payment_method_types: ['card'],
payment_method_options: {
card: {
request_three_d_secure: 'challenge'
}
}
});

Question
I have an issue when my customers are tying to pay, there is many error such as do not honor or card decline, I was wondering if it's my code that is the issue or if it's because my Stripe is US based and my customers are european. Errors like:
'La carta è stata rifiutata. Contatta la società emittente.
Or
'Non riusciamo ad autenticare il tuo metodo di pagamento. Scegli un metodo di pagamento diverso e riprova.'

I can understand those errors for 1 customers, but not for 500

What have you already attempted?
I've ask stripe support and there are not able to answer

What are you working on?
Next js checkout page with using stripe elements

#

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

Code
await initPaymentSheet({ ... });

Question
Hello, so I want to migrate from CardElement to PaymentElement and I see that in React.js we can use `paymentMethodTypes` to dynamically render payment methods if we don't want to use the dashboard (https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#additional-options), how to do the same in React Native ? (cf https://stripe.dev/stripe-react-native/api-reference/types/PaymentSheet.SetupParamsBase.html)

What have you already attempted?
For now, nothing because I want to prepare the project before doing it

What are you working on?
Migrate CardElement to PaymentElement with PaymentIntent API in React Native

#

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

Question
We use Stripe to generate invoices. Currently, each invoice contains only a single line item. When we create this line item via the REST API, we provide only the price ID and quantity.
Now, we’d like to add additional custom line items to the invoice, using a fixed amount and a description instead of a price ID. However, we're encountering a strange error: Stripe appears to ignore the amount and description fields and insists on using a price ID.
Is there a setting in our Stripe account that enforces this behavior? If not, what’s the correct way to add custom line items without using a price?

Related Request ID(s)
req_h3ZcyexHnOiBWc

What have you already attempted?
We attempted to pass both the amount and description fields in the request payload. However, since the description string happens to match the name of the product associated with an existing price in our Stripe account, it seems Stripe is trying to automatically associate that price with the line item.

I'm wondering if this kind of matching behavior is intentional or an undocumented quirk. Is Stripe using the description to infer and attach a price, even when no price ID is explicitly provided?

What are you working on?
Attempting to split the current single line item in our invoices to multiple line items instead.

cursive heronBOT
#

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

Question
Hi team! At my company, we use HubSpot to initiate payments to stripe. We noticed that under the security section (connected apps) - Connect Extensions we have our HubSpot connected to the wrong Stripe account (we have two)

if we disconnect this would this cancel any subscriptions in stripe? Our subscriptions are currently manually created and not automated

Doc/Guide Links
https://support.stripe.com/questions/disconnect-your-stripe-account-from-a-connected-third-party-platform

What are you working on?
Trying to fix our HubSpot / Stripe integration & automation

cursive heronBOT
#

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

Code
I'm using react native and using library @stripe/stripe-react-native

Question
I have a question,
How to link merchant ID account to real bank account?

What have you already attempted?
I have tried installing the library and setting it up in the App.tsx file of react native, but I can't run the server or create a webhook.

What are you working on?
make react native app, apple pay and google pay

cursive heronBOT
cursive heronBOT
#

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

Code
// expand the following to get information about the graduated pricing tiers...
info.expand = [ 'lines.data.price.tiers' ];
const upcoming = await stripe.invoices.retrieveUpcoming(info);
const firstItem = upcoming.lines.data[0];
const price = firstItem.price;
const type = price.metadata.type;
const tiers = price.tiers;

Question
In the past, in my node.js code I was retrieving upcoming items with the code snippet provided (this is just an excerpt).

But now `stripe.invoices.retrieveUpcoming()` is no longer available, I am using `stripe.invoices.createPreview()`... this largely seems to provide a drop-in replacement, but it doesn't seem to have the `price` or `price.tiers` info I need (as per the code snippet).

How do I alter my api request to get this info?

What have you already attempted?
I have tried using `stripe.invoices.createPreview()` but it doesn't quite seem to give all the info I need. See above.

cursive heronBOT
#

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

Question
Promocode specific to product is not getting applied in the invoice creation. coupon don't have applie_to field but the dashboard lists the products

Related Request ID(s)
req_m3YFheHUqJrGh9

What have you already attempted?
docs and search nothing worked

What are you working on?
promocodes

cursive heronBOT
#

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

Code
const currentSubscription = await stripe.subscriptions.retrieve(
subscriptionId,
{ expand: ['items.data.price', 'customer'] },
);

  const customerId =
    typeof currentSubscription.customer === 'string'
      ? currentSubscription.customer
      \: currentSubscription.customer.id;

  const currentPeriodStart =
    currentSubscription.items.data\[0\].current\_period\_start;
  const currentPeriodEnd =
    currentSubscrip

Question
Hi all,

I’m working on a feature that changes the billing date of an existing Stripe subscription.

My requirements are:

Move the billing date (billing anchor) forward or backward.

Issue a credit or extra charge based on the unused or extended period.

However, Stripe does not allow updating the billing_cycle_anchor of an active subscription directly, which forced me to implement a workaround where:

I create a new subscription with the desired billing anchor using trial_

What have you already attempted?
I'm trying to change the billing date of an existing Stripe subscription.

I initially tried using only trial_end, but I don’t want the customer to get free days — I need them to be charged for all days, without any unpaid period.

I also experimented with Subscription Schedules, but I couldn’t get the billing anchor date to actually shift as expected.

What are you working on?
I need to change billing cycle date on existing subscrtions

cursive heronBOT
#

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

Question
I'm recreating my website and migrating away from WIX, Wix currently manages my stripe account and subscriptions, can i migrate my current stripe customer base to my new site without having to have them resign up and create a new stripe account ?

Related Request ID(s)
Idkwhathisfieldisfor

What have you already attempted?
Tried to create a new account however it doesnt seem right nor user friendly to do this

#

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

Question
Monthly subscription started on 21st June 2025 with first payment done on the same day/time though next transaction was done on 24rth (3 days from expected day) instead of 21st July. Any idea why that might have happened?

Related Request ID(s)
Only have subscription ID's

What have you already attempted?
Verified if that is the case with few other subscription * seems to be the case.

#

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

Question
I am building a stripe app. I've got stripe apps start working. I had to upload the app to be able to use fetchStripeSignature. The problem is that now I want to test the uploaded app (as an end to end test environment, not dev) and it wont let me. How do I do that?

Doc/Guide Links
https://docs.stripe.com/stripe-apps/create-app
https://docs.stripe.com/stripe-apps/test-app

What are you working on?
Building a Stripe App.

cursive heronBOT
#

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

Question
I am trying to build a daily process that will submit pre-determined scheduled payments. Essentially it looks at all scheduled payments, finds the ones scheduled for the current day the process is running, and submits them as confirmed PaymentIntents. I deploy this process as a AWS Lambda function that is invoked daily at 1am UTC. When I run the process locally, it can submit my test payments with no issues. However, when it runs of the Lambda I get an error: Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payment

Related Request ID(s)
req_4ibbAgWVUFSS1a

What have you already attempted?
This is how I invoke a payment in stripe: stripe.PaymentIntent.create(
api_key=stripe_keys['SECRET_KEY'],
amount=...,
currency=...,
customer=...,
on_behalf_of=account_id,
transfer_data={
'destination': account_id,
},
payment_method=...,
automatic_payment_methods={
'enabled': True,
'allow_redirects': 'never'
},
confirm=True)

What are you working on?
I am integrating using a python flask app. I dont know why it says transfers are not enabled when I know they are and the script works locally

cursive heronBOT
#

@topaz peak 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?lang=node

Question
We are using the Stripe API on our Node backend, and recently we updated to a later version. This version does not allow IDs or coupons/discounts to be passed when creating customers. How do I now create a customer with an ID that fits our system, and how do I attach a discount to this customer?

What have you already attempted?
Looked at the Stripe API documentation and read the change logs to figure out the reasoning behind this breaking change.

What are you working on?
Custom sign up and payment flow

#

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

Code
elements = stripe.elements(options);
const paymentElement = elements.create("payment", {
//...
});
paymentElement.on("ready", () => {
elementsReady = true;
});

Question
The payment options elements are not being rendered on some devices using safari. The `ready` event is never triggering

What have you already attempted?
looked into stripe documentation
looked for posts on forums with similar issues
hard to debug, because we received this bug report from multiple users, but we couldn't reproduce it ourselves

What are you working on?
an application to sell tickets for events

cursive heronBOT
#

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

Question
When creating Connected Accounts in Sweden, we want them to be able to accept payments from the end-user (through Stripe-hosted Checkout) via the Payment Method named SWISH. Reading the documentation it's not very clear what the Platform needs to do in order for Stripe to collect relevant information.

Doc/Guide Links
https://docs.stripe.com/connect/required-verification-information#SE+SE+full+full+company+card_payments,transfers

What are you working on?
A Platform matching personal trainers with athletes

cursive heronBOT
#

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

Question
Can i Get a Internal notes from a paid invoice in the api?

Related Request ID(s)
Inovices >

What have you already attempted?
get var data = invoice.internalNotes

What are you working on?
working on a change in my service

#

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

Question
I want to simply charge somebody some amount of money. Is there a simple way of doing it or do I have to create a product, attach a price to it, create invoice, add invoice item and send it to the customer for one off payment.

Related Request ID(s)
0

What have you already attempted?
-

cursive heronBOT
#

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

Error Message
The error is that it needs me to provide a valid ID document but when I click on the button to complete identity verification it just says there’s nothing for me to verify. this problem is causing me to have my payouts paused and i’ve tried all the things they said like using different devices, clearing cache, different browsers etc

Question
what can I do to fix this issue because I have no problem resubmitting my info but nothing works.

What have you already attempted?
I’ve tried clearing my cache, using multiple browsers, using incognito mode, multiple devices

Reproduction Steps
I don’t understand what this is asking me

What are you working on?
I’m just simply trying to verify my account again

cursive heronBOT
#

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

Question
We are trying to connect Stripe to and event created on "ClubRunner" and it asks for two "Keys" we copied the keys from our account and pasted them in the appropriate places. "Club Runner" staff attemped to connect and Stripe told them it didn't recognize the Keys. Do we need to create new Keys?

Related Event ID(s)
I have no idea what this is.

What have you already attempted?
we cut and pasted the keys located in our account

cursive heronBOT
#

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

Question
Hello. I am trying to access some information located in the connect margin report via the Reporting API. However, I am not able to access this report via the API it seems. I mainly want to know, for each Connect account, what is the sum of all of the bank verification fees (the ones charged for use of Financial connections to verify a bank account)? I was told the information was in this report and accessible by the API, but I am having trouble. Any report that has this information would also work for us.

Related Request ID(s)
req_FmZcZ0Y0WfSfMt

What have you already attempted?
I have tried to get the correct report_type by looking in the developer console. For example, when clicking download in the screenshot below for "Connected Account margin report" the request stripe makes lists the report_type as "connect_monetization.connected_account_margin_report.4". However, when I try this report type on an API call, it says that this report is not available, I get the error: "Invalid report_type: must be one of authentication_report.conversion_itemized, connect_insights.active_accounts.1, connect_insights.chur...emized.3, tax.transactions.itemized.1..."

What are you working on?
Working in Python, with Stripe Connect and Destination charges

cursive heronBOT
#

@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/v2/core/event_destinations/create

Question
The doc specifies a field of `event_payload` for the event destination that configures either v` snapshot events for v2 thin events. However, it states the following:

* `snapshot` Events from v1 APIs.
* `thin` Events from v2 APIs.

However, [this other doc](https://docs.stripe.com/event-destinations#events-overview) states that "API v1 endpoints also generate thin events."

I need to work on updating my integration from using the webhooks v1 API to new Event Destinations V2 API using AWS EventBridge. I currently subscribe to several v1 events. Am I able to use thin events for those?

What have you already attempted?
Reviewed various docs:

* https://docs.stripe.com/api/v2/core/events/event-types
* https://docs.stripe.com/api-v2-overview
* https://docs.stripe.com/event-destinations#events-overview
* https://docs.stripe.com/api/v2/core/event_destinations/create

cursive heronBOT
#

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

Question
I am working with a couple webhooks and sometimes we end up needing to check the previous attributes to reflect some changes internally at our database.

For example, when we receive a call from customer.subscription.updated we dig into the previous attributes to check what was the previous product/price the customer had, because in our database we still use such data.

Our backend is dotnet, is there a way to cast previous attributes to type objects ?

Related Event ID(s)
evt_1Rr2yDRHtdZpYxj3YPEDsxzg

What have you already attempted?
Normally we do cast things like the Subscription that we obtain from stripeEvent.Data.Object ... buuuuut since stripeEvent.Data.PreviousAttributes is a dynamic.. even if I can clearly see it as "object": "subscription_item" it doesn't allow me to cast into a SubscriptionItem object.

With that I find myself in a situation where I do need to dig and do some dynamic attempts to check if properties exists, etc

What would be the correct way of interacting with Previous Attributes ?

What are you working on?
SaaS application with subscriptions

#

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

Question
person.id_numbers.us_ssn is showing up as a requirement despite having set 0000 as the last 4 of the SSN during onboarding

Related Request ID(s)
req_v2q8hhzgjTlTvLECk

What have you already attempted?
I have tried setting the last 4 of the SSN to 0000 per https://docs.stripe.com/connect/testing?accounts-namespace=v2#test-personal-id-numbers.

I don't collect SSNs myself and was expecting Stripe onboarding process to set the SSN.

What are you working on?
Onboarding Connect merchant accounts

cursive heronBOT
#

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

What did you expect to happen?
Be able to log into stripe app on iOS 26 beta

What actually happened?
Using iOS 26 beta, when trying to log in, the login screen freezes up. No keyboard displays on username section, can’t click on password field, cancel, etc.

Reproduction Steps
Use an iPhone 16 pro with iOS 26 beta installed. Install stripe app, click log in on main page, it re-directs/opens a panel, which is frozen/locked out.

Question
Is there a way around this so that I can use the stripe app again for my business? I can send a screen recording

cursive heronBOT
#

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

Question
Noticing a strange issue where `next_payment_attempt` is coming in as `null` in the `invoice.failed` webhook even though there's clearly payment attempts left.

Related Event ID(s)
evt_1RqjIfIeqdRa1lgK1pACTD8N

What have you already attempted?
I first noticed this when testing in test mode but found out it's happening to real customers in production as well. We've always used this field in our implementation so this is quite problematic if it's no longer working as expected.

cursive heronBOT
#

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

Error Message
This account isn not eligible for requested feature - flexible payments

Question
Is incremental authorization hold function not available on standard ? How can I enable this ?

What have you already attempted?
Followed docs to use incremental auth but got the error that the account is not eligible for the feature

Reproduction Steps
Try incremental authorisation using standard account

What are you working on?
Evse billing app

cursive heronBOT
#

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

Question
I'm implementing Treasury + Financial Connections to allow users to connect external bank accounts for funding their Treasury accounts via inbound transfers..

Flow:

  1. Create FC session with account_holder as Connected Account
  2. User completes FC flow successfully
  3. Retrieve session and get financial_connections_account ID
  4. Create SetupIntent with attach_to_self=true and the FC account ID
  5. Error: "No such Financial Connections Account"

Using test mode with StripeBank test accounts. Is there a timing issue or limitation with test accounts for this flow?

Related Request ID(s)
req_mFy4lTV6QW83XW

What have you already attempted?
- Added delays between FC session completion and SetupIntent creation (2-10 seconds)
- Verified FC session retrieval returns valid account data
- Confirmed account_holder matches Connected Account ID
- Tested with attach_to_self=true and flow_directions=["inbound"]
- Reviewed Treasury and Financial Connections documentation

What are you working on?
Building a mobile app (React Native) with business banking features. Users create Connected Accounts with Treasury enabled, then connect personal bank accounts to fund their business Treasury accounts

cursive heronBOT
#

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

Code
PaymentMethodsActivityStarter.Args args = new PaymentMethodsActivityStarter.Args.Builder()
.build();
new PaymentMethodsActivityStarter(this).startForResult(args);

Question
Stripe Toolbar is overlapping with Status bar

What have you already attempted?
how to mirgrate to payment sheet

cursive heronBOT
#

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

Question
We are using both legacy and new stripe checkout in our integration. We are also storing users main default card fingerprint and expiry in a database for security purposes.

Stripe Automatically updates the card info for users sometimes. I want this info so that I can update this info stored in our databases as well.

I discovered 2 webhook events for this:
1- payment_method.automatically_updated
2- customer.source.updated

There are few questions:
1- How to test them in test mode?
2- Will it also provide me info for all the stored cards of users and not just default, How to distinguish?

Related Event ID(s)
I have not yet tested out as I am unsure, how to?

What have you already attempted?
I am reading about these events as of how and wanted to know if they can be helpful in my case or not.

What are you working on?
I want to ask users to update their card info if they are about to expire. To do this I need users current card info though.

cursive heronBOT
#

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

Question
In live, I am not receiving the account.updated event after configuring it in the event destinations through editing.

Related Event ID(s)
No

What have you already attempted?
Edited event destination > Added `account.updated` event > Saved

What are you working on?
Developer

cursive heronBOT
#

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

Code
Customizing the colors of inputs on the checkout form

Question
Is there any way to customize the colors of inputs on the checkout form??

What have you already attempted?
Stripe Appearance API, I can't find the correct rule it says in the docs colorBackground is the correct value but I can't get it to work

cursive heronBOT
#

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

Question
I have sent the following request. yet the response does not reflect the quantity change. how come?
stripe invoices create_preview --customer="cus_NV31SkQlJwzbb1" --subscription="sub_1RiqffCyPLIPWcnNnGcKGcwD" --subscription-details.proration-date="1783555200" --subscription-details.proration-behavior="always_invoice" --preview-mode="next" -d "subscription_details[items][0][id]=si_Se8xYVdXKsPi0x" -d "subscription_details[items][0][deleted]=true" -d "subscription_details[items][1][price]=price_1R9MQ0CyPLIPWcnNb7bZk4rp" -d "subscription_details[items][1][quantity]=100"

Related Request ID(s)
req_eoYJEgVSQEskjX

What have you already attempted?
I have an subscription which has a item quantity 5. When I send the request to preview(quantity 5 to 100), the response does not reflect at all.

What are you working on?
API integration

#

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

What did you expect to happen?
We have some subscriptions that are being paid by BACS DD as payment method. There's a problem that when the payment fails, the subscription does not get cancelled and continues running even though the invoice wasn't paid.

What actually happened?
The expected behaviour should be that the subscription gets cancelled and not able to use again. unsure why it keeps running. any ideas? Thanks!

Reproduction Steps
Assign a subscription with BACS DD as default payment method and the payment method should fail in the next invoice with a insufficient funds error

Question
How can we handle this or why is this behaviour different to other subscriptions paid by card they get cancelled automatically? I have a list of subscriptions that I can share with you so you can see them as example

cursive heronBOT
#

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

Code
const expressCheckoutElement = elements.create("expressCheckout", expressOptions);
expressCheckoutElement.mount("#eh-stripe-payment-request-button");

Question
Apple pay not visible at checkout.
https://ainasewingpatterns.com/fr/tienda/
Could you please take a look add a product and got to checkout to check apple pay visible on your end

What have you already attempted?
Done domain registration and enable apple pay at Stripe payment method settings under stripe app configuration.

What are you working on?
Stripe app

cursive heronBOT
#

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

Question
Recently we have had a ratio of about 1:5 when it comes to "Incomplete":"Succeeded" payments on our online marketplace. It was worse the years before, up to around 1:2.5 at some points. The vast majority of those have the recent activity: "The customer failed 3D Secure authentication.". Is this kind of ratio expected from your experience? Are we possibly doing something wrong (like not sending some necessary data with the payment intent maybe?) We were not able to notice any pattern when it comes to card type or bank. This happens for visa, amex, mastercard and for banks of a lot of countries

Related Request ID(s)
pi_3RrE6KJ0UsfrO2GP1nKICs7Y, pi_3RrCynJ0UsfrO2GP1rmp53kS, pi_3RrCymJ0UsfrO2GP0Vyo92dF

What have you already attempted?
We have looked at a lot of the logs on the Stripe Dashboard, from our own Sentry, looked at our own code as well as read documentation pages about payment intents and cards, as well as their associated API references pages. We can't find anything that suggest we are at fault here but the number still seems too high

What are you working on?
An online marketplace where users can sell and buy tickets for events

#

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

Question
`checkout.session.completed` doesn't contain information about the `receipt_url`, only the payment_intent.succeeded webhook does. However, the latter doesn't contain any identifiable information about the former so how do I figure out the `receipt_url` from an initiated `session.Checkout.create`?

Related Event ID(s)
evt_1Rr3nTAZXatHl2PMXnk7EXIL

What have you already attempted?
I've scoured the documentation in order to try to find information in how I could connect this information.

What are you working on?
A platform connecting Personal trainers with Athletes

cursive heronBOT
#

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

Question
I'm want to use the Payment Element but I'm concerned about collecting the user name because there might be a rule that requires their name to be the same as what is written in the card. Should I disable the user name filed in the Payment Element and add my own field to always collect the name to prevent an issue when the mentioned rule is in effect, or if the rule is in effect the Payment Element will detect it and automatically show the name field

Doc/Guide Links
I had a discussion about a related thing here and one of you suggested this

#1400268103388102666 message

What are you working on?
A webapp version for an existing system with only mobile apps

#

@lost 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/checkout/sessions/create

Question
When creating a Payment Intent one is able to add `application_fee_amount`. However, our user-flow dictates that we're creating a checkout session and send them to the stripe-hosted checkout page.
How are we able to create an `application_fee_amount` for our Connected Accounts?

If possible we'd like to use **Direct charges**.

What have you already attempted?
I've read documentation and I don't find mentions, thus I ask you.

What are you working on?
A platform where Personal trainers connect with Athletes

cursive heronBOT
#

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

Question
Hi, I have questions about upgrading to use more recent Stripe APIs

We have several customer facing clients using Stripe SDKs (Web, iOS & Android) backed by a Ruby backend.

Given the app clients in particular are "out-in-the-wild", are there implications for client functionality if we
a) start using the most recent Stripe API for our backend requests (ie specify later Stripe API versions in request headers)
b) upgrade our default version in the Stripe dashboard - would this break older app SDKs?

Related Request ID(s)
req_vzBwXWwgGJYQIC

What have you already attempted?
This example shows we have an Android client using Stripe API 2020-03-02

Suppose backend creates a payment intent using Stripe API 2024-06-20 - could that same Android client still successfully confirm it?

#

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

Question
Hi there, got a question about the sendAPI for invoices.
We use Billing and Stripe subscriptions, so the invoices get generated automatically.
We got customers who want to receive Stripe invoices via e-mail and others who dont (They receive other invoices not those from Stripe).

Do I understand the SendAPI correctly?
The idea was to trigger the API for every invoice that the customer should receive via e-mail?
https://docs.stripe.com/api/invoices/send

Related Request ID(s)
-

What have you already attempted?
https://docs.stripe.com/api/invoices/search Read the documentation for the invoiceSend API.

What are you working on?
Invoice Handling for our customers

cursive heronBOT
#

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

Question
We would need to perform a test for this specific case:

Depending on the 3DS authentication result:
Authenticated: Stripe attempts the charge and the PaymentIntent transitions to a status of processing.
Failure: The PaymentIntent transitions to a status of requires_payment_method, indicating that you need to try a different payment method, or you can retry 3DS by reconfirming.
Other scenarios: Depending on the reason the payment triggered 3DS, it might be permissible to continue authorization for the charge in edge cases. For example, a result of attempt_acknowledged leads to a charge and the

Related Request ID(s)
1

What have you already attempted?
https://docs.stripe.com/payments/3d-secure/authentication-flow#controlling-when-to-present-the-3d-secure-flow

cursive heronBOT
#

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

Error Message
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 6978 >>> com.magi.fittok <<<

backtrace:
#00 pc 0x00000000004f4882 /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::ArgArray::BuildArgArrayFromVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, art::ObjPtr<art::mirror::Object>, std::__va_list) (.__uniq.245181933781456

Question
My Android app (React Native) is reporting crashes on Google Play Console. The stack trace mentions the Stripe SDK. When I remove the Stripe SDK from the app, it no longer reports crashes.

What have you already attempted?
I've tried implementing differentReact Native Stripe components (Payment modal, embedded payment component).

What are you working on?
A React Native Android app using Stripe to process payments

cursive heronBOT
#

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

Question
I have an event triggered in the api but I can't tell what triggered it

Related Request ID(s)
no

What have you already attempted?
Event is customer.updated and the email was changed however it doesn't seem like the event triggered on my end so I'm trying to understand why did Stripe trigger it

cursive heronBOT
#

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

What did you expect to happen?
We have noticed "Pay with Link" in our production express checkout element, even though it should be disabled according to our configuration.

What actually happened?
We only enabled Apple and Google Pay express checkout. Therefore no other express payment method should be visible.

Reproduction Steps

  1. Go to https://www.artsy.net/artwork/amy-lincoln-trees-and-moon-rays-blue-cyan-and-magenta-signed-and-numbered-limited-edition-print
  2. Press "Purchase"

The express checkout element is at the top of the page.

Question
Could you double check this is not a bug on your side? We haven't touched the implementation in a while. We're going to submit a quick fix where we disable other options via code, in case the configuration fails to work.

What are you working on?
Express Checkout

#

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

What did you expect to happen?
Hello, I am using the test account. I created a connected accounts. for the connect account the user went through the stripe express workflow and completed but there was no step for verification which i expected to see and that used to happen in the past. Also using the remedation link, i would expect for there to be steps to provide verification

What actually happened?
when we used the stripe express workflow, there as no verification process, also when we used the remedation link there was nothing idicated that verication needs to happen

Reproduction Steps
to created to steps i need to create a connected account to my platform

Question
Why is this happening as this never used to happen before ?

What are you working on?
I am making a ridesharing marking place platform and my platform need to allow users to created accounts to recieve payment

cursive heronBOT
#

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

What did you expect to happen?
I expected the subscription with ID sub_1R1NgLA7LUWTChTsrMnRvZpY to still exist in our Stripe account. It was previously active and used in our system. There were no changes made that should have caused it to disappear.

What actually happened?
When I attempted to retrieve the subscription on 2025/08/01 at 23:45:33 SGT, I received a 404 error indicating that the subscription could not be found. The request ID was req_lH4gvkTekYMzxQ. The subscription seems to have vanished without a trace. It is no longer accessible via the API or the Dashboard.

Reproduction Steps
I do not know how to reproduce the issue. It happened randomly. I had previously accessed this subscription without issues, and it was confirmed to exist.

Question
Could you help investigate why this subscription disappeared? Was it deleted or removed by Stripe, or could there be an internal issue that caused the loss of this record? The subscription ID is sub_1R1NgLA7LUWTChTsrMnRvZpY, and the first 404 occurred at 2025/08/01 - 23:45:33 SGT, with request ID req_lH4gvkTekYMzxQ. I'm testing on test mode under "Hopper Pte. Ltd."

What are you working on?
I'm working on a community management platform

cursive heronBOT
#

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

Question
I am trying to simulate a dispute on a test connect account via the terminal how can I do this?

Related Request ID(s)
pi_3Rqk7tRl7nuoVVgd0SUdEus5

What have you already attempted?
Dispute documentation

What are you working on?
Connect Platform for in person payments

cursive heronBOT
#

@boreal lynx 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/activate-a-new-payment-method

Question
I am trying to implement Stripe payment into my website. I have successfully done so but I would like to add Apple Pay into the payment method.

What have you already attempted?
I have created a Merchand ID already, I have added the domain in the settings and I have also uploaded the certificates and would like to know what other steps are required.

What are you working on?
Implement Apple Pay into Stripe payment method

cursive heronBOT
#

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

Question
I have a price ID with 600.00 SEK and my database sends 600 as price, yet it says 6.00 SEK in Stripe Elements when I am buying this stuff. Whats wrong with this stuff?

Related Request ID(s)
none

What have you already attempted?
I tested just making * 100 on the price, and the price was printed correct 600 SEK, but then the elements was just stuck on loading....

What are you working on?
App

cursive heronBOT
#

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

Question
Is there a way to code or however to completely stop the creation or onboarding of connect accounts?

Related Request ID(s)
Unsure

What have you already attempted?
I’ve searched for every way I can, no luck.

What are you working on?
I’m getting attacked by connect accounts charging my customer base

cursive heronBOT
#

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

Question
Hello, I'm a developer and I want to make an international subscription system where I create a product, register 6 prices - 3 being monthly and 3 with lower values that will be like annual (but will also be charged monthly) and accept various types of currencies for this price. How can I make it so that when my client clicks to subscribe to the plan, I send them to the subscription payment in their own local currency? I have their information and location, but I saw that adaptive pricing doesn't accept subscriptions, how can I do this?

Related Request ID(s)
.

What have you already attempted?
,.

cursive heronBOT
#

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

Question
Trying to understand a flow where the visitor can verify their details before submitting payment. Currently, when a visitor loads the page containing the CardElement, on the GET I create a Subscription object based on their ShoppingCart. The subscription has: `payment_behavior: 'default_incomplete'`, `payment_settings: {`save_default_payment_method': 'on_subscription'}` and `expand=['latest_invoice.payment_intent']`.

Related Request ID(s)
N/A

What have you already attempted?
I pass the client secret from the payment intent to the front end on the GET and call `stripe.confirmCardPayment(clientSecretValue, {payment_method: paymentMethod})`

where `paymentMethod` is either `{card: <variable referencing the CardElement>}` or a string for the id of a payment method if the visitor already has one and they selected it from a dropdown.

So, instead, if I want my visitor to confirm everything, can I just use `stripe.createPaymentMethod({type: 'card', card: <variable referencing CardElement})` on one page and then on the next page use this pm id with the client_secret?

What are you working on?
checkout for SaaS

#

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

Question
Trying to export payment method tokens through api but the requests keep timing out.

exporting payment tokens from stripe so we can import them into woo subscriptions for seamless transition from 1 subscription platform to woocommerce subscriptions without interrupiting existing subscriptions or requiring manual re-subscribing.

Related Request ID(s)
N/a

What have you already attempted?
I can explain how we're connecting our api:

Here's what we're doing:

  1. Retrieving customers using the \Stripe\Customer::search() or ::all() API.

What are you working on?
migrating from 1 platform to another seamlessly

cursive heronBOT
#

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

Code
const stripePromise = useMemo(
() => loadStripe(API_KEY, {
stripeAccount: stripeIdFromTheRequestThatLoadTheForm,
}),
[deps]
);

useEffect(() => {
axios({
url: "/get-setup-intent-secret",
method: "GET",
})
.then((res) => {
setSetupClientSecret(res.data);
}

<Elements
stripe={stripePromise}
options={{ clientSecret: setupIntentSecret }}
>
<ChechoutForm />
</Elements>

Question
I have an issue, that when a user wait a lot of time on another page, then, the form to add the payment method or element didn't load properly.
The stripe instance is ok, because our button to check to open that, needs the instance to not be null.

Context:
Multistep form. Even when the user is on other page, if the pages suspends or there is a lot of time, when they go to the payment step, it load (loadStripe() succeed), but the form fails.

What have you already attempted?
I couldn't replicate it on local.
I try to retry the promise for the loadstripe, but since I couldn't replicate it on local, i'm not sure if that's work.

What are you working on?
Proposal sending platform.

#

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

Error Message
Credit card processing in Utah and Idaho for our campgrounds.

Question
I work for Kampgrounds of America, we recently integrated with Stripe. Everything has been working great, however today we appear to be running into errors in the Utah/Idaho area. This is confirmed by outages reported by DownDetector. Users are also unable to connect to the Stripe Dashboard. Is this known and being looked into?

What have you already attempted?
Working through support online to no avail.

What are you working on?
Stripe integration with KOA applications

#

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

Question
I can't manage to extract phone numbers from guest charges using the python sdk. The only place the phone numbers seem to recorded are in charge.payment.completed Events associated with the PaymentIntents related to the guest.

Related Request ID(s)
req_OLAGjxbhKIeyuK

What have you already attempted?
I've tried to find the phone number through many combinations of PaymentIntents (which the docs say are used to extract the phone numbers of guests: https://support.stripe.com/questions/guest-customer-faq), Charges. No matter what, it always comes up as null.

What are you working on?
I'm building a pipeline to move stripe data into a political crm.

#

⛔️ 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, 2024-08-04. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
What setting drives the currency shown on customer's bank statements?

If it helps, the products uses different currencies and we want the customer to be charged in the respective currency.

The invoice is correct, but when reflecting on the bank statement the currency is different.

Doc/Guide Links
N/A - Too long question and probably organisation specific

What are you working on?
SaSS

cursive heronBOT
#

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

Question
Hello, I want to show and charge selected customers in their local currencies. I’ve added multiple currencies to a single Price in Stripe and display the relevant one based on the user’s location. Now I need Stripe to charge the customer in that selected currency. I tried passing the currency key while creating the Checkout Session, but it didn’t work. Is there a way to charge in one of the currency_options I’ve set for the Price?

Related Request ID(s)
req_6lJIL04mWZTz4S

What have you already attempted?
i have tried sending below object
line_items: [{
currency: 'pkr',
amount: priceDetails['productPrice'],
price_data: {
currency: 'pkr',
product: priceDetails['productId'],
unit_amount: priceDetails['productPrice'],
},
quantity: 1,
}],
allow_promotion_codes: true,
customer: stripeCustomerId,

along with other session options

cursive heronBOT
#

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

Question
I am currently on stripe-terminal-react native SDK v0.0.1-beta.24 and would like to upgrade to the latest version i.e. 26 Do you advise against upgrading from 24 to 26 or is it okay to jump a version?

Related question - is 26 compatible with Expo SDK 53? 26 is one version behind in React native i.e. 0.78 vs 0.79

Related Request ID(s)
n/a

What have you already attempted?
Read docs

cursive heronBOT
#

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

Question
I would like to charge my customer per worked hour. I have for example a hourly rate of 100 $. And now I worked in one month 13.77 hours and would like to charge my customer these hours (13.77 * 100 $ = 1337 $ invoice). But how to create this kind of invoice? I found invoices with exact hours like "13" or "14" hours. But then I would charge my customer too less or too much.

Doc/Guide Links
https://stripe.com/resources/more/how-to-make-an-invoice-for-hours-worked

What are you working on?
Automated invoicing based on worked hours

cursive heronBOT
#

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

Question
We are using both legacy and new stripe checkout in our integration. We are also storing users main default card fingerprint and expiry in a database for security purposes.

Stripe Automatically updates the card info for users sometimes. I want this info so that I can update this info stored in our databases as well.

I discovered 2 webhook events for this:
1- payment_method.automatically_updated
2- customer.source.updated

I just wanted to know since we cant test this out, how can I figure if the event received is for default card update or some other card?

Related Event ID(s)
No IDs yet, still understaing.

What have you already attempted?
I have read the doc to get the shared information.

What are you working on?
Trying to update the car info stored in our databases when stripe automatically updates the users card.

cursive heronBOT
#

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

Code
// React.js
const {error: submitError} = await elements.submit();
if (submitError) {setErrorMessage(submitError.message); return;}
const paymentIntent = await createPaymentIntentAsync(/* ...params */);
const {error} = await stripe.confirmPayment({elements,clientSecret: paymentIntent.clientSecret,confirmParams: {return_url: 'https://example.com/order/123/complete'}});
if (error) setErrorMessage(error.message)

Question
Hello, I implemented PaymentElement on React.js in a deferred way where we show the iframe and then create the setup or payment element and then we confirm it, I want to do the same in RN, I can see you provide a `confirmHandler` in `initPaymentSheet` method but:
- How does it work?
- When should I create my setup or payment intent?
- When is it confirmed?
- Why mode has no amount param for setup intent?
I'm a little bit lost TBH, a little bit of help would be helpful, thanks

What have you already attempted?
const { paymentOption, error: initPaymentError } = await initPaymentSheet({
customerId: 'customerId',
customerEphemeralKeySecret: 'customerEphemeralKeySecret',
mode: { currencyCode: 'EUR', amount: 1990 },
returnUrl: 'https://example.com/order/123/complete',
});
if (!!initPaymentError) {setStripeInitPaymentError(initPaymentError);}
if (!!paymentOption) {setStripePaymentElementLoaded(true)};

What are you working on?
Migrate CardElement to PaymentElement with PaymentIntent API in React Native

#

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

Question
HI,
Failed to connect to remote host
is it because I need to allow certain IPs on my server?

Related Event ID(s)
evt_1RsK2yJsUJztFB3FRpATQdhG

What have you already attempted?
May all webhooks pass without problem

cursive heronBOT
#

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

What did you expect to happen?
We are going through the integration with the South Korea payment methods. When testing the South Korea Local Card (`kr_card`) I was expecting to be able to select a underlying card brand (or just have one as a test/mock). I want to use and map correctly the `brand` and the `last_four` from the response.

What actually happened?
The test environment doesn't provide a local card for South Korea. The response have both the ` kr_card.last4` and `kr_card.brand` as null.

Reproduction Steps
Create a payment intent with the payment method types (`payment_method_types`) set to `kr_card` using a test API key.

Question
Is it possible to have either a static value for testing south korea local cards or to be able to select the card brand when authenticating on the redirect page?

What are you working on?
Accepting a payment using local cards in South Korea

cursive heronBOT
#

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

Question
What's the underlying reason for the following breaking changes?
To better evaluate our options, could you explain with a concrete example what issues might arise if we don't migrate to the new design?

Let me give an example:

Stripe prohibits the creation of forever amount-off coupon in the future. The reason is below:

  1. Currency compatibility: When applied forever to subscriptions, problems could occur if a customer's billing currency changed over time or across subscription phases.
  2. Subscription schedule consistency: When using multiple subscription phases, the fixed amount discount might not make sense across different pricing tiers or plans.

Doc/Guide Links

  1. deprecate-subscription-current-period-start-and-end

link: https://docs.stripe.com/changelog/basil/2025-03-31/deprecate-subscription-current-period-start-and-end

  1. Removed the payment_intent and charge fields from the Invoice object.

link: https://docs.stripe.com/changelog/basil/2025-03-31/add-support-for-multiple-partial-payments-on-invoices

  1. On the Invoice object, we deprecated the quote, subscription, subscription_details

link: https://docs.stripe.com/changelog/basil/2025-03-31/adds-new-parent-field-to-invoicing-objects

What are you working on?
Upgrade Stripe API from 2024-06-20 to 2025-03-31.basil

cursive heronBOT
#

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

What did you expect to happen?
I'm expecting that styling of Pricing table in my app to match styling visible in Stripe Dashboard

What actually happened?
Mobiles styling of pricing table doesn't match mobile styling in Stripe dashboard

Reproduction Steps
- create Pricing table with multiple products and monthly/yearly plans
- embbed the table in Next.js app

Question
On mobile, the dropdown which allows user to switch between monthly/yearly plans does not have a border. The border is visible on preview in Stripe dashboard (check screenshots in the thread). Is there any walkaround that I could use to fix that?

#

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

Code
const stripe = require('stripe');
const stripeClient = stripe(stripeConfig.secretKey);
const paymentIntent = await stripeClient.paymentIntents.create(paymentIntentData);
I am just trying to implement bank payment system using stripe especially for Europeans.

Question
What is the best way for implementing bank checkout using stripe especially for Europeans(germany)?

What have you already attempted?
I've already tried using sepa_debit and it worked.
But for geropay and sofort, I am getting error.
"doc_url": "https://stripe.com/docs/error-codes/payment-method-not-available",
"message": "Giropay is deprecated and can no longer be used for payment acceptance. Please refer to https://docs.stripe.com/payments/giropay",

What are you working on?
I am building an shopping site for buying crystals.

cursive heronBOT
#

@copper 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://docs.stripe.com/changelog/api/feed.xml

Question
Hey folks, what happened to the RSS feed of the Stripe API changelog?

It used to be linked from https://docs.stripe.com/changelog but now the old URL is dead and returns HTTP 404: https://docs.stripe.com/changelog/api/feed.xml

What have you already attempted?
I've been looking for a new RSS feed to subscribe to information about changes in the Stripe API.
https://docs.stripe.com/changelog/api/feed.xml

#

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

What did you expect to happen?
Capture payment should have returned "card" as a payment method.

What actually happened?
Capture payment response returned only "link" as a payment method.

Reproduction Steps
- Enable Link in dashboard
- Pay using the Link method on checkout session

Question
When a payment's payment method is just "Link"?

Example:
https://dashboard.stripe.com/payments/pi_3RsLDhJrE1Xw3Ytg07joimmG

I cannot reproduce, rest of payments always come with link/card as a payment method.
Example:
https://dashboard.stripe.com/payments/pi_3RsLaVJrE1Xw3Ytg1HlRyipb

#

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

Error Message
You do not have the capabilities required for payment method transfers

Question
Hi Stripe Support,
We're integrating Stripe with TidyCal using the OAuth/Connect method. However, we're encountering the error: “You do not have the capabilities required for payment method transfers.”

TidyCal Support has confirmed that this error is due to our Stripe account not being enabled for transfers. We were informed by Stripe support previously that we need

What have you already attempted?
Contacted Stripe support previously, who confirmed we need to undergo re-onboarding.

Waiting for a follow-up with exact steps.

Confirmed identity and business verification is complete in the Stripe Dashboard.

TidyCal support suggested either enabling transfers or switching to manual API key integration (we prefer Connect).

Reproduction Steps
Connect Stripe account to TidyCal using the OAuth method.

Try to create a paid booking through TidyCal.

Error is shown: "You do not have the capabilities required for payment method transfers"

Charges and payouts are paused on the Stripe dashboard.

What are you working on?
We are integrating Stripe with TidyCal to collect payments for bookings on our website. We prefer to use the Connect integr

cursive heronBOT
#

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

Code
const stripe = require('stripe');
const stripeClient = stripe(stripeConfig.secretKey);
const paymentIntent = await stripeClient.paymentIntents.create(paymentIntentData);
I am just trying to implement bank payment system using stripe especially for Europeans.

Question
What is the best way for implementing bank checkout using stripe especially for Europeans(germany)?

What have you already attempted?
I've already tried using sepa_debit and it worked.
But for geropay and sofort, I am getting error.
"doc_url": "https://stripe.com/docs/error-codes/payment-method-not-available",
"message": "Giropay is deprecated and can no longer be used for payment acceptance. Please refer to https://docs.stripe.com/payments/giropay",

What are you working on?
I am building an shopping site for buying crystals.

#

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

Question
I have one off transactions I am pulling through to a google spreadsheet for ease of accounting.
I have a custom field for Vehicle Registraion, it desn't appear to be available using the api, do i need a webhook?

Related Request ID(s)
req_xzZYes7AzwNYrr

What have you already attempted?
debugging all calls f the api

What are you working on?
Stripe Transactions to Google Sheets Script

cursive heronBOT
#

@hearty karma 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/

Question
Previously, I was able to access API version 2022-11-15, but I am no longer able to access that version. Is there a way to view the API documentation for that version?

What have you already attempted?
Adding it as a URL parameter:
https://docs.stripe.com/api/pagination/auto?lang=curl&api-version=2022-11-15

What are you working on?
I am the lead developer for Paid Memberships Pro which currently uses that API version

#

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

Code
const StripeClient = require('stripe')(
'...SECRET_KEY///',
{
appInfo: {
name: 'collection-process',
version: '0.0.1',
url: '',
}
}
);

Question
Using Node SDK

Is it possible, through the API, to identify whether an event was triggered by the Stripe client configured with the appInfo property?
Any advice?

The only thing I noticed is that the data in appInfo appears in the event logs.

What have you already attempted?
The only thing I noticed is that the data in appInfo appears in the event logs.

What are you working on?
Working in a plugin for certain manual operations performed by a non-developer team.

#

@brave beacon 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/v2/money-management/financial-accounts/object?api-version=2025-07-30.preview&rds=1

Question
In the new Financial Accounts API object, will there be a property to define their names in case we have multiple accounts? I see that the documentation mentions using metadata to set a name, but will there be a dedicated property for this, or perhaps a description field?

What have you already attempted?
Creating a financial account while trying to specify their name

cursive heronBOT
#

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

Question
Stripe is in the process of deprecating the Express OAuth onboarding feature for Connect platforms. Anyway I submitted the form: https://forms.gle/8vT8mG3a2m9H3ZVn8 sent by stripe to continue the usage but I did not got any confirmation back that y request was processed and that I will continue to have access to the deprecated API

Can you please double check the request was made and I will continue to use the deprecated API without problems?

Related Request ID(s)
-

What have you already attempted?
Submitted the form

#

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

What did you expect to happen?
i want to transfer amount from platform bank to connected account bank

What actually happened?
it uses card balance of platform not bank

Reproduction Steps
first by api create customer and and its bank then
using api charge the customer bank, verify it and received the amount on platfom , checked the platform balance. its ok
Then created connected account , its external bank
Now on creatin payment intent to pay connected account from platform bank it shows insufficient balance of card, where i want to use platform bank

Question
i want to transfer amount from platform bank to connected account bank
why it uses card balance? and how i can transfer from platform bank to connected account bank

What are you working on?
i am building an app for payroll for employer and want to pay salaries to employees

#

@steel jolt 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/payment-intents

Question
When using the PaymentIntents API, we provide a `return_url` to the `confirmParams` we pass to `confirmPayment`. After completing the payment on some external pages, the user is redirected back to this `return_url`. When they return Stripe has added some extra parameters to the url. One of them is `redirect_status`. Where can I find information about what values that parameter can have, or how to handle them?

What have you already attempted?
I've searched a lot, either via your own search or google. With no luck. I also asked the AI thingy on the payment intents docs page. They came up with the list: `succeeded`, `failed`, and `pending`. This seems plausible, but I can not confirm that within the sources it lists. The AI is also very light details on the different options.

What are you working on?
We are building a payment integration in our checkout, as described here: https://docs.stripe.com/payments/quickstart

#

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

What did you expect to happen?
I attempted to update `settings.bacs_debit_payments.display_name = "Stripe"` for a connected account, as our new workflow unknowingly required our customers to set custom display names, which incurs a fee from Stripe. Our product manager has been in communication with Stripe about this mistake, and they recommended updating bacs display_name via API.

What actually happened?
When updating bacs display name via API for a test mode account, the following error occurred:
`Stripe::InvalidRequestError: You cannot update the Bacs Direct Debit Display Name.` I was trying this on a Test Mode connected account before attempting on live connected account.

Reproduction Steps
`Stripe::Account.update('acct_XXX', {settings: {bacs_debit_payments: {display_name: 'Stripe'}}})` in a Rails console.

Question
We were advised by Stripe Customer Support to update the BACs display_name via API to remedy our mistake, but is that even possible? To be clear, we do not want to enable custom display_name for any customers at this time, we are only trying to reset to "Stripe" as advised to avoid the fees we've accidentally incurred.

What are you working on?
Donations platform implementing BACS via PaymentElement

#

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

Code
// React.js
const elements = useElements();
const {error, selectedPaymentMethod} = await elements.submit();

// React Native
const confirmHandler = async (
paymentMethod: PaymentMethod.Result,
shouldSavePaymentMethod: boolean,
intentCreationCallback: (params: IntentCreationCallbackParams) => void
) => {
// Actions....
};

Question
Hello, watching the documentation for React.js and React Native, if we provide the customer ID and ephemeral key, the Payment Element shows existing payment methods the customer already uses

When validating Payment Element, how can I differentiate an already existing payment method and a new payment method?

What have you already attempted?
React.js doc:
- https://docs.stripe.com/js/elements/submit

React Native doc:
- https://stripe.dev/stripe-react-native/api-reference/types/PaymentSheet.IntentConfiguration.html
- https://docs.stripe.com/payments/mobile/accept-payment?platform=react-native&type=payment#confirm-the-payment-details

What are you working on?
Differentiate existing payment method and old payment methods

#

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

Code
Meter usage curl -G https://api.stripe.com/v1/billing/meters/mtr_test_61Sxobk10Q4GFVMkF41KnRTsCQb653LM/event_summaries
-u "sk_test_•••729I:"
-d customer=cus_SleZIOfsQynb7g
-d start_time=1753833600
-d end_time=1754007599
{
"object": "list",
"data": [
{
"id": "mtrusg_test_1753833600000",
"object": "billing.meter_event_summary",
"aggregated_value": 55.0,
"end_time": 1754007599,
"livemode": false,
"meter

Question
even though there is usage for the customer within timeperiod, i am not able to see that is reflecting on to invoice

What have you already attempted?
in_1RrDGyKnRTsCQb65T6IsPcT2 - got paid with $0

What are you working on?
UBB-monthly price

cursive heronBOT
#

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

Question
Hi everyone, simple question, I making modifications on my stripe's test mode customer portal, and I saw that no modifications that I make for it actually shows/hide in my customer portal (still in test mode)

Related Request ID(s)
None

What have you already attempted?
Here is a loom of what I've done but can't found the formular to send to stripe a request for some support : https://www.loom.com/share/a603b3fa1c1e44e582b850376b3b11fd

cursive heronBOT
#

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

Code
const base: Appearance = isDarkMode
? {
theme: 'night',
rules: {
'.Dropdown': {
color: 'red',
backgroundColor: 'black',
},
},
variables: {
colorText: '#ebe5e7',
colorPrimary: '#ff6a71ff',
colorBackground: '#12121212',
fontFamily: 'Inter, sans-serif',
},
}

Question
I am trying to change the background color on the country select dropdown in Stripe Elements.

What have you already attempted?
Using the .Dropdown class from https://docs.stripe.com/elements/appearance-api#dropdown

#

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

Question
Hi, when customers add link payment methods through the stripe billing portal, how am I able to know if the payment method is type card or bank? it just keeps returning type 'link'

Related Request ID(s)
req_4xPh9mKNecQb9Q

What have you already attempted?
Fetching payment methods through the api

#

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

Question

  1. the 'transfer.created' and 'transfer.updated' events are not getting triggered although those are configured on a webhook.
  2. how to get the 'Payment Id' on 'payout.success' and 'transfer.created' webhook events.

Related Event ID(s)
none

What have you already attempted?

  1. Handling payout.success event and do not see details on the Payment ID in the webhook.

  2. created transfer on a Connect account via Stripe Dashboard and it went thru successfully but no webhook is sent out

cursive heronBOT
#

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

Question
I'm having difficulty with the https://docs.stripe.com/api/accounts/create API. I am able to initialize the API call just fine, but when I call it I'm getting this error:

The service StripeINT- Connected Account Registration - Create A Connected Account just returned an error (HTTP 400). Please consult their documentation to ensure your call is setup properly. Raw error:

{
"error": {
"message": "Invalid request (check that your POST content type is application/x-www-form-urlencoded). If you have any questions, we can help at https://support.stripe.com/.&quot;,

Related Request ID(s)
req_6lisyFCZ33JeoE (this is only working when I initialize the call, otherwise nothing happens)

What have you already attempted?
This is what the API call looks like:
https://us1.discourse-cdn.com/bubble/original/3X/f/e/fef9ce70015b0ff30a6618843d1e28ce9e6f389b.png

https://us1.discourse-cdn.com/bubble/original/3X/5/4/542a29017f4ec5df887cd0a164711d908eea1026.png

What are you working on?
Stripe Connect platform for relief veterinarians

cursive heronBOT
#

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

Error Message
Sorry something went wrong

Question
When I update my subscription via the customer portal & the `subscription_update_confirm` payload, I get the customer portal url back like expected. However when opening that customer portal session, it loads for a few seconds and then shows a toast that "Something went wrong" and redirects me to the main customer portal page.

What have you already attempted?
I read the docs for "subscription_update_confirm" and tested a few different payloads. I do get a 200 back from the API with the customer portal session url, but the user will see that vague error.

cursive heronBOT
#

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

Question
Converting an app with paid subscription to allow free-trial. At checkout it creates a subscription (`payment_behavior = 'default_incomplete',`) and uses `latest_invoice` to present a summary. This properly created an inactive subscription until they finished checkout and provided payment method.

Adding 'trial_period_days' and using `pending_setup_intent` for Elements' secret causes the subscription to immediately be `status = 'trialing'`. We want to only start once they've provided valid payment info so there's no trial subscription leftover if they abandon the checkout.

Creating SetupIntent manually seems to be an alternative, but if so how would we preview the tax?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/deferred-payment

What are you working on?
SAAS product with a monthly/yearly subscription with free trial

#

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

Question
API logs: GET request log just disappeared?

Related Request ID(s)
req_seR7Un3iSi9nD

What have you already attempted?
looking at the log history as usual (with GET,POST,DELETE filters enabled) and observing some logs have just disappeared

#

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

Question
I want to create a new user via API. I want to push the user's email address as the customer email and I want to add the billing email.

Unfortunately, I can't find anything in the API (nor can GROK) to push that billing email.

Do you have any idea?

Related Request ID(s)
req_tnFp8y9ROY1ePL

What have you already attempted?
Asked AI and looked online.

What are you working on?
Automation for my company

cursive heronBOT
#

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

Question
How do you get the associated Invoice from a Charge object? In previous versions, this could be done with $charge->invoice, but new API versions do not appear to have this property

For example, if you are processing a charge.failed webhook, how can I get the invoice details via API?

Related Request ID(s)
req_UNgpJBG60cSAR3

What have you already attempted?
I have looked at the API for PaymentIntents there to see if there is a solution, but didn't find anything.

What are you working on?
I am working on updating Paid Memberships Pro to work with the latest Stripe API version.

#

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

Question
Stripe report runs have been stuck on pending for the past eight hours.

frr_1RsN3vIv5qZ8Xj8OY47nqaOR

Related Request ID(s)
req_MKAe8b1xqmBYU2

What have you already attempted?
Retrying API call to create the financial report run.

#

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

Code
curl -X POST https://api.stripe.com/v1/oauth/token
-u sk_test_***:
-d code=ac_***
-d grant_type=authorization_code

Question
We have created an OAuth 2.0 app with sandbox_install_compatible true. The test app link works correctly and allows us to authorize successfully. However, when we try to exchange the authorization code for an API access token in sandbox mode, we receive the following error:

Error: invalid_grant - Authorization code provided does not belong to you.

We are using the same sk_test_... platform secret key for test mode and sandbox. in test mode work fine and exchange tokens.

What have you already attempted?
We have tried in test mode. Now need to implement in sandbox mode.

https://docs.stripe.com/stripe-apps/api-authentication/oauth

https://docs.stripe.com/stripe-apps/enable-sandbox-support

What are you working on?
Creating Oath2 stripe app supports also in sandbox mode

cursive heronBOT
#

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

Question
We are implementing a monitoring system to check the application's status every 1 to 5 minutes. I’ve been reviewing Stripe’s documentation, but it’s not entirely clear which is the best endpoint to use in order to verify whether our account is active. With other payment gateways, we’ve experienced situations where the account gets blocked or goes out of service, so we want to ensure we're monitoring this properly.

Related Request ID(s)
Api

What have you already attempted?
Read Documentation

What are you working on?
Statuses

#

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

Link to the Doc/Guide in question
See https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage-api

Question
Hi!

We're trying to centralize billing for our larger customers, in such a way that the same usage-based product can be paid for multiple times on the same subscription. In our case, this is because one enterprise org can manage billing for many different team orgs.

Pricing per team org is usage-based, connected to our "Cloud Credits" meter, but meters work per customer, so we couldn't separate usage by team.

Is there any way of doing this with the Stripe API?

What have you already attempted?
This is a new problem, since some of our larger customers have asked for unified billing.

What are you working on?
AI-powered APIs

#

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

Question
My company reimburses itself from vendors who sell on behalf of the company. This vendor in particular has connected its Stripe Connect account to our account and have connected an external bank account to their account.

We are still working on setting up our Stripe account to process payments, so our vendor received customer payments directly to their bank account.

My company has to charge them, using the 'Pull Funds' feature, however, their Stripe Connected Account has a zero balance - will the external account be debited in our owed amount, and are there any negative ramifications from processing it this way?

Doc/Guide Links
https://docs.stripe.com/connect/account-debits

What are you working on?
Charging Stripe Connected Accounts

cursive heronBOT
#

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

Question
We’re trying to remove subscription items by using the Deleted = true flag in the SubscriptionItemOptions when calling SubscriptionService.Update.
For example:
new SubscriptionItemOptions
{
Id = currentItem.Id,
Deleted = true
}
However, instead of deleting the item, Stripe sets its quantity to 0 and keeps it in the subscription. We expect the item to be completely removed. Is there anything else we should include or change in the request to ensure the item is fully deleted?

Doc/Guide Links
https://docs.stripe.com/api/subscription_items/delete?api-version=2025-03-31.basil&lang=dotnet

What are you working on?
Subscription Upgrade

cursive heronBOT
#

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

Question
Hi, I encounter an issue regarding \Stripe\Subscription::create API. In my implementation i'm using a backend service that provides client's Intent Secret key for mobile devices,
i want to offer a recurrence payment for our users, but every 2nd or 3rd request I get no client secret from stripe. In my implementation this is a synchronous connectivity between our mobile devices and backend.
Here is how our requests likes like:
$subscription = \Stripe\Subscription::create([
'customer' => $customer,
'items' => [['price' => $stripePrice->id]],
'payment_behavior' => 'default_incomplete

Related Request ID(s)
\Stripe\Subscription::create

What have you already attempted?
Add it 'payment_behavior' => 'default_incomplete', and 'expand' => ['latest_invoice.payment_intent'], in the request

What are you working on?
Mobile implementation with native SDK for recurring payment

cursive heronBOT
#

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

Question
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 (#undefined)

Related Request ID(s)
req_rk6v4Yhrwah4af

What have you already attempted?
everytime i tried to connect it

#

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

Question
Hi, we’re allowing customers to upgrade from monthly to yearly plans. We want to change the subscription item to the annual price and set the billing cycle to renew in one year—as if it had been yearly from the start. However, we don’t want Stripe to charge the customer automatically, as we’ll create a separate one-time invoice for the difference. What’s the correct way to do this? Setting proration_behavior=none doesn’t seem enough.

Related Request ID(s)
req_gLwiCv1Iw0jDIC, req_XmHNMSATvqAXzE

What have you already attempted?
https://docs.stripe.com/api/subscriptions/update?api-version=2025-03-31.basil&lang=dotnet

cursive heronBOT
#

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

Error Message
Bonjour je viens de créer stripe pour whatnot ça fait maintenant. 7 jours que j'ai fait les vente et je n'ai pas reçu l'argent de mes ventes

Question
Comment dois je faire ave Stripe svp pour recevoir l'argent de mes ventes whatnot a savoir que j'ai bien renseignė le nom de la banque merci

What have you already attempted?
Aidez moi a débloquez mon argent whatnot svp en m'expliquant si possible Mercie

cursive heronBOT
#

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

Question
Can I use the ApplicationFeeAmount in the .NET SDK with PaymentIntentCreateOptions. Documentation seems to refer to checkout and payment links only

Related Request ID(s)
req_egeiCjJtTK74Fd

What have you already attempted?
Docs mention Connected accounts, check out and payment links. Stripe AI said to add it to the total amount being billed, but that is what I do now and actually results in under billing because the amount of the transaction is higher.

cursive heronBOT
#

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

Question
We are trying to authenticate customers to our application by creating a slack application/extension with read access. Since the customer we want to integrate is already connected to one read-write platform integration, we need another way to read their data, which is through the extension/app we want to put into place. We are wondering how to test our un-published application. The application intends to authenticate and then redirect the customer so that we can create a stripe integration for them in our backend.

Related Request ID(s)
none - support thread: https://dashboard.stripe.com/support/sco_SlvD3ZBENg2Pe2

What have you already attempted?
we have looked at:
https://docs.stripe.com/stripe-apps/migrate-extension
https://docs.stripe.com/stripe-apps/create-app
creating an app without ui: https://github.com/stripe/stripe-apps/issues/867

cursive heronBOT
#

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

Question
Testing with the Stripe 3D Secure test credit card number, this triggers a challenge when we enter payment details. As this is a subscription service, in our test environment, renewals fail (guessing because it's merchant-initiated). Is this because of the test card, and in practice the challenge may not be triggered every single time?

Doc/Guide Links
https://docs.stripe.com/payments/3d-secure

What are you working on?
Subscription SaaS product, with a trial (customers can enter some billing information during trial, including their card, but they get billed at a later date).

#

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

Question
How to create amount-off coupon for a long time?

In our business, we often use forever amount-off coupon to discount subscription service, but now, in new API version, Stripe will remove support for creating new amount_off coupons with a forever duration.

For example: innitial amount is $1997.4, the discount amount is $573.5 (used for a long time)

Doc/Guide Links
https://docs.stripe.com/changelog/basil/2025-03-31/restrict-coupon-duration

What are you working on?
Upgrade Stripe API from 2024-06-20 to 2025-03-31.basil

cursive heronBOT
cursive heronBOT
cursive heronBOT
cursive heronBOT
#

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

Error Message
"message": "You passed an empty string for 'payment_method_options[card][network_token][cryptogram]'. We assume empty values are an attempt to unset a parameter; however 'payment_method_options[card][network_token][cryptogram]' cannot be unset. You should remove 'payment_method_options[card][network_token][cryptogram]' from your request or supply a non-empty value."

Question
Using GooglePay, first CIT transaction works fine, for when we get the token and cryptogram and pass it to you.

However, the following transactions (MITs) are failing, because we dont get the cryptogram. We get the errors for sending empty string, as well as not sending the cryptogram at all.

What can we do to make MITs also work?

What have you already attempted?
Based on the error above, we tried not sending payment_method_options[card][network_token][cryptogram] value, but still resulted an error that says we should send the cryptogram.
Here are 2 test logs:
- https://dashboard.stripe.com/test/logs/req_X17Pnu62fuowk2?t=1753969631
- https://dashboard.stripe.com/test/logs/req_0ZbZwjKG6JIaNM?t=1753876798

Reproduction Steps
try to authorize a GooglePay transaction without a cryptogram, which is a common case for subscription based models or MITs.
Based on the ApplePay doc(https://docs.stripe.com/apple-pay/decrypted-tokens#when-to-provide-a-cryptogram), we assumed it'd be similar behavior, but it isnt.

What are you working on?
Working with Payrails

cursive heronBOT
#

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

Question
Hi, we want to upgrade our api version from 2023-08-16 to 2025-07-30.basil so as webhook. But when create webhook only can choose current version older than our api use or latest version. But the jump is too big for us. Could you help to suggest Is there any to set our current version on middle version?

Related Request ID(s)
no

What have you already attempted?
upgrade api version

#

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

Code
Unable to display gst line item on invoices

Question
How can I display a line item for GST using API? My client is Australian based so do they need to register for sales tax in order to display it?

What have you already attempted?
I enabled automatic tax calculation on dashboard but it didn't work

What are you working on?
Display GST line item on an invoice

cursive heronBOT
#

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

Question
I want to update the card details stored in our systems when stripe Automatically updates the cards.

I found the 2 events for the same:
1- payment_method.automatically_updated
2- customer.source.updated event

I want to understand, since this cant be tested directly and stripe shares this info for all the user cards (payments methods) attached, How can I locate that this is the same card which I want to update for in my databases?

Is fingerprint or some info which is always same in these cases?

Related Event ID(s)
No IDs yet, as I am still understanding the work-around.

What have you already attempted?
I have learned about these events as of now.

What are you working on?
I want to update the users primary and secondary card information stored in my DBs to be updated once stripe automatically updates them via Card network.

cursive heronBOT
#

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

What did you expect to happen?
I expected to see a form from stripe where I could onboard... used to be that way before...

What actually happened?
I got redirected to the reauth page even though my link was just newly created....

Here is the link: https://connect.stripe.com/setup/e/acct_1RsfeA08gz6yzlSa/SpwZXr50niEk

Reproduction Steps
I am doing this:

Creating an account using:
account = await stripe.accounts.create({})

and then creating a link for that account using
const accountLink = await stripe.accountLinks.create({})

And then using:
accountLink.url

Question
Why is this happening? I am failing to understand... it was working fine before... and I am still in test mode....

What are you working on?
A payout system (reward system) for my game

cursive heronBOT
#

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

Question
Following on from this thread - regarding 3DS challenges even after setting up the intent to be off-session. For the test cards we tried, it is also giving an error wanting a 3DS challenge, for the different test cards. I would expect the test card 4000 00025 0000 3155 to only have the challenge at the start when the user enters their details, and not for subsequent transactions as we have configured the setup intent.

Doc/Guide Links
https://discord.com/channels/841573134531821608/1402133258124136479

What are you working on?
SaaS subscription platform.

#

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

Question
Type: Stripe Connect setup.

When using the Checkout Sessions API with `ui_mode === 'custom'`, and when a multi-step form is not possible, how would you manage guest customers coming back?

Example:
- Customer A visits the store and buy something with one time payment
- Customer A visits the store and pays for a subscription
- Customer A visits the store and pays for another subscription

Each time a new customer is created because its recommended to create the session on load, and if I don't have the customer email and multi-step form is not an option, then Stripe automatically creates it.

How would you manage this scenario without raw PaymentIntents and Subs APIs?

Doc/Guide Links
- https://docs.stripe.com/sdks/stripejs-react?ui=embedded-components#setup
- https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-line_items

What are you working on?
Something similar to gumroad/easy.tools/stan.store

cursive heronBOT
#

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

Question
Hello, is there a webhook that can warn you 90 days before the end of an annual subscription? French law requires you to notify the customer of the tacit renewal within this period... it would help me to send an email via Brevo

Related Event ID(s)
no id

What have you already attempted?
A webhook

cursive heronBOT
#

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

Question
My client has their Stripe Connect account connected to my app and when syncing transactions (charges, refunds, and payouts) he don't receive anything. His account ID is acct_1RsKjg1NnoZQJm2b

Related Request ID(s)
none

What have you already attempted?
-

cursive heronBOT
#

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

Question
We are working on enabling tax for several locations in the USA. This will mean that customers' next charge will have tax added to it, increasing the final total billed compared to previous invoices.

In order to ensure as few customers as possible cancel their subscriptions we want to apply a one time discount as a gesture of goodwill.

My question is, if we apply the discount to the subscription before we turn tax on will the discount apply to the pre or post tax total?

Doc/Guide Links
https://docs.stripe.com/tax/calculating#discounts-and-tax-calculations

What are you working on?
Turning on tax for customers in some US states and adding a one time discount

cursive heronBOT
#

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

Code
var cardNumber = elements.create('cardNumber', {
style: elementStyles,
classes: elementClasses,
});
cardNumber.mount('#example3-card-number');

var cardExpiry = elements.create('cardExpiry', {
style: elementStyles,
classes: elementClasses,
});
cardExpiry.mount('#example3-card-expiry');

var cardCvc = elements.create('cardCvc', {
style: elementStyles,
classes: elementClasses,
});
cardCvc.mount('#example3-card-cvc');

Question
Hey! We’re exploring Stripe Link and noticed that when using the individual Elements (cardNumber, cardExpiry, cardCvc), Link is automatically integrated inside the iframe.

Just wanted to check — is this specific type of Stripe Link integration (the one embedded within the Elements) exposed for use if we’re rendering our own cardNumber, cardExpiry, and cardCvc fields, or does it only work when using Stripe’s own Elements?

What have you already attempted?
I have gone through the available Stripe Link docs, trying to figure out which all kinds of implementation are exposed

#

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

What did you expect to happen?
When i already completed the one flow then why i get to another page and what will be the final and successful event for where user successfully created the stripe-connect account?

The final event i got on the stripe is following "account.external_account.created".

Can you confirm me this will be the final event?

What actually happened?
I am not sure but i think when user created a payouts stripe connect account it should be created and i am getting all the events on my stripe account then after the connection i got redirected to a new form where i get multiple accounts what they are exactly not understandable???? When i just randomly selected one i got this event account.external_account.created.

Reproduction Steps
I want to be make sure that the user is onboarded and this is the final successful.

Question
Is this is the final event for the successful subscription of the user "account.external_account.created"

What are you working on?
I am working on the payouts and need to know about the event so i will have the surety that user is onboarded now.

#

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

Question
I'm working on a subscription checkout that is created using the checkout sessions API. I've enabled Klarna as a payment method which shows up in test mode, all is well.

If there's a discount applied and I click pay, I'm taken to the Klarna interface which shows the amount to be paid but doesn't show any information about the discount.

Is there a way to control what is shown in the Klarna UI?

Related Request ID(s)
N/A

What have you already attempted?
I've tried adding a description to the subscription_data attribute on the CS but this doesn't show in Klarna.

In Klarna I see "From today - £72.00/year" which is the discounted price for the first year only. What the UI should say somewhere is something like "Renews at £90.00/year"

Paypal, Apple Pay, Google Pay all handle this correctly.

Is Klarna ready to be used in this way or is the integration with Stripe still being worked on?

cursive heronBOT
#

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

Question
I developed a flow where an invoice is generated in the upcoming event that when paid we add balance to the user's account so that on the day of recurrence the recurring invoice is paid automatically, this way we reduce delinquency with the user receiving the invoice a few days before.

However, the upcoming event is not being generated when my subscriptions are close to expiration. I have subscriptions like sub_1RWIwHH7b7tFkA7YAoKlkewk or sub_1Rih9vH7b7tFkA7YAfkwOjkV

Related Event ID(s)
sub_1Rih9vH7b7tFkA7YAfkwOjkV

What have you already attempted?
I need to understand why the upcoming events are not being generated

cursive heronBOT
#

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

Question
My client has their Stripe Connect account connected to my app and when syncing transactions (getting charges, refunds, and payouts from API) he don't receive anything. His account ID is acct_1RsKjg1NnoZQJm2b

Related Request ID(s)
none

What have you already attempted?
-

cursive heronBOT
#

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

Question
we use Stripe Connect with Direct Charges to route payments directly to connected accounts (our vendors). when attempting to create a PaymentIntent with the automatic_tax: { enabled: true } parameter in a direct charge flow (including transfer_data and application_fee_amount), I receive the following error: Received unknown parameter: automatic_tax (Stripe::InvalidRequestError)
From documentation and behavior, it seems that Automatic Tax is currently not supported when using Connect Direct Charges. Could you please confirm if this is accurate?

Related Request ID(s)
https://dashboard.stripe.com/support/sco_Sgpkp96DWK9I5F

What have you already attempted?
Testing the following payload with a direct charge setup:
Stripe::PaymentIntent.create(
amount: 10000,
currency: 'usd',
customer: 'cus_xxx',
payment_method: 'pm_xxx',
confirm: true,
off_session: true,
automatic_tax: { enabled: true },
transfer_data: { destination: 'acct_xxx' },
on_behalf_of: 'acct_xxx',
application_fee_amount: 500
)

What are you working on?
Collect and remit sales tax automatically while continuing to use direct charges

#

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

Question
Hey, I have a question about SubscriptionSchedules. Is the 'completed' status only assigned when the subscription actually ends after the schedule duration? Or is there any other scenario where the SubscriptionSchedule reaches that state?

Related Request ID(s)
sub_1RsjZtAh4GBavOUkz1YzQUb0

What have you already attempted?
Wanted to be sure

What are you working on?
I want to mark subscriptions as 'completed' on my app

cursive heronBOT
#

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

Question
Wondering if there is a Stripe API we can use to get the Payouts summary rows, just like the api for report_runs with the payout_reconciliation.summary.1 option. A single API would be much simpler for our use than requesting a report, waiting for report creation than consuming the report from the finished URL.

Related Request ID(s)
0

What have you already attempted?
I've looked at the balance_transactions API and sending in the Payout. The issue is it returns to much info to digest when we only need the payout summary rows.

What are you working on?
We need the Payout summary information for an integration into our internal, proprietary App.

#

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

Question
We are using stripe integration on our web portals but now we created our extension for our application but I checked that in extension I cannot use stripe element for taking customers payment method, which method we can use in chrome extension to take payments via stripe.

Doc/Guide Links
https://docs.stripe.com/payments/elements

What are you working on?
Chrome Extension

#

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

Question
I created a new account but the version api 2025-07-30.basil but i want my api version to be 2022-08-01 ! How can i do. The impact are that my webhooks are not created in the same way as before.

Related Event ID(s)
workbench/logs?selected=req_xDmwMEVYUJPxPc

What have you already attempted?
I have tried to set my Stripe-Version but i got the following message : "message": "Invalid Stripe API version: 2028-08-01",

What are you working on?
I am working on a marketplace platform

#

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

Question
Hello team,
In the latest Stripe API versions (since 2025-02-24.acacia), there's no longer a reliable way to associate payouts to their invoice.
Previously, we used to list the payout's transactions and get their charge. From here we would have the charge.invoice field, that does not exist anymore.

How can we now retrieve invoices starting from the payout transactions?

Note that we poll the payouts daily.

Related Request ID(s)
None

What have you already attempted?
- Reviewed Stripe docs
- Retrieved balance_transaction.source and attempted to use the Charge to get the invoice

What are you working on?
We maintain an integration that imports Stripe payouts to the matching transaction on our system.

cursive heronBOT
#

@spring igloo 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/buy-now-pay-later#api-support

Question
I'm seeing conflicting information. This page above says Klarna does not support setup intents, but this other one says it does.

https://docs.stripe.com/payments/klarna/set-up-future-payments?web-or-mobile=web&payment-ui=elements&use-case=subscription#web-create-intent

I'm specially interested in the on demand case because it will fit what I need. So is this a new think and you're still updating the docs?

What have you already attempted?
Nothing, actually

What are you working on?
A React webapp for an existing system

cursive heronBOT
#

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

What did you expect to happen?
Payment declined due to missing address with Stripe test credit card.

What actually happened?
Payment intent was captured with a test credit card even though billing address fields were empty. In Stripe dashboard, the address shows CA, USA.

Reproduction Steps
Start with a user that has a saved payment with billing address. Fill in shipping address. Switch to new card, enter in test card details. Do not enter in billing address. Click place order. Only reproducible with users with existing saved payment details and shipping details collected.

Question
Is this unexpected result because QA person was using a test credit card and therefore no bank/issuer validation is occurring? Hopefully this will not happen in production with real users?

What are you working on?
Stripe JS API for capturing payments.

#

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

Question
Sorry perhaps if this is some information readily available- Just struggling with the keywords.

Is there a way to use connect embedded components or something like it for the root account (not an account with connect enabled)? I want to be able to embed payments and payouts information into an internal app that we are using.

Related Request ID(s)
req_OpABYeiU3rOIML

What have you already attempted?
I've already tried just using the connect components with our root account ID and I've tried searching for the answer.

What are you working on?
Internal subscription management dashboard

#

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

Code
We are working with subscriptions and subscription schedules to handle product changes for upgrades/downgrades and our prices support more than a single currency.

Question
Given that we use subscriptions. When a customer changes to another country and we also support that new currency, how can we update the customer subscription to have the new currency when their cycle renews?

What have you already attempted?
We already tried to create a subscription schedule that would have the first phase as the customer's current subscription, and having the second phase to be in the new currency (but we get a customer_single_currency_required error).
We know that we could cancel and create a new subscription with the new currency, but we would want to handle it automatically, at the renewal, not cutting abruptly, working with refunds, etc

What are you working on?
SaaS with subscriptions

cursive heronBOT
#

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

Question
Our business is transitioning from a yearly subscription model to a monthly one. we added the necessary products and what was agreed on is we transition all the users to the new model giving them a fixed amount discount that applies until their renewal date.

the issue we're facing is that the discounts are disappearing when a customer updates their subscription (downgrades to be more specific) as we're creating schedules to apply the changes. the schedule will run when the user is set to start paying for the subscription.

why is that happening? why are the discounts being removed from the subscription when we update it? and is there a way around it?

Doc/Guide Links
https://docs.stripe.com/api/subscription_schedules?api-version=2025-06-30.basil

What are you working on?
b2b - b2c marketplace

cursive heronBOT
#

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

Error Message
Klarna Payment shows incomplete

Question
Hi, I have discuss the issue with highlevel and i got this response and they ask me to reach out strip

What have you already attempted?
I have added the address field in payment link but still its not working

#

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

Code
/**
* @param string $stripe_customer_reference
*
* @return bool
*
* @link https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method
*/
public function hasDefaultPaymentMethod(string $stripe_customer_reference): bool
{
$stripe_customer = $this->getCustomer($stripe_customer_reference);

    // @phpstan\-ignore\-next\-line PHPStan cannot detect the properties of invoice\_settings, which is a

Question
Can we remove the above code's PHPStan ignore now?

What have you already attempted?
I saw the PHP SDK changes with improving type hint for resource property here: https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md#1700---2025-04-01.

But I don't sure this change is effective because it seems not statement what properties the resource has?
For example, customer.invoice_settings.default_payment_method

What are you working on?
Upgrade Stripe API from 2024-06-20 to 2025-03-31.basil

cursive heronBOT
#

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

Question
I am working downgrade feature in my saas platform
what I am doing currently is: creating a schedule with 2 phases, one is the current phase (phase[0]) and a second the donwgrade phase (phase[1]) that will be released when it becomes the current_phase and customer.subscription.update initiate

my question is: I knew how to keep my discounts active in the current phase (phase[0]) of the schedule but how to keep it active in the second? will adding the same discount Id in the downgraded phase considered as bad practice? will it throws errors?

Doc/Guide Links
https://docs.stripe.com/api/subscription_schedules/update?api-version=2025-07-30.basil#update_subscription_schedule-phases-discounts-discount

another thread with @jayy

What are you working on?
Saas product with subscriptions features and e-products

cursive heronBOT
#

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

Question
I need your expertise on this:
We are using Stripe Connect, Issuing and Treasury.
We are on a react-native architecture.
We want to onboard people and use embedded components.
We know that the embedded components are not compatible with the react native architecture.
Hosted link kill our flow because people have to enter again their phone number.
Can I write a secured NextJS App with your embedded components and use this app in a webview?

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

What are you working on?
Stripe Connect Issuing and Treasury.

#

@vestal vigil 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/get-started/data-migrations/pan-export

Question
First and foremost, I apologize if this is not the appropriate channel for this inquiry.
Regarding the format for exporting PAN data for migration purposes, I have observed that the payment method IDs differ from those currently used in my account.
I would like to ask whether the data to be exported pertains specifically to card-type payment methods or if it directly references the card object.
Previously, in order to register a customer’s payment methods, we followed the model described here: https://docs.stripe.com/api/payment_methods/create and the format for IDs begins with pm_....

What have you already attempted?
N/A

What are you working on?
Process migration to external pci-vault

cursive heronBOT
#

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

What did you expect to happen?
My thread was closed but we were still conversing on a solution.

What actually happened?
A Stripe dev took over for another Stripe dev. I was offline for about an hour. When I came back the thread was closed. I could not respond to the Dev's question.

Reproduction Steps
Tried to reply to the thread question.

Question
Can I get the thread back up and active so we can continue the conversation?

What are you working on?
API payout integration.

cursive heronBOT
#

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

Question
How can I inherit the coupons from the customer automatically when I create an invoice? I have added a coupon/promotional code to my customer, but when I create the invoice, the coupons are not being applied.

Related Request ID(s)
I don't have

What have you already attempted?
The coupons and promotion codes to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice’s customer. But this is not hapenning when I'm creating the invoice.

What are you working on?
I have to charge my client every month with minimal products, he will pay even if they didn't use but they will receive to use a discount/coupon to receive reimbursament in the next charge/invoice.

#

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

Question
Is there a way to see what promo codes are related to a coupon programmatically? I see how to see the coupon associated with a promo code, but I don't see a way to see the relationship starting from the coupon.

Related Request ID(s)
NA

What have you already attempted?
I've looked at the docs, specifically here and the CRUD actions associated with the coupons. https://docs.stripe.com/api/coupons/object

What are you working on?
A SAAS software product.

cursive heronBOT
#

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

Question
Implementing metered billing subscriptions for our businesses payments.

When a user subscribes ideally they should pay 0 until we start adding items to their subscription when we begin processing for them.

When they hit our checkout page they get charged for 1 metered usage ($3.80) in order to start their subscription.

I don’t see a way in my backend to avoid charging them, is there something in the UI in stripe I need to configure?

Doc/Guide Links
I’ve read the stripe subscription, and metered billing docs. We’ve implemented the flow, and things work fine.

What are you working on?
Metered subscription billing for our platform

#

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

Question
i have problem with the report api looks like reports take up to 3 hours to generate and thats just for 2 days
example: frr_1RsnHRCfsucJuGCdTnt875mg
Create: 08/05/2025 16:00:01
SuccessedAt: 08/05/2025 19:24:37

Related Request ID(s)
frr_1RsnHRCfsucJuGCdTnt875mg

What have you already attempted?
i try for the last 2 days to get a working report but keep failing on timeout

#

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

Question
We’re encountering an issue while onboarding a user to our Stripe Connect platform. When entering a valid Canadian postal code (L2L 1Y4), Stripe returns an error stating: "Invalid CA postal code."

Related Request ID(s)
https://docs.stripe.com/error-codes#postal-code-invalid

What have you already attempted?
Tried changing the formats that we share with stripe

What are you working on?
Vyta is a connected care platform by Bayshore HealthCare that helps seniors age in place by enabling remote health monitoring, personalized care plans, and real-time alerts. It connects patients, care

#

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

Question
I’m trying to centralize checkout transactions in a table that stores the charge_id so I can process refunds.
However, I noticed that the response differs depending on whether it’s a one-time payment or a subscription. For one-time payments, as I understand it, I can retrieve the charge_id from the paymentIntent. But for subscriptions, I haven’t been able to find a flow that gives me the charge_id.

Is there an existing recommended flow to retrieve the charge_id for subscriptions, or what would be the best approach in this case?

Related Event ID(s)
evt_1RsqWW62EDqmXxon9TKH1UWP

What have you already attempted?
I tried using the invoice, but when I receive the checkout.session.completed webhook and fetch the invoice, I get:
Stripe Notice: Undefined property of Stripe\Invoice instance: payments

cursive heronBOT
#

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

Question
I am having problems with Stripe integration to firebase. I think I have two related problems. The first problem is that I cannot make the createCheckoutSession cloud function work. In my firebase database I cant get the customers to have a checkout_session.

A second problem, which I think its related is that in the google cloud logs, I get the following error: ext-firestore-stripe-payments-handleWebhookEvents: "❗️[Error]: Webhook handler for Stripe event [evt_3RrYZhLevqa65neE3uyYKAL2] of type [payment_intent.succeeded] failed: User not found!"

I suspect both are related somehow

Related Event ID(s)
evt_1RsaE3Levqa65neEe1Rig9mX

What have you already attempted?
Installing and uninstalling the extension. Changing the network requirements in google cloud, in the createCheckoutSession function and modifying my checkout .js page to call the cloud function, but to no avail. Im also not that tech savy :P

What are you working on?
A website that sells online courses. Customers buy an entry to the course. A single item purchase. The website and business is situiated in Mexico.

cursive heronBOT
cursive heronBOT
#

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

Question
I am using an embedded checkout flow for connected accounts that's been working fine for a couple of months. However, I've just had a customer get an error show up in that flow. When I look in the logs for the connected account I can see their payment wasn't completed. It's telling me:

The payment pi_3RsryqPuVj22Ofe91stoVhhE for $35.00 requires you to take action in order to complete the payment.

However, the next_action says `use_stripe_sdk` but I'm not entirely sure how I would do that. The embedded UI is running in a React app pop up, and the error happens in that part of the flow.

Related Request ID(s)
req_FPbjPHR5ODDtEa

What have you already attempted?
This is how the embedded ui was set up: https://docs.stripe.com/checkout/embedded/quickstart

What are you working on?
A checkout flow.

#

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

Question
Getting an error of "Event Cannot be verified" when sending data through webhjook

Related Event ID(s)
evt_3Rst0EFNsruGq9qx0IUnNyeL

What have you already attempted?
Reconnecting integration

What are you working on?
Salesforce Integration

cursive heronBOT
cursive heronBOT
#

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

Question
how to modify tap to pay UI text tips

Related Request ID(s)
none

What have you already attempted?
i using tap to pay sdk to developer custom app, i want to modify the tips text, i will show you image

cursive heronBOT
#

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

Error Message
For a item Nem Shrimp which tax code is txcd_00000000. For android device it is tax free but over ios it being tax. My location is houston, Texas and facing this issue for a while

Question
How can i solve this issue because tax is being added for non taxable item on ios device but on android device it is good

What have you already attempted?
I used most of ai tool and decumentations

What are you working on?
I am working on stripe tax which will apply tax on the behalf of item tax code for txas, Houston

cursive heronBOT
#

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

Question
Unable to get payment intent from webhook event "checkout.session.completed"

without intent i'm unable to create my refund logic.

Related Request ID(s)
req_6PcwpOC1dggDxb

What have you already attempted?
i am listening to the webhooks events but unable to get the intent it is coming null

"payment_intent": null,

What are you working on?
working on payment section of a product

cursive heronBOT
#

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

Question
If i have a monthly subscription, for example 1 aug -31 aug. in the next payment the payment is failed. then attempt the payment again in 15 aug (success). The subscription will still start on September 1-30, right? What if I want it to start on September 15?

Related Request ID(s)
-

What have you already attempted?
create the susbcription

#

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

Question
create subscriptions api failed, it is success yesterday but now it failed with the same param.

Related Request ID(s)
this req_pPwTeNHktG3w2A is success, this req_D4eoTW7VoOpjhK is failed

What have you already attempted?
Why does such a problem occur?

#

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

Code
yarn add @stripe/stripe-react-native not to run app

Question
Last time when I was instructed, I was shared a document link https://docs.stripe.com/apple-pay?platform=react-native, when I added @stripe/stripe-react-native to my app, I don't know why it showed an error. Can you provide an image? Can you support me to connect from the app to stripe?

What have you already attempted?
I did everything from the beginning to the part where I added the library and it gave me an error, not open app

cursive heronBOT
#

@gleaming void 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/webhooks

Question
How can I receive Stripe Webhooks behind VPN for testing purposes?

What have you already attempted?
All incoming webhooks from sandbox environment failed.

My idea was to use stripe-cli container, which I'll expose to the internet and connect it to my VPN. Stripe CLI will use --forward-to flag, which will be sanding those webhooks to URL which is hidden behind VPN.

cursive heronBOT
#

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

Question
How to update metadata of a connected account Payment (charge)

Related Request ID(s)
req_A2b6zGipeInya7

What have you already attempted?
So we are creating a setupintent, then we proceeed to he transfer. after this we are using a get to retrieve the charge id from the transfer (req_A2b6zGipeInya7). When trying to update the metadata from the charge (req_A2b6zGipeInya7), i am getting an error 404.

What are you working on?
We are trying to pass metadata to connected account to bring transparency of platform source transaction related to the connected account.

cursive heronBOT
#

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

Question
How do I replicate the behavior of "create prorations, bill now" in Stripe?

Related Request ID(s)
N/A

What have you already attempted?
const UPDATE_SUBSCRIPTION_CONFIG: Stripe.BillingPortal.ConfigurationUpdateParams =
{
features: {
payment_method_update: {
enabled: true,
},
subscription_update: {
enabled: true,
default_allowed_updates: ["price"],
products: [...]
proration_behavior: "always_invoice",
schedule_at_period_end: {
conditions: [
{ type: "decreasing_item_amount" },
{ type: "shortening_interval" },
],
},

What are you working on?
subscription mgmt

#

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

Question
I want to allow 1 month free trial on my subscriptions in stripe. Does stripe allow that?

Related Request ID(s)
-

What have you already attempted?
I have working monthly and yearly subscriptions in stripe. However I want to now add a free trial.

What are you working on?
I am working on the node js side of an android game.

#

@olive plaza 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_methods/object?api-version=2025-06-30.basil&lang=curl#payment_method_object-us_bank_account

Question
What's the difference between us_bank_account and ach_debit on payment_method_detail of Charge object ?

What have you already attempted?
We have to extract both ach debit and us bank account information to display ach debit payment method information. However the design is strange.

What are you working on?
Get charge payment method detail from invoice

cursive heronBOT
#

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

Question
We want to implement PaymentElements in web and app (ReactJs and ReactNative in front, Rails in back).

Looking at the doc I'm a bit confused with the difference between ephemeral key and a session customer client secret. We want to use PaymentElements to display to our customer the previous payment methods he has used with us, but we do not have collected their consent so I believe the way to do it is to create a session with the option to redisplay always the payment methods (allow_redisplay: unspecified)

But for React Native we do not have this specified, and they talk about ephemeral key?

Related Request ID(s)
no-op

What have you already attempted?
https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-add-server-endpoint -> this is where they talk about the ephemeral key

https://docs.stripe.com/payments/save-customer-payment-methods#display-existing-saved-payment-methods -> where they talk about the session client secret.

What are you working on?
marketplace

#

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

Question
I'm creating a checkout session, is there a way to capture the event of checkout session created? (using the webhook)

Related Request ID(s)
req_ZVqUUHgEcJUabe

What have you already attempted?
I tried to check the docs if it creating a payment intent / if there are other events but I couldn't find an answer

What are you working on?
I'm creating a checkout session for a customer using the API, the checkout session might be created from different services, I want to be able to capture the checkout sessions created

cursive heronBOT
#

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

Question
Hi need help on oauth, connect, etc.
I am creating a saas software, not on stripe marketplace, which will allow my users to connect their stripe account to my webapp. I will then show them all of their transactions, payouts, products, let them create payment links etc.. from my webapp.

How do I setup the connection where I get access to their stripe accounts? They have existing accounts.

Related Request ID(s)
-

What have you already attempted?
Checked out Stripe Connect for standard accounts. It creates a new company and it's onboarding. Do not need that.

#

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

Error Message
“Payouts suspended. Status required

Question
It says that I can’t make any payouts because some action still needs to be completed, and I have to contact support.”

What have you already attempted?
Ok

Reproduction Steps
“I have contacted support, exactly as instructed on the Stripe platform.”

cursive heronBOT
#

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

Question
My service is trying to use webhooks to update refund statuses in our system. We use `refund.updated` event.
The problem is that for failed refunds the status returned in webhooks is always 'succeeded'

Related Event ID(s)
evt_3Rsgxu4efDnlSD781ZmT77ni, evt_3Rsgxu4efDnlSD781ZmT77ni, evt_3Rsgxu4efDnlSD781ZmT77ni

What have you already attempted?
To workaround this, we fetch refund from stripe when we get `refund.updated`. Fetched obejcts seem to have proper status

What are you working on?
Payment integration service

cursive heronBOT
#

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

Code
There is no code needed to share

Question
Hi, im not sure if thats about the API but im working on making google play billing work in my android app. I setuped method payment and im using payment intent and stripes UI elements to handle the payment flow in app and im wondering why the google pay option isn't showing. Also if such flow can be achived using regular stripe sdk or i need to used some kind of specially prepeared for android ( like stripe capacitor plugin )

What have you already attempted?
Tried different setups and checked if methods are setup correcly ( and yes ) also googled for while

What are you working on?
Im working on making in-app payments using the google billing platform ( it's required for google play apps )

cursive heronBOT
#

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

Question
One of the connected accounts on our platform has received a dispute/chargeback on one of its transactions. As a result, the account now has a negative balance. We need to initiate the process to recover the disputed amount from their external bank account. Could you please advise on the appropriate flow to handle this situation?

Doc/Guide Links
https://docs.stripe.com/connect/destination-charges?platform=web&ui=stripe-hosted#disputes

What are you working on?
We have build an app where our connected accounts can accept payments using WisePad 3, Tap-to-Pay, or payment links.

#

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

Question
We're utilizing the Elements widget to collect payment details, currently with only cards and ACH enabled. The ACH option used to show a flow for manual verification via microdeposits, but we've noticed it has disappeared from our widget (See screenshot). It's still visible in the example Elements instance in the documentation, but we could not find any documentation on how to control the appearance of the manual verification flow.

Related Request ID(s)
N/A

What have you already attempted?
We went over the docs to see if there's a setting that enables the manual verification flow, but couldn't find it.

What are you working on?
Payment collection for a SaaS product

cursive heronBOT
#

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

Question
Hi. I'm updating our customer account connection with Stripe process. As part of the original process, some state was returned with the callback to complete the process, which allowed us to access the publishable key, refresh token and access token (via using OAuth to decode a "code" field on the stripe request to our system, I believe). The new process doesn't return any state now. Should I get this data through any particular api call now?

Related Request ID(s)
NA

What have you already attempted?
Viewing https://docs.stripe.com/connect/express-accounts?lang=php, and searching stripe docs.

What are you working on?
Viewing https://docs.stripe.com/connect/express-accounts?lang=php, and searching stripe docs.

cursive heronBOT
#

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

Question
I want to check regarding an issue with Stripe API version upgrade. I have upgraded to latest api version 2025-07-30.basil(Earlier version 2018-11-08) from dashboard few mins back. And after that I'm not getting expected response in events which I was getting ex. this event evt_3Rt66THpCCuanh4q0kalP2wP I'm not getting invoice key. Earlier I was using the latest stripe api version via postman by adding an api version(Stripe-Version : 2025-07-30.basil) to api calls from backend but that also doesn't show invoice key.

Related Request ID(s)
req_Lnbtx6yBMvj4Pw

What have you already attempted?
We tried to check but didn't get

#

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

Question
Hello, we are a new company and we haven’t received our VAT number yet. We would like to activate our account and start processing payments. Can you advise how to proceed without a VAT number at this stage?

Related Request ID(s)
acct_1Rd8vdDgteYzSC7K

What have you already attempted?
im trying to Type NA at the VAT field but its seems its necessary howver, we still doesn't have VAT number !!

What are you working on?
VAT number , we don't have VAT number yet !

#

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

Question
My Stripe account is in the US. I charge in USD and get paid in USD, I have adaptive pricing enabled so Europeans can choose EUR and use local payment methods like iDeal.

Most of my spending is in EUR. So with the falling USD now I am trying to base my prices off of EUR instead of USD. So I changed usd to eur:

```php
'line_items' => [[
'price_data' => [
'unit_amount' => 5000
'currency' => 'eur',
```

Now when I go to the hosted Checkout there is no option anymore to choose USD. No adaptive pricing.

Related Request ID(s)
req_S3brD3HAL9lrmM

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
Recently we have started noticing a new kind of dispute fees which says - "Dispute countered fee", while I understand the time at which this fee is created, I would like to know if this is newly added? Also, I would like to know in which webhook this fee is available.

Related Event ID(s)
pi_3RlsWcI5vSu94Gk80mHC5zoS

What have you already attempted?
I have checked the current events in the payment and could see only the `dispute fee` and not the `dispute counter fee` in the balance transactions. Would like to know if this fee is available on any of the webhooks or events.

What are you working on?
I am currently thinking of hardcoding the counter fee in our application, but not sure if it would vary

#

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

Question
We want to export all payment methods with Stripe's API in order to have this information in our data warehouse and be able to perform some analysis. We have noticed you can extract payment methods information by specifying a customer, but we don't want to go customer by customer. Is there any way to download all the payment methods at once?

Related Request ID(s)
NA

What have you already attempted?
We have tried to use the API to export the payment methods but only managed to get a response when specifying a specific customer.

What are you working on?
We would like to know how many customers have more than one payment method defined.

#

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

Question
Hello, question about 3DS support for payments. Our backend is already using `confirmPaymentIntent` to confirm a payment intent. However, when 3DS is required, can the frontend use `confirmPayment` with the client secret to automatically display the 3DS modal and so on, or it is better if the frontend uses `next_action` to display it in its own modal? Thanks!

Related Request ID(s)
n/a

What have you already attempted?
We've used `confirmPayment` on the frontend, but not sure it it's an undesirable practice to use this function after already using `confirmPaymentIntent` on the backend.

cursive heronBOT
#

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

Question
Are stripe developers able to determine an account from the pk_live_ key? Currently trying to get a scam site taken down and apparently the url and public key are not enough to find the account according to support.

Related Request ID(s)
None

What have you already attempted?
Contacted support several times.

What are you working on?
Taking down a scam site

cursive heronBOT
cursive heronBOT
#

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

Question
could u please tell me where i can find outlined behaviours when canceling and changing billing interval subscriptions in each status?

i would love to see smth like a table:
| beforeStatus | action | afterStatus
| unpaid | go from monthly to yearly | active

for example, when i changed via API unpaid subscription from monthly billing to yearly it became active.

such table or similar info would save a ton of time on simulating each status just to see what subscriptions.update does for each status when changing billing interval.

Related Request ID(s)
-

What have you already attempted?
i checked this part of the docs: https://docs.stripe.com/api/subscriptions/update

What are you working on?
want to understand how changing billing interval works by default to know how to implement our business logic

#

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

Question
I am trying to connect twint via stripe to my shop on odoo erp. I do activate it in stripe, but cant see in the list of payment methods in odoo. Looks like not fetched.

Related Request ID(s)
req_8uBTgbcxLxa1w3

What have you already attempted?
Created own secret key, connected it and enabled twint in stripe.

cursive heronBOT
#

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

Question
When processing a payment with a declined card, why do subscriptions get set as active first, then payment intent fails, then the subscription is set to past_due? In the case of a plan upgrade, we don't want the user to get the new plan if the payment didn't succeed.

Related Event ID(s)
evt_1Rt8XxRHtdZpYxj3TuJzItqr

What have you already attempted?
We are listening to the `customer.subscription.updated` event, and when the status is `active`, we do appropriate changes in our DB. What is the expected behavior on our side? Are we expected to revert to the previous plan, once we receive another update with status `past_due`? I understand the dunning process makes sense for a recurring payment that fails, and is retried until it passes or the deadline expires. But in the case of a plan upgrade, we are not sure what we are supposed to do.

cursive heronBOT
#

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

Code
```
appearance: {
theme: 'flat',
variables: {
fontFamily: style.getPropertyValue("--font-family"),
fontLineHeight: "1rlh",
borderRadius: style.getPropertyValue("--interactive-border-radius"),
colorText: style.getPropertyValue("--fg"),
colorTextSecondary: style.getPropertyValue("--accent"),
colorBackground: style.getPropertyValue("--bg"),
}
}
```

Question
Does appearance API support `light-dark(black, white)` styles?

What have you already attempted?
I get errors when using `light-dark`

What are you working on?
Using PaymentElement in SaaS checkout flow

cursive heronBOT
#

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

Code
stripeSdk.confirmSetup({ elements, confirmParams: {}. redirect: "if_required" }).then(handleResult)

Question
When using the PaymentElement to create setup Intents, is it possible to detect whether the user went through 3d secure verification? We are seeing high p95 on our checkout flow (particularly in EU) and wanted to throw some logs in to verify if this is caused by 3ds occurring over 5% of the time.

What have you already attempted?
I couldn't find anything explicit about this in the docs, but gemini/gpt's answer on this is to leverage some fields in the event returned to handleResult. However, nothing in this result is jumping to me that it indicates 3ds was initiated.

non-null fields:
`client_secret, created, id, livemode, object, payment_method, payment_method_type, status, usage'

This was done using the 3ds test card 4000 0025 0000 3155

#

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

Question
I'm using a sandbox environment to test some new implementations and I'm trying to subscribe a user to a subscription but stripe keeps responding that no subscription matches my subscription ID.

Related Event ID(s)
evt_1RtBToB1XM9KBwsriNlBIKQ7

What have you already attempted?
I have confirmed the subscription exists with the correct id. sub_1RtBcyB1XM9KBwsrQHPJ5Hm1

What are you working on?
I'm building an app that allows shop users to create a subscription under their connect accounts and then a customer user can subscribe.

cursive heronBOT
#

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

Code
I'm trying to verify my checkout flow, and I was wondering if `confirmCardPayment` will redirect to `return_url` even if futher actions are necessary.

Question
I'm trying to figure out if I'm responsible for redirecting the user to the "Done!" page, or if Stripe can handle it for me.

What have you already attempted?
Reading these docs: https://docs.stripe.com/js/payment_intents/confirm_card_payment

But it's unclear to me what "handling next actions yourself" refers to

What are you working on?
Checkout for SaaS

#

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

Question
We have connected Stripe to our Odoo system and enabled various payment options, including TWINT. However, TWINT does not appear in Odoo — it’s not visible there. Please help us connect it to Odoo.

Dr. Clark Zentrum Limited
ID acct_1QriKqKdAPKJIUi0

Related Request ID(s)
req_EMJ7XmpHHQNecK

What have you already attempted?
Connecting Stripe to Odoo.

What are you working on?
Connecting Stripe to Odoo.

cursive heronBOT
#

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

Code
if (invoice.status === 'draft') {
const finalizedInvoice = await stripe.invoices.finalizeInvoice(invoice.id, {
auto_advance: true
});
} else if (invoice.status === 'open' && !invoice.auto_advance) {
await stripe.invoices.update(invoice.id, {
auto_advance: true
});
}

Question
Why invoices do not change to “completed” status?

What have you already attempted?
Previously, when attempting to finalize the invoice, it remained in “draft” status. I changed the code to the current one attached here, and now they are in “open” status, but it does not immediately close it and make the payment.

What are you working on?
project on node.js and this problem arose once, but at that time it was enough to use await stripe.invoices.finalizeInvoice(...

cursive heronBOT
#

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

Question
Who triggered this event? We don't have cancel subscription on our app yet.

Related Event ID(s)
evt_1RZEwzBUVEB1vzzUMmtQkuxI

What have you already attempted?
I have tried to search on our app for a cancel subscription, but I cannot find it.

What are you working on?
Benfin App on bubble, where firm can manage RIA and Clients. Firm will do the subscription using stripe.

#

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

Question
Hitting 'enter' inside of a Payment Element input field is causing the form that contains the Payment Element to submit. Is there a way to prevent the Payment Element from doing this?

This is getting around my existing keypress handler on the form. I am not sure how the Payment Element is triggering the submission

Related Request ID(s)
none

What have you already attempted?
I already have a keypress event handler on the form which calls 'preventDefault' on the event when it is the enter key; but this is not being fired when the Payment Element is submitting the form.

cursive heronBOT
#

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

Question
My button for subscription and one-time purchase is not working in my GUI, despite working through the CLI. I have a provided a successful event instance.

Related Event ID(s)
evt_1RtDOnP1MRzkoQArCcIDFJI6

What have you already attempted?
Successful situation- though CLI the order of successful events is:

  1. Products
  2. Prices
  3. Checkout
  4. Payment_methods
    (x2 because we are testing for both buttons)

Unsuccessful situation- occurs through GUI
4. Payment methods

It seems to skip the other functions in my code GUI and I can’t figure out why. Trying to find common problems.

What are you working on?
viarag.ai

#

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

What did you expect to happen?
paid invoices when downloaded being marked paid and no ammount due

What actually happened?
paid invoices when downloaded are displaying that it is not paid

Reproduction Steps
Create a subscription, check invoice (marked as paid in the dashboard but when downloaded displays that it is due and payment link)

Question
My question is why it is happening

What are you working on?
stuff

#

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

Question
how do I force a M2 card reader to update now, rather than waiting until the 12th of August in React Native Expo in the terminal sdk?

Related Request ID(s)
0

What have you already attempted?
reviewed the example app code included in the Stripe terminal sdk for react native/expo

What are you working on?
in-person event ticketing point-of-sale app

#

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

What did you expect to happen?
When I add a payment method in a billing portal, I expect it to appear in future checkout portals.

What actually happened?
Despite having a stored card, the checkout portal requested that I type in a new card, ignoring my stored payment methods.

Reproduction Steps
Add a payment method in a customer billing portal. Navigate to a checkout and the payment method does not appear.

Question
Have I somehow formatted my checkout request wrong? Or is this Stripe bug? Or am I misunderstanding the expected behavior here?

What are you working on?
Transitioning our website to using entirely stripe portals for billing management.

cursive heronBOT
#

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

What did you expect to happen?
That I could migrate to sandboxes without setting up the test connected accounts capabilities. This is per the description in these docs: https://docs.stripe.com/connect/testing

What actually happened?
I receive an error when I attempt to create a checkout session of: "Request req_9BC5Ok6geAuxPI: Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments"

Reproduction Steps
* create a new connected account in a new sandbox
* attempt to create a checkout session on behalf of that connected account

Question
The connect testing docs explicitly state: "Sandboxes and test mode ignore capability statuses. They allow an account to perform capability-dependent actions even when the associated capability’s status isn’t active." Why is this not working as documented?

cursive heronBOT
#

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

Error Message
Stripe checkout session error: StripeAuthenticationError: You did not provide an API key. You need to provide your API key in the Authorization header, using
Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY'). See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe.com/.
at res.toJSON.then.StripeAPIError.messa

Question
How to fix it because ive provided everyhing api webhook everything is good and cant fix it please help?

What have you already attempted?
Troubleshooted everything

What are you working on?
Modelora my project with ai

cursive heronBOT
#

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

Question
Hello, I'm using Stripe as a corporate account in Japan, and I'd like to add pay among the payment methods, but I'll send you an e-mail if it's available by entering the e-mail, but I haven't heard from you for about two weeks, so I'd like to check if there's a problem with the application method.
Does Stripe currently have Paypay's payment function?

Related Request ID(s)
req_flut0wfywZpkCh

What have you already attempted?
req_flut0wfywZpkCh

What are you working on?
paypay

cursive heronBOT
#

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

Question
Looking for a way to limit platform access to a connected standard account.

Related Request ID(s)
n/a

What have you already attempted?
Contacted support

What are you working on?
Granular permissions for concerned merchant.

cursive heronBOT
#

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

Question
I would like to use a stripe ui to support users upgrading a multiproduct subscription. the portal deeplink with subscription_update_confirm would be ideal but it only supports single product subscriptions. Is there plans to either expand that api to support multi product subscriptions or another recommended way of handling this.

Related Request ID(s)
req_l8gej6OTYT8MlO

What have you already attempted?
I have attempted to use the subscription update and subscription preview apis but the proration logic and issueing credits for unused proration gets a little tru

What are you working on?
Saas product with different multiple products which have multiple tiers and billing intervals

cursive heronBOT
#

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

Error Message
I am taking a single payment using stripe and it's all working fine, except that when it goes to the mobile phone for authorisation via the bank app (3d secure 2) it asks the user to authorise a payment of £0.00 even though the payment is a normal amount like £50.00.

Question
I am taking a single payment using stripe and it's all working fine, except that when it goes to the mobile phone for authorisation via the bank app (3d secure 2) it asks the user to authorise a payment of £0.00 even though the payment is a normal amount like £50.00.

What have you already attempted?
I have implementd all integration but my issue was only display 0.00 in 3d secure

cursive heronBOT
#

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

What did you expect to happen?
I expected to receive all relevant webhook events, including customer.subscription.updated, customer.subscription.deleted, subscription_schedule.created, and checkout.session.completed, as it previously worked correctly.

What actually happened?
Currently, I only receive the checkout.session.completed webhook. When using the test clock or attempting to cancel a subscription, I don’t receive any customer.subscription.updated or customer.subscription.deleted events.

Reproduction Steps

  1. Previously working setup with webhooks: all relevant events received as expected.
  2. Used test clock to simulate 1 month later.
  3. Attempted to cancel the subscription.
  4. Only checkout.session.completed was triggered — no other events received.
  5. Manually tested webhook endpoint using Postman — confirmed that the server responds and logs the request correctly.

Question
Why am I no longer receiving certain webhook events (customer.subscription.updated, customer.subscription.deleted) during testing, even though the server is working and other events like checkout.session.completed are received?

What are you working on?
I'm testing subscription lifecycle events in Stripe

#

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

What did you expect to happen?
There is a `status` column in `subscription_schedule` table.

What actually happened?
no status field found in this table

Reproduction Steps
We synced the stripe data to Snowflake, but found no status column in this table.

Question
Is this situation is expected — no `status` column in `subscription_schedule` table.

What are you working on?
I want to retrieve active subscription schedule via data warehouse

cursive heronBOT
#

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

Question
We have connected Stripe to our Odoo system and enabled various payment options, including TWINT. However, TWINT does not appear in Odoo — it’s not visible there. Please help us connect it to Odoo 17.0+e (Enterprise Edition). When I enable Google Pay, Apple Pay, or PayPal in Stripe, they appear in Odoo. The only one that doesn’t show up is TWINT

Related Request ID(s)
req_OxRBoZSYLhsl19

What have you already attempted?
Connecting Stripe to Odoo.

What are you working on?
Connecting TWINT to Odoo

cursive heronBOT
#

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

What did you expect to happen?
I was hoping to get the details of the connected account.

What actually happened?
There was an error: "`stripe accounts retrieve` requires exactly 0 positional arguments. See `stripe accounts retrieve --help` for supported flags and usage"

Reproduction Steps
Sandbox env
Existing connected account
Stripe CLI: stripe version 1.29.0

run Stripe CLI: stripe accounts retrieve acct_xxxxxxxx

Question
It looks like either code or documentation is wrong https://docs.stripe.com/api/accounts/retrieve?lang=cli

What are you working on?
Side project. Currently I'm working on onboarding accounts

cursive heronBOT
#

@viral spoke 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

Question
Hey, I would like to know, where I can find integration docs of metered (usage based billing). There is are guides on how to do it with payment elements and stuff, but there is none for usage based billing

What have you already attempted?
I looked through the docs on where to find such guide

What are you working on?
a usage based billing

#

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

Question
Hi, We've been using two different methods of connecting customers.
The first, really old way which we still use in one scenario would call https://connect.stripe.com/oauth/authorize.
The more recent way would call https://connect.stripe.com/express/oauth/authorize.
We've been moving the express oauth way to the new express accounts method. My question is whether the really old way is also deprecated or if that's a different thing? Thanks.

Related Request ID(s)
NA

What have you already attempted?
Just investigating

What are you working on?
Updating connecting customers.

cursive heronBOT
#

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

Question
We want to use Stripe's API to import daily subscription and invoices data into our data warehouse (BigQuery). We want to get the new data for a subscription and invoice when it has been created or updated. There is no updated_at parameter at this objects so we can't find a way to do it that doesn't imply extracting all the data every day, which would take a lot of time in our daily data pipeline. Is there any way to extract the data for subscriptions and invoices with the API only when they have been created or updated? (A solution like Data Pipeline is too expensive for our organization).

Related Request ID(s)
NA

What have you already attempted?
We have used Stripe's API to extract subscriptions and invoices data with different combinations of created and status parameters.

What are you working on?
Calculate MRR, Churn and other metrics in our data warehouse in order to be able to cross it with the rest of our data in it.

#

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

Question
Hi! could you please help me understand behavior when updating billing interval in unpaid subscription?
when i did unpaid subscription with monthly billing, then updated to yearly (via API) -> became past_due. (sub_1Rt9pb4RpqgkLcJCt7k7Ys7z) makes sense because interval became bigger and thus did not yet exhausted all retries for past_due, right?
and this (sub_1Rt9vi4RpqgkLcJCkohUwd6q) first did unpaid yearly, then updated subscription to monthly price id. and i cannot understand the logic why after changing to smaller interval unpaid subscription became active

Related Request ID(s)
-

What have you already attempted?
have read this: https://docs.stripe.com/api/subscriptions/update
and looked a bit into this: https://docs.stripe.com/billing/subscriptions/change-price ,

What are you working on?
feature for updating billing interval for existing susbscription

#

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

Question
We've tried creating a PaymentIntent with a value of 1311221.33 ARS but it resulted in an error of `amount_too_large` with the message of `Amount must be no more than $999,999.99`

The question I have is that 1311221.33 ARS is less than $999,999.99 so I think there's something else going on here?

Related Request ID(s)
req_8am761sUUkhwqo

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
Hi, we are trying to block prepaid cards without using Radar, I can check the card type within stripe.confirmSetup but I can't see how to remove this card from the customer. If we then input another card into the form once I have rejected this one I fall into the flow of "already processing"

Related Request ID(s)
#dev-help message

What have you already attempted?
I've tried to createPayment method outside the setupIntent but this fails on paymentMethodCreation needs to be manual, but I can't change that elsewhere as I'm passing the client secret. I've tried to detach a payment from the customer using this guide: https://docs.stripe.com/api/payment_methods/detach but stripe.paymentMethods does not exist

What are you working on?
a sign up flow

#

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

Question
We need a question regarding the coupons and want the below

When user enters a code like CLINIC500, you want:

No coupon discount to apply on checkout page

Instead, $500 to be added to invoice balance

Subscription invoice should be paid from invoice balance only

User pays nothing during checkout

But invoice balance is reduced accordingly

Related Request ID(s)
stripe

What have you already attempted?
tried by generating coupon code but user is getting both

Coupon discount being applied (e.g., 100% off subscription)

Invoice balance being added (e.g., $500 credit)

cursive heronBOT
#

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

Question
If I create a subscription with CollectionMethod = "send_invoice" and the price is 0$, will it still send an email to the customer?

Related Request ID(s)
na

What have you already attempted?
I can't test in dev because Stripe doesn't send emails in dev

What are you working on?
AI platform for agents orchestration

#

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

Question
We are using Stripe for Tap to Pay on iPhone. We have Tap to pay working but are missing some of the apple requirements for the production Tap to Pay entitlement. One of the Apple requirements is “Demonstrate merchant education provided to the new merchant after accepting Terms and Conditions. “
I have googled and asked Chatgpt but am unclear if there is a better way to accomplish this. Chatgpt recommended tracking if the user has used the reader for the first time. The issue with this approach is that if they have more than one iPhone then they would be doing the merchant education the first time on every iPhone rather than only one time for this Apple ID. Does Stripe sdk h

Doc/Guide Links
https://developer.apple.com/documentation/ProximityReader/adding-support-for-tap-to-pay-on-iphone-to-your-app

https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay
https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=ios

What are you working on?
iOS app with swift(UIKit) with Stripe and Tap to Pay

cursive heronBOT
#

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

Code
https://invoice.stripe.com/i/acct_1RlEixRqpA9Z2gov/test_YWNjdF8xUmxFaXhScXBBOVoyZ292LF9Tb21nUmVFY0ptMUNZY3lNY3daTE1FY2hWZkZxUTEwLDE0NTExNTYxMw0200QGEAWY9b?s=db

Question
Is there a way to set a return path from the invoice pay page in stripe? I'm trying to figure out how I can send a customer there to pay and then have them return to my panel to beable to view the result/pay another invoice?

What have you already attempted?
VArious searches but admit that those haven't been good.

What are you working on?
A Ruby on Rail applicaiton for peopel to make payments on

#

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

Question
We are a platform that processes direct payments on behalf of our connected accounts (based in US, EU, UK). We are looking at integrating payment terminals and were wondering whether to implement destination charges rather than direct charges? Can't see benefits of direct charging anywhere but that is what we are being pushed towards

Doc/Guide Links
https://docs.stripe.com/terminal/references/testing#sihttps://docs.stripe.com/terminal?locale=en-GB

What are you working on?
System that processes payments for sports teams

cursive heronBOT
#

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

Question
How would I go about performing a charge if I have an external network token (i.e. the network token card number, cryptogram, eci flag and expiration)

Related Request ID(s)
n/a

What have you already attempted?
Reading through the documentation and looking at SDK methods for hints.

What are you working on?
Trying to understand if I can charge an externally generated network token against a Stripe account.

#

@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/payments/accept-a-payment-deferred?platform=web&type=payment#web-fulfillment

Question
Hi all, I hope you guys are well. I'm just wondering what is the best flow to handle scenarios where we have limited stock of something and we don't necesarely want to debit the customer until we're sure the product is still available to fulfil. for example we have a booking system where sometimes there's a class with 1 spot left and it happens that 2 customers purchase at the same time and both of them get booked even though there was only once space left. is there a way to prevent this and have the payment on hold and capture it later after the validations are done?

What have you already attempted?
we have integrated the new payments flow and fulfil the order using the webhooks but that's not working well for this particular case.

What are you working on?
payment intent integration

cursive heronBOT
#

@high spindle 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/list

Question
When using setup_intents I can enter customer= and payment_method=. This works, but the documentations doesnt mention that you can filter on payment_method.

But, when using payment_intents if I try to enter customer= and payment_method= it throws an unknown parameter for payment_method. Is this expected?

The reason why I ask is that in order to find if a payment_method is available for future use, I have to find the payment_intent or setup_intent that created it, and check if usage=off_session.

What have you already attempted?
The problem that I am facing is that I therefore have to filter the setup_intent for the date/time that the setup_intent was created. But some users can take a while to finish the process. I am searching an hour either side, but for some reason, my code isnt finding the setup_intent.

So using postman I just happened to realise that if I filter on the payment_method, I get straight to the setup_intent. But my concerns are:

1) is this an undocumented feature that might be removed
2) it doesnt also work on payment_intents

What are you working on?
A third party stripe integration for the Microsoft Dynamics 365 Business Central ERP system.

#

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

Code
Stripe.api_key = ENV['STRIPE_SECRET_KEY']
Stripe::PaymentIntent.create(
amount: 10000,
currency: 'usd',
customer: 'cus_xxx',
payment_method: 'pm_xxx',
confirm: true,
off_session: true,
automatic_tax: { enabled: true },
transfer_data: { destination: 'acct_xxx' },
on_behalf_of: 'acct_xxx',
metadata: { ... },
description: description,
application_fee_amount: 500
)

Question
I am chargin the homeowners and amount is receiving in connect vendors accounts. Previously I was using charge and token apis to create charge, Now i have shift to PaymentIntent. The issue is description and metadata is not showing on vendors account and payment on vendor side. Previously it was showing and now it is just showing on paymentIntent in platform.

What have you already attempted?
I was wondering in the documentation and did not found any solution.

What are you working on?
I am working to show the description and metadata on vendor connect account payments

#

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

Question
Hey! We have two products in our SaaS platform. Files torage/in-game media and a logging service. We currently consolidate those two products into one subscription and it feels like it becomes a challenge when we have to downgrade one products from paid to free, but the keep another paid. Looking at schedules to fix that for me, but at the same it almost makes more sense to keep both products in two subscriptions. Also because the "Storage" subscription has a base free and a usage-based price, making it even more complex, but im nots what the the best practice is here.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules

What are you working on?
SaaS for the gaming industry

#

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

What did you expect to happen?
A customer paused their subscription. Their subscription billing cycle ends about an hour and a half later. They are not charged and the invoice is voided.

What actually happened?
A customer paused their subscription. Their subscription billing cycle ended about an hour and a half later. A draft invoice was generated a bit over an hour after they paused. They ended up paying their regular subscription price on the invoice.

Reproduction Steps
Stripe subscription id: sub_1QzMSYFqArqfkwbM82viLbdR

Question
Why were they charged in this case? The draft invoice was even generated after they were paused.

#

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

Question
IS there a method to faclitate adding the Stripe fees to the balance of an invioce? The client wants the "Service Fee" to be passed on the user to encourage ACH use over Credit CArd use

Doc/Guide Links
I've looked online and not found anything

What are you working on?
An app to help peopel make partial paymetns on a higher cost item for their convience.

cursive heronBOT
#

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

Question
Dear Stripe Support,

I am currently unable to access my Stripe account because my phone, which stored my passkey, is broken. I normally log in using that passkey, but now I no longer have access to it.

I don’t see any alternative login options, so I kindly ask for your help in regaining access to my account.

I can verify my identity with additional information such as my company name, registered email address, Chamber of Commerce (KvK) number, or linked bank account.

Business name: WW e-COMMERVE
Email address associated with Stripe: Info@wwecommerce.nl
KvK number: 86299565

Related Request ID(s)
IDK

What have you already attempted?
EVERYTHINGGG

What are you working on?
to implement stripe POS (Wisepad 3) into my system

#

@spark lantern 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/customer/balance

Question
Hi! do i understand correctly that this balance is only per organization?

let's say a person P bought a subscription in company X , which uses stripe for their billing. then P decided to cancel the subscription, and he got credit to his balance due to proration. is this balance going to be/can be used for subscriptions in company Y, that also uses stripe for its billing? maybe it is possible with payment link?

What have you already attempted?
checked the link i specified in search for the info that i mentioned in the question

What are you working on?
curious can customers expect stripe cross-organizational invoice balance

#

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

Question
I'm doing a tier mode for a subscription for licenses for SAAS and I'm trying to see if or how I can adjust to either add or remove the license count for the second tier $2000

"tiers_mode": "graduated",
"tiers": [
{
"up_to": 1,
"unit_amount": 400000
},
{
"up_to": "inf",
"unit_amount": 200000
}
],

Related Request ID(s)
https://dashboard.stripe.com/test/products/prod_SoqjCPC2qbkNiB

What have you already attempted?
None yet

What are you working on?
A saas for a licenses

#

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

Question
I'm trying to create a payment schedule so we can bill $0.99 for the first month, than continue at $9.99/Month after. I'm getting frustrated with the API docs. I'm having issues creating the payment intent to send to our Stripe React component.

Related Request ID(s)
req_Vq411RRhLB8umL

What have you already attempted?
if (canGetIntroPricing(userData) && productID === subscriptionProducts[0]) {
const introPriceId = process.env.STRIPE_INTRO_MONTHLY_SUBSCRIPTION_PRICE_ID;

    if \(!introPriceId\) {
      return NextResponse.json\({ message\: 'Missing intro price ID' }, { status\: 500 }\);
    }

    const schedule = await stripe.subscriptionSchedules.create\({
      customer\: customer.id,
      start\_date\: 'now',
      end\_behavior\: 'release',
      metadata\: { custom\_id },
      phases\: \[
        {
          items\: \[
            {
              price\: intr

What are you working on?
..

#

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

Question
My iOS app uses the Stripe SDK whose payment sheets require paymentIntents (PIs). My payment flow requires the PIs to use a manual capture method. I want to use invoices too since they have helpful features, the most important to me being automatic retries. My question: will attaching a PI to an invoice give me access to such features without disrupting manual capture?

Related Request ID(s)
None

What have you already attempted?
I've read the documentation on invoice items and attaching payment intents to invoices.

What are you working on?
iOS app with Stripe SDK -- one time payments with manual/delayed capture

#

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

Code
for (const pm of otherCardsOnFile) {
try {
attempts++;
const payment = await stripe.invoices.pay(
careEnrollmentPayment.stripeInvoice!.stripeId,
{
payment_method: pm.id,
}
);
if (payment.paid) {
paid = true;
break;
}
} catch (error: any) {
if (error instanceof InvoiceAlreadyPaidError) {
break;
}
}
}

Question
We've added logic to retry past-due subscription invoices using other saved cards. However, some invoices end up "failed" with a "canceled" payment intent, making them unpayable (e.g. in_1Ra7IlGF9ZPA9WP51aoJeCmj). Others fail but remain payable (e.g. in_1RiN7gGF9ZPA9WP5yGs1rYyz). We’re not canceling them manually, could this be happening due to retry limits? if so what is the limit?

What have you already attempted?
I tried talking to stripe through the support in the dashboard but it didn't help much

cursive heronBOT
#

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

Question
Why i always have the probleme

Unable to extract timestamp and signatures from heade

I don't know why pls help me

Related Event ID(s)
evt_1RtWidJlb05WgA18O7NlZzUR

What have you already attempted?
I've been on youtube, stackoverflow all but anything work

#

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

Question
With the Stripe Terminal SDK for React Native/Expo, we are using connected accounts to collect application fees on behalf of our connect account, but we are reusing code from our prior Terminal SDK web implementation to create payment intents on our PHP server. what information should we send to the app to be able to properly use collectPaymentMethod()? Currently we are using the intent client secret, but it does not seem to work.

Related Request ID(s)
0

What have you already attempted?
I can paste code segments to show the current code.

What are you working on?
in-person event ticketing point of sale app

#

@gentle moon 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/collect-then-transfer-guide?platform=no-code#create-account

Question
I need help integrating Stripe connect into Flutterflow. I'm going with the 'Collect payments then pay out' method for marketplace apps. If anyone has done this in Flutterflow, i would gladly appreciate your help.

What have you already attempted?
.Created a Stripe Connect account.
.Tried creating an API group in flutterflow API base url, but im unsure where to get the headers.

cursive heronBOT
#

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

What did you expect to happen?
I added fund to my account, within 7 working days my fund in my account

What actually happened?
I added fund into my stripe account on 25 July, but until now i don't see any fund added into my account

Reproduction Steps
i didn't reproduction, cuz i still don't know where is my money

Question
where's my money, i added 6893.7hkd into my account and i have receipt

What are you working on?
waiting for help

#

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

Question
Webhook and its handler are triggered, but return an error on deployed app. locally works fine.

Related Event ID(s)
payment_intent.succeeded

What have you already attempted?
.env variables are correctly set, i double checked that. also tried setting the error message in the response that stripe uses, in dashboard errorMessage key on error object has {} value

What are you working on?
webhook that sends email on payment_intent.success

cursive heronBOT
#

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

Question
I'm having issues during creating invoice. My cystomer have a credit grant and when I create the invoice, it is not being applied

Related Request ID(s)
i don't have

What have you already attempted?
I created the credit grant to the client

cursive heronBOT
#

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

Question
My previous logic was to create a payment link through 'stripe.checkout.sessions.create', but the problem is that if it's a regular payment, there's no issue. However, if I already have a subscription and I want to upgrade or downgrade it by paying the difference, what should I do?

Related Request ID(s)
no

What have you already attempted?
no

cursive heronBOT
#

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

Question
How can I use Stripe Connect account to stripe subscription so that a % of value automatically will go to stripe Connected Account

Related Request ID(s)
1

What have you already attempted?
I have two affiliate customer scenarios:

  1. No Stripe account: How to connect to Stripe and link to a customer's subscription?

  2. Existing Stripe account: How to link to a customer's subscription and start earning % value?

cursive heronBOT
#

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

Question
I'm finding that a needed API for a payout does not appear to work with a manual payout. We need the API to work with a manual payout and wondering why the API doesn't support a manual payout.

Related Request ID(s)
o

What have you already attempted?
Called different APIs with auto and manual payouts to test different results.

What are you working on?
An interface/integration with Quicbkooks for payouts for our customers.

#

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

Question
Is there any way to test Stripe Identity without using my own government ID?

Related Request ID(s)
N/A

What have you already attempted?
Read the docs, but there is no ID to use to test with like there is for credit card or bank accounts.

cursive heronBOT
#

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

Question
We are using Stripe Connect with Express accounts created via API (our central Stripe account is in the US). We have many Connected accts based outside the US (thus we use Cross Border Payouts) - based on how Stripe's hosted Express onboarding works, they are only able to link bank accts & receive payouts in their local currencies. Eg, a CA acct holder can only link CAD bank accts, thus funds are converted from USD to CAD (for 1%) on transfer.

We often get asked by these accts - is there any way to allow Connect accts to link bank accts & receive funds in the platform default currency of USD?

Related Request ID(s)
None - no req errors

What have you already attempted?
Different service agreement types for the Connect accounts (full vs recipient), different Capabilities, etc. All done via https://docs.stripe.com/api/accounts/create calls.

When we tell our Connected Account holders that despite their client paying in USD, they can only receive funds in [CAD, GBP, etc] they are incredulous that Stripe does not allow this and sometimes angry. Is there really no way with Stripe Connect + Express Accounts + Cross Border payouts for us to do this?

What are you working on?
Online freelancing marketplace based in the US with freelancers around the world.

cursive heronBOT
#

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

What did you expect to happen?
Customer credit card statement should show "Pizza Depot"

What actually happened?
Customer credit card statement instead shows "gosnappy.io"

Reproduction Steps
Payment intent id is pi_3RtIjVJ93KfFVesb1cnQ4SUX

Question
We have many cases where our merchant is complaining the customer's credit card statements is showing the wrong information. We checked the payment intent, on it it shows "calculated_statement_descriptor": "PIZZA DEPOT". We don't understand why their statement is showing the wrong information

#

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

Question
My customer wants to pay a Stripe invoice using multiple partial check payments. The checks are sent asynchronously. How do I record partial payments (Made by Paper Check) on a Stripe invoice?

Doc/Guide Links
https://support.stripe.com/questions/marking-an-invoice-paid-out-of-band
https://docs.stripe.com/api/invoices/pay
https://docs.stripe.com/invoicing/partial-payments#partial-payments-subscriptions
https://docs.stripe.com/invoicing/partial-payments#capture-partial-payments

What are you working on?
Contract Management Software

cursive heronBOT
#

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

Question
how can I get details on the ID verification that is done as a part of Express Connect Onboarding? I want specific details like 'selfie verified' , document, DOB, name verification etc.

Is there a webhook that we can configure besides the 'account.updated' for Connect onboarding?

Related Event ID(s)
none

What have you already attempted?
Stripe ID verification and Stripe Express Connect

cursive heronBOT
cursive heronBOT
#

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

Question
I sometimes see bank as an option on checkout, even though it's configured only to card/link

Related Request ID(s)
req_O1KbruAAv0TuiG

What have you already attempted?
Different requests, some have bank as an option, some not

What are you working on?
Subscribe checkout

cursive heronBOT
#

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

Code
const { error: stripeError } = await stripe.confirmPayment({
elements,
confirmParams: {
receipt_email: email,
return_url: `${baseUrl}/checkout/success`,
},
})

Question
Would it be possible to attach a header to return redirect to protect the success route?

What have you already attempted?
nothing yet

What are you working on?
checkout success page that redirects to error page if request not from stripe

#

⛔️ 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 is closed for a few hours as it's a bank holiday in Singapore. We will reopen tomorrow (Friday Aug 8 around 10am UTC)

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

What did you expect to happen?
I need my POS app to pass the review - the app should behave as it behaves on my DevKit, with data sent to Sentry to trace correct navigation and API calls

What actually happened?
Reviewers cannot have the app initialized and flow working seamless, no data are available in Sentry

Reproduction Steps
Install APK on S700 and start the app

Question
I need to schedule a call or a meeting with the reviewer when they test my app to better debug. Provided video and logs after each rejection do not contain any useful information

What are you working on?
A loyalty related POS app for S700 terminals

cursive heronBOT
#

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

Code
SessionCreateParams.Builder sessionBuilder = SessionCreateParams.builder() .setMode(SessionCreateParams.Mode.SUBSCRIPTION)
.putMetadata(METADATA_INVOICE_ITEM_TYPE, METADATA_INVOICE_ITEM_TYPE_VALUE_SUBSCRIPTION) /*relevant line*/ .addPaymentMethodType(SessionCreateParams.PaymentMethodType.CARD)
[...]

Question
Hello,
we are using Stripe webhooks successfully to process invoices paid via Stripe.
We've added metadata to 'subscription_details' or 'line items' for different purposes.
Now we wanted to add metadata to the invoice object itself, i.e. '/data/object/metadata' in the JSON payload of the webhook.
We are using 'com.stripe:stripe-java:29.0.0' and call the 'putMetadata(...)' method on the builder object but the metadata doesn't show up.

What have you already attempted?
We tried to call 'putMetadata(...)' on several objects to check where it shows up in the payload but without success.

What are you working on?
Synchronizing Stripe invoices to our internal system.

cursive heronBOT
#

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

Question
Hello! We are using PHP SDK - version 17.4. According to the documentation payment_intent field is no longer existing in the Invoice object, but I saw that in the invoice.paid it still available. Does that mean that in future it will be deprecated from the webhook payload and is there any docs for the webhooks structure and versioning? Thanks

Related Event ID(s)
evt_1RtlzNIsNGifZaiZoHmfGQbs

What have you already attempted?
Tried to find docs for the webhooks payloads and their structure.

What are you working on?
Payment integration with PHP

cursive heronBOT
#

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

Error Message
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payment_page: 'cs_test_b1KTufSm7cHUNH8Itd8mR7rsUlCZjcNy7dbYwbF19EpjDfagsGOYEz7Q2L'",
"param": "payment_page",
"type": "invalid_request_error"
}
}

Question
I'm using python as backend with version stripe>=12.4.0 and 2025-07-30.basil as api version.
When I create a checkout session to get the client_secret all is well. But when initializing and using CheckoutProvider with the client_sercret I get that error message and cant find what I'm doing wrong.

What have you already attempted?
i have read the Embedded components docs and done similar to the example to get client_secret and the loadStripe promise. But the request made i network tab to:
https://api.stripe.com/v1/payment_pages/cs_test_b1KTufSm7cHUNH8Itd8mR7rsUlCZjcNy7dbYwbF19EpjDfagsGOYEz7Q2L/init

Fail with error message. The Id is the checkout session id I get in response.

Reproduction Steps
Versions:
"@stripe/react-stripe-js": "^3.9.0"
"@stripe/stripe-js": "^7.8.0"
Wrapping my CheckoutForm component with:
<CheckoutProvider stripe={stripePromise} options={{ fetchClientSecret }}>

What are you working on?
A custom checkout page for customer portal in react and typescript and django backend.

cursive heronBOT
#

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

Error Message
No such payment intent found

Question
In react native stripe sdk how to open payment sheet using connect account intent cllient secret.

What have you already attempted?
When i amtrying to create payment intent in specific connect account and trying to load paymentsheet with client secret then it is unable to find intent.

cursive heronBOT
#

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

Question
I am trying to validate billing portal's configuration in my app, to make sure both are aligned.
In my app I have min and max quantities associated with specific plans/products. I want to assert that the billing portal's default configuration has the same values.
I see those values here: https://dashboard.stripe.com/test/settings/billing/portal (Subscription products -> Customers can change quantity of their plans -> "Quantity min of 3")
But not here: https://docs.stripe.com/api/customer_portal/configurations/object.
Where can I find those values?

Related Request ID(s)
bpc_1RCe6XHIHUW3tP8lPoxr1rpz

What have you already attempted?
stripe billing_portal configurations retrieve bpc_1RCe6XHIHUW3tP8lPoxr1rpz

stripe billing_portal configurations retrieve bpc_1RCe6XHIHUW3tP8lPoxr1rpz --expand features.subscription_update.product (I got error message that it cannot be expanded)

What are you working on?
App for managing paywalls

cursive heronBOT
#

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

Code
const newProduct = await stripe.products.create(product);

if \(newProduct.name === "Cleo AI Additional Messages"\) {
  console.log\("Creating additional message pricing tiers"\);
  const smallBundle = await stripe.prices.create\({
    product\: newProduct.id,
    currency\: "GBP",
    transform\_quantity\: {
      divide\_by\: 100,
      round\: "up",
    },
    unit\_amount\: 500,
    nickname\: "Small message bundle",
  }\);

}

Question
Is this the correct way of adding prices to the product i selected where they are "package" pricing as in £5 for 100 messages like the product prod_SpSuoucHzBTF7o i use?

What have you already attempted?
I created a test product with the package based pricing option I wanted to create, checked the logs for where the prices were created and copied the JSON in the logs to create the price in the StripeJS api call.

What are you working on?
An ai chat app where users have monthly limits based on their subscription tier, but can purchase additional messages if they go over their monthly limit.

cursive heronBOT
#

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

Code
const options = {
amount: amount,
currency: currency,
paymentMethodCreation: 'manual',
mode: 'payment'
};

const methods = {
googlePay: 'never',
klarna: 'never'
};

const stripeElements = stripeInstance.elements(options);

const selectedPaymentMethod = 'klarna';

const expressCheckout = stripeElements.create('expressCheckout', {
paymentMethods: {
...methods,
[selectedPaymentMethod]: 'auto'
}
});

expressCheckout.mount('#express-checkout-element');

Question
I’m integrating the Express Checkout Element and want to show only Klarna as the payment method.
I am not creating a PaymentIntent until the user clicks the pay button, but I want the Klarna button to be visible right away.

How can I make Klarna always show in the Express Checkout Element before creating a PaymentIntent (if klarna is supported of course)?
Is there any supported way to show Klarna with this "create intent on button click" flow?

What have you already attempted?
Tried klarna: 'always' in paymentMethods config — Klarna still does not render.

Tested different currencies (eur) and regions.

Enabled Klarna in the Stripe Dashboard.

Google/Apple Pay integration (it works as expected)

What are you working on?
Klarna in Express Checkout Element

#

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

Question
I created an LLC with Stripe Atlas. I noticed that my first 100k have fees waived for my account. I have multiple projects that I want to host under this LLC. Can I create multiple accounts under a single org and have fees waived? What's the best way to go about this?

Doc/Guide Links
None, not sure where I can look for this

What are you working on?
Holding company, owns multiple projects.

cursive heronBOT
#

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

Question
Hi, we're using Amazon Pay with Stripe. At our support, customers often provide an amazon pay reference number (e.g. P02-1234567-1234567). How can we match this to a stripe transaction? I couldn't find that in the docs. Thanks in advance!

Related Request ID(s)
-

What have you already attempted?
Searching in the dashboard did not get me any results.

What are you working on?
We're an online event ticketing shop.

#

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

Question
I want to use Stripe Connect to collect payments from customers on my platform, hold the funds in my platform account, and then transfer a percentage of those funds to a connected account (carrier) after the job is completed, using capture_method: manual so I can capture only after proof of delivery. I first authorize the payment, then capture it, and then transfer the carrier’s share — because at the time of authorization I don’t yet know the destination account. Can this still be done in one split step?

Related Request ID(s)
req_x9H8k3qHABXxsT

What have you already attempted?
for now when I try to transfer funds from US(platform) to MX(connected account), I am getting this error.

Funds can't be sent to accounts located in MX when the account is under the `full` service agreement.
To learn more, see https://stripe.com/docs/connect/service-agreement-types

cursive heronBOT
#

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

Question
We don't see a cancel subscription button in the Stripe subscription management page via the link we provide our users.

Related Request ID(s)
req_F1VfB8LQOL45X2

What have you already attempted?
stripe.billingPortal.sessions.create().

What are you working on?
SaaS

cursive heronBOT
#

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

Question
Hi,
I'm working through migrating our code base to the Payment Intent's / Method's API from Sources.
I've covered all our usage of the Sources API on our codebase.

When I access the developer console tho, I see requests still going to the Sources API (POST /v1/sources), but the Origin of the request is invoice.stripe.com.

I suspect these are coming from invoice payment page's we send to customers for them to pay and not related directly to our application's usage of the API.

Can you confirm that these requests are coming from the payment page? Will these payment pages stop working? Thanks!

Related Request ID(s)
req_iu3kmlBL0Zhjdg

What have you already attempted?
Our team reached out to your support team about this, but they forwarded us here.

I've checked that all our flows on the FrontEnd are indeed sending requests to the new API.

I've asked your AI on the migration documentation about this and it says I don't have to worry about the payment pages not working even tho they are calling the Sources API.

Still I wanted to confirm with you all. Thank you!

What are you working on?
amplemarket.com

#

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

Question
Facing issues while integrating FX quotes API in my workflow

Related Request ID(s)
Request ID -> req_NDOMzqbgWRmIaw Customer -> cus_SpW3X6m1hbf4sP

What have you already attempted?
I went through this doc - https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api?setup=use-fx-quotes-with-api and wanted to integrate this API in my subscription workflow but while passing the same throws an error with invalid param. Can you advise what am I missing here?

What are you working on?
Supporting multiple currencies via FX quote

#

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

Question
Hi! getting an error `Object literal may only specify known properties, and 'billing_mode' does not exist in type 'SessionCreateParams'.` when i pass this arg to checkout session creation func

Related Request ID(s)
-

What have you already attempted?
checked this page: https://docs.stripe.com/changelog/basil/2025-06-30/billing-mode ;
updated to latest version of API 2025-07-30.basil, re- installed stripe in JS project , still getting the aforementioned error.
I can ofc do ts-ignore for that line - is it at this moment the preferable/official way to go?

What are you working on?
want to use feature of flexible billing_mode

#

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

Code
public function createPreviewInvoice(
array $subscription_items,
string|null $stripe_customer_reference,
array|null $billing_address,
array|null $discount_datas,
): Invoice {
$params = [
'automatic_tax' => [
'enabled' => $billing_address !== null,
],
'subscription_details' => [
'items' => $subscription_items,
],

        'customer'         =\> $stripe

Question
How to use GET method to retrieve the upcoming invoice details? I think GET is more better than POST.

What have you already attempted?
I found that when I create a subscription in the Stripe Dashboard, it will create an invoice preview via API - https://dashboard.stripe.com/v1/invoices/preview.

But I didn't find any API doc for this.

What are you working on?
Refactor the method of preview invoice creation

cursive heronBOT
#

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

Question
We had an teammate accidentally mark an invoice as paid within our account. We're unable to undo this in the dashboard, is this something the API can handle?

Related Request ID(s)
n/a

What have you already attempted?
Using the dashboard

What are you working on?
Internal Billing

cursive heronBOT
#

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

Question
Stripe Financial Connection Account. I created a financial account and add transactions to the permissions. May I know on what criteria it fetches the bank transactions?

Related Request ID(s)
NA

What have you already attempted?
I want to know how it fetches the transaction for the first time?

#

@plucky epoch 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/existing-customers?platform=web&ui=stripe-hosted#prefill-payment-fields

Question
Is there any way to configure the CustomerPortal such that when a user adds a payment method in the portal it gets prefilled into Checkouts in the future?

What have you already attempted?
I read this documentation which makes it seem not possible\:
https://docs.stripe.com/api/customer_portal/configurations

But I feel like when customers add a card into their CustomerPortal, they should really be able to use it in future Checkouts.

What are you working on?
Billing Management for 8thWall

cursive heronBOT
cursive heronBOT
#

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

Question
How do refunds work with connect accounts? Let's say a customer buys a product from a connect account. My site gets most of the money from the sale but then the connect account gets a percentage from the sale. Now let's say a customer wants a full refund of the connect account product they bought. My platform has to pay all of it back? I need to reverse the connect account percentage my platform provided the connect account? Using express accounts and separate charges and transfers. I read the docs, but what is the recommended flow or API way to do this via the API?

Related Request ID(s)
N/A

What have you already attempted?
https://docs.stripe.com/refunds#refunds-through-a-connect-platform and https://docs.stripe.com/connect/charges#refund-creation

cursive heronBOT
#

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

Question
I have existing customer card details (e.g., card number, expiry, CVC), and I want to pass this data directly to the Stripe API without using a manual frontend or UI.

Related Request ID(s)
acct_1RVyCjAl5ZRqd6TJ

What have you already attempted?
..

What are you working on?
API

#

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

Code
```go
stripeClient *stripeClient.API

pi, err := h.stripeClient.PaymentIntents.Get(paymentIntent.ID, &stripe.PaymentIntentParams{
Expand: []*string{stripe.String("payment_method")},
})
```

Question
How do add Opentelemetry Spans to **ALL** the Stripe API calls?

What have you already attempted?
We are manually adding spans AROUND the API calls, but that is error-prune and time consuming.
I wonder if there is a way that I can inject some behaviour to wrap the situation

What are you working on?
Fanatics Collectibles payments

cursive heronBOT
#

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

What did you expect to happen?
Hi my stripe coupons Wroks every other time.

What actually happened?
Hi my stripe coupons Wroks every other time i try onec and it dose not work go out of the checkout and then it works. The site is live and clients are having problems

Reproduction Steps
https://ckin.com/ Go here create an account -> do the analysis -> go to checkout use VIPCUSTOMSERUM

Question
Is it cache? what is the problem here?

cursive heronBOT
#

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

Question
Say an invoice automatically retries payment a few times but fails each time. What's the appropriate webhook event I should be listening for that indicates such a definite failure? Is it "invoice.marked_uncollectible"?

Related Request ID(s)
N/A

What have you already attempted?
I have read the invoice documentation with medium thoroughness and asked the AI assistant

What are you working on?
iOS app with manual capture payment intents attached to invoices

#

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

Error Message
We recently identified payments on your Stripe account for SCALECOM AGENCY that don't appear to have been authorized by the customer, meaning that the owner of the card or bank account didn't consent to these payments.

As a precautionary measure, we will no longer be able to accept payments for SCALECOM AGENCY. We will also begin issuing refunds on card pay

Question
Hello Stripe Support,

I am reaching out regarding the recent shutdown of our account. Our team has thoroughly reviewed Stripe’s terms and regulations, and we are confident that we have not violated any policies. This action appears to have been taken without valid cause.

Please confirm receipt of this message and let us know the next steps to reinstate our account.

What have you already attempted?
I have already attempted to resolve this by emailing Stripe support multiple times and submitting all requested documents. However, for some reason, none of the documents are approved except for my ID. I have followed all instructions provided, but the issue remains unresolved.

Reproduction Steps
Log into Stripe dashboard.

Navigate to the “Verification” or “Account Requirements” section.

Upload all requested business documents (business registration, bank statements, etc.).

Wait for review — documents are rejected without clear reason, except for the ID which is approved.

Attempted re-uploading documents and resubmitting multiple times, same result.
Email

What are you working on?
Agency that helps 6-7 figure brands.

cursive heronBOT
#

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

Question
Can i simulate a mandate.updated webhook for an india stripe payment in the test environment? I have a successful india credit card transaction where a mandate was created, made with a paymentIntent. Ill link that, but i need to have stripe send a mandate.updated webhook showing that the mandate is now inactive. Can i deactivate the mandate somehow in the stripe dashboard, and then maybe a mandate.updated webhook will trigger?

Related Event ID(s)
PI that i want to deactivate the mandate for: https://dashboard.stripe.com/test/payments/pi_3RtvwcDvB1CWiwib2WYBapOC

What have you already attempted?
using the test india card from here https://docs.stripe.com/india-recurring-payments. Mandate being successfully created. I just want to deactivate it and get the webhook

What are you working on?
India mandates. mandate.updated webhook specifically.

cursive heronBOT
#

@elfin jungle 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

Question
Beyond frustrated - I built a custom Stripe Terminal Android SDK App and a production S700 POS Terminal for my client, but Stripe Support ping-ponged the ticket around for over a week, only to tell me to contact Sales. Why is it SO DIFFICULT to get a S700 DevKit?

What have you already attempted?
Multiple chats with Stripe Support.

What are you working on?
Apps on Devices

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-08-11. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
I am trying to use Stripe Connect Standard where I am a platform account with connected account users that sign up with my app. A guest user (buyer) will make a purchase with one of the connected users and this purchase is split into 1) A deposit and 2) the remaining payment. I need to be able to process the deposit payment immediately and collect platform fees (no problem so far). For the remaining payment I need it to be scheduled to auto charge at a certain date/time and take platform fees as well. How can I do this? Currently using cross account cloning, is there a better way to do this?

Related Request ID(s)
req_t3FzYeRvHccrpy, req_3TnGCSDaFCebTx, req_5ZGtGcIfBAPuKA

What have you already attempted?
Problem: - Customer's card is saved on the platform (my main Stripe account)
- But we need to charge it on the vendor's connected account
- Stripe doesn't let connected accounts use payment methods from other accounts?

My attempt:
Step 1: Clone the payment method TO the vendor's account
Step 2: Attach the cloned card to vendor's customer

- Customer has 1 card, but it exists in 2 places:
- Original card on platform account
- Cloned copy on vendor account
- Now vendor can charge the cloned card
- Platform still gets fees through application_fee_amount

cursive heronBOT
cursive heronBOT
#

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

Question
Using the guide linked below I create subscriptions serverside on button click within the mobile app and am opening the paymentsheet with the recieved client secret. Everything works fine but the issue is that if the customer closes the payment sheet we already created outstanding invoices with invoice numbers. This introduces significant overhead for our accounting team as they always have to generate a cancellation invoice.

I am on the hunt for a workflow that does not create invoices before payment was actually completed.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=react-native

What are you working on?
real world membership business

cursive heronBOT
#

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

Question
Hi, I'd like to ask a few questions about what best practices with Stripe Connect are. (I'm currently working on building a platform)

  1. During onboarding in a sandbox account I wasn't asked to specify a (public) business name, but could later modify it via the dashboard. Is there some reason I wasn't asked for a business name during signup? (Individual account)
  2. During onbording I was asked to specify a product url/description. However my platform just offers that sellers can do one thing: be commissioned by buyers to create social media videos. Can I just prefill that information or must it be written by the content creator at onboarding?
    Gonna ask more questions later.

Doc/Guide Links
https://docs.stripe.com/connect/collect-then-transfer-guide?platform=no-code
https://docs.stripe.com/connect/express-accounts
https://docs.stripe.com/connect/cross-border-payouts
https://docs.stripe.com/connect/destination-charges

What are you working on?
A marketplace where content creators (stripe connect accounts, usually individuals) can be commissioned by buyers to create videos.

cursive heronBOT
#

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

Question
I’m looking into how to handle charge errors for Stripe transactions in certain failure scenarios.
In some cases, the charges object appears in the payment_intent.payment_failed webhook event; in others, it does not.

Currently, I’m checking the last_payment_error property — if it’s present, we treat it as a failed case and handle accordingly; if not, we skip it.

For example:
• event_id evt_3RunwLESJ0XXzhv10OHI4LUv → no charges object
• event_id evt_3RuqChESJ0XXzhv10k1UGpi1 → has charges object

Related Event ID(s)
evt_3RuqChESJ0XXzhv10k1UGpi1, evt_3RunwLESJ0XXzhv10OHI4LUv

What have you already attempted?
I tried several attempts to make a failure case using 3DS card
- 4000000000003220 3DS required OK --> I click FAIL button on 3ds screen sandbox
- 4000008400001629 3DS required decline -> it will automatically failed

both 2 resp are different, while charges object does not exists while others is exists

cursive heronBOT
#

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

Code
// Payment form contains both PaymentElement and
<Elements stripe={stripePromise} options={options}>
<PaymentForm {...props} />
</Elements>

// Payment Element
<div>
<ExpressCheckoutElement
onConfirm={handleExpressCheckout}
/>
<form onSubmit={handlePaymentSubmit} className="space-y-3 sm:space-y-4">
<PaymentElement />
</form>
</div>

Question
We cannot see apple-pay or any other option show up in ExpressCheckoutElement section. however PaymentElement card payment is shown.

What have you already attempted?
- apple pay is turned on in payment methods section
- our domain is verified in payment domains section
- we have tried removing PaymentElement form from the component ( just in case it doesnt exist together with express)

cursive heronBOT
#

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

Question
not receiving applies to when fetching coupons

Related Request ID(s)
req_UZ8D240z53RGxt | req_89eUeE9hoEih5W

What have you already attempted?
tried to check our api version, nothing wrong with it
checked the coupon in admin dashboard its showing the applicable products for it

What are you working on?
saas product features | especially next billing data show

cursive heronBOT
#

@crimson snow 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/direct-charges

Question
Extra context:
We can see that stripe connect (hosted onboarding, stripe dashboard access, direct charge type), solve most of the thing we needed except for cash payment.
As one of our client (connected account) have about 10% of transaction as cash payment method. (means the buyer pay the seller in cash during item collection in person)

Question:
Is there a way for us (platform) to charge the application fee to seller (connected account), even though it was pay in cash?
bonus: we would also like to be able record the order in Stripe.

What have you already attempted?
we had a read on custom payment method. but seem like this is mainly to add another payment method to the list. it doesnt create / complete the order in Stripe.
https://docs.stripe.com/payments/payment-element/custom-payment-methods

What are you working on?
We are building a platform to allow buyer to buy stuff from seller (connected account) and we (platform) take a fee.

#

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

Question
i have create express account threw on boarding link after that i have check my payout status still showing false and disableReason=other

Related Request ID(s)
NA

What have you already attempted?
i have complete all things threw dashboard

cursive heronBOT
#

@steady tinsel 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'm developing an app in flutter frontend + nodejs backend for my client. When I generate the user onboarding link from my nodejs backend and send to my flutter frontend, it opens up the onboarding screen and shows the UI for entering phone number. When I click on the button: Use test phone number it says:Something went wrong. Please try again later, or contact suppo

What have you already attempted?
I've tried pasting the same onboarding link on my chrome browser of laptop and it works fine there.

Reproduction Steps
1.Client request onboarding link
2. Backend creates the express account for stripe and generates the onboarding link and send it.
3. Client open the link in flutter app and clicks on use test phone number.
4. The error appears

What are you working on?
An app for local works

cursive heronBOT
#

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

Question
Hello,

We're trying to migrate our old stripe customer/subscription management to a new one. For this, I need to merge some customers but i dont find a way to migrate payment method from a customer to another using the API. Is it something possible?

Related Request ID(s)
None

What have you already attempted?
Already read the API documentation

#

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

Question
I'm having the following problem, I developed a system to reduce delinquency of my clients basically the client receives 7 days in advance, an invoice that when paid adds balance to their account, when the subscription invoice is generated it will already be paid. But I'm having the following problem. When my user has a subscription via boleto like sub_1RuuyaQn8w7ktsfB84M1vC1k, their invoice that is generated 7 days before is being correctly created as boleto in test mode. However in production when my client has a subscription via boleto sub_1RlAK6H7b7tFkA7YtY7er4fA the invoice that is create

Related Request ID(s)
sub_1RuuyaQn8w7ktsfB84M1vC1k, sub_1RlAK6H7b7tFkA7YtY7er4fA

What have you already attempted?
.

cursive heronBOT
#

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

Code
# Calculate splits (adjust percentages as needed)
therapist_fee = int(amount * 0.66) # 66% to therapist
developer_fee = int(amount * 0.08) # 8% to developer
platform_amount = amount - therapist_fee - developer_fee # 26% to platform

    \# Create PaymentIntent with Connect
    payment\_intent = stripe.PaymentIntent.create\(
        amount=amount,
        currency=currency,
        transfer\_data={
            'destina

Question
My problem is the following: I do use a connect paying system, BUT I do have 3 entities I have to share money to: It's the firma that has the platform, the developer (me), and the therapist. The therapist gets an appointmnet booked, he gets 66%, the firma 33%, I get 8%. How should I proceed with the payment intents / transfers and most importantly the refunds

What have you already attempted?
It has worked, even though I'm not finished, just looking for a way

What are you working on?
therapy website where I take a cut, the firma owning the platform takes a cut (24%) and the therapist the rest)

#

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

Question
Hey,

we're using Chargebee to handle subscriptions and enabled their Stripe Integration to handle CC and SEPA DD payments.

We keep getting mails from Stripe about needing to urgently migrate from Sources API to Payment Methods API to keep charging our subscribers. We do not use your APIs directly though, and Chargebee is answering in erratic manner – either blaming us or you.

Can you confirm we'll be able to receive payments after your migration deadline _tomorrow_?

If not, please extend the deadline.

Thank you!

Related Request ID(s)
Account ID: acct_19cX7bFdOLyqGQhl

What have you already attempted?
Back and forth with your and Chargebee support

What are you working on?
Our actual product, as CB and you should take over payments :)

cursive heronBOT
#

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

Question
I’m using Stripe for card payments. When a customer makes a payment, I’d like to save their card details so they can be charged in the future without re-entering their card information.

Could you please explain:

How to save the card details securely during the initial payment.

How to get an identifier (such as a payment_method ID or customer ID) from your side that I can store on my end.

How to use that identifier later to process future payments.

Related Request ID(s)
acct_1RVyCjAl5ZRqd6TJ

What have you already attempted?
raw card data using stripe api directly

cursive heronBOT
#

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

Code
Stripe JS SDK regarding AddressElement and having both shipping and billing on the same page and mounting/unmounting elements based on saved addresses.

Question
When a user purchases items on the site, we sometimes want to dynamically mount/unmount the shipping address element if the user does not need it. For example, in the case that the user has saved shipping addresses in our DB. However, I have noticed that when unmounting the shipping element, it triggers the billing address element complete: true even though the user never filled in the billing information and disregards validation for all billing fields.

What have you already attempted?
Instead of unmounting the component, is the better option to prefill with defaults from the saved shipping addresses selection?

What are you working on?
Checkout

cursive heronBOT
#

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

Question
We were running some migration, and likely hit that limit
> Calls to individual resources have stricter limits, and also count against global limits. API endpoints have a default limit of 25 requests per second

And as result whole our application was unusable for some period of time

My question is - does call-rate limits on API applies on account basis, or per each individual API key? Does Stripe Apps / Connect use the same call-rate limit?

I just want to know if we can be safer during such migration by running them with dedicated API key while main application will be staying on the main?

Related Request ID(s)
n/a

What have you already attempted?
n/a

cursive heronBOT
#

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

Code
No code to share since it's a bit too long

Question
I've implemented a simple connect payment system where you create a payment intent + a webhook that acts on charge.succeeded (transfers from the platform account to the developer and therapist account, so two distinct account ids). My question is when is the stripe fee applied? And also I'm trying to understand how one should approach the stripe fee, as in to make the transfers to the connected accounts before or after the fee?

What have you already attempted?
The doc says I should find details regarding the stripe fee in my "balance_transaction" thingy, yet in my test call it's null

What are you working on?
therapy website

cursive heronBOT
#

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

Error Message
{
"error": {
"code": "terminal_reader_timeout",
"doc_url": "https://stripe.com/docs/error-codes/terminal-reader-timeout",
"message": "There was a timeout [...]",
"request_log_url": "https://dashboard.stripe.com/logs/req_dXIcwu1VlnxA8M?t=1754493786",
"type": "invalid_request_error"
}
}

Question
Hi,
We've had several cases of payments going through yet showing up as failed in our integration due to a 400 response, with a 'terminal_reader_timeout' error code.
Would sending the request again (instead of immediately considering the payment failed), as recommended in the docs, be enough to guarantee consistency?

What have you already attempted?
- Checked all the problematic payments had the same issue
- Checked the documentation and planned a possible solution; just need confirmation before implementation

Reproduction Steps
We have not found any specific trigger for this - it could be linked to a less than perfectly reliable network connection on the card terminal side, or a software issue with the terminal.

What are you working on?
Odoo - Stripe terminal integration for a client

#

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

Error Message
Incomplete! The customer has not completed the payment.

Question
Customers aren’t able to select a payment option when trying to check out using Klarna? It seems like the button or link to proceed isn’t working properly.

What have you already attempted?
I reached out before aswell but the error remain same

#

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

Question
Hi, is there any API to get a Payment Intent ID from a Charge ID in bulk?

I'm trying to reconcile payments from a payout - however balance transactions only show the charge ID, and we store the Payment Intent ID internally. Fetching the charges one by one is infeasible.

I was also thinking of the Reports API, would that be a better choice? In that case we would have to parse a CSV file though.

Related Request ID(s)
n/a

What have you already attempted?
Tried to fetch the charge IDs individually, but this is infeasible when there is thousands of charges associated with a payout.

cursive heronBOT
#

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

Error Message
HTTP 503 - Service unavailable

Question
Kampgrounds of America has a Stripe integration for our credit card processing. Dynatrace is reporting errors this morning, for example, between 10:42 and 10:46 we received 503 errors reported by DT. Is there an ongoing issue.

What have you already attempted?
Continued monitoring and continue to see intermittent issues with 503's.

What are you working on?
Our reservation products, to include koa.com leverage stripe api's for payment processing.

cursive heronBOT
#

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

Question
In a Stripe app, how can I determine in my webhook endpoint if a user is coming from a sandbox environment? I understand how to detect whether they are in test or live mode, but I’d like to distinguish between test and sandbox so I can use the correct API keys.

Doc/Guide Links
https://docs.stripe.com/stripe-apps/enable-sandbox-support?utm_source=chatgpt.com#webhook-events

What are you working on?
I want to receive test events to my webhook endpoint

#

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

Question
How to use the React Native (Expo) Stripe Terminal SDK to work with a PHP server that manages connected accounts that will collect payments using direct charges? We have a web version using terminal sdk already, but trying to use RN for app development to use bluetooth readers (e.g. M2). I cannot retrieve a payment intent in RN that was created on PHP server.

Related Request ID(s)
0

What have you already attempted?
will paste code so far in channel.

What are you working on?
an in-person event ticketing system that needs a POS app

cursive heronBOT
#

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

Question
I wanted to get advice on an issue we're seeing with several customers regarding voided invoices creating a cascade of future recurring draft invoices.

Stripe marks all future recurring invoices as draft; when we hover over any of these drafts, Stripe additionally shows this message on each invoice's tooltip: “The draft invoice was created by an unpaid subscription. Therefore, automatic collection was turned off.”

Additionally, at the Subscription level in the Stripe UI, the Subscription shows as unpaid.

We would love your advice on the best way to resolve this issue such that customers

Related Request ID(s)
N/A

What have you already attempted?
We have been wary to try anything out of fear of finalizing all draft invoices.

What are you working on?
Recurring subscriptions.

cursive heronBOT
#

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

Question
We want to update the billing cycle when a customer upgrades their subscription with us. We're using the customer billing portal. We would like to prorate the amount they pay when upgrading based on their time left on the current subscription but we don't want to invoice them when we send the update for the billing cycle since they would have already paid for the upgrade. Is the way to do that to add a free trial until the end of the new period after we rest the billing cycle anchor?

Related Request ID(s)
NA

What have you already attempted?
I've followed these instructions to reset the billing cycle anchor by setting it to "now" but that invoices them for the year and since they already paid for the upgrade, that results in a double charge. https://docs.stripe.com/billing/subscriptions/billing-cycle#changing

What are you working on?
A SAAS product.

#

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

Question
Can Stripe automatically transfer a percentage of successful subscription payments to an affiliate's connected account without requiring a webhook? If not, what's the best approach to achieve this functionality?

Related Request ID(s)
1

What have you already attempted?
I have implemented stripe onboard dashboard for my affiliates where they can either signup or sign
and connect to the stripe platform account

What are you working on?
To reward affiliates with a percentage of each transaction from connected accounts, I need to implement a webhook. Can Stripe handle this? If so, how can I configure it to automatically calculate and

#

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

Question
[API Bug] The data returned by the Stripe API for stripe.subscriptionItems.retrieve is incomplete and is missing data.

Related Request ID(s)
si_Sq0VGCiyvmdONb

What have you already attempted?
According to these docs: https://docs.stripe.com/api/subscription_items/retrieve?lang=node, I am expecting the "price" object in the returned data to contain a "tiers" array, because my "billing_scheme" is set to "tiered". However, the "tiers" array does not exist in the returned data.

What are you working on?
Billing system for creating custom Stripe prices & meters

cursive heronBOT
#

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

Question
we have several customers, under them, we have several subscriptions that I set the trial_end in the same datetime so they can get renew on the same date and time. My question is if we have a way to not charge multiple invoices, but instead of one big invoice for all subscriptions that has the same renewal date.

Doc/Guide Links
I look into use invoice and payment intent for it but not sure if it is the right place.

What are you working on?
billing system

cursive heronBOT
#

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

Question
For an Issuing authorization is it possible to get the Fx and Xb fee? On my platform statement was I charged a set amount for Xb and Fx fees, but I cannot get it to tie out based on the 1% + .30 fee for Xb and 1.25% for Fx.

Related Request ID(s)
N/A

What have you already attempted?
There doesn't seem to be this information on the authorization of connected accounts. Not sure where I can find it.

cursive heronBOT
#

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

Error Message
Access to script at 'https://connect-js.stripe.com/v1.5/stripe-connect.js' from origin 'https://bushbounty.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
GET https://connect-js.stripe.com/v1.5/stripe-connect.js 403 (Forbidden)

Question
I’m integrating Connect embedded components. I believe I need to allowlist client-side origins, but I can’t find the “Client-side integration / Allowed client-side origins” setting in my dashboard. Could you suggest where this lives on my account or if it needs to be enabled? If the UI isn’t available, are there recommended workarounds to proceed?

What have you already attempted?
Using the correct script https://connect-js.stripe.com/v1.5/stripe-connect.js (removed js.stripe.com/connect.js).

Account Sessions flow returns client_secret; loader runs in-page.

Tested in Incognito, .

Searched Settings → Connect; direct settings URLs not found; still getting 403.

Reproduction Steps
Open our Bubble app page ( tested in Chrome/Incognito).

Page loads only this script: https://connect-js.stripe.com/v1.5/stripe-connect.js (no js.stripe.com/connect.js).

Backend API workflow creates a Stripe Account Session (components.account_onboarding.enabled=true) and returns client_secret.

Frontend calls loadConnectAndInitialize({ publishabl

What are you working on?
A two-sided marketplace (Bubble.io) using Stripe Connect embedded components for connected-account onboarding and managemen

cursive heronBOT
#

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

Question
Best way to grant user the product using webhooks & payment links?

Doc/Guide Links
I've been seeing instructions to use checkout completed in conjuction with payment intent succeeded

What are you working on?
Virtual service delivery after payment

cursive heronBOT
#

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

Question
Why would a freshly created payment link be expired?

Related Request ID(s)
req_j9bQIwqdYUo9Gk

What have you already attempted?
Looked at the docs, can't see anything about an immediately expired Payment Link

What are you working on?
Middleware to create payments in clients Stripe via Connected Accounts

cursive heronBOT
#

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

Question
If I receive a webhook event such as customer.subscription.updated, are there any guarantees about the state of a customer's entitlements? Can it be guaranteed that GET
/v1/entitlements/active_entitlements will always have the correct entitlement state (and that it won't be updated a few seconds later from an incorrect state to a correct state?). Similarly, if I receive the entitlements.active_entitlement_summary.updated event, does GET /v1/subscriptions/:id have any guarantees about the state of the customer's subscriptions?

Related Event ID(s)
id

What have you already attempted?
https://docs.stripe.com/api/entitlements/active-entitlement/list
https://docs.stripe.com/api/subscriptions/retrieve?lang=node

cursive heronBOT
#

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

Code
public class StripePayActivity extends AppCompatActivity {

private PaymentSheet paymentSheet;

// test
private String clientSecret = "xxxxxx";
private String publishableKey = "xxxxx";

@Override
protected void onCreate\(@Nullable Bundle savedInstanceState\) {
    super.onCreate\(savedInstanceState

Question
In Singapore, the PayNow payment option cannot be displayed. The backend configuration has been checked and there are no issues. The IOS client side can display it normally, but the Android client side cannot show it.Is there anything wrong with my code? How can this problem be solved?

What have you already attempted?
Have tried upgrading the version and .allowsDelayedPaymentMethods(true) but to no avail

What are you working on?
Grad is integrating my Android client with Stripe, offering three payment methods: Paynow, Grabpay, and Card. However, currently Paynow is not showing up.

cursive heronBOT
#

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

Question
We implemented 3DS for Japan payments and set "request_three_d_secure": "any" for new subs, thinking it’d reduce fraud. Later, we saw churn/revenue drop and found that 3DS was being triggered on every renewal, even after first payment verification. This caused friction and missed payments despite reminder emails. We’ve now switched to "automatic" for new subs, but can’t update existing ones. Looking for ideas to fix this for current subscribers still facing monthly 3DS prompts.

Doc/Guide Links
https://docs.stripe.com/payments/3d-secure/authentication-flow
https://docs.stripe.com/api/subscriptions/create
https://docs.stripe.com/api/subscriptions/update

What are you working on?
Subscription billing system with 3DS for SaaS product

cursive heronBOT
#

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

Question
We implemented 3DS for Japan payments and set "request_three_d_secure": "any" for new subs, thinking it’d reduce fraud. Later, we saw churn/revenue drop and found that 3DS was being triggered on every renewal, even after first payment verification. This caused friction and missed payments despite reminder emails. We’ve now switched to "automatic" for new subs, but can’t update existing ones. Looking for ideas to fix this for current subscribers still facing monthly 3DS prompts.

Doc/Guide Links
https://discord.com/channels/841573134531821608/1404668958027812926

What are you working on?
Subscription billing system for our SaaS

cursive heronBOT
#

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

Question
We are facing an issue with a few known users in our system. After processing the invoice.payment_succeeded event, the corresponding license entry in our database is not being created. However, the payment is showing as successful in Stripe.

Related Event ID(s)
in_1RnGL5BHT6hy2TuLLDKNzzbA , in_1RXXLLBHT6hy2TuLVGTRqIg5, in_1RrXoqBHT6hy2TuLK3S8rxI0, in_1RrXoqBHT6hy2TuLK3S8rxI0

What have you already attempted?
We tried to find the common pattern in events. But unable to find anything common. This issue is only for some users, not always failing.

What are you working on?
We are working on a Python Django project, and for the past few years, we have been receiving successful payment responses without any issues. However, we are now encountering this problem.

cursive heronBOT
#

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

Code
Currently, what payment methods are supported by PaymentSheet in the Android client?

Question
Currently, what payment methods are supported by PaymentSheet in the Android client?

What have you already attempted?
PaymentSheet: It is known that PayNow does not support display on the Android mobile platform.

cursive heronBOT
#

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

What did you expect to happen?
Refund went successfully

What actually happened?
The customer says she not got the money back

Reproduction Steps
Refund a subscription payment

Question
Can you help me find out if we did something wrong?

cursive heronBOT
#

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

Question
I am using subscriptions with "SEPA incasso". Sometimes the payments fail. Then I want our users to be able to use "iDeal" to pay the invoices.

I have those tow payment methods as the default methods in my account settings, but somehow it does not get added to the failed invoices generated by subscriptions. (I think this was the case in the past).

Related Request ID(s)
-

What have you already attempted?
I tried adding the payment settings to the subscription

```ts
payment_settings: {
payment_method_types: ['ideal', 'sepa_debit'],
},
```

To the subscription create command but this gives me an error since ideal cannot be used for automatic billing.

#

@ocean rose 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/payment-intents/asynchronous-capture

Question
Hi Stripe Support,

We run monthly cron jobs to bill our users using the PaymentIntent API. These payments are off_session and use payment methods previously added by users and set up for future usage.

This process has always been relatively slow, but since we migrated a large number of our users to Stripe, it has now become significantly slower and is impacting our operations.

While reviewing your documentation, we noticed that using capture_method: 'automatic_async' can reduce latency for PaymentIntent confirmations.

However, the docs also mention that “Stripe enables its functionality by

What have you already attempted?
We didn't tried to use this param yet

What are you working on?
Improving the performance of our monthly billing job, which currently takes several hours to process due to the high volume of users to charge

cursive heronBOT
#

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

Error Message
message=Stripe doesn't currently support application fees for platforms in FR with connected accounts in MX.;

Question
Could you please clarify if this is a known restriction? If so, are there any plans to support application fees for platforms based in France with connected accounts in Mexico in the near future? Are there other countries affected by this limitation? Also, do you have any suggestions or alternatives to work around this issue?

What have you already attempted?
I have looked through the documentation and resources but couldn’t find any information about this limitation.

cursive heronBOT
#

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

Error Message
E class=TerminalSession com.stripe.stripeterminal.external.models.TerminalException: LocalMobile reader is not connected
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.collectPaymentMethodHandler(CotsAdapter.kt:406)
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.collectPaymentMethod(CotsAdapter.kt:213)
...

Question
We're seeing relatively frequent "unexpected disconnect" events when using tap to pay on some android devices,
but we're not seeing any recovery, even though the LocalMobileConnectionConfiguration has its autoReconnectOnUnexpectedDisconnect = true.

what's the best way for us to handle/prevent these disconnects if the autoReconnect flag doesn't handle it?

What have you already attempted?
Attempted existing auto reconnect flag.
full restart of "discover readers" and connect process seems to work for a while until the disconnect happens again.

Reproduction Steps
Clients were unsure of exact replication steps for the disconnect, seemingly happens after the device was in use for a while.

What are you working on?
Ticket scanning and purchase app

#

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

Question
I have a subscription-based elearning plattform. The initial payment is successful but for the next billing cycle it says "Unvollständig / Incomplete" in Stripe Dashboard.

I tried several things but cannot activate the recurring billing.

Related Event ID(s)
evt_3RvGbLKQC7s9IAcX1t7FrqCo

What have you already attempted?
Tried many things with vibe coding, but didnt find a solution

What are you working on?
Elearning plattform for academic writing.

cursive heronBOT
#

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

Code
POST /v1/payment_intents
200 OK
Inspect log detail in Workbench
Request parameters
{
"amount": "4999",
"capture_method": "manual",
"currency": "pln",
"customer": "cus_SqyIvtDg8grYlv",
"metadata": {
"session_id": "payses_01K2F40QM2TBDC66D48B04AMM2"
}
}
Response body
{
"id": "pi_3RvHJ1FH7PYR773I09AfF4Fd",
"object": "payment_intent",
"amount": 4999,
"capture_method": "manual",
"currency": "pln",
"customer": "cus_SqyIvtDg8grYlv",
"last_payment_erro

Question
In Medusa JS, the Stripe Element storefront doesn't display blik or p24. I don't know why. It should be automatic.

What have you already attempted?
https://dashboard.stripe.com/test/payments/pi_3RvHJ1FH7PYR773I09AfF4Fd

cursive heronBOT
#

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

What did you expect to happen?
I used you guys to make transactions with phantom wallet to buy crypto and i expect to only get charged once

What actually happened?
When i used you and for example i buy 1000$ i get 1000$ taken out of my account and then ANOTHER 1000$. I get charged twice and this happend multiple times

Reproduction Steps
I go i phantom click the buy button and then i buy, after that I get charged once and then twice. So o expect to buy for 1000$ but i get 2000$ taken out of my bank.

Question
Will i get my money back and when?

#

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

What did you expect to happen?
The Link logo should be hidden or be correct placed on Payment Elements.

What actually happened?
The Link logo appears bigger and misplaced.

Reproduction Steps
This is only reproducible on Safari and I'm using the following payment Element options:

```
{defaultValues: {billingDetails: {email: "", name: ""}}, fields: {billingDetails: {name: "never", address: "auto"}}, terms: {card: "never", googlePay: "never", applePay: "never"}, layout: {type: "accordion", radios: true}}
```

Question
Is it possible on my side fix this? Or is it something Stripe should fix?

What are you working on?
Just trying to make our checkout better

cursive heronBOT
#

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

Question
Hello, is it possible to create a checkout session with "mode" => "subscription" where the subscription will follow a Subscription schedule? F.e. it starts off with 10 USD in the first month then moves on to 30 USD until cancelled?

I think I could theoretically add the subscription schedule after the subscription is created, but then the hosted checkout page won't have any information regarding the price change in it

If that's not possible, what would you recommend?

Related Request ID(s)
cs_test_a1ZTUH6SN0kcZXHBMI5sAoEBmP86SRFGyqjZYKJDexR5aXhRVFKP8GIU3N sub_1RiCpOGCet66GijfcSQWxpzT

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/subscription-schedules#start-subscription-future

What are you working on?
Webshop integration for subscriptions

#

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

Code
<ExpressCheckoutElement
options={
buttonHeight: 48,
buttonTheme: {
applePay: 'black',
paypal: 'gold',
},
layout: {
maxRows: 1,
},
paymentMethodOrder: [
StripePaymentMethod.PAYPAL,
StripePaymentMethod.APPLE_PAY,
],
paymentMethods: {
applePay: 'always',
paypal: 'auto',
}
/>;

Question
Hello there!
I have an issue with ExpressCheckoutElement; I'm using it together with PaymentElement, and I'm getting skewed behaviour regarding PayPal: I don't see the ECE option for PayPal while I see the standard one provided by PaymentElement.

What have you already attempted?
The only pieces of information I've found regarding the issue are related to setupFutureUsage and billing address missing info, both here https://docs.stripe.com/elements/express-checkout-element/accept-a-payment.

Hence, I've tried removing both setupFutureUsage from StripeElementsOptions and all the required fields from the Stripe form, but I was never managed to display the PayPal ECE

cursive heronBOT
#

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

Question
We are using the Customer Billing Portal to handle subscription upgrades. We are wanting to reset the billing cycle when a customer upgrades their subscription. We can send an API call to update the billing cycle anchor, but then the customer gets invoiced for the next year prorated based on the time left on the current subscription. This results in 2 charges - 1 for the upgrade, and 1 for the next year of services. We don't see a way to let folks know about the second charge for the year of services when they upgrade using the billing portal. The upgrade screen shows just the charge for the upgrade.

Do you have any guidance on how to handle this?

Doc/Guide Links
https://docs.stripe.com/customer-management/configure-portal
https://docs.stripe.com/billing/subscriptions/billing-cycle#changing
https://docs.stripe.com/billing/subscriptions/prorations#control-proration-behavior

What are you working on?
A SAAS software product.

#

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

Question
We are splitting up the Stripe::PaymentIntent create and confirm calls. We would like the create call to raise an exception so our system can alert the customer that their card will not work for the amount they would like to charge before we even try the confirm call. Is this possible? If so, which exception will the create call raise?

Related Request ID(s)
req_z8KUSWcwMfs2NT

What have you already attempted?
According to these docs: https://docs.stripe.com/testing

It seems that the only card we can attach to a Customer object that will fail is the 4000000000000341 card. That card is only raising exceptions on the confirm call.

I'd like to test the insufficient funds card which is 4000000000009995, but that card won't attach to a Customer, so I can't try to create a PaymentIntent with it to see whether the create call will raise. If we can't test this manually in test mode, which exception should we rescue from when we create the PaymentIntent?

What are you working on?
Using PaymentIntents to charge PaymentMethods.

cursive heronBOT
#

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

Question
Hello when my user has a subscription in boleto, every time the invoice is generated the user has to fill out the form with their data, how can I make it generate the boleto directly?

Related Request ID(s)
..

What have you already attempted?
.

cursive heronBOT
#

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

Error Message
{
"event_message": "Failed to clone payment method: {\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing\",\n "message": "No such customer: 'cus_Sr3XBnjq71MXqy'",\n "param": "customer",\n "request_log_url": "https://dashboard.stripe.com/acct_1RtBZQ1m7Dm0JgJp/test/logs/req

Question
Its not recognizing my previously created connected account customer when i try to clone a platform customer payment method

What have you already attempted?
I tried everything as in the docs. Even manually i cant

Reproduction Steps
Set up a payment method for a platform customer object, create a connected account customer object with the same mail for a standard connect, and try to clone as in the docs

What are you working on?
App

cursive heronBOT
#

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

Question
in react native terminal sdk, why does cancelDiscovering() generate an error USER_ERROR.CANCELED when I explicitly called the method?

Related Request ID(s)
0

What have you already attempted?
looked through RN terminal sdk

What are you working on?
in-person event ticketing web site and app

cursive heronBOT
#

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

Question
When we receive an event, is there a way to know the source of the event? Whether it's API or Dashboard (or others?)

Related Event ID(s)
evt_1RvMTNRHtdZpYxj3NwxkE2oh

What have you already attempted?
Looks like we can see it from the workbench, but using the .net DSK, I don't see that information in the Event object.

#

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

Question
I'm trying to create a one-time invoice preview and i'm getting the upcoming subscription invoice, even when i dont set anything related to the subscription on the create preview request.

Related Request ID(s)
req_bq2drQdjRs2IGo

What have you already attempted?
I tried calling the endpoint https://api.stripe.com/v1/invoices/create_preview, setting the Header "Stripe-Version" to "2024-06-20", and without setting the version.

What are you working on?
One-time invoice preview

cursive heronBOT
#

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

Code
def build_checkout_session(invoice, payment_method_types = nil)
student = current_student
student.request_stripe_customer_id!
pm= student.default_payment_method

  params = {
    customer\: student.stripe\_customer\_id,
    line\_items\: \[
      {
        price\_data\: {
          currency\: 'usd',
          product\_data\: { name\: "Payment \#{invoice.invoice\_date}" },
          unit\_amount\: invoice.total\_due\_cents
        },

Question
I'm confused on how to use the stored default payment method as an option for this. It might be taht I should be first processing a payment intent and then using a Checkout Session if that doesn't work???

Also tried to enable them to save a default payment method for future use, but didn't have luck. It's not a subscription, but an installment so they will have future payments but can also pre-pay and the price per payment might vary.

What have you already attempted?
I tried to read the docuemnts and thought the payment_method_data.allow_redisplay might be what I wanted, but it said that was not a valid array. Probably me

What are you working on?
A method to collect payments that might vary slightly. Most will want them to be auto charged.

cursive heronBOT
#

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

What did you expect to happen?
I expected my business to be able to receive payments and my verification be straight but this is my first clothing brand drop and there asking for alot of stuff I dont have yet

What actually happened?
They banned my payments and nobody has emailed me back and I need help trying to get this back together I was supposed to drop my clothes today! at 3pm CST

Reproduction Steps
I dont understand what you guys mean by this

Question
Can you guys help me get my verification looked at and restored

What are you working on?
Im building a clothing brand of the ground and black owned as well alot of people hated and its actually starting to blowup

cursive heronBOT
#

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

Question
Does webhook data include all items / objects? For example, if I receive the customer.subscription.created event, will the event.data.object contain all of the subscription items for the subscription? Or is the data paginated, and will require me to hit the Stripe API for the full data?

Related Event ID(s)
id

What have you already attempted?
https://docs.stripe.com/webhooks doesn't mention any pagination info, however https://docs.stripe.com/api/pagination mentions how all top-level API resource support bulk fetches

#

@brave beacon 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/enable-sandbox-support#api-keys

Question
When working on a Sandbox environment and using @stripe/ui-extension-sdk/http_client package, and using the STRIPE_API_KEY that it returns. Will it return the right Sandbox API Keys or the Test one?

What have you already attempted?
Right now I'm testing it locally and it's using the Test mode instead of Sandbox ones

cursive heronBOT
#

@silk sail 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/collect-surcharges?payment-ui=direct-api

Question
Does the latest release of the .NET SDK support surcharging?

What have you already attempted?
I got the latest beta release of .NET SDK 48.5.0-beta.1 • and beta.2 Preview to test the surcharge feature, but I don't see any fields for amount_surcharge in PaymentIntent and PaymentIntentUpdateOptions. I do see it in the documentation page - https://docs.stripe.com/api/payment_intents/update?api-version=2025-07-30.preview

What are you working on?
I am working on surcharge fee for credit card payment.

cursive heronBOT
#

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

Question
Referring to Stripe.net latest version (48.4.0) it seems the Invoice object has no way to access the subscription it came from. All of the docs and research point to an Invoice.Subscription or Invoice.SubscriptionId but it doesn't exist. For context Im working on a subscription based model and consuming:
- CheckoutSessionCompleted
- CustomerSubscriptionCreated
- CustomerSubscriptionUpdated
- CustomerSubscriptionDeleted
- InvoicePaymentSucceeded
- InvoicePaymentFailed
So I'm looking to consume the Success/Failure invoice events, then look up the most recent subscription object and update mongo

Related Event ID(s)
n/a

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/webhooks#understand in multiple places in the docs it mentioned invoice.subscription aswell as the AI chat

What are you working on?
PWA: React, C# .net, MongoDb

cursive heronBOT
#

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

Question
How do i know where are the payments from stripe account that are not applied to an invoice? where do they sit?

Related Request ID(s)
na

What have you already attempted?
reviewed various reports and payout reconciliations, i cannot find the data

cursive heronBOT
#

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

Question
I have a user(carrier), which basically connects with our platform and when user start connecting with our platform and put their bank information, does stripe require them log in bank account?

some carriers don't want to log in their bank account.

What should we do? in that case.

Related Request ID(s)
req_GZSx4GS4lth3V2

What have you already attempted?
Stripe connect is implemented. Just want to confirm how to do as said above.

What are you working on?
I have two users platform, one is shipper and other is carrier. upon completing the job carrier upload documents, and we pay that carrier a certian authorized amount.

cursive heronBOT
#

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

Question
Webhook is called twice with payment_intent.succeeded, because of this logic inside of webhook runs two times.

Related Event ID(s)
payment_intent.succeeded

What have you already attempted?
logging from codeblock that is responsible for creating a product submission, is seen only once

What are you working on?
saas directory with three paid listing tiers, a webhook on payment success that creates a product submission object on sanity CMS

#

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

Question
I create stripe sessions locally with metadata fields. I log the session after creation to verify the metadata was added. But in my webhook, which im testing locally, the metadata is missing.

e.g. for events like `checkout.session.completed` and `invoice.paid`.

Upon further investigation, in the Stripe Testing dashboard, i see that the metadata is not actually persisted in the session objects.

I'm not sure if this is because I'm testing locally with Stripe CLI or something else.

Is the metadata not supposed to be persisted through to the webhooks?

Related Event ID(s)
evt_3RvSlVACJ3FgyPTg08L2Hw7U,evt_3RvSlVACJ3FgyPTg0ypksBvk

What have you already attempted?
I tried the suggestion in this reddit comment, but it didn't make a difference.

https://www.reddit.com/r/stripe/comments/1js3541/metadata_issue/mljh7b2/

cursive heronBOT
#

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

Error Message
Se produjo un error desconocido al intentar la autenticación. Vuelve a intentarlo más tarde o ponte en contacto con soporte.

Question
Se produjo un error desconocido al intentar la autenticación. Vuelve a intentarlo más tarde o ponte en contacto con soporte.

What have you already attempted?
Se produjo un error desconocido al intentar la autenticación. Vuelve a intentarlo más tarde o ponte en contacto con soporte.

Reproduction Steps
Se produjo un error desconocido al intentar la autenticación. Vuelve a intentarlo más tarde o ponte en contacto con soporte.

What are you working on?
Se produjo un error desconocido al intentar la autenticación. Vuelve a intentarlo más tarde o ponte en contacto con soporte

cursive heronBOT
#

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

Question
On our website, the Apple Pay button is not visible when using the Stripe Payment Request Button. Google Pay is working fine. We have followed the documentation, but Apple Pay still does not appear.

Related Request ID(s)
req_mPEQGbkxiChDZg

What have you already attempted?
We have integrated the Stripe Payment Request Button and confirmed that Google Pay works. We have also read the Stripe docs and verified that our domain is registered for Apple Pay in the Stripe Dashboard. Still, the Apple Pay button does not show up in Safari on macOS or iOS.

What are you working on?
An online payment checkout flow using Stripe’s Payment Request Button with support for Apple Pay and Google Pay.

#

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

Question
We have a single Stripe account.

This account is used for processing transactions for our own store.

The same account is also used to host our OAuth app for Stripe Connect.

Other merchants use this OAuth app to connect their own Stripe accounts to their own stores.

Our question is: Is it acceptable to use the same Stripe account for both our store’s transactions and hosting an OAuth Connect platform for other merchants? Will this setup cause any transaction issues?

Doc/Guide Links
https://docs.stripe.com/get-started/account/multiple-accounts

What are you working on?
Publish oauth 2.0 app

cursive heronBOT
#

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

Code
const checkoutSession = await stripeService.createCheckoutSession({
mode: 'subscription',
customer: stripeCustomer.id,
line_items: [
{
price: plan.stripe_price_id,
quantity: 1,
},
],
success_url: successUrl || `${process.env.FRONTEND_URL}/run-model/flux-dev`,
cancel_url: cancelUrl || `${process.env.FRONTEND_URL}/settings`,

Question
I am trying to switch from payment links to subscriptions. live now but for some reason stripe doesn't send transaction emails on subscription purchase now. it used to work with the current setup fine with previous payment links.

What have you already attempted?
tried exploring the dashboard, but not found anything useful. wondering if there needs to be something as part of the checkout session creation

cursive heronBOT
#

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

Code
override fun fetchConnectionToken(callback: ConnectionTokenCallback) {
try {
createConnectionToken {
if (it != null) {
callback.onSuccess(it)
} else {
callback.onFailure(ConnectionTokenException("Token is null"))
}
}
} catch (e: ConnectionTokenException) {
callback.onFailure(e)
}
}

Question
I am having a problem connecting a WiseposE reader while offline (my offline mode is enabled), and I also do the first payment online.
Can you please look into it?

What have you already attempted?
i have read the doc but Connect to a reader while offline
on this secrion thre is no sample code to implement.

What are you working on?
i am working a pos system for uk market.

cursive heronBOT
#

👋 @austere spoke reached out from Stripe Support.

Summary:
The SDK that we are using only provides the L1 interface, that can only get the Hardware layer with these information:

  • ATR bytes (hardware info): "3B6500002063CB6A00"
  • "IGTPC" app response (non-payment): Generic proprietary data
  • Command status: "9000" (success/failure)
#

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

Question
My application synchronizes Stripe invoices and payments into an accounting system. To do that, I need to know which invoice belongs to which transaction.
I archive that by calling balance transactions and expanding source.invoice. Typically, the balance transaction has a charge as a source which then has an invoiceID.
This works for hundreds of accounts.
How I have one customer account that has transactions (subscription creation), where the invoice-field of the charge is null. This breaks my application. I can see that the invoice exists, but the link via charge is null. How can that be?

Related Request ID(s)
req_m3A3y7J927BMkk

What have you already attempted?
Account: acct_1OUkEVCX9xTSGdbg
Charge: ch_3RdDI0CX9xTSGdbg1mtD9Obf
Transaction: txn_3RdDI0CX9xTSGdbg1oRHUzhV
Invoice: in_1RdDJUCX9xTSGdbg5TOeef0u

What are you working on?
An application that synchronizes transactions and invoices into accounting systems

cursive heronBOT
#

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

Question
i am using yith stripe connect plugin in my wordpress website .. now i am getting an error while deleting payment method ...
Fatal error: Uncaught Stripe\Exception\UnexpectedValueException: Invalid response body from API: 400 Bad Request

(HTTP response code was 400, json_last_error() was 4) in /chroot/home/ad7db11e/c5f3fcd513.nxcli.io/html/wp-content/plugins/yith-stripe-connect-for-woocommerce-premium/vendor/stripe/stripe-php/lib/ApiRequestor.php:641
Stack trace:

can you check what is issue???

Related Request ID(s)
no id

What have you already attempted?
i asked to yith support and they said they can't duplicate this error ...

cursive heronBOT
#

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

Question
Why is my payout on hold?
Why accept my payment to hold my money?

Doc/Guide Links
"reporting_category","currency","count","gross","fee","net"
"charge","usd","1","8000.00","-232.30","7767.70"
"fee","usd","1","-56.00","0.00","-56.00"
"payout_minimum_balance_hold","usd","2","-1000.00","0.00","-1000.00"
"payout_minimum_balance_release","usd","2","1000.00","0.00","1000.00"
"total","usd","6","7944.00","-232.30","7711.70"

What are you working on?
Payouts

cursive heronBOT
#

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

Question
I was building a custom email workflow for `invoice.payment_failed` webhook, and turned off the Stripe emails for subscriptions on the billing page and have my custom code running. However, I noticed there was a type of email that I was ignoring for new subscriptions. I see the event in my webhook log. I want to turn back on the Stripe emails and have it send an email to this customer while I am working on this fix. Is it possible?

Related Request ID(s)
evt_1RvYqtEXjRBPmDmBu8B2IQV9

What have you already attempted?
I turned back on the Stripe emails for failed payments and hit the "resend event" button, but when I look at the customer record in the backend, I don't see anything in the "emails sent in the last 30 days" section. Can you help me confirm whether there is a way to get a "payment failed" email sent to this customer?

What are you working on?
Custom email workflow for purchases made through our store

#

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

Question
A customer have an invoice that failed due to card issues. The customer has now updated the card to a new one and only has the new card on his customer profile.

But I see the payment intent still has the old card, what will happen when it retries tomorrow?

Related Request ID(s)
pi_3RoKIcL09RI1Bo1N10S9GEq6

What have you already attempted?
Check that new card was added

#

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

Question
How do I add or remove a discount to a subscription? The documentation says I must provide discounts.coupon, discounts.discount or discounts.promotion_code, but it doesn't explain how to remove a coupon from a subscription.

I want to be able to change a fixed discount percentage for a subscription. It should not apply discounts to the customer.

Related Request ID(s)
n/a

What have you already attempted?
Nothing yet because I don't really know what the correct approach is here.

What are you working on?
Adding/removing/modifying a discount (fixed percentage) to a subscription via the API.

#

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

What did you expect to happen?
We offer an embeddable widget version of our ticket sales platform. This loads via a script and opens an iframe. Apple Pay is not working in Safari on any device. This was working at some point (Safari 17+ with allow=payment) but it is not now unless the origins of the frame and the host match. We need it to work cross-origin.

What actually happened?
The Apple Pay button does not load in cross domain frames

Reproduction Steps
https://www.loom.com/share/baf6038105c342bb9a75da565e9bb099

https://jehrenheim.github.io/stripe-apple-pay.html

You will see that both buttons load our widget but the only one where the Apple Pay button works is when we have registered the host's domain.

Question
This worked at one point and, as stated here, should work as long as we have allow=payment specified, which we do.

https://docs.stripe.com/apple-pay?platform=web#web-integration-considerations

Can you advise what we need to do to remedy this?

What are you working on?
Online Ticketing Platform

cursive heronBOT
#

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

Question
Hello Stripe Team,

We’d like to investigate a potentially fraudulent transaction on our platform and seek guidance on best practices.

Issue: A user purchased a physical item, but the cardholder name doesn’t match the platform account name. We suspect the card was stolen.

Questions:

  1. Was 3D Secure triggered for this transaction? If not, why? If yes, how was it bypassed/verified?

  2. Can we retrieve the user’s country or nationality via Stripe Identity (or other Stripe tools) to cross-check details?

  3. What proactive measures do you recommend to block stolen card payments (e.g., rules, thresholds, or tools like Radar)?

Doc/Guide Links
Payment Intent: pi_3RvecgJCb8GR4OWr1GN06Mvx

What are you working on?
byrotation.com

#

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

Question
Please how exactly can I tell that a connect account cannot process transfer. I tried checking for active value for capabilities.transfers but does not seem adequate as some connect account does not have capabilities.transfers in their object at all but still processes transfer. Kindly assist how I can deduce accurately that a connect account can accept or process transfers?

Related Request ID(s)
None

What have you already attempted?
Retrieving a connect account and checking capabilities.transfers

cursive heronBOT
#

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

Code
def get_promo_code(code, product_id)
with_retries do
@stripe_product = StripeProduct.find_by!(stripe_product_ref: product_id)

  promo\_codes = Stripe\:\:PromotionCode.list\(
    active\: true \# Only fetch active codes
  \).data
  promo\_code = promo\_codes.find { \|pc\| pc.code.downcase == code.downcase }

  return nil unless promo\_code

  coupon = Stripe\:\:Coupon.retrieve\(promo\_code.coupon.id\)

  return promo\_code unless coupon.applies\_to && coupo

Question
Unable to identify the restriction applied to the coupon.

After finding the coupon, when I did coupon.applies_to, it returns an error.

NoMethodError: undefined method `applies_to' for #<Stripe::Coupon:0x20e7c id=id> JSON: {

What have you already attempted?
I have tried adding an { expand: ['applies_to'] }

#

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

Question
Hello, a few days ago invoices started to be canceled as soon as the due date passed, but in Stripe it was never like this, the customer could always pay the late invoice, do you know what could have happened?

Related Request ID(s)
.

What have you already attempted?
.

cursive heronBOT
#

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

What did you expect to happen?
I can't seem to correctly calculate the tax for my invoices manually.

What actually happened?
I always get 1 cent less than Stripe for Tax.

Reproduction Steps
See sub_1RiOVFL7ilRdQXxEOSybAFRj

Notice the tax amount is 25% on 153.85, which comes out to 38.47, but the result of that calculation is 38.4625 - which should round to 38.46.

It read https://support.stripe.com/questions/rounding-rules-for-stripe-fees?locale=en-GB and I tried doing the math one line item (and discount) at a time, and I still get 38.46.

Question
What rounding mode am I expected to use here? Only AwayFromZero (https://www.php.net/manual/en/enum.roundingmode.php) gives the same result as Stripe, but the math is confusing to me.

What are you working on?
Creating a "this is your price" before having access to a Stripe subscription

cursive heronBOT
#

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

Question
Suddenly unable to verify Stripe header in webhooks. Nothing changed on our end as far as I can tell.

Related Event ID(s)
we_1EBp8SKvt64dqObaEzGcx3HG

What have you already attempted?
Looked through the code and also the env variables to confirm everything is in order.

cursive heronBOT
#

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

What did you expect to happen?
Apple Pay not working in cross-origin iframe

What actually happened?
Button won't load unless both domains are verified

Reproduction Steps
This thread was closed prematurely. More information is there #dev-help message

Question
Specifically I need to understand when this changed. In the previous thread they mentioned April 2024. Is this in a changelog somewhere?

What are you working on?
Online Ticketing Platform

cursive heronBOT
#

@steady tinsel 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'm developing an app in flutter frontend + nodejs backend for my client. When I generate the user onboarding link from my nodejs backend and send to my flutter frontend, it opens up the onboarding screen and shows the UI for entering phone number. When I click on the button: Use test phone number it says:Something went wrong. Please try again later, or contact suppo

What have you already attempted?
I've tried pasting the same onboarding link on my chrome browser of laptop and it works fine there.

Reproduction Steps

  1. Client request onboarding link
  2. Backend creates the express account for stripe and generates the onboarding link and send it.
  3. Client open the link in flutter app and clicks on use test phone number.
  4. The error appears

I've used flutter webview and external url launcher both but the same error appears.

What are you working on?
An app for local works

cursive heronBOT
#

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

Question
Why are these invoices being canceled on the due date? pi_3RvMomQccORcTdon3V6ChHLE, pi_3Ruzl7QccORcTdon5KpEEZtE,pi_3RtDd0QccORcTdon0TecBub6

Before in my application the client paid the overdue invoice without problems, now it's not allowing it anymore, when I open it it's canceled

Related Request ID(s)
.

What have you already attempted?
.

cursive heronBOT
#

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

Question
Error in subscription modify API. Customer first had insufficient fund error 402, but after that customer fixed the issue and the when I try it is returning 500 error from stripe

402 error : req_X68aifzR8BCDtX
500 errors: req_kYY0iXCROcbSly, req_RINzZS5h15VLAF, req_VDvaMqnHPxV7ZW, req_5mqrh50Aj2EysV, req_SKIJjhVBmIBx4B

Related Request ID(s)
req_kYY0iXCROcbSly

What have you already attempted?
retrying with diff idempotency key

What are you working on?
subscription modify. This is a production bug, no recent change in code from our side

cursive heronBOT
#

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

Question
For the on boarding steps via stripe connect, can we change layout or design or can change anything of it?

Related Request ID(s)
req_tfyaOrijwcXG9m

What have you already attempted?
I have already implemented the stripe connect.

What are you working on?
Just need to understand about if we can update the screens while onboarding.

#

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

Question
Is there an example react native/expo app that uses both the Stripe RN SDK -AND- the Stripe RN Terminal SDK that I can examine to handle manual payments as well in-person.

Related Request ID(s)
0

What have you already attempted?
nothing yet other than searching Google

What are you working on?
in-person event ticketing system and app

cursive heronBOT
#

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

What did you expect to happen?
PIN number is always 0000 in Stripe JS Element even if I do a card update API Endpoint with a new encrypted PIN.

What actually happened?
The issuingCardPinDisplay element consistently shows "0000" regardless of the actual PIN value set on the physical card. We've implemented PIN functionality with encrypted PIN creation and updates via the Stripe API, but the display element never reflects the real PIN.

Reproduction Steps
Reproduction Steps:

  1. Create a physical card via Stripe API with encrypted PIN (e.g., "1234")
  2. Generate ephemeral key using stripe.createEphemeralKeyNonce()
  3. Create issuingCardPinDisplay element with the ephemeral key
  4. Mount element to DOM - PIN displays as "0000"
  5. Update card PIN via API to new value (e.g., "5678")
  6. Regenerate ephemeral key

Question
Is the PIN display showing "0000" expected behavior for physical cards in TEST mode?

What are you working on?
Stonks App with Connected Account, Treasury, Issuing debit card.

cursive heronBOT
#

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

Question
Is it possible to have a coupon to be used as a 30 day free trial, even if the billing interval is monthly or annually?
From what I gathered so far, coupon can only be used to let the 1st payment free. But that means if the billing interval is annual, the first year will be free and not just 30 days. We only want a 30 days subscription for free.

Related Request ID(s)
I don't have access to our Dashboard

What have you already attempted?
I haven't done anything yet. I am still researching.

What are you working on?
We have this paid feature where the billing can be monthly and annually. We are trying to have a coupon that can work as a free trial even in annual interval.

cursive heronBOT
#

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

Question
I am offering a high priced item and am using Affirm, etc.. to offer financing however I would like to display on the sales page something like "as low as $200/mo" but I don't know what the financing services will offer them.

I'd also like to offer my own financing wherein I grant the product but auto-charge them until they've completed the full payment

Doc/Guide Links
I couldn't find any documentation on showing estimates for the financing services

What are you working on?
Sales page

cursive heronBOT
#

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

Question
We are a service provider and we take a % off the top of what we charge the clients (once off) as part of the service fee. This means we have a connected account setup and we set the application_fee_amount field to a pre-calculated value based on the % off the original charge.

The issue that we have is that the stripe discounts are implemented after a checkout session is created. This means that it is possible that the amount (% wise) that we charge as fee is higher than the amount after discount. We want this to be a % after discount. How can we achieve that while considering discounts?

Doc/Guide Links
https://docs.stripe.com/connect/destination-charges

What are you working on?
A practice where practitioners can book with us and we charge a small service fee on top

cursive heronBOT
#

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

Code
const payCard = async () => {
let param: any = {
merchantDisplayName: merchantName,
paymentIntentClientSecret,
// Set `allowsDelayedPaymentMethods` to true if your business can handle payment
// methods that complete payment after a delay, like SEPA Debit and Sofort.
allowsDelayedPaymentMethods: true,
// defaultBillingDetails: {
// name: 'Jane Doe',
// },
/

Question
The Stripe payment component on Android devices in the China region fails to launch, but it is currently working normally in the United States. Previously, it worked fine in both regions, but it has recently stopped working in China. On iPhones, it still works fine in both regions.

What have you already attempted?
Connect to a VPN in the United States

cursive heronBOT
#

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

Question
Stripe terminal does not connect the reader in android 11.
Same setup is working in Android 13

Related Request ID(s)
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=react-native&reader-type=usb

What have you already attempted?
- Tested in android 13. It worked

What are you working on?
Integrating payments in stripe terminal

cursive heronBOT
#

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

Question
In our system, a customer provides a payment method on booking (via a setup intent or payment intent depending on if a deposit is required). Later, the customer can be asked to provide a payment method to cover additional scenarios related to the booking (no upfront payment but may be charged to cover damages). The customer should have the option to re-use the existing payment method or provide a new one. For this, I generate a customer session and a new setup intent and pass this to the stripe elements component. Is this best practice? My concern is that the payment method is already saved in our system so there is no point creating a setup intent and saving it again.

Doc/Guide Links
https://docs.stripe.com/payments/existing-customers?platform=web&ui=elements#display-additional-saved-payment-methods

What are you working on?
A check in system that is presented to customers after they have made a booking. As part of the check in process the customer is asked to provide a payment method to be used in the event of additional costs such as damages.

cursive heronBOT
#

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

Error Message
카드가 거부되었습니다.
(Your card was declined)

Question
Why keeps my card getting declined?
(Until then, payments were clearly being made properly.)
(I have already contacted my card company in Korea and was told that there is no problem with my card.)

What have you already attempted?
I double-checked my card information and contacted the card company.

Reproduction Steps
Even though I entered my card information correctly in the Stripe payment window, the payment did not go through, so I tried again after some time had passed. However, the payment still did not go through, so I contacted my card company in Korea and was told that there was no problem with my card and that I should contact Stripe.

cursive heronBOT
#

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

Question
Hello, I have a question about sending invoices.
Is it possible to send the invoice email via the endpoint described here https://docs.stripe.com/api/invoices/send for invoices that were created with colletion_method = charge_automatically? Or is there another endpoint?

Related Request ID(s)
0

What have you already attempted?
I tried to use the endpoint described here https://docs.stripe.com/api/invoices/send. Unfortunately, I always get the error message that the collection_method does not match.

What are you working on?
Subscription Service

cursive heronBOT
#

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

Question
How do I make a set price subscription product that a user can buy multiple of, but for different tenants on their account? I have a user, that adds a server to their discord bot dashboard, this server has a free plan. i want to enable them buying either ai or pro plan for the server. But this would be weird as it would heavily restrict them from getting it for another server. How do I set this up so that it correctly purchases the subscription for each server they wish to update to a paid tier plan?

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

What are you working on?
Discord bot and dashboard

cursive heronBOT
#

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

Question
Hello,

I have a few questions regarding subscriptions.

1 - Is there a simpler way to get the next_action required after a subscription creation than to get the latest_invoice, all of its payments, and looping of the paymentIntents to find the one that failed ?
There was latest_invoice.payment_intent but it has been removed.

2 - How can I delay the first invoice of a subscription by 1 month ? I want the user to subscribe, without being billed the first month (trial). The difference with the Stripe trial is that in my case, the month is part of the paid year.

Thanks a lot for your help.

Related Request ID(s)
None

What have you already attempted?
2 - I tried looking at billing_cycle_anchor, backdate_start_date, _trial_period_days.

What are you working on?
Adding subscriptions to in house product.

cursive heronBOT
#

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

What did you expect to happen?
Im in test mode.

I’m not receiving an email when setting a subscriptions collection mode to send_invoice

What actually happened?
No email is sent when the invoice is finalized.

Reproduction Steps
Create subscription with collection-mode set as send_invoice

Question
How can the automated stripe email be sent?

#

@candid snow 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
What causes this error? This started happening recently when we attempt to load Stripe's Express Connect account setup page.

What have you already attempted?
I've tried finding the error in documentation, but haven't been able to find any reference to it. This page used to work, and it's unclear what could have changed to cause this error to start happening.

cursive heronBOT
#

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

Error Message
Ive payed for a subsciption and they say they cant cancel it i need help to cancel it

Question
I payed 1 dollar a month for a subscription on discord i asked them how to take away the subscription they said they couldnt and i needed to contact stripe

What have you already attempted?
Ive tried to ask them to cancel it and tried to find how i cancel it myself

cursive heronBOT
#

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

Code
const {paymentMethod, error} = await confirmPlatformPayPayment(
clientSecret,
{
googlePay: {
testEnv: true,
merchantName: ${donationOptions?.fullData?.name},
merchantCountryCode: 'MY', // Malaysia
currencyCode: 'MYR',
billingAddressConfig: {
format: PlatformPay.BillingAddressFormat.Min,
isPhoneNumberRequired: false,
isRequired: false,

Question
We are getting PaymentIntent but while calling confirmPlatformPayPayment, its resulting undefined

What have you already attempted?
I verified parameters are going correctly and also tried using payment method, none are getting successful.

What are you working on?
We are creating Google Pay integration using React native application in Malaysia Region

cursive heronBOT
#

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

Code
<PaymentElement
onChange={ onChange }
options={ {
paymentMethodOrder: [ PaymentMethodType.UsBankAccount, PaymentMethodType.Card ],
layout: {
type: 'tabs',
defaultCollapsed: true,
},
fields: {
billingDetails: {
email: 'never',
name: 'never',
},
},
terms: {
card: 'never',
usBankAccount: 'never',
applePay: 'never',
googlePay: 'never',
},
...( multiplePaymentsAtOnce

Question
default payment method seems to be being selected without gesture from the user, as logged in the onchange handler

What have you already attempted?
https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-business

https://docs.stripe.com/payments/payment-element

What are you working on?
attempting to honor a customer's external choice on payment method

#

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

What did you expect to happen?
We tried to migrate Sources to PaymentMethods using the Stripe migration wizard. The wizard showed success but in the logs, the wizard threw exceptions all over. The issue is, that the migration expects ISO country codes in the owner.address.country info of sources to migrate. However, the SEPA sources data contains full country names which are provided by the bank.

What actually happened?
Migration did not work.

Reproduction Steps
Trigger the migration wizard with sources which have full caountry names in owner.address.country instead of ISO codes.

Question
What can we do to migrate sources to payment methods. Doing it via CLI is not an option as we cannot acces the sources IBAN. Changing the owner.address.country of existing sources wont work either as this is immutable.

What are you working on?
Migrating SEPA sources to payment methods

cursive heronBOT
#

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

Error Message
Payouts are paused
Contact support for more information.

Question
Apart from the error message there is no further information as to what I need to do other than contact support. I just want to know what needs to be done.

What have you already attempted?
Tried contacting support but have not had any response.

cursive heronBOT
#

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

Code
curl_setopt($ch, CURLOPT_URL, "https://api.stripe.com/v1/charges/$payment_id");
curl_setopt($ch, CURLOPT_USERPWD, "".getStripeSecretKey()."");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Stripe-Version: ' . CONFIG::LEGACY_STRIPE_API_VERSION
));
curl_setopt($ch, CURLOPT_POST, true);

Question
We are upgrading our API versino. We want to do this incrementally, so plan on using the API request header where we pass in Stripe-Version. We have many API requests in our code that are creating PIs, charging them, pulling them down after the fact to review charge info, etc.

Are there any "gotchas" to look out for - Like weird breaking things from creating a PI with a newer version, but charging/confirming or just getting the final charge info with an older version?

What have you already attempted?
so far haven't done much, just checking if there's anything we should look out. Specifically updating from '2020-08-27'; to '2025-03-31.basil' - we see stuff like the "charge is not auto expanded" anymore from PIs - but if we retrieve the charge with https://api.stripe.com/v1/charges/$payment_id using the old version, but the actual PI was created on basil - is that something to worry about? Not sure how compatible these are

What are you working on?
A platform where people can buy and sell tickets

#

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

What did you expect to happen?
A subscription status was changed to canceled because the customer's payment failed too many times. I did not expect a prorated invoice to be created and finalized in this case.

What actually happened?
A prorated invoice for "unused time" between the canceled day and the theoretical next invoice date was created. A credit was created on the customer's balance as well.

Reproduction Steps

  1. Set behavior for too many failed payment retries to cancel the subscription.
    2.Allow a subscription to be automatically canceled.

Question
Is there a way to prevent the prorated invoice from being automatically created in this case? I will end up refunding customers who are not entitled to a refund as things currently are

What are you working on?
I am building a system to automatically refund customers when they cancel a subscription or reduce quantity.

cursive heronBOT
#

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

Question
For india credit card e-mandates, when i receive a payment.failed webhook, i need to deactivate the mandate. I need to query the charge in stripe to get that mandate id, but the payment.failed webhook doesnt have a charge id in it.

Related Event ID(s)
evt_3Rw5lUDvB1CWiwib1pctruDG, webhooks api_version: "2018-05-21".

What have you already attempted?
I used the middle 2 test card numbers from https://docs.stripe.com/india-recurring-payments?integration=subscriptions#testing to try and get payment.failed webhooks. Indeed i did receive payment.failed, but there is no charge in the charges object.

What are you working on?
working on stripe india e-mandate payment.failed webhooks, receiving the webhook and querying charges in the charges list

cursive heronBOT
#

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

Question
I am on the latest Acacia version.
The Payment Intent has both a source and a payment_method properties.

For old users that have payment methods, like card_1234, its seems that the PaymentIntent#payment_method is not set upon confirmation, but PaymentIntent#source is set to the payment method.

Is this expected?

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/object?api-version=2025-02-24.acacia

What are you working on?
Integrating invoices

#

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

Question
I am trying to prefill a payment form field but I don't see it available on the Payment Links editor page. I click on the URL Parameters, but cannot find my form field in this list.

Related Event ID(s)
https://dashboard.stripe.com/test/payment-links/plink_1Rw63C2Oq2EQlhn5KNCGcHXi

What have you already attempted?
I'm working in the dashboard. Created a payment link. Created the form with the field, let's just call it SONG and I'd like to pre-fill that form element with a song name that I pull from the online spreadsheet where the payment link resides.

What are you working on?
I'm working on a musician's tip/request link/page.

#

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

Code
const initializePaymentSheet = async () => {
const total = 'some number'
const { paymentIntent, ephemeralKey, customer, publishableKey } = await fetchPaymentSheetParams(total);

// use mock payment data
const { error } = await initPaymentSheet\({
  merchantDisplayName\: 'BarHop Gainesville',

  customerId\: customer,
  customerEphemeralKeySecret\: ephemeralKey

Supabase function:

import { serve } from "https://deno.land/std@0.224.0/http/server.ts"

Question
I am wondering why stripe does not work in test flight but does in my development build in expo go. I switched to live and put my live keys in my app.json, env, and supabase secret keys, but nothing has changed. I can't get the paymentSheet to show in test flight and bc it's harder to debug in test flight, im not sure why.

What have you already attempted?
Switch all keys over from sandbox to live, connect phone to xcode to try to get debug logs, but found nothing, hard code publishable key in app.json, then take it out and republish, change keys in stripe provider.

What are you working on?
Small app that allows users to buy tickets for events at various bars.

#

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

Error Message
“An unknown error occurred.” appears when using Klarna payment method with Payment Elements in test mode.

Question
I need to know what the error is, I am passing the client country, email and name, and that was working until now in test mode. Sample payment https://dashboard.stripe.com/test/payments/pi_3Rw61sJZDKZ6l3VX06Y5PM8w.

What have you already attempted?
I tried to proceed as usual, also, I tried to work with on behalf of setting, but I am getting stuck the same way, I thought this was because I was missing something when trying to use on behalf of, but when I try to use the Klarna payment method the way I was using it until now, it also fails with "An unknown error occurred".

Reproduction Steps
Create a payment element form to add a new payment method, then proceed to add the payment method (that works fine), then when trying to create a payment intent then I get "An unknown error occurred."

What are you working on?
Integrate Klarna payment method

cursive heronBOT
#

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

Code
Error confirming payment intent: <SCPConfirmPaymentIntentError: 0x30148d380; code = 9020; message = The PaymentMethod provided (card_present) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card, link. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "card_present".; requestId = req_huGqADIDTgd3Gj; requestError = 0x300199290; stripeApiError = The PaymentMethod provided (card_present) i

Question
I'm working on updating my API to a newer version, (from 2020 to the newest basil version) but Im encountering issues with this https://docs.stripe.com/changelog/2023-08-16/automatic-payment-methods

Basically we have a single action in our code across everything to "create payment intent" but some of the payment intents need to be used for Stripe terminals and some for CardElement and PaymentElement but getting errors on the terminal from the payment intent

What have you already attempted?
Trying to figure out if we can

'automatic_payment_methods' => [
'enabled' => false
],

#

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

What did you expect to happen?
Stripe API PaymentIntent for customers to be charged only one time

What actually happened?
getting repeated charges to customers minutes or hours later, all with different Idempotency, which indicates re-submission by customer... but all claim to only have submitted once...... this has happened repeatedly, but not for all....

Reproduction Steps
initialize payment intent, await result.paymentIntent.payment_method, and if received, move customer to success page.... but have had numerous customer complaints that multiple double, triple, quadruple charges occurring.... sometimes 8-9-10 hrs apart.....

Question
How would this be possible if customers are not submitting the given payment form more than once? IT just doesnt make sense that sometimes 6,7,8 hours later the same amount is re-submitted

What are you working on?
"book now" interface for scuba diving company in south Florida...

cursive heronBOT
#

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

Question
Why do SetupIntents provide so much detail surrounding 3DS results but PaymentIntents do not?

Related Request ID(s)
NA

What have you already attempted?
Looked a documentation and invoked 3DS in code

What are you working on?
Implementing 3DS through PaymentIntents

cursive heronBOT
cursive heronBOT
#

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

Question
I am trying to build a multi-tenant SaSS and was exploring options for payment. My multi-tenancy is on a commission sharing basis ?

A customer pays 10$ to a tenant (in my case a restaurant), I take 0.10 per transaction and the tenant in my application receives the remaining.

What are my best options ? Is Stripe Connect my best option or do we have something else ?

I want to split the revenue between the platform and the tenant if that makes more sense.

Doc/Guide Links
Stripe Connect documentation

What are you working on?
Multi-tenant SaSS platform

cursive heronBOT
#

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

Question
What are the exact parameter names and encoding requirements for Stripe app deep links? I am navigating from my website to the stripe mobile app. I can open the mobile app with stripe://anything but I need it to redirect to a payment intent preloaded from my website. But whenever I try to change the url it always opens the stripe app from the dashboard.

Doc/Guide Links
https://docs.stripe.com/mobile/digital-goods/payment-links

What are you working on?
Allowing connected accounts to process tap to pay in person payments from a website to stripe mobile ios app navigation with no ios/android app for said website

#

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

Question
How much can a Stripe account go negative? I am reading https://docs.stripe.com/connect/account-balances, but it's not clear to me how I should think about how negative a Stripe account can go. This is critical for me because I need to plan for how how much of a buffer to keep

Related Request ID(s)
tr_3Rvr33H9HQjLBInW1yDARRw8

What have you already attempted?
stripe.Balance.retrieve(stripe_account="acct_1PnqMEQa9wyO0VT4")
message='Request to Stripe api' method=get path=https://api.stripe.com/v1/balance
message='Stripe API response' path=https://api.stripe.com/v1/balance response_code=200
Out[5]:
<Balance balance at 0x10f4dcf50> JSON: {
"available": [
{
"amount": -36080,
"currency": "usd",
"source_types": {
"card": -36080
}
}
],
"instant_available": [
{
"amount": 0,
"currency": "usd",
"source_types": {
"card": 0
}
}
],
"livemode": true,
"object": "balance",

cursive heronBOT
#

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

Question
How can a Custom Connect Account be logged into via a popup e.g. squarespace integration

Related Event ID(s)
none

What have you already attempted?
There is nothing to attempt if they can not log in

What are you working on?
POS platform

cursive heronBOT
#

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

Question
why this error is coming

Please review the responsibilities of collecting requirements

Related Request ID(s)
req_qZvo6dNInMUdmt

What have you already attempted?
I got error, I need to find the reason and still to fix it.

What are you working on?
to let user connect with my system.

cursive heronBOT
#

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

Question
We use Stripe connect for our marketplace & Stripe coupon codes too. We have an issue in the way the fee that gets charge to our connected account is being calculated when a client is using a coupon code. . We charge our connected account a 20% commission however this amount needs to be calculated on the amount paid after the discount not before otherwise we are overcharging them.

Doc/Guide Links
https://support.stripe.com/topics/connect

What are you working on?
Marketplace

cursive heronBOT
#

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

Error Message
'merchantIdentifier' is required, but none was found. Ensure you are passing this to initStripe your StripeProvider

Question
I'm not sure why my merchantIdentifier is not found, but I can provide code snippets and functions for reference

What have you already attempted?
I submitted a couple different builds to test flight, and then completed the "Go Live" tasks in Stripe, but was to no prevail.

What are you working on?
I am building a ticketing app

cursive heronBOT
#

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

Question
Is it possible to change the effective apiVersion of the stripe account ONLY for the sandbox?

Related Request ID(s)
https://dashboard.stripe.com/test/developers

What have you already attempted?
I opened this page https://dashboard.stripe.com/test/developers and on the very bottom there is an "Upgrade available…" button but the modal coming up after clicking it does NOT mention if it changes the version on the whole account or only in the sandbox

What are you working on?
-

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 re-open at 13:00 UTC

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
I've recently moved us from oauth to express connect, when connection accounts through the api. Creating standard accounts the new way is behaving differently to the old oauth way. (acct_1GIFhDD2WewLSOc4 is an old account, acct_1Rw3WQIPtSQoa6CP is a new account). Transfers aren't working either. If I compare the account information, there are different fields, though both are standard accounts. The only extra information I can see in oauth requests, that might have an impact, is our client id. I don't know if that's what's missing or how to include it in the new api calls.

Related Request ID(s)
NA

What have you already attempted?
Just investigating differences.

What are you working on?
transfers between connected accounts.

cursive heronBOT
#

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

Question
I'm creating subscription via API, with coupon included. Can you please help me understand why that coupon wasn't applied to subscription after creation?

Related Request ID(s)
req_PxUlIHzU66z7u4

What have you already attempted?
n/a

cursive heronBOT
#

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

Question
We use customer.subscription.updated hook to double check and do some stuff in our end whenever a sub updated has a previous price inside the previous_attributes property.

We do know that previous attributes changes depending on what was modified in the subscription, and we already get only the cases we really need to take care of.

That said, as we need the price, when it exists on the previous attribute, where it would be the good place to grab it?

Related Event ID(s)
evt_1RwOSvRHtdZpYxj3E9exvIQd

What have you already attempted?
As of now we are using `previousAttributes.plan` as our price source, cause the old `Plan` object is auto accepted as a `Price`. But will that property always be supported or is it planned to disappear in a near future?

We also know that we can grab the price through `previousAttributes.items.data[0].price`.

Which one would be the best to be used? Or is there another case that I didn't see yet that would be ideal for us?

What are you working on?
SaaS with subscriptions

cursive heronBOT
#

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

Question
Hello good afternoon, I have a verified account, and I am finishing my project and I am already carrying out tests with you, I would like to put PIX as a payment method, but it does not appear in my dash, I am from Brazil and according to the documentation it should be available for my company, could someone help me?

Related Event ID(s)
invalid_request_error - payment_method_types

What have you already attempted?
I'm running payment tests to validate a web app, Android, for recurring monthly subscriptions or not, depending on what the user prefers, and I would like to include the credit card (I've already tested it and it's ok) and Pix methods, but Pix is not available as the payment method as stated in the documentation and my account location is Brazil. I'm here under the guidance of your AI.

What are you working on?
I'm working on a computer training app for companies and individuals in my city. With the app, I'll be able to teach remotely without needing a physical location.

cursive heronBOT
#

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

Question
When it comes to Rate Limits of the API, the documentation says `Calls to individual resources have stricter limits`. Are calls to Retrieve and Create wrapped into the same Limit?

Are there any Resources that aren't included in the Global Limit?

Thanks in advanced.

Related Request ID(s)
N/A

What have you already attempted?
Building out telemetry on our Stripe SDK utilization to warn if we're approaching a possible rate limit.

#

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

Question
Running into an issue creating an express connect account for a foreign entity. Is there a configuration that is limited due to being a foreign entity?

I'm running into the following with the various combinations I've tried

```
When `stripe_dashboard[type]=express`, your platform must collect fees and be liable for negative balances or refunds and chargebacks.
```

Related Request ID(s)
https://dashboard.stripe.com/logs/req_HSU67Frx5xHMwo?

What have you already attempted?
Hi there, I'm looking at creating a foreign account and historically have done so with:

```
curl --location 'https://api.stripe.com/v1/accounts'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: <key>'
--data-urlencode 'country=AE'
--data-urlencode 'controller%5Bstripe_dashboard%5D%5Btype%5D=express'
--data-urlencode 'email=<email>'
--data-urlencode 'business_type=company'
--data-urlencode 'capabilities%5Bcard_payments%5D%5Brequested%5D=true'
--data-urlencode 'capabilities%5Btransfers%5D%5Brequested%5D=true'
```

#

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

Question
I’m using Stripe Express onboarding to connect users to my platform:

const account = await stripe.accounts.create({
type: 'express',
email: userEmail,
business_type: 'individual',
capabilities: { card_payments: { requested: true }, transfers: { requested: true } },
metadata: { supabaseUserId: userId, role: 'affiliate', affiliateCommissionPercentage: '10%', transferFormula: 'Affiliate commission percentage applied to all successful recruiter payments' }
});

Related Request ID(s)
1

What have you already attempted?
After creating a connected account (config above), I use its account ID as destination in another user’s subscription:

const subParams = { mode: 'subscription', line_items: [...], metadata: {...} };
const affiliate = await fetchAffiliatePayoutByUserId(referred_by_affiliate_id);
if (affiliate?.destination) subParams.subscription_data = { transfer_data: { destination: affiliate.destination }, application_fee_percent: affiliate.feePercent };

What are you working on?
After creating a connected account (config above), I use its account ID as destination in another user’s subscription. However, instead of receiving only the intended percentage (application_fee_perce

#

@steady tinsel 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'm developing an app in flutter frontend + nodejs backend for my client. When I generate the user onboarding link from my nodejs backend and send to my flutter frontend, it opens up the onboarding screen and shows the UI for entering phone number. When I click on the button: Use test phone number it says:Something went wrong. Please try again later, or contact suppo

What have you already attempted?
Yes I've tried entering data manually but same error shows up.

Reproduction Steps
Client request onboarding link
Backend creates the express account for stripe and generates the onboarding link and send it.
Client open the link in flutter app and clicks on use test phone number.
The error appears

What are you working on?
An app for local works

cursive heronBOT
#

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

Error Message
Something went wrong
Close the window and try again using a different payment method. in the link stripe https://checkout.link.com/0f795842d4770d98b135c6be3e59fe977455257a/#eyJwYXRoIjoicGF5IiwiaW50ZWdyYXRpb25UeXBlIjoiZXhwcmVzc19jaGVja291dCIsInB1Ymxpc2hhYmxlS2V5IjoicGtfdGVzdF81MVJhYVlhR2hIdkhXT0VKWUYyOTVDOGdnOXBrcW9pRUtma1hDaDNJRmkzbjR4ZVhJeVFrZ0RobEhXb2laemVPcTRseGJ

Question
I integrated the embedded checkout with session api, ui_mode = custom which has the card, link. for so reason the link works in the test but in live i am getting this error "Something went wrong
Close the window and try again using a different payment method."

What have you already attempted?
- I have take the live api key in my local to test it. - i have looked in stripe log and compared the information - using amplify updated the api key there to see if something comes up

What are you working on?
I current trying to fix this error so the user can use link

#

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

Question
Hey!

I'm building a peer to peer marketplace and currently use Stripe to handle payments on checkout.

To prevent race conditions, I maintain a checkout session on the backend and stop multiple users from entering checkout at the same time. This works fine, but I saw some platforms handling availability checks as the payment is being processed.

This seems like a much better user experience, so I was considering using a SetupIntent instead of a PaymentIntent and then running the backend check before confirming the setup intent. Are there any downsides to this solution, or any alternatives ones I should employ?

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=ios&ui=payment-sheet#ios-post-payment

What are you working on?
I'm building a peer to peer gamified second-hand shopping marketplace.

#

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

Question
We're using the Issuing Card component (https://docs.stripe.com/connect/supported-embedded-components/issuing-card) and are getting an error when a user attempts to replace a card. It says "Your request is missing permissions to create cards. You may need more permissions to continue."

I have reproduced this in a sandbox.

Looking at the network tab i see a POST request to https://api.stripe.com/v1/issuing/cards?include_only[]=id that fails with a 400 status

Card ID - ic_1RwSH5PKp9DBmtEG4OiOaaPt
Cardholder ID - ich_1RYVOGPKp9DBmtEGa4KaYowU
Financial account ID - fa_1RbqOoPKp9DBmtEGRO83jftD

Related Request ID(s)
req_EyV4OUtVLTR43x

What have you already attempted?
I've searched the docs for this error code and online but found nothing.

The user is challenged with MFA through the component beforehand and this process completes successfully

cursive heronBOT
#

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

Question
Hi Stripe Support,

Invoices we create via API show fewer payment methods on the Hosted Invoice Page than identical invoices made in the Dashboard (same account/mode, currency, amount; dynamic payment methods; no blocking rules)

Related Request ID(s)
in_1RwSnOHNldZ6iRNjiBOJc46V

What have you already attempted?
create manually the invoices, add sofort payment method directly in the api

What are you working on?
payment system

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 1 PM GMT on Monday, 2025-08-18. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
cursive heronBOT
#

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

Code
$stripe_invoices = Stripe::getCustomerInvoices(
$stripe_customer_reference,
[
'status' => StripeInvoice::STATUS_OPEN,
'collection_method' => StripeInvoice::COLLECTION_METHOD_CHARGE_AUTOMATICALLY,
],
['data.subscription'],
);

public function getCustomerInvoices(string $stripe_customer_reference, array $extra_parameters, array $expand): array
{
$invoices_by_reference

Question
How expand subscription from invoice with new API version: https://docs.stripe.com/api/invoices/object?api-version=2025-06-30.basil

What have you already attempted?
In this version, invoice.subscription(expandable) has been removed.

Can we refactor it as:

$stripe_invoices = Stripe::getCustomerInvoices(
$stripe_customer_reference,
[
'status' => StripeInvoice::STATUS_OPEN,
'collection_method' => StripeInvoice::COLLECTION_METHOD_CHARGE_AUTOMATICALLY,
],
['data.pricing.subscription_details.subscription'],
);

What are you working on?
Update Stripe API version

cursive heronBOT
#

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

Question
Hi Stripe team,
I’m currently working on integrating Basil API into https://github.com/laravel/cashier-stripe (`16.x` branch) and currently have some difficulty with API integration. Based from what I found our sandbox account need to be updated to support V2 API to avoid the following errors.
However, the upgrade process from Stripe dashboard does seem straightforward but we’re also need to use V1 API for feature/integration tests on old version (`15.x` branch).

Related Request ID(s)
https://dashboard.stripe.com/test/workbench/overview

What have you already attempted?
So my questions:

  1. Can we upgrade API version to support basil and still run both v1 and v2 api using a single sandbox or do we need to have a separate sandbox for both scenario.
  2. Any other limitation do we need to be aware of to use v1 and v2 API at the same time.
  3. For our old customers especially accounts that require API version upgrade is there an easy to follow upgrade guide that we can share with them in the upgrade guide?

What are you working on?
https://github.com/laravel/cashier-stripe

#

👋 @austere spoke reached out from Stripe Support.

Summary:
Issue Summary: The user is experiencing issues accepting payments using their Kiosk. They cannot access the Discord link that was provided to them in the previous consult. Redirecting the user again to the Discord team.
Related Request ID(s)/ Object ID (s): Related case: 25060940
External Doc/Guide Links: https://stripe.com/terminal/devices

cursive heronBOT
#

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

Code
// Only expose invoices paid in Stripe
if ($stripe_invoice->paid_out_of_band) {
return false;
}

    // Only expose paid invoices
    if \(!$stripe\_invoice\-\>paid\) {
        return false;
    }

Question
How to get the equal fields above in this API version:
https://docs.stripe.com/api/invoices/create?api-version=2025-06-30.basil

What have you already attempted?
Looking through the doc, but no good idea

What are you working on?
Upgrade Stripe API version

cursive heronBOT
#

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

What did you expect to happen?
Hello,
When creating a checkout link for a price chosen by the customer: custom_unit_amount, for the past week, some customers have been redirected to a page with the price choice as expected, but others have been redirected to a page where the price is fixed at €42.71.

This price is never indicated when creating the checkout link or the product/price listed on the

What actually happened?
The same code that sends the same API request returns a checkout link that randomly asks the customer for a price or randomly displays a fixed price (always the same: 42.72).

Reproduction Steps
Create a product / price with "custom_unit_amount": {
"enabled": "true",
},
create line item :
line_items = [{
"price": f"{id_price_stripe}",
"quantity": 1
}]

create checkout -> get link with random behavior

Question
How can you be sure that the link redirects to a page where the user chooses the price?

What are you working on?
I work for TiBillet.org, an online cashless payment solution for festivals.

#

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

Question
Stripe terminal stops responding when i call collect payment method in react native

Not sure what is the reason

Related Request ID(s)
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=react-native#collect-payment

What have you already attempted?
- Create a payment intent works in the SDK but collect payment method does not

What are you working on?
Terminal Payment Integration

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 today at 2pm CET.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

👋 @austere spoke reached out from Stripe Support.

Summary:
User wants to talk about a previous discord thread.

cursive heronBOT
#

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

Code
const optionsPaymentElement = {
mode: this.getPaymentIntent().amount === 0 ? 'setup' : 'payment',
amount: this.getPaymentIntent().amount,
currency: this.getPaymentIntent().currency_code.toLowerCase(),
locale: options.locale || 'en',
paymentMethodCreation: 'manual',
captureMethod: 'manual',
};

Question
i am trying to migrate to apple pay via payment express element, previously i was using payment request.
here the mode payment is not supporting amout 0.
so should i use setup or payment or subscription?
i am trying to only store the payment method and use it later for creating a payment.

What have you already attempted?
Clarification

cursive heronBOT
#

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

Question
Want to hit subscription and one time payment webhook to update data in database once payment is successfully done.

Related Event ID(s)
No

What have you already attempted?
Looked at documentation

What are you working on?
Webhook events

cursive heronBOT
#

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

Question
Create a multi-currency checkout for a store that only has one currency?

Doc/Guide Links
None. I don't know where to look.

What are you working on?
My current predicament is that I want to reduce the fees my customers face when they buy on my online store. The problem is that my store only supports having checkout in one currency at a time.

cursive heronBOT
#

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

Error Message
Issue in creating price ids on server

Question
Locally i am creating stripe price idsand its working fine.But when on server in dev env these price ids are created fine but when searching on stripe, no results are found. whats this issue????

What have you already attempted?
Locally i am creating stripe price idsand its working fine.But when on server in dev env these price ids are created fine but when searching on stripe, no results are found

cursive heronBOT
#

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

Question
Hello,
We are trying to setup a integration between Stripe and Discord using Zapier so when a users pays on Stripe we can automatically provide them discord access. If the users cancels or stops paying they lose discord access at the end of their subscription period automatically. We are collecting the discord username information as a seperate field on the Stripe checkout page but this information is not syncing over to Zapier to build the automation

Related Request ID(s)
n/a

What have you already attempted?
We have connected both systems in Zapier

cursive heronBOT
#

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

Question
I need to implement a feature where, if a dispute occurs on any connected account, I can withdraw or pull money from the user’s bank account to recover the disputed amount.

Doc/Guide Links
https://docs.stripe.com/connect/disputes#destination-and-separate-charges-and-transfers

What are you working on?
We built an app using Stripe Custom Connect, and for transactions, we use destination charges.

cursive heronBOT
#

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

Question
Does enabled connected account trigger a `account.application.authorized` event?

Related Event ID(s)
No event id (this is the problem)

What have you already attempted?
In a Stripe Connect configuration (sandbox), I created an endpoint that listens for the `account.application.authorized` event.

After several tests where I validated connected accounts, no `account.application.authorized` event has been created in workbench.

I would like to know if this is normal behavior. If so, what specifically triggers an `account.application.authorized` event?

My main need is to know whether or not a Connected account is authorized, unauthorized or updated to trigger specific workflow

What are you working on?
Marketplace

#

@abstract knoll 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/testing#test-business-tax-ids

Question
We are currently moving from Express to Custom when using Stripe Connect. In testing, we are using EIN `111111111` to force a 'Unsuccessful business ID number match (identity mismatch)' so we can test uploading a supporting verification doc. When we test the file upload it will always fail. What is the correct File Verification Type enum we should be using when setting the file type? We have tested a few but the one that makes the most sense is `TAX_DOCUMENT_USER_UPLOAD`. Is there a specific test document we need to use to get this requirement to pass in testing?

What have you already attempted?
We have tried using several different file types. We have tried only uploading the front side of a page. The testing documentation doesn't give much information on testing the verification doc for EIN and business name matching.

What are you working on?
Setting up custom connect accounts in our mobile app

#

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

Question
We are using the billing portal for managing subscriptions. What we're running into is that when someone upgrades near the end of their subscription, they're paying just a few cents/dollars due to the prorations. This means they have access to all the goodies from the upgraded plan, can download the assets, and cancel their subscription and basically they get the upgraded assets for pennies on the dollar. Is there a way of handling this so the customer will pay the full upgraded amount? All the combinations we've used for configuration haven't gotten us the result we want.

Related Request ID(s)
NA

What have you already attempted?
We've worked with the billing portal configuration both on the site and with sending a configuration request through the API.

What are you working on?
A SAAS product.

cursive heronBOT
#

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

Question
Is it better to use Stripe Financial Connections for ACH payment details collection? Does it save the company from any compliance requirements or not? Is it perfectly fine to collect all the details (account number, routing etc) yourself?

Related Request ID(s)
--

What have you already attempted?
--

#

@abstract knoll 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/testing#test-business-tax-ids

Question
We are currently moving from Express to Custom when using Stripe Connect. In testing, we are using EIN `111111111` to force a 'Unsuccessful business ID number match (identity mismatch)' so we can test uploading a supporting verification doc. When we test the file upload it will always fail. What is the correct File Verification Type enum we should be using when setting the file type? We have tested a few but the one that makes the most sense is `TAX_DOCUMENT_USER_UPLOAD`. Is there a specific test document we need to use to get this requirement to pass in testing?

What have you already attempted?
We have tried using several different file types. We have tried only uploading the front side of a page. The testing documentation doesn't give much information on testing the verification doc for EIN and business name matching.

What are you working on?
Setting up custom connect accounts in our mobile app

#

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

Question
Is there a way to get a published meter event and check of it was counted by Stripe?

Related Request ID(s)
req_PNIOnKFZugPmTt

What have you already attempted?
I was searching through the public meter and event related documentation, but couldn't find anything helpful with this specific problem.

What are you working on?
I am writing integration tests, looking to assert a meter event was accepted by Stripe.

#

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

What did you expect to happen?
je suis nouveau client stripe avec woopayement un client à passé une commande de 66,72€ sur mon site. j'ai effectuer un remboursement manuel car mon site n'as pas été accepté par stripe la commande a été passé le 02/08/2025 et le remboursement le 03/08/2025. Sur le tableau de bord stripe express il est indiqué uniquement le montant des frais de 1.13€ et rien d'autre.

What actually happened?
mon client ni mon entreprise à reçu les fonds suite a la verrification qui n'a pas été approuvé car je vend des produits a base de CBD or avec woopayement cela devait fonctionner.

Reproduction Steps
paiement client via mon site via woopayement par carte bancaire, paiement est rester en attente dans le tableau de bord puis plus rien apart des frais.

Question
Quand le client sera remboursé? ou l'argent remboursé est parti

cursive heronBOT
#

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

Question
Is it possible to use Subscription Schedules with the billing portal or is it all through the API? I don't see a way to configure them using the billing portal.

Related Request ID(s)
NA

What have you already attempted?
I was pointed toward the Subscription Schedules as an option for handling subscription upgrades. We want to keep using the billing portal so I wanted to see if we were able to set up Subscription Schedules for folks using the billing portal?

What are you working on?
A SAAS product.

cursive heronBOT
#

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

Question
I was consulted here an hour ago about ACH payments integration, but I still cannot wrap my head around Financial Connections. What if account cannot be verified instantly? Should I then implement my own form for collection US Bank Account details?

Related Request ID(s)
---

What have you already attempted?
---

cursive heronBOT
#

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

What did you expect to happen?
Enable Apple Pay for shopify based domain.

What actually happened?
How to enable Apple Pay for stripe, with domain what based in shopify ?

Reproduction Steps
No steps to reproduce

Question
Hi, we faced with the problem. we have the store on shopify, and trying to integrate 3rd party service what using Apple Pay for payments. This service require to validate our domain with Apple Pay domain association file what should be available by url https://example.com/.well-known/apple-developer-merchantid-domain-association.

Apple Pay enabled within shopify

What are you working on?
Shopify. Liquid theme.

cursive heronBOT
#

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

Question
How to allow free trials without requiring a card upfront, and handle account suspension if no card is added

I’m integrating Stripe with my SaaS product (built on GoHighLevel) and want to clarify the correct way to handle free trials without requiring a payment method upfront.

Here’s the workflow I’m trying to achieve:

A new customer should be able to start a subscription with a free trial (e.g., 14 days) without entering a credit/debit card upfront.

During the trial, the customer can optionally add a card via the Billing Portal.

If the trial ends and the customer has not added a card, I

Related Request ID(s)
.

What have you already attempted?
There is no option in GHL side

cursive heronBOT
#

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

Question
We're looking to improve our risk review process, and we'd like to begin review accounts before their Stripe Connect Payouts are enabled.

I have looked here and there are definitely some dashboard capabilities to pause payouts, but we are hoping to be able to both ENABLE and DISABLE the payouts on a Stripe connect account via the API (from our risk tool directly).

Could you please send me some information on where we are able to make this happen? I'm not having much luck finding where in the API to do this.

Related Request ID(s)
req_AkHQUVpCnUCx2y

What have you already attempted?
We have looked to doing it from the API but haven't had any luck. We did it in the dashboard and tracked the API request that was sent in the backend but I don't see where this API is

What are you working on?
A platform for arts to sell tickets

#

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

Question
Is there anyway to a create a payment method for a customer (via a setup intent) that is default.. by default?

The Stripe billing portal has a checkbox to set the method as default, trying to replicate the same.

Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse

What are you working on?
Payment methods management from users account (not via billing portal)

cursive heronBOT
#

@hallow coyote 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/tap-to-pay

Question
Hi. I'm building a beauty booking app. It's going to be a mobile PWA. Could I integrate Stripe Connect with Stripe Tap to Pay to allow my platform to process payments on behalf of the estheticians and process payouts, while also allowing clients to pay in person with their physical card though my app with Stripe Tap to Pay on the estheticians phone?

What have you already attempted?
Nothing.

What are you working on?
Beauty booking app. (Mobile PWA)

cursive heronBOT
#

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

Code
I'm curious about customization options for the Payment Element

Question
My product manager found a website that seems to be using the Payment Element and the two options shown in the tabs are "Card" and "Bank", however I don't see anything in the docs that explains how to change this text and override the copy that says "US bank account". Is this possible, and if so, can you point me to the docs the show where to do this?

What have you already attempted?
Read the docs for the Payment Element

What are you working on?
A payment portal for healthcare expenses

cursive heronBOT
cursive heronBOT
#

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

Question
Is it possible to freeze part of a balance of connected accounts?

I need to freeze the payment until the buyer confirms that the plant has arrived or unfreeze after 10 days. So:

User lists a plant -> Someone buys it for 10 Euros which unfreezes the 10 Euros on his account balance.

Doc/Guide Links
https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts

What are you working on?
A Marketplace for selling plants.

cursive heronBOT
#

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

Question
Data pipeline
Last week REVATHI Inc
This week REVATHI incorporated changed id

Related Request ID(s)
1RnLc04PRRsmsO5Y

What have you already attempted?
RRp011CfGMeW94me earlier last week id
Today change id above thìs wek

What are you working on?
Payout

cursive heronBOT
#

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

Question
I successfully developed and deployed a custom POS application on our S700 DevKit that integrates with Stripe Terminal SDK for payment processing. However, I am experiencing an issue where the Stripe Reader App does not automatically return control to our POS application after payment completion, as the DevKit defaults to `com.stripe.updater` rather than our custom app. According to your documentation ([Deploy API]) is in “private preview” and I would need access to adjust the `preferred_kiosk_app` parameter.

Related Request ID(s)
N/A

What have you already attempted?
I’ve attempted manual workarounds to re-launch my custom App back to the foreground; however, all attempts have not produced the intended result. As soon as a payment is processed by the Stripe Reader App, it closes out, and there is no reliable mechanism to bring our custom App back to the foreground.

What are you working on?
Apps on Devices

cursive heronBOT
#

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

Question
Is there a way to simulate a decline scenario for a recurring payment?

We are basically trying to test a scenario where a user creates an off session checkout https://docs.withflex.com/developer-guides/integration/checkout/off-session-checkouts with a valid payment method, and then have a recurring payment from that same checkout session fail due to the payment method being declined for any reason during a subsequent charge attempt.

Doc/Guide Links
https://docs.stripe.com/testing#declined-payments - these cards all accept or decline to my understanding rather than being able to change from accept to decline. I don't believe "Decline after attaching" card will work because ultimately the card will still be declined during checkout.

What are you working on?
https://www.withflex.com/

cursive heronBOT
#

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

Question
Hello,
I use Payment Link on my website with automatic VAT calculation.

When a customer pays, I want to retrieve the VAT rate that was applied to create my invoice. Unfortunately, I cannot access it from the API.

From my dashboard, I can see a tax transaction, but even so, I can't retrieve it via API because I get this error: standalone_tax_api_transaction_managed_by_stripe

Is there a way to use the API to find out exactly what VAT rate was applied?

Thank you for your help

Related Request ID(s)
tax_1RwyegLWfuwBNDZcg3FukUHU

What have you already attempted?
I tried to navigate through the different IDs accessible from the checkout session returned by the webhook. From the API and from the developer interface.

cursive heronBOT
#

@raven hamlet 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/tap-to-pay?platform=android#availability-in

Question
Is it possible as an international developer in a country where the Tap to Pay NFC integration is not available, will I still be able to implement/prototype/develop an application using this for US consumer use.

What have you already attempted?
I am wondering if I can develop an app for stripe tap to pay nfc integration while I am in a country where it is not supported for USA use.

cursive heronBOT
#

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

Question
I want to test payment failure webhook.

Related Event ID(s)
NO

What have you already attempted?
Tried with some card which reject payment. But not hitting failure webhook.

What are you working on?
Webhook

cursive heronBOT
#

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

Question
Receiving invoice.created and invoice.paid event simultaneously

Related Request ID(s)
req_CUXcVgHawHhYR6

What have you already attempted?
When Im creating a invoice, I'm receiving invoice.created and invoice.paid event simultaneously which created a conflict as i am trying to insert a row in invoice.created event and trying to update the same invoice in invoice.paid

cursive heronBOT
#

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

Error Message
Not an error message, it's a logical one.

Question
I'm currently using Stripe Payment Links. and I cannot see the Transactions with the payment link. I cannot reconcile it in my system

What have you already attempted?
I have created an Items and using it to collect payments using the payment link option and the API. I create the Payment link using the API, I save the Payment Link Id in my system. the customer has paid me using the link but in the transactions I don't see the Payment Link, It's not coming in the Session List either.

cursive heronBOT
#

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

Code
const optionsPaymentElement = {
mode: amount === 0 ? 'setup' : 'payment',
amount: amount,
currency: this.getPaymentIntent().currency_code.toLowerCase(),
locale: options.locale || 'en',
paymentMethodCreation: 'manual',
captureMethod: 'manual',
};

Question
I am trying to migrate apple pay from payment request to payment express element. previously i was able to provide the amount and it was working fine. Now i made the mode as payment for all amount, and when it was 0$ it was throwing error. Should i use mode setup when the amount is 0?

What have you already attempted?
Need clarification.

cursive heronBOT
#

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

Error Message
com.stripe.exception.InvalidRequestException: Invalid Stripe API version: 2025-06-30.basil;unified_accounts_beta=v1. You do not have permission to pass this beta header: unified_accounts_beta.

Question
I’m not sure why I’m getting this error. It seems like we need to enroll our new Stripe platform account to support the beta feature.

What have you already attempted?
i have tried to connect UA2 flow with our new platform account but it's didn't worked ended with the mentioned error

Reproduction Steps
I tried to connect the UA2 flow with our new platform account, but it didn’t work and ended with the mentioned error.

cursive heronBOT
#

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

Question
Hello. We provide our own monthly payment option, which means that we want to disable Klarna when using setupintents, or paymentintents with setup_future_usage true. Apart from those two scenarios, we want to keep Klarna available. I can't see how to achieve that through the API. Is there a way, or can it be done through the dashboard?

Related Request ID(s)
NA

What have you already attempted?
https://docs.stripe.com/api/payment_intents/create

What are you working on?
Payment issues.

cursive heronBOT
#

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

Code
subscription = await stripe.subscriptions.create({
customer: customerId,
items: [{ price: product.default_price }],
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' },
expand: ['latest_invoice.payment_intent'],
// trial_end: Math.floor(Date.now() / 1000) + (60 * 60 * 24 * 7), // 7 days trial
trial_period_days: 1, // 1 days trial

Question
well when i am subscribing something in my website for testing it gives me the invalid object error and i got the following error which concerns about the wrong field structure which i am sending in the stripe.subscriptions so i think it is because trial_settings: {
end_behavior: "cancel"
}

- So i want when we attempt to charge the user card and for some reason we failed then we need to ends its free trial how can we handle it???

What have you already attempted?
Well currently i got the following solution but not sure about the results yet because did not implement it yet because of some security concerns so i need to confirm the solution form you :
do i need to send the "trial_settings": {
"end_behavior": {
"missing_payment_method": "cancel"
}
} like this?

What are you working on?
i am working on the stripe integration in my game where we have some sort of things which are paid or can be enjoyable on a free trial

cursive heronBOT
#

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

Code
# Stripe PHP SDK v7
$stripeSubscription->current_period_end

# Stripe PHP SDK v17
$stripeSubscription->items->data[0]->current_period_end

Question
We're migrating from Stripe PHP SDK v7 to v17.

There has been a major change in how to access the subscriptions `current_period_end`.
It used to be directly on the root of the subscription object. Now there's the `items`.

The docs say: "List of subscription items, each with an attached price."

I struggle to understand the concept behind this and the docs couldn't help me.

What's a subscription item and how can there be multiple of it? Can I always check item with index 0?

What have you already attempted?
Our approach to always access item with index 0 seems to work for our integration. But we're unsure if this is a stable solution. Can there be multiple items? And if so, under which circumstances? Will there maybe be a second item if the subscription renews?

What are you working on?
Migration from PHP SDK v7 to v17

#

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

Code
if (DB::table(RightpayPaymentIntent::TABLE)->insertOrIgnore([
RightpayPaymentIntent::COLUMN_RIGHTPAY_PAYMENT_INTENT_REFERENCE => $stripe_payment_intent->id,
RightpayPaymentIntent::COLUMN_RIGHTPAY_INVOICE_REFERENCE => $stripe_payment_intent->invoice,
]) !== 0) {
return response(['message' => 'Payment intent created.']);
} else {
return response(['message' => 'Payment intent already exists.']);
}

Question
How to get the invoice reference from PaymentIntent object with API version 2025-06-30.basil?

What have you already attempted?
browse API doc

What are you working on?
Update Stripe API verison

cursive heronBOT
#

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

Question
For a payout-linked balance transaction, where do I read the Radar fee? Inside balance_transaction.fee_details[] or somewhere else? Also, is there a stable field (type) to identify Radar fee without parsing the description?

Related Request ID(s)
NA

What have you already attempted?
Reading docs

What are you working on?
I am handling payout.reconciliation_completed event, then BalanceTransaction.list(payout=po_..., type="charge", expand[]=data.source) to get each Charge.

cursive heronBOT
#

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

What did you expect to happen?
I fill all the requirements there but by mitakelu i tried so many times and now i received this message form there to shear contact support please it an emergency help me

What actually happened?
I face - I tried providing the information you requested using the link you sent me, but wasn’t able to verify my identity. Please help me update my account details so I can try again.

Reproduction Steps
On payment verification

Question
Help me to solve this account issue
I'm not a rich man but i know something about digital marketing. I sell my project on gumroad and there I need to connect with stripe account I'm from India
Yours faithful NIRANJAN SETHI (RINKU NR )

What are you working on?
Kwgt design , personally

#

⛔️ 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'll be back at 3pm CET.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Code
{
subscriptionId: activeSubscription.id,
// paymentIntent: paymentIntent.client_secret,
paymentIntent: clientSecret,
ephemeralKey: ephemeralKey.secret,
customer: customerId,
publishableKey: process.env.STRIPE_PUBLISHABLE_KEY,
},

       const setupIntent = await stripe.setupIntents.create\({
        customer\: customerId, // existing customer
        // payment\_method\: paymentMethodId

Question
I am sending these in response to the launcher layer where other developer is using these and giving the stripe pop up on the screen but there is some change in the flow earlier i was using the payment_intent.client_secret but now we add the free trial so we will not have the payment intent so now i am using the seupIntent but it is giving the error on the launcher layer and saying "no app in manifest could open the link"

What have you already attempted?
i have tried the setupIntent but it is not working because i guess there is the diff between the setupIntetnt and payment intent i know there is huge difference but we do not need to made changings on the launcher becausewe need to update the flow for all the users and currently we are using the ios build so we are making sure to do not disturb the existing flow.

What are you working on?
i am working on a game

cursive heronBOT
#

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

Code
const paymentIntent = await stripe.paymentIntents.create(
{
amount: rental.totalPriceAmount,
currency: env.COUNTRY_CURRENCY,
customer: rental.borrower.stripeCustomer,
payment_method: paymentMethodId,
transfer_group: rental.id,
receipt_email: rental.borrower.email,
off_session: true,
confirm: true,
capture_method: "manual

Question
Where is a way to implement 3ds secure for some payment off_session: true?

What have you already attempted?
Checked docs

What are you working on?
Trying to add more security for our payments on the app

#

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

Error Message
errorDetails": "Your account is not configured to create livemode accounts in this configuration. Please contact Stripe support to enable this.; request-id: req_L20ul53R0B0kqu"

Question
Hi all Earlier I hit a unified_accounts_beta error, which was resolved after Stripe enrolled our account in the beta. Now, while testing in sandbox, I get: “Your account is not configured to create livemode accounts…”. Any idea why a livemode error appears in sandbox? Could this be a beta config issue?

What have you already attempted?
tried to onboard with our new platform account now encountering issue

#

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

Question
Hi. This may be awkward to explain. We have our own optional monthly subscription service, which means when our customers want to pay monthly, we want to hide services like Klarna. If they are paying in full, we want to allow Klarna. I thought I could download our list of payment method configurations, remove ones we don't want, and feed the rest back in the paymentintent or setupintent call. Now, although I've removed Klarna, I get an error that apple_pay and google_pay don't support on_behalf_of, and it dies.

Related Request ID(s)
NA

What have you already attempted?
Reading the API docs.

cursive heronBOT
#

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

Code
const {error} = await initPaymentSheet({
merchantDisplayName: 'Invitem Ltd',
applePay: {
merchantCountryCode: 'GB',
},
googlePay: {
testEnv: true,
merchantCountryCode: 'GB',
currencyCode: 'GBP',
},
primaryButtonLabel: `Pay £${formatToTwoDecimals(
paymentDetails?.totalAmount,
)}`,
customerId: result?.customerId,

Question
I have added this configuration, and i want to enable Google Pay in my app with stripe.

But I am not getting the Google Pay option. Then how do I resolve this issue?

What have you already attempted?
I have found out all solutions, but I can't get success in this part.

https://github.com/stripe/stripe-react-native/issues/1588

What are you working on?
I am working in react native.

#

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

What did you expect to happen?
I was expecting a list of Payment Methods to be returned.

What actually happened?
No data was returned (an empty list)

Reproduction Steps
As a Platform, create a payment method on a standard connect connected account and then list all payment methods on that account (passing the standard connect account ID in the header.

Eg.

```
stripe payment_methods list --stripe-account "acct_123456" --limit 10
```

Question
I would have expected to see at least the Payment Methods that I had created on the connected account. If not all Payment Methods.

What are you working on?
I am attempted to migrate non PII information about payment methods between systems.

#

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

Question
I am working on functionality to show the balance of my connect accounts. On test mode, the balance I'm getting back is super random and not consistent. It's really confusing - help me understand what is going on

$headers = array(
"Stripe-Account: $account_id"
);

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_URL, "https://api.stripe.com/v1/balance");
curl_setopt($ch, CURLOPT_USERPWD, "$stripe_key");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Stripe-Version: ' . config

Related Request ID(s)
req_eq7S0VCc00ittm, req_eq7S0VCc00ittm, req_9JWSvTv6sJTmv5

What have you already attempted?
I have tried unpinning the stripe-version as well from the header and it actually changes the numbers. even though in the request the API version is the same whether it's pinned or not. Very confused

What are you working on?
Building a portal for my connect accounts to see their payout balance

cursive heronBOT
#

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

Code
const handleSubmit = async (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();

if \(!stripe \|\| !elements\) {
  return;
}     
  
const { error\: submitError } = await elements.submit\(\);

...
}

Question
Android has added support for Google Pay in the Android webview. After updating the Android configuration I can see Google Pay shown as an option in the Stripe Element. However, tapping on the pay button and executing the handleSubmit function, results in this submitError object.

{"code":"incomplete","type":"validation_error","message":"Please fill in your card details."}

What have you already attempted?
I have updated the Android app configuration according to recommendations on this Google guide. I can also see that Google Pay works correctly in our checkout web page, when viewed from Chrome directly on my test device.
https://developers.google.com/pay/api/android/guides/recipes/using-android-webview

What are you working on?
We want to support Google Pay from our embedded checkout webview page in Adnroid.

#

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

Code
freeTrialSubscription = await stripe.subscriptions.create({
customer: customerId,
items: [{ price: product.default_price }],
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' },
expand: ['pending_setup_intent'],
// trial_end: Math.floor(Date.now() / 1000) + (60 * 60 * 24 * 7), // 7 days trial
// trial_period_days: 1, // 1 days trial

Question
We’re building a game app and originally our subscription flow worked like this:
We collected card details using the Stripe Payment Sheet.Then we charged the user immediately, which gave us a PaymentIntent + client secret.
We passed that client secret to the Payment Sheet again so the user could confirm the payment in the popup, and everything worked fine.

What have you already attempted?
https://discord.com/channels/841573134531821608/1407338815563108453

What are you working on?
game

cursive heronBOT
#

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

Code
```
stripe_subscription: stripe.Subscription = stripe.Subscription.retrieve(subscription_id)

subscription.stripe\_subscription\_id = subscription\_id
subscription.status = stripe\_subscription.status
subscription.current\_period\_start = datetime.fromtimestamp\(
    stripe\_subscription.current\_period\_start
\)
subscription.current\_period\_end = datetime.fromtimestamp\(stripe\_subscription.current\_period\_end\)

```

Question
Since updating `stripe_subscription.current_period_start` no longer works and I tried replacing with `stripe_subscription.items.data[0].current_period_start` which also doesn't work.

What have you already attempted?
I tried replacing with `stripe_subscription.items.data[0].current_period_start` which also doesn't work.

What are you working on?
Therse are part of my webhook handlers for my subscription system.

#

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

Code
$charges = \Stripe\Charge::all(["payment_intent" => $payment_intent_id]);
if($charges){
$charge = $charges->data[0];
$balanceTransaction = \Stripe\BalanceTransaction::retrieve($charge->balance_transaction);
$feeAmount = $balanceTransaction->fee;
}

Question
When there is a partially reversed transaction, how do I get the total charge?

What have you already attempted?
I write the code and test the code above, but it only shows the authorized fee

What are you working on?
qr code for arcade machine

cursive heronBOT
#

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

Question
I am currently in the process of a third-party system migration and we are on the 2020 version and don't have the option to upgrade to anything other than 2025, we need to use version 2023-10-16 as our third party management system uses this version and handles our payments via a webhook and due to version differences we are getting 400 Bad Request errors when attempting to connect to our third-party system.

Related Request ID(s)
?

What have you already attempted?
Docs, test modes, sandbox etc.

What are you working on?
as above

cursive heronBOT
#

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

What did you expect to happen?
Yall let someone hack my account in a day and yall are not helping me and my business is not working cause yall want help. i need access TODAY

What actually happened?
Yall let someone hack my account in a day and yall are not helping me and my business is not working cause yall want help. i need access TODAY

Reproduction Steps
Yall let someone hack my account in a day and yall are not helping me and my business is not working cause yall want help. i need access TODAY

Question
Yall let someone hack my account in a day and yall are not helping me and my business is not working cause yall want help. i need access TODAY

cursive heronBOT
#

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

Code
$charges = \Stripe\Charge::all(["payment_intent" => $pi], ['expand' => ['charges','refunds']]);

Question
For partial reverse, example authorize $4 and charge $3, how do I get all the charges? I can only get one charge and no refund charges

What have you already attempted?
tried to code above

What are you working on?
qr pay for arcade game

cursive heronBOT
#

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

Question
When I request a new secret api key it keeps showing me one that I already deleted and I can’t copy a new one

Related Request ID(s)
O

What have you already attempted?
I keep trying to generate a new one but every time it makes me copy the old one

What are you working on?
A lovable app

cursive heronBOT
#

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

Question
Hi
I am facing issue whenever I tried to pay using card.
I built my platform using woo-commerce when ever I tried to pay it throughs me error Missing customer field: name

Related Event ID(s)
123456789

What have you already attempted?
If i tried using woo-payments it's start accepting but I want to go with stripe only

What are you working on?
Woo-commerce platform

cursive heronBOT
#

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

Code
event = stripe.Webhook.construct_event(payload, sig_header, WEBHOOK_SECRET)
obj = event.get("data").get("object")

        session = stripe.checkout.Session.retrieve\(
            obj\["id"\],
            expand=\["line\_items.data.price.product"\]
        \)

        items = session.line\_items.data
        product = ""
        if items\:
            prod = items\[0\].price.product
            product = prod.name

Question
I’m trying to get the product name inside my checkout.session.completed webhook.
I expanded with expand=["line_items.data.price.product"] but I can’t access the name field directly on the session.

What have you already attempted?
ChatGPT, stackoverflow and https://docs.stripe.com/api/checkout/sessions/object

What are you working on?
I’m building a webhook endpoint in Flask to send an admin email after a Checkout payment. I need to include the product name in the email body.

cursive heronBOT
#

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

Code
subscription.stripe_subscription_id = subscription_id
subscription.status = stripe_subscription.status
subscription.current_period_start = datetime.fromtimestamp(
stripe_subscription.items.data[0].current_period_start
)
subscription.current_period_end = datetime.fromtimestamp(
stripe_subscription.items.data[0].current_period_end
)

Question
stripe_subscription.items.data[0].current_period_end not available after recent update. Previously stripe_subscription.current_period_end would work.

The error is 'builtin_function_or_method' object has no attribute 'data'

What have you already attempted?
#dev-help message _ previous discussion, hadn't realised there was an idle timer.

What are you working on?
Webhook handlers for my sub system.

cursive heronBOT
#

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

Question
We have an annual subscription for a set price and then want to allow users to add seats to the subscription for a monthly price. For example, say our plan is $200/yr and they get one seat. We then want to allow the users to add seats to the plan at $20/month per seat. What is the best way to set this up with Products and Prices?

Doc/Guide Links
https://docs.stripe.com/products-prices/how-products-and-prices-work

What are you working on?
We are building out products and pricing for our new subscription product.

cursive heronBOT
#

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

Code
const session = await stripe.billingPortal.sessions.create({
customer: customerId,
return_url: `${env.NEXT_PUBLIC_URL}/organization/${ctx.orgId}/settings`,
flow_data: {
subscription_update: {
allow_promotion_codes: true, // not allowed
}
}
});

Question
Is it possible to allow coupons to be entered in a stripe checkout portal?

What have you already attempted?
Checked the docs -> https://docs.stripe.com/api/customer_portal/configurations

They show a way to manually add coupons via the api, but in this case a user might enter a code they have from an email

What are you working on?
Customer facing app

#

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

Question
I am trying to create payment intent on sandbox api explorer to be able to finish it on my new test Stripe reader i recived. When i try to send this payment intent to Stripe reader i get "Payment intent must be in the requires_confirmation state to be confirmed by a reader." .. i have used nothing special in my Payment intent creation just amount, currency, payment_method_types:card_present)

Related Request ID(s)
pament intent id: pi_3RxuW3IAvagRV6CY0EvMw8xN

What have you already attempted?
tried multiple different payment intents and they all return me status: requires_payment_method .. and from the docs it should be "requires_confirmation"

#

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

Question
stripe.invoices.createPreview doesn't provide next period dates

Related Request ID(s)
req_5pXBufbAbpCpvg

What have you already attempted?
I try to get the preview of the next invoice and to display the related next invoice dates period.

const upcomingInvoice = await stripe.invoices.createPreview({
customer: subscription.customer,
subscription: subscription.id,
preview_mode: 'next'
})

period_start and period_end are the dates of the current period not the next one.

#

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

Question
Hello Stripe team,

I would like to confirm if Stripe Financial Connections supports an App2App flow similar to Plaid.

For example, when a user selects Chase, Plaid opens the Chase mobile app and then redirects the user back to our app via deep link.

Does Financial Connections offer this behavior today?
If yes, is there a way to test this flow in development mode (e.g., with test institutions or sandbox banks)?

We moved from Plaid to use Financial Connections but I can't find anything in your documentation to test the app2app flow.

Doc/Guide Links
https://docs.stripe.com/financial-connections/fundamentals

What are you working on?
We’re building a mobile app that integrates Stripe Treasury + Financial Connections

#

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

Question
Any way for me to resend a load of production webhooks for whilst my app had a bug in it causing these not to be executed properly.

Related Event ID(s)
N/A

What have you already attempted?
Couldn't see any way of doing this.

cursive heronBOT
#

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

Question
When someone pays with Link and they use their Bank Account rather than CC - is there any way in the charge object (when GETting api.stripe.com/v1/charges/$payment_id) to view like the last X numbers in the bank account they used? Not seeing it in the payment_method_details but wasn't sure if there is a better place to look in the data.

Related Request ID(s)
req_TzwH44jMmaBCQ5

What have you already attempted?
Tried looking in payment_method_details at the last 4. Maybe that is the correct ID and it's just 0000 because of the test data?

What are you working on?
A page to show admins details about a charge on their customers card

cursive heronBOT
cursive heronBOT
#

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

Question
We're implementing a handler for subscription_schedule.updated where we synchronize our database with the phases of the schedule. But whenever I cast the SubscriptionSchedule and dig into it's phases, inside the Items the Price object only has an id and we were expecting to have the fully constructed object.

In order to have the full object, are we supposed to call prices endpoint to fetch the phases products? Or is it a better way to retrieve them?

Related Event ID(s)
evt_1RxvGCRHtdZpYxj3cB9f3qFi

What have you already attempted?
So far, we've been going straight forward on the Schedule object as I've mentioned in the introductions, so basically we do a foreach on its phases, check if the phase has any items, and for the items we grab their Prices. Everything works like charm, all objects have their info, but well, as I said, Price object has only its id.

What are you working on?
SaaS with subscriptions

#

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

Question
Hello, I am trying to configure webhooks by testing with Stripe CLI, but nothing works. However, my page for creating a checkout session works fine, but nothing works for receiving webhooks. I have no logs on my Express server, even though I followed the documentation and tutorials. Nothing is being sent. I think Stripe trigger is working:
stripe trigger customer.created
Setting up fixture for: customer
Running fixture for: customer
Trigger succeeded! Check dashboard for event details.

Related Event ID(s)
all

What have you already attempted?
I followed the Stripe documentation, watched YouTube tutorials, and tried to set up servers with just what I need for webhooks, but I still can't get it to work. I can receive data with curl, but not with Stripe.

What are you working on?
Website

cursive heronBOT
#

@glossy sandal 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/link/payment-request-button-link

Question
I'm trying to use PAY BANK in an integration that uses a Link in the Payment Request Button from the test environment. However, when I use the email address test@test.com, I can't add this payment type. Is there a way to do this? I can't find it in the documentation.

What have you already attempted?
Read the documentation

cursive heronBOT
#

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

Question
Hi, I need help verifying bank accounts that are added using my own form, they get added but not verified and I can not use them to make payments.

Related Request ID(s)
None now

What have you already attempted?
I was looking for a micro deposit option but could not find it, if I provide the link for the Stripe hosted session they can add it there, but I want to provide my own custom form

What are you working on?
I am working on a transportation management system, I want to allow managers to pay their drivers, I would like them to add their bank account without having to go to the hosted session

cursive heronBOT
#

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

Question
Subscription subscription = Subscription.create(params);
为什么我在订阅的时候不会触发任何webhook

Related Request ID(s)
evt_1Ry24RDB6Ql08U4FotgTLqLH

What have you already attempted?
{
"object": {
"id": "sub_1Ry24QDB6Ql08U4F2qcvqgcp",
"object": "subscription",
"application": null,
"application_fee_percent": null,
"automatic_tax": {
"disabled_reason": null,
"enabled": false,
"liability": null
},
"billing_cycle_anchor": 1755658094,
"billing_cycle_anchor_config": null,
"billing_mode": {
"type": "classic"
},
"billing_thresholds": null,
"cancel_at": null,
"cancel_at_period_end": false,
"canceled_at": null,
"cancellation_details": {
"comment": null,
"feedback": null,
"reason":

cursive heronBOT
cursive heronBOT
#

@slim quartz 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/checkout/custom/quickstart?lang=java

Question
Embedded componenet can works on 2023-10-16 version ? We are not passing any version in it in doc sample

What have you already attempted?
I am getting error Reference Error : Stripe is not defined

What are you working on?
Integration embedded component for Stripe DD

#

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

Error Message
fix the error in settings tab

Question
When adding a variable payment option, 'apply' button cannot be selected and the error message says fix the error in settings tab. Under settings tab there doesn't seem to be anything applicable

What have you already attempted?
Tried a few changes with all the options in settings

Reproduction Steps
Not sure what this means

What are you working on?
Forminator / stripe form on a website

#

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

Code
window['ApplePaySession'].applePayCapabilities(merchantIdentifier);

Question
Need help in using the applePayCapabilities, i am using stripe apple pay via express element.
i don't see any apple pay capabilites option.

What have you already attempted?
In document nothing was mentioned

#

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

Question
I would like to ask if I can pay immediately for the first subscription when I subscribe, and change the deduction time for renewal after payment is completed.

Related Request ID(s)
evt_1Ry2XvDB6Ql08U4FQdMp1Yv3

What have you already attempted?
111

cursive heronBOT
#

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

Code
import Stripe from 'stripe';
const stripe = new Stripe('sk_test_...');

// Create a query run
const queryRun = await stripe.sigma.queryRuns.create({
sql: 'SELECT * FROM charges LIMIT 10'
} as Stripe.Sigma.QueryRunCreateParams);

Question
I am trying to execute a Sigma SQL query and download the resultant CSV file from Typescript (stripe-node SDK).

The latest SDK doesn't have the `queryRuns.create` method. Is there an alternative way of automating this ?

What have you already attempted?
I've tried searching the `stripe-node` repository but couldn't find anything.

What are you working on?
Downloading and automating Excel reporting, which includes some correlation with information from Stripe's invoice data.

#

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

Error Message
{
"error": "parameter_unknown",
"message": "Received unknown parameter: payment_method_options[card][moto]; code: parameter_unknown; request-id: req_TmrwiEXv0aOS8n",
"status": 400,
"errorDetails": "Received unknown parameter: payment_method_options[card][moto]; code: parameter_unknown; request-id: req_TmrwiEXv0aOS8n",
"timestamp": "2025-08-20T06:1

Question
Im trying to test MOTO paymets with my new platform sandbox account, but im getting this error!
do i need to get any special permission from stripe team for my new platform account? FYI we have another platform account there MOTO payments working fine

What have you already attempted?
tried to make the payment and i got this

cursive heronBOT
#

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

Question
We voided the 3 last latest invoices of a subscriptions the 4th invoice is marked as paid but the subscription status remains in `past_due`

Related Request ID(s)
req_XjXeZJ0Iyv3MEQ

What have you already attempted?
Nothing, acording to https://arc.net/l/quote/mgsxeyco

>Invoices marked as uncollectable are treated as paid when determining subscription status, even though their paid property remains false. Stripe ignores voided invoices when determining subscription status; the most recent non-voided invoice is used instead.

#

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

Question
How can I add a description for destination payments? I am using destination charge with transfer_data

Related Request ID(s)
req_PVNdqUNfueZbKo

What have you already attempted?
Checked the stripe docs

#

@jaunty delta pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
An invoice was created post the cancellation of subscription. Why was the invoice created post cancellation?

Related Request ID(s)
sub_1PpbK4I5vSu94Gk8ofwerbHq

What have you already attempted?
We tried to debug using stripe events and found an invoice was created post the schedule was updated to cancel it. Had no luck/observation.

#

@gentle latch pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
No podemos acceder a nuestra cuenta ya que no tenemos la verificacion en dos pasos.

Question
Como podemos acceder a la cuenta?

What have you already attempted?
No nos deja introducir la contraseña

#

@true cove pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
ctx := context.Background()
// Create the params with date filters
params := &stripe.CustomerListParams{
CreatedRange: &stripe.RangeQueryParams{
GreaterThanOrEqual: startDate.Unix(),
LesserThan: endDate.Unix(),
},
ListParams: stripe.ListParams{
Limit: stripe.Int64(4),
},
}

//	params.ListParams.Limit = stripe.Int64\(4\)
//    params.Limit = stripe.Int64\(4\)

Question
The code above does not respect the limit of 4 that is set.
using Stripe-go version: 2025-07-30.basil

What have you already attempted?
I've tried a number of ways to set the Limit but none of them worked. Chatted for ages with the AI help and tried the few suggestions it made that actually reflected the latest SDK version.

What are you working on?
Preparing summary reports for our accountants to pull info from Stripe and put it into the accounting package they currently use. Not my idea.

#

@sleek topaz pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if (wasStatusChanged && subscriptionData.status === "active") {
const validTill = new Date(subscriptionData.current_period_end * 1000); // Stripe uses Unix timestamps
const lastSubscriptionId = subscriptionData.id;

            // Update profile subscription information
            profileWithCustomerId.subscriptionInformation = {
                validTill\: validTill,
                productId\: productIdOfSubscription,

Question
Firstly we were charging the user on the first step and getting the status of the subscription as active subscriptionData.status === "active" but now were are giving a free trial to a user and the status we are getting now is status: 'requires_payment_method', even though user has entered the payment details but as he is on the free trial and its payment intent is pending so do we use the status status: 'requires_payment_method', in our code to handle the free trial ?

What have you already attempted?
we are doing the freeTrial in the following way and expanding the expand: ['pending_setup_intent'] so we will get the client secrects and handling all the cases on our code but for the client side we need to handle the free trial case for that we are facing the problem i just explained

What are you working on?
we are working on a game in which we of the game modes are paid for that we are integrating the stripe

#

@heavy quiver pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{
"code": "promotion_code_invalid",
"message": "This promotion code is invalid.",
"type": "invalid_request_error"
}

Question
Our customer use promotion code. we use checkout page. users can not use promotion code. I checked code exactly.

What have you already attempted?
I make new promotion code. it works. but why it does not work previous code

#

⛔️ 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'll be back today at 2pm CET

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@surreal vigil pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
hello
I have an integration with stripe, that uses setup_future_usage: 'off_session',
based on the new klarna support for recurring payments, we added this option directly available when setting up the stripe options

Question
Last week this was working ok, but now, when I click on klarna icon, I get the error
At least one allowed country needed for BillingAddressForm component.

We never added allowedCountries as parameter until now. Is this a new enforcement, since right now

What have you already attempted?
Removing the setup_future_usage: 'off_session', fixes this issue, but than klarna will not be available on recurring payments

What are you working on?
an application that handles payments for connected accounts

cursive heronBOT
#

@solemn geyser pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I pass Return Url in the Invoice API so that when the Invoice URL is generated and payment is successful it redirects to that URL

Related Request ID(s)
pi_3RyAKADElReRDfDt1CfBf0zJ

What have you already attempted?
Checked API docs and parameters

#

@stiff inlet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a charge id (e.g. py_3RJ7bvAHqm7DWpwQ0TQjW0P4) and try to find a way to get the invoice_id of this charge via API

Related Request ID(s)
x

What have you already attempted?
I have not found any way to get the invoice_id based on the charge id

#

@tacit mango pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I set the Stripe connected account in the HTTP headers when triggering a test event?

Related Event ID(s)
na

What have you already attempted?
Debugged my .net app to ensure connected account is not found in testing the web hook.

What are you working on?
A custom integration for Stripe to QuickBooks payout for our franchisees.

#

@tawny musk pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to know if a customer has ever subscribed to a free trial so we prevent multiple free trial subscription. Unfortunately, we are using an old Stripe version (2014-08-04).

Related Request ID(s)
API related

What have you already attempted?
Since we are using an old stripe version, we can not use

`stripeClient->subscriptions->all(['status' => 'all'])`

because "all" is not yet supported. To work around that, we loop through available statuses.

`$statuses = ['active', 'past_due', 'unpaid', 'incomplete', 'incomplete_expired', 'trialing', 'paused'];`

and for each status we get subscriptions

`$subscription = stripeClient->subscriptions->all(['status' => $status])`

And check if `$subscription->trial_end` has a value.

But there's a problem. All $statuses does not returns canceled subscriptions.

What are you working on?
We have a free trial product and we don't want a customer to resubscribe to a product multiple times.

cursive heronBOT
#

@rich mortar pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.checkout.sessions.create({
customer: customer.id,
mode: 'subscription',
automatic_tax: {
enabled: true,
},
tax_id_collection: {
enabled: true,
},
customer_update: {
address: 'auto',
name: 'auto',
},
payment_method_types: ['card']});

Question
Hello, I am trying to enable automatic tax and tax ID collection through the stripe checkout session flow. The issue here is that it correctly shows the taxes being collected, but I cannot input any tax ID to be collected for the user when doing a checkout session.

What have you already attempted?
I followed the documentation from here: https://docs.stripe.com/tax/checkout/tax-ids

I either fetch existing users through stripeId or create them like this:
stripe.customers.create({ email: user.email });

#

@stoic latch pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
From around 14:00 Amsterdam time we're unable to receive ideal payments via stripe elements.

What actually happened?
Ideal does not show as an option in most cases, except sometimes sporadically but even when it does the api responds that `ideal` is not a valid payment method (even though it's available in the payment_method_types array)

Reproduction Steps
create a payment element with an account that has ideal enabled

Question
Is there some kind of issue with ideal payments in the stripe payment element?

#

@solar hollow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we're having issues with starting subscriptions and billing anchor dates. here's a scenario:

  1. our Platform stripe account is in EST. our customer operates in BST (London). there's no way to change the timezone for a specific express account.
  2. the current time is April 30th at 11:00pm in EST
  3. a subscription needs to be anchored on the 1st of the month in BST time so technically the current date is May 1st in BST

Related Request ID(s)
req_ePuJY7at4E5aV8

What have you already attempted?

  1. if we start the subscription with no billing_cycles_anchor (since it's technically May 1st in BST), then stripe anchors the subscription on April 30th since the platform's timezone is in EST.
  2. if start the subscription with an anchor date that ensures both EST and BST are May 1st, then either the client doesn't get charged immediately, or they get changed twice in the span of a couple hours (depending on the proration behavior), which we don't want.

What are you working on?
starting subscriptions via API anchored on the 1st in a different timezone than the stripe account.

#

@static apex pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a subscription product that bills monthly. Currently for all subscriptions I use a collection method of charge automatically with payment behavior default incomplete. When a customer wants to use my product they go through a flow that requires payment before being granted access (entitlement gain) to the product. I want to allow customers to pay manually rather than automatically attempting payment at the end of the billing cycle. Is there a way to enforce similar requirements as above but with a manual collection method?

Doc/Guide Links
https://docs.stripe.com/billing/collection-method, https://docs.stripe.com/api/subscriptions?api-version=2025-06-30.basil

What are you working on?
Subscription product with manual payments.

cursive heronBOT
#

@ancient tusk pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When upgrading subscription that has a discount. Proration takes discount into account.

What actually happened?
User upgraded a subscription and his proration did not account for the discount

Reproduction Steps
subcription id: sub_1RtQcWFqArqfkwbMQLg8Y1F7

proration event where they get prorated for $-27: evt_1RyCdYFqArqfkwbM6Ot6r1fI

prior event where you can see that his $50 sub has a $25 discount: evt_1RtQdUFqArqfkwbMx3szZJBV

Question
Shouldn't prorations take discounts into account? Did I miss a step or parameter?

#

@true escarp pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
" This email can't be used as it's linked to a business that uses single sign on with Stripe".

Question
How can i resolve the issue? I can't onboard an Express account

What have you already attempted?
I can't use a different email.
I can't use a different type of account, it has to be express.

Reproduction Steps
I can't use a different email.
I can't use a different type of account, it has to be express.

What are you working on?
To onboard an express account

cursive heronBOT
#

@bleak prairie pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I would expect proration to work like the following: a customer is on a $100 plan. They want to upgrade to a $150 plan on the last day before their existing plan renews. Since they have used basically 99% of their existing plan, I would expect the proration for the upgrade to be $50 – 1% of the time remaining on the existing plan.

What actually happened?
It appears that it treats the proration like they have been on the upgraded plan for 99% of the year and charges them much less, allowing them to then cancel the day later and get all the benefits (downloads, etc) of the upgraded plan at a fraction of the cost.

Reproduction Steps
Have a lower cost annual subscription and upgrade to a higher cost annual subscription.

Question
Am I incorrect? If not, is there a setting to make proration this way?

What are you working on?
New plans for our Font Awesome product and managing upgrades in the Billing Portal

cursive heronBOT
#

@viral spoke pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a company where I do a lot of projects for other companies. They are mostly websites, but also sometimes backend only or other integrations (they have nothing to do with website). Now I think about using stripe for them as well. I came across two methods on how I can handle payments in their name: They open up a stripe account and add my stripe account as "Developer" or they open up a stripe account and I add them into my stripe connect. But what would be the difference? When should I choose what? Should I prefer stripe connect instead of the other option? Is there some kind of checklist that I can go through to check if I need to use stripe connect or the other?

Doc/Guide Links
https://stripe.com/de/connect
https://support.stripe.com/questions/invite-team-members-or-developers-to-access-your-stripe-account

What are you working on?
A lot of customer projects

#

@bold remnant pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am trying to implement he pix method in my checkout. It is not being possible

Question
I am trying to implement he pix method in my checkout. It is not being possible

What have you already attempted?
Everything.

What are you working on?
E-commerce

#

@olive heron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
- Does this log mean a 3D Secure check has been triggered for the client?
- Is there a way to simulate a 3D Secure check locally?
-----
Some users are unable to complete checkout and there is no error message. My assumptions is that a 3D Secure check is triggered but my current checkout flow with Stripe Elements isn't working with that. I did some digging and I think it's the log req_PH6KNwuBdD7PAN. It says "status: requires_action".

  1. Is this related to 3D Secure check being triggered?
  2. Is there a way to simulate 3D Secure check locally?

Related Request ID(s)
req_PH6KNwuBdD7PAN

What have you already attempted?
Read the documentation

What are you working on?
Facebook SaaS

#

@tacit mango pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am unable to get the connected account for a stripe payout in test mode.

Related Event ID(s)
na

What have you already attempted?
Making sure I'm logged into the platform. Not specifying an account when listening.

What are you working on?
Stripe payout integration with QuickBooks for our users.

cursive heronBOT
#

@silver turret pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We use subscriptions. They are connected to SEPA incasso, charging automatically.

When our customers see the charge on their account, we would like to put the invoice number there.

Related Request ID(s)
-

What have you already attempted?
I tried making this work having a webhook listening to `invoice.created` then updating the `statement_descriptor` with the `invoice.number`. However it seems like the invoice.number is null while the invoice is not yet finalized but once its finalised the payment is immediately initialised.

Can I solve this ?

#

@primal flower pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The company.tax_id should be amended if we provide person.id_number for US sole_prop businesses according to: https://support.stripe.com/questions/signing-up-for-stripe-as-a-sole-proprietor-without-employer-id-number

What actually happened?
It still has that company.tax_id in the requirements but not the person.id_number after passing in the SSN

Reproduction Steps
We are using custom account and onboarding,
Created account in US with type=company and structure = sole_prop,
Created a person and set as representative and owner
Was asked to pass the full person.id_number and company.tax_id after a while
Passed the person.id_number but is still asking for company.tax_id

Question
Are we understanding it wrong or are we implementing it wrong is this a bug?

What are you working on?
A Payment App

#

@serene prism pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripe = new \Stripe\StripeClient($stripe_secret_key);
$calculation = $stripe->tax->calculations->create([
'currency' => 'sek',
'line_items' => [
[
'amount' => $amount_cents, // Use the same amount as in your PaymentIntent
'reference' => 'L1',
'tax_code' => 'txcd_99999999', // Use appropriate tax code for your product
'tax_behavior' => 'inclusive',
],
],
'customer_details' => [
'add

Question
if product price is 60, it is subtracting application_fee(platform fee), but not deducting the VAT

What have you already attempted?
$stripe = new \Stripe\StripeClient($stripe_secret_key);
$calculation = $stripe->tax->calculations->create([
'currency' => 'sek',
'line_items' => [
[
'amount' => $amount_cents, // Use the same amount as in your PaymentIntent
'reference' => 'L1',
'tax_code' => 'txcd_99999999', // Use appropriate tax code for your product
'tax_behavior' => 'inclusive',
],
],
'customer_details' => [
'add

cursive heronBOT
#

@pure crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to configure a billing email that is different than the customer email, so this billing email will be used by any stripe internal emails (reminder renewal, expiry, etc) related to the subscription.
By default it seems Stripe will use the customer email for subscription emails.

Related Request ID(s)
-

What have you already attempted?
I have inspected customer api but I can only find the main customer email.

cursive heronBOT
#

@meager crag pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe payment_links create --application-fee-percent 3 --currency "usd" --on-behalf-of "acct_fakeKYRf1ewCgI"

Question
Using the stripe cli, how can i create a payment link where the customer chooses what to pay? I am using Stripe Connect

What have you already attempted?
Looking through the docs. I see a way in the UI. https://docs.stripe.com/payment-links/create?pricing-model=customer-chooses, does not show api here

What are you working on?
People link for connected account where we make money for the payment link

#

@obsidian crystal pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
payment_intent_unexpected_state

Question
Seems to be an issue in our checkout page where payment intents being used to execute a payment via the python api are not working correctly. Here is an example PI that I'd like to know more about: pi_3RyE2oJHVyuda2Tn14sKuXKF

What have you already attempted?
nothing yet

Reproduction Steps
Error returned by the payment intents /confirm api endpoint

cursive heronBOT
#

@floral maple pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Checkout session > how can I display the Google Pay button instead of PayPal button

Question
Basically on the checkout session I want to customise the quick buttons that are displayed, currently it's showing as PayPal and Link and then google pay is one of the other payment methods when actually I want to have the Google / Apple pay as one of those helpful buttons

What have you already attempted?
I have already attempted to look for this in the dashboard but I can't seem to find anything? Also checked the docs

What are you working on?
My website project, can be linked if you want. Also see screenshot

cursive heronBOT
#

@grand moss pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm looking at using direct creation of one off invoices and subscriptions on my connected accounts as that seems to be the more correct fit for my use case. Since we want our platform to be mostly transparent so it seems like the customers are transacting directly with the connected accounts.

However, I know that we will need reporting on the payment processing fees charged to the connected accounts. How do I get a report of the fees charged by Stripe to a connected account?

In addition, we want to use the hosted customer portal. However, it's not clear to me that it works with Stripe Connect, as it only mentions working with `on_behalf_of` to take on the right branding.

Doc/Guide Links
* https://docs.stripe.com/connect/direct-charge-buy-rate-reporting-overview
* https://docs.stripe.com/reports/report-types/connect
* https://docs.stripe.com/customer-management/integrate-customer-portal#customize
* https://docs.stripe.com/customer-management/integrate-customer-portal#configure

What are you working on?
porting our billing system to Stripe

cursive heronBOT
#

@true cove pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
ctx := context.Background()
// Create the params with date filters
params := &stripe.CustomerListParams{
CreatedRange: &stripe.RangeQueryParams{
GreaterThanOrEqual: startDate.Unix(),
LesserThan: endDate.Unix(),
},
ListParams: stripe.ListParams{
Limit: stripe.Int64(4),
},
}
// Create a customer iterator
iter := s.client.V1Customers.List(ctx, params)

for customer, err \:= range iter {
          code to extract data
    }

Question
s.client.V1Customers.List(ctx, params) seems to be doing something strange. When I call it it generates 5 calls to the backend. Every call has the limit of 4 but the last 4 have a starting_after value. I presume the first 4 calls supply 4 records and the last one returns 1.

What I expected, and need, was 1 call that returned 4 records and if I wanted subsequent records I would need to call it again supplying the starting_after value myself.

What have I done wrong?

What have you already attempted?
I talked to someone on discord last night when I thought the limit parameter was not being honored. Subsequently I've noticed the multiple calls happening, when my code should only be making 1, which explained why I was getting more records than expected.
Logging in my code shows it only runs once so looks like the s.client.V1Customers.List(ctx, params) is doing it.

What are you working on?
Reporting to get Stripe data into the package the accountants currently use for all busines accounting here. No my idea.

cursive heronBOT
#

@crimson citrus pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are encountering a strange situation in which Stripe will send the payout.paid event BEFORE payment.succeeded events. One would expect that payouts will only be paid after payments have been concerned. Is this a bug or expected behavior?

Related Event ID(s)
pi_3RvfRWGjI2tB3ZJS0wg23HAm

What have you already attempted?
We have to delay our payout processing by 24 hours in order to make sure balance transactions include appropriate charges

What are you working on?
Trying to keep track in our backend of payouts and connected successful payments

cursive heronBOT
#

@gilded plover pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<PaymentElement onChange={() => setResult(null)} options={paymentOptions} />

const { error: stripeError, paymentIntent } = await stripe.confirmPayment({
elements,
clientSecret: invoice?.confirmationSecret || '',
confirmParams: {
return_url: window.location.href,
},
redirect: 'always',
});

Question
According the documentation: "Upon confirmation, Stripe automatically opens a modal to display the bank transfer details to your customer."
but this is not happen on my case, I'm always getting an StripeError from the confirmPayment method with the following code:
stripeError?.decline_code ='payment_intent_customer_balance_insufficient_funds')

What have you already attempted?
I tried to not interrupt the flow:
if (stripeError) {
if (stripeError?.decline_code === 'payment_intent_customer_balance_insufficient_funds') {
// Let Stripe continue its flow - don't set an error result
console.log('Bank transfer initiated - waiting for Stripe modal');
return; // Exit early, let Stripe show the modal
}

What are you working on?
Stripe invoices integration

cursive heronBOT
#

@thick solar 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/apple-pay

Question
Hello good afternoon, currently i have done the integration with apple pay following this guide and i have successfully created a stripe payment intent. The issue is just as the documentation says of course we cannot test with a test card apple pay. That is not the issue I just want you guys to clarify one thing to me. The payment intent I created has status as incomplete and no payment method attached. And i just want to make sure that is intended on testing or if there is something that i perhaps am missing.

What have you already attempted?
Integrated apple pay,

What are you working on?
Testing apple pay for my ios app

#

@meager crag pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe payment_links create --application-fee-percent 3 --currency "usd" --on-behalf-of "acct_1RKKYDRfaR1ewCgI"
-d "line_items[0][price]"='price_1RyIjPDCuRuHsY0oqWhjQJ6R'
-d "line_items[0][quantity]"=1 --live

Question
I am trying to run this against my real production account but it keeps running in test mode. i even ran it with the api-key and the same problem exists

What have you already attempted?
when i do stripe login, it only allows me to select the test accounts

#

@elfin jungle pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Alas, I must have unrealistic expectations… I ordered a S700 DevKit, have built my Apps on Devices App over the last few weeks, and simply want to test my full deployment before submitting for App Review.

Instead, I have been ping-ponged between Stripe Support and Sales for over a week to simply get access to the Deploy API that is in private preview.

What actually happened?
Let’s see — imagine you spent $ and time on a DevKit you cannot actually use because (A) Stripe support routing is convoluted, (B) you are an experienced developer, following all API and SDK guidance, but hit a known issue where the device type itself (the one Stripe sent you) is restricted from the normal compatible device list by default.

Reproduction Steps
Order DevKit
Spend weeks coding with the Terminal SDK
Deploy and test locally
Contact Support, oh wait Sales, oh wait a specialized team, oh wait you need a dedicated representative, only to be thrown in a queue re-explaining the same issue to different people
Cry into the deep dark void
Delay Apps on Devices App release to demo to customer with no ETA

Question
My question is simple — and it was mentioned in my last thread here on Discord (which is closed and cannot be updated).

WHO can actually help assist me with simply getting access to the unlock the functionality of my DevKit. Your documentation says HandoffDiscoveryConfig, but your OWN DevKit is not even on the list of devices s700 vs s700_devkit).

What are you working on?
Currently I am working on bashing my head into a wall. I see the answer right in front of me. Use the Deploy API.

#

@tranquil panther pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why is the email I am using with my successful payments when collecting payments using a checkout session?

Related Request ID(s)
cs_test_b1GaEMZd7EF5CQnwOsUThMMD8kDHW1SBcvcsHzNgx7JjrcqAvNPpJA4NxZ

What have you already attempted?
I have Customer Emails -> Payments -> Successful payments toggled on in Live Mode. In test mode it's disabled from editing but says on

cursive heronBOT
#

@snow quartz 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-ios/tree/master/StripeCardScan

Question
I can see the GitHub link of the Stripe CardScan SDK for iOS and Android but not for React Native. Do we have this SDK for React Native yet?

What have you already attempted?
I've searched on the Stripe RN GitHub but could not find this

What are you working on?
I want to implement a card scan feature

#

@stark harbor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Need help with the flow for surcharged credit cards (part of the early access) . Currently I create the surcharge in the UI as we support Credit Cards or ACH and total in UI needs to reflect surcharge only for CC's.

Current flow:
- create stripe payment element & mount
- on Submit:
- call elements.submit
- call stripe.createConfirmationToken
- call my backend and create/load customer, create & confirm paymentsIntent

How should I integrate the new surcharge API into this flow?

Related Request ID(s)
various

What have you already attempted?
I've read the docs multiple times

What are you working on?
Custom GoHighLevel integration for Stripe + Surcharging

cursive heronBOT
#

@crude saffron pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I get Link to appear on my staging site via ExpressCheckoutElement?

We currently have it enabled as one of the payment methods. We've registered our domain (confirmed because we can see Apple Pay).

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element

What are you working on?
Testing if we could integrate Link as one of payment methods

cursive heronBOT
#

@vocal wagon pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
After re call the element.confirm() method due to invalid postal code the checkout page should not stuck and successful payment.

What actually happened?
After entering invalid postal code and click on pay now button, the element.confirm() method is call and it returns the error of postal code. After adding valid postal code and clicking on pay now the confirm() method has unexpected behavior and stuck on the checkout page for some time and after that payment is successful.

Reproduction Steps
Mount the element
Enter invalid postal code and clicking on pay now
Stripe return error
Enter valid postal code
Clicking on pay now

Question
After entering invalid postal code and click on pay now button, the element.confirm() method is call and it returns the error of postal code. After adding valid postal code and clicking on pay now the confirm() method has unexpected behavior and stuck on the checkout page for some time and after that payment is successful.

#

@split bloom pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
There was an error. Please try again, or visit www.distrokid.com/contact if it still isn't working

Question
I'm trying to update my card after it declined, it won't, even though I have the money for it, if this doesn't resolve I can't have my music up, I've done research and they said to come to stripe instead of distrokid.

What have you already attempted?
Ive researched and people say they have dealt with it before and it's not the banks fault, they said to contact stripe instead

cursive heronBOT
#

@lunar surge pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
invalid_request_error - country
CN is not currently supported

Question
Why China country is not supported, while CNY china currency is supported

What have you already attempted?
i haven't try anything yet

Reproduction Steps
api.stripe.com/v1/country_specs/CN just send this request and should get the same error

What are you working on?
im trying to get country information to get currency for this country

#

@unkempt edge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When testing current integration with ACH microdeposits I am not receiving an email to verify the microdeposit.

Related Request ID(s)
acct_1OpBSLF8iECHoKbK

What have you already attempted?
I have tried to send the email ignasi.dedieu+test_email@sage.com and ignasi.dedieuburrel+test_email@sage.com but I am not receiving anything. Am I missing something?

#

@snow quartz pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Your app's ConnectionTokenProvider did not call the provided completion block within 60 seconds.

Question
This error happen in the React Native iOS app using the latest RN Stripe Terminal SDK version 0.0.1-beta.25. I don't see any documentation for it. So may I ask what caused this error to happened?

What have you already attempted?
I have check the Stripe Terminal React Native docs but it doesn't mention this error.

Reproduction Steps
Not sure how it happened, I gathered this error from my logging system

What are you working on?
I'm implementing the Tap To Pay feature for my React Native app

cursive heronBOT
#

@olive plaza pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Before:

$tax_amount = $invoice->tax;

Now:
private static function getInvoiceTotalTaxAmount(Invoice $stripe_invoice): int
{
$total_tax_amount = 0;

    $total\_taxes = $stripe\_invoice\-\>total\_taxes;

    if \($total\_taxes === null\) {
        return 0;
    }

    foreach \($total\_taxes as $total\_tax\) {
        $total\_tax\_amount += $total\_tax\-\>amount;
    }

    return $total\_tax\_amount;
}

Question
How to get the invoice total tax amount?

What have you already attempted?
That's my implement. But I'm not sure.

Follow the doc:
Replace invoice.total_tax_amounts[0].amount with invoice.total_taxes[0].amount (after verifying that invoice.total_taxes[0].type is tax_rate_details)

What are types of taxes there?

What are you working on?
Update API version

cursive heronBOT
#

@white quail pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using paymentIntent on_behalf_of a connected account so I can later make transfers to other connected accounts related to this payment (using seperate charges and transfers). But how can I check the balance of this payment (how much is left) ?

Related Request ID(s)
pi_3RnfM8QG6G0kBU390jYEDIXc

What have you already attempted?
I have check the balance of the connected account but it returns 0 even if there is still money available.

What are you working on?
Building a platform where I can refund retailers for the use of coupons

#

@hidden moss pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We verify ACH direct debit using microdeposits and we have been doing it via descriptor code verification. However we recently stumbled across a case where another verification method was being used by using amounts. Is there any way we can instruct Stripe to always use verification via descriptor code or we should be handling both forms in our integration

Doc/Guide Links
https://docs.stripe.com/payments/ach-direct-debit/set-up-payment?platform=react-native#react-native-verify-with-microdeposits

What are you working on?
Verifying ACH direct debit bank account

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're currently offline. We'll be back today at 2pm CET.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

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?
I want to display paypal only in the Express Checkout Element.

What actually happened?
If I use Payment Element with Express Checkout Element in the same page, the paypal button renders 2 times (inside payment element and in Express Checkout Element). Also, sometimes the paypal button renders only in the Payment Element and never in Express Checkout Element. I don't have any issue with outher wallets.

Reproduction Steps
Use the Payment Element with Express Checkout Element in the same page.

Question
How can I disable paypal rendering in the Payment Element and render only in the Express Checkout Element?

#

@quaint basalt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've created 3 coupons (
MOUNJARO199OFF (£199.00 off), FREESPECIAL (£6.99 off), INCREASEOFF10 (£10.00 off)). When the FREESPECIAL discount is added to a subscription, it doesn't take off £6.99 but rather only £0.55. Is there any reason behind this? I've created a discount to take off £4 for the delivery and it seems to work but not for £6.99.

Related Request ID(s)
https://dashboard.stripe.com/test/payments/pi_3RyWOeLyqQB1PUwH0lXXpkLc

What have you already attempted?
I've created a discount code that is less than £6.99, I've attempted £6.98 but doesn't show the actually money off. I've tried £4 and that seems to work as expected.

What are you working on?
I've worked on the ability to stack discount codes on a subscription, so for instance being able to have a partial or full discount on delivery and price difference

#

@tepid trench pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
User have created the subscription he has paid first payment ,at the time of 2 payment i thought that it was automatically deducted as i created the subscription

What actually happened?
the payment wasn't deducted

Reproduction Steps
created subscription and user has paid the payment first time

Question
I have notice that payment wasn't successfull of user and its shows the message that
payment for an invoice for USD 1.00 requires a verification step by the user
its shows that user need to add otp ,fingerprint for sucess but i want that payment will automatically deduct for subscription without user permission

#

@full harness pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I obtain the discount amount applied on a price upgrade, when there is a proration?

Related Request ID(s)
req_585vNNV9kalhlB

What have you already attempted?
- Read the docs on the create invoice preview call
- Attempted several calls with different parameters: no proration, always_invoice prorations, downgrading prices, no coupon

What are you working on?
Integration to the Stripe API for our web app billing system

cursive heronBOT
#

@molten rock pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
"code":
"stripe_tax_inactive",
"doc_url":
"https://stripe.com/docs/error-codes/stripe-tax-inactive",
"message":
"Stripe Tax n'est pas pris en charge dans le pays de votre compte. Consultez la liste complète des pays pris en charge sur la page : https://stripe.com/docs/tax/supported-countries",
"message_code":
"checkout_automatic_tax_merchant_unsupported_country",

Question
Stripe docs state that Stripe Tax works in Mexico with automatic_tax=true, but when creating a Checkout Session for a Custom account in MX (MXN), the request fails with an error. Additionally, the Dashboard for this Custom account shows no Tax settings, which contradicts the documentation.

What have you already attempted?
Please confirm if Stripe Tax and automatic_tax are supported for Custom accounts in Mexico. If not, update the documentation or provide a workaround. If it should work, could you help identify why the error occurs and why Tax settings are missing in the Dashboard?

cursive heronBOT
cursive heronBOT
#

@ivory fjord 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/direct-charges-multiple-accounts?lang=node#clone-and-create-direct-charges

Question
I want to use direct payments for my connected accounts, and also payments to my platform account.
My app allows users to subscribe to my platform and also purchase from connected accounts. I was wondering what the best way to do this would be. I use React Native and aws lambda in node.js for the backend

What have you already attempted?
Everytime a user visits a connected accounts menu I check if the user is created on that connected account and if not then I create them using the customer on my platform account. Then I use the payment methods attached to the customer on my platform account and clone them to the connected account customer record. I then want to display a customer sheet where the user can choose which card to pay from, but if they add a new card then that breaks the flow since it’s not the “master record” on my platform account so the user can’t use it at another location and would have to re enter the info

What are you working on?
Platform where user can order from multiple connected accounts using direct payments

#

@craggy vigil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Working on integrating digital wallet payment methods within our custom checkout using Stripe. Currently working in test mode in local development and after enabling Apple Pay, Google Pay, and Link - only see Google pay as an option

Related Request ID(s)
N/a

What have you already attempted?
I've enabled the payment methods within Stripe > Settings > Payment Methods

Ensured payment method domains are configured (considered working as google pay displays)

Example React Stripe PaymentElement code:
```
<PaymentElement
options={{
wallets: {
applePay: 'auto',
googlePay: 'auto',
link: 'auto',
}
/>
```

#

@minor sage pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We use Stripe Connect. I want to get access to the "Logs" section of the merchant dashbords via the API. Mainly because I want API access to see a log of all account updates (like payouts paused, resumed etc). The webhooks seem to do most of it, but in the logs section you can see who initiated the request, in the webhook, I couldn't see that

Related Event ID(s)
evt_1RxQDlR0KyttiqRb0GAQKluF

What have you already attempted?
Just using the webhook response

What are you working on?
An "account updates" monitor on our client's dashboard

cursive heronBOT
#

@feral kayak pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
BankAccount bank = (BankAccount) customer.getResource().retrive(bankId);

Question
For BankAccount verify we are using customer.getSource() method previously but i upgrade striper versio to 29.3.0 not it is getting null

What have you already attempted?
I tried with expand but doesn't work