#dev-help

1 messages · Page 104 of 1

cursive heronBOT
#

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

Question
I created an account for testing and I was unable to enable: "Process card information directly", how can I do this just to enable it for testing?

Related Request ID(s)
req_sOs2M8LflZ2KqD

What have you already attempted?
I sent a request by email, but I didn't know what to fill in, I kind of sent it automatically, can you help me?

What are you working on?
Working to see if it is easy to develop the api

cursive heronBOT
#

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

Question
Hello. We're migrating to the new accounts API and onboarding flow for Stripe Connect / Express Accounts from the old OAuth Flow. We see in the new express signup link that the country cannot be selected and it requires us to pass in the country code when creating the account. Is there a way to have it like the old OAuth express link where the user can fill it in the stripe hosted express signup page form?

Related Request ID(s)
N/A

What have you already attempted?
Trie to pass `country_code: nil` or leave it blank but it defaults to our platform country code, the 'US'

What are you working on?
Migrating to new Account Onboarding API

#

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

Code
Hello i wanna control my risk Assessment by myself

Question
I wanna control risk assessment by myself and remove the block card with risk rate high because some people are trying to buy from antoher country at vacation and it gets decline

What have you already attempted?
I tried it said i need to contact support

#

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

Question
In our reselling system, users can list products that are always listen in GBP.
Sellers can request payouts in their own currencies which is not a problem.
But when payout fails, due to any of the reasons like mistake in bank details, the amount that comes back to the seller's connected account is converted to currency of choice, and mismatches the amount we attempt to process on re-tries.

Related Request ID(s)
req_8UPqtJlZW0SD6A

What have you already attempted?
How to correctly handle this via webhooks integrations?

What are you working on?
Payout processing, for reselling platform.

#

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

Question
am using stripe payment request button for stripe googlepay integration, will this integration supports in IOS phone chrome mobile browser?
am getting canMakePayment response googlepay as false, even https://docs.stripe.com/testing/wallets?ui=payment-request-button-element not displaying googlepay button
am using IOS version:16.5.1(20F75)
Model name: iPhone X
payment method added in browser seetings

Related Request ID(s)
@codename_duchess am using stripe payment request button for stripe googlepay integration, will this integration supports in IOS phone chrome mobile browser? am getting canMakePayment response googlep

What have you already attempted?
no

#

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

Question
Hi!

We talked last week about this issue:
“When a customer pays with MobilePay in our restaurant app, they’re sent out of the app to MobilePay’s site. After payment, they’re not returned to the app, so users may not realise their order was created.”

You guys told me to check if other methods direct customer correctly back to the app and now I got to test them and they indeed work as intended so seems like the problem is in the MobilePay

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

What are you working on?
Menu ordering application for restaurants, react native. stripe connect platform

cursive heronBOT
#

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

Question
Subscription recurring payments via IOS sdk

Related Request ID(s)
main docs

What have you already attempted?
I am trying to add subscription trial options to mobile type of checkout - the normal flow is ok but when I have trial it is failing

#

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

Question
I currently have this integration built for our platform:

- when a new user onboards to the platform, we automatically create a $0 subscription for them and internally grant credits to their account. For example, $10 subscription == 10 credits, $20 == 20 credits. When they do certain things on our platform, we then decrement credits.

- We are currently tracking the credits internally in an internal ledger. However, I'm reading up on the credit transaction/balance API, and I realized that this API could potentially replace our internal ledger completely. Is this a better path for us?

Related Request ID(s)
n/a

What have you already attempted?
Read https://docs.stripe.com/api/billing/credit-balance-transaction/object

What are you working on?
Invoices, credit balances, checkout session

cursive heronBOT
#

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

Question
We are development of Freelancing Platform, we are done with Create an account (Service Provider) now for payout Service Provider account needs bank account to withdraw the amount so from which API we can add the account information to get the payout ?

Related Request ID(s)
req_VAqg9x9p9RiTVw

What have you already attempted?
Payout integration

cursive heronBOT
#

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

Question
Is there a way to disable 3des?

Related Request ID(s)
pi_3SBj4JQwKOCkCcWT0uPfNpW7

What have you already attempted?
We are assessing if we need to change the transaction flow.

What are you working on?
Vehicle rental application We have a two step process for a vehicle rental: step 1 card is inserted into terminal reader and creates a stripe customer, stripe payment method and $1 payment intent .

#

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

Question
I am looking to decide which which to use to manage subscription payments for customers of my SaaS application.

Doc/Guide Links
https://docs.stripe.com/payments/checkout
https://docs.stripe.com/api/checkout/sessions
https://docs.stripe.com/customer-management/configure-portal
https://docs.stripe.com/api/customer_portal/sessions

What are you working on?
My application does all the user signup, user & subscription management, I want one user the identified as the 'billing_contact' to be able to manage payment_methods to ensure payments are made and to be able to download invoice

#

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

Question
Hello, I am trying to find the best Stripe features to build a subscription model that works as such:

  1. I create the customer in my system with their agreed upon tier.

  2. The customer will be billed monthly based on the tier they are using.

  3. If the customer wants to purchase add-ons to their platform they are able to do this through our portal.

  4. the customer will be billed for their add-ons on the next billing cycle, but have access to the add-on immediately.

  5. The invoice they are sent monthly will display all licenses/subscriptions that were purchased at that time.

Note: the customer is able to downgrade, cancel or remove add-one licenses as any time

Doc/Guide Links
https://docs.stripe.com/billing/entitlements

What are you working on?
Platform for safety teams to manage incidents.

#

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

Code
payment_method_types = ["card"]

    if \(
        self.company.country.code == settings.SWEDEN\_COUNTRY\_KEY
        and self.company.currency\_code == Company.Currencies.SEK
    \)\:
        is\_swish = True
        payment\_method\_types.append\("swish"\)

Question
Talking to your customer support they share that we're able to send the swish payment request to a particular phone number, but your support refer to information which doesn't exist in your official documentation

What have you already attempted?
https://docs.stripe.com/payments/swish/accept-a-payment

What are you working on?
A platform connecting personal trainers with athletes

cursive heronBOT
#

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

Question
I am having an issue integrating Stripe with my Base 44 app, I've troubleshooted through Chatgpt, the app, manus, base44 help desk, and nothing is working. When someone checks out on the app, the app is saying the payment isn't verified, and reloads with an error message. The customers were showing up on Stripe, but now they are not- I NEED HELP

Related Event ID(s)
function?

What have you already attempted?
redid webhooks, replaced the code for the syncbillingwithstripe function, everything i can think of

What are you working on?
real estate referral app

cursive heronBOT
#

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

Question
We have a custom Stripe integration for US ACH. Customers first add their bank account using Setup Intents, and once contracts are signed, we create Payment Intents to charge them on a recurring basis (annual or quarterly). Transaction events (success/failure) are tracked through webhooks and the flow works smoothly. Now we’re exploring ACH Same Day settlement with stripe. Queries (1) does PaymentIntent status update to succeeded next day on faster settlement, or remain pending until bank confirmation? Failure same path(2) are any changes needed in PaymentIntent API parameters for Same Day ACH

Related Request ID(s)
NA

What have you already attempted?
I’ve checked the Stripe docs and also checked with Stripe’s AI, and from what I can tell no changes are required — just wanted to confirm if that’s definitely the case.

What are you working on?
Faster settlement investigation for Custom Stripe integration for US ACH

cursive heronBOT
#

@frigid 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/rate-limits

Question
I have two related questions regarding retrieving historical data:

- Is there a way to check how many read API requests are remaining for my account at a given time (similar to a “remaining quota”)? Or is the only option to track this usage ourselves?
- For historical data access, is the API the recommended approach, or would it be better to use the Dashboard export tool (e.g., exporting all invoices or subscriptions) to avoid hitting read API request limits? Are there any limitations when using the Dashboard export option for a full data dump?

What have you already attempted?
I have tried retrieval of small data using both methods via api and export via dashboard but wanted to make sure before doing a full dump

cursive heronBOT
#

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

Question
I'm currently coding a system where people can add *cards* (Payment Methods) to their account and automatically pay their invoices with that, but for stuff that are setup via iDeal for example transition to a SEPA. What is the best way of including all Payment Methods into my application?

Doc/Guide Links
https://docs.stripe.com/payments/ideal/set-up-payment

What are you working on?
I'm the maintainer of Paymenter

#

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

Question
Stripe connect account multi currency settlement is enabled, on one of our connect accounts we are able to add another currenct bank account via the stripe connect payment element but in another it is not showing the option and it should be available as it's a UAE account which it says in the doc is accepted.

Related Request ID(s)
N/A

What have you already attempted?
Example of a connected account where it has worked: https://dashboard.stripe.com/acct_1QlyufKDd1kAmdwu/connect/accounts/acct_1SAo0FK1IG2Gkdnv/activity?returnParams[polyjuice][accountId]=acct_1QlyufKDd1kAmdwu

Example where it is not showing option: https://dashboard.stripe.com/acct_1QlyufKDd1kAmdwu/connect/accounts/acct_1SBrxdGlW94LWxbf/activity?returnParams[polyjuice][accountId]=acct_1QlyufKDd1kAmdwu

What are you working on?
A SaaS platform that uses stripe connect and enables its customers to receive payouts

#

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

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

Question
When upgrading subscription to one price to a higher price, will stripe charges it immediately? I mean when the update call returns, does it contains the status of the upgrade or the upgrade runs in background? I want to make the flow synchronous to avoid race conditions

What have you already attempted?
Nothing, Just implemented upgrade bu haven't handle failures

#

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

Error Message
This application does not have the required permissions for this endpoint

Question
How do I enable Stripe Identity for my account? I'm getting a permissions error when trying to create verification sessions. I believe i already enabled it.

What have you already attempted?
What have you already attempted:

Activated WooCommerce Stripe Gateway plugin
Confirmed API keys are working (other Stripe API calls succeed)
Tried to create Identity\VerificationSession but get error: "This application does not have the required permissions for this endpoint on account 'acct_1SBN35EctHJRYZAs'"
Looked for Identity settings in dashboard but couldn't f

#

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

Question
index.js:40 Uncaught TypeError: appInstall.setApp is not a function
at d0NX4.@stripe/connect-js (index.js:40:12)
at newRequire (public.4211bbe3.js:84:24)
at public.4211bbe3.js:191:5
at public.4211bbe3.js:210:3

Cannot run:
```
const appInstall = instance.create('app-install');
appInstall.setApp('com.chargeblast.cbalert');
```
Following: https://docs.stripe.com/connect/supported-embedded-components/app-install

Related Request ID(s)
n/a

What have you already attempted?
tried following docs

cursive heronBOT
#

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

Question
customer.subscription.paused triggered but no actual pause was requested. I'm not able to find the request related to the pause or any other request made the same date the webhook got triggered.

Related Event ID(s)
evt_1SBJ2OBsYzIqHjobdEZlSxRY

What have you already attempted?
Looked through the logs for the subscription object but I didn't find any request made the same date the subscription got paused.
I'm also unable to unpause the subscription directly from the dashboard.

cursive heronBOT
#

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

Error Message
no error message pop up

Question
I am trying to save an update to Customer Portal for a client whose account I am connected to, but it won't save on mine, nor theres.

What have you already attempted?
I tried from my connected account, they tried from their regular admin account.

Reproduction Steps
Settings > Billing > Customer Portal > Toggle on Allow customers to update payment methods > Save

What are you working on?
Maintaining Connected account to PubGen Platform, making changes through connected account doesn't do anything.

cursive heronBOT
#

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

Question
Payment Split in Checkout Session

Related Request ID(s)
0000

What have you already attempted?
I'm implementing integration via checkout session, I couldn't find in the doc how to split payments when I create the link to checkout

cursive heronBOT
#

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

Question
Can I use a checkout session for a customer to upgrade their subscription? How do I specify that it's a subscription update instead of a new subscription?

I'm thinking about using the

Is the better alternative here to use customer portal instead?

Related Request ID(s)
n/a

What have you already attempted?
Read the documentation on the checkout session API, customer portal, and subscriptions and invoices

What are you working on?
customer upgrading subscription flow

cursive heronBOT
#

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

Question
Unable to find delivery confirmation of a certain webhook

Related Event ID(s)
evt_0S1Cy3qWxM0n7YqDbWoD8CTN

What have you already attempted?
Looked into Stripe's logs and our systems' logs and we are unable to find the webhook for the above event (subscription.created). This is very important for our workflow since we depend on Stripe hooks to create subscription records on our end. This seems to be more of an isolated event since we do see webhooks getting delivered properly for other events but just worried why this was not delievered and curious to know if there were other failures. We are unable to see the delivery log in stripe since its over 30 days.

What are you working on?
Subscription workflow

cursive heronBOT
#

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

Code
const session = await stripe.checkout.sessions.create({
mode: 'payment',
line_items: [{
price_data: {
currency: 'jpy',
product_data: {
name: 'Outlet Usage Fee',
description: 'Outlet usage for up to 1 hour',
},
unit_amount: 100,
},
quantity: 1,
}],
success_url: 'https://example.com/success',
cancel_url: 'https://example.com/cancel',
locale: 'ja',
});

Question
Google Pay button appears on desktop Chrome but not on Android smartphones. How can I ensure it appears on both platforms?

Environment: JPY currency, ¥100 payment, locale: 'ja', API version: 2024-04-10

What have you already attempted?
Tried removing payment_method_types: ['card'] to let Stripe auto-detect available methods, but Google Pay still doesn't appear on Android.

What are you working on?
EV charging platform - users scan QR codes to pay ¥100 for outlet usage. Need Google Pay support for mobile users.

cursive heronBOT
#

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

Error Message
Your card number is incomplete

Question
I am using the stripe element in the qwik language. When i use the invalid card first and then use the valid card then i got the error that
"Your card number is incomplete "
If i reload the page and use the valid card first time then works.
- i posted this error yesterday but bot block me that's way again posting.

What have you already attempted?
I try to rerender the element but not solved

#

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

Question
We are trying to implement confirm payment intent using stripe sdk

Related Request ID(s)
We are trying to implement confirm payment intent using stripe sdk

What have you already attempted?
Before sending transaction to device , we create paymentIntent
After creating payment intent status = "requires_payment_method"
As a next step we called confirm Payment Intent , with MCC option , but we receive an error as
Stripe.StripeException: 'You cannot confirm this PaymentIntent because it's missing a payment method. To confirm the PaymentIntent with cus_SVvtw4YWa4gCh4, specify a payment method attached to this customer along with the customer ID.'
So, as a try , we tried confirm payment intent after transaction get completed on device , and receive an error as
Stripe.StripeException

What are you working on?
We are trying to implement confirm payment intent using stripe sdk

cursive heronBOT
#

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

Question
Which version of the Stripe Android SDK supports a 16 KB memory page size?

Related Request ID(s)
Android 16 KB memory Page

What have you already attempted?
Not yet attempted

What are you working on?
Updating Stripe SDK in an Android app with 16 KB memory page support.

cursive heronBOT
#

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

Question
We tried updating a Stripe subscription’s cancel date using the standard API but got a validation error since it was created via a schedule. Using the schedule update API worked. While updating active scheduled subscriptions, proration charges applied despite proration_behavior: none in the phase item. Passing it at the root level fixed it. Also, for some active scheduled subscriptions, proration charges were auto-removed after some time, but not for all. Does this mean phase-level proration applies only during schedule-to-active transition, while active updates rely on the root-level setting?

Related Request ID(s)
evt_1SCbDGCScnf89tZoedZaL34O, evt_1SCbItCScnf89tZoO5xmjsoh

What have you already attempted?
We initially tried using the regular Stripe Subscription Update API, but it returned a validation error since the subscription was created via a schedule. We switched to using the Schedule Update API, which allowed us to update the cancel date and subscription items. To avoid proration charges, we first set proration_behavior: none inside the phase item, but proration still occurred for active scheduled subscriptions. We referred to Stripe’s Update Subscription Schedule and Proration Behavior docs. Finally, we tried passing proration_behavior: none at the root level, which resolved it.

What are you working on?
We’re implementing a feature that allows users to update or edit subscription items with proration charges set to none.

cursive heronBOT
#

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

Question
Hi 👋

I’m building a marketplace with Stripe Connect and I have a question:

Is there a way to let my sellers start selling right away without having to complete their account verification upfront?
Ideally, I’d like to defer the verification step until a later stage (for example, when they request a payout), instead of forcing them to go through the onboarding flow before they can list or sell.

Right now, I can’t figure out how to achieve this, because it seems that I need an acct_id in order to proceed, and that’s only issued after the account verification is completed.

Has anyone implemented something like this or found a workaround?

Thanks in advance 🙏

Doc/Guide Links
https://docs.stripe.com/connect/identity-verification?locale=fr-FR

What are you working on?
Marketplace

#

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

Question
How can we add preauthorization to trial based subsciptions
On Day 0 (form submission), the trial subscription should be created as it is currently.
Then, on Day 1, I want to create a PaymentIntent for the full subscription amount of the first rebill (for example, £19.99), with `capture_method=manual`.
And then on Day 7 (trial end):
If subscription active → capture the existing PaymentIntent.
If cancelled during trial → cancel the PaymentIntent (funds are released

Related Request ID(s)
none

What have you already attempted?
I created a new endpoint to create a paymentIntent on the day 1 of trial

What are you working on?
I am working on stripe api using php in wordpress

cursive heronBOT
#

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

Error Message
okay, my webhook works perfect locally on 3000 port
but deployed hook does not work, all events through out with 400 code

and response

```
{
"message": "Webhook signature verification failed",
"error": "Bad Request",
"statusCode": 400
}
```

Question
I do not understand how could I fix this issue

What have you already attempted?
Some test version on NestJS

What are you working on?
NestJS

cursive heronBOT
#

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

Code
// Step 1: Create customer if not exists
$customer = $stripe->customers->create(....);
$subscription = $stripe->subscriptions->create([]);
$invoice = $stripe->invoices->retrieve($subscription->latest_invoice->id, [
'expand' => ['payment_intent'],
]);
$clientSecret = $paymentIntent ? $paymentIntent->client_secret : null;

But i always get null....

Question
Hello. Trying to build "ApplePay" button for subscription product. But i cant get client secret and pass back to front-end.

What have you already attempted?
Tried chatgpt, that that also didnt help :D

cursive heronBOT
#

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

Code
create_preview(
params={
"customer": customer_id,
"subscription": subscription_id,
"subscription_details": {
"items": [
{
"id": subscription_item_id,
"price": new_price_id,
"quantity": new_quantity,
}
],
"proration_date": int(ti

Question
Hi, I am building a Stripe integration and want to display an invoice preview to the user.

However, when creating an invoice preview with `proration_behavior=always_invoice`, the [InvoiceLineItem](`https://docs.stripe.com/api/invoice-line-item/object?api-version=2024-10-28.acacia#invoice_line_item_object-description`) is not localized according to the customers `preferred_locales`. The documentation states "Often useful for displaying to users." however that is not desired

What have you already attempted?
Creating the invoice preview in Python

What are you working on?
I am building a Stripe integration and want to display an invoice preview to the user.

#

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

Question
we are currently using stripe elements in our checkout page upon filling details we are calling stripe setupintent and confirmsetupIntent for 0$authorization, when user doing autofill with faceID in safari, we are getting hcpatcha.com/authenticate error and page is breaking because of stripe Radar Rules. How to handle this scenario?

Related Request ID(s)
stripe autofill issue in safari

What have you already attempted?
we are currently using stripe elements in our checkout page upon filling details we are calling stripe setupintent and confirmsetupIntent for 0$authorization, when user doing autofill with faceID in safari, we are getting hcpatcha.com/authenticate error and page is breaking because of stripe Radar Rules. How to handle this scenario?

cursive heronBOT
#

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

Question
I am trying to access https://api.stripe.com/v2/core/account_links, but I keep getting "Permission denied. API Key does not have permission to access account acct_1N**********CVdK. To make an authorized request, make sure that the API Key making the request has the correct permissions for the resource in the API call. In some cases, you may also need to supply an Account ID in the Stripe-Context header."

I have enabled the account to use Accounts v2 preview. Some v2 endpoints work, other do not.

Related Request ID(s)
req_v2CQutXQNOAZ1Fobr

What have you already attempted?
Multiple other endpoints. Seems many v2 endpoints do not work.

#

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

Code
$customer = $stripe->customers->create();
$subscriptionSchedule = $stripe->subscriptionSchedules->create();
$subscription = $stripe->subscriptions->retrieve($subscriptionSchedule->subscription, []);
$invoice = $stripe->invoices->retrieve($subscription->latest_invoice, [
'expand' => ['confirmation_secret'],
]);

Question
Hello. Trying to get client_secret from confirmation_secret. But confirmation secret is returned as NULL.

What have you already attempted?
Trying to create subscription schedule via Apple Pay and i need to return client secret to front-end.

cursive heronBOT
#

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

Question
We are currently facing an issue with the Stripe integration related to the PaymentIntent confirmation process MCC.

Related Request ID(s)
We are currently facing an issue with the Stripe integration related to the PaymentIntent confirmation process MCC.

What have you already attempted?
We are currently facing an issue with the Stripe integration related to the PaymentIntent confirmation process MCC.

What are you working on?
We are currently facing an issue with the Stripe integration related to the PaymentIntent confirmation process MCC.

cursive heronBOT
#

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

Question
generated_card is not added in the payment intent api response.

Related Request ID(s)
req_8m5JOhv5MxiSGv, req_S0gttIlPaEsKk4

What have you already attempted?
Tried setup_future_usage still no luck

What are you working on?
Stripe Terminal POS

#

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

Error Message
we are getting hcpatcha.com/authenticate error

Question
we are currently using stripe elements in our checkout page upon filling details we are calling stripe setupintent and confirmsetupIntent for 0$authorization, when user doing autofill with faceID in safari, we are getting hcpatcha.com/authenticate error and page is breaking because of stripe Radar Rules. How to handle this scenario?

What have you already attempted?
we are currently using stripe elements in our checkout page upon filling details we are calling stripe setupintent and confirmsetupIntent for 0$authorization, when user doing autofill with faceID in safari, we are getting hcpatcha.com/authenticate error and page is breaking because of stripe Radar Rules. How to handle this scenario?

#

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

Question
How do I obtain the payment link associated with the payment intent object? I save the metadata in the payment link object, and my webhook gets a payment intent.success event, but how do I obtain the metaa from the payment link to associate stuff

Related Request ID(s)
Payment intent obj: pi_3SD2g8AQEEVHxDmh3y8pjmiE

What have you already attempted?
I've tried logging but I don't see any identifier I can use to obtain the payment link from

cursive heronBOT
#

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

Question
I am working on subscriptions, specifically when payments fail because the card was declined, insufficient funds, etc. Apparently, when this happens, the subscription status set as “past_due.” I have no problem with that, but I see that the invoice and payment attempt remain pending, and I would like to cancel them. How can I do this? Rn, I use stripe.Invoice.void_invoice(), and the subscription goes back to “active,” but the item that is part of the purchase remains saved in the subscription. How can I prevent that item from being saved? Or could you tell me what solution to implem

Related Request ID(s)
None

What have you already attempted?
I have tried to modify the subscription using stripe.Subscription.modify() with proration_behaviour set to None, but I am not sure if I am doing it correctly or if there is another way to do it

What are you working on?
payments rejected

cursive heronBOT
#

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

Question
What should I use to display the summary of the checkout once the user has completed the payment?

When creating a payment link, I provide a return URL and pass along the session Id template variable. But I'm afraid of api abuse if people keep spamming the URL. Should I just save the user information etc.?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/custom-success-page?payment_ui=stripe-hosted

What are you working on?
I'm making it so that customers have to authorise with discord, then they get redirected to my site, where I create a payment link and save their discord details in metadata and redirect them to stripe

cursive heronBOT
#

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

Question
Having some issues implementing SCA/3D Secure checks into my off session/recurring payments workflow. The "draft hour" passes and they fail with a "require_action".

Related Request ID(s)
req_ygUu99kcLZTQZg

What have you already attempted?
- Start a PaymentMethod on the JS side
- Pass it to the server to create a Customer (setting payment_method and invoice_settings => default_payment_method) and a SetupIntent (setting customer, payment_method, and usage => off_session)
- Return to the JS side to do a stripe.confirmCardSetup(...)
- On success, head back to the server to set up a Price and a SubscriptionSchedule (setting customer, default_settings => default_payment_method and collection_method => "charge_automatically")

What are you working on?
SaaS CRM product that allows Stripe payment for various products and subscriptions.

#

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

Error Message
My logic for Attach a PaymentMethod to a Customer
Works on DEV env good
But on PROD it does not correct
it crashes

Question
I'm confused what's a problem, cause it work on DEV env

Have this error

`Failed to attach payment method pm_1SD26dEFwYCC7pJUxhyZ3Qcz to customer cus_T9K5dojW5vEuCs: This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again.`

What have you already attempted?
await this.stripe.paymentMethods.attach(paymentMethodId, {
customer: paymentIntent.customer as string,
});

Reproduction Steps
It product in webhook, after succeeded payment and if any subcriptions there
I need to attach payment method

#

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

Question
I am working on subscriptions, specifically when payments fail because the card was declined, insufficient funds, etc. Apparently, when this happens, the subscription status set as “past_due.” I have no problem with that, but I see that the invoice and payment attempt remain pending, and I would like to cancel them. How can I do this? Rn, I use stripe.Invoice.void_invoice(), and the subscription goes back to “active,” but the item that is part of the purchase remains saved in the subscription. How can I prevent that item from being saved? Or could you tell me what solution to implem

Related Request ID(s)
None

What have you already attempted?
I have tried to modify the subscription using stripe.Subscription.modify() with proration_behaviour set to None, but I am not sure if I am doing it correctly or if there is another way to do it

What are you working on?
payments rejected

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
how i can use stripe payment links, i am in india and making a small website

What actually happened?
stripe is invite only in india? then how the hell i am supposed to use stripe if i don't have a big company and i am just a solo developer working on a mini website and want to integrate stripe payment link

Reproduction Steps
just open the stripe website from an indian location or use vpn

Question
if it is invite only then how people like me use it, those who don't have a professional email or business document

cursive heronBOT
#

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

Code
expressCheckout.on('confirm', async (event) => {
await elements.submit();
const clientSecret = ''; // fetched from the backend after creating a payment intent
const {error: confirmError} = await stripe.confirmPayment({
elements,
clientSecret,
confirmParams: {
return_url: 'https://your-site.com/complete'
},
});
});

Question
I am trying to implement ExpressCheckout (Google/ Apple pay) element in browser, as described here: https://docs.stripe.com/elements/express-checkout-element/accept-a-payment?payment-ui=elements&client=html#connect

I get this error after running the same code as in the docs: "IntegrationError: Element confirming payment is "expressCheckout", but stripe.confirmPayment() was not called within the "confirm" event. Please call stripe.confirmPayment() in the "confirm" event".

What have you already attempted?
I tried calling the function without using async functions. I tried creating the payment intent before initialising the ExpressCheckout and pass that as a parameter instead of going with the mode, amount and currency options. Of course, nothing worked. I added the "click" event listener and it gets triggered twice. Maybe that could be the issue? Of course, I already tried ChatGPT, Claude, Gemini.. all of them :)

What are you working on?
I am trying to implement ExpressCheckout (Google/ Apple pay) element in browser

#

@foggy latch 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
If we use one of Stripe's Web Elements for US bank accounts for subscriptions, is the payment verified immediately when subscribing (like a credit card does) or does it take a day to a few days? We'd love it if payment verification happens immediately and before the subscription activates.

What have you already attempted?
We currently have an old integration set up with Plaid and want to use Stripe's built-in tools. The problem with Plaid is that it marks a subscription payment as pending (and then the subscription is considered active) and then can possibly fail a day or so later. So we end up doing work for the customer before we know if the bank payment is actually valid.

cursive heronBOT
#

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

Question
look, I have subscription product in payment intent
I make succeeded payment, and event catches in webhook, and I have function manuallyCreateStripeSubscriptions

it mappes by products, and check if it's subcription - it activates it manually in real stripe

Doc/Guide Links
I'm not sure I could remember

What are you working on?
NextJS + NestJS

#

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

Question
Beta Feature not working for Stripe Embedded Apps

Related Request ID(s)
n/a

What have you already attempted?
Working on a Stripe Connect embedded components feature (will link to related discord ticket) - no errors thrown in web console or anywhere however install button not being shown

cursive heronBOT
#

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

Question
I created a custom billing portal configuration for my users who have free trials. Is there any way to configure this text during the trial?

"After your free trial ends, this subscription will no longer continue until a payment method is added."

Related Request ID(s)
evt_1SD9uTEXjRBPmDmBSICOnpQr

What have you already attempted?
I looked in the documentation

What are you working on?
SaaS with a free trial

cursive heronBOT
#

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

Code
Using Stripe react native SKD and running into the error:
'react/utils/FollyConvert.h' file not found

Question
How can I build my IOS app without running into this issue?

What have you already attempted?
Different build settings and SDK versions

What are you working on?
Trying to add Stripe to my React Native App.

cursive heronBOT
#

@wraith summit 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/card-tokenization-restrictions-using-publishable-keys

Question
Based on the URL above, it states the following:

By default, tokenizing a card with publishable keys is only allowed for the following Stripe-provided integrations: Stripe Web Elements, Checkout, and Mobile Elements.

But, in the `Create a Setup Intent` docs, I can pass an account number and a routing number, which will create a us bank acct in Stripe.

https://docs.stripe.com/api/setup_intents/create#create_setup_intent-payment_method_data-us_bank_account

Can you help me understand why I can create a bank account without the Stripe elements, but not a credit card?

Thank you!

What have you already attempted?
Created a Postman request to `/v1/setup_intents` including the `payment_method_data.us_bank_account` to test if I could create a setup intent without using the Stripe web elements.

I was successful in doing so. Based on the Card Tokenization restrictions documentation, I would think this would not be possible. I'd just like to understand why its possible for us bank accounts, and not credit cards.

What are you working on?
Setup Intents upgrade

cursive heronBOT
#

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

Question
Stripe Financial Accounts:

  1. can funds be transferred between 2 Financial Accounts? How long it takes for funds to transfer?
  2. What are the ways to actually move money into the bank account from a Financial Account? How long it takes?
  3. Can money be debited from a Financial Account into the Platform account? How long does that take?

Related Request ID(s)
none

What have you already attempted?
Look an alternative to Stripe Connect (Express)

cursive heronBOT
#

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

Error Message
The Stripe isn't getting connected to WooCommerce

Question
Stripe was connected to WooCommerce and then we connected it to Shopify. Now we would like to connect Stripe back to WooCommerce

What have you already attempted?
We already tried connecting using the usual way on WooCommerce

cursive heronBOT
#

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

Question
No matter what I do, iframe of PaymentElement always gets cut short when switching to mobile mode

Related Request ID(s)
req_SLllV6EyP8sxbt

What have you already attempted?
I have already debugged, I am sure this is an issue.

What are you working on?
Integration of PaymentIntent, which is 99.9% done :)

cursive heronBOT
#

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

Question
Hello, we want test our subscription with a test api key. But in my developer dashboard iam only seeing the live api keys and not the test.

Related Request ID(s)
Developers, api

What have you already attempted?
İ tried to create a api key, but i can only create live keys and not test keys.

cursive heronBOT
#

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

Question
Stripe integration related to the PaymentIntent confirmation process MCC.

Related Request ID(s)
Stripe integration related to the PaymentIntent confirmation process MCC.

What have you already attempted?
Stripe integration related to the PaymentIntent confirmation process MCC.

What are you working on?
Stripe integration related to the PaymentIntent confirmation process MCC.

#

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

Code
options={
mode:'payment',
amount:data.amount,
currency:data.currency,
paymentMethodCreation:'manual',
paymentMethodTypes:['card']
}

this.elements=this.stripe.elements({...options,appearance})
this.paymentElement=this.elements.create('payment',paymentElementOptions)
this.paymentElement.mount('#payment-element')

await this.elements.submit()

await this.stripe.createConfirmationToken({
elements:this.elements,
params:{payment_method_data:{billing_details:{…}}}
})

Question
I get: "Could not find a mounted element to create the Confirmation Token from, please ensure you have a Payment Element or Express Checkout Element mounted (or both).". Why?

What have you already attempted?
https://docs.stripe.com/payments/build-a-two-step-confirmation?lang=php#create-ct

What are you working on?
A TALL-stack package integrating Stripe Payment Element.

#

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

Error Message
This authorization code has already been used. All tokens issued with this code have been revoked.

Question
Hi, I'm trying to register a specific stripe account using Stripe Connect, all the others stripe accounts are connecting successfully but this one keep showing this even if the oauth flow is basic so when I try to exchange the code with the access_token it keeps showing this error
req_id: req_SN9dyWz5uRgTTj

What have you already attempted?
Tried to contact the client and check if its Stripe has specific config that'd block the oauth flow

What are you working on?
SaaS with stripe connect

cursive heronBOT
#

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

Question
For upcoming invoice API, is discount code allow to applied on all items with define in each item?

Related Request ID(s)
req_Fu2LtzKjfMokyH

What have you already attempted?
Yes, i've try send the request req_Fu2LtzKjfMokyH for upcoming invoice

What are you working on?
Retrieve upcoming invoice with discount

cursive heronBOT
#

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

Question
invoices.createPreview allows for the preview of the next invoice given a subscription id.

I need all line items, but I cannot find a way to get those. There is no "previewLineItems" with a starting_after parameter or so

Related Request ID(s)
-

What have you already attempted?
Looked through the docs, I am upgrading from an old sdk version where I had

`invoices.listUpcomingLines`

What are you working on?
Migrating to the newest version of the stripe sdk

#

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

Code
```
try await stripeEmbeddedViewModel.load(intentConfiguration: intentConfiguration, configuration: configuration)
```

Question
iOS version - 18.6
Xcode version - 26.0.1
Swift version - 5
Stripe SDK version - 24.24.1
Installation method - SPM

Hi team, having an issue when I recently updated to Xcode 26.0.1 and using the latest Stripe SDK version. When triggering the load function from the EmbeddedPaymentElementViewModel, it causes a memory leak issue. I'm not too sure what exactly is the root reason, but I am sure this is it.

What have you already attempted?
I have scoped down the issue, but unable to know how best to solve it. I've noticed a bug shared in Github that seems similar to the issue I have, but it is marked as closed with a fix done. I've updated to the latest version of the Stripe SDK but it fails to work for me.
https://github.com/stripe/stripe-ios/issues/5269

cursive heronBOT
#

@ionic moat 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/apple-pay-recurring#improve-authorization-for-your-api-integration

Question
Hi i am trying to add Apple Pay on my Stripe Implementation but I am lost. Where do i get this MPAN or DPAN? after i get it how should i implement the Apple Pay flow should i create a SetupIntent and then create a subscription with that setup intent id and then confirm the payment on the client side?

What have you already attempted?
Right now i am using express checkout

First I create a customer and setup intent like below:

var createSetupIntent = new SetupIntentCreateOptions
{
Customer = customerId,
PaymentMethodTypes = new List<string> { "card" },
Usage = "off_session"
};

then i create a subscription using this setup intent id and when the client tries to confirm it it throws

Error: The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.

cursive heronBOT
#

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

Question
In retrieve upcoming invoice with applied discount. Can the discount applied on the subtotal without applying on the line item?

Related Request ID(s)
req_qgVdkVaXupDDVx

What have you already attempted?
I have try out the upcoming invoice with discount

What are you working on?
I'm working on getting the stripe upcoming invoice with applied discount. And each of the line item i need to get the item price exclusive tax & with discount factor in

#

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

Question
Can a checkout session be embedded inside an iframe by setting the ui_mode parameter to embedded

Related Request ID(s)
req_AIyq4fcJX5JEDn

What have you already attempted?
We tried to embed a Checkout session inside an iframe, but the console shows the following error message: Stripe Checkout is not able to run in an iFrame. Please redirect to Checkout at the top level.

What are you working on?
Create a Checkout payment session inside a booking iframe on a web page.

#

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

Question
Is there a best practice for working with Firebase Studio?

I am trying to do a checkout redirect, but get the error message “Stripe Checkout is not able to run in an iFrame. Please redirect to Checkout at the top level.” It probably comes due to Firebase Studio Preview running in an iFrame.

Is there a work-around, or other approach to use?

Doc/Guide Links
https://firebase.studio/

What are you working on?
Subscription based webapp

cursive heronBOT
#

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

Question
A customer paid an invoice through the hosted invoice URL (hosted_invoice_url)
We created a new invoice for the same customer
When we shared the new invoice's hosted URL, the customer's previously used card was displayed as a saved payment method option
Why does the hosted invoice URL show the customer's saved payment method from their previous payment? We expected the invoice payment page to only allow new payment method entry, not display saved cards.

Is this the expected behavior for hosted invoice URLs? If so, is there a way to prevent saved payment methods from being displayed ?

Related Request ID(s)
0

What have you already attempted?
Additional context:

Our invoices use collection_method: 'send_invoice'
The invoice URLs are sometimes accessed by our employees before being sent to customers
We're concerned about employees potentially seeing customers' saved payment methods (last 4 digits)

cursive heronBOT
#

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

Question
We have integrated subscriptions in our website with Stripe. We set monthly recurring payments of a fixed amount. Due to a bug in our code the first subscription invoice has been created with a $0 amount. Need to understand if there is a way to modify the subscription without the user intervention and without any impact on total subscription amounts and future dates.

Related Request ID(s)
req_xYaJdBWO8iQIHh

What have you already attempted?
We have tried to replicate the scenario on Test mode and noticed that changing the amount on a $0 subscription to lets say $100 created a new invoice immediate of $100. Since it is created on the same day I don't know if this is a prorated charge. I can share the subscription ID if that helps.

What are you working on?
Recurring investments using the Stripe subscription feature

#

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

Question
O uso da API é grátis. O Número de chamadas não influencia em nada na facturação?

Related Request ID(s)
req_ugbFjwu4DKFEwB

What have you already attempted?
Estou testando a API do Stripe e quero garantir saber dos custos adicionais

What are you working on?
Integração do Stripe e ERP

#

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

Question
We have usage-based subscriptions and we currently use the billing portal for customers to input their payment information for signing up for our service. Payment links do not work with usage-based subscriptions. We are able to enable company billing address collection (for tax purposes) on billing portal settings, but there's no way to ENFORCE collection. Are we missing a way to do this without having a deeper integration with the API?

Doc/Guide Links
https://docs.stripe.com/no-code/customer-portal
https://docs.stripe.com/customer-management/configure-portal
https://docs.stripe.com/customer-management/integrate-customer-portal

What are you working on?
Dynamic.xyz is a crypto infrastructure company

#

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

What did you expect to happen?
I expected payment to be rejected when a token of a credit card that was added via setup intent which resulted in requires_action for 3DS was used for payment intent later.

What actually happened?
Payment with that token passed

Reproduction Steps
Initiate a setup intent, and add a card to it to be tokenized
Confirm setup intent and receive 3DS requires_action response from confirm endpoint.
Create a payment intent with that payment method and try to have successful payment. Payment passes.

Question
Is it expected that CC where 3DS wasnt completely done can be used for payments because setup intents used to generate those payment methods ? Is that expected because the setup intent that was created for tokenization didnt have 3DS parameter, or is that always expected even when we add that parameter ?

What are you working on?
Resolving card testers issue

cursive heronBOT
#

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

Question
Context: PHP 8.1, stripe/stripe-php 10.21, API version 2023-10-16. We create a trial subscription (trial_period_days). Then add a trial upsell as a recurring SubscriptionItem (payment_behavior=default_incomplete, proration_behavior=always_invoice). Stripe defers charges until the main trial ends. Currently we charge the upsell via a separate one-time InvoiceItem + Invoice (finalize+pay). Question: Is there a way within one Subscription to charge the upsell’s intro/trial amount immediately, or is a separate Invoice/Subscription required?

Related Request ID(s)
None

What have you already attempted?
We work around this by creating a one-time InvoiceItem for the upsell’s intro amount, then creating a separate Invoice with auto_advance=false and collection_method='charge_automatically'. We finalize the invoice (finalizeInvoice with expand=['payment_intent']) and then call pay(['off_session'=>true]). This lets us charge the upsell immediately while the main subscription remains in trialing status.

What are you working on?
payment module for a web-based subscription-based payment system

#

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

Question
I would like to start implementing Stripe FX conversion rates, I know it is in preview, but I do not know how to access, also my solution is throwing me an error.

Related Request ID(s)
req_b5WIKttKnVTVgm

What have you already attempted?
I have already attempted to use the api functions to convert a currency within stripe, but I get a 400 error that you can see on my request id.

What are you working on?
stripe app

#

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

Code
const stripe = useStripe();
const elements = useElements();

const handleSubmit = useCallback(async () => {
if (!elements || !stripe) {
return;
}

const { error\: submitError, selectedPaymentMethod } = await elements.submit\(\);
console.log\(selectedPaymentMethod, 'selectedPaymentMethod'\);

}, [elements, intentStrategy, payWithPaymentIntent, payWithSetupIntent, stripe]);

Question
We set the `allow_redisplay` value to `always` so user can select previous payment methods

`selectedPaymentMethod` is only returning either `card` or `paypal`, how to get the payment method ID when submitting PaymentElement form when selecting a saved payment method? I only get the type of the payment method

What have you already attempted?
I've checked the documentation but couldn't find an information to help me
I'm working on React.js SPA with these packages

"@stripe/react\-stripe\-js"\: "4.0.2",
"@stripe/stripe\-js"\: "7.9.0",

What are you working on?
Get the selected payment method ID on PaymentElement submit

cursive heronBOT
#

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

Question
Is it possible to add credits to a customer on Stripe (which are funds/money) so the renewals are deducted from that "wallet"?

Doc/Guide Links
Haven't looked at any guides yet

What are you working on?
A wallet system on profile dashboard + integration with Stripe for subscriptions renewals

cursive heronBOT
#

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

Question
I am changing a customer's subscription to a previous status because the goal is that when a payment fails, it will revert to its previous status. You told me that when making this change, proration_behavior=None would be set, but I see that on the subscription expiration/renewal date, it says that $0.00 will be charged. Is there a reason for this behavior? What should I keep in mind to avoid it, or will it always happen?

Related Request ID(s)
cus_T4WTkf6qud7Xgw

What have you already attempted?
stripe.Subscription.modify(), also i'm unable to modify the Stripe account settings due to instructions from my project team.

What are you working on?
Subscriptions

cursive heronBOT
#

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

Question
When authorizing a payment, we're getting a charge.succeeded webhook. This is unexpected and is causing problems on our application, since before, we only received these when the charge was actually executed. Was this a recent change?

Related Event ID(s)
evt_3SDBMRAm1vHwRIhC0qN8p4NO

What have you already attempted?
We're just trying to understand why this event was fired. We only started seeing symptoms of this in our application in the past few days, and nothing changed on our side.

#

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

Question
Is Express Checkout the way to get PayPal in-context payment flow? Also, we're currently implementing Stripe Elements, is there a best practice to mix Elements/Express Checkout in the same page? Thanks!

Doc/Guide Links
https://docs.stripe.com/payments/paypal/paypal-button?ui=express-checkout-element
https://docs.stripe.com/elements/express-checkout-element

What are you working on?
We've been requested by PayPal to try and implement in-context checkout for the PayPal integration. I looked at the guide links (and PayPal confirmed they were the right ones) but when we test the button we're always redirected

cursive heronBOT
#

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

Question
We operate a Connect account. One of our users unexpectedly disabled card payments on their accounts. We directed them to reenable cards, which we can see they have done. However, when we try to create new Payment Intents we now see:

"The PaymentMethod provided (card) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: us_bank_account. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "card"."

Where does the requirement for us_bank_account come from?

Related Request ID(s)
req_dIjGXhOi4I4IqD

What have you already attempted?
Read the docs and reattempted the request but I can't see what governs the ability to use a card with a PI.

What are you working on?
Product using Stripe Connect

#

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

Question
I need help on how to set up Stripe FX conversion api, I am getting errors when calling it.

Related Request ID(s)
req_b5WIKttKnVTVgm

What have you already attempted?
Tried to create a function that makes a currency conversion, but getting an error, please see the shared request error:

Unrecognized request URL (POST: /v1/fx_quotes). Please see https://stripe.com/docs or we can help at https://support.stripe.com/. (Hint: In order to access this beta feature, you must explicitly specify which version of the beta you want, by passing an HTTP header "Stripe-Version: 2023-10-16;fx_quote_preview=v1".)

cursive heronBOT
#

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

Question
unable to create a financial account for a connected account

Related Request ID(s)
no request id

What have you already attempted?
stripe.v2.moneyManagement.financialAccounts.create is not a function

#

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

Question
Hey,

we're trying to withhold tax in our Stripe marketplace account.

What would be the best solution for checkout sessions?

According to this guide
https://docs.stripe.com/tax/tax-for-marketplaces?charge-type=destination-charges#tw-subscriptions

Setting transfer_data[amount_percent] is recommended, however, this doesn't seem to work very well, because the percentage takes from the tax amount as well.

Related Request ID(s)
req_tqQ5BXkcPJdN1o

What have you already attempted?
What we are doing currently is letting the user set his address and coupon before sending him to Stripe checkout.

Obviously, this is not the best solution/flow, since the user has to fill 2 forms.

But we need to know the address and coupon code prior to the checkout session, in order to call the preview invoice and calculate the correct percentage for fee.

What are you working on?
Tax withholding

#

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

Question
When customer has outstanding invoices (past due), and then new payment method is added (credit card) and set as default. Is Stripe going to automatically charge all past due invoices? If yes, does this happens immediately or some schedule? Is there an option in API to trigger charge for past due invoices when adding new payment method?

Related Request ID(s)
No ID

What have you already attempted?
Trying to find explanation on this. So far I only have contradicting information.

What are you working on?
Charge customer all past due invoices when they update payment method

#

@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/changelog/clover/2025-09-30/billing-cadence-settings-profile

Question
I was trying to access the API docs linked in the changelog about Billing Cadences, Billing Settings, and Billing Profiles, but I'm getting a "page not found" error.

What have you already attempted?
It says it is public preview, so I assumed it would be publicly accessible.

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

cursive heronBOT
#

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

Question
I’m implementing Stripe’s two-step confirmation (PHP backend + HTML client, Embedded/Elements with confirmation_token). Can 3DS2 be run separately/earlier than confirmPayment, or is it strictly bound to the confirm step? My target flow is: authenticate → server checks/locks inventory → only then take money. Is capture_method=manual the recommended pattern (auth after 3DS → check stock → capture or cancel)? Or should I 3DS via a SetupIntent first, attach PM, then confirm a PI? Any caveats for Embedded?

Doc/Guide Links
https://docs.stripe.com/payments/build-a-two-step-confirmation?lang=php&client=html

What are you working on?
E-commerce checkout (Laravel/Lunar + Livewire). Using Stripe Embedded/Payment Element. I need to prevent charging until inventory is confirmed. Desired behavior: customer completes 3DS2, we receive an authorization, server atomi

cursive heronBOT
#

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

Question
When creating a subscription schedule, I'm attempting to expand `subscription.latest_invoice`. However, the `latest_invoice` field in the `Subscription` is coming back as `null`. What am I doing wrong?

Related Request ID(s)
req_f4KlGvVCWqCXUT

What have you already attempted?
I reviewed the docs and logs to confirm it appears that I'm passing the right expansion parameters.

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

#

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

Question
I am attempting to (re) integrate Stripe terminal in an iOS app. When I attempt to connect to the Tap-to-Pay reader I get this error: `Error Domain=com.stripe-terminal Code=1990 "When support for simultaneous readers is enabled, the method variant which accepts a reader delegate parameter must be used instead."`

I've searched everywhere with no related hits at all.

Related Request ID(s)
None

What have you already attempted?
- the tutorial integration for this area, which throws an error that `Value of type 'TapToPayConnectionConfigurationBuilder' has no member 'delegate'`
- searching the API docs for that error code.

What are you working on?
a cashout system

#

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

Question
We are using percentage coupons in a subscription upgrade flow with SubscriptionProrationBehavior = create_prorations. The problem is that proration lines are always marked as discountable = false, so the coupon applies only to the positive “add” items. If the discount on those items exceeds the net total (adds − removes), the upcoming invoice ends up negative. How can we prevent percentage coupons from producing negative invoices in this scenario?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/update

What are you working on?
Subscription Upgrades

cursive heronBOT
#

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

Question
Hello. We are trying to show our customers a customized view of invoices and receipts. We want to show the receipt ID, but we don't receive it on the charge object; we get:
"receipt_number": null,
But if we go to the receipt URL provided, we can see a receipt ID there.
Is there a way to get that receipt ID?

Related Request ID(s)
evt_3SDZXRGF7YaVdFob0EUzHCBR

What have you already attempted?
get the invoice and charge objects to get the receipt ID but it's coming as NULL.

What are you working on?
A customized view of invoices and receipts

#

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

Question
We're trying to upgrade from acacia to basil in a .net application using the nuget package. We're also using prebilling, so I think we have to use the beta versions of the sdk. Now I'm getting: https://docs.stripe.com/error-codes#parameter-unknown Received unknown parameter: phases[iterations]
I'm using the 48.6.0-beta.1 version,

Related Request ID(s)
req_q2Ybn7s8VfrmXk

What have you already attempted?
Tried upgrading to version 49, but the Iterations property was removed from SubscriptionSchedulePhaseOptions, and get Phase 0 is invalid. Each phase must specify either `iterations` (recommended) or `end_date` (advanced), unless it is the last phase and `end_behavior` is `release`.
from the API

cursive heronBOT
#

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

Question
I'm trying to create a subscription using a subscription schedule, but it's not creating an initial invoice. I'm attempting to use the `start_date` on the subscription schedule to align the cycle on the first of the month in which the subscription is created. However, I don't want any prorated amounts for being partway through the month, I want to invoice for the full subscription amount.

Related Request ID(s)
req_G0TC8XGiXxlFwR

What have you already attempted?
I originally had an earlier thread about the invoice not being generated. The support staff thought it might have to do with the `start_date` being set to the current date minus 10 seconds. I tried to test with a test clock that has the subscription being created on 2025-09-30 but being backdated to 2025-09-01 to test if this was why the invoice wasn't being generated. However, in this test case, shown in the request ID above, the invoice still wasn't generated.

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

cursive heronBOT
#

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

Question
In endpoint retrieve upcoming invoice, I would like to know what the amoun_excluding_tax for each line items in the screenshot

Related Request ID(s)
no

What have you already attempted?
I’ve tried it out, but I want to double-check if the amount_excluding_tax value matches what I’m getting.

What are you working on?
Retrieve upcoming invoice

cursive heronBOT
#

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

Question
We got an email that says we need to set a unit_label on all products, so that we can maintain our L2/L3 rates.

> To keep your L2/L3 rates, you'll need to make a small change to your
Checkout Sessions API to populate the new “unit_of_measure” field.

Does this only affect the flow where the user selects / checks out a plan?

What about charging the customer separately after the user has selected a plan and entered their payment info? Currently we create invoice items directly, but I find no mention to `unit_label` in the InvoiceItem.create endpoint. Do we need to do anything here? If so, what would that be?

Doc/Guide Links
https://docs.stripe.com/api/invoiceitems/create?api-version=2025-09-30.clover

What are you working on?
Billing system for a SaaS that includes both plans (which are part of the checkout flow) and product usage (which gets charged separately)

cursive heronBOT
#

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

Question
I am creating transfers with source_transaction, i need to understand how i can test this in the sandbox knwo that the charges there become availble directly

Related Request ID(s)
in_1SDAp8CYBsZmZGQEQUYpkzzK

What have you already attempted?
created charges and transfers
i do see 'incoming' money but I am not understanding how the validity period is taken care of in sandbox

What are you working on?
transfering money to conencted account after I charge the user

cursive heronBOT
#

@vague tendon 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/mixed-interval

Question

  1. Can Checkout Sessions handle mid-cycle subscription upgrades with mixed billing intervals (monthly + yearly items)?

  2. If not, what's the recommended pattern for payment-first upgrades while keeping domains as recurring subscription items (not one-time charges)?

  3. How can I prevent subscription updates until payment succeeds?

What have you already attempted?
Approach 1 - Direct Subscription Update:
stripe.subscriptions.update(subscription_id, {
items: [...updated_items],
proration_behavior: "always_invoice"
})
Result: Subscription updates first, then invoices generated. Wrong order.
Approach 2 - Manual Invoice Items + Webhook:
// Create invoice items first
stripe.invoiceItems.create({...})
stripe.invoices.create({...})
// Update subscription after invoice.payment_succeeded webhook
Result: Domains added as one-time charges, not recurring subscription items. Domains don't renew.

What are you working on?
I'm implementing SaaS billing with monthly mailbox subscriptions and yearly domain subscriptions using Flexible Billing Mode (API: 2025-08-27.basil). Issue: When users upgrade mid-cycle, stripe.subscr

#

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

Question
I am integrating the new level 2/3 in our flows (https://docs.stripe.com/payments/payment-line-items) , the payment is successful but I cannot see the line items, even if I try to use retrieve with expand to amount_details. I am not sure what is missing.

Related Request ID(s)
pi_3SDkI9FdCE6n8elI0bwP4F6p

What have you already attempted?
I have updated the values that are sent

What are you working on?
I am trying to integrate the new level 2 / level 3 Payment line items

cursive heronBOT
#

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

Code
try
{
var paymentSettings = new SubscriptionPaymentSettingsOptions
{
SaveDefaultPaymentMethod = "on_subscription",
};

    var createSubscription = new SubscriptionCreateOptions
    {
        Customer = customer.Id,
        Items = new List<SubscriptionItemOptions\> { new SubscriptionItemOptions { Price = price.Id } },
        Metadata = createStripeSubscriptionPaymentRequest.Metadata,
        Discounts = new

Question
how am i supposed to create a stripe subscription with apple pay payment method. And should i call setup intent before hand or there is no need for that?

What have you already attempted?
Right now i am creating a setupintent with only customer id and payment method type card and then attaching the setup intent id to the subscription on creation.

cursive heronBOT
#

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

Code
await stripe.checkout.sessions.create({
customer: 'cus_T5Kju9eOvCr8AW',
ui_mode: "custom",
......
mode: "subscription",
return_url: `http://localhost:3000/complete_payment?to=/billing`,
saved_payment_method_options: {
allow_redisplay_filters: [
'always', 'unspecified', 'limited'
],
payment_method_save: 'enabled'
},

Question
Inside sandbox envirnoment,
on creation of checkout session and passing that to CheckoutProvider:

<CheckoutProvider stripe={stripePromise} options={{ fetchClientSecret: () => Promise.resolve(clientSecretValue), elementsOptions: { appearance, fonts } }}>
<PaymentForm
/>
</CheckoutProvider>

The user doesn't see any of his saved payment methods, despite payment method containing email, address-> country, and name fields

What have you already attempted?
I have read nearly most of Stripe checkout documentation, and used saved_payment_method_options, but to no avail

What are you working on?
Checkout modal for creating new subscriptions

#

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

What did you expect to happen?
When upgrading the JS SDK from 7 to 8 it should not have changed anything

What actually happened?
When upgrading the JS SDK from 7 to 8 I can now see a new widget developer tool on a payment method create form page

Reproduction Steps
Upgrading the JS SDK from 7 to 8

Question
Where can I manage this tool and configure the options shown. It would be really helpful to find a documentation about this widget

cursive heronBOT
#

@lavish gate 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
Hi, we would like to use stripe usage-based billing however our use case doesn't seem to completely fit the stripe way of handling things.

The idea, is that we want to sell product that have a variable price during the billing period (in fact each day the same product has a different price).

What have you already attempted?
Withing stipe, we try to have a product, a meter, and a subscription. However, changing the price requires to update the subscription:

- If we remove the item, we loose all associated events for the subscription.
- If we add a new price (with a new meter) the same product appears multiple time on the invoice without information about the meters (so it is difficult for the user to know what they paid for).

I think that by playing with meters and subscription we could fit our model into stripe's model but It feels forced.

So I wanted to know if we missed a feature.

What are you working on?
We are working on a saas version of our application. It is a workflow engine that bill code execution time on different hardware.

cursive heronBOT
#

@granite stirrup 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/regional?integration-country=FR

Question
I'm working with a client who wants to use a Stripe Terminal with the following configuration. Reader location is set to the US, stripe account is set in the US, and will accept payments at the door in USD (device purchased in the US). However, they will be operating the device physically in France. Is there any issue with this configuration. Per the documents it seems fine, and I tested with a UK account accepting GBP while physically in the US and had no issue, but just wanted to confirm here before I finalise with them. Thank you

What have you already attempted?
I've attempted the experiment above and it seemed to work well with no issue. Also brought a BBPOS device over to Europe (Lisbon) and also seemed to be fine

What are you working on?
Taking payments with BBPOS and S700 devices

cursive heronBOT
#

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

Code
await stripe.checkout.sessions.create({
customer: 'cus_T5Kju9eOvCr8AW',
ui_mode: "custom",
...
mode: "subscription",
return_url: `http://localhost:3000/complete_payment?to=/billing`,

====
Front end:
<PaymentElement />
+
const result = await checkout.confirm({
redirect: 'if_required',
});

Question
Is it possible to force the name collection of the customer card on PaymentElement during Checkout session?

What have you already attempted?
Stripe PaymentElement has only two options for 'name' field, either auto or never, theres not an option to require it

I have attempted setting billingAddress name field (using a custom input field in the form) on checkout.confirm function,

However it forces you to also collect the billing country otherwise it won't let you set the customer name on the payment method.

https://docs.stripe.com/js/custom_checkout/confirm

What are you working on?
Trying to collect cardholder name to the - to be saved - payment method

#

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

Code
I got a payout notification that includes an ACH return. Our implementation takes the payout Id and crawls through the associated transactions using a combination of the refund service, transfer service, and charge service (depending on the type of payment included in the payout). The problem is, I can't see how to crawl through the associated payments to find the PI for the ACH return. How do I do that?

Question
Here's the PO Id - po_1Rj90RELWMRmr0fA53QzsMvC

What have you already attempted?
Tried using the services above to find the associated ACH return but I can't figure out which hops to take to get there.

I want to get the PI for the ACH return.

#

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

Code
stripe
.confirmPayment({
elements: this.expressCheckoutElements,
clientSecret,
confirmParams: {
return_url: returnUrl
}
})
.then((walletPayment) => {
if (walletPayment.error) {
return reject(new Error(walletPayment.error.message || 'Wallet payment failed'));
}
resolve(walletPayment);
})
.catch(reject);

Question
why is this throwing

{
"error": {
"message": "The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.",
"param": "setup_future_usage",
"payment_intent": {
"id": "pi_3SDnUsRvd0kOjiXV1nAn2D8k",
"object": "payment_intent",
"amount": 10000,
"amount_details": {
"tip": {}
},
"

What have you already attempted?
i am trying to confirm a payment for an apple pay payment of a recurring subscription what i did so far is i created a subscription with the following configs on server side

createSubscription.PaymentBehavior = "default_incomplete";
createSubscription.Expand = new List<string> { "latest_invoice.confirmation_secret" };

and i am returning the client secret to fronted and that throws, we are not setting the setup future usage to off session

cursive heronBOT
#

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

Question
Hey, We operate a Stripe Connect account.

One of our new customers reported that during the connection flow they see: " This email can't be used. The email you entered is linked to a business that uses single sign-on with Stripe. Please use another email to create your new account.".

Is it not possible for those using SSO to connect to multiple accounts via Stripe Connect? What would be the alternative - creating a whole separate Stripe account?

Doc/Guide Links
https://docs.stripe.com/get-started/account/sso?locale=en-GB

What are you working on?
Stripe Connect

#

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

Question
We have integrated the Raw Payments API to try failed payments in WorldPay to route to Stripe as a secondary option. However, transactions are being flagged as "card testing" even though we are the ones initiating the charge, and it is the first time the card fingerprint has been seen on Stripe.

Related Request ID(s)
Here is an example of a failed transaction: https://urldefense.proofpoint.com/v2/url?u=https-3A__dashboard.stripe.com_acct-5F1D9w1GAUMWrO4Kke_payments_ch-5F3SCjceAUMWrO4Kke0r1ux0l3&d=DwMFaQ&c=A2I0cd0y

What have you already attempted?
We have had a ticket open for two weeks. Opened under email: benjamin.sel@batchservice.com

We have also attempted to add the card fingerprints to the Stripe Default Allow list for fingerprints. When uploading the .csv with no more than 1,000 values, all the imports fail due to the parameter 'expires_at' being invalid and unsupported. We have not been able to resolve this.

What are you working on?
We are working to migrate more of our payments to Stripe from WorldPay and have started this by routing failed WorldPay transactions to Stripe, however Stripe is blocking them due to "card testing"

cursive heronBOT
#

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

Question
We are using percentage coupons in a subscription upgrade flow with SubscriptionProrationBehavior = create_prorations to generate a preview of the upcoming invoice. The issue is that proration lines are not included in the discount calculation, so the coupon applies only to the positive “add” items. If the discount on those items exceeds the net total (adds − removes), the upcoming invoice shows a negative amount. How can we prevent percentage coupons from producing negative invoices in this scenario?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/update

What are you working on?
Subscription Upgrades

cursive heronBOT
#

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

Question
I am looking for information about how many maximum retries are allowed per payment method.

Link -

Cash App Pay - 2

ACH Direct Debit - 2

Apple Pay -

Google Pay -

Amazon Pay -

Cartes Bancaires -

Alipay -

WeChat Pay -

We set auto-retry to 7, but for example, we noticed ACH and Cash App only allow 2 auto retries for smart retries. Is this something you guys can help with? We didn't get more info from support.

Related Request ID(s)
req_id

What have you already attempted?
Contact support

What are you working on?
Defining how many auto retries every payment method has.

cursive heronBOT
#

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

Question
I recently found out that there is a minimum charge required for Stripe to process payments and it's different for each currency. Is there a way to determine what the minimum charge allowed for a connected account is using API? Right now if the checkout amount is below that limit, then the stripe payment component does not render on the checkout.

Related Request ID(s)
https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts

What have you already attempted?
Currently, I have implemented a minimum product price constraint based on the seller's primary currency, so for example, in USD, the seller's product prices have to be atleast $0.50. But, sometimes this approach doesn't work, for example, for INR, it says the limit is 0.50 rupees, but that doesn't work.

What are you working on?
I have Stripe Connect integrated within my platform, where sellers can connect their Stripe accounts and sell on the platform.

#

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

Question
We are building a freelancing platform and are almost finished with the transfer and payout integration. Our question is regarding platform fees: since we charge a commission on each transaction, where should we pass this parameter in the process?

Related Request ID(s)
req_wBcUCfOU9CoTy9

What have you already attempted?
We are building a freelancing platform and are almost finished with the transfer and payout integration. Our question is regarding platform fees: since we charge a commission on each transaction, where should we pass this parameter in the process?

#

@obsidian 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/payments/paymentintents/lifecycle?payment-setup-intent=setupintent

Question
I'm in testing the setup intents for a bank account and since I'm in the test environment, I was wondering how to verify the microdeposit code since the test env uses a test bank account?

What have you already attempted?
I have tried arbitrary numbers just in case any code works, but that doesn't seem to be the case

cursive heronBOT
#

@granite sun 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?platform=android

Question
How do I implement embedded Connect components in a React Native app?

What have you already attempted?
Reading the docs, I can see that there are already existing dedicated Android SDK and iOS SDK, but there isn't an SDK for React Native.
Does this mean I have to write a wrapper around these dedicated SDKs to allow my React Native app to show the embedded components, if that's even possible?

#

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

Question
We use Klarna with Express Checkout. Some payments trigger an additional authentication (SCA or 3DS) looking at our production logs and we can't successfully handle them with confirmCardPayment. I need help with the correct test cards to trigger this.

Related Request ID(s)
req_d7uuKg0tzJh6Yr

What have you already attempted?
I tried to use the test cards ending with 3155 and 3184; but none of them triggered SCA with Klarna.

What are you working on?
Klarna payments with Express Checkout (handling SCA when required)

cursive heronBOT
#

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

Error Message
The operation timed out or was cancelled. Try again or use a different email address.

Question
I am trying to connect my stripe to Invoice Maker and it looks like it goes thru Tofu but when I try and log in it just doesn’t work and I was wondering how to fix this

What have you already attempted?
I attempted to change my password

cursive heronBOT
#

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

Code
if ($stripe_connect_account_id) {
echo '<p>' . __('Your Stripe Connect Account ID: ', 'vina-stripe') . esc_html($stripe_connect_account_id) . '</p>';
try {
\Stripe\Stripe::setApiKey($secret_key);
$account = \Stripe\Account::retrieve($stripe_connect_account_id);
if ($account->capabilities && $account->capabilities->transfers) {
echo '<p>' . __('Your Stripe Connect account is active and ready to accept payments.', 'vina-stripe') .

Question
I am trying to onboard vendors using Express Connect, and I want taxes to be deducted from the vendor's side. However, it is allowing merchants to add their tax information instead.

https://connect.stripe.com/app/express

What have you already attempted?
if ($stripe_connect_account_id) {
echo '<p>' . __('Your Stripe Connect Account ID: ', 'vina-stripe') . esc_html($stripe_connect_account_id) . '</p>';
try {
\Stripe\Stripe::setApiKey($secret_key);
$account = \Stripe\Account::retrieve($stripe_connect_account_id);
if ($account->capabilities && $account->capabilities->transfers) {
echo '<p>' . __('Your Stripe Connect account is active and ready to accept payments.', 'vina-stripe') .

cursive heronBOT
cursive heronBOT
#

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

Question
As a platform account, can we pause payments on connected accounts? And, are there ways to silence notifications from old connected accounts that are no longer receiving money through our platform without disconnecting the connected account from our platform?

Related Request ID(s)
N/A

What have you already attempted?
Search existing threads

cursive heronBOT
#

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

Code
$accountSession = $stripe->accountSessions->create([
'account' => $stripe_connect_account_id,
'components' => ['tax_registrations' => ['enabled' => true]],
]);

							$clientSecret = $accountSession\-\>client\_secret; // This is just an example, ensure you fetch the correct one

							$vina\_stripe\_test\_public\_key = st\(\)\-\>get\_option\('vina\_stripe\_test\_publish\_key', 'pk\_test\_iSN4LrONtD7mfXWA4dQJl41t'\);

							$account = \Stripe\Account\:\:retr

Question
Tax component is not working, it is showing this error.

Uncaught Error: To initialize Connect embedded components, you must provide either a client secret or a function to fetch the client secret. Please refer to our documentation for more information:

What have you already attempted?
$accountSession = $stripe->accountSessions->create([
'account' => $stripe_connect_account_id,
'components' => ['tax_registrations' => ['enabled' => true]],
]);

							$clientSecret = $accountSession\-\>client\_secret; // This is just an example, ensure you fetch the correct one

							$vina\_stripe\_test\_public\_key = st\(\)\-\>get\_option\('vina\_stripe\_test\_publish\_key', 'pk\_test\_iSN4LrONtD7mfXWA4dQJl41t'\);

							$account = \Stripe\Account\:\:retr
#

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

Question
I am still facing issues with 'source_transaction' on transfers, money is taken away from my available balance

Related Request ID(s)
https://dashboard.stripe.com/acct_1Mo3GqCYBsZmZGQE/test/payments/pi_3SDuNpCYBsZmZGQE0Vp8muPS

What have you already attempted?
I contacted you a few hours ago and you told me to use card 4242 4242 4242 4242 same issue

What are you working on?
transfering money to connected account only after the money becomes available in mine

cursive heronBOT
#

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

Question
My project is currently configured with the old Live mode/Test mode environment. If I create a Stripe Sandbox instance on this account, will I be able to use the data that is currently attached to my Test mode env?

Related Request ID(s)
None

What have you already attempted?
I've asked here before and was told that this was not possible, but the UX implies otherwise. It is very possible I asked a poorly worded question or am misinterpreting the UX, so I would like to confirm either way

cursive heronBOT
#

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

Question
Primary Question:
Can we save payment methods for one off payments? And can we use the same saved payment method for one off payments and subscriptions?

One off upgrades should be charged immediately (not metered & charged monthly).

Context:
Our application has an optional subscription component, and a one off purchase component (think an optional subscription that gives you bonus features, plus the ability to upgrade individual projects in your account for a one off cost).

Assume a user will either have a saved payment method (from creating a subscription, or from a past one off upgrade) or won't. And will be either doing a one off upgrade, or creating a subscription.

Doc/Guide Links
Generally scanned many pages at docs.stripe.com.

What are you working on?
An application with an optional subscription component, and a one off purchase component.

cursive heronBOT
#

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

What did you expect to happen?
Credit/debit card payment option should be available even when the payment amount is SGD 0.01 (1 cent).

What actually happened?
Credit/debit card payment option is only displayed when the payment amount is ≥ SGD 0.50 (50 cents).
For amounts less than 50 cents, the card option is hidden, and only alternative payment methods (e.g., GrabPay) are shown.

No custom configuration or restrictions have been applied in our Stripe account to enforce a minimum amount for card payments.

Reproduction Steps
Integrate Stripe with the following setup:

Backend: C# (.NET)

Frontend: React + Ionic (Capacitor, targeting Android & iOS)

Stripe official Android & iOS SDKs via Capacitor bridge

Enable only the following payment methods:

Credit/Debit Card

GrabPay

Attempt to process a payment with an amount less than 50 cents

Observe that only GrabPay is shown

Question
Is there an enforced minimum transaction amount for credit/debit card payments on Stripe (specifically for Singapore currency – SGD)? If yes, what is the minimum threshold, and is it configurable?
If not, could this be an issue/limitation in the Stripe SDKs when amounts below 50 cents are passed?

What are you working on?
We are integrating Stripe payments into our app with the following stack: Backend: C# (.NET) Frontend: React + Ionic

cursive heronBOT
#

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

Question
After buyer paid the order by Stripe, I want to show merchant's tax number in the invoice. How can I do?

Related Request ID(s)
in_1SE0nmE2ZZnUHRVW2rpQTF1U

What have you already attempted?
I had paid an order with stripe checkout session, but I can't find the tax number in the invoice.

What are you working on?
I want to show the merchant's tax number on invoice

cursive heronBOT
#

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

What did you expect to happen?
he “Statement descriptor” for transactions using a JCB card should show something like:

* `MYDES* EXAMPLE` (with the English suffix), or
* `MYDES* 漢字サフィックス`, or
* `MYDES* カナサフィックス`.

Here, `MYDES` is my account’s statement descriptor.

What actually happened?
For transactions using a JCB card, the descriptor in the Stripe Dashboard only shows `MYDES` (the account statement descriptor), without the suffix.

For Visa and other card networks, the descriptor is shown correctly (e.g. `MYDES* EXAMPLE`).

Reproduction Steps

  1. Create a PaymentIntent using the code in Stripe Documentation https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors
  2. Pay with a JCB test card.
  3. The response from `/v1/payment_intents` includes in the charge object:

```json
"calculated_statement_descriptor": "MYDES"
```

But I expected:

* `MYDES* EXAMPLE`

Question
Is my configuration/code incorrect, or is this the expected behavior for JCB?
How can I make JCB transactions show the descriptor with the suffix (e.g. `MYDES* EXAMPLE`) instead of only the account descriptor (`MYDES`)?

Thank you for your help!

#

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

Question
we observed that when we recent the event ("payment_intent.amount_capturable_updated") , for google pay apple pay,
We are not receiving the wallet details for the account AU and OTT commerce.

For example:
AU: event: evt_3SCymNKm50QBZFhQ19LRgCGx. and PI id: pi_3SCymNKm50QBZFhQ1Fk0MA0x . version: 2023-10-16
OTT : event : evt_3SCzsfEP6MrMAYeq0nouIIGj and PI id: pi_3SCzsfEP6MrMAYeq03Z0vjry . version: 2024-12-18.acacia

for other accounts as I mentioned its coming as expected. ex: SG: event: evt_3SCNVMESJ0XXzhv11kv9w65e version: 2018-11-08

Related Event ID(s)
evt_3SCymNKm50QBZFhQ19LRgCGx

What have you already attempted?
evt_3SCymNKm50QBZFhQ19LRgCGx

cursive heronBOT
#

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

Code
private val discoveryListener by lazy {
object : DiscoveryListener {

        override fun onUpdateDiscoveredReaders\(readers\: List<Reader\>\) {

            // 1\) Publish list to UI
            \_discoveredReaders.value = readers

            /\*\*
            No Available Readers
             \*\*/
            if \(readers.isEmpty\(\)\) {
                updateTerminalState\(TerminalState.Exception\("No readers available!"\)\)
            } else

Question
I’m seeing an intermittent issue where the app discovers multiple Bluetooth readers at discovery time and sometimes connects to a different reader than the one previously paired. We store the reader’s serial in local storage, but the discovery flow doesn’t always stick to that saved reader.

Expected: if a saved reader serial exists, discovery should prefer — and immediately attempt to connect to — that reader only.

What have you already attempted?
I’ve already tried handling it this way:

On the first successful discovery + pairing, I save the card reader’s serial number in SharedPreferences.

On subsequent discoveries, I check if the saved serial exists in the discovered readers list.

If the saved serial is found, I attempt to connect only to that reader.

If it’s not found, I throw an error / show a message instead of connecting to any other available reader.

What are you working on?
Making the Bluetooth card reader always reconnect to the previously paired reader by using the saved serial number. Ensuring discovery does not auto-connect to

cursive heronBOT
#

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

What did you expect to happen?
We're organizing an event in Holland - and want to switch off reverse charging for businesses that attend the event. This is a specific tax logic which I can not reproduce in Stripe because it is overridden in Stripe.

What actually happened?
The tax that got calculated is reversed every time I try - I think it is because of the wrong tax code which I cannot find (live events)

Reproduction Steps
What I already tried:
- Automatic tax calculations
- Add exceptions in custom made tax rules

Question
Can you help me with finding out how I can:
- Disable reverse charging for B2B customers (except for Holland itself)
- Enable B2C charges (Holland & outside of holland)

What are you working on?
A event product link collection

#

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

Code
<Elements options={{ locale: getStripeLocale(), mode: stripeMode, currency: getCurrentCurrency().toLowerCase(), amount: stripeMode === 'payment' ? totalPrice : undefined, paymentMethodTypes: ['card'], customerSessionClientSecret }}>

const { error } = await stripe.confirmPayment\({
  elements,
  clientSecret,
  confirmParams\: {
    return\_url\: returnUrl,
    payment\_method\_data\: {
      allow\_redisplay\: 'always',
    },
  },
}\);

Question
I'm working on React.js, migrating CardElement to PaymentElement, I tested setup intent and this works fine but now I have issue implementing payment intent, I have this error :

"The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements."

What have you already attempted?
If I put `setupFutureUsage: 'off_session'`, I now have this error :

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

Now if I add the 2 options in my `Elements` component options, I still have the capture_method error

      setupFutureUsage\: 'off\_session',
      captureMethod\: 'automatic',

What are you working on?
Making payment intent work on PaymentElement

#

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

Question
I am getting error while handling subscriptions with webhook in my Multi routes Hono Backend : Webhook signature verification failed: CryptoProviderOnlySupportsAsyncError: SubtleCryptoProvider cannot be used in a synchronous context.

Related Event ID(s)
evt_1SE4vcIfbqj2KBH1Auowv99r

What have you already attempted?
I did google around the error and https://github.com/stripe-samples/stripe-node-cloudflare-worker-template/blob/main/src/index.js found this blog post and followed the same pattern yet cannot fix it

cursive heronBOT
#

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

Question
We are trying to create a credit note for an invoice, and when we preview the credit note for that invoice we get a weird error: The sum of refunds, credit amount, and out of band amount ($324.00) must equal the credit note `post_payment_amount` ($291.60).
First of all we have never received that in the past, second we are in an api version that post_payment_amount is not yet supported, you can see it in the request log. Also when retrieving the invoice the post_payment_credit_note_amount=0.
What are we missing here? We should be able to refund the whole amount to the customer..

Related Request ID(s)
req_gUeijO7L3TRSZZ

What have you already attempted?
We just tried refunding the full invoice amount, but it failed.

What are you working on?
Nothing new, we just try to refund an invoice in full

cursive heronBOT
#

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

Error Message
{
"statusCode": 400,
"message": "You must provide a `return_url` when confirming a PaymentIntent with the payment method type amazon_pay.",
"error": "Checkout Error"
}

Question
I'm doing subscription, and get this error

What have you already attempted?
const subscription = await this.stripe.subscriptions.create({
customer: stripeCustomer.id,
items: subItems,
add_invoice_items:
addInvoiceItems.length > 0 ? addInvoiceItems : undefined,
default_payment_method: defaultPaymentMethod,
discounts: subscriptionDiscounts,
payment_behavior: 'allow_incomplete', // Allow

#

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

Code
this.expressCheckoutElements = stripe.elements({
mode: 'payment',
amount: amount || 0,
currency,
appearance
});

this.paymentElement = this.expressCheckoutElements.create\(
  'expressCheckout',
  expressCheckoutOptions
\);
this.paymentElement.mount\('\#express\-checkout\-button'\);

------------------------------------------
stripe
.confirmPayment({
elements: this.expressCheckoutElements,
clientSec...

Question
when i have mode payment stripe provides the google pay and apple pay buttons, but in subscription mode they do not appear

What have you already attempted?
since the buttons are only showing up on payment mode we tried purchasing a recurring subscription but the confirm payment throws

"message": "The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.",

yesterday someone from the support told me that the reason why it wasnt working was because of the payment mode.

#

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

Question
It seems the events are not sended in order.

The customer.subscription.created is sent after the customer.subscription.updated

Related Event ID(s)
evt_1SE6UBB9OhHrEsXBIkAHlUtg, evt_1SE6UBB9OhHrEsXBbDHhjPr5

What have you already attempted?
Checked the stripe workbench

cursive heronBOT
#

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

Code
$clientSecret = $accountSession->client_secret; // This is just an example, ensure you fetch the correct one

							$vina\_stripe\_test\_public\_key = st\(\)\-\>get\_option\('vina\_stripe\_test\_publish\_key', ''\);

							$account = \Stripe\Account\:\:retrieve\($stripe\_connect\_account\_id\);

							// Correct your Stripe publishable key reference, it seems like you're trying to echo a variable, but it's not properly concatenated in your JavaScript code.
							echo '<script src=

Question
Uncaught (in promise) Error: Failed to claim account session. This is expected if the account session is invalid, expired or has been used, or if an API/network error happens when claiming the account session.

What have you already attempted?
Uncaught (in promise) Error: Failed to claim account session. This is expected if the account session is invalid, expired or has been used, or if an API/network error happens when claiming the account session.

cursive heronBOT
#

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

Code
stripe listen --forward-to localhost:8000/api/webhooks/stripetest --forward-connect-to localhost:8000/api/webhooks/stripeconnecttest --skip-verify

Question
Cannot get any webhook calls when connect accounts, but I can get test webhook events callbacks

What have you already attempted?
stripe trigger checkout.session.completed to trigger test webhook event and tried 2 different stripe accounts

What are you working on?
Build, test, and manage your Stripe integration from the command line

cursive heronBOT
#

@tender crater 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/in

Question
I'm building an platform, for payment I'm thinking of using Stripe

Flow:
-> User sign up
-> User redirected to stripe account creation page
-> After process completed I've got the account id and necesary details
-> User will receive payments in the stripe account

My questions:
1) Will stripe work flowlessely in india region?
2) User account creation possible with no-code or minimal code?
3) As admin I have to collect my commision on each payment happened, how Can I add my application fee in stripe?
4) what are the percentage of stripe payment processing fee?

What have you already attempted?
Nothing, I've already worked in stripe for foreign regions like US, UK

#

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

Question
I want to fetch through API all customers on a given price/plan. I can do this through the dashboard - subscriptions - filter by plan but is there a way to do this through the API?

Related Request ID(s)
nothing

What have you already attempted?
couldnt find anything in docs

#

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

Code
const expressCheckoutOptions = {
buttonHeight: 50,
buttonTheme: { applePay: 'white-outline' },
paymentMethods: {
googlePay: 'always'
},
googlePay: {
paymentRequest: {
total: {
label: planName || 'Subscription',
amount: (amount / 100).toFixed(2),
currency: currency.toUpperCase()
}
}
}
};
this.expressCheckoutElements = stripe.elements({
mode: 'subscri.

Question
the google pay button is not showing, what could be the problem

What have you already attempted?
i set the google to allways true on payment methods but it is not showing

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android&terminal-sdk-platform=react-native

Question
We are implementing Tap to Pay on Android devices using React Native Tap to Pay (Stripe Terminal latest version).

Everything works as expected initially.
However, after processing around 30 payments, we encounter a memory leak issue where the device memory gradually fills up.

What have you already attempted?
investigate js heap size

cursive heronBOT
#

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

Code
stripe listen --forward-to localhost:8000/api/webhooks/stripetest --forward-connect-to localhost:8000/api/webhooks/stripeconnecttest --skip-verify

Question
Cannot get any webhook calls when connect accounts, but I can get test webhook events callbacks.

Events I'm focus on is account.updated, person.created, capability.updated

What have you already attempted?
stripe trigger checkout.session.completed to trigger test webhook event and tried 2 different stripe accounts

What are you working on?
Build, test, and manage your Stripe integration from the command line

cursive heronBOT
#

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

Error Message
SoFi bank is unavailable

Question
Is this being tracked?

When users got i select SoFi as a bank it is returning
that it is unavailable as a bank currently.

What have you already attempted?
Changed networks, restarted browser.

cursive heronBOT
#

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

Question
Currently, when a "connected account" is setup through the API (which is one of our primary usecases as our platform users need to invoice their clients and thus need their own accounts), the account comes as "restricted". And no email goes to the person whose account was created to submit their KYC. Does this "request information" need to be always manually sent to the connected_account? Is there a way to automate that?

Related Request ID(s)
NA

What have you already attempted?
Created connected account manually but same there as well.

What are you working on?
NexEng AI, a platform for enterprise productivity and fintech infra

#

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

Error Message
{
"statusCode": 400,
"message": "You must provide a `return_url` when confirming a PaymentIntent with the payment method type amazon_pay.",
"error": "Checkout Error"
}

Question
I'm doing subscription, and get this error

What have you already attempted?
const subscription = await this.stripe.subscriptions.create

cursive heronBOT
#

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

Link to the Doc/Guide in question
Interchange Plus (IC+)

Question
How do I know if my stripe account is set for Interchange Plus (IC+)? How do I integrate that ?

What have you already attempted?
I haven't tried anything/

cursive heronBOT
#

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

Code
amount: total_cents,
currency: currency,
destination: company.stripe_account_id,
description: "Weekly payout #{week_label}",
metadata: { week: week_label, job_request_ids: job_ids.join(",") }
}, { idempotency_key: idempo })

Question
“If balance is low, we should pull from bank attached with platform’s Stripe account — can we do it?”

What have you already attempted?
I tried but getting

You have insufficient funds in your Stripe account for this transfer

how i can achieve this funcadtionality?

What are you working on?
to trnansfer funds to a user in advance

cursive heronBOT
#

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

Question
I have 2 stripe accounts and only signed up for one to integrate with freshbooks now the payments are showing up on the account listed with just my name

Related Event ID(s)
Idk

What have you already attempted?
Tried

cursive heronBOT
#

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

Link to the Doc/Guide in question
React Native App Tap to Pay

Question
Is it possible to integrate tap to pay on mobile using react native sdk or I need to create bridge for native Swift and Kotlin? How do i test the payments?

What have you already attempted?
Nothing yet

cursive heronBOT
#

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

Question
I am trying to connect stripe to my website hosted on lovable. However, it is not working.

Related Request ID(s)
req_o5lGmMm6AXfbrp

What have you already attempted?
I have tried to connect my stripe payment terminal to my website but it has not worked.

What are you working on?
Trying to connect stripe to my website hosted on lovable.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/sandboxes

Question
When working with sandboxes can you upgrade the Stripe API Version in the Developer Dashboard without affecting Live mode?

What have you already attempted?
Read the docs and it generally looks like upgrading the version should be handled separately but nothing specifically states this case from what I can see.

cursive heronBOT
#

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

Question
I am writing a stripe ui-extension to help me generate an invoice. It generates a pdf using jspdf. Its working fine except I am blocked from being able to download it (it generated it inline in the javascript, it has no need for an external service). I cannot use data:// urls due to csp, and downloads are blocked for the web sandbox.
What am i missing for how to enable this to either open in a new tab or download? The manifest permissions for csp don't seem to allow tweaking it.

Related Request ID(s)
dashboard / ui-extension

What have you already attempted?
I tried making a data url and making it inline on a Link. I tried making it generate and send a link with

const filename = `${invoice.number || invoice.id}.pdf`;
const blob = await getPDF(invoice);
const link = document.createElement('a');
link.target = "_blank";
link.href = URL.createObjectURL(blob);
link.download = filename;
console.log("Will download to ", filename);
document.body.appendChild(link);
link.click();
document.body.removeChild(link);

but neither work, its blocked by the browser.

What are you working on?
I am building a (private to me) stripe ui extension to assist in invoice creation. its to help with creating a draft invoice ignoring balance to show a customer for budgetary purposes.

cursive heronBOT
#

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

Question
Our service is missing webhooks, it seems stripe only retries sending after an hour, is there any way to make this redelivery window faster?

Related Event ID(s)
evt_3SDyLDCaSYuhYYCC1KQ4xvus

What have you already attempted?
Searched docs, unclear

What are you working on?
Ticketing checkout product using stripe payment element

#

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

What did you expect to happen?
Using google chrome address autofill in the stripe address element should autofill the state correctly.

What actually happened?
It only autofills correctly if the state is abbreviated in the saved autofill data. For example: it works correctly if my saved state is "NY", but not if its "New York"

Reproduction Steps
save this address in google chrome's saved addresses:
street address: 285 Fulton St
City: New York
State: New York
Zip Code: 10007

go to the example address element at https://docs.stripe.com/elements/address-element

try to autofill the saved address.

notice the state is missing.

Question
Could you fix the stripe element so it accepts either an abbreviated or un-abbreviated format for state?

What are you working on?
An app that uses the address element.

cursive heronBOT
#

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

Question
We are not receiving refund.updated and charge.refund.updated events in a timely fashion, which is causing us and our customers issues. For example charge.refunded event (evt_3SDVyJG3ZxgN8JF71zWlfxEi) came across as a success at 8:54AM, and we just got the refund.updated event (evt_3SDVyJG3ZxgN8JF71Mn6FYAc) almost 6 hours later at 2:33PM. We have not had this issue before and now it is causing issues on our platform.

Related Event ID(s)
evt_3SDVyJG3ZxgN8JF71zWlfxEi evt_3SDVyJG3ZxgN8JF71Mn6FYAc

What have you already attempted?
Not sure what to do

What are you working on?
Answering customer support issues due to refunds not having their status updated appropriately and interfering with other integrations.

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.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
cursive heronBOT
#

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

Question
Is it possible to limit 1 subscription per credit card on all services/products?

Related Event ID(s)
none

What have you already attempted?
Nothing yet. I am sure if this is doable.

What are you working on?
I am using a stripe based landing page where I am providing subscription to users with a 7 days trial using setup intent. I have multiple products and prices for different landing pages.

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?
When a customer completes the checkout using Mastercard in New Zealand, the payment should succeed just like it does when processed via Stripe’s direct payment link.

What actually happened?
When the customer uses our app checkout:
The payment fails.
The payment_method_details.card.three_d_secure object is present in the failed response.
However, when the same card tries the payment through Stripe’s direct link, the payment succeeds, and the three_d_secure object is null in the response.

Reproduction Steps
I’m unable to reproduce this issue in my local environment. I’ve tested multiple Mastercard payments and all succeed normally.

Question
Why does our app checkout trigger the three_d_secure object and fail, while Stripe’s direct link succeeds with three_d_secure: null?
Is there any configuration or parameter difference in our integration that could be causing this inconsistent 3D Secure behavior for master card?

cursive heronBOT
#

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

Question
What is the best practice for building a custom checkout page in terms of previewing the final price? The two option I see are creating a Quote that can be accepted/decline or creating an incomplete subscription that will activated on completing the checkout.

Doc/Guide Links
https://docs.stripe.com/api/invoices/create_preview, https://docs.stripe.com/api/quotes/object?api-version=2025-09-30.clover

What are you working on?
Im building a small SaaS side project for time tracking

cursive heronBOT
#

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

Code
const options = {
mode: 'payment',
amount: Math.round(priceToPass),
currency: cart.totalPrice?.currencyIso?.toLowerCase(),
paymentMethodTypes:['card'],
paymentMethodCreation:'manual',
fields: {
billingDetails: {
name: 'never',
email: 'never',
address:'never'
}
},

Question
We are experiencing issues with Apple Pay; we are unable to make a payment using this method.

What have you already attempted?
We tried using this payment method in a test environment with real cards, as suggested by Stripe's documentation. We were able to successfully complete payments for a short period of time, but afterwards we were no longer able to test Apple Pay payments due to errors.

cursive heronBOT
#

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

Question
Can you please tell me how can i calculate the total number of active subscribers for a specific date range using API

Related Request ID(s)
idk

What have you already attempted?
Can you please tell me how can i calculate the total number of active subscribers for a specific date range using API

cursive heronBOT
#

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

Question
I have a subscription that was paid with a 50% discount on item A. When I try to purchase an additional item A, the 50% discount is also being applied to the new purchase amount. How can I ensure that the 50% discount on the original item A isn’t applied when purchasing the additional item A?

Related Request ID(s)
req_gzGuBUcTLSJXr4

What have you already attempted?
I've no idea what should i try

What are you working on?
Upgrade subscription Items

cursive heronBOT
#

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

Question
Hi everyone
We’re building a platform operating across all Stripe-supported countries. We use Standard connected accounts with Direct Charges, and all customers are created on the platform account. For card payments, we’ve been following this guide:
https://docs.stripe.com/connect/direct-charges-multiple-accounts

My questions are:

Can bank payment methods be used the same way as card payment methods (shared across accounts with Direct Charges)?

For a multi-country platform, which bank payment method(s) should we use — e.g., SEPA Debit, US Bank Account, or other options?

Any guidance or best practices would be greatly appreciated

Doc/Guide Links
Pay by Bank: https://docs.stripe.com/payments/pay-by-bank

Bank Transfers: https://docs.stripe.com/payments/bank-transfers

What are you working on?
Multi-country platform

#

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

Question
How can I make a schedule to be released immediately after last phase is started?

We're blocking some subscription updates on the customer side if subscription have a schedule, but for some reason I couldn't configure a schedule, which would be released on the last phase start, instead it's being released 1 billing period after that

If it can't be done during schedule creation - can I listen for webhooks, to know that subscription is on the last phase, and release it via API immediately?

Related Request ID(s)
sub_sched_1SFAxIKbHTyAU2ATc5v4zfzl

What have you already attempted?
n/a

cursive heronBOT
#

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

Question
is every time need to 10x100 for provide stripe amount or is diffenret based on countries can you provide so i can add conditions in code

Related Request ID(s)
no not have id

What have you already attempted?
alrady i did
"unit_amount": int(invoice_obj.total * 100),

but it work for all countries becuse some countries charge in different currency

cursive heronBOT
#

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

Error Message
The currency of the prices specified on the line items must match the currency of the quote. The quote has a currency of `eur` however the line items have prices with a currency of `usd`.

Question
Do quotes not support prices with multiple currency options?

What have you already attempted?
I tried creating and updating quotes

Reproduction Steps
$this->stripe->quotes->update($this->quote->stripe_id, [
'line_items' => [
[
'price' => 'price_1RtV3Q9SvzYQoTk5fuRrN6H6',
'quantity' => 2,
]
],
]);

What are you working on?
A quote manager

cursive heronBOT
#

@timber field 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/platform-pricing-tools

Question
I am a PrestaShop developer and I would like to charge an amount to the connected account each time they transfer money from their connected account to their bank account, but this page tells me that my country is not eligible for Instant Payouts. Knowing that the company is in Switzerland, what are the alternatives?

What have you already attempted?
I have already checked manual payouts in the settings/payouts page. However connected account still dont have the possibility to send money from their connected accound to bank account in the epress dashboard

What are you working on?
Prestashop 8.2.0 / Marketplace website

#

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

What did you expect to happen?
Stripe paused my charges and payments because cards were getting declined which was from stipe itself so I have itervention in this problem . Therefore I expected them to open them again after providing some documents which they didn't.

What actually happened?
after that they asked for more documents which I did provide but they still paused my charges.

Reproduction Steps
They paused my charges for a problem that was from stripe itself and even after talking to them and providing more documents they still close my charges and consider the business as high risk .

Question
How can I reopen my charges and payments?

What are you working on?
My business payments methods

cursive heronBOT
#

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

Question
I’m comparing the active subscriber counts shown in Stripe with the data we calculate in our own database, and I’ve noticed some mismatches.

Could you please clarify exactly how Stripe defines and calculates “active subscribers”?

Related Request ID(s)
idk

What have you already attempted?
I’m comparing the active subscriber counts shown in Stripe with the data we calculate in our own database, and I’ve noticed some mismatches.

Could you please clarify exactly how Stripe defines and calculates “active subscribers”?

#

@dusk thistle 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'm working on React.js and I'm want to know what are the best practices to unit test PaymentElement

I'm currently using these libs
```
"@stripe/react-stripe-js": "4.0.2",
"@stripe/stripe-js": "7.9.0",
```

What have you already attempted?
Currently I mocked `useElements` and `useStripe` but IDK what are the best practices to test screens that contains PaymentElement, if there is any doc with simple examples like "returns an error correctly if card submitted is not in the good format" etc.

What are you working on?
Unit test payment

#

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

Question
Using the API, is there a way to cancel immediately a trial period attached to a subscription ?

Related Request ID(s)
req_LdwflqWF235BYZ

What have you already attempted?
Using the subscription API to modify the object.

What are you working on?
We allow our customer to delete their account. Doing so, we want to be sure to cleanup all active subscriptions, trialing or not

cursive heronBOT
#

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

Error Message
Error discoverReaders
Contactless transaction failed com.stripe .core.aidlrpc.Aid RpcException: Failure to
connect to service com.customerwelcom e.customerwelcome.com.stripe.cots.aidl
service. CotsService.

Question
When i try to discover the readers sometimes appear this error, how can i resolve the problem?

What have you already attempted?
The errore doesn't happend all the time

#

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

Question
Can we restrict Stripe Card Reader Connection to One Device at a Time and other kiosk/app cannot connect to that specific card reader?

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

What are you working on?
Each tablet should connect only to its assigned Stripe Reader M2 using the saved serial number. All other Bluetooth pairing or connection attempts must be ignored or blocked, keeping the reader locked to its primary tablet.

cursive heronBOT
#

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

Question
I'm upgrading our stripe client from Basil to Clover (Python). We're using subscription schedules, i'm unable to replace iterations with duration. I have the error stripe._error.InvalidRequestError: Request req_i3e7cxWyabiqOa: The last phase must specify either `iterations` (preferred) or `end_date` (advanced) if `end_behavior` is not `release`. Am i missing something?

Related Request ID(s)
req_i3e7cxWyabiqOa

What have you already attempted?
Change iterations to durations for subscription schedule

#

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

Question
Is it possible to send pictures of identity card (front and back) and selfie via API?
Or has the customer to use the stripe identity process?

Related Request ID(s)
0

What have you already attempted?
Nothing

What are you working on?
Onboarding of Connected Accounts via API

cursive heronBOT
#

👋 @tacit ridge reached out from Stripe Support.

Summary:
User is facing an issue with Tap to Pay on Android, the tap to pay screen is frozen.

#

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

Question
Our team found a weird issue where we tried to refund a payment that was made with Link and a bank account was the actual method of payment.

When we attempted to refund it from our end - it shows that it was completed and then somehow was updated to show that it failed. I'm curious if this related specifically to Link?

The PI is: pi_3S8kTd4QXNU7JRrp0QfoLrVT

Related Request ID(s)
req_ha5P9Uvsw254od

What have you already attempted?
We have tried looking through the logs but it's not clear

What are you working on?
A ticket purchasing platform

cursive heronBOT
#

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

Question
The situation:

  1. I have 3 different subscription with monthly billing period.
  2. I canceled one with proration (via API)
  3. For which one of 2 subscriptions left "prorated money" will be applied? For 1st one billed? Is it possible to set up the relation of another subscription that I want prorated applied to?

Related Request ID(s)
no requests

What have you already attempted?
I reproduced the case that I described, but I didn't understand how exactly it works.

cursive heronBOT
#

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

Question
We're trying to integrate Ali Pay and WeChat payment but for some reason they do no show up as options. We're creating invoice first:

const initialInvoice = await stripe.invoices.create({
customer: customerId,
default_tax_rates: taxRate ? [taxRate] : undefined,
application_fee_amount: Math.round(techFee * 100),
metadata: {
cartId: cart.id,
email: user.email
},
discounts: coupon ? [{ coupon: coupon.id }] : undefined,
}, { stripeAccount: stripeAccount.stripeId });

Related Request ID(s)
NA

What have you already attempted?
Enabling those options in payment options in the admin dashboard

cursive heronBOT
#

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

Question
Working on an upgrade for our app from stripe-terminal-ios sdk version 3.9.1 to 4.6.1 and getting the error message when i attempt to connect to a WP3 reader:

Error Domain=com.stripe-terminal Code=1990 "When support for simultaneous readers is enabled, the method variant which accepts a reader delegate parameter must be used instead."

Related Request ID(s)
N/A

What have you already attempted?
Gone through the migration guide. https://docs.stripe.com/terminal/references/sdk-migration-guide

What are you working on?
We have an app in production that is mostly used to take payments offline.

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/payments/3d-secure/authentication-flow?api-integration=setup-intents-api

Question
My question is how can we implement 3d secure utilizing your ios checkout payment form in a way where we use setup intent to create the card and then after some users options we finalize on backend the checkout charging the user.

The issue comes that with using setupintent your checkout handles a 3d secure for setting up the card and seems to want us to return another time to the user after creating the payment intent so that they can 3d secure again.

How to reduce this to only one 3d secure attempt?

What have you already attempted?
We have tried the integration with setup intents and after finishing that got into 3d secure and realized the difference in the flow. I have tried to change confirmation_method but have not tried off session yet. Would love any expertise you can offer us.

What are you working on?
Working on an ios app and in this app we offer payments with stripe

#

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

Error Message
I had a customer who got to the payment screen of our checkout process. When they got there, the screen went to skeletons and never resolved the the payment element. The customer was very frustrated and publicly announced that our site froze, but there was no issue with our site.

Question
What are some potential causes for this issue and solution so this doesn't happen in the future. I have no way to reproduce it, but I figure this isn't the first time it has happened. Is there a way to mitigate the issue if not.

What have you already attempted?
I had the user try a different browser and this resolved the issue for them.

What are you working on?
secreterrier.com

#

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

Question
we are requesting payout information with the transactions as well from stripe but for transactions like "Contribution from reserved balance" the source is null. Is this how it was always or some recent changes.

Related Request ID(s)
I dont have request id but I can provide the json itself.

What have you already attempted?
for now we have added null check on source on our side, but We just wanted to know if this was always like this or new change. Becasue we want to make sure this thing is consistent.

What are you working on?
API Integration Maintainance

cursive heronBOT
#

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

Question
I am using Checkout API to create checkout session and item. For the amount, I am facing an issue where my unit price is in decimals and is not calculating correctly. For Ex: My total cost for 8 quantity is 375. In order to send this via API, I need to calculate the unit cost and then pass. Due to which the total amount becomes 375.4

Related Request ID(s)
cs_test_b14mygYq9emHGsK02YakzTOb1XkQx7SoqLC6h2eyXXMnmHG3SebYur8IPV

What have you already attempted?
Tried different parameters

cursive heronBOT
#

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

Question
In stripe dashboard, it showed the event is failed. But from my log, I found I received this event.

Related Event ID(s)
evt_3SFMNZElKfp1TfOj1rYnYxv9

What have you already attempted?
I want to confirm why it showed failed in dashboard

cursive heronBOT
#

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

Question
Will amount_details and amount_details.line_items data be available on resulting charges the same way that level3 and level3.line_items is defined on PaymentIntents but exposed through Charges today?

Related Request ID(s)
req_nn2BGXFcd0seYf

What have you already attempted?
Looked at documentation and played around with new line items API

What are you working on?
We have a PaymentIntents project that currently submits level3 data and we need to migrate it to use the Line Items API

cursive heronBOT
#

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

Question
I'd like to point that the docs on the page https://docs.stripe.com/billing/subscriptions/subscription-schedules#changing-subscriptions is obsolete, specifically:

  1. The subscription schedules documentation needs updating to reflect the change from "iterations" to "duration" parameters
  2. The proper structure of the duration object should be clarified ("interval" and "interval_count" instead of "unit and count")

Related Request ID(s)
https://docs.stripe.com/billing/subscriptions/subscription-schedules#changing-subscriptions

What have you already attempted?
I tried the code on the page but the api removed support for the "iterations" property on the phases parameter

cursive heronBOT
#

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

What did you expect to happen?
Trying to go to Strip Support to send me a code to verify my new phone number and all that to sign into my account. Nope, As they derect me to go to "Tilt" and redo my number their as i did nothing happend yet again and im back where i started.

I feel like im stuck in a loop whole and cant get out of it...

What actually happened?
Need to reset my new number and stripe not allowing me as bringing me to something completly different as idk if Tilt is used for roblox anyways.

Reproduction Steps
Trying to login to Stripe account.

Stripe not allowing me to reset my Phone number due to me having phone verification on only.

Now i cant login and going to support and them not able to do anything and mentioning changing my number on Tilt.

Changed my number on Tilt and came back as i followed each step and back here.

Question
Why is your support system so weird i cant even do anything as i really need to get to a real person please im beggin.

What are you working on?
Im working on trying to get my Stripe account to work so i can start selling my own models but this is holding me back.

cursive heronBOT
#

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

Question
Since the list invoices API does not allow excluding a status of invoice, for example listing all invoices _except_ the ones in "draft" status, I have to manually filter in my code. I'm trying to choose a correct `limit` argument based on the page count my client requests but also to try to minimize extra round trips to Stripe because a page might have draft invoices that get filtered out in code.

Are there any benchmarks on the latency difference between listing lower amount of invoices vs using the maximum of 100?

Doc/Guide Links
https://docs.stripe.com/api/invoices/list

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

cursive heronBOT
#

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

Code
```

const handleConfirm = async (e: StripeExpressCheckoutElementConfirmEvent) => {
const { billingDetails, shippingAddress } = e;
console.log("shippingAddress and billingDetails", { shippingAddress, billingDetails, e });

    ...
}\`\`\`

Question
Hi, I'm trying to get the shipping phone number from express pay (amazon) using <ExpressCheckoutElement ... />
However the onConfirm `StripeExpressCheckoutElementConfirmEvent` only returns the phone number from billing.
We've noticed that from 2 different account we get the same number in the sandbox env (4259415758)

What have you already attempted?
compared to the previous implementation that uses
https://developer.amazon.com/docs/amazon-pay-api-v2/checkout-session.html#checkout-session-object
Where we get a different number using the same account

cursive heronBOT
#

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

Code
const options: any = {
defaultValues: {
billingDetails: {
email: props.contact?.email,
phone: props.contact?.phone,
name: props.contact?.name,
address: {
city: props.contact?.city,
country: props.contact?.country,
line1: props.contact?.line1,
postal_code: props.contact?.zipCode,
state: props.contact?.state,
},
},
},
}

Question
I'm trying to prefill contact related fields in stripe payment element payment methods such as ideal, sepa, Link, etc, but none of the fields of theses payment methods are getting prefilled on passing defaultValues in stripe options in stripe sdk. I've applied watcher in vue js as:
if (!stripeSDKElements.value)
return createPaymentElement(options)
stripeSDKElements.value.update(options)
Although the options are getting updated correctly but values are not getting prefill

What have you already attempted?
Our sample checkout link: https://app.gohighlevel.com/v2/preview/zpUFL614V8oGFHUpKEfe
On filling the form with fields such as email, name, etc. options are getting updated correctly in watcher but it is not reflecting in Ideal / Bancontact / Link field details.

What are you working on?
Trying to prefill data in stripe payment element sdk such as name, email, etc

#

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

Question
Is it possible to have one account and two different webhooks pointing to different geo zone - let's say I have users in UK and Thailand, I want to get events on different servers or all events are shared per account?

Related Event ID(s)
n/a

What have you already attempted?
I checked the connected accounts but i didn't get it

What are you working on?
as described in the question

cursive heronBOT
#

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

Code
// Set up Stripe.js and Elements to use in checkout form.
const elementsNew = stripe.elements(options);
const expressCheckoutElement = elementsNew.create('expressCheckout', {
paymentMethods: { applePay: "always", googlePay: 'always' },
});

        expressCheckoutElement.on\("ready", \({ availablePaymentMethods }\) =\> {
            console.log\("ready call"\);
            console.log\(availablePaymentMethods\);

Question
I am trying to enable google pay wallet but its not working. however apple pay is working.

What have you already attempted?
Simple HTML/JS poc i have created to show the wallet buttons. here is the link

https://dev.cheapestairportparking.com/google-pay-poc.html

What are you working on?
I am trying to inegrate apple pay and google pay wallets in our chekcouts using The Express Checkout Element

cursive heronBOT
#

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

Code
Block if :seconds_since_card_first_seen: > 0 AND NOT :is_recurring:

Question
I want to Limit 1 subscription per credit card on all services/landing pages where I am using the stripe form

What have you already attempted?
Tried to add this blocking radar rule, but not sure will it work with the use case i want

What are you working on?
I am working with stripe API. When a user submits a form (with stripe card), a subscription with 7 day free trial (0 charged initially) is created.

cursive heronBOT
#

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

What did you expect to happen?
PayNow in singapore and other countries should display consistantly

What actually happened?
today our Director had a demo with client where paynow button didnt appeared but later time it appeared properly to same user.

Reproduction Steps

  1. Go to k9assistance.org
    2, Click on Donate button on bottom right
  2. iframe will appear, select $20 from same window and click on next,
  3. Paynow is expected to appear seemlessly to every user, it should not show inconsistancy

Question
Why there is difference on appearing PayNow to same user? How can we fix it for all our websites? Sometimes Paynow is appearing and after some time its appearing.

What are you working on?
a donation button which accepts payments via our clients websites.

cursive heronBOT
#

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

Code
<PaymentElement
...
onReady={(element) => {
// Get available payment methods
}}
/>

Question
Hi, I'm trying to get the list of the payment providers that are actually displayed to the user for analytics (for example afterpay might be hidden, etc).
Is this possible without doing a hacking solution that would scan the dom?

What have you already attempted?
tried checking the docs and the types for something that resembles a getAvailableMethods
also tried AI but with no success

cursive heronBOT
#

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

Code
async function confirmPaymentIntent(paymentIntentId : string, applePayToken : string) {
try {
const paymentIntent = await stripe.paymentIntents.confirm(paymentIntentId, {
payment_method: paymentMethodId, // Use the token received from Apple Pay
});

    console.log\("PaymentIntent confirmed\:", paymentIntent\);
    NextResponse.json\(paymentIntent, { status\: 200 }\)
  } catch \(error\) {
    console.error\("Error confirming PaymentIn

Question
i want to integrate Apple pay in my app, i implemented apple pay according to apple instructions. and now in onpaymentauthorized i want to charge through stripe , but i am not able to do that.

What have you already attempted?
I'v tried to create payment intent and then payment method , but paymentmethod creation not accepting apple pay token and, i try to create stripe token to pass in payment method but that is also returning error.

cursive heronBOT
#

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

Question
Is it possible to change payout schedule for a connected account from manual to automatic via the API?

Related Request ID(s)
N/A

What have you already attempted?
I tried a few different curls but it didn't seem tow ork.

#

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

Question
I'm looking at updating a subscription with a collection_method of 'send_invoice'

If the previous invoice is unpaid, I'd like to void that invoice before doing the subscription update so that they are not creditted for an amount which was not paid.

Related Request ID(s)
req_Slts8xGLka2L7U

What have you already attempted?
I've tried voiding the invoice but, after the subscription update they are still credited on the invoice which is generated from the update.

#

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

Question
Is there a way to prevent Klarna to be used a pay in full and only with the buy now pay later option?

Related Request ID(s)
req_yXYmwcVMNOpv3l

What have you already attempted?
I've set up a simple test to make recurring payment with Klarna. By default the BNPL option is select but it can be changed to pay in full but I haven't seen any option to prevent it

#

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

Question
We are implementing payment element. We use paypal and credit cards. User can make a preauthorization at the moment of the booking or later, depending on business logic, so we use setup_intent or payment_intent depending on logic. What happens if user has paid once with paypal, and then at the moment of the booking selects paypal again with a setup intent? Will it create a new payment_method_id paypal or re-uses the same ? Will it create a new mandate?

Related Request ID(s)
no requests

What have you already attempted?
nothing, it's just a question to understand if we need to dev something more on our backend

What are you working on?
SaaS marketplace with session bookings

cursive heronBOT
#

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

Question
Certain express checkout buttons are not showing up on deployment (Klarna, paypal, apple, google, etc)

error #1:
The following payment method types are not activated:
- paypal
- klarna

error #2:
Unable to download payment manifest "
https://www.gopgle.com/pay".

Related Request ID(s)
none

What have you already attempted?

  1. Domain registration is correct and verified for all
  2. Code integration is correct (Link PM shows up)
  3. All payment methods are enabled in the dashbrd
  4. API keys are correct (sandbox environment)

What are you working on?
An online shop

cursive heronBOT
#

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

Error Message
Attempting to create a transfer of sgd to a destination that supports usd, but this account has another external account that supports sgd. You should transfer to ba_1SFHdnEUZobIJ3pcEl3ZQaTm to avoid currency exchange fees.

Question
Hi, this error appears when I try to create a payout in SGD to a Connected Account's USD bank account. Is there a way to go through with the payout? We are willing to accept the currency exchange fees.

What have you already attempted?
We are using the payouts API with the `destination` field like this:

stripe.payouts.create(
{
amount: 1000,
currency: 'sgd',
description: 'Withdrawal from wallet',
destination: 'external_account_id',
},
{
stripeAccount: 'stripe_account_id',
}
)

What are you working on?
I'm building a wallet system with a withdraw function

cursive heronBOT
#

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

Question
I'm reaching out with a question regarding the use of saved payment methods in Stripe Checkout. My goal is to allow returning customers to select from their previously used/saved payment methods directly in Checkout to streamline their experience. Is this behavior expected? Are there any specific requirements or configuration steps needed to ensure that saved payment methods are displayed during Checkout?

Related Request ID(s)
req_zdANFQpg0n27dq

What have you already attempted?
I'm currently creating Checkout Sessions using an existing customer ID. In the Stripe Dashboard, I can confirm that this customer already has at least one saved payment method (a card). However, when going through the Checkout flow, the saved card does not appear as an option — only the form to enter a new card is shown. I'm also setting payment_intent_data.setup_future_usage = 'off_session' to save the payment method.

What are you working on?
web app for selling school supplies. Customers can create an account to shop faster, view past orders, and pay through Stripe

cursive heronBOT
#

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

Question
what is the best way of getting the last 4 digits of bank account from the Charge object on payment failure or success

Related Request ID(s)
None

What have you already attempted?
handling Charge failed and Success events.

#

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

Error Message
`setup_future_usage` cannot be used with one or more of the payment method types active on this PaymentIntent. If you're using dynamic payment methods, please remove `setup_future_usage` and try again. Otherwise, please remove `setup_future_usage` or remove these types from `payment_method_types`: ["ach_debit"].

Question
I'm trying to create a subscription, and then pay for it with elements & a confirmation token.
Some of our customers have a default `PM/source` of a bank account (`ba_...`) (via Plaid).
For these customers we get this error.

1) Stripe thinks it should use the default payment method instead of the one given in the Elements input. Why?
2) How can `ach_debit` work?

What have you already attempted?
Idk what to change. This flow works for most customers. It just fails on certain ones with these default ACH PMs.

I do not have `setup_future_usage` declared.

Reproduction Steps

  1. elements as subscription, no payment_method_types declared.
  2. create confirmation token
  3. create subscription
    ```typescript
    customer: customer.id,
    collection_method: 'charge_automatically',
    payment_behavior: 'default_incomplete',
    payment_settings: { save_default_payment_method: 'on_subscription' },
    ```
  4. Confirm payment with secret & confirmation token

What are you working on?
A custom donation form for my company

cursive heronBOT
#

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

Error Message
Amount must be no less than $20.00

Question
How can i get the minimum payout amount required by Stripe to show in my UI?

What have you already attempted?
I've read through the Stripe documentation for minimum payout amounts: https://docs.stripe.com/payouts?account-country=SG#minimum-payout-amounts

It doesn't say $20.00 anywhere in this page. I also couldn't find anything in the Stripe API documentation about the minimum required amount.

Reproduction Steps
stripe.payouts.create(
{
amount: 678,
currency: 'usd',
description: 'Withdrawal',
destination: 'destination',
},
{
stripeAccount: 'account_id',
},
)

What are you working on?
A wallet system that has a withdraw function

cursive heronBOT
#

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

Question
I need a way to receive https://docs.stripe.com/api/billing/meter-event-summary webhooks or retrieve the payload for when metered events are created. Is there a way to do this today without knowing the exact customer_id. I am using Airbyte or was hoping to create a webhook event when a customer meter is updated to ingest the payload and see the usage

Related Event ID(s)
billing.meter_event.created

What have you already attempted?
I've looked at documents and tried airbyte

What are you working on?
Building analytics around customer usage

cursive heronBOT
#

@weary crescent 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-line-items?level=l3#sample-response-(level-2-data)

Question
Received an email from Stripe about updating our PaymentIntent integration to begin sending unit_of_measure. We have multiple different implementations of Stripe for different use cases. In our main implementation, we use PaymentElement and AddressElement and create a Stripe subscription on the backend which generates an invoice with a payment intent for us. Do we have any work to do with this implementation or does Stripe handle sending amount_details and unit_of_measure for us based on the subscription items we send?

What have you already attempted?
--

cursive heronBOT
#

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

Question
I'm going to use webhook function for getting payment response real time.

Related Event ID(s)
I'm not sure which ID should I have to share.

What have you already attempted?
I create payment intent and send clientSecret and paymentIntentId to front-end.
Also in front-end, we are using stripe element and send payment request, and it's working well, but we can't get any event on our webhook function of back-end.

What are you working on?
I'm building SHIP IT BEST website

cursive heronBOT
#

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

Question
trying to identify fees and network costs in balance transactions. Fees are working issues with catching the network cost

Related Request ID(s)
txn_1SD4vYQwKOCkCcWTtzhnSGJA network_cost

What have you already attempted?
case stripe.BalanceTransactionTypeStripeFee,
stripe.BalanceTransactionType("payment_network_reserve_hold"),
stripe.BalanceTransactionType("payment_network_reserve_release"):
sourceID = "FEES"
document = "FEES"
}

What are you working on?
Download and process the transactions for a payout posting to the proper general ledger accounts.

cursive heronBOT
#

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

Question
Is it possible to customize the "Add a tip?" text on the bbpos WisePOS E when tipping is enabled?

Related Request ID(s)
n/a

What have you already attempted?
Searched the docs - didn't see it mentioned.

What are you working on?
A stripe terminal integration that is already in production for years, just curious if it's possible to configure this specific string.

cursive heronBOT
#

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

What did you expect to happen?
A user tried to add a Payment Method to make a payment, but it's already "shared" as a Source, so she can't add it and create a Payment Method in addition to the source.

What actually happened?
She is blocked unless we delete the Source, which we don't want to do as we'd lose past data associated with that Source.

Reproduction Steps

  1. Add a Chase bank account Source using legacy Stripe code
  2. In recent code using `@stripe/react-stripe-js` 3.7.0 initiate a Elements/PaymentElement with payment intent and customer secrets
  3. Try to add that same Chase bank account to create the Payment Method and see that the dialog says "it's already shared" and you are blocked

Question
How can I let this user add a Payment Method for this Source without deleting the Source?

What are you working on?
An event planning app that has an invoice aspect.

cursive heronBOT
#

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

Question
I'm retrieving customer_cash_balance_transaction.created event to my webhook address, and incoming payload is bank trasfer with us_bank_transfer and type "funded". How can I retrieve source bank details or at least last 4 digits? it is not included in the event payload.

Related Event ID(s)
evt_1SDjUtBVZKCfdJd1Vw033VAI

What have you already attempted?
get payment method attached to customer
get cash balance transaction with expand[] params such as refunded_from_payment.refund or transferred_to_balance.balance_transaction

What are you working on?
I'm building a payment system that provides clients with funding instructions, allowing them to deposit USD into their accounts via designated Stripe bank accounts for US ACH or domestic wire transfer

cursive heronBOT
#

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

Question
My events work as expected, but I am trying to delay charges.succeeded until a frontend check completes at a /page. I can issue refunds automatically, but it causes Stripe fees if I cannot prevent charge before frontend check. I am using stripe hosted checkouts preference over custom form which I know could control the issue better.

Related Event ID(s)
evt_3SFlgrGdbZlAW4WT1vVOdFj4, evt_3SFlgrGdbZlAW4WT1mQB4K2H, evt_3SFlgrGdbZlAW4WT1fZwvOzH

What have you already attempted?
I am to the point of issuing refunds after the frontend check if items don't match what's expected.

What are you working on?
Delay completion of charges

cursive heronBOT
#

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

Code
createRefund: async (stripePaymentIntentId, description) => {
try {
const refundExist = await RefundModel.find({
stripePaymentIntentId,
});
console.log("refundExist", refundExist);
if (refundExist?.length > 0) {
throw createError(
404,
"Refund already created for this payment intent."
);
}
const refund = await stripe.refunds.create({
payment_intent: stripePaymentIntentId,
});

Question
I am creating the refund but getting the error No such payment_intent: 'pi_3SD0CEB0kfJCthvM0eXe8gWm

What have you already attempted?
I have tried this refund using above given code. Suggest what's the issue in refunding

cursive heronBOT
#

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

Question
I’m receiving event hooks for customer_cash_balance_transaction.created when users deposit funds. What’s the recommended way to process a refund for a deposit?
Also can I reprocess/retry this specific event to my webhook endpoint?

Related Request ID(s)
evt_1SDjUtBVZKCfdJd1Vw033VAI

What have you already attempted?
Checked the event on the dashboard and don't see any refund/retry options

What are you working on?
Payment system for funding instruction deposits.

cursive heronBOT
#

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

Code
$subData = [
'customer' => $customerId,
'items' => [['price' => $priceId]],
"billing_thresholds" => [
"amount_gte" => 100000,
],
'collection_method' => 'charge_automatically',
'payment_behavior' => 'error_if_incomplete', // fail immediately if we can’t be charged
'automatic_tax' => [
'enabled' => true,
],
];
$subscription = $this->stripeClient->subscriptions->create(
$subData,
['stripe_account' =>

Question
$priceId is a price object created for a product. a meter (usage based billing) is created and attached to the price object.

I would expect that when subscription payout exceeds $1000, an invoice will be generated. But this does not happen. I am charged correctly in the end of the billing cycle though, but that is not what I want.

What have you already attempted?
Used AI in stripe docs, and tools like codex. I read the docs and I have concluded to the above code approach,

What are you working on?
Bill users based on enrollments in certain courses

#

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

What did you expect to happen?
Apple Pay to succeed in the UI and not show "Payment Not Complete" in React Native

What actually happened?
Apple Pay payment works, Customer Charged and webhook recievied. Apple Pay UI says "Payment Not Complete" though

Reproduction Steps
Code:
```
await initStripe({
publishableKey: env.EXPO_PUBLIC_STRIPE_PK,
stripeAccountId: data.stripe_connect_id,
merchantIdentifier: "merchant.matching.ios.cert",
});

const { error } = await confirmPlatformPayPayment(data.client_secret, { applePay: { cartItems: payload, merchantCountryCode: "US", currencyCode: currency } });
```

Question
Am i doing this correctly?
```
"expo": "~53.0.23",
"react-native": "0.79.5",
"@stripe/stripe-react-native": "0.45.0"
```

What are you working on?
Mobile App to book 3rd Party Venues

cursive heronBOT
#

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

Question
We have recieved an email from stripe regarding a few changes to do due to Commercial Enhanced Data Program (CEDP). So do we have to update all the existing flow ?

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Code
export default function ApplePayButton(props: ApplePayButtonProps) {
return (
<Elements
stripe={stripePromise}
options={{
mode: "payment",
amount: props.amount,
currency: props.currency || "usd",
paymentMethodTypes: ["card"], // Apple Pay uses `card`
}}
>
<ApplePayInner {...props} />
</Elements>
);
}

<ExpressCheckoutElement
options={{
paymentMethods: { applePay: "always", link: "never"

Question
I have integrated apple pay in my app through stripe. and it's working fine with safari . but on chrome, i am expecting a modal from apple.com with there QR code. but when i click on apple pay button it's redirecting to apple cdn (https://applepay.cdn-apple.com/jsapi/v1.2.4/applepaycode/index.html?newWin=true&origin=https%3A%2F%2Fb.stripecdn.com) and then after loading it returns
Service Unavailable
Apple Pay services are not responding. Wait a few moments and try again.

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
Hi dear Stripe Support Team,
We recently upgraded to the API version in order for our dev testing to continue working as it used to since our development webhooks continue to fail. In this regard we have several questions:
- We used to get invoices along with their subscriptions which allowed us to be able to tell which of our products the invoice was for. How is that done now? Should we get the subscription from the lines of the invoice?
- We used to be able to get upcoming invoices for a subscription by adding a subscriptionId in the params of the function? How to do that now?

Related Request ID(s)
no ID

What have you already attempted?
We've looked at the docs and couldn't figurre it out https://docs.stripe.com/api/invoices/upcoming?api-version=2024-11-20.acacia

What are you working on?
We are building an all-in-one solution for educational institutions

cursive heronBOT
#

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

Error Message
[Stripe.js] The following payment method types are not activated:

- klarna

They will be displayed in test mode, but hidden in live mode. Please activate the payment method types in your dashboard (https://dashboard.stripe.com/settings/payment_methods) and ensure your account is enabled for any preview features that you are trying to use.

Question
We are trying to integrate express checkout in our app. So far everything worked smoothly, however Klarna just refuses to show up as an option in express checkout elements

What have you already attempted?

  1. Domain is registered
  2. It's enabled in the dashboard
  3. Other payment methods show up
  4. Tried a VPN to match location of stripe dashboard account.

Reproduction Steps
Rendering an express checkout element with the following options:

const expressCheckoutElementOptions: StripeExpressCheckoutElementOptions = {
paymentMethods: {
googlePay: "always",
applePay: "always",
klarna: "auto",
},
paymentMethodOrder: ["apple_pay", "google_pay", "klarna"],
} as const;

cursive heronBOT
#

@deep cave 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

Question
I have 2 payment flows in my current setup - 1) Stripe redirect and 2) Stripe elements embedded. In my redirect flow i have webhooks to manage bank transfer, my question is if i dont add webhooks for my elements embedded flow, will bank transfer show as a payment method in my elements block and simply break, or will they not show at all? (i have enabled bank transfers in my Stripe dashboard and enabled automatic payment methods in using Stripe API).

What have you already attempted?
I have attempted to show bank transfer as payment method in stripe simply by turning it on in dashboard but it is not showing.

What are you working on?
I am building a parallel stripe elements embedded payment flow in an existing platform

cursive heronBOT
#

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

Code
<Elements options={{ ... }}>....</Elements>

Question
Hello, I can see in this JS documentation that in options we can provide "wallets" and "applePay" options : https://docs.stripe.com/js/elements_object/create_payment_element

How can I access these options with Elements component from @stripe/react-stripe-js library?
And what are the conditions to show apple pay on a macbook/google pay in dev environment?

What have you already attempted?
I tried checking options props but I don't find the corresponding one

What are you working on?
Add Apple Pay to Payment Element in React.js

cursive heronBOT
#

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

Question
Hello,
How can I do external Payout ? Like to differents users ?

Related Request ID(s)
I have done many one. I have this one. This is the last one I have req_fz6J0Ogvwx0wC6

What have you already attempted?
I have been trying to use the payment method but it's not working. I'm currently trying to generate a bank token by asking the IBAN, after trying to generate the bank token to finish on creating a payout.

If you have any ideas to simplify. I'm free to listen :)
Thank you for your reading.
Louis

What are you working on?
I'm working with Bubble (to be precise i'm using API connector)

#

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

Question
We are switching to the new api version and keep getting this error"StripeInvalidRequestError: Starting with Stripe version `2025-03-31.basil`, metered prices must be backed by meters.
at generateV1Error (webpack-" What does this mean? We didnt have to use these meters before to create a checkout session for a metered product. Thank you for your help!

Related Request ID(s)
req_bDXLXm40GCK1GM

What have you already attempted?
Looked at the docs but we couldnt figure it out

What are you working on?
An all-in-one platform for educatinoal institutions

cursive heronBOT
#

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

Question
Hi, is there a way to make a payment only go through frictionless 3DS, without falling back to the challenge based 3DS?

The idea is that we request a frictionless-only 3DS payment, and if that fails, we re-attempt the payment without any 3DS rules based on our internal rules.

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

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

Code
We are using the <Payment Element/> component

Question
We’re using the Stripe Payment Element with the Link payment method enabled.
We need to track user interactions with the Link element and determine whether a user selected Link as their payment option.

The specific interactions we’d like to capture include:

When a user chooses to save their payment details with Link

When a user changes the card selected through Link

When a user completes a payment using Link (currently reported as “card”)

Is it possible to achieve this l

What have you already attempted?
We have attempted to use the event handlers of the Payment Element
onChange
onSavedPaymentMethodUpdate
onSavedPaymentMethodRemove
these do not provide the relevant data

What are you working on?
Stripe Element Integration

#

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

Question
I get an error when using any of the express checkout elements (google pay/klarna):

Payment details were collected through Stripe Elements using payment_method_types and cannot be confirmed through the API configured with automatic payment methods.

Related Request ID(s)
req_dkzcnIYxoSVSQX, pi_3SFuCm4cOZ7Xf1Lb0ztLe4Vk

What have you already attempted?

  1. Enabling/disabling payment methods through stripe dashboard
  2. Changing various stripe config settings
  3. Elements config:
    `{
    mode: "payment" as const,
    payment_method_types: ["card", "klarna"],
    currency: "eur",
    amount: 100
    }`

What are you working on?
A checkout page

#

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

Error Message
E class=BackgroundReaderActivator message="Reader could not be activated in background"
com.stripe.stripeterminal.external.models.TerminalException: Timed out waiting for connection token
Timed out waiting for 60000 ms

Question
How can I increase the timeout for getting the connection token for the handoff reader?

What have you already attempted?
I attempted to decrease the period in which the backend returns the connection token. However, I use gRPC to connect to the backend and cannot invalidate the negative DNS cache TTL (which is currently 300 seconds) upon the device getting reconnected to the internet. Apparently the default timeout set to retrieve the connection token is 60 seconds.

Reproduction Steps
- disconnect S700 from internet
- start Android app
- Terminal gets initialised with the offline connection token (already present)
- connect S700 reader to the internet
- the offline connection token needs to be refreshed
- the token refresh call to the backend takes 300 seconds
- I get the error that the timeout is 60 seconds

What are you working on?
I am working on an app that allows charities take donations on an S700.

cursive heronBOT
#

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

Question
We recently started seeing this error in our logs:

SubscriptionScheduleChangePrice Error: Error sending request to Stripe: (Status 400) (Request req_A2iaX8759nlHFZ) You can not modify the start date of the current phase.

We have not changed our process. We create a schedule first, then we adjust the phases. Has something changed API side?

Related Request ID(s)
req_A2iaX8759nlHFZ

What have you already attempted?
Basic troubleshooting to pinpoint the point of failure

cursive heronBOT
#

@sage minnow 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/stablecoin-payments

Question
Hi, we are thinking about enabling the crypto_payments capability for our managed connect users, but would like to know whether the particular payment method offers instant succeed notification on the webhook (as soon as the customer successfully triggers the payment) and not a delayed one like SEPA Direct Debit (where the success would be days later iirc). Can we assume that the pages not mentioning anything would be instant notifications?

What have you already attempted?
Sadly, not all pages describe whether the payment method offers instant or delayed notification.

What are you working on?
Our business partners that we onboard on Stripe Connect rely on instant notifications due to risk of delayed notifications (food business etc.)

cursive heronBOT
cursive heronBOT
#

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

Code
<Elements>
<PaymentElement options={{ wallets: { applePay: 'auto' } }} />
</Elements>

Question
I'm want to check if Apple Pay can be shown on Payment Element so I added a real credit card in Apple Wallet, I'm on a test environment so I fulfill the conditions listed here: https://docs.stripe.com/apple-pay?platform=web#test-apple-pay

But Apple Pay option is not shown :(

What have you already attempted?
I can see Apple Pay option on this test page in Safari browser : https://docs.stripe.com/testing/wallets but I can't see it on my Payment Element on my dev environment

Here are the lib versions I use:
"@stripe/react-stripe-js": "4.0.2",
"@stripe/stripe-js": "7.9.0",

What are you working on?
Show Apple Pay option in Payment Element in web

#

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

Question
Streamline, our property management system, is asking us to enable "Handle card information directly" to complete our integration with them successfully. It is not allowing me to enable this. Can you please help?

Related Request ID(s)
?

What have you already attempted?
I have given SL all codes and they said the next step would be to enable "Handle card information directly".

cursive heronBOT
#

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

Error Message
You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance

Question
My platform account balance has 1,358.21 SGD, so why does this error show up when i want to transfer 30 SGD to a Connected Account?

What have you already attempted?
Request ID: req_NEuyp12hOvvlWg

What are you working on?
Wallet system with a withdrawal function

#

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

Question
How can I personalize the onboarding for Stripe Connect?

Related Request ID(s)
As en example req_mWgeZMv134GFh1

What have you already attempted?
I want to create a Stripe Connect account. It's working with the API. Now I doing the Account link for the MVP. The issue is about the data asked. Because I'm talking to individual personne. Not auto-company or else I don't want the question. The same for the website. How can I skip this ?
Also, how to display to the user all the step he need to do like ID verification or else to get Payout ?

What are you working on?
I'm working on a refferal systems. The user receive 10 buck from the registration fees when a user is useing his referral code.

cursive heronBOT
#

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

Question
Forgive me if this is better for Support, but do you know what happened to the nice Events (I think that's what it's called) view when looking at a PaymentIntent? It used to list every webhook triggered and let you toggle between webhook responses while on the page.

Now, you have to click into each one and go off page,

Related Request ID(s)
https://dashboard.stripe.com/acct_1NgD2yLvyoWw5O6y/test/payments/pi_3SDwylLvyoWw5O6y1H8knzYd

What have you already attempted?
Looked for documentation

#

@obsidian 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/payments/ach-direct-debit/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api#web-collect-details

Question
Hi, I'm trying to use the method in this doc: stripe.collectBankAccountForPayment in order to collect bank payment info upon checkout. The problem is, when using the imported npm package @stripe/stripe-js, I am unable to use the method collectBankAccountForPayment after loading stripe using the loadStripe method. The error is specifically a type error stating 'collectBankAccountForPayment is not a function'. How can I get this to work?

What have you already attempted?
I have followed the usage instructions as specified here for loading stripe: https://www.npmjs.com/package/@stripe/stripe-js and I can successfully import and initialize Stripe Elements on my web page, but cannot use this method.

What are you working on?
Web page to accept payment in the form of Bank ach details

cursive heronBOT
#

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

What did you expect to happen?
Tax amounts for destination charges with transfer_data.amount are treated as "tax liability" in revenue recognition as opposed to "revenue"

What actually happened?
All money not transferred to the connect account is being counted as revenue, including the tax amount

Reproduction Steps

  1. Purchase subscription with transfer_data.destination and transfer_data.amount and taxable address
  2. Check revenue recognition

Example invoice: in_1SAKUMAFQUUIWEfkEeDHrifE

Question
Is this a bug in Stripe where only the rule to mark all money not transferred to the coach as revenue is being applied/has higher priority so the rule to mark tax as tax liability is being ignored? Is there anything we can do on our end to rectify this?

What are you working on?
Payments to express connect accounts using transfer_data.amount and automatic tax via avalara

cursive heronBOT
#

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

Question
We've had a £20 counter dispute fee deducted from our Stripe balance after contesting a dispute. Normally, dispute fees are linked to a payout ID and retrievable via the API, but I can't find any documentation on accessing counter dispute fees this way. Is there a method to retrieve these via the API? Example dispute: du_1S7tzSAMTZO1JfZxUOAc6Raj.

Related Request ID(s)
n/a

What have you already attempted?
Reviewing dispute documentation and available report formats.

#

@gilded gale 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=subscription#create-intent

Question
Is it safe to assume in this case that a subscription will have a pending setup intent or an invoice with a confirmation secret?

What have you already attempted?
I'm upgrading from `npm:stripe@15` -> 19 / 2024-04-10 -> 2025-09-30.clover.
I was doing `subscription.latest_invoice.payment_intent.client_secret`.
Somewhere along the way it looks like this was replaced with `subscription.latest_invoice.confirmation_secret.client_secret`

cursive heronBOT
#

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

Question
How can I eliminate error 302? I received an email stating that my webhook will be disabled if I do not resolve this issue.

Related Event ID(s)
evt_1SFxGeJZAh9PJ58vC4O5FkuH

What have you already attempted?
I tried to eliminate error 302 using several methods. By adjusting the code, using simplified functions, rebuilding the code from scratch, etc.

What are you working on?
I am building a code on Apps Script (from Google) with automation features for sending emails, invoices, and records in Google Sheets. Everything works perfectly. The only problem is error 302 in Stri

cursive heronBOT
#

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

Code
var paymentElementFeatures = new CustomerSessionComponentsPaymentElementFeaturesOptions
{
PaymentMethodRedisplay = "enabled",
PaymentMethodRemove = "disabled",
PaymentMethodSave = "enabled",
PaymentMethodSaveUsage = "off_session",
PaymentMethodAllowRedisplayFilters = ["always", "limited", "unspecified"],
PaymentMethodRedisplayLimit = 10
};

Question
We're using customer sessions with the payment element showing 'Save payment details for future purchases'. When customers add a new payment method during checkout, we need to determine card funding (debit/credit) to display fees before they click 'Pay'. One thought is to create the payment method in Stripe, and then connect it to the customer after they click the 'Pay' button. Is there another way to get card funding without creating the payment method in Stripe first? TY!

What have you already attempted?
Searched Discord for threads including 'card fee'

What are you working on?
Payment Intents Upgrade

cursive heronBOT
#

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

What did you expect to happen?
Klarna should display in the payment element

What actually happened?
Klarna doesn't display in the payment element

Reproduction Steps
const options: StripeElementsOptionsMode = {
mode: 'payment',
currency: 'usd',
amount: 100020,
paymentMethodCreation: 'manual',
setup_future_usage: 'off_session',
customPaymentMethods: customPaymentMethods.value,
paymentMethodTypes: ['card', 'klarna'],
};

Question
I add Klarna payment to payment method, and also add localhost as the domain. But I test it in my local "localhost:4000", the Klarna doesn't show in the payment element. I also check currency and coutrycode , both of them meet the rules. It only shows when I explicitly specify paymentMethodTypes: ['card', 'klarna']

cursive heronBOT
#

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

Question
I have a paymentIntent and use elements to get the card info, then call confirmPayment(). This creates a customer (right?) but how can I find out the ID for this customer?

Related Request ID(s)
https://dashboard.stripe.com/acct_16dgWSZAydrGSwCIbpZk/test/events/evt_0SG60VWSZAydrGSwHb4v4AF3

What have you already attempted?
looking at the PaymentIntent object returned by stripeClient.confirmPayment()

What are you working on?
a checkout page.

cursive heronBOT
#

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

Question
I'm building a checkout form using the React SDK with CheckoutProvider. There is a ShippingAddressElement and BillingAddressElement component. It is best to use both components? In the docs, it states "If you need to collect both shipping and billing addresses and only want to use one Address Element, use the Address Element in Shipping mode and use the Payment Element to collect only the necessary billing address details." - but I believe is referring to the older SDK where there was an AddressElement.

Doc/Guide Links
https://docs.stripe.com/elements/address-element

What are you working on?
A business website selling POD items

cursive heronBOT
#

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

What did you expect to happen?
Secure data from Stripe

What actually happened?
Someone is using my Link payment

Reproduction Steps
I googled the information regarding how to delete or remove Link payment, but didn't find the answer

Question
How to delete or remove my Link payment without signing up email etc.

cursive heronBOT
#

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

Error Message
Payout reconciliation report missing transactions

Question
Hi,

I hope you're well.
I'm writing to report an issue I'm experiencing while trying to download a Stripe report from the website for reconciliation purposes. The report does not include any payment data beyond September 3rd, which is causing a delay in my reconciliation process.

Could you please investigate this as a priority and advise on how to resolve it? I cur

What have you already attempted?
trying to reach support group

What are you working on?
Stripe report

cursive heronBOT
#

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

Question
Metadata missing on checkout.session.completed event

Related Event ID(s)
evt_1SG8EkBjUrRZ1WNLE2KN7OEP

What have you already attempted?
I create a test checkout and take the promiseClientSecret to my frontend (normally this is through an endpoint but for now I isolated to ensure metadata creation):

``` subscription_data: {
metadata: {
test: 'this is a test',
}, // Metadata attached to the subscription
},```

What are you working on?
A subscription service for art

cursive heronBOT
#

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

Question
I'm testing out the list payment method configurations api:
https://docs.stripe.com/api/payment_method_configurations/object

Since we are using Stripe Connect with direct charges, is it correct to check the child configuration first, then check the overridable flag and if it is true, check the parent config?

However, in the responses that i get, the parent field contains an id and does not exist, so I'm unable to check the parent config even when overridable is true. How to fix this?

Related Request ID(s)
https://dashboard.stripe.com/acct_1S3WbGLcwiQgMjz4/logs/req_Q2SkTXoAQ1MMd5?t=1759982044

What have you already attempted?
I have tried with 2 separate stripe accounts. When listing their payment method configurations, both contain a child config object with our application id. However, their parent config id cannot be found in the list.

What are you working on?
I'm trying to dynamically enable certain payment method types when creating a checkout session.

cursive heronBOT
#

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

Error Message
This is not a valid Financial Connections Session client_secret.

Question
I'm currently trying to set up Stripe Financial Connections in my sandbox but am seeing this error, was curious what I'm doing wrong.

What have you already attempted?
My setup is as follows. I have a CloudFlare worker for my backend and a frontend running on my local machine. My backend has an endpoint that generates a Financial Connections session (seemingly successfully) because I'm able to retrieve a Session object of type "financial_connections.session". I'm then receiving this Session object in my frontend and using Stripe.js

#

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

Code
const balanceTransactions = await stripe.balanceTransactions.list(params,{stripeAccount: connectedAccountId,});

Question
I am fetching the balanceTransactions from the stripe and storing the payouts in the DB for which the transaction has the amount in negative value. like below code const payoutsToInsertInDB = balanceTransactions?.data?.filter((transaction) => transaction?.amount < 0). Now the payouts are not in the sync with the balance.

What have you already attempted?
Above is the code where I am fetching the transactions from the stripe.

cursive heronBOT
#

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

Question
I've calling the following function `stripe.checkout.sessions.create` using the below payload

`const session = await stripe.checkout.sessions.create({
ui_mode: 'custom',
line_items: lineItems,
mode: 'payment',
billing_address_collection: 'auto',
shipping_address_collection: {
allowed_countries: ['AU']
},
return_url: `${SITE_URL}/order-submitted?session_id={CHECKOUT_SESSION_ID}`
})`

When I add the ShippingAddressElement component on my checkout page, I see a Country dropdown which isn't expected.

Related Request ID(s)
mrbenhowl@gmail.com

What have you already attempted?
This was working previously when it was AddressElement - recently I've updated to the latest version of Stripe. I can provide library version details if needed.

What are you working on?
A website selling POD items

#

@hallow jay 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/workflows

Question
I’m setting up a Stripe Workflow and had a question about trigger conditions.

In the docs, the example shows something like:

Condition:

Field: PaymentIntent.amount

Operator: is greater than

Value: 1000

That works fine for a fixed value, but I’d like to do something dynamic.

For example, can I compare PaymentIntent.amount to another value coming from metadata or my backend — something like {customer.metadata.threshold} — instead of entering a hardcoded number like 1000?

Basically, I want to know if the “value” field in a condition can reference another variable or field dynamically, rat

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
Can a usage based billing meter be used for multiple subscriptions, products and customers? I tried using one for multiple by specifying the subscriptionItemId, and customerId and adding it to the prices of our products.

Related Request ID(s)
none

What have you already attempted?
I've looked at the docs.

What are you working on?
An all-in-one solution for educational institutions.

cursive heronBOT
cursive heronBOT
#

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

Code
router.post(
"/webhook",
express.raw({ type: "application/json" }),
async (req, res) => {
const sig = req.headers["stripe-signature"];

let event\: Stripe.Event;

try {
  event = stripe.webhooks.constructEvent\(req.body, sig, webhook\_secret\);
} catch \(err\) {
  console.log\(err.message\);
  res.status\(400\).send\(\`Webhook Error\: ${err.message}\`\);
  return;
}

res.status\(200\)
switch \(event.type\) {

Question
My webhook has a 100% error rate even though I respond with code 200 at the very top of my webhook, and all the code further down in my webhook works perfectly. Seems like Stripe doesn't recieve my response.

What have you already attempted?
Having "res.status" at the very top to ensure it doesn't just time out before responding.

What are you working on?
Subscription for discord bot

cursive heronBOT
#

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

Error Message
Package: Stripe Universal Connector (04tRN000005E9AD) Error Number: 1701730438-596677 (2060374480)
Problem:

  1. LightningComponentBundle [Line: 68, Col: 13] LWC1503: Dynamic imports are not allowed.
    markup://stripeGC:setup: [Line: 68, Col: 13] LWC1503: Dynamic imports are not allowed.

  2. AuraDefinitionBundle Compilation Failure
    setup.js:68,13 : LWC1503: Dyna

Question
Who do I speak to about resolving this error when installing the Stripe app on Salesforce? This comes up when installation happens on org with the new release

What have you already attempted?
Installing it in other orgs. Worked in orgs that had not been updated. AI suggests the code needs to be updated but I am not a developer and also don't think I have access to do this.

Reproduction Steps
Install the Salesforce app in a refreshed sandbox.

What are you working on?
Connecting Stripe to Salesforce

#

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

Code
<script>
(() => {
// 1) Configure
const PUBLISHABLE_KEY = "{{ env('STRIPE_TEST_PK', Config::get('constants.STRIPE_TEST_PK')) }}";
const DEFAULT_CURRENCY = "usd"; // use "bsd" only if enabled on your account
const stripe = Stripe(PUBLISHABLE_KEY);
const $btn = document.getElementById("btn-googleApple-pay");
const $host = document.getElementById("ece-host");

// Replace with your real total calculator
function computeTotalCents() {
// Example: read from y

Question
We want to show only Google/Apple Pay button when our site user ends up with selection of Tickets and amount is done. After that it should open Apple or Google pay based on device/browser. Currently its not supporting in India. But need to test this.

What have you already attempted?

  1. PRB
  2. ECE- currently this is implemented but apple pay and google pay is not wokring

What are you working on?
integration with stripe

#

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

Question
I want to understand why this customer was only charged the pro-rated amount instead of the whole year. He paid for monthly plan on 26th Aug and on Oct 6 he upgraded to a yearly plan but he wasn't charged the full amount.

Related Request ID(s)
https://dashboard.stripe.com/acct_1CaQ5rJqE5f9ucQh/invoices/in_1SF7ckJqE5f9ucQhvhDSnFF1

What have you already attempted?
Looked through logs

#

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

Question
Hello, I need to test the stripe webhook connector for funding by wire bank notes , and its donest work and I dont find the docs

Related Event ID(s)
none

What have you already attempted?
try stripe trigger but nothing really or not implemented

What are you working on?
co factoring app

#

@cloud badger 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/pending-updates#canceling-changing

Question
According to the doc, by using pending updates, we can make sure that subscription is upgraded only if the generated invoice is charged successfully by stripe.

So, I've a use case, if the subscription is scheduled to be cancelled at next_billing_date(done it by doing cancel_at_period_end: true), and user wants to change the plan(upgrade to another price), with upgrade behaviour set as pending_if_incomplete, how do i resume the subscription(make cancel_at_period_end as false)?

What have you already attempted?
doint the following,
await stripe.subscriptions.update(
subscriptionId,
{
payment_behavior: 'pending_if_incomplete',
proration_behavior: 'always_invoice',
items: [
{
id: subscriptionItemId,
price: priceId
}
],
expand: ["latest_invoice"],
cancel_at_period_end: false
}
)
but the cancel_at_period_end is not supported with pending_if_incomplete

cursive heronBOT
#

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

Question
I need to remove all default_tax_rates of an invoice (which is in draft state), but passing an empty array to the request does not change anything. No matter if it is the python or node.js client

Related Request ID(s)
req_MXJJrQpXSitReE

What have you already attempted?
https://docs.stripe.com/invoicing/taxes/tax-rates?dashboard-or-api=api&architecture-style=resources

I already tried besides an empty array to pass an empty string or an empty object, but the request body is only visible in the request log if it is an non-empty array. But I need to remove all of them

What are you working on?
marketplace for customers to sell saas extensions to a bigger hosting platform

cursive heronBOT
#

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

Question
One of our customers complained:

Indian credit cards require one time card verification for recurring payments, but Rackspace is charging the card without initial OTP verification for the payment due to which the bank is declining the transaction.

Related Request ID(s)
NA

What have you already attempted?
Checked for the configs but didn't fine any

#

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

What did you expect to happen?
We are expecting calls to the payment intents API to take a few hundred ms. However, our telemetry is showing calls taking 1-1.9s. I'm not sure what is causing this latency and I'm wondering if others have encountered this before and what they have done to address this.

Based on Stripe's documentation, this should be much, much faster.

What actually happened?
Response time averaging 1.5s to the payment intents API in production.

Reproduction Steps
Run a payment in production

Question
What is causing such a long response time and what can be done to mitigate this?

cursive heronBOT
#

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

Question
I have had issue with the crypto onramp services in testmode but i have been told that it was not fixed but will work in livemode, however we just tested in livemode and we have an error as well.

Related Request ID(s)
req_LdQYC7HDzyruHt

What have you already attempted?
There is nothing to attempt, the error says: Failed to start payment process.

What are you working on?
Crypto onramp integration

#

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

Question
We've migrated to the most recent version of the api, and it appears that payment methods used to pay for invoices now are not saved automatically to the Customer profile. We have "Save customer payment information" enabled in the Dashboard. I cannot find any parameter for Invoice.create in the api documentation that would conflict somehow with the dashboard settings.

Related Request ID(s)
Invoice id example: in_1SFdwqETgxuPDsTAzsGTjezv

What have you already attempted?
--

cursive heronBOT
#

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

Question
Metered events are missing.

I have a customer where I send 250 metered events to. Then I update the subscription which triggers an invoice to be generated.

The generated invoice in_1SGKglHt7MWLVB7OSY9jTOph contains 64 of those events. Which is weird as I would have expected all 250 to be part of this invoice.

The next upcoming invoice now contains 69
https://dashboard.stripe.com/acct_1DLS9iHt7MWLVB7O/test/subscriptions/sub_1SGKfQHt7MWLVB7O4oDiUl5Q

This means there are 117 missing.

Looking at the meter dashboard, I see that 250 events where submitted.

Related Request ID(s)
-

What have you already attempted?
https://dashboard.stripe.com/acct_1DLS9iHt7MWLVB7O/test/meters/mtr_test_61TPhJ3GKMzuh2cNR41Ht7MWLVB7OJku

is the metered dashboard

#

@obsidian 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/payments/ach-direct-debit/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api#web-collect-details

Question
Trying to implement an ACH checkout process in my app, and I am importing @stripe/stripe-js into my project, running loadStripe() with my public key, and using the returned stripe instance to try to call the collectBankAccountForPayment() as specified in the doc. It is giving me an error that this is not a function, so I want to know what I am doing wrong. @stripe/stripe-js is version 8

What have you already attempted?
I asked a similar question yesterday and thought my issue was that my @stripe/stripe-js was version 2, so i updated it but I am still seeing this issue.

#

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

Code
const stripe = Stripe('your-publishable-key');
const elements = stripe.elements();

const paymentElementOptions = {
defaultPaymentMethod: 'card', // Preselects the card payment method
};

const paymentElement = elements.create('payment', paymentElementOptions);
paymentElement.mount('#payment-element');

Question
I understand that we have some options regarding the layout of the payment method in the payment element (Accordion, Tabs etc) my question is:
we have out own pre payment element UI screen where the customer selects, CC, EFT, ACH etc. how can we set that payment method in the payment element so the users can switch on the stripe element?

What have you already attempted?
no we are exploring the options at the moment

cursive heronBOT
cursive heronBOT
#

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

Error Message
Request req_GPnylHfRGP5wuK: ZA is not currently supported by Stripe.

Question
We are trying to onboard a client and set up their stripe connect so they can receive commissions. the setup fails saying ZA is not supported. How do we fix this?

What have you already attempted?
Googled stripe connect supported countries and how to support users in south africa

What are you working on?
commissions system for clients

cursive heronBOT
#

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

Question
which event should I be using to catch a successfullpix payment?

Related Event ID(s)
Don't know

What have you already attempted?
have a webhook for checkout.session_completed and payment_intent.succeed but i don't get anything after the pix payment is successful no webhook at all

What are you working on?
ticketing platform

cursive heronBOT
#

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

Question
How can I effectively resolve error 302 in Stripe Webhooks?

Related Event ID(s)
evt_1SGHCqJZAh9PJ58vgkIbhvZ8

What have you already attempted?
Everything connects perfectly between Apps Script and Stripe. The automations work. The only problem is error 302. I tried all the solutions I knew, but I couldn't fix it. I adjusted the code, rewrote the code, etc.

What are you working on?
Automation systems for generating invoices, sending emails, and keeping records in Sheets using payment data provided by Stripe.

cursive heronBOT
#

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

Question
When user wants to change the plan(upgrade the price) of the subscription, stripe automatically charges the PM for that subscription in the background, is there any way that i could stop and make customer pay that on session?

Doc/Guide Links
Nothing, have not found anything related to it

What are you working on?
an meditation app

cursive heronBOT
#

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

Question
How can we use subscription in a b2b model?

  1. Should we create a «Customer» for the business, link the credit cards then link the subscription?
  2. Should we create a «Customer» for the user, link the credit cards then link the subscription? If so, how can we change the «customer» of the subscription?

Doc/Guide Links
https://stripe.com/fr-ca/resources/more/b2b-pricing-strategy-how-to-design-models-that-drive-long-term-growth
https://docs.stripe.com/api/subscriptions

What are you working on?
Online store for business (B2B)

cursive heronBOT
cursive heronBOT
#

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

Question
When I integrate Klarna, I notice that if I set setup_future_usage: 'off_session', the finance messaging doesn’t appear in the Payment Element.
However, if I remove setup_future_usage: 'off_session', the finance messaging shows up again.
What’s the best practice for using this parameter?

Doc/Guide Links
https://docs.stripe.com/js/elements_object/create_without_intent

What are you working on?
N/A

cursive heronBOT
#

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

Code
paymentSheetConfiguration.billingDetailsCollectionConfiguration.address = .never

Question
Thus far we have supported card payments. In the future if we want to support apple pay but do not want to collect a full address and instead postal code is there a recommended way to do that? I've been using the stripe payment sheet on iOS and it seems fairly easy to incorporate apple pay but I don't have much granular control over only collecting zip code instead of the full address.

What have you already attempted?
I've attempted to set billingDetailsCollectionConfiguration.address to never which doesn't collect a zip code which doesn't work for tax purposes and I've tried .automatic and .full which pass along the entire address. There is no middle ground.

What are you working on?
Working on supporting apple pay through payment sheet.

#

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

Question
We recently updated the java SDK to implementation("com.stripe:stripe-java:30.1.0-beta.1") (was 29) and now I am having issues deserializing events from my event bridge to SQS webhook.

The line that was working but is now failing is:
val paymentIntent = event.dataObjectDeserializer.`object`.get() as PaymentIntent

Related Event ID(s)
Many

What have you already attempted?
I am trying to find how to deserialize the events in my webhook with a different version than the SDK

#

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

Question
I am trying to find the subscription that a specific charge or refund can be attributed to. The goal is to be able to track charges and refunds for a particular subscription (analytics purposes).

The charge.succeeded and charge.refunded events do not contain much information (unfortunately no invoice_id which could be used to traverse over to the subscription)

Checking the user's current subscriptions is not a great workaround, since a refund could be created months after a customer's subscription has ended.

Oddly, the inspector tool in workbench includes the invoice field, but not theAPI

Related Request ID(s)
req_XKVUYmMpzj9CBS

What have you already attempted?
I tried expanding the object, which the API doesn't complain about, but "invoice" is not included in the response.

e.g.: https://api.stripe.com/v1/charges/ch_3SCp2mBHmn7qM5jZ0YCO0qqZ?expand[]=invoice.subscription

If I change it to expand[]=something_totally_invalid, it says that cannot be expanded, so it accepts "invoice" but doesn't actually do anything with it

cursive heronBOT
#

@frail forge 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/required-verification-information

Question
Some Brazilian connected accounts show “representative.verification.document” and “company.verification.document” as past_due.
Which specific document types are accepted in Brazil for these fields (e.g. ID, CNH, company certificate)?
Are front and back images required and what formats (JPG/PNG/PDF) are supported?

What have you already attempted?
I reviewed the Connect verification docs and sent representative and company info via /v1/accounts.
Also uploaded ID images using /v1/files (purpose=identity_document), but requirements remain past_due.
I need confirmation of the correct docs for Brazil.

What are you working on?
I’m building a PSP platform called Mundpay using Stripe Connect Custom (Brazil). Accounts process direct charges, and I need to meet all KYC requirements automatically.

cursive heronBOT
#

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

Error Message
Je rencontre un problème de Payouts mais il m’est impossible de contacter le support avec mon adresse mail : xxx@gmail.com. Le message « merci d’utiliser une adresse mail professionnelle » s’affiche, et je n’en ai pas.

Question
Je rencontre un problème de Payouts mais il m’est impossible de contacter le support avec mon adresse mail : juliakann.coaching@gmail.com. Je ne peux plus faire de virement.

What have you already attempted?
J’ai contacté tous les types de supports en vain.
J’ai essayé de régler le problème moi même en renseignant les informations manquantes

#

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

Error Message
This is not a valid Financial Connections Session client_secret.

Question
I'm currently trying to set up Stripe Financial Connections in my sandbox but am seeing this error, was curious what I'm doing wrong.

What have you already attempted?
I have a CloudFlare Worker server running that creates a Financial Connections session and sends the session object and client_secret to my web client. When trying to trigger collectFinancialConnectionsAccounts, I see this error.

cursive heronBOT
#

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

What did you expect to happen?
Attempting a payment with a failed card should have failed

What actually happened?
The payment is going into the authentication required flow. It seems that some behavior has changed since yesterday

Reproduction Steps
Add a payment method that should be declined - `4000000000000341`. Make any changes to the subscription that should throw an error due to the failure in charging the card (Req - `req_bVNqyWzRkGtT41`

This earlier used to fail but now the payment is going in required action state - `pi_3SGbR8GRs9Vv0S2i2hRrI8HL`

Question
Has anything changed recently because this used to result in a failure but now it is going into auth required state

#

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

Question
I have one subcription in retry and when client adds another payment method i set it as default payment to customer and i force retry so i call invoice.pay with the new payment method.
My question is now client has two payment methods for the next invoice after the one that was in retry which card will be charged?

Related Request ID(s)
idk

What have you already attempted?
i will attach the code below

#

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

Question
How can I get with API payment intent recent activity as it's shown in dashboard?

Related Request ID(s)
pi_3S4mvuHyMHmjD7NO0um1vyFJ

What have you already attempted?
Was looking inside payment intent retrieve

What are you working on?
In our application we would like to have info about current state of payment intent transaction like this one on dasboard: Authorisation expired. It may take a few days for the money to reach the cust

cursive heronBOT
#

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

What did you expect to happen?
We use destination charges with transfer_data.destination and on_behalf_of set to the same connected account. Payments are taken on behalf of that account, so I expect they’re subject to that account’s entity and not our platform’s.

What actually happened?
What actually happens is that the platform entity seems to be the "initiator" for the bank so we're being hit with international transfer fees.

Reproduction Steps
$args['transfer_data'] = [
'destination' => $stripeAccount,
];
$args['on_behalf_of'] = $stripeAccount;

Send this to our platform account when creating a payment intent

Question
Is this expected behaviour? I would expect that the account of record should be the account set to on_behalf_of and therefore if a payment intent was created for an Australian bank card and run through our platform account in the UK on behalf of our Australian connected account this would not be an international charge. But it is?

cursive heronBOT
#

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

Question
Why the invoice in draft state
why automatically not debit recurring payment
sub id sub_1SFpI0F4niufLwn4uDYNmk55

Related Event ID(s)
evt_1SGBmFF4niufLwn4Wth9CFhS

What have you already attempted?
in_1SGYF8F4niufLwn42y6MN1jM this one successeded , i manually click charge from dsahboard (was in draft state)

but in_1SGBmEF4niufLwn4ANlhgkjK still in draft

What are you working on?
subscriptions (in test mode now)

#

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

Question
I want to reproduce a scenario where I use a valid card to create a payment method but the card gets expired later in the future and I want to make sure the second payment fails after using the expired card.

Related Request ID(s)
non

What have you already attempted?
non

What are you working on?
Stripe Integration for Wallet Topups

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/create_payment_element

Question
I can see that with Payment Element we can add Apple Pay in React.js and React Native and handle recurring payment, I have 2 questions:
- If I have a discount only for the first recurrence, how can I apply that discount but only for the first recurrence?
- I can't find any documentation about it but how can I implement the recurring payment but for Google Pay?

What have you already attempted?
Currently just reading the documentation before implementing it

What are you working on?
Implement recurring payment with Apple Pay and Google Pay using Payment Element

#

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

Error Message
Getting terminal exception of Nfc Disabled when processing payment

Question
How to fix this issue as simulation is working perfectly.

What have you already attempted?
Everything

What are you working on?
Sunmi flex 3 device for kiosk ordering

#

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

Question
We’d like to charge a per-item shipping fee in Stripe Checkout — specifically, we have a “Rush” delivery option that costs $50 per item.
Is there any officially supported way to dynamically calculate and apply shipping costs based on the total item quantity in the checkout session (e.g. $50 × item quantity), while keeping the charge displayed as shipping, not as a separate product line?

Related Request ID(s)
Dynamic shipping options/Checkout session updates/rates

What have you already attempted?
Successfully updated the Checkout Session server-side when the customer changes the quantity.
However, we’re unsure whether this approach is formally supported by Stripe or could cause issues with future API changes or tax handling.

What are you working on?
We’re building a custom e-commerce checkout for a letterman jacket store, where customers can buy multiple jackets and optionally choose “Rush” shipping to speed up delivery.

#

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

Question
We're using test card tokens for the testing purpose, and noticed that today tok_chargeCustomerFail (0341) started to require 3DS confirmation on the charges. Is that intended behaviour?

It wasn't requiring it yesterday and before that overall

Related Request ID(s)
cus_TD3mBe87LWjHpj, evt_3SGdfRKbHTyAU2AT0HXePz8M

What have you already attempted?
n/a

cursive heronBOT
#

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

Question
We use off-session payment intents to save a users card for future payments but it shows this default message: "By providing your card information, you allow GENFLOW.CO to charge your card for future payments in accordance with their terms." - how can we change this message a bit? i understand it is required but just want to tweak the language.

Related Request ID(s)
N/A

What have you already attempted?
Looked through AI docs and asked chatgpt incase I missed something in the docs

cursive heronBOT
#

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

Question
How can I fix this error... 302?

Related Event ID(s)
evt_1SGf4uJZAh9PJ58vc77LePZJ

What have you already attempted?
I created a code in Apps Script (Google Sheets extension) that performs several automations. I connected the link for the webhook endpoint to Stripe. Everything works fine. However, error 302 appears in Stripe, triggering an automatic redirection. Strange!

What are you working on?
System for automation using data from Stripe webhooks.

cursive heronBOT
#

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

Question
I would like to charge customers through package pricing ($10 per 5 seats) but also include a fixed cost of $15 to subscription as well. Monthly subscription would then be $15 + ($10 for every 5 seats). On dashboard I can not find a way to do that. I can either choose package pricing which offers only per seats without additional price tag. How can I configure this pricing model?

Doc/Guide Links
dashboard, dashboard

What are you working on?
Pricing model

#

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

Error Message
Verification for my home address keeps denying me.

Question
Can you guys help me with this?

What have you already attempted?
So only like hard proof of my home is a letter from the hospital.

Reproduction Steps
i tried to upload my proof of address, but the system keep denying it. The only document I have is a letter from the hospital. I’m not sure what to do next because it won’t accept my proof.

What are you working on?
a online store for my discord server via sellauth

cursive heronBOT
#

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

Code
Using the latest @stripe/react-stripe-js we are not asking the users for Post Code in the UK.

Question
We had an old version of the stripe packages and the card form was always asking for Post Code when the user country was United Kingdom. After updating to the latest version
```
"@stripe/react-stripe-js": "^5.0.0",
"@stripe/stripe-js": "^8.0.0",
```
the Post Code field is not there anymore. Is this intentional or it is a bug?

What have you already attempted?
I looked into the documentation and I tried a united Kingdom debit card but the post code field was not showing up.

#

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

Question
If I'm trying to create transfers from via api using Stripe::Transfer.create to move funds from my stripe account to a connected account. Would I get an error if my existing available balance is negative in Stripe?

Related Request ID(s)
-

What have you already attempted?
I've tried this in sandbox and works fine but don't know if that's just becuase of the nature of the sandbox environment or not

What are you working on?
Create transfers to move funds from my stripe account to connected accounts

#

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

Question
Can we initiate communication from Stripe Reader S700 directly to the point of sale terminal? Where the request is initiated from the Stripe reader to the POS rather than the other way around? The idea being that we can send a payment from the Stripe Reader to the POS without needing the POS to first send the payment intent from the POS to the reader first. Such as Pay at Table functionality where you can get balance information about a check/bill directly from the reader.

Doc/Guide Links
https://docs.stripe.com/terminal/payments/setup-reader/stripe-reader-s700

What are you working on?
We are looking to extend our app to apply a payment to a customers bill/check initiated directly from the Stripe reader rather than at the POS terminal. The closest flow for this would be something akin to Pay at Table.

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
Address to be auto populated in Address Element for India

What actually happened?
State is not populated when select an auto complete option

Reproduction Steps
select India in address element and select an address. the satte is not populated.

Question
Is this issue with the configuration or is it an bug in Stripe's address element ?

What are you working on?
Integrating Address element on checkout page

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/customer-sheet?platform=ios

Question
It is my understanding that for a charge automatically subscription that a customer can only add a card from apple pay on the initial payment using the payment sheet but then cannot use the payment method settings sheet to re-invoke the integration that would allow you to select a new card from apple pay. Is there a recommended way to allow the user to change their apple pay card they added initially?

What have you already attempted?
I have attempted to use a payment sheet with a setup intent.

What are you working on?
Apple pay for recurring subscription payments.

#

@mossy 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/stripe-apps/api-authentication/oauth

Question
We are migrating from the Standard Connect version, to new Connect setup. I understand that we should be able to modify our OAuth flow to use controller properties for onboarding clients to our new platform account. I've reviewed the Migrate to Controller Properties guide but couldn't find a mention of OAuth there. I'm hoping we can basically keep using the same Connect OAuth method, where users are redirected to https://connect.stripe.com/oauth/authorize for onboarding, just with a few added parameters for the controller properties.

What have you already attempted?
I tried to test it but I was not able to.

#

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

Question
Regardless of enabled payment methods on the account (or payment methods specified when creating the invoice) there is only 'Cards' payment method on hosted invoice payment page. Should this be the case?

Related Request ID(s)
idk

What have you already attempted?
Added ACH debit to enabled payments, added ACH debit when creating the invoice.

cursive heronBOT
#

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

Question
When creating a new Stripe Checkout session and specifying payment method types such as Alipay, will those payment options appear only for customers in supported regions (for example, Alipay for customers in China), or will they be shown to all users regardless of their location on the hosted checkout page? Additionally, is there a way to override this behavior and manually configure which regions these payment method types appear in on the Stripe Checkout page?

Related Request ID(s)
idk

What have you already attempted?
I've added e.g. alipay the payment method types list when creating a new stripe checkout session.

What are you working on?
Marketplace app

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.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

What did you expect to happen?
collecting setup intent for subscription's off-session usage but after trialing subscription went to past_due status, it should've charged the method and subscription should have remained active

What actually happened?
subscription went to past_due asking 3d secure

Reproduction Steps
I am creating setup intent first, attached a PM to it and then attaching that PM id to subscription's default_payment_method when giving trails so that it could be charged later on, when the trial gets over it goes to past_due state

Question
why is it asking for 3d secure even though i've set payment_method_options: {
card: {
request_three_d_secure: "challenge"
}
}

in setup intent and its for off session usage

cursive heronBOT
#

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

What did you expect to happen?
The subscription payment should have gone through

What actually happened?
The subscription payment failed. Here's the request ID - `req_LMfUkF8B6RgI4L`

Reproduction Steps
Not sure how to reproduce

Question
A customer's subscription update failed with the error - https://stripe.com/docs/error-codes/payment-intent-mandate-invalid. On the next payment attempt, the update passed. Wanted to understand what caused this failure?

cursive heronBOT
#

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

Question
How to decrease memory used for Google/Apple Pay buttons on product page?

Related Request ID(s)
-

What have you already attempted?
I'm using paymentRequest object for custom buttons - https://docs.stripe.com/js/payment_request/create

I've tried to make fake buttons and initialize Stripe and paymentRequest on click trigger. But there is a method canMakePayment that is needed to find out whether button even should be shown on page.

One such button initialization uses about 5Mb page resourses. I'd like to decrease this number.

I'm trying to find out is there any way to make lightweight initialization that can indicate whether button should be shown. And then do other stuff on click trigger.

What are you working on?
I'm working on Google and Apple Pay buttons on product page in ecommerce platform.

cursive heronBOT
#

@mossy falcon 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-line-items

Question
We’re preparing for Visa’s new CEDP requirements and plan to migrate to the Payment Line Items API, which seems to require stripe-node@18.6.0-beta.1 and the 2025-04-30.preview API version.
Before adopting it:
1️⃣ Is this beta SDK stable enough for production?
2️⃣ When will the Payment Line Items API and SDK move to general availability (GA)?
3️⃣ Will integrations built on 18.6.0-beta.1 continue working after GA, will breaking changes be required?
4️⃣ Will the GA version still use the same API version?
5️⃣ Is there any non-beta SDK version that can work with the Payment Line Items preview API?

What have you already attempted?
I’ve started exploring integration with the stripe-node@18.6.0-beta.1 SDK and the 2025-04-30.preview API version to enable the new Payment Line Items API, we currently are on 2024-06-20 version

What are you working on?
Updating our integration to support the Payment Line Items API and comply with Visa’s CEDP requirements while maintaining our L2/L3 rates.

cursive heronBOT
#

@raw coral 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/coupons

Question
I see that we can archive the promotion code, but we cannot archive the coupon. Is there a way to make a coupon invalid without deleting it, or do I have to wait until the coupon reaches its maximum redemption limit or expires? My boss wants to keep invalid coupons visible on the Stripe dashboard.

What have you already attempted?
I tried the coupon API, but there is no status parameter for the update API. On the dashboard, when deleting a coupon, it disappears

cursive heronBOT
#

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

Question
Upgrading plans and forgiving metered events.
My service has two tiers, hobby and pro.
Both tiers include a flat fee product $0 or $35/mo along with a metered product with two diff prices (cheaper on pro)

When upgrading from hobby -> pro i want to forgive any overages so if my customer on pro tier was going to be charged $50 on the hobby tier in usage fees, upgrading to the pro tier will reset/forgive/make them pay less the current overages allowing them to save money to incentive upgrading to the pro tier

My current logic when upgrading looks like this:

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

What are you working on?
Saas App

cursive heronBOT
#

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

What did you expect to happen?
I have implemented Elements embedded payments and i have registered my root domain, enabled Apple Pay in my dashboard but it doesn't show in my payments page.

What actually happened?
Apple Pay is not showing in my Elements payment page.

Reproduction Steps
Registered my root domain.
Enabled Apple Pay in dashboard.
Accessed my live payment link but Apple Pay is not showing.

Question
Does it take some time before the root domain is registered with Apple? And if not what else is it required on my end to make it work.

What are you working on?
Stripe Elements embedded for payments.

#

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

Question
A customer failed to pay a subscription invoice, triggering a subscription created event and marking the status as incomplete. A new subscription record is created in my database from the webhook. Is this correct per Stripe’s flow? Should I use a subscription update webhook to update the status? Also, why might this payment fail even though Stripe’s payment element should validate payment info on the frontend?

Related Event ID(s)
evt_1S7V1KFvG2PBfrpSBVOfYByi

What have you already attempted?
I tracked it down and found that happened on September 15. You can check it at https://dashboard.stripe.com/acct_1GnG4QFvG2PBfrpS/subscriptions/sub_1S7V1IFvG2PBfrpS0CGWhfyq

cursive heronBOT
#

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

Question
When creating a MobilePay payment, the customer is redirected to a MobilePay URL where the user is prompted to enter their phone number to continue. We have found that in real world use cases, it is unclear to our customers that they need to enter THEIR phone number. Is it possible to have the customer's phone number pre-filled in the MobilePay UI when creating a payment intent for that? E.g. by passing defaultBillingDetails, or something else.

Related Request ID(s)
-

What have you already attempted?
Only searched this Discord / the docs but couldn't come up with anything.

cursive heronBOT
#

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

Question
A future-dated subscription is created for a customer.

Immediately after creation, the customer updates the subscription (e.g., changes plan, quantity, or adds/removes items).

Problem:

Currently, we are fetching subscription data from the scheduled subscription phase to display or pass for updates.

However, in this process, one-time charges are missing because the scheduled phase data does not include them.

As a result, the upcoming invoice does not show the correct total, and one-time charges are effectively lost.

Related Request ID(s)
DS0101

What have you already attempted?
we are already implementing phase item data.

What are you working on?
we need to shwoign as onetime product

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

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

Question
@devendra pressed the 📡 API button in ⁠help to ask a question:

Question
A future-dated subscription is created for a customer.

Immediately after creation, the customer updates the subscription (e.g., changes plan, quantity, or adds/removes items).

Problem:

Currently, we are fetching subscription data from the scheduled subscription phase to display or pass for updates.

However, in this process, one-time charges are missing because the scheduled phase data does not include them.

As a result, the upcoming invoice does not show the correct total, and one-time charges are effectively lost.

Related Request ID(s)
DS0205

What have you already attempted?
We are already imliment data of stripe phase

What are you working on?
I need to get upcoming invoices data with one time in future subscription

#

@cloud badger 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/pending-updates

Question
How can i get the status of an invoice that requires manual user intervention(3DS) when user upgrades to a plan in subscription. I am using pending updates with prorations, since pending updates is synchronous, how can i get that that invoice is not paid because it requires 3DS?

What have you already attempted?
Not getting any specific key that specify, it requires manual user intervention(3DS)

#

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

Question
Trying to create an accountsession with restricted key. This key has all the permissions that I could see relevant already enabled.

Error: The provided key 'rk_test_*********************************************************************************************YlMcqZ' does not have the required permissions for this endpoint on account 'acct_1KqGWFJAXBXnoJdl'. This is a restricted API key, but the required permissions are not available for use by restricted keys

Related Request ID(s)
req_2BoXtovhHeG93N

What have you already attempted?
$account_session = $stripe->accountSessions->create([
'account' => $connected_account_id,
'components' => [
'capital_financing' => ['enabled' => true]
],
]);

What are you working on?
Stripe Capital dashboard

cursive heronBOT
#

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

Question
I am sending meter events and they are updating multiple subscriptions of the same user. When I generate preview invoices I can see that a previous subscription's invoice gets updated by

Related Request ID(s)
None

What have you already attempted?
I've looked at the docs and already contacted the support about this and they said I should use the same meter for the same price, but as long as I have a customerId it will update separate subscriptions based on the subscription item id i pass along

What are you working on?
A all-in-one solution for educational institutions

#

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

Question
How do you add metadata to cards created via a setup intent? The docs: https://docs.stripe.com/api/setup_intents/update?api-version=2025-09-30.clover#update_setup_intent-payment_method_data say that you need to pass `payment_method_data[type]` when all I want to do is pass `payment_method_data[metadata]` not any card options

Related Request ID(s)
req_jzuT9eSm0ju9iS

What have you already attempted?
I tried setting type to 'card' with no corresponding 'card' key, didn't work. Tried passing an empty `card: {}`, that didn't work. Tried passing `card: {metadata: {my_data: 'foo'}}` that didn't work. Tried setting `type: 'metadata'` and that's not an allowed type.

cursive heronBOT
#

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

What did you expect to happen?
updating subscription after setting meter event would use the latest value

What actually happened?
old meter value used

Reproduction Steps

  1. await a create meter event with a negative value
  2. update subscription

Question
Earlier I asked about hte best practices for resetting a usage meter when upgrading to forgive the amount, when attempting to implement this I found it incosistant, even with a 60 second delay between updating my meters value and updating the subscription the first time the value reset as expected and the second time it used the old meters value

cursive heronBOT
#

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

Question
Hi! I would like to offer instant SEPA transfers to my customers. Do you know how to activate SEPA Instant Credit Transfer on Stripe? I can't find the option

Related Request ID(s)
pi_3SGzwOKxlqBRy1uX2cIEWUWE

What have you already attempted?
I asked the chat bot and looked at the doc but no luck

cursive heronBOT
#

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

Question
Can i get sync stripe status updates via API to connect our system ?

Related Request ID(s)
Developer

What have you already attempted?
can't find API for sync stripe

What are you working on?
need a sync API to handle stripe status changes to connect with our system

#

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

What did you expect to happen?
I want to see stripe calculate sales tax, no matter what address I put in in Stripe Embedded Checkout I don't get sales tax calculated for my products, It's a Stripe Connect for window washing services.

What actually happened?
It shows Tax: Enter address to calculate, but no matter the address it still shows 0.00$ tax.

Reproduction Steps
It's a Stripe Connect app, with Stripe Checkout Embedded into the page. I give tax_codes for the products in the code, for residential services and for commercial services.

Question
How to make it calculate sales tax?

What are you working on?
It's a SaaS App for window washers, it uses Stripe Connect, and let's window washing businesses get paid on site or email.

cursive heronBOT
#

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

Question
Working with Stripe Capital: I am trying to associate a Financing Transaction object (type="payout") with the proper payment intent.

The financing_transaction object gives a "details.linked_payment" property, but I am unable to query this VIA the /v1/charges/:id API.
```
"linked_payment": "py_1SGoDrGfgl8ym6UAp5LolyUS",
```

I am able to view this charge "py_1SGoDrGfgl8ym6UAp5LolyUS" in the workbench inspector and it shows the API route as:
/v1/charges/py_1SGoLoGfgl8ym6UAasFPlDDP

When I try to query for this `py_***` ID via the Ruby sdk using API version 2024-06-20, I get "No such charge".

Related Request ID(s)
req_BI6j1vfiFXklpM

What have you already attempted?
I've tried requesting the charge via Ruby SDK:
```
Stripe::Charge.retrieve({ id: "py_1SGoLoGfgl8ym6UAasFPlDDP" })
> No such charge: 'py_1SGoLoGfgl8ym6UAasFPlDDP' (Stripe::InvalidRequestError)
```

As well as a raw request:
```
client = Stripe::StripeClient.new(STRIPE_API_KEY)
client.raw_request(:get, "/v1/charges/py_1SGoLoGfgl8ym6UAasFPlDDP")
> No such charge: 'py_1SGoLoGfgl8ym6UAasFPlDDP' (Stripe::InvalidRequestError)
```

What are you working on?
Stripe Capital integration

cursive heronBOT
#

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

Question
As part of a business acquisition, our team (new ownership) created a new Stripe account to migrate all of the customers and subscriptions. We also needed to switch out the API keys in our SAAS code to match the new Stripe account. Since then, the webhook is showing a 100 fail rate in Workbench.

Related Event ID(s)
No associated IDs

What have you already attempted?
Updating the API versions, making a new webhook key, reading documentation on the 400 errors, V1 events, and API upgrades

What are you working on?
We are building a frontend app for a VR content management SAAS company

cursive heronBOT
#

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

Code
fun completePayment(customerPurchaseId: Int, paymentIntent: PaymentIntent) {
coroutineScope.launch {
apiFactory.finalisePaymentIntent(customerPurchaseId).fold(
onSuccess = { response ->
Log.i("CategorySummaryScreen", "Finalised payment intent: $response")
Terminal.getInstance().confirmPaymentIntent(
paymentIntent,
object : PaymentIntentCallback {
override f

Question
I am using this particular Terminal feature essentially between a combination of the device, collecting the payment method and logic on our server middleware, we can present a surcharging dialog before we finalise the payment intent (i.e give the user a chance to decline the charge if they don't agree with the surcharge).

All is well on Android TTP And iOS but on the S700 (which uses the Handoff client for connection) the app crashes.

What have you already attempted?
The two variations of the code posted in the above section.

For reference our S700 is published as tmda_530096RjX0007ATKoZV11Fn1lv3SfUp as part of account id acct_1ONMUMFn1lv3SfUp

What are you working on?
Apps on Devices for an S700

cursive heronBOT
#

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

Question
What are the best practices for using creating an user account with the potential for schedule payments in addition to having a preauthorization hold?

From my understanding, setupIntent is used whenever we want to charge nothing and save a card. We can use paymentIntent to do a preauthorization if we don't capture it (and save a card as well). However, from talks with support, sometimes setupIntent also do a $1 hold depending on the bank or region? This also messes up the other hold.

Pay now:
paymentIntent (hold) -> paymentIntent (capture)

Pay later:
setupIntent -> paymentIntent (hold) -> paymentIntent (remove) -> [time passes...] -> paymentIntent (capture)

Doc/Guide Links
https://docs.stripe.com/api/payment_intents
https://docs.stripe.com/api/setup_intents

What are you working on?
payment system for a subscription app

#

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

Question
Hi, I’m working on implementing the ACH payment method using an embedded component in my React app with stripe-js. When I search and select a bank from the list, everything works fine, but when I try to manually enter the bank details, it fails. I do receive something by email, but I don’t think it’s what I need. Am I missing something — maybe an extra step for ACH?

Related Request ID(s)
.

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

What are you working on?
I am working in a checkout for my website using embeded form and webhook

cursive heronBOT
#

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

Question
A few questions -
Question 1 -
We were originally creating a customer and payment method then creating the payment intent, but it was recommended we just skip those first two steps and go straight to the PI (we are passing raw PAN by the way). However, I don't see a way to pass in the billing postal code on a payment intent. Is there some secret way of doing that or do we have to use the payment method?

Question 2 -
We have to move to the newer API version for L2/3 support which has a deadline of this month. However, the .NET nuget still doesn't support the newest version. Do you know when

Related Request ID(s)
req_5vCpDm2sGh6Uhm

What have you already attempted?
Looked over docs.

cursive heronBOT
#

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

Question
How can I track user conversion funnels with Stripe Pricing Tables in Google Analytics 4?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/analyze-conversion-funnel
https://docs.stripe.com/payments/checkout/pricing-table?client=react

What are you working on?
Im building a SaaS subscription platform with multiple pricing tiers using Stripe Pricing Tables. I'm integrating Google Analytics 4 to track the complete conversion funnel

cursive heronBOT
#

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

Question
I'm receiving cash balance transaction event that is triggered by funding instructions api.
I've successfully received the fund and handle the payload, but I cannot see this transaction in stripe dashboard.

Is is possible to see all the customer cash balance transactions in a single list somewhere for monitoring and possibly refund purposes?

Related Event ID(s)
evt_1SGNYmBVZKCfdJd17z6Sgc1U

What have you already attempted?
Went through all tabs in Transactions including all activities, top ups etc.

What are you working on?
Deposit system that gives users unique bank accounts with stripe funding instructions, allowing them to top up on demand using a banking app any time.

cursive heronBOT
#

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

Question
negative automatic payout but failed getting balance transactions with error message "Balance transaction history can only be filtered on automatic transfers, not manual."

Related Request ID(s)
req_T7JFMkqA4QB37z

What have you already attempted?
call balance transaction api with payout parameter

curl --location --request GET 'https://api.stripe.com/v1/balance_transactions'
--header 'Stripe-Version: 2020-08-27'
--header 'Stripe-Account: acct_1S6CNEIIbPpgSC7o'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Basic c2tfdGVzdF81MVFwRHppUlVpMWliSm5OMG13emdlWm4yRUdsUDJ2SXJPRUFtcVA2dmh2elUyaThXYm04UHhiUkcyNVhRdHlTMVVSTnROMzVEM3FYVHNmMjdWaHFRSmlteDAwTFByYWNRWjk6'
--data-urlencode 'payout=po_1SHwOlIIbPpgSC7oQMrqKl3D'
--data-urlencode 'limit=1000'

cursive heronBOT
#

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

Question
I am testing stripe connect express for my platform. Is there a way to create connected accounts in test mode for users to try out with zero interaction? My attempts so far create them in a restricted way, missing out an external account, email address and ToS acceptance.
I want to allow users test payments for themselves before actually onboarding them to stripe.

Related Request ID(s)
req_wHeqUnWEaYvVnf

What have you already attempted?
I tried to supply the tos acceptance in the api but then the account creation failed, also I don't see anywhere in the api I can provide card details (not even the test card number)

cursive heronBOT
cursive heronBOT
#

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

Code
'.Input': {
borderRadius: theme?.automated?.styles?.inputCornerRadius,
backgroundColor: theme?.automated?.styles?.inputBackground,
borderColor: theme?.automated?.styles?.inputBorder,
fontSize: '16px',
lineHeight: '24px',
padding: '7px 16px 6px',
boxShadow: 'none',
},

labels\: 'floating',

Question
I'm sharing part of my theme appearance config. I'm trying to make floating labels display consistently in Address Element and Payment Element etc, but in some inputs they are missaligned

What have you already attempted?
Changing styles and paddings etc

cursive heronBOT
#

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

Code
return {
theme: 'flat',
variables: {
colorBackground: COLORS.secondary[200],
},
rules: {
'.AccordionItem': { padding: '0 16px 24px 16px' },
'.Input': { backgroundColor: '#FFF', border: '1px solid ' + COLORS.secondary[400] },
},
};

Question
I tried setting a background color for the dropdown menu, but it doesn’t change. Also, I had to hide the Icon and card text by setting their background color, but that adds unwanted bottom padding from .AccordionItem. How can I hide them properly and fix the dropdown background? I can share screenshots of the current and expected design if needed.

What have you already attempted?
I tried using the colorBackground variable, custom .Input and .AccordionItem rules, and adjusted padding manually. Checked Stripe docs and examples, but didn’t find a way to change the dropdown background or remove padding without side effects.

cursive heronBOT
#

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

What did you expect to happen?
Some of our connected accounts have Klarna enabled as a payment method. Until recently this worked fine.

What actually happened?
When checking the payment capabilities API Klarna is returning false

Reproduction Steps
Example account is: acct_1Pd6FsRfaMh5yZWf

Question
Why is the API returning false when I can see in the UI it is set to true? There is a flag called Overridden by: Fanbase Platform, is this overriding it to false? If so when did this change?

cursive heronBOT
#

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

What did you expect to happen?
In Payment Element when using `mode="setup"` and and `payment_method_types=["us_bank_account"]` for a connected account that have `"us_bank_account_ach_payments":
"active"` capability, I should be able to select "US bank account".

What actually happened?
"US bank account" is not visible in the Payment Element

Reproduction Steps
Use:
```
<Elements
mode="setup",
payment_method_types=["us_bank_account"]
/>
```
With a connected account that has `us_bank_account_ach_payments` capability

Question
I do not understand why the US bank account option is not displayed in setup mode for this connected account.
Please note that:
- When using `mode="payment"` the option is displayed
- When using another connected account the option is displayed
My guess is that this specific connected account is somehow misconfigured.
Feel free to ask me the connectedAccount id in DM

What are you working on?
Payment portal to pay invoices

#

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

Question
How can I create a connect standard account with fees.payer set with 'application' ?

Related Request ID(s)
req_ZqpNMHDlB0siYE

What have you already attempted?
I have tried to create a standard account with payer set to application, but I receive the error: You may not provide the `type` parameter and `controller` parameters simultaneously. They are mutually exclusive.

If I remove 'type' parameter, an express account is create.

On the documentation it's written that is possibile to have a stripe standard account with the platform as payer https://docs.stripe.com/connect/direct-charges-fee-payer-behavior

What are you working on?
I need to set our platform as payer of stripe commissions

#

@cloud badger 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

Question
4000002500003155, is this card in the doc, requires 3DS for recurring payments, I've set it up via set up intent.

What have you already attempted?
I've tried this card, though it does not require 3DS for recurring payments but when doing upgrade through pending updates, it requires action(triggers 3DS)? is both the flows different(i though both should be considered off-session)?

#

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

Question
I am developing a React Native based app on Device.
I cannot discover my devkit reader when the app is installed on.
I tried to discover the reader using React package.
Then I tried to discover the read using the Android package.
Both fail.
I copied code from https://github.com/stripe-samples/terminal-apps-on-devices to my app.
It said:
0-14 04:32:47.058 5302 5387 D StripeTerminal: Terminal already initialized
10-14 04:32:47.102 5302 5387 D StripeTerminal: Starting reader discovery...
10-14 04:32:47.103 5302 5387 D StripeTerminal: class=Terminal message=discoverReaders
10-14 04:32:47.103

Related Request ID(s)
111111

What have you already attempted?
Tried both React native and Android Stripe libraries to discover my handoff reader.
The reader is connected to stripe.
I can deploy the app to the reader from Stripe dashboard.
Connection token looks correct.

What are you working on?
App on Device

cursive heronBOT
#

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

Code
elements = stripe.elements(options);
paymentElement = elements.create("payment", {
card: {
disallowedBrands: ['amex'], // Block Amex and Discover
}
});

Question
We're trying to prevent taking Amex cards and were given https://docs.stripe.com/payments/mobile/embedded-filter-card-brands?locale=en-GB as a reference to do so. We're wanting to do this in a web page rather than an app. Your AI suggested adding the 'disallowedBrands' code above would do it but it doesn't seem to be making any difference, is that the right way to do it or is it not possible? Thanks

What have you already attempted?
the code above

What are you working on?
c# blazor app using Payment Elements to capture a card and create a setup intent for future payments

#

👋 @tacit ridge reached out from Stripe Support.

Summary:
Tap to Pay screen is frozen

cursive heronBOT
#

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

Question
When a customer signs up, I create a new subscription with a trial period. However, this prevents them from later subscribing and entering payment details through Checkout or Payment Links, since those can’t be tied to an existing subscription. What’s the best way to handle this scenario? I considered canceling the trial subscription and creating a new one via Checkout or Payment Links, but that would distort churn analytics in Stripe.

Doc/Guide Links
.......................

What are you working on?
Moving customer from trial to paid on existing sub

cursive heronBOT
#

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

Question
Is it possible to create invoice from the name of an account towards our platform?

**Solution I found**:
Creating a customer that will represent our platform, and generating invoice from the name of account towards this customer.

A bit more details, I'm investigating possibilities of stripe. We wan't to make a platform that accepts payments from customers (that receive services) and after applying a fee, we send those money to accounts. Multiple account holders could provide services to one customer so it feels right that we collect money from the customer and then split it among multiple accounts.

Doc/Guide Links
https://docs.stripe.com/connect/invoices
https://docs.stripe.com/connect/onboarding/quickstart

What are you working on?
Platform that connects customers that provide services to account holders

cursive heronBOT
#

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

Question
How can I expand the subscription_details of the parent of an invoice when i do stripe.invoices.list

Related Request ID(s)
None

What have you already attempted?
I've tried expand: ["parent.subscription_details.subscription"]

What are you working on?
An all-in-one-solution for educational institutions

cursive heronBOT
#

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

Question
We are currently looking at migrating our use of the dotnet sdk to using StripeClient. Just wanted to see if there's any recommendations on these approaches. From the README, it seems like a general pattern might be to create a new StripeClient for every request which maybe seems a bit inefficient. Our other idea was to create our own stripe client factory that would spin up a stripe client for each account (or per configuration) that would persist the application lifetime. Reading the .net docs it also looks like we might need to add more configuration to the httpclient(s) themselves to avoid any issues with consumers using the same client instance or DNS changes.

Doc/Guide Links
https://github.com/stripe/stripe-dotnet?tab=readme-ov-file#using-stripeclient
https://learn.microsoft.com/en-us/dotnet/fundamentals/networking/http/httpclient-guidelines#recommended-use
https://learn.microsoft.com/en-us/dotnet/core/extensions/httpclient-factory

What are you working on?
We have a service that manages all of our integrations with Stripe w/ multiple accounts. Previously we would use dependency injection and have a singleton for each Stripe service and set the api key in the request options.

cursive heronBOT
#

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

Question
Hi Stripe Team, The company where I work is asking me to generate a report with the balance changes per Stripe activity. Although I have generated the code and extracted the necessary information, the data does not match what is provided by the Stripe dashboard.

Related Request ID(s)
Dashboard > Reports > Balance

What have you already attempted?
I have tried to extract the amounts, but it doesn't match what Stripe gives me, and they require that.

Ex. September

"grossAmount": 9324.24 -> should be 9344.78
"totalFees": 474.73 -> should be 445.93
"refunds": 433.63 (it does match)
"disputes": 71.49 (it does match)
"disputeFees": 30 (it does match)
"additionalFees": 0 -> should be 133,16
"netSales": 8234.42 -> should be 8250.57
"currency": "USD",

What are you working on?
Generate a financial report for my company

cursive heronBOT
#

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

Question
At what point is most appropriate to store information (via a POST request to my server) in my database collected during the checkout session? As soon as checkout.confirm() has resolved it will navigate to the return_url.

Doc/Guide Links
https://docs.stripe.com/payments/quickstart-checkout-sessions?lang=python&client=react

What are you working on?
Building a register page using custom checkout session. In the page I am collecting email address, password, name in addition to the payment information provided by the PaymentElement

#

@gilded oasis 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
After i prove my business information, its showing "Payouts are paused
Contact support for more information."

What have you already attempted?
tried to click on contact support

What are you working on?
Trying to get payment gateway to accept monthly subscription from my clients.

#

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

Question
I am nwew to being able to create use stripe for payment gateway. NOT EXPERT. just follow directions

Related Event ID(s)
I am in developer > no web hook for the api key that need

What have you already attempted?
Like I said I am new

What are you working on?
I am bing able to build LLM APP

cursive heronBOT
#

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

Question
POST v1/credit_note for a pre payment credit on an invoice did not seem to trigger an invoice update event, even though the invoice status was updated on stripe dashboard. Is that expected?

Related Request ID(s)
req_gHHpC4hOZMa0ZY

What have you already attempted?
Querying for latest data (invoice updated), looked through past events emitted by stripe, did not see an invoice updated event

What are you working on?
A connect platform integration that maintains webhook endpoint to receive updates on customers, subscriptions and invoices

#

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

Code
https://connect.stripe.com/express/oauth/v2/authorize but

Question
I am using the https://connect.stripe.com/express/oauth/v2/authorize but this is going to deprecated. So I want to update to Account.create. But currently we are using stripe 19v but when I research I found account.create and link will only for stripe 21v onwards. I can't upgrade to stripe 21 in my project. because there are so many dependencies in it. What to do?

What have you already attempted?
Express oauth

#

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

Question
Is there a way of subscribing a user to a yearly plan but having them pay monthly? e.g. a $3000 yearly subscription plan, paid as $250/mo. In our case, we want to give users all their year's credits upfront while allowing them to pay monthly. Are there best practices we should be aware of around this?

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

What are you working on?
A usage-based API where users have minimum spend commitments

cursive heronBOT
#

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

Question
I am trying to create a Peer-to-Peer Business where customers can create orders, sellers bid and the customer accepts an offer. For the sellers I am using Stripe Connect, during testing the express onboarding flow I noticed that after entering the type of company the seller has the farm wants either a website URL or a Product Description. Neither of them makes sense in my case because selling on my platform can also be done as a side-hustle and I don't want to force people to have a website. And My Platform has a very well distinct purpose so it is also useless to state what products sell

Related Request ID(s)
Stripe Connect > Express Users > Onboarding URL

What have you already attempted?
---

What are you working on?
A Peer-to-Peer 3D Printing Plattform where people can resquest models or search for people with printers which then send the products to them

#

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

Question
Hi, I have a question regarding payment intents and 3DS that gets imitated after a payment intent is created. Our team is working on modernizing our Stripe integration and we just moved from the ChargesAPI -> PaymentIntentsApi. We have a handful of transactions that are resulting in the 3DS being started but not completed by the customer. Our system currently is not able to handle a 3DS flow in our Mobile app. We are aware that we should be handling 3DS and are wanting to ensure we understand best practices and a better picture of how this should work and potential options to resolve incomplete. So a few questions:
(will post in the thread).

Doc/Guide Links
https://docs.stripe.com/payments/3d-secure
https://docs.stripe.com/payments/3d-secure/authentication-flow

What are you working on?
We have a mobile app that can be used by users to purchase items. We also have a administrator web app where we can charge/refund users.

cursive heronBOT
#

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

Question
Hi, i am adding a feature that will allow us to delete stripe connect accounts. I read that the best thing to do is first check the account balance, and validate the account balance is 0 and then delete the account. But which field in the balance objects should be 0 before safely deleting the connected account. I understand checking available and pending, but should i be checking refund_and_dispute_prefunding and connect_reserved balance amount as well?

Doc/Guide Links
https://docs.stripe.com/api/accounts/delete
https://docs.stripe.com/api/balance/balance_retrieve?lang=dotnet
https://docs.stripe.com/api/balance/balance_object

What are you working on?
Building a api feature that will allow us to delete stripe connect account.

cursive heronBOT
#

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

Question
As part of a business acquisition, our team (new ownership) created a new Stripe account to migrate all of the customers and subscriptions. We also needed to switch out the API keys in our SAAS code to match the new Stripe account. Since then, the webhook is showing a 100 fail rate in Workbench.

Related Event ID(s)
No associated IDs

What have you already attempted?
Updating the API versions, making a new webhook key, reading documentation on the 400 errors, V1 events, and API upgrades

What are you working on?
We are building a frontend app for a VR content management SAAS company

cursive heronBOT
#

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

What did you expect to happen?
I can't use my stripe CAD sandbox account to redirect to the Klarna sandbox checkout page to finish payment?

What actually happened?
It can redirect to https://payments.playground.klarna.com/apf/beta/app/index.html?token=xxx, but this page shows
"We appreciate your interest in choosing a smarter way to pay. Right now, our flexible payment options aren't available for this region or currency.

We know this isn't ideal, but we hope we can offer our payment options in more places soon."

Reproduction Steps
Use CAD sandbox account to integrate Klarna payment method

Question
Can I use my stripe CAD sandbox account to redirect to the Klarna sandbox checkout page to finish payment?

cursive heronBOT
#

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

Code
stripe.api_version = "2025-06-30.basil"
def main() -> int:
try:
# Your original parameters
invoices = stripe.Invoice.list(
expand=["data.payment_intent"],
limit=100,
status="open",
)

    print\("Raw response object \(str\)\:\n"\)
    print\(str\(invoices\)\)

Question
payment intent data is not returned from python sdk. It is returned when i do this request via CLI.

REQ ID: req_iSeHoeQexPKqwv

What have you already attempted?
-specifying api version
-doing the same request via CLI

Stripe/v1 PythonBindings/12.2.0

cursive heronBOT
#

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

Question
Is there any way to update the metadata of a PaymentIntent from the Stripe JS SDK? Or alternatively, initialize the Stripe JS SDK in a way that would set "context" around any actions that followed?

Related Request ID(s)
Not relevant here

What have you already attempted?
Looked through the Stripe JS SDK for a few different pieces of hopeful functionality but didn't find anything that matched:
* Passing metadata through confirmPayment
* Anything that would update a PaymentIntent from the Client (seems like a good design decision to not allow this, but it certainly would be convenient, haha)
* Initializing the Stripe() SDK itself with additional context

What are you working on?
When a user is presented with a 3DS modal (in our case, upon invoking confirmPayment), I would like to record some information about the user in a way that would be exposed on any webhook events that

cursive heronBOT
#

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

Question
I have a spring boot integration that handles monthly subscriptions that works fine. My problem is that i want to support multiple items in my subscription so i create a subscription with a checkout session in subscription mode then i want to update that subscription with another product and price but i want to charge it in the moment. I thought that using SubscriptionUpdateParams.PaymentBehavior.PENDING_IF_INCOMPLETE would keep the subscription active and will let me create a checkout session for the prorated new item but is adding the amount to the next month invoice.

Related Request ID(s)
sub_1SIGxV2e959zAvZloTJTIYaV

What have you already attempted?
i tried to get the latest invoice when i update the subscription but that does not have the new item. The next month invoice has that information. Also i tried to catch an invoice event but that is not working either. I need explicitly to keep the subscription active, charge for the prorated amount and use a paymenturl if needed like checkout session

What are you working on?
i want to handle multi subscriptions for my product

cursive heronBOT
#

@autumn halo 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/blog/introducing-stablecoin-payments-for-subscriptions

Question
How do I test this in the API? What webhooks are available? I am mainly seeking dev docs on how to implement this. Any other info would be helpful.

What have you already attempted?
Nothing, this seems like a new post from Stripe's blog today. Seems like it is only available to some people. All I ant to do is test this feature, not yet implement it fully.

cursive heronBOT
#

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

Error Message
{
"error": {
"message": "このアカウントに返金を実行するために、さらなる介入が必要です。Stripe はこの問題について先日ご連絡を差し上げましたが、その他ご不明な点がございましたら、https://support.stripe.com/contact よりお問い合わせください。",
"message_code": "refunds_not_allowed",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_cSNAxktC9SuuKy?t=1760495884",
"type": "invalid_request_error"
}
}

Question
I would like to test the refund process for invoices paid via bank transfer in the sandbox environment.
When I tried to refund a payment from the transaction page for a paid invoice, an error message was displayed and the refund process could not be executed. I would like to know the cause of why the refund process cannot be executed.

What have you already attempted?
https://support.stripe.com/questions/how-to-refund-a-customer?locale=ja-JP

Reproduction Steps

  1. Create an invoice for an existing customer
  2. Add the invoice amount to the cash balance
  3. After confirming that the invoice has become "paid", click the payment refund button from the transaction page
  4. Specify the customer's email address for the email address, use default values for other fields, and click the refund button
cursive heronBOT
#

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

Code
checkout = stripe.initCheckout({
clientSecret: data.clientSecret!,
elementsOptions: {
appearance: appearence,
fonts: [
{
family: "Inter",
src: "url(https://fonts.gstatic.com/s/inter/v18/UcCo3FwrK3iLTcviYwY.woff2)",
weight: "100 900",
},
],
savedPaymentMethod: {

Question
How do I remove the link payment save dialog. On my production application which is running an older version of stripe js (7.9.0) I do not see this dialog.

What have you already attempted?
Disabling the link payment method but this doesnt seem to be an option.

cursive heronBOT
#

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

Code
No code really as I dont know how to customize this

Question
So I'm just curious if there is a way to style stripe payment element content loader or change its behaviour, as content loader shows that there will be other payment elements above the regular card input, so component kind of jumps when loaded without other payment elements above. Also, is it possible to add something to the elements label, for example asterisk(*)?

What have you already attempted?
I have attempted some styling with appearance and what not, but with no luck.

What are you working on?
We are integrating a stripe payment element

cursive heronBOT
#

@warm ruin 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/elements/in-app-payment-sheet

Question
Just migration to the latest stripe SDK, for mobile
- Androids
- iOS

What have you already attempted?
However find out that, while creating paymentsheet
in iOS not required paymentIntentClientSecrete

while For Android showing payment sheet, paymentIntentClientSecrete is required.

What are you working on?
upgrading Stripe to the latest

cursive heronBOT
#

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

Question
The price for upgrading one minute later is 150.12. Why did upgrading after an hour become 150.15? Shouldn't it be cheaper

Related Request ID(s)
req_s5el8jtPRJMK3o req_JWXSoov1S5MQ4X

What have you already attempted?

cursive heronBOT
#

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

Question
I have a webhook for payment.failed during renewal and it was checking the payment intent to get the reason why it failed. But now some of the failed payment of invoice has no payment intent included. is there a reason why?

Related Event ID(s)
in_1SH467AmWdZXFTtheyLHakMo

What have you already attempted?
reviewed the data.

What are you working on?
capturing the reason why the invoice payment failed during renewal

cursive heronBOT
#

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

What did you expect to happen?
The promotion code should have applied to payment

What actually happened?
It didn't applied

Reproduction Steps
Created a trial subscription with promotion code which offers 5$ off, advanced test clock which moved subscription to active phase by charging first invoice, it deduct 12.99$, should have been 7.99$

Question
Why the promotion code discount wasn't applied? The invoice id is in_1SITTCGnSTdUhUa4gTCyLWmC

cursive heronBOT
#

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

Question
I have an application that uses stripe marketplace and subscriptions. I am leveraging a sandbox environment for testing. A user of my site can successfully start and pay for a subscription stripe checkout. The subscription and successful payment show up in the stripe Transactions log and in the developer dashboard. My app calls the stripe API to verify the subscription after stripe redirects back to my app after payment is processed.

I see the logs in the sandbox workbench logs.
I have

Related Event ID(s)
evt_3SILHvGUjF0YMokA3LaVFquG

What have you already attempted?
I tried triggering an event from the stripe frontend (initiating a payout via marketplace) and i do see that event in the developer workbench >> webhook overview and developer workbench >event deliveries

I can resend the payout.paid event in the webhook >> event deliveries >> "RESEND" function and that does call my webhook successfully.

I verified stripe logs show HTTP 200 the events that are triggered in stripe from My API calls.

However the API calls and subsequent events do not trigger a webhook event delivery.

What are you working on?
Payment processing solution for a marketplace platform / application that allows users to subscribe to a service that allows them to schedule video conference meeting sessions

#

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

Question
I have Subscription Module in my project, where it has 2 product SOLO & LINKED,
plans as Solo monthly-$4.95, Solo yearly-$44.50
Linked Monthly - $8.95 , Linked Yearly - $80.50.
Here i have Upgrade Downgrade feature , Suppose i have subscribed for Solo Monthly Plan and i want to upgrade to Linked Monthly Plan then it should charge me some amount now ,right

And How we can ask user to pay that difference amount.?
What i have tried that explain in attemped section

Related Request ID(s)
Subscription

What have you already attempted?
I have tried Subscription Update API with
$updateSubscription = $stripe->subscriptions->update($stripeSubscriptionId,[ 'cancel_at_period_end' => false,'proration_behavior' => 'create_prorations','items' => [['id' => $subscriptionObject->items->data[0]->id,'price' => $newPriceId, //new upgraded plan id ] ], ] );
Here i am upgrading plan to Linked Monthly and stripe will charge me On my next invoice amount is 13.80 .

But concern is , when i am upgrading subscription what if user used the core feature of upgraded plan and cancel the subscription before their next invoice

What are you working on?
I am working on Backend subscription using Php Laravel

cursive heronBOT
#

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

Error Message
An error occurred while retrieving the merchant baseUrl: TypeError: Failed to construct URL: Invalid URL

Question
This happens when user goes through Amazon Pay express checkout and selects Affirm as payment method. The user gets stuck on the infinite loading screen, and no record of the payment is created in Stripe, but the user still gets charged by Affirm. Can I fix this on my side, or is it an issue that in the integration between Amazon and Affirm?

What have you already attempted?
I have added additional logging on our side, but it seems that the issue happens at the last moment of the process, after user clicks 'Confirm payment' on Affirm's side, so our logs didn't capture anything

Reproduction Steps
Reproduces for me on any order of >50$ (because Affirm isn't offered as a payment method below 50$).

  1. Start Amazon Pay express checkout flow
  2. Select Affirm as payment method
  3. Fill in the forms offered
  4. Get stuck on the infinite loading after confirming payment
#

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

Question
We recently upgraded from the ChargesAPI to PaymentIntentsAPI and have ~57 transactions that are stuck in an incomplete status due to 3DS auth not being completed. I have a previous thread from yesterday discussing this and will link it. I need to know the best way to handle these connect account transactions stuck in this state.

Doc/Guide Links
https://discordapp.com/channels/841573134531821608/1427741349268033597

What are you working on?
We have a mobile app using the .NET PaymentIntentsAPI, that users can purchase items on, the stripe calls happen server side because our app is .NET MAUI based and cannot use the Stripe SDKs easily. More info in thread

cursive heronBOT
#

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

Question
We're trying to use global payout and would like to take a fee from our users, but i don't see an application fee field in the api. how would we do this?

Related Request ID(s)
0

What have you already attempted?
Read the global payout docs

cursive heronBOT
#

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

What did you expect to happen?
when i creating session to do subscription i should and get payment link even if i have active subscription on anther product

What actually happened?
if i have an active subscription it will give me you alread have subscription with page instead of payment page

Reproduction Steps
when i creating session to do subscription i should and get payment link even if i have active subscription on anther product
if i have an active subscription it will give me you alread have subscription with page instead of payment page

Question
how to prevent this validation an pay normally

What are you working on?
site that have sub

#

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

What did you expect to happen?
I expect the Stripe payment element to render in WordPress gutenberg.

What actually happened?
Stripe element does not render in gutenberg. I can se empty div cotainer with "root" in iframe which Stripe craetes to render Payment methods but it works fine on website frontend.

I think, it happen because Stripe element does not render inside iframe and Gutenger editor is editor area uses iframe.

Reproduction Steps

  1. Install woocommerce
  2. Install StellarPay
  3. Connect StellarPay with Stripe
  4. Enable one single payment gateway in Woocommerce i.e StellarPay
  5. Check checkout page in admin.
  6. You will notice that Stripe Payment ele

Question
I would like to know whether there are know issue with Stripe Element that they does not render in iframe on website because Stripe Element uses own iframe.

#

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

Question
Our application has its own micro deposit page for bank verification. Does stripe also send an email to their customer for the bank verification?

Related Request ID(s)
NA

What have you already attempted?
NA

#

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

Question
How to access hosted invoice pdf if it has expired externally?

Related Request ID(s)
n/a

What have you already attempted?
We fetch invoices via webhook and API endpoints directly (stripe connect). but sometimes it seems like both the hosted invoice url as well as the pdf link expired from signed url.

we can download it from client's dashboard, how can we accomplish the same via API?

What are you working on?
integration sync for customer invoices

cursive heronBOT
#

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

Question
One of our customers uses stripe connect to handle payments for many of their customers. We need to extract invoices, payouts, and other information for specific stripe connect accounts that our customer manages. We know that we can ask our customer to give us a restricted api key for the endpoints we need access to. The problem is that we can still call those endpoints without passing the Stripe-Account header, which would give us information about our customer's stripe account. We need to avoid this at all costs. Is there a way to force the API to only allow us to make calls to the specific connected accounts (basically force us to pass the Stripe-Account header)?

Doc/Guide Links
https://docs.stripe.com/api/connected-accounts
https://docs.stripe.com/api/authentication

What are you working on?
We're working on an embedded accounting platform for our customers

cursive heronBOT
#

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

Code
dotnet backend, react frontend
relevant options being passed to stripe createSession:
UiMode = "custom",
Mode = "subscription",
LineItems = new List<SessionLineItemOptions>
{
new SessionLineItemOptions
{
Price = request.PriceId,
Quantity = 1
}
},
Customer = request.Customer,
AutomaticTax = new SessionAutomaticTaxOptions
{
Enabled = true
},
BillingAddressCollection = "required",
CustomerUpdate = new SessionCustomerUpdateOptions
{
Address = "auto"
}

Question
With Express checkout element, previously we would call elements.update({amount: <amount>}). Docs say the express checkout element gets the amount from the checkout session so I removed elements.update() but now when the modal opens (apple/google) it says $0 owed. Also, we want to use automatic tax + the express checkout element to have the customer pay without having to enter any address info. How do I get amount + tax amount to display correctly in the express pay modal?

What have you already attempted?
I haven't been able to get the amount to display in the express pay modal without the elements.update() call. If I do have elements.update() the amount is correct so I tried to get taxes to calculate in the express modal. I saw a note in the docs about google pay requiring the shipping address so I added "shippingAddressRequired: true" to the express checkout options but still nothing. If I enter an address in the AddressElement, taxes calculate in the checkout session

What are you working on?
Switching from a custom stripe checkout integration with off session tax handling/payment to Checkout Sessions & automatic tax

#

@half latch 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
As per Stripe AI agent, payment element will render zip code based on browser location/locale and it is happening, but I do not see any documentation the explains same.

What have you already attempted?
Tried AI suggestions

What are you working on?
Rendering payment element

cursive heronBOT
#

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

Question
I have a webhook set up to capture payment intent success. One of these requests hit a connection error and failed once, and when attempting to manually retry this, I get a really strange 404 error from Stripe I haven't seen before in my checkout flow.

Related Request ID(s)
evt_3SIIH5CD8dTaM9ye1J3E6wwV

What have you already attempted?
I tried manually retrying the request but it keeps hitting the same error.

What are you working on?
Peer to peer shopping marketplace

#

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

What did you expect to happen?
I thought I'd be able to add more than 10 products in a customer portal configuration so that I can programmatically point users to a Stripe-hosted upgrade flow by passing subscription item ID and new price (coming from "upgrade" button in my app). I see legit companies like Lovable have this exact flow (~23 products listed in their customer portal) but it won't work

What actually happened?
I get a "You can only have a maximum of 10 products" when I try to add more than 10. I thought maybe API config would be different, but it also says 10 https://docs.stripe.com/api/customer_portal/configurations/object#portal_configuration_object-features-subscription_update-products

Reproduction Steps
Navigate to Billing > Subscriptions > Customer Portal Settings and under subscription products attempt to add 20 products. It lets me choose the 20 but not save it...

Question
How are companies like Lovable adding more than 10 products in a hosted customer portal that customers can upgrade/downgrade with? I want to point users to a stripe-hosted page programmatically to process an upgrade and I have over 10 subscription products they could choose from.

What are you working on?
Trying to process upgrades from my SaaS web app

cursive heronBOT
#

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

Question
Hi Team,
I want to onboard merchants using the OAuth 2.0 Authentication methods on my stripe account acct_1QWxwpE9cSvqiivY.

I have created a client secret in test mode in stripe.

I am getting the below error when I am trying to generate an authorization code.
Request:
curl --location 'https://connect.stripe.com/oauth/authorize?response_type=code&client_id=client_secret&scope=read_write&state=optional_csrf_token'

Response:
{
"error": {
"message": "Standard OAuth is disabled for this account."
}
}

Related Request ID(s)
acct_1QWxwpE9cSvqiivY

What have you already attempted?
Also I am getting "your account has been rejected" error when I am trying to enable stripe connect for new countries on stripe dashboard.

#

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

Error Message
I have tried many times to change the password and now it won't let me try it again.

Question
Μου ζητάει έναν εξαψήφιο αριθμό δεν τον θημαμαι
Προσπαθώ να κάνω ταυτοποίηση με ταυτότητα και τώρα δεν με αφήνει να προχωρήσω

What have you already attempted?
Προσπάθησα πολλές φορές με την ταυτότητα και μπλόκαρε

#

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

Code
line_items[0][dynamic_tax_rates][1]"={{SECOND_TAX_RATE_ID}}

Question
I am trying to set a dynamic tax rate for the US, the state of Illinois, but have it apply to only the city of Chicago (as this is how SaaS sales tax taxation unfortunately works today!)

What have you already attempted?
I have set the tax rates on a per-state basis in the US successfully, however it doesn't work at other locality levels so the feature isn't working.

What are you working on?
SaaS sales taxes!

cursive heronBOT
#

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

Question
If a monthly subscription is created today, but the first payment is made after 22 hrs after creation, the next invoice will be generated after 29 days, 2hrs, shouldn't that be exactly 30 days after the first payment and not from the creation date of subscription? Also, How do i do handle it, if i wanted to generate the next invoice exactly after 30 days of first payment?

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

What are you working on?
Meditation app

cursive heronBOT
#

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

Question
I'm considering the impact of disabling/enabling address collection through the payment sheet as it relates to fraud prevention and disputes. Is there a good way/rule of thumb to estimate the implication of disabling address collection? My understanding is that the AVS check won't happen at the time of payment processing and I know the recommendation is to collect zip code as per docs however for reasons specific to our product offering I want to explore the tradeoff and any data you can point me towards would be helpful.

Doc/Guide Links
https://stripe.com/guides/optimizing-authorization-rates

What are you working on?
Reducing payment method data collection

#

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

Question
I had an existing thread open and was making progress but it was locked - not sure why. I see logs and events in stripe's webhook dashboard for actions that should have triggered webhook calls. I do not see the webhook calls in the webhooks dashboard in the developer portal and my webhook is not being called. However I do have an old event in Event Deliveries that was initiated from a connected account via the stripe portal and when i click Resend it does successfully call my webhook.

Related Event ID(s)
patout.paid

What have you already attempted?
Verified keys
Verified webhook logs
Tried triggering messages form

What are you working on?
A web marketplace that allows athletes to book mentorship sessions with professional athletes

cursive heronBOT
#

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

Question
How can I know when a payment is for a subscription renewal or upgrade?

Related Request ID(s)
req_J9SZ4yc8jfS38e

What have you already attempted?
I see that in the documentation, in the Invoice object there is a key called “billing_reason” that has a string indicating the payment. Is this the field that tells me when renewals and updates occur?

Also, is it possible that “subscription_cycle” and “subscription_update” apply to the same type of payment?

What are you working on?
Invoice Objects, renewal and updates

cursive heronBOT
#

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

Question
I am trying to test and debug a new Stripe app that requires webhooks from the connected accounts that have installed the app.

I have an app created on account acct_1SHxH0AG2pP9ZMMq.

Then the app is installed on three accounts:

Account, Channel, Mode

acct_1SHxHgAHRLKA1iaY (parent account), Private, Live mode

acct_1SHxHgAHRLKA1iaY (sandbox of parent), Test version, Test mode,

acct_1SCoMuAkuYgQhpSE (random sandbox account), Test version, Test mode,

The issue is that I see no "connected accounts" when I go to Stripe connect, and I also receive no webhooks

Related Event ID(s)
evt_1SIcG7AkuYgQhpSEYjyRdNYW (customer.created event from acct_1SCoMuAkuYgQhpSE that should be sent)

What have you already attempted?
I have tried to install the app in different types of accounts and look at all my webhooks to no success

What are you working on?
Trying to build sync Stripe App that needs connect webhooks from users.

cursive heronBOT
#

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

What did you expect to happen?
The Payment Method Messaging Element can display Klarna financing messages if it’s enabled in the dashboard.
However, the Payment Element doesn’t show Klarna, which makes their behavior inconsistent.
I hope there’s a way to make them consistent.

What actually happened?
The Payment Method Messaging Element can display Klarna financing messages if it’s enabled in the dashboard.
However, the Payment Element doesn’t show Klarna, which makes their behavior inconsistent.

Reproduction Steps

  1. Enabled Klarna in dashboard
  2. Using Payment Method Messaging Element to display finance messaging.
  3. Using Payment Element to display stripePaymentElement. Set the currency to USD if you are in Canada. If you are in USA set the currency to CAD. You will found it doesn't display the Klarna payment in payment element. But it can display in finance element

Question
The Payment Method Messaging Element can display Klarna financing messages if it’s enabled in the dashboard.
However, the Payment Element doesn’t show Klarna, which makes their behavior inconsistent.
I hope there’s a way to make them consistent.

cursive heronBOT
#

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

Question
Hello, I'm working on a large startup and we will have a large volume of paymennts.

I'm wondering if Stripe Connect Custom is the best for me to do?

Related Request ID(s)
None

What have you already attempted?
Used paysera, but they're charging me a high fee and working with our startup privately.

What are you working on?
Rent.gg, An upcoming rental app for europe.

cursive heronBOT
#

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

Code
const response = await myStripeObject.confirmPayment({
elements: myStripeElements,
confirmParams: {
// Make sure to change this to your payment completion page
return_url: 'https://checkout-staging.rentalkharma.com/complete.php&ID=' + registrationGUID
},
redirect: 'if_required'
});

Question
I've set redirect to if_required, and I want to test the return_url functionality. All the test numbers that I've tried launch the 3D window and are processed within the flow. That's great, but are there any test numbers to force the Stripe engine to call the redirect URL?

What have you already attempted?
the 3DS Required/Declined and 3DS Required/Error test numbers

What are you working on?
A small site to perform checkout of our service.

cursive heronBOT
#

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

Question
Is there anyway with the SDK or API that I can tie a payment Intent to an invoice or vice versa an invoice to a payment Intent? In the dashboard its possible to auto-create an invoice when creating a payment link (so my customer has an invoice post-payment) and I want to transfer this same logic now as I am building a dashboard. Custom stripe form.

Related Request ID(s)
none

What have you already attempted?
setup intents
payment intents
confirmcardpayment
expanding payment intent on invoice
addExtra param to payment intent params
nearly anything i could find
im on stripe-go v83

What are you working on?
user dashboard where they can purchase a plan / recurring and one_off. everything on-site, no redirects to stripe or any invoice hosted page, trying to keep it all one unity

cursive heronBOT
#

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

Question
Hello, my question is about retrieving a transaction Stripe's processing fees.
I'm aware of the documentation here : https://docs.stripe.com/expand/use-cases#stripe-fee-for-payment
And it worked fine until July I would say but since the fees I get with the API are always 0 but I know they are not null because I see them in each payment detail.

Related Request ID(s)
req_5A1yvynj1Ss3o0

What have you already attempted?
I tried to retrieve each charge individually and expand its balance transaction

What are you working on?
When I give back money I would like to keep the stripe fees for myslef

cursive heronBOT
#

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

Question
I am creating a subscription using the subscription API and setting the "save_default_payment_method to on_subscription", but when I check the logs in stripe dashboard "save_default_payment_method is off" in live mode while it works correctly in test mode.
I’m trying to initiate a preauthorization on day 4 of the trial using the customer.subscription.trial_will_end webhook.

Related Request ID(s)
Test Event ID: evt_1SE1UMED5xkfDv2cQ7JFoSbw, Live Event ID: evt_1SFvccED5xkfDv2ctNorNGpA

What have you already attempted?
Setting it using this subscription api using the below code:
$subscription = $stripe->subscriptions->create([
'customer' => $customer_id,
'items' => [['price' => $priceId]],
'default_payment_method' => $payment_method,
'collection_method' => 'charge_automatically',
'off_session' => true,
'payment_behavior' => 'default_incomplete',
'payment_settings' => ['save_default_payment_method' => 'on_subscription'],
'trial_period_days' => 7,

What are you working on?
I’m currently implementing a subscription flow that includes a 7-day trial using setup_intent.succeeded via webhook, and everything works correctly in both test and live mode

cursive heronBOT
#

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

Code
async exchangeCodeForToken(code) {
console.log('🔄 Exchanging code for Stripe token...');
console.log('📤 Code:', code.substring(0, 20) + '...');

const response = await axios.post\(\`${this.baseUrl}/oauth/token\`,
  new URLSearchParams\({
    code,
    grant\_type\: 'authorization\_code',
    client\_secret\: this.clientSecret
  }\), {
    headers\: {
      'Content\-Type'\: 'application/x\-www\-form\-urlencoded'
    }
  }
\);

Question
I'm integrating Stripe Connect OAuth for my SaaS, allowing sub merchants (Stripe user) to create payment links and receive payments directly. The OAuth URL with client ID, redirect, and state works, but after users input their details (email, etc.), the token exchange fails with a 401 error. It works fine in sandbox mode, but not in production. What am I missing or how can I fix this issue? Any insights on common misconfigurations or missing steps?

What have you already attempted?
i have made stripe connect url with this :- const params = new URLSearchParams({
client_id: this.clientId,
redirect_uri: this.getRedirectUri(subdomain),
response_type: 'code',
scope: 'read_write',
state: this.generateStateParameter(vendorId)
}); attempted this with

What are you working on?
I'm setting up Stripe Connect so other Stripe users can authorise our business to create payment links on their behalf.

cursive heronBOT
#

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

Error Message
Our monitoring tools indicate that your API key, sk_live_...rOzz, is likely accessible on the internet, and that a third party might have used it to create unauthorized charges on your Stripe account. Although nobody can use your secret keys to log into Stripe, a fraudulent actor can use them to charge cards on your account's behalf. Because of their sensitive nature

Question
Hello Stripe Support team,

We recently received a notice that our API key (sk_live_...rOzz) was exposed and was automatically expired. We generated a new key and updated our integration accordingly. Everything worked correctly for about a week.

However, now we are again receiving a 500 Internal Server Error when trying to create a payment or redirect to Stripe

What have you already attempted?
We generated a new key and updated our integration accordingly. Everything worked correctly for about a week.

However, now we are again receiving a 500 Internal Server Error when trying to create a payment or redirect to Stripe

Reproduction Steps
However, now we are again receiving a 500 Internal Server Error when trying to create a payment or redirect to Stripe Checkout. No recent code changes were made on our side.

Please help us investigate the issue — could this be related to our new API key, permissions, or any additional security measures applied to our account?

Our account email:gbmf@corelines.us

What are you working on?
We are building.

cursive heronBOT
#

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

Code
new code - that returns 400
const invoices = await client.invoices.list({
limit: 100,
status: 'open',
expand: ['data.payments.data.payment.payment_intent'],
})

old code - that works

const invoices = await client.invoices.list({
limit: 100,
status: 'open',
expand: ['data.payment_intent'],
})

Question
We're upgrading from Acacia to basil/clover and we lost the ability to expand payment_intent in the invoices.list API. Attempting to update to: expand: ['data.payments.data.payment.payment_intent'] returns You cannot expand more than 4 levels of a property. We are now forced to n+1 call from -> invoices list API, then call each invoice with payment expand to get the payment intent status (we have business rules around checking status of ACH). Is there a workaround?

What have you already attempted?
We are already planning on the n+1 pattern, but are wondering if there's a workaround? We fetch open invoices for our users. Business rules require us to calculate invoice status based on payment intent, due to ACH processing counting as paid so we can't rely on invoice status alone as they will be marked as open, even though payment intent status is processing (we count this as paid in our world.)

What are you working on?
We fetch open invoices for our users. Business rules require us to calculate invoice status based on payment intent, due to ACH processing counting as paid.

cursive heronBOT
#

@uncut 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://stripe.com/resources/more/what-is-a-card-account-updater-what-businesses-need-to-know

Question
Hello
I have a few questions abouts CAU (card account updater) service

  1. How business can request this feature?
  2. Where can I find documentation how to integrate CAU on our backend service? We have Stripe integration on our side
  3. Where is described pricing of CAU? I didn't find it on Pricing(https://stripe.com/pricing) page

What have you already attempted?
I read through all related documents, but didn't find answers to my questions

What are you working on?
Changing handling of Stripe customer.source.expiring event

cursive heronBOT
#

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

Question
Hi! I want to offer free subscription months to my customers who purchase other products from me. I plan to use pause_collection with behavior: 'void' and set a resumes_at date.
My question: Is there a maximum duration limit for resumes_at, or can it be set to any future date (unlimited)?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/pause-payment?locale=fr-FR#collect-payment-never

What are you working on?
free subscription

cursive heronBOT
#

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

Question
Preview Invoice and Update Subscription have discrepancy in the combination of `billing_cycle_anchor` and `proration_date` params

Related Request ID(s)
Not Applicable

What have you already attempted?
We are trying to provide params `proration_date` and `billing_cycle_anchor=now` in the subscription update endpoint but it gives us an error that we cannot provide billing cycle anchor to now when proration date is set

However, the same thing is totally fine in preview invoice. If we do something different in update endpoint then user gets charged a different amount than what was shown in the preview

We are migrating to Clover API and this behavior was totally fine on the acacia API

What are you working on?
Switching the billing cycle anchor of an existing subscription to now along with prorations

cursive heronBOT
#

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

Code
const stripe = Stripe('{{ config('services.stripe.publishable_key') }}');
const elements = stripe.elements();

    // Create card element for normal card payment
    const cardElement = elements.create\('card'\);
    cardElement.mount\('\#card\-element'\);

    // ✅ Create Payment Request for Google Pay / Apple Pay
    const paymentRequest = stripe.paymentRequest\({
        country\: 'IN', // Must match your business country
        curren

Question
Why the google pay button is not showing?

What have you already attempted?
POST https://play.google.com/log?format=json&hasfast=true&authuser=0 net::ERR_BLOCKED_BY_CLIENT

What are you working on?
IN Laravel the stripe payment gateway integration google pay button is not showing

cursive heronBOT
#

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

Question
I’ve implemented a two-step confirmation flow in my webshop. The ConfirmationToken is temporarily saved in the user session until it’s sent to my backend to confirm the payment. My question: if someone steals that token from the session (e.g. via XSS or compromised browser), could they do anything harmful with it, or is it useless without my Stripe secret/public keys?

Doc/Guide Links
https://docs.stripe.com/payments/build-a-two-step-confirmation?lang=php&client=js#create-ct

What are you working on?
I’m building a custom webshop integrated with Stripe, implementing a two-step confirmation process for payments.

#

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

Question
We use Stripes ready made js component for our customers to input credit card on our settings page.

A customer said they have tried to enter new card, first time they got verification screen asking them to do things with their bank. But it still failed, and then all subsequent just fails without prompt.

I see the events for cus_GxjXUp93pLH7Ig but it says action needed then seconds later it fails.

Not sure how to debug this.

Related Request ID(s)
cus_GxjXUp93pLH7Ig

What have you already attempted?
Tried to understand from events what is going wrong.

#

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

Question
My product line items's order is correct in Stripe checkout page, but after paid, the order in invoice is reversed. How can I make the items' order correct in invoice?

Related Request ID(s)
cs_test_b1MXuZ8zgfldI6rE34vfks42O9ZUQsgr08T6KbKJxWxO5SLTaqb1tdT86o

What have you already attempted?
I paid a checkout session. I didn't check the Stripe API yet to find out the solution.

cursive heronBOT
#

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

Question
Hi! I'm using pause_collection with behavior: 'void' to pause yearly subscriptions for a few months (e.g., 3 months free). When the subscription automatically resumes (at resumes_at), I want to update the billing_cycle_anchor to align the billing cycle with the resume date.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/pause-payment?locale=fr-FR#collect-payment-never

What are you working on?
offer a few months on an annual subscription

#

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

Error Message
java.lang.NoSuchMethodError: No static method copy-BZCqYng$default(Lcom/stripe/android/uicore/StripeTypography;IIIFJJJJJJLjava/lang/Integer;Landroidx/compose/ui/text/font/FontFamily;Landroidx/compose/ui/text/font/FontFamily;Landroidx/compose/ui/text/font/FontFamily;Landroidx/compose/ui/text/font/FontFamily;Landroidx/compose/ui/text/font/FontFamily;Landroidx/compose/u

Question
We are trying to integrate stripe identity verification sdk into our react native application. We think there's some version mismatch/incompatibility, we wanted to know the sdk versions that can be paired together.
Or if it is something else, let us know that as well.

What have you already attempted?
While trying to build the android app after adding the identity npm package, it got some error that indicated that we needed to include support for composable.
After adding which we were told by further error messages that we needed to upgrade more android platform side dependencies.
So we upgraded Android gradle plugin, kotlin, ksp, added kotlin compose plugin.

Reproduction Steps
Current versions:
"@stripe/stripe-identity-react-native": "^0.3.8",
"@stripe/stripe-react-native": "^0.54.1",
"@stripe/stripe-terminal-react-native": "^0.0.1-beta.25",

After upgrading the platform side things the app built but when we call present() from the identity sdk the app crashes with the error message.

What are you working on?
Cross platform payment terminal using stripe

cursive heronBOT
#

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

Question
How to work with Express Checkout Element?

Related Request ID(s)
-

What have you already attempted?
Earlier in coraestraze_api branch you recommended to use Express Checkout Element instead of paymentRequest object. But paymentRequest has a method (canMakePayment) which i can use to make clear that button is shown.

Does Express Checkout Element have same functionality?

I have configured code and browser for showing Google Pay button but it doesn't show. How could I know that on Stripe side Google Pay button is ready to be shown and problem is somewhere else?

#

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

Question
how to implement 3ds on payment links

Related Request ID(s)
-

What have you already attempted?
i dont know how to implement the 3ds on payment links webview

What are you working on?
implement 3ds on payment links

cursive heronBOT
#

👋 @tacit ridge reached out from Stripe Support.

Summary:
Test for a Stripe engineer

#

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

Code
async exchangeCodeForToken(code) {
console.log('🔄 Exchanging code for Stripe token...');

const response = await this.stripe.oauth.token\({
  grant\_type\: 'authorization\_code',
  code\: code
}\);

console.log\('✅ Token exchange successful'\);
return response;

}

Question
Stripe connect gets failed to connected existing stripe user with my stripe business.

What have you already attempted?
change restricted keys to secret api keys, but nothings works,

What are you working on?
building Stripe connect for business to make payment links on connect stripe behalf.

cursive heronBOT
#

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

Question
Platform Account: acct_18jEYmAejZQGNO8N
Conntected Account: acct_1ME89rPGMj72ahP7
Event: evt_1SIhX7PGMj72ahP7mopRHdpG
The event was created in this unix timestamp: 1760584036
And was delivered about 2 and a half hours afterwards to our end point.
It made us think there is fraud invloved.
Is it normal that an event will be delayed so much time?

Related Event ID(s)
evt_1SIhX7PGMj72ahP7mopRHdpG

What have you already attempted?
Nothing, we need to know what are stripe's timelines in order to know how to keep track of our transactions.

#

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

What did you expect to happen?
I created a Stripe app using cli with id com.turboboost.app using an account which I intended to run my test app, I expected the Id will not be registered with Stripe until uploaded using command "stripe apps upload"

What actually happened?
I presumed the app Id is not registered in Stripe until its uploaded. It should not have registered my Id until its uploaded

Reproduction Steps
Create a stripe app using cli on the same account which already have a app

Question
Can we remove the existing public app from my account, so that I can upload a new app with id com.turboboost.app

What are you working on?
Stripe apps

#

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

Question
A client is testing our card field integration and wants to know why the visa card symbol is displayed when using the American Express test card number 378282246310005. Is this something unique to us?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
A Stripe card field on a booking form.

cursive heronBOT
#

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

What did you expect to happen?
For users to be able to check out with a card issues in the Marshall Islands.

What actually happened?
I've noticed that cards issues in the Marshall Islands always seem to get declined by Stripe. My guess is that it is because Stripe lists Marshall Islands as a US state rather than a separate country, so it is impossible to correctly input the billing address for cards issues in the Marshall Islands.

Reproduction Steps
Attempt to enter card details on any merchant powered by stripe.
Look for Marshall Islands in the "country" drop down, you will find that it is not listed.
Select "United States" instead.
Open the "state" dropdown and you will find Marshall Islands listed.

Question
Could you please allow users to select Marshall Islands as a country, rather than a state so that MI issues cards can correctly enter their billing address and checkout via merchants using Stripe?

cursive heronBOT
#

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

Question
issue with receiving webhooks from a connected account, but the payment was not initiated by us?

Related Event ID(s)
evt_1SIpb9GPaSdSjI6vrgy36fcO

What have you already attempted?
speaking to normal stripe support

#

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

Question
We want to allow our customers to subscribe to a service with a fixed monthly amount, even if they don’t use any credits (quantity=0) during the month. The flat_amount should cover this use case.

Question:
Is it possible to allow quantities of 0 for prices with flat_amount? Or is there a recommended alternative for this use case?

Technical details:

API used: Checkout Sessions API
Mode: subscription
Price type: tiered with flat_amount

Thank you for your help!

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_4oDYnkafIP5bn9?t=1760624918

What have you already attempted?
I tried different type of price configuration like volume or graduated. But I still have this error:
error - This value must be greater than or equal to 1.

What are you working on?
I work on a tool, where you can have access to an editor video for a certain amount, and where you can purchase some credit for ai-generated-video.

cursive heronBOT
#

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

Question
Strange behavior with incomplete subscription and mobile sdk checkout - setup intent

Related Request ID(s)
n/n

What have you already attempted?
honestly no sure what to check

What are you working on?
so we have an ios application which using paymentSheet and based on the case - if there is a trial option backend is sending secrets for setup intent, if it is normal payment the BE is sending s...

#

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

Question
I want to know why the Stripe workflow that I set up is not working properly.

Context: in the Stripe sandbox, I have setup a workflow via the Workflows dashboard. It is design to work this way:
-when a new customer is created, if the country is not France, then set up a specific footer on this invoices for this customer.

I have tried to simulate a new customer creation using a stripe payment link with the corresponding sandbox with the billing country = USA.

The link worked properly, but the footer on the invoice is not the one I set up in the workflow. I don't why.

Related Event ID(s)
evt_1SInBzFsruw7SVawUVZQc194

What have you already attempted?
I have attempted to create a new customer via a Stripe Payment link. I can see in the Inspector that the customer.created event was the first event made. However, the corresponding invoice for this creation has not the footer I set up in the workflow. When I manually create a customer via the dashboard and THEN i create an invoice, it works fine, but not when I create a customer via a Stripe payment link. The invoice footer update workflow arrives later, but the first invoice created does not have the correct footer.

What are you working on?
Invoice footer automation via Stripe Workflows depending on customer billing country

#

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

Question
Hey folks 👋

I have two quick questions about the new delayed capture feature:

The docs mention using capture_method: "automatic_delayed" (link
), but it looks like this option isn’t yet available in the API or Stripe Types (it throws an “invalid capture_method” error). Is there a way to request access to this public preview, or is it still gated?

Can this delayed capture method be used for debit cards, or is it limited to credit cards only (since not all issuers support pre-authorizations)?

Thanks in advance — just trying to confirm what’s possible for implementing a pre-auth → capture fl

Related Request ID(s)
req_hZ2ZrQSbgC8Fw0

What have you already attempted?
- Upgraded to beta
- Tried setting stripe version to various Basil releases as well as Clover (we are currently on 2024-12-18.acacia)

What are you working on?
We currently use `capture_method: 'automatic'` when charging our customers late fees, which we then refund on product return. We want to instead pre-authorize and cancel the payment intent

#

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

Code
func (s *StripeService) TestStripe(ctx context.Context) error {
accParams := &stripe.AccountParams{}
accParams.AddExpand("individual")
acc, err := account.GetByID("acct_XXXXXXX, accParams)
if err != nil {
return err
}

fmt.Printf\("Account\: %s\n", acc.ID\)

if acc.Individual != nil && acc.Individual.Address != nil {
	fmt.Printf\("Individual Address\: %+v\n", acc.Individual.Address\)
}

params \:= &stripe.PersonParams{
	Account\: stripe.String\(acc.ID\),
}
personObj, err

Question
I can't access home address of personal details over API I only can access support address.

https://dashboard.stripe.com/acct_XXXX/settings/business-details

What have you already attempted?
account data and person data

#

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

Question
I am working on payouts and trying to determine if managing manual payouts to update my invoices in the database makes sense and if it is doable.

I realize that when triggering a manual payout, I am not able to see the transactions/payments related to the payout since its a manual one. I was wondering if there is a way to manage the manual payouts to search for the payments (since the payment has the invoice in the metadata and based on that we update it).

If it's not possible, do you recommend a way to manage manual payouts , or should it be something that should not be considered as a valid flow?

Doc/Guide Links
https://docs.stripe.com/api/balance_transactions/retrieve

What are you working on?
manual and automatic payouts

cursive heronBOT
#

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

Code
```
SubscriptionData = new SessionSubscriptionDataOptions
{
TransferData = new SessionSubscriptionDataTransferDataOptions
{
AmountPercent = 5,
Destination = ""
}
}
```
vs.
```
PaymentIntentData = new SessionPaymentIntentDataOptions
{
TransferData = new SessionPaymentIntentDataTransferDataOptions
{
Amount = 530,
Destination = ""
}
},
```

Question
The way we do destination charges right now:
invoice.created event: calculate our fee amount (ex: 3% + .50) and set the remainder to transfer_data.amount. Not ideal because payment happens asynchronously after customer completes checkout
We want to use checkout sessions instead, but checkout sessions only allows percentage amounts on subscriptions when our fee includes a percentage + set value. Is there a way to do this?

What have you already attempted?
Tried setting `SessionPaymentIntentDataTransferDataOptions` instead of `SessionSubscriptionDataTransferDataOptions` but you can't set PaymentIntentData when the CheckoutSession mode is "subscription" so there isn't really much to try, just curious if there's a workaround I'm not seeing/throwing it out there to request this feature be added to the api. Maybe an additional field for amount_cents so Stripe could say the total transfer amount is amount_percent + amount_cents?

What are you working on?
Switching from custom checkout integration to CheckoutSessions

#

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

Question
I wanted to know how are we validating the stripe custom kyc form details and the id document provided in production for enabling payout. What are the criteria required for enabling payout.

Related Request ID(s)
req_DzBm44Ys1iEVIT-sandbox

What have you already attempted?
So i'm using onboarding url after stripe account creation with custom kyc forms from my app. I'm able to add an id document and my selfie for proof of liveness in stripe sandbox. I find that the names in the kyc form does not match with the id provided. But still the account status is enabled for payout.

cursive heronBOT
#

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

Question
Help with Stripe Connect (Standard Account Creation+ Account Link)

Related Request ID(s)
None

What have you already attempted?
https://docs.stripe.com/connect/standard-accounts
https://docs.stripe.com/api/accounts/create

Example account id: acct_1SIukxJFPwgTjh3k
I'm following this, and I'm prefilling some informations, but I'm not getting the completed form fields that I expected from reading the docs. I'd like to know if I'm misunderstanding the flow.

How does one set the Business representative data in advance? I've set a person using the Person's API (example person id tied to the account id above person_1SIul0JFPwgTjh3kLA8Fpecv) but it does not prefill the Business representative step of the form.

#

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

What did you expect to happen?
today at 18:35 i got a message to my phone with a stripe code, but i did not try to log in or do anything with my account.

What actually happened?
I unexpectedly received an SMS from Stripe containing a verification code even though I wasn't trying to sign in, reset a password, or perform any action. It seems like someone else might have tried to log in using my phone number or account.

Reproduction Steps
I didn’t take any actions before receiving the message. It just appeared on my phone around 18:35. I haven’t tried to log in or access Stripe.

Question
Could you please check if there was any login attempt or suspicious activity linked to my phone number or account?

cursive heronBOT
#

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

Question
com.stripe.exception.SignatureVerificationException: No signatures found matching the expected signature for payload
      at com.stripe.net.Webhook$Signature.verifyHeader(Webhook.java:102) ~[com.stripe-stripe-java-22.0.0.jar:22.0.0]
      at com.stripe.net.Webhook.constructEvent(Webhook.java:50) ~[com.stripe-stripe-java-22.0.0.jar:22.0.0]
      at com.stripe.net.Webhook.constructEvent(Webhook.java:30) ~[com.stripe-stripe-java-22.0.0.jar:22.0.0]
      at com.hsntech.hif.vendor.stripe.HIFStripeWebhookServlet.doGet(HIFStripeWebhookServlet.java:138) ~[classes:?]
      at com.hsntech.hif.vendor.s

Related Event ID(s)
evt_3SItrnBBKIuAStQq0naLwvth

What have you already attempted?
nothing

What are you working on?
I am gettting the error above from my webhook. When I use stripe-cli forwarding, it works

cursive heronBOT
#

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

What did you expect to happen?
For users to be able to check out with a card issues in the Marshall Islands.

What actually happened?
I've noticed that cards issued in the Marshal Islands always get declined by Stripe. My guess is that it is because Stripe lists the Marshall Islands as a state of the USA, rather than a separate country. Meaning that it is impossible to correctly enter one's billing address for cards issued in the Marshall Islands.

Reproduction Steps
Attempt to enter card details on any merchant powered by stripe.
Look for Marshall Islands in the "countries" dropdown, you will find that it is not listed.
Select "United States" instead.
Open the "state" dropdown and you will find Marshall Islands listed.

Question
Could you please allow users to select Marshall Islands as a country, rather than a state so that MI issued cards can correctly enter their billing address and complete checkout via merchants using Stripe?

cursive heronBOT
#

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

Question
We have a test Stripe Connect account we made in testmode and because it's missing information, it has paused transfers and is causign a bunch of issues for testing locally. How can we get a fake stripe connect account back into good standing on test mode? Feels weird that stripe would pause this from working on test?

Related Request ID(s)
acct_1S8llc7Zeq0rczR3

What have you already attempted?
Tried going to admin panel, not in our control

What are you working on?
A ticketing system

cursive heronBOT
#

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

Question
I am using payment mode to accept one time payment for my application and now i want to allow promotion codes too, but when used it can subtotal to $0 and therefore no charge will be fired against the user hence the webhook i was listening to `charge.succeeded` is not usefull anymore. however when i use `checkout.session.completed` i get that amount_subtotal and amount_total can be null. which can lead to very unwanted situations

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/retrieve?api-version=2025-09-30.clover

What are you working on?
LLM Inference Provider

#

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

What did you expect to happen?
When I created an experiment, I found that the payment methods displayed differently between the Messaging Element and the Payment Element. In my case, Klarna appears in the Messaging Element but not in the Payment Element. I hope these two scenarios can be consistent.

What actually happened?
When I created an experiment, I found that the payment methods displayed differently between the Messaging Element and the Payment Element.

Reproduction Steps

  1. Create an experiment, control unenable Klarna, test enable Klarna
  2. Test it in Messaging Element and the Payment Element.

Question
When I created an experiment, I found that the payment methods displayed differently between the Messaging Element and the Payment Element. In my case, Klarna appears in the Messaging Element but not in the Payment Element. I hope these two scenarios can be consistent.

cursive heronBOT
#

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

Code
const elements = stripe.elements(options);

// Create and mount the Payment Element
const paymentElementOptions = { layout: 'tabs'};
const paymentElement = elements.create('payment', paymentElementOptions);

paymentElement.mount('#payment-element');

Question
Using Stripe Elements to display the payment form with the saved cards option which is working well. The client wants to be able to charge Freight at a later time. However...

The system doesn't allow the saved cards to be removed by the logged in customer in the checkout. I see a pencil icon appear in the pickerItem menu, where the customer can update infomation like CCV or expiry, but there is no delete option. Is this possible to add through Stripe elements JS code?

What have you already attempted?
Searching documents for a configuration option to enable remove card option. Checked Stripe samples. Asked Stripe AI which told me I could do it, but I think gave me incorrect code.

What are you working on?
A stripe elements gateway with the ability to remove a saved credit card.

#

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

Question
If I create a setup checkout session for a customer_id, how do I configure so that the payment method they enter becomes their default payment method, without having to handle webhooks?

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

What are you working on?
using setup checkout sessions upon payment failure for auto-recharge

cursive heronBOT
#

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

Question
I need a follow up on this thread: #dev-help message

I am trying to test my new app on public mode, but when I try to make an external test I get this error from the API:

```

message
:
"6:An enabled external testing channel already exists for merchant acct_1SHxH0AG2pP9ZMMq"
message_code
:
"account_error_invalid_format_extra"
type
:
"invalid_request_error"
```

How do I fix this?

Doc/Guide Links
https://docs.stripe.com/stripe-apps

What are you working on?
Publicize a different stripe app and get it listed

cursive heronBOT
#

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

Question
Hi, Just came across this: Stripe may require users to upload a photo of a government-issued photo ID and a selfie for identity verification to the Dashboard.---Do you know when does /under what criteria does Sptripe ask for identity verification.

Doc/Guide Links
https://docs.stripe.com/connect/required-verification-information

What are you working on?
We are creating stripe account for payout in our app, and all created connected accounts get the id verification. Why would that be so?

cursive heronBOT
#

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

What did you expect to happen?
In Payment Element when using `mode="setup"` and and `payment_method_types=["us_bank_account"]` for a connected account that have `"us_bank_account_ach_payments":
"active"` capability, I should be able to select "US bank account".

What actually happened?
"US bank account" is not visible in the Payment Element

Reproduction Steps
Use:
```
<Elements
mode="setup",
payment_method_types=["us_bank_account"]
/>
```
With a connected account that has `us_bank_account_ach_payments` capability

Question
I do not understand why the US bank account option is not displayed in setup mode for this connected account.
Please note that:
- When using `mode="payment"` the option is displayed
- When using another connected account the option is displayed
My guess is that this specific connected account is somehow misconfigured.

What are you working on?
Payment portal

cursive heronBOT
#

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

Code
$token = Token::create([
'customer' => $stripeCustomerId,
'card' => $sourceId, // the legacy source on that customer
], $requestOptions);

Question
Can I use an existing Source ID as the payment_method for a Payment Intent, or is that unsupported?

If not supported, what’s the recommended migration path for customers who only have legacy card Sources saved? Do I have to ask them to re-auth/add a new Payment Method?

Any best practices for mixed accounts (some users have Sources, some have Payment Methods) while I complete the migration?

What have you already attempted?
$token = Token::create([
'customer' => $stripeCustomerId,
'card' => $sourceId, // the legacy source on that customer
], $requestOptions);

cursive heronBOT
#

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

Error Message
404: NOT_FOUND
Code: NOT_FOUND
ID: sfo1::vgvjw-1760695920733-5aa415b91e3c

Question
I need help with a Stripe Checkout redirect issue on Vercel.
Payments work, the webhook is delivered, but after completing (or canceling) checkout, Stripe redirects to my site and I get this error instead of my React page:

404: NOT_FOUND
Code: DEPLOYMENT_NOT_FOUND

⚙️ Setup

Frontend: React + Vite + React Router (hosted on Vercel)
Domain → https://mohhikat-clean.ver

What have you already attempted?
Added rewrite rule to vercel.json:

{ "routes": [{ "src": "/(.*)", "dest": "/index.html" }] }

Confirmed the routes exist in React Router.

Disabled preview deployments.

Checked that only the production domain is active.

Redeployed both frontend (Vercel) and backend (Render).

Tried different success/cancel URLs (main domain, alternate domain).

Same result every

Reproduction Steps
🔁 Reproduction steps

Deploy a Vite + React Router app to Vercel.
Routes include /success and /cancel.

Deploy a simple Express + Stripe backend on Render.

In the backend, create checkout sessions with the URLs above.

Run checkout, complete or cancel the payment.

After redirect, observe the Vercel 404 error.

What are you working on?
I'm building an e-commerce website for a personal project. 💭 Goal I just need Stripe to redirect back to my React app’s r

cursive heronBOT
#

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

Question
I’d like to start using the new sandbox environments, but for my application to work correctly, the sandbox would need to include all the products, prices, and plans from my main test environment while keeping the same IDs.

In my app, the Stripe IDs are mapped to specific internal products, so if those IDs change, the integration will break.
Is there any way to replicate my current test environment into the sandbox while preserving the same IDs?

Related Request ID(s)
-

What have you already attempted?
none

What are you working on?
ERP

cursive heronBOT
#

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

Question
I want to test my payment_intent webhhok and it gets on my nerve to have to create a new order in my Db every time because I get the message that I get
```
stripe._error.InvalidRequestError: Request req_UQMAXSIGPKrEz8: You cannot confirm this PaymentIntent because it has already succeeded after being previously confirmed.
```

Is there a way in Sandbox mode to just delete a already suceeded test payment and work with the payment_intent like it wasn't payed before?

Related Request ID(s)
Transcations

What have you already attempted?
-

cursive heronBOT
#

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

Question
We created a payment_intent with payment_method_type 'customer_balance', but we received an error: "The payment method type 'customer_balance' is invalid. Please ensure the provided type is activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use."
This was on 2025-10-15T12:24 GMT
Why do we get this error and how can we fix it?

Related Request ID(s)
req_uWV8hHhszRUDTv

What have you already attempted?
This is for a connected, in US. I can see in another Discord chat that bank transfers are supported only in EU, UK, Japan, Mexico or Indonesia, but when I check the website https://stripe.com/docs/payments/bank-transfers, it does say it is supported for US accounts using USD.

cursive heronBOT
#

@inner barn 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/express-accounts#return-user

Question
Hi,
The documentation says:
“Stripe issues a redirect to this URL when the connected account completes the Connect Onboarding flow. This doesn’t mean that all information has been collected or that there are no outstanding requirements on the account. This only means the flow was entered and exited properly.”
1) Can you please confirm whether there is any way to distinguish (via the redirect or any API signal) between:
-a user who simply clicked the back arrow or closed the onboarding early, and
-a user who actually went through the full onboarding

What have you already attempted?
2) Is it possible that an account which went through the full onboarding process (and reached the final confirmation screen) could still have details_submitted = false?

3) If so, what is the recommended approach in that case?
Should we continue redirecting the user back through the onboarding flow until details_submitted becomes true, or is there another preferred way to handle this scenario?

Thank you very much for your help in clarifying these points.

What are you working on?
trying to migrate from oauth onboarding to the new method

#

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

Question
Collect Payment Error message is not correct when reconnecting

Related Request ID(s)
https://docs.stripe.com/terminal/example-applications?terminal-sdk-platform=react-native

What have you already attempted?
I am testing the stripe reconnect but getting incorrect error message when i am calling payment method collection.
so i need to confirm whether it is correct or not

cursive heronBOT
#

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

Code
<ExpressCheckoutElement
...
onConfirm={handleConfirmPayment}
/>

const handleConfirmPayment = async (event: StripeExpressCheckoutElementConfirmEvent) => {
// create order
// create payment intent
const { error } = await stripe.confirmPayment({
elements,
clientSecret: paymentIntentClientSecret,
confirmParams: {
return_url: nextPageUrl,
},
redirect: 'if_required',
});

if \(error\) {
	// handle error
}

};

Question
When user selects Amazon Pay as express checkout option, and then selects Affirm as payment method, the onConfirm event does not fire, resulting in no order being created, no payment intent, and a bugged order on Amazon's and Affirm's sides

What have you already attempted?
I read the express checkout docs, and tested other express checkout options, which work fine with this implementation

#

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

Code
// Calculate tax using Stripe Tax Calculations API
$calculation = $stripe->tax->calculations->create([
'currency' => 'usd',
'line_items' => [
[
'amount' => (int) $tax_base_amount,
'reference' => 'order_' . $order->order_id,
],
],
'customer_details' => [
'address' => [
'line1' => $billing_address['thoroughfare'] ?? '',
'city' => $billing_address['locality'] ?? '',
'state'

Question
Hi, we're setting up taxes in our integration, but we have the following question.

  1. Currently, on the taxes/registration page, we've enabled only New York for testing. However, when we place an order for any other state, taxes are still calculated. I think this is due to the following issue.

  2. On the settings/tax page, I see the settings under Preset tax category. Can this be disabled?

The goal is to calculate taxes only for the states enabled in the admin panel.

What have you already attempted?
differente implementations

cursive heronBOT
#

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

Question
I am using the javascript API and cannot run the connectReader function as I am getting an error back.

Related Request ID(s)
None

What have you already attempted?
I have tried multiple times to connect to the reader. It was working before and now it isn't. It's thrown on the

connectReader(connectArgs) call.

The response is coming back:

Could not communicate with the Reader. Please make sure your reader is online and on the same network as your device, and that the host `https://undefined.device.stripe-terminal-local-reader.net` is resolvable by your DNS provider. See https://support.stripe.com/questions/terminal-connectivity-issues for more details.

The undefined should be the IP address, but it is not and I know it's defined.

What are you working on?
Web based POS

cursive heronBOT
#

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

Question
How do we handle out-of-order messages from Stripe. For example customer updated and customer subscription updated and invoice updated events firing at the same time

Related Request ID(s)
evt_1SJ84uB6RcW2vRiFgA8IIAfy

What have you already attempted?
Having difficulty trying to fix this.

What are you working on?
Subscriptions

cursive heronBOT
#

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

Question
Can't add credit note to open subscription invoice due to payment intent in requires_action state for over a month due to 3ds verification. I do not want to void the subscription invoice, the customer wants us to add a credit note before they reattempt payment. Is there any way to do this without voiding invoice?

Related Request ID(s)
evt_3S7nJLCFE1KEriEV1WdjAhG5, https://dashboard.stripe.com/acct_1CiLhxCFE1KEriEV/invoices/in_1S7mMRCFE1KEriEVBy7v9aLe

What have you already attempted?
attempted to cancel payment intent via api, but received message: 'You cannot cancel PaymentIntents created by invoices. Try voiding the invoice instead. See https://stripe.com/docs/api/invoices/void for more details.'.

#

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

Question
Hello, i'm trying to modify my subscription via API, specifically the metadata. I'm doing it how the documentations says but nothing changes.

Related Request ID(s)
req_kWZkPEbKEjfK1R

What have you already attempted?
stripe.Subscription.modify('sub...', metadata=new_metadata)

What are you working on?
modify metadata subscription

cursive heronBOT
#

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

Code
function initializeStripeReportComponent(clientSecret, reportType, shouldForceRefresh) {
window.StripeConnect = window.StripeConnect || {};
StripeConnect.onLoad = () => {
const stripeConnectInstance = StripeConnect.init({
publishableKey: $('#StripeApiKeyPublic').val(),
clientSecret: clientSecret,
appearance: {
variables: {
colorPrimary: '#2e7176',
colorBackground: '#fff

Question
We are using the embedded components on our Stripe accounts here https://docs.stripe.com/connect/supported-embedded-components/payments

The problem that I'm trying to work through is if a user opens the payment and attempts a refund, we have no way of passing in the logged in user on my site so that when the webhook comes back we know who performed the operation

What are some options here? Are we able to add any metadata to the component so it is returned on the webhook?

What have you already attempted?
I've spoken with support and they suggest that we track who was online at the time and associate that with the refund timing, but this doesn't feel solid enough.

#

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

Question
RE: countered dispute fee. Our system is looking at dispute objects to determine if this fee will be assessed. However this fee is not assessed for disputes handled with SmartDisputes. Is it possible via the API to see if the dispute was handled via SmartDisputes?

(I do not believe that this new fee is reflected anywhere on the dispute object itself; please let me know if I am wrong about that...)

Related Request ID(s)
none

What have you already attempted?
reviewed documentation. I only see mention that in 2025-07-30 release Changelog smart_disputes was added to disputes to show if they are *eligible* for smart disputes. However i can find no mention of this in the actual API documentation, nor would it tell me if the dispute actually was handled with smart disputes.

What are you working on?
Application facilitating contributions to political campaigns for local elections.

#

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

Question
Is it possible to block a connected account to perform manual payouts from the stripe dashboard?

Asking this, since there are users accesing their connected accounts and performing manual payouts. Our system does not support this since manual payouts do not have acces to the transactions history.

Doc/Guide Links
https://docs.stripe.com/connect/manual-payouts

What are you working on?
There are cases in which people on PROD are triggering manual payouts from the dashboard and that generates inconsistent data in our DB

cursive heronBOT
#

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

Code
\Stripe\Stripe::setApiVersion('2025-06-30.preview');

					$stripe = new \Stripe\StripeClient\($stripe\_secret\_key\);

					$customer = \Stripe\Customer\:\:create\(
						\[
							'name' =\> $st\_first\_name . ' ' . $st\_last\_name,
							'email' =\> $email,
							'address' =\> \[
								'postal\_code' =\> "84013",
								'country' =\> 'SE',
							\],
						\]
					\);



					$calculation = $stripe\-\>tax\-\>calculations\-\>create\(\[
						'currency' =\> $currency,
						'line\_items'

Question
Message: The resource ID cannot be null or whitespace.

receiving this error

What have you already attempted?
\Stripe\Stripe::setApiVersion('2025-06-30.preview');

					$stripe = new \Stripe\StripeClient\($stripe\_secret\_key\);

					$customer = \Stripe\Customer\:\:create\(
						\[
							'name' =\> $st\_first\_name . ' ' . $st\_last\_name,
							'email' =\> $email,
							'address' =\> \[
								'postal\_code' =\> "84013",
								'country' =\> 'SE',
							\],
						\]
					\);



					$calculation = $stripe\-\>tax\-\>calculations\-\>create\(\[
						'currency' =\> $currency,
						'line\_items'
cursive heronBOT
#

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

Question
Stripe documentation for App on Device seems to indicate that there is a way to provide an email address where Stripe can send updates for the app review. We currently use the API for creating a dev_asset to do this, but we don't see a field in this field for providing such an email

Related Request ID(s)
N/A

What have you already attempted?
The documentation is listed on
https://docs.stripe.com/terminal/features/apps-on-devices/submit?dashboard-or-api=dashboard

What are you working on?
App on Device review process

cursive heronBOT
#

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

Question
When using stripe elements for saving credit card, is it possible that stripe will ever change the saved card upon submission? Say someone registers card …1234 but stripe auto saves …3456 because it detected this is the updated card?

Related Request ID(s)
None

What have you already attempted?
Tried stripe support and read doc

What are you working on?
Credit card saving page

#

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

Code
echo "I have not put in any code yet"

Question
Hey All, I am brand new to stripe and am having toruble understanding the documentation to integrate
"subscriptions with fixed price"
On top of my website. I was someone would be able to help give me a jump start and some guidance! I appreciate any and all help[

What have you already attempted?
Not much, I am just getting spun up on this project :D

#

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

Question
We’re migrating from the Payment Request Button to Express Checkout.
With the Payment Request Button, we could recalculate taxes and shipping when the user changed their address and update the total using event.updateWith().

In Express Checkout, I can detect address changes using expressCheckoutElement.on('shippingaddresschange', handler) and recalc taxes, but I can’t find any way to update the total dynamically.
I tried updating the PaymentIntent amount server-side with the new total, but it causes the element to refresh instead of just updating the total.

Is there a way to handle in EC?

Related Request ID(s)
None

What have you already attempted?
Successfully implemented dynamic tax and shipping recalculation using event.updateWith() in Stripe Payment Request Button flow.

For Express Checkout:

Used expressCheckoutElement.on('shippingaddresschange', handler) to detect address changes.

Recalculated shipping and taxes based on the new address.

Attempted to update the PaymentIntent amount server-side via API, but this refreshes the entire Express Checkout element rather than updating the total in place.

Checked the documentation and couldn’t find a way to update the total amount dynamically like in the Payment Request Button flow.

cursive heronBOT
#

@wraith summit 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#enable-saving-the-payment-method-in-the-payment-element

Question
Hi! In the following doc, it states

You can specify setup_future_usage on a PaymentIntent or Checkout Session to override the default behavior for saving payment methods. This ensures...

I am enabling setup_future_usage on my options object that I pass to the payment element. This gives me the following text

By providing your card information, you allow {company} to charge your card...

Is there a way to include setup_future_usage on the FE, to retain the text, while also retaining the PaymentMethodSave behavior from the customer session setup?

What have you already attempted?
Conditionally setting the SetupFutureUsage property on the create payment intent object on the back end if the checkbox from the PaymentMethodSave configuration is enabled

What are you working on?
Payment Intents upgrade

#

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

Question
What's the best way to keep track of a customer's onboarding status using the Stripe API and webhooks? For example, if I want to know whether they've completed account setup or still need to provide more info, should I rely on specific webhook events, poll the account status, or a mix of both? If polling is recommended, which object or field should I check for their current status? And if using webhooks, is customer.updated the right one to key off of, or is there a better event for onboarding state changes?

Related Event ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Connected Account Donation Processing Platform

#

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

Question
I read about the API keys and I don't understand how to navigate my secret and publishable keys with regard to who/when and how I share them. I have a web developer (hired via upwork, I don't really know him well) who is helping me launch my 1st website. He's asking me to send my secret key and my publishable key. Does he need both of those to get my payments configured on my site? Or is there another (relatively easy) alternative that protects my secret key? I'm assuming that sharing the secret key is a big security risk? Looking for clarity on recommended practices. Also, is there anything he won't be able to do that I might want him to do using a sandbox key?

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

What are you working on?
A website launch for my business

#

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

Question
I’m testing our webhook handling for subscription payment failures and need to confirm how to trigger the invoice.payment_failed event in test mode.

Our backend correctly receives invoice.payment_succeeded for new subscriptions, upgrades, and renewals. However, we need to verify invoice.payment_failed in two scenarios:

During subscription upgrade/downgrade — when we update the subscription and pay the generated invoice manually via stripe.invoices.pay().
→ What’s the correct way to simulate a failed payment here?

During renewal — when Stripe automatically bills the customer at the next cycl

Related Request ID(s)
I’m testing our webhook handling for subscription payment failures and need to confirm how to trigger the invoice.payment_failed event in test mode. Our backend correctly receives invoice.payment_suc

What have you already attempted?
I’m testing our webhook handling for subscription payment failures and need to confirm how to trigger the invoice.payment_failed event in test mode.

Our backend correctly receives invoice.payment_succeeded for new subscriptions, upgrades, and renewals. However, we need to verify invoice.payment_failed in two scenarios:

During subscription upgrade/downgrade — when we update the subscription and pay the generated invoice manually via stripe.invoices.pay().
→ What’s the correct way to simulate a failed payment here?

During renewal — when Stripe automatically bills the customer at the next cycl

cursive heronBOT
#

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

Question
Do we really need to migrate to payments line items by Oct 17th 2025

Related Request ID(s)
Payment Intents

What have you already attempted?
We are already using payment intents

What are you working on?
just checking

#

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

Question
Valid company Structures for Non Profit organizations in Canada

Related Request ID(s)
req_f3LJMClf5Bgkhq

What have you already attempted?
Stripe API docs indicate that only valid company structures for `non_profit` organizations are: `registered_charity` and `nil` (https://docs.stripe.com/connect/identity-verification?country=CA#business-structure)

However, when sending `nil` as company structure for a Canadian account, the following `StripeInvalidRequestError` is received:

"Invalid company[structure]: must be one of government_instrumentality, governmental_unit, incorporated_non_profit, registered_charity, incorporated_partnership, limited_liability_partnership, multi_member_llc, private_company, private_corporation, private_

What are you working on?
Stripe account creation/onboarding

cursive heronBOT
#

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

What did you expect to happen?
I expected to activate Pix as a payment method in my Stripe Connect Custom integration, so my connected accounts in Brazil can accept Pix alongside card payments.

What actually happened?
Pix does not appear as an available payment method for my connected accounts. Even after enabling local methods in the dashboard, only card and boleto are available. There is no op

Reproduction Steps
Created a Custom Connect account for Brazil (country = BR).

Requested card_payments and transfers capabilities.

Enabled local methods in the dashboard (Boleto works).

Tried to enable Pix, but Pix does not appear anywhere in the API or dashboard.

Attempted test mode + live mode, same result.

Question
How can I enable Pix for my Stripe Connect Custom platform in Brazil? Is Pix supported for Connect accounts, or only for direct (non-Connect) accounts? If it’s supported, can you please enable it for my platform or let me know the correct capabilities/parameters to request?

What are you working on?
I am building a marketplace/payment platform for digital products in Brazil using Stripe Connect Custom. I need Pix as a pa

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 around 10 AM UTC on Monday, 2025-10-20. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
We are implementing payment element (migrating from card element). Do we need to upgrade the stripe API? Our current API version is 2025-01-27.acacia

Related Request ID(s)
NA

What have you already attempted?
nothing

What are you working on?
a marketplace

cursive heronBOT
#

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

Question
When creating a subscription for a customer, does the customer need to have one of their payment methods set as the default? Or can we attach an existing payment method during the creation process?

Related Request ID(s)
req_mLeHrLvdGhZq6N

What have you already attempted?
We’re creating future subscriptions using `subscriptionSchedules`.

What are you working on?
Fundraising software

cursive heronBOT
#

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

Question
Our client currently makes sales over the phone using the stripe portal manually entering values and card details etc. With this, even though the payment amounts are large (~£2000.00) they don't seem to get hit by OTP blocking the transaction, and because a lot of their client base are elderly, that is perfect as otherwise people think they are getting scammed over the phone.

Is there any way to ensure that CnP Payments do not send OTP 100% of the time, and how is that possible using the stripe portal to create payments manually compared to doing this via a paymentIntent MOTO session?

Related Request ID(s)
N/A

What have you already attempted?
We have tried both checkout and paymentIntent approaches, including offSession=true and MOTO enabled, and OTP still seem to be triggered

What are you working on?
Setting up CNP offline payments through a client's CRM system.

cursive heronBOT
#

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

What did you expect to happen?
I received a verification code for a stripe account to my mobile, but I don't have stripe. Please check my number 0418519335 - I'm concerned it's being used to make fraudulent accounts.

What actually happened?
What he said ^

Reproduction Steps
Well, I received a text saying "your stripe verification code is...." then I said "I don't have stripe" then I got about 3 more and thought "oh shit I probably need to deal with this", and that's pretty much everything to now

Question
Well I'm a caucasion male, 5'10", brown hair, green eyes, and I guess my question is, why me? Haven't I suffered enough?

What are you working on?
Rapport, or something

#

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

Question
I am using Account v2, and when I try to create a Accounts Link in a sandbox with use_case.return_url, it is requiring `https`.

Related Request ID(s)
req_v2AxBPVIRgZWp2W94

What have you already attempted?
It works with https, but then I have to setup something like ngrok. And most of the other return_urls allow for http in sandbox/test mode.

What are you working on?
Online marketplace

cursive heronBOT
#

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

Question
I want to register connected accounts for tax. I'm trying to use the stripe.tax.registrations.create (in test mode), but the create method is not accessible to me

Related Request ID(s)
They are not appearing in the logs

What have you already attempted?
I've tried to configure the global account for taxes

What are you working on?
I'm building a marketplace. Sellers in Stripe connect should be able to register for tax so that I can show to customers in Stripe check out the VAT calculated by Stripe

#

@uncut 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/events/types#event_types-payment_method.automatically_updated

Question
How does Stripe know that a user whose card has expired has a new card with a valid expiration date?

What have you already attempted?
Read
https://stripe.com/resources/more/what-is-a-card-account-updater-what-businesses-need-to-know

cursive heronBOT
#

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

Question
Creating webhooks on live accounts on old api versions using the Stripe CLI

Related Request ID(s)
N/A

What have you already attempted?
I'm trying to create webhooks on a new stripe account, id acct_1SIoX4H17a2NVzl0 on an older api version than what is on offer but I cannot seem to use the Stripe cli outside of test or a sandbox environment

What are you working on?
Configuring a new Stripe account

cursive heronBOT
#

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

Code
Displayed PaymentElement component with allow dynamic methods.

Question
I get "Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again." error, even though apple pay was shown as a payment method. This is in development environment, I dont know if that might be the issue.

What have you already attempted?
I have enabled dev domain for this testing and the method is successfully shown. For whatever reason sometimes I get an error like it isn't.

What are you working on?
Adding Payment Element from react, replacing individual Elements components.

cursive heronBOT
#

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

Error Message
As cobranças e os repasses estão suspensos

Question
Fale com o suporte para obter mais informações.

What have you already attempted?
As cobranças e os repasses estão suspensos
Fale com o suporte para obter mais informações.

Reproduction Steps
As cobranças e os repasses estão suspensos
Fale com o suporte para obter mais informações.

What are you working on?
As cobranças e os repasses estão suspensos Fale com o suporte para obter mais informações.

cursive heronBOT
#

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

Question
I'm working on connect, but im pretty lost (i am in france and i cant create a connected account) i have a message error.

Related Request ID(s)
?

What have you already attempted?
I set up connect on my account but i dont see the next step to create connected account ect (i saw that i coud choose connected account on payment links i juste need to connect the stripe accounts now to be set up)

What are you working on?
Id like to connect 2 3 account to pay coommission with stripe connect, i dont need a complex its for coaches that wiull work for me.

cursive heronBOT
cursive heronBOT
#

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

Question
Sometimes, when retrieving a stripe account via the ruby sdk, we are lacking the "active_payment_methods" field, while other times it is present. What determines whether or not this field is present? API version does not seem to matter.

Related Request ID(s)
acct_1NLOe6F5iSyRKs94

What have you already attempted?
Changing API version

What are you working on?
checkout

cursive heronBOT
#

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

Question
Is it possible to create a Tax ID element outside of a checkout session using Stripe.js?

Related Request ID(s)
None

What have you already attempted?
Reading through the Stripe.js API reference, I only see this reference here: https://docs.stripe.com/js/custom_checkout/create_tax_id_element

What are you working on?
Custom checkout workflows for Saas subscription product

#

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

Question
We are having a problem that with the stripe-terminal-react-native SDK. Our problem relates to connecting to the M2 reader. When connecting it will initially connect then it will start an update, however when the update starts it will throw the following error: LOG [StripeReader] Connect result: {"errorCode": "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", "errorDetails": {"code": "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", "message": "Unexpected failure"}, "errorMessage": "Unexpected failure", "hasError": true}

Related Request ID(s)
No Logs

What have you already attempted?
We have tried uninstalling and reinstalling the SDK. We have tried to remove the updating section, but it defaults to keep updating. We have tried to

What are you working on?
Android Application to Conduct Payments

cursive heronBOT
#

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

Question
Can I consolidate invoices into one? Lets say I have multiple draft invoices for a customer. Is it possible for all of it to be consolidated via stripe?

Related Request ID(s)
req_YABudrDPLIt2Y3

What have you already attempted?
I have been trying
stripe invoices create --from-invoice.action revision --from-invoice.invoice in_1SKM4ZHIgYnqm5gCdlhVJ9hP --from-invoice.invoice in_1SKM53HIgYnqm5gC7eF8Kl9q
Or commands similar

What are you working on?
I am building a business management system for a customer service business. There is one type of VIP customers where they get serviced like normal except they come back and say hey I want to pay up

cursive heronBOT
#

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

Question
How do I provide functionalities through the API for gift cards or other kinds of "store credit"?

Doc/Guide Links
https://docs.stripe.com/invoicing/customer/balance

https://docs.stripe.com/payments/vouchers

What are you working on?
I'm looking for the most logical way to create "store credits". As in, I want my users to be able to get a credit by buying a gift card, for example, and then use that credit toward a future purchase.

cursive heronBOT
#

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

Question
Are there plans to allow using a customer's balance (from Customer Balance Transactions) on Checkout Sessions?

Related Request ID(s)
N/A

What have you already attempted?
I see Checkout Sessions offers Advanced Credits which might work if we can also use Advanced Credits when manually creating Invoices.

What are you working on?
Improving our checkout experience. We offer $50 in credit for every referral, but customers aren't able to use it w/ checkout sessions. It only applies when we create Invoices.

cursive heronBOT
#

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

Question
Check the account connection i just did

Related Request ID(s)
?

What have you already attempted?
I connected my account i would like to know if it is the way i did or non

What are you working on?
stripe connect

cursive heronBOT
#

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

What did you expect to happen?
When a user enteres into the Cypto payment option via a payment intent api, that they can cancel

What actually happened?
There is no ability to cancel and return to the previous URL, causing users that discover they don't have the correct wallet or correct stablecoin to have to start over in the merchant's website.

Reproduction Steps
enable crytpo payment method
initiate a payment
look for a way to cancel and return to the payment element screen.

Question
Can someone add either an X in the top right, or a cancel button on the page to effectively return. Yes there are workarounds, but it's not best practice to educate the user on how to do a workaround when the "back button" or "cancel" is standard for several decades now.

What are you working on?
Sorry, NDA

cursive heronBOT
cursive heronBOT
#

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

Question
I have a single Stripe test account that I use across several staging environments (e.g., staging, barney, integration, eph-qa). Each environment needs its own webhook endpoint, so I’ve been creating multiple endpoints programmatically with Stripe::WebhookEndpoint.create. However, I noticed that all endpoints receive every event e.g., staging webhooks are also delivered to eph-qa.

Please help me confirm: to isolate webhook deliveries so each environment only receives its own events, should I create separate Stripe sandboxes under my main account (one per environment) and use each sandbox’s API keys + webhook signing secret? Or is there another recommended way to achieve that

Doc/Guide Links
https://docs.stripe.com/connect/webhooks

What are you working on?
Stopping the flood of webhooks in the wrong environments

#

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

Question
We are building custom sign up for users with an email address only, and then allowing the addition of a payment method later through a checkout session with mode: setup. We have customers all over the world, and it's asking me for a currency when I create the checkout session. The TypeScript hinting says:

```
Three-letter ISO currency code, in lowercase. Must be a supported currency. Required in setup mode when payment_method_types is not set.
```

How do I select the right payment methods for different parts of the world?

Related Request ID(s)
n/a

What have you already attempted?
https://discord.com/channels/841573134531821608/1429862332103659621 - earlier conversation on this subject

What are you working on?
SaaS with custom sign up form

#

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

Question
Hi guys, we're using Stripe Checkout Session to create Subscriptions for our customers.

We noticed that the Apple Pay management url (the URL that customers can visit in their device's Apple Pay settings) goes simply to our custom domain which redirects to `hosted-checkout.stripecdn.com`

As far as I understand I need to set the `managementURL`. I would also like to update all existing customer's managementURL to thing that actually works.

Afaik, this managementURL is baked into an MPAN token stored by Apple. If I were to update it, I requires help from Stripe support.

Related Request ID(s)
Account ID: acct_1OKsGtJnrTlLWSIi

What have you already attempted?
I've looked at all places where I could possibly set this URL and read up on MPAN documentation. There is no documentation on how to update MPAN tokens for my customers.

What are you working on?
I want to set up billing management that is accessible from iOS Apple Pay settings.

cursive heronBOT
#

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

Code
```
subParams := &stripe.SubscriptionParams{
Currency: stripe.String("pln"),
Customer: stripe.String(customer.ID),
Items: []*stripe.SubscriptionItemsParams{
{
Price: stripe.String(targetPriceID),
Quantity: stripe.Int64(1),
},
},
ApplicationFeePercent: stripe.Float64(m.config.PlatformFeePercentage),
PaymentBehavior: stripe.String("default_incomplete"),
}
```

Question
I have stripe connect (standard) saas and for recurring subscriptions it works perfectly fine, but my merchant (connected account) created his own product to put it on the website and generated a payment link.

so it was created from the stripe dashboard and we also need to take fee from his one-off payments. Is there any way to collect fee from the merchant globally?
can I do something in that case? I have some ideas like: updating payment link with fee via API.

What have you already attempted?
I also created for him custom pricing in the dashboard but it still does not catch payments from his payment link.

cursive heronBOT
#

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

What did you expect to happen?
Using `@stripe/stripe-js` 7.4.0 I _think_ when this code ran we got an error, but also the payment_intent was confirmed.
```ts
const res = await stripe.confirmPayment( {
clientSecret: clientSecret,
elements,
[...]
redirect: 'if_required',
} );
```

What actually happened?
Looks like we got "Blocked by zip code check" but also confirmed the payment_intent `pi_3SIuu8FXc3zoUgUu1OYDcHXQ`?

Reproduction Steps
Unclear...I tried using the test "Blocked by zip code check" cards and got blocked but did not get confirmed.

Question
Are there some set of errors that `stripe.confirmPayment` can return that do not prevent the payment_intent from being confirmed that we should expect?

What are you working on?
Event planning SAAS

cursive heronBOT
#

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

Code
var options = new SetupIntentCreateOptions
{
Confirm = false,

  PaymentMethodTypes = new List<string\> { "bacs\_debit" },
  Usage = "off\_session",

};

var service = new SetupIntentService();
var intent = service.Create(options);

Question
We have enabled BACS direct debit in our UK sandbox account and could setup payment method using checkout sessions and stripe hosted mandate form. However when we try to do the BACS setup in our webform using stripe elements, we had to do the setupintent first with confirm = false. But we are getting a stripe exception saying 'Your account isn't configured to directly use SetupIntents to create Mandates for Bacs Direct Debits. ' I coudl confirm BACS is enabled.

What have you already attempted?
tried creating setup intent with bacs payment method

#

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

Question
I'm using the Stripe JS API actions.updateBillingAddress(). The documentation at https://docs.stripe.com/js/custom_checkout/update_billing_address says that the `address` field of the `billingAddress` parameter should be optional, but when I try to call

```
await checkoutActions.updateBillingAddress({
name: name,
});
```

then I get the error:

```
Uncaught (in promise) IntegrationError: Invalid value for updateBillingAddress: address should be an object. You specified: null.
```

Related Request ID(s)
req_XiQQFevu8uIF90

What have you already attempted?
Tried passing `null` for `address`, tried passing empty object `{}` for `address`

What are you working on?
Embedding Stripe Elements in plant.terraformation.com checkout flow using Checkout Sessions for subscription

#

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

Question
We adopted the new payment line items for L2/3 data. Now we are getting an error on some transactions saying "Invalid alphanumeric string: Sq Yds". However, I read the documentation and it doesn't appear to give direct guidance on an exact list of values for unit of measure. Is there a defined list or is there something in particular wrong with that string?

Related Request ID(s)
req_ek0fiGrmV177ip

What have you already attempted?
Read the docs

cursive heronBOT
#

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

Question
Is there a way to get a Radar response on createPaymentMethod?

Related Request ID(s)
None

What have you already attempted?
I'm trying to get a Radar response when adding a credit card to a Customer rather than on PaymentIntent.

cursive heronBOT
#

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

Question
We are using an Expo build, typescript, and an Android 12 device. Currently the problem that we are having is that whenever we need the react native SDK to connect to the M2 reader, it causes a problem. It is able to discover the reader. However, whenever it tries to connect, it throws an unexpected SDK error as shown below:

connectReader error {"code": "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", "message": "Unexpected failure"}

Related Request ID(s)
Nothing

What have you already attempted?
We have reprogrammed it and removed everything besides the bare bone requirements. We tried requesting support this morning, which one of the representatives helped us out and told us that it could be a handful of problems. We tried them. However, the SDK is still not working.

What are you working on?
App to Conduct Payments

cursive heronBOT
#

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

Code
const stripe = Stripe("[% (payment.config.testmode == 'Y') ? payment_data.test_publishable : payment_data.live_publishable %]");

  const options = {
    \[% IF payment\_data.customer\_client\_secret %\]
    customerSessionClientSecret\: "\[% payment\_data.customer\_client\_secret %\]",
    \[% END %\]
    clientSecret\: '\[% payment\_data.client\_secret %\]'
  };

  // Set up Stripe.js and Elements to use in checkout form, passing the client secret obtained in a pr

Question
A client we are building a PaymentIntents integration for is both a Wholesaler and Retailer and has the "Saved Cards" (tokens) working well for wholesalers so he can quote and charge freight at a later time after the initial order. On the retail side, we don't need to offer "Saved Cards", but we do want to offer other payment methods such as "Apple Pay" and "Google Pay". But we don't want to offer these to Wholesale accounts. We use Stripe Elements front end.

What have you already attempted?
Looking for documentation on Stripe Elements to change payment method types.

What are you working on?
A special Stripe integration to allow different Wholesale and Retail user accounts to have different payment methods.

cursive heronBOT
#

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

Question
I am a Stripe platform account and I am looking to create a webhook handler for whenever my platform account gets charged the fee for my connected accounts' payouts (.25% of payout volume + 25 cents). However, I can't I find any events related to this fee that I am being charged.

Related Event ID(s)
Can't find the associated event.

What have you already attempted?
I am reading the payout docs and can't find any objects associated with the fee being charged to my platform account.

What are you working on?
I

cursive heronBOT
#

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

Question

  1. Can money be transferred from a Stripe Connect Standard account to the platform account?

  2. A user has their own Stripe account (Stripe Connect Standard).
    I want to transfer money from the platform account to the user’s Stripe Connect Standard account — how can I do that?

  3. Suppose I want to transfer 1,000,000 (currency units) from the platform account to the user’s Stripe Connect Standard account —
    which API should I call?
    Will there be any fees?

Related Request ID(s)
https://docs.stripe.com/connect/account-balances

What have you already attempted?
https://docs.stripe.com/connect/account-balances

cursive heronBOT
#

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

Code
$customerSessionParams = [
'customer' => $customer->getCustomerId(),
'components' => [
'payment_element' => [
'enabled' => true,
'features' => array_merge(
array_fill_keys(
['payment_method_redisplay', 'payment_method_remove', 'payment_method_save'],
$showSavedPaymentMethods ? 'enabled' : 'disabled'
),
$showSavedPaymentMethods ? ['payment_method_save

Question
I’m having an issue where not all saved cards are displayed. As far as I can see, by default up to 5 saved cards should be shown, but no more than 2 are ever displayed.

What have you already attempted?
I’ve tested it several times.

What are you working on?
I’m integrating Stripe Elements into my checkout flow.

cursive heronBOT
#

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

Question
Im trying to look for a event that returns the product id purchased, the quantity of that product and the email but i can't seem to find a event that returns any of it

Related Request ID(s)
N/A

What have you already attempted?
Looked through the documentation and event given from my webhook

What are you working on?
A backend license key system

#

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

Question
Hey, I'm looking for a recommendation, maybe a best practice advice.

Because of the way Stripe calculates platform fees, we have to make transfers manually. (Stripe's calculation includes tax, which we need to withhold, it gets tricky and complicated)

So - we listen to invoice.paid event and based on that, we calculate our actual fee and save it on our side for processing.

Then, once a day, we go through all these saved transfers and pay them out.

Here is the main point of my question - we would like to, obviously, pay all the transfers as quickly as possible.

Would doing 20 transfers per second trigger anything? Can we go maybe higher, or dont risk it?

Doc/Guide Links
https://docs.stripe.com/rate-limits

What are you working on?
Platform for creators

cursive heronBOT
#

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

Code
<Payments.Form
onChange={handlePaymentElementChange}
options={{ fields: { billingDetails: { name: 'auto' } } }}
/>

Question
Is there any way to display Cardholder name always instead of relying on dynamic rendering. In our old component we had it displayed always, and as I understand it is important for us for easier disputes and chargebacks or something.

What have you already attempted?
I've attempted with billingDetails configuring but with no luck.

What are you working on?
Stripe PaymentElements

#

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

Question
Right now, I have two types of subscriptions — monthly and yearly — and each of them has three plans: Bronze, Silver, and Gold. For every plan, I give users a certain number of credits based on their subscription.

For example, if a user purchases the Bronze monthly plan, they get 10 credits. If the user uses all 10 credits on the first day and then upgrades their subscription, Stripe only charges them the prorated amount (it deducts for one day and charges the rest), even though the user already used all their credits.

I want Stripe to charge users based on the credits they’ve used, not just

Related Request ID(s)
123

What have you already attempted?
nothing

cursive heronBOT
cursive heronBOT
#

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

Question
i was trying to use line items for payment intents as desceribed in this documentation https://docs.stripe.com/payments/payment-line-items#set-line-items-during-confirmation
the request is successfull but i didn't get these line items back in the response when i try to retrieve the payment intent

Related Request ID(s)
req_s7f2ICBmstowjS

What have you already attempted?
NAN

cursive heronBOT
#

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

Question
Hello, I am trying to activate Stripe Connect to my platform account, but I am stuck on the onboarding process. I contacted the support from the official website and they assured me that everything is fine, the account is fully set up and verified, so it has to be configured from the dashboard. So far so good, but when I go to "Connect" section in my account and click on 'Continue setup' button the setup guide tab gets opened and "Verify your identity" step gets bordered in red. How can I activate Stripe Connect in this situation? Thanks in advance

Related Request ID(s)
req_fdWLjr6TzQDm9M

What have you already attempted?
I followed the link https://docs.stripe.com/connect from the response, which basically says that my platform account should be onboarded, so I can use Stripe Connect. The platform states that I am not verified, but the support team says the account is fully verified.

cursive heronBOT
#

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

Question
Hi, I’m integrating Stripe Embedded Checkout and would like to allow users to set custom prices.
It seems that CheckoutSessionParams only supports specifying a product ID or predefined price, but not a dynamic or custom amount. Could you please advise how to achieve this?

Related Request ID(s)
none

What have you already attempted?
I’ve gone through the file。

cursive heronBOT
#

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

Question
Is there a possibility to create legacy metered products?

We have a few environments where we are using these legacy products and wanted to migrate to the sandbox environments. However, we are unable to create these products. We understand versioning and breaking changes, however not being able to create them in a sandbox environment while you have them in the non test mode will require our migration to take more, unavailable, time so we would like to know if a workaround exists.

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

What are you working on?
Subscriptions with these

cursive heronBOT
#

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

Question
I am not seeing the webhook event I've registered.

Related Event ID(s)
n/a

What have you already attempted?
Ensuring the webhook event is listed in my Dev dashboard.

What are you working on?
Custom integration with a payout and I need to receive when a summary report is completed.

#

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

Code
case PaymentOptionConstants.ApplePay:
case PaymentOptionConstants.GooglePay:
createSetupIntent.PaymentMethodTypes = new List<string> { "card" };
createSetupIntent.Usage = "off_session";
break;

Question
Hi, im integrating free trial subscriptions with apple pay, but when the trial ends, the invoice fails. When it tried to charge the costumer it didn't what could be the issue?

What have you already attempted?
I already added usage = off_session on setup intent, i create the subscription afterwards using that setup intent and after the i call confirmSetup() on client side

cursive heronBOT
#

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

Question
What are the methods of upgrading and downgrading subscriptions

Related Request ID(s)
0

What have you already attempted?
I tried customer portal for this but now want to build custom upgrade flow with stripe checkout

What are you working on?
Subscriptions

cursive heronBOT
#

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

Question
Hi Stripe Support Team,
I’ve successfully created an individual account using Custom Connect — it’s working great!
Now I’m setting up a business account and see that required fields differ by company structure:
Public Corporation: Company + Representative
Private Corporation: Company, Representative, Owners, Directors, Executives
Partnerships: Company, Representative, Owners, Executives
A couple of quick questions:
How are roles like Owners, Directors, and Executives verified?
What should we do for cases (like a Private Corporation) where those roles don’t actually exist?
Thanks !

Related Request ID(s)
req_nXOdAwg1ZX8DFo

What have you already attempted?
I’ve successfully created an individual Custom Connect account and reviewed Stripe’s documentation on business account creation. I understand that required fields vary by company structure, but I’m unclear about how verification works for roles like Owners, Directors, and Executives. I also checked how to handle missing roles in structures like Private Corporations but couldn’t find a clear answer

What are you working on?
I’m building a platform that uses Stripe Custom Connect to onboard both individual and business accounts, and I’m currently implementing the business account creation flow.

cursive heronBOT
#

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

Question
I'm trying to access the insights data in a verification session report, but it appears that this feature may be a gated feature. We already have a custom contract for the Identity service, so this may just have forgotten to be turned on.

Related Request ID(s)
req_h88arkWeRCR0II

What have you already attempted?
We've tried multiple parameters to expand, and we can confirm that we can see the insights payload in the console JSON that is returned in the Stripe Dashboard, but it isn't returning via the API. No error is generated.

What are you working on?
An identity verification service for 2,100+ colleges using our Slate platform

cursive heronBOT
#

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

Question
Is the a way to recolor the right side of the checkout session? I'm looking to make it dark in order to not surprise my users with a bright screen in an otherwise dark app. I've looked at the API and haven't seen it, but I'm also occasionally blind, so I'm asking to be sure.

Related Request ID(s)
-

What have you already attempted?
I've tried setting all other values up to be ready for dark mode, but the card on the side remains white.
What I haven't attempted, but considered is to payment elements, but that'd mean implementation time and having to request access to localized pricing in elements.

What are you working on?
I'm building a platform for event organizers. Stripe will be handling selling their tickets via Connect.

cursive heronBOT
#

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

What did you expect to happen?
Receive a client payment into our USD account without a higher than expected Stripe fee.

What actually happened?
Payouts (2025-10-07): Alternative Currency Payout Fee
US$691.63 stripe fee was charged on US$6,398.00 of sales.

Reproduction Steps
Payouts (2025-10-07): Alternative Currency Payout Fee
US$691.63 stripe fee was charged on US$6,398.00 of sales.

Question
How can this be resolved? We have a USD account. Why is there a large Stripe fee on this transaction.

#

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

Code
I have created meters in a sandbox and submitted a handful of meter events and I'm trying to find code to get ALL meter events for a meter + customer but all I see is event summaries by day/hour, how do I get all of them?

Question
I have created meters in a sandbox and submitted a handful of meter events and I'm trying to find code to get ALL meter events for a meter + customer but all I see is event summaries by day/hour, how do I get all of them?

What have you already attempted?
Looked at docs in detail, not obvious to me how to get all meter events.....

#

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

Question
which api's can i use to fetch data related to connected account payments? I can see the payments data at dashboard > connected accounts > name > payments

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Code
Not applicable yet, Not applicable yet, Not applicable yet, Not applicable yet

Question
Hiya, im looking to easily implement stripe in my website

What have you already attempted?
Nothing yet

#

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

Question
Stripe API allows POST requests when the parameters are in the URL as part of the query string instead of in the request body. Is that intentional? It seems like a security risk to me.

Related Request ID(s)
General question about intended behavior

What have you already attempted?
I tried a POST request using query parameters instead of putting the parameters in the body of the request. It worked, but I'd like to know if that's intentional as well as Stripe's official position on the behavior.

What are you working on?
General question about intended behavior

cursive heronBOT
#

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

Question
I am trying to resume a paused subscription after a payment method is added using a Checkout Session and Stripe Elements, but after I add the default payment method and call `stripe.subscriptions.resume`, it fails to pay the invoice and goes back to paused state

Related Request ID(s)
evt_1SKm2LEXjRBPmDmBQiUPHUm7, evt_1SKm2OEXjRBPmDmBGuum2jYB, evt_1SKm32EXjRBPmDmBvUSa0XYk, evt_1SKm4CEXjRBPmDmBU04D4KL5, evt_3SKm4FEXjRBPmDmB1sHBrLHL

What have you already attempted?
I read through the docs and have written code in the webhook handler to try to resume the subscription. I will paste it in the chat.

What are you working on?
SaaS with 7 day trial and no payment method required up front, trying to add payment method after trial start with Stripe Elements

cursive heronBOT
#

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

Question
How do I retrieve the balance for a Stripe Connect account? It looks like the Balance API can only retrieve the main account's balance, and not a Stripe Connect account.

Related Request ID(s)
req_o0ChHO7W7vKy7S

What have you already attempted?
I looked at the API for Balance under Core Resources and the API for Connect, but I don't see how to retrieve the balance.

What are you working on?
BoothCentral.com

cursive heronBOT
#

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

Error Message
Something went wrong error message in payment process. Been requesting assistance for 20+ minutes in middle of launch.

Question
Can I please be contacted to make sure this issue won't occur again if we continue contacting customers please

What have you already attempted?
Other accounts are working, this first customer is not.

Reproduction Steps
Customer tried with 2 cards and it failed. Account was created bu #D secure attempt has been left as Incomplete.

What are you working on?
Energy Bill Monitoiring service

#

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

Error Message
stripe._error.InvalidRequestError: Request req_nInFyXsdDCw7i9: The recipient ToS agreement is not supported for platforms in CA creating accounts in ZA. See https://stripe.com/docs/connect/cross-border-payouts for more details.

Question
I understand that the connect cross border payouts is supported only for US based companies. My Question is as we are a canada based companies, and need to send commissions out to customers in SouthAfrica for example, what alternative do we have? Is there a cross border payout system that works for Canada based companies?

What have you already attempted?
I have tried the typical connect express account flow with full service agreement(which is not supported for Southafrica), and i have tried the cross border payouts which is supported for only US based companies

cursive heronBOT
#

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

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

Question
Is there a way for me to setup per customer subscriptions? Something more dynamic for specific customers on top of fixed price subscriptions?

What have you already attempted?
I have ap[plied Fixed-price subvscriptions but was looking for a way to give our buisness people a gui to hand out personalized subscription fees

#

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

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

Question
Is there a way for me to setup per customer subscriptions? Something more dynamic for specific customers on top of fixed price subscriptions?

What have you already attempted?
I have ap[plied Fixed-price subvscriptions but was looking for a way to give our buisness people a gui to hand out personalized subscription fees

cursive heronBOT
#

@gaunt pendant 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

Question
I'm trying to use Apple Pay on a webpage. After configuring my domain in Stripe according to the documentation, I still get the error "Either you do not have a card saved to your Wallet or the current domain (static-mp-b0a3a815-71a3-4e70-b37d-4d076e91d703.next.bspapp.com) is not registered for Apple Pay." I'm not sure if there's anything else I need to configure.

What have you already attempted?
The Apple Pay domain name configured exactly as documented cannot be used to call Apple Pay;I am connecting Stripe to Apple Pay. Do I need to configure it on Apple's side?

What are you working on?
Webpage connects to Apple Pay via Stripe

cursive heronBOT
#

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

Question
Is there a plan to release Stripe SDK for MAUI?

Related Request ID(s)
Is there a plan to release Stripe SDK for MAUI?

What have you already attempted?
I checked the documentation and also various forums but there is no information.

What are you working on?
Mobile app using MAUI for Android and iOS

cursive heronBOT
#

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

Question
In the Live mode, how can I validate Publishable Key, Webhooks setup without doing a real payment, I want to validate all setup before open the site to user. Account is client account so I dont want to do a real transaction

Related Event ID(s)
Test

What have you already attempted?
I test mode I see we can use CLI to trigger payment_intent event but not in Live mode

cursive heronBOT
#

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

Code
case PaymentOptionConstants.ApplePay:
case PaymentOptionConstants.GooglePay:
createSetupIntent.PaymentMethodTypes = new List<string> { "card" };
createSetupIntent.Usage = "off_session";
break;

Question
I am trying to create freee trial subscriptions while paying with wallets but the setup intent I create sometimes has a default payment method sometimes it doesnt.

What have you already attempted?
I am first creating the SetupIntent
Second i am creating the subscription with the default payment method of the setup intet and last
i am calling client side confirmSetup()

cursive heronBOT
#

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

Error Message
stripe.js, after you type in card holder's name, clicking card information field not working, you need to press tab to enter card number

Question
stripe.js, after you type in card holder's name, clicking card information field not working, you need to press tab to enter card number

What have you already attempted?
there is nothing that I can try

#

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

Question
翻译如下:

I'm currently using the Embedded form mode. If I want to pass fees to customers, do I need to manually calculate the fees myself when creating the Checkout Session?
> Can Stripe automatically calculate the fees for me now, or is there an API that can return the applicable fees based on different payment methods?

Related Request ID(s)
None

What have you already attempted?
read the doc

cursive heronBOT
#

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

Question
I am currently using the Embedded Form mode, and I have the following questions:
1.When a user triggers an Embedded Checkout and the front-end page shows a successful payment, which method should I use to determine that the payment is truly successful? What status should I check?
2.If I want to issue an invoice to the user, do I need to create a Customer before the Checkout Session, and then pass the obtained customer_id as a parameter in the Checkout Session?

Related Request ID(s)
None

What have you already attempted?
read the doc

cursive heronBOT
#

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

Question
I'm trying to create an hardware order but getting an shipping address invalid error

Full request is:
array (
'hardware_order_items' =>
array (
0 =>
array (
'terminal_hardware_sku' => 'thsku_J2QpxAWdwcfT2N',
'quantity' => 1,
),
),
'payment_type' => 'monthly_invoice',
'ship

Full error is:
{
"error": {
"message": "The shipping address in your request is invalid.",
"param": "shipping.address",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_5RhStj0aM6DU3G?t=1761131086",
"type": "invalid_request_error"
}
}

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_5RhStj0aM6DU3G?t=1761131086

What have you already attempted?
Tried adding state parameter with 'County Durham'
Removed middle space in postcode

What are you working on?
This is a curl request from a Laravel php web application. What we are building is a feature to order Card Terminal POS devices for customers.

cursive heronBOT
#

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

Question
If I omit the invoice_creation.enabled parameter in the Checkout Session, does that mean I can only issue an invoice to my customer via “Pay an invoice”?
In that case, the “Create an invoice” API seems meaningless 🤔

Related Request ID(s)
none

What have you already attempted?
read the doc

cursive heronBOT
#

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

Question
Can I use Billing product with a different payment gateway other than Stripe?

Related Request ID(s)
NA

What have you already attempted?
Integrating Stripe Billing with third party payment processors

cursive heronBOT
#

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

Question
Hello,

I built my current payment system by letting my customers choose their products, then click on "Pay". They then arrive on a payment page where they can fill their details and their credit card details (using Stripe `PaymentElement`).

I would know want to add support for promo code and it would be ideally located on the same page.

I am wondering what is the best way of doing this knowing that I am currently not registered for the private "Dynamically update discounts" API. Should I re-create a new checkout session once a promo code is applied via my UI?

P.S: if you have the information, how long does it usually take to get accepted to the private beta API?

Thanks!

Doc/Guide Links
https://docs.stripe.com/payments/advanced/dynamically-update-discounts

What are you working on?
a web app selling products on behalf of other Stripe customers using Stripe connect

cursive heronBOT
#

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

What did you expect to happen?
Customer language should default to English and Invoices should be in English

What actually happened?
Customers are defaulting to Spanish language and invoices are generated in Spanish

Reproduction Steps
Unsure. Looked back several months, and it's been like this. Don't know when it began.

Question
Where would I configure these defaults, and how should I debug this issue?

cursive heronBOT
#

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

What did you expect to happen?
Hi, we had a customer add and verify a bank account last night, and then a few hours later attempted to charge them via payment intent api.

What actually happened?
The code threw no errors and our server logs indicate a success, but checking the customer in Stripe shows no attempt to charge their bank account, no failures, no pending charges.

Reproduction Steps
Steps to reproduce would be using the payment intent api to charge a us bank account

Question
I wanted to know if there would be any insight that a dev could provide me. I don't have a req number because my system did not catch an error, but I have the customer id and payment method id if those are helpful

#

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

Question
I am integreting payement system so the user can select a product to rent. When applying pay button i want 2 type of transaction to occur

  1. Rent amount will be deducted from their card.
  2. Deposit amount will be blocked in their card during their product booking duragion

The problem i am faceing is deposit money is blocked maximum of 7 days. But some user rent the product for more then 7 days. I want to block the amount for the whole duration not maximum 7 days. Istheir any way to do that.

Related Request ID(s)
None

What have you already attempted?
I jave already connected to support team but they couldn’t give me any satisfactory solution.

What are you working on?
I am working on a renting payment method.

#

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

What did you expect to happen?
The receipts that are being sent to the customers should have an email that can be configured in a way so that the customers can contact the restaurant owners in our case for questions.

What actually happened?
One of my connected accounts always uses test@gmail.com in the receipt as the "If you have any questions, contact us at test@gmail.com." part. Where can we change this? The email of teh connected account is something else so this isn't the problem...

Reproduction Steps
When an order is being made the receipts that the connected accounts send to the customer use an email that i'm not sure where they get it from.

So just try to make an order and look at the receipt

Question
Is there a way where we can change the email to the email that the restaurant owner wants?

What are you working on?
Its a platform where restaurants can sign up to display their dishes that are available for take away. we make the platform

cursive heronBOT
#

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

Question
I'd like to understand the underlying mechanics of the SetupIntent as it relates to 3DS. When a SetupIntent is created with 3DS, is Stripe running an authorization on the card to force 3DS so that it can be used off_session later? Otherwise, how is Stripe able to be confident to use the payment method later in an off_session transaction (assuming the SetupIntent and actual payment are a week part, for example)?

Related Request ID(s)
None

What have you already attempted?
Read documentation on Stripe's site and read through other Discord threads covering 3DS and SetupIntent.

cursive heronBOT
#

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

Question
We've been receiving errors from Stripe JS since 2 weeks (and not before) and we cannot identify any dev that would have provoked it on our side. Nothing has changed.

It's when front end confirm paypal payment (with setup_future_usage: off_session).

In related request I have one that have succeeded and one that have failed

Related Request ID(s)
req_y9JMK6e3KL1iBC ; req_P4gNv3yfZFrYLH

What have you already attempted?
We're not sure what is going on because we cannot identify what has changed

What are you working on?
marketplace

#

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

Error Message
Status
Action required
Deadline
Apr 24, 2025 (past due)
Impact
Payouts
Paused since Apr 24

Question
Im getting this task for a long time that i need to submit back for review but theres no option to submit or what more information u want and ive had an submission in review since July 2024... we now need to resolve this as we're about to launch our platform.

What have you already attempted?
submit for review long ago

Reproduction Steps
payouts paused: https://dashboard.stripe.com/acct_1N8wL0IdwYm85lxy/account/status/tasks/astask_1SFE7PIdwYm85lxy19bXltu1

What are you working on?
ai agent platform

cursive heronBOT
#

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

Error Message
Request req_GPnylHfRGP5wuK: ZA is not currently supported by Stripe.

Question
We are trying to send commissions to merchants. We have an Express connect account service set up. This flow seems to work well but failed when we tried to onboard a South African client we get this error. The question is how to resolve this so that we can send commissions to south african and other clients

What have you already attempted?
I had previously contacted stripe support on this issue:

first: told to use the cross-border payments but this did not work because we are not a US based company. WE are in Canada.

second: told to use destination charges with OBO(on behalf of), i cannot seem to get to work cos the docs does not show how to set up the connect account, which is where we have issues

What are you working on?
We are a canadian based company, that have merchants whom we send commissions to for sales

cursive heronBOT
#

@untold cedar 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/when-will-paper-checks-be-available-on-payment-intents

Question
The paper check beta feature seems to be languishing. This support page was published over a year ago and to date paper checks are still operating on the Sources API.

We have a singe account paper check integration, and we are concerned that the feature may end up deprecated or otherwise undermined. We also are interested in an implementation that would work across our entire Connect platform, but are prevented from that implementation without being able to gate another account into the paper checks beta.

We would like some type of update on a timeline for the paper check program updates.

What have you already attempted?
We have reached out to support about this program periodically over the last 3 years and have never once gotten any useful reply.

cursive heronBOT
#

@wispy frost 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/custom/manual-approval

Question
Hi,

I wanted to confirm my understanding of Custom Manual Approval: it runs custom logic (e.g., stock check) after the user went through the full payment process (3D Secure, PayPal / Klarna Checkout) but before authorization/capture.

If thats correct, I assume this isn't available yet. My use case is verifying stock once payment is possible and canceling if items went out of stock.

Any ETA for release or workaround today?

Thanks a lot for your help!

What have you already attempted?
authorize and capture won't work because as far as I understand it after authorization an email/notification is sent by paypal/klarna/banking app which I want to prevent

https://docs.stripe.com/payments/build-a-two-step-confirmation
https://docs.stripe.com/payments/finalize-payments-on-the-server
won't work because this runs business logic before 3D secure and PayPal/Klarna Checkout flow

What are you working on?
Online Shop platform for customizable products

cursive heronBOT
#

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

Question
Send downloadable receipt in custom email

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Integration between stripe and shipbob that sends a custom email with tracking link and stripe receipt after the order is shipped

cursive heronBOT
#

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

Question
Can Stripe::Invoice.retrieve be expanded? Is there a list of possible properties that can be expanded? I'm attempting to expand a product on an invoice line item

Related Request ID(s)
evt_1SL6boDSLnrEfmL9lngZwayq

What have you already attempted?
Stripe::Invoice.retrieve(event.data.object.id, expand: "lines.data.pricing.price_details.product")

cursive heronBOT
#

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

Question
Issuing API
---
Hiya, I was wondering if it is ok to put the business name + virtual card use
i.e. CardholderName = "company-name uber-rides", when creating cards for businesses with the stripe issuing API
I think I saw this somewhere in the API docs, that you are meant to use this format, but I would appreciate any confirmation on the proper Cardholder Name that you are meant to provide for business virtual cards

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@wispy frost 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.klarna.com/payments/web-payments/integrate-with-klarna-payments/other-actions/finalize-an-authorization/ https://developer.paypal.com/docs/api/orders/v2/

Question
As far as I understand it both PayPal and Klarna have support for an extra step after user went through their checkout process and before the actual authorization happens - e.g. for showing a “review your order” page.

Klarna via auto_finalize: false
and paypal via user_action=CONTINUE
(links to their documentation are above)

Does stripe has support for this or is this planned? Would be great for checking if items went out of stock while user went through paypal/klarna checkout which might take a while and for the Express Checkout Button where it is common to show a "review your order” page

What have you already attempted?
see
https://discord.com/channels/841573134531821608/1430629790867652669

What are you working on?
Online Shop platform for customizable products

#

@unreal 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/payments/accept-a-payment?platform=react-native

Question
Hi, i want to create a setupintent flow on my react native app where we can show user available methods of payment then also take their phone, name and email with our own input fields then save the setupintent with their stripe customerid that we create for them with that email

we do this in nextjs with Elements provider and then display PaymentElement with our email, phone and name inputs

however i am having issues doing this on mobile because the initPaymentSheet needs the client secret but the client secret needs the email so we can create a customerid for the user etc

What have you already attempted?
At the moment we created a stripeprovider with pk, merchant identifier, and urlscheme then we are trying to initpaymentsheet but we are stuck on the above step

i will send screenshots below of how i am trying to make it look

What are you working on?
A barbershop booking website

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?
When I top up money using Google Pay from our stripe react native SDK it says
Request failed
This merchant is having trouble accepting your payment right now. Try using a different payment method. [OR_BIBED_11]

What actually happened?
Error message appears: "Request failed - This merchant is having trouble accepting your payment right now. Try using a different
payment method. [OR_BIBED_11]"

Reproduction Steps
- Production build using pk_live_ keys
- Real Google Pay account on physical Android device
- Apple Pay works perfectly with same implementation
- testEnv: false in googlePay configuration
- enableGooglePay: true in app.json Stripe plugin
- Google Pay API enabled in AndroidManifest via Expo plugin

Question
Why does this feature work on iOS with Apple Pay but not on android with Google Pay?

What are you working on?
Stonks.com mobile app

cursive heronBOT
#

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

Question
Stripe Capital Promotional Tile component not recognized by API.
I've configured the ruby SDK 15.6.0-beta.1 per the documentation, but the request to create an account session fails: "Received unknown parameter: components[capital_financing_promotion]"

I'm using a connect account ID within a Sandbox with Stripe capital enabled and functioning.

Ruby SDK Version: https://github.com/stripe/stripe-ruby/releases/tag/v15.6.0-beta.1

Stripe docs: https://docs.stripe.com/capital/promotional-tile#account-session

Related Request ID(s)
req_QA0oMrX7tak4Ms

What have you already attempted?
Lots of request attempts with different connected account ID. Confirmed I can create an account session with non-preview components

What are you working on?
Stripe Capital integration, trying to show the promotional tile in our UI

cursive heronBOT
#

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

Question
After close, the status i am expecting the status of the dispute to be lost based on (https://docs.stripe.com/api/disputes/close) but the status remains in warning_needs_response

Related Request ID(s)
https://dashboard.stripe.com/acct_1PdemvDLqYVHbp3E/test/logs/req_ZWH2HmgjNPJjN8

What have you already attempted?
https://dashboard.stripe.com/acct_1PdemvDLqYVHbp3E/test/payments/pi_3SL8LnDLqYVHbp3E2nVXHjcA

The log on this transaction showed my several attempts

What are you working on?
Testing a work flow triggered by call back

cursive heronBOT
#

@unreal 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/payments/mobile/accept-payment-embedded?platform=react-native&type=setup#add-the-embedded-payment-element-view

Question
I am trying to create a custom UI where we open a sheet and display some details about the cart then the payment methods available like apple pay and card for example

then if the user chooses card we show CardField for the user to fill out

and if apple pay then just use that

then when we have a selected payment method, we show them other inputs like name collection

then finally we create set up intent with that paymentMethodId and save other data as metadata

but i am struggling a lot on how to do this

What have you already attempted?
what i think is that the screenshot people have use embeddedPaymentElementView which only shows apple pay for some reason and then shows their own "card" option then when selected it opens a drawer with <CardField/>

is that what it is? because i am so confused right now haha

i spoke about this earlier and was on track until i realised i dont see how to have my own UI within the payment sheet which makes me think i have to create my own sheet with embedded elements but i am struggling with that

#dev-help message

What are you working on?
a barbershop booking site

cursive heronBOT
#

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

Question
I have customer_cash_balance_transaction.created event being processed through webhook. Which is triggered through funding instructions (https://docs.stripe.com/payments/customer-balance/funding-instructions) from customer.

I now need to refund that customer's deposit, but unable to do so because when i try to refund, it shows Waiting for customer to submit bank details.

Is it possible to refund this deposit to where it came from? original event payload does not include source bank details either.

Related Event ID(s)
evt_1SLDBqBVZKCfdJd1cRhsHpXt

What have you already attempted?
Click refund through customer record in Stripe dashboard.

What are you working on?
A deposit system that provides funding instructions to a target customer for easy top up and deposit.

cursive heronBOT
#

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

Question
I am using a checkout session for affirm, checkout related events are not being received on my webhook for some reason, also not sure how to attempt a failure flow or an error flow

Related Event ID(s)
not sure

What have you already attempted?
i have gone through the docs and even tried communicating with the ai chat bot here
https://docs.stripe.com/payments/payment-intents/asynchronous-capture

What are you working on?
stripe checkout integration using affirm

cursive heronBOT
#

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

Question
I'm adding stripe hosted onboaridng flow inside my product, and it all works great, I added web hooks to listen to accounts.update events, but I have one problem

also I only need transfers available

I was following https://docs.stripe.com/connect/testing?accounts-namespace=v1 but what ever value I type in for SSN or TAX id account is always successfully created without triggering additional requirements on the webhook

does anyone know how to test this? Thanks!

Related Event ID(s)
accounts.update

What have you already attempted?
I got suggestion from one of your devs to try tax id 000000001 but that was again successful, and I tried all the things from https://docs.stripe.com/connect/testing?accounts-namespace=v1

so basically if someone can give me combination of fields that will cause to trigger requirements, or future requirements on stripe hosted flow, that would be great

What are you working on?
Stipe hosted flow for custom connected account

cursive heronBOT
#

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

Question
I have a strange issue user buying pro subscription but some how instead of detucting from user's card stripe is applying balance to user amount. i have this issue on multiple accounts. and mostly it is happeninng on Columbian currency. it is happening on test account right now but why stripe doing this am i doing some thing wrong?

Related Event ID(s)
evt_1SLJCuA7OA4LjbBpnxPMBliu

What have you already attempted?
I have map the price in subscription if i am passing right price while creating users checkout session. it is correct

cursive heronBOT
#

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

Question
"In the Stripe Billing Portal, customers can only update fixed-price recurring subscriptions — metered subscriptions cannot be updated" is it true or possible?

Related Request ID(s)
n/a

What have you already attempted?
nothing

cursive heronBOT
#

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

Code
```ruby
Capybara.within_frame first("iframe") do
assert_selector "label", text: "Card information"

  fill\_in "cardNumber", with\: card\_number
  fill\_in "cardExpiry", with\: "12/\#{Date.current.year.next.to\_s\[2..\]}"
  fill\_in "cardCvc", with\: "123"
  fill\_in "billingName", with\: "John Doe"
  select "United Kingdom", from\: "billingCountry"
  fill\_in "billingPostalCode", with\: "BT3 9DT"

  find\_button\(text\: "Pay"\).click
end

```

Question
How can I reply the VCR interaction for

What have you already attempted?
I ensured that the customer's email is the same for the VCR cassettes so the custom is found and when I during the reply fill out the card details (link add card element), it fails to save with an opaque and very generic error message.

What are you working on?
Add off session payment method and make the first off session payment.

cursive heronBOT
#

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

Code
if ($payment_method_id) {
try {
$paymentIntent = $stripe->paymentIntents->create([ 'amount' => 1999,
'currency' => 'gbp',
'customer' => $customer_id,
'payment_method' => $payment_method_id,
'capture_method' => 'manual',]]);
error_log('PaymentIntent created: ' . $payment

Question
Trying to add a preauthorization on trial based payments using webhooks but not working in live mode

What have you already attempted?
Used webhook that trigers on subscription creation.

What are you working on?
7 Trial based subscriptions using php. Now adding a preauthoziation

#

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

Question
i want to charge the full amount from the use no matter he downgrade or upgrade a subscription. This should happen immediately as soon update their plan. I am using stripe billing portal is there anything i can do to achieve this using the stripe billing portal.

Related Request ID(s)
n/a

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
What are the Express OAuth deprecation timeline and consequences.
We got a reminder that the "Express OAuth will be fully deprecated 12th of December".
What does that mean exactly? Does it mean that the API's will stop working ? And we *have* to move to the "Create Account API" by then or we wont be able to connect new accounts ?

Doc/Guide Links
https://docs.stripe.com/connect/oauth-express-accounts

What are you working on?
Healthcare management web app. That includes taking payments for healthcare services on our customers behalf.

cursive heronBOT
cursive heronBOT
#

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

Question
Problem with connect account representative

Related Request ID(s)
req_q4pLwVgjr3DAXu

What have you already attempted?
I have problem that although the representative is created in the report of the connect account it ask me to select one

What are you working on?
A platform for NGO donations

cursive heronBOT
#

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

What did you expect to happen?
I'm using the stripe api in a mobile app with react native, and for ios I need to use apple pay. I tried implementing it following the guide in https://docs.stripe.com/apple-pay?platform=ios
I get the apple button and I create a payment intent, and I expected to get the apple payment sheet.

What actually happened?
Instead of getting the apple payment sheet, the app doesn't react and when I make a console log to check, I get a return to the confirmPlatformPayPayment function that says {"code": "Failed", "declineCode": "null", "localizedMessage": "Payment not completed", "message": "Payment not completed", "stripeErrorCode": null, "type": null"}

Reproduction Steps
I go to the payment screen in my app and I press the apple pay button.

Question
What can I be missing? I've tried searching online but all I get is people who have problems with their merchantID. I have checked this first of all.

What are you working on?
A mobile app using react native and using stripe for subscriptions.

cursive heronBOT
#

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

Error Message
Request req_kVYjyZPgna3vEl: Funds can't be sent to accounts located in US because it's restricted outside of your platform's region

Question
We are a canadian/US company with a canadian stripe Platform trying to send commissions to affiliate merchants. We have a system set up using connect express accounts and destination charges that works well for Canadian merchants but errors when trying to support US merchants. We are considering switching to a US stripe platform if this will stop the errors

What have you already attempted?
i was given the option of using on_behalf_of=connect_account_id and transfer_destination. but it looks like this creates the stripe customer accounts on the connected account which is not what we want. what we want is a system that works exactly like we have it, where we get the payment and send commissions out to affiliates merchants internationally

cursive heronBOT
#

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

Question
I want to see webhook attempts for more than 15 days for a payment intent. We had a payment charge succeed after like an hour after payment intent was created and we want to understand if our webhook listener failed or anything else happened

Related Event ID(s)
evt_3SDnNYJndt3DEfYu0kj1VrZR

What have you already attempted?
I visited https://dashboard.stripe.com/acct*****/connect/view-as/acc*****u/events/evt_3SDnNYJndt3DEfYu0kj1VrZR but it says there 'Attempts to send this event to your webhook endpoints in the past 15 days'

What are you working on?
I'm a software engineer at Park (parkwith.us), we use Stripe for processing payments

#

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

Question
We have a connected account that has a Stripe capital "loan" that they repay from their payouts. I'm trying to figure out how I can see how much is held back from their payout, but I'm not seeing anything about it in any of the payout.* webhook events or API responses.

Related Event ID(s)
evt_1SLDykRdZolhQ60CWRPhewhv

What have you already attempted?
I've gone through all API responses and webhooks and don't see any mention of the "Account transfer for Capital financing paydown from acct_1RkrV4RdZolhQ60C to acct_1OKjTWImbA0erE5…".
I need to know that this amount has been removed so we can show the correct amount in our reporting.

What are you working on?
Paw Partner Payments

cursive heronBOT
#

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

Question
Is there a way to disable the "Pay online" link in an Invoice's PDF?

Related Request ID(s)
-

What have you already attempted?
Looked through all the API documentation.

What are you working on?
Freelancer middleman platform

#

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

What did you expect to happen?
I expected that Klarna would not be enabled for subscription trial with Stripe embedded checkout.

What actually happened?
Klarna payment method is enabled for my subscription trials.

Reproduction Steps
Enable Klarna in the payment method config in the Stripe dashboard. Create a session with 'subscription_data: {trial_period_days: 5}' Klarna will be enabled as a payment method. Although if a session is created without the trials, Klarna is not enabled as a payment method.

Question
How can I disable Klarna for all subscription payments, including the trial, with a payment of 0$

What are you working on?
Working on a subscription payment system for a SAAS

cursive heronBOT
#

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

Question
I upgraded stripe go to 83.0.2 and i'm using the stripe cli 1.31 butikeep getting a "error":"Received event with API version 2025-07-30.basil, but stripe-go 83.0.2 expects API version 2025-09-30.clover. We recommend that you create a WebhookEndpoint with this API version. Otherwise, you can disable this error by using `ConstructEventWithOptions(..., ConstructEventOptions{..., ignoreAPIVersionMismatch: true})` but be wary that objects may be incorrectly deserialized."

And now the susbscription schedule i use seems to be a bit weird, sometime the invoice when i update it doesn't change and

Related Request ID(s)
evt_1SLSxDF8BVnhmF8JxPp1SB0n

What have you already attempted?
Installing all the latest version available on stripe for cli and go package

What are you working on?
upgrading subscription page made in react. Thinking i should maybe use more basic option since schedule subscription doesn't seems that reliable

cursive heronBOT
#

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

Error Message
I am trying to verify my account but it’s always stop on waiting to scan your decuments

Question
I am trying to verify my account but it’s always stop on waiting to scan your decuments

What have you already attempted?
I am trying to verify my account but it’s always stop on waiting to scan your decuments I just want to verify my account

What are you working on?
Anymaster

cursive heronBOT
#

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

Question
Hi, I want to implement a yearly plan in my product where developers receive credits every month. Monthly subscription makes it easy since Stripe calls webhook every month if payment is successful. However, there is no ping webhook every month after a yearly subscription kind of feature. This can be done by cron jobs on our side, but this can be tricky if we want to migrate out infra at some point. I was wondering if this is possible with stripe, that I did not know.

Doc/Guide Links
https://stripe.com/en-ee/resources/more/what-is-metered-billing-heres-how-this-adaptable-billing-model-works

What are you working on?
Subscriptions to a SaaS

cursive heronBOT
#

@glossy 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/tax/tax-for-tickets/overview

Question
I am setting up Stripe Tax for a ticketing platform. The docs say there are "14 unique product codes for various types of tickets." But I do not see any product codes related to tickets or event attendance.

What have you already attempted?
I have looked through the product codes on the product tax codes page in the documentation. I have set meetings with the sales team, who just refer me to the documentation. And I have exported the .csv file purportedly containing all the product tax codes on Stripe.

What are you working on?
Mobile and web application that uses PaymentIntents and SetupIntents to facilitate ticket purchases and fundraising pledges.

#

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

Question
How do i get tax in lineitems. I cannot get the tax amount to show in a lineitem array. It is empty.

Related Request ID(s)
req_4aG5uDoR66Cmmm

What have you already attempted?
I have tried using the tax arrays as present in the docs. But they are all empty. The invoice DOES have the correct tax for the invoice but I cannot find the line item tax info.

What are you working on?
A martial arts management site, in PHP stripe backend

cursive heronBOT
#

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

Question
Is it possible to suppress Link receipt emails? I send custom emails from my system; my customers will get two emails if they use Link and are confused/upset thinking they were charged twice.

Related Request ID(s)
n/a

What have you already attempted?
browsing docs

What are you working on?
ecommerce platform

#

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

Question
We started seeing inconsistent behavior with test clock in the last couple of days, in particular with the `paid_at` timestamp of an invoice where the actual time (not the test clock time) was recorded as the `paid_at` timestamp.
Example 1: (in_1SJ4qjE1ba98qjoYzkF2OJ0g), test clock time is Aug 24, 2025, the `invoice.paid` event (evt_1SJ4r2E1ba98qjoYOS6NrLyj) has Aug 24, 2025 as the `paid_at` timestamp <= expected
Example 2: in_1SLUIWE1ba98qjoYmyENRunI, test clock time is Aug 30, 2025, but the `invoice.paid` event (evt_1SLUIpE1ba98qjoYAbxs0lnM) `paid_at` timestamp is today's date (10/23/25).

Related Event ID(s)
evt_1SJ4r2E1ba98qjoYOS6NrLyj, evt_1SLUIpE1ba98qjoYAbxs0lnM

What have you already attempted?
Why has the behavior of the test clock changed? I'd expect the `paid_at` timestamp captures the test clock timestamp as it had been. We didn't change our code but our tests start failing.

#

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

Question
@bismark started helping me yesterday, but the discussion was closed:

#1429964947017961494 message

As a summary, the Elements API `actions.updateBillingAddress()` claims that `billingAddress.name` and `billingAddress.address` are both optional:

https://docs.stripe.com/js/custom_checkout/update_billing_address

But if you don't pass at least `billingAddress.address.country`, it errors out.

Related Request ID(s)
req_h1CblLdUDhZ3p2

What have you already attempted?
I tried the suggested workaround to disable collecting name and email and listen to checkout session updates:

https://gist.github.com/bhamiltoncx/5933105d944ce1ce82690afeda26daba

But I don't see the country code; billingAddress is always null.

XXX checkout session changed: {"_sdkVersion":"clover","billingAddress":null,"businessName":"Terraformation sandbox","canConfirm":true,"currency":"usd","discountAmounts":[],"email":"benhamilton+test10@terraformation.com","id":"cs_test_a14yqD7jR3Q1D8mm5uZjOquSNJm56O2He7BuRD

What are you working on?
Migrating from Stripe Hosted checkout to Elements where our form collects name + email on our side; don't want Stripe Elements to collect name + email a second time

#

@unreal 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/payments/mobile/finalize-payments-on-the-server

Question
is there a way to do this but embedded like the screenshot below? i have tried but whenever i do it, the isLoaded state from the embedded hook is always false so the UI and options never load

What have you already attempted?
tried with useEmbeddedPaymentElement but as explained its always isLoaded false so the embeddedPaymentElementView is always disabled

i have no work around at the moment, but maybe there are some docs on this or a working example i can copy/see

its also worth noting i am a platform and using stripe connect so the StripeProvider is using connected account id, and the publishable key is the platform key

then when we create customer and setupintent its both with the connected account too

What are you working on?
barbershop booking. user inputs payment method and we charge it 1 hour before booking

cursive heronBOT
#

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

Question
With the various refund related events (refund.created, charge.refunded, refund.updated, charge.refund.updated, etc...) what is the recommended best practice to listen for refunds being processed?

Related Event ID(s)
refund.created, charge.refunded, refund.updated, charge.refund.updated

What have you already attempted?
We have listed to a variety of the refund related events and are looking for the Stripe recommended approach. Is it still refund.created, refund.updated, and refund.failed as mentioned in the acacia updated documentation?

What are you working on?
Storing refund related data we receive via the webhook.

cursive heronBOT
#

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

Question
Would passing an empty "default_tax_rates" when updating a subscription price would get rid of this error?:

"One or more prices has a `tax_behavior` that conflicts with the tax rates that apply to the corresponding line item."

One of the plans/prices that we have, which is somewhat old, has an "unspecified" tax behavior whereas the new plan/price has an "inclusive" tax behavior.

So trying to move a customer from one of these old subscriptions with no tax behavior to the new ones returns that error.

Related Request ID(s)
req_trUtcpCG3SpKbH

What have you already attempted?
I checked the documentation and I see in https://docs.stripe.com/api/subscriptions/update#update_subscription-default_tax_rates that we could pass an empty string to "remove previously defined tax rates" so I created in our testing mode a price that has an "unspecified" tax rate and another one with "inclusive" to try to replicate the issue when updating the subscription however it went through and this is only happening in production.

What are you working on?
Subscriptions integration for our product

cursive heronBOT
#

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

Question
My first time using stripe, i want to test the payments. I have the API keys from test mode but I do not know the next steps. It is currently connected to Wix and my APi key starts with pk_test.

Related Request ID(s)
I do not see it in test mode

What have you already attempted?
Nothing, I am scared.

cursive heronBOT
#

@sonic 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/sandboxes/claimable-sandboxes

Question
hello, i'm trying to wrap my head around claimable sandboxes. i'm building a platform for my customers (e-commerce) and i need to connect the application to their Stripe account (they fill in their api keys through a secured interface).
i also have a stripe account, which is used to collect payments from my customers.
do sandbox offer a better interface for integrating my app with their stripe account? can i avoid requiring my clients api keys and get them automatically through stripe?

What have you already attempted?
collecting api keys and making changes directly using my customers' accounts.
i would like to know if sandbox can offer a cleaner way to integrate

What are you working on?
e-commerce for clients

cursive heronBOT
#

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

Question
I'm using Stripe Embedded Checkout with React (useCheckout). I initialise the Checkout Session using my server with line items sourced from local state (Shopping Bag), where each item corresponds to a unique Price ID (for product variants).

On the client, I allow customers to adjust item quantities using updateLineItemQuantity.

The Problem: The updateLineItemQuantity function requires the Stripe Line Item ID, but the line item object returned by useCheckout does not expose the original Price ID or my custom metadata. This prevents me from reliably mapping the client-side line item back to my local product/price data to facilitate the update. Any advice please?

Doc/Guide Links
https://docs.stripe.com/js/custom_checkout/update_line_item_quantity

What are you working on?
mrbenhowl@gmail.com

cursive heronBOT
#

@nova mason 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/embedded/quickstart

Question
I tried to embedd the checkout form with frontend: react and backend: node.js, but when i click on my checkout button there is this text: 'Something went wrong
Please try again or contact the merchant.', error in console tells me: Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
embedded-checkout-outer-5e66942859a9333aa348c3eb65e408ec.js:4 Uncaught (in promise) IntegrationError: fetchClientSecret failed with error "Failed to execute 'json' on 'Response': Unexpected end of JSON input

What have you already attempted?
i read the doc and i tried to change the const YOUR_DOMAIN = 'http://localhost:3000'; code line, to localhost:5173, because i noticed that this is showing on my browser when development, i also looked if the keys or price id are wrong, i double checked if i installed the npm packages like in the docs, and i looked for if there is a server start command in my package.json like in the whole code download but there isnt

What are you working on?
i want to build a online shop

#

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

What did you expect to happen?
I'm using the stripe api in a mobile app with react native, and for ios I need to use apple pay. I tried implementing it following the guide in https://docs.stripe.com/apple-pay?platform=ios
I get the apple button and I create a payment intent, and I expected to get the apple payment sheet.

What actually happened?
Instead of getting the apple payment sheet, the app doesn't react and when I make a console log to check, I get a return to the confirmPlatformPayPayment function that says {"code": "Failed", "declineCode": "null", "localizedMessage": "Payment not completed", "message": "Payment not completed", "stripeErrorCode": null, "type": null"}

Reproduction Steps
After checking the merchantID, the stripe-react-native version being the latest, and apple pay being supported with isPlatformPaySupported, I go to the payment screen in my app and I press the apple pay button.

Question
What can I be missing? I opened a thread yesterday and checked the suggestions you gave me but it's still not working and the thread is closed now. Can you help me solve it?

What are you working on?
A mobile app using react native and using stripe for subscriptions.

#

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

Code
Either you do not have a card saved to your Wallet or the current domain (www.howhowfresh.com) is not registered for Apple Pay.

Question
My webpage Apple Pay prompts in webview that Apple Pay is not supported, and the prompt message is Either you do not have a card saved to your Wallet or the current domain (www.howhowfresh.com) is not registered for Apple Pay. When I use Stripe's test page: https://docs.stripe.com/testing/wallets to load it in the same webview, it prompts that Apple Pay is supported. My webpage can indeed create an Apple Pay button in the Safari browser, but not in the webview.

What have you already attempted?
Configured completely according to the stripe documentation, the Apple Pay button can be created in the Safari browser, but it cannot be created in the webview prompting that Apple Pay is not supported

What are you working on?
Connect to Apple Pay via Stripe

#

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

Link to the Doc/Guide in question
I dont have any url, I need to confirm

Question
Hello, we are currently generating payment urls using stripe but we have an issue. Paypal is showing for some users, but not for others which affects. Is there any way to force paypal to show to everyone?

What have you already attempted?
Normal implementation.

What are you working on?
Paypal implement

cursive heronBOT
#

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

Error Message
NETWORK_ERROR.CONNECTION_TOKEN_PROVIDER_ERROR: Error while retrieving connection token.

UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR: Unexpected failure

Question
I have an implementation using the React Native SDK (SDK and EXPO latest versions), and the implementation is working very well in testing and production; however, in about 30% I'm facing those errors. The Unexpected one usually occurs before or in the middle of the device upgrade; the first one I couldn't reproduce.

What have you already attempted?
I have tried changing the device permission to be sure that it is not related to permissions.

What are you working on?
A system for in person donations

#

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

Question
I have a business in Spain and we are required to only issue "VeriFactu" - compliant invoices starting January 01, 2026. Is Stripe already incorporating this and is there a way to make sure the invoices created by Stripe over the API or in the system are compliant with current fiscal requirements?

Doc/Guide Links
https://marketplace.stripe.com/categories/compliance

What are you working on?
Building an online community based in Spain.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/js/custom_checkout/checkout_object

Question
How to loadActions when using CheckoutProvider and useCheckout hook?

What have you already attempted?
So far i've been following this guide: https://docs.stripe.com/payments/quickstart-checkout-sessions?lang=python&client=react to build a custom checkout page. I now want to add some client inputted data as metadata to the checkout session (so i can later access it via a resulting webhook event) so have been trying to use runServerUpdate.

When running it i kept on getting "checkoutValue.runServerUpdate is not a function", so I assume that i need to load the actions. Just not sure how to do that since I'm not using the stripe.initCheckout method at all.

What are you working on?
Building a checkout page using CheckoutSessions API

#

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

Question
I have webhook for payout.paid events. But occasionally, they arrive without an account. I have thousands of customer with connected accouts, so I need to know what account this payout is. Why this happen? And How I can findout the account in this case?

Related Event ID(s)
evt_1SKqCsKL2AAUnNZP9peGj0nu

What have you already attempted?
I don't know what to try in this case

What are you working on?
Report of payments

#

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

Question
When I create an invoice preview via the API (basil version), if I set a proration date and send the subscription info without any changes, I was expecting to get an "amount_due" or "total" amount of 0 (since there were no changes to the subscription). Instead it gives me the amount of the entire next invoice for the next billing cycle.

Is this a bug? Shouldn't this endpoint either tell me the amount due is 0 if no changes are made, or return an error that it can't prorate without changes?

Related Request ID(s)
req_s4WVfMYd2KaRTu

What have you already attempted?
I get the expected prorated amount due when calling this endpoint with subscription changes, but when calling it without any subscription changes it gives me the problem described above. I've also attempted see the prorated invoice in the Stripe dashboard. Interestingly, for sub_0S00M5zEPMHicSO41xeoYaG7 it tells me I cannot prorate without changes, whereas sub_0SGbxwzEPMHicSO4Ey1Bd0Z5 lets me prorate without changes (but just shows me the next billing cycle's full invoice instead of a prorated one for today)

What are you working on?
Our checkout code calls Stripe to find out how much is due now for a customer, prorating for existing subscriptions.

cursive heronBOT
#

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

Question
Hello
I am building a ridesharing marketplace app, currently for users who want to sell seats in their car. They would need to create a Connect account and provide their bank details so they can receive a payment.
Currently, my users don't feel comfortable with this approach.
What would be the best way for my business to hold money for users who have sold a seat, and they transfer the money across once they have provided the payout bank details?

Doc/Guide Links
https://docs.stripe.com/connect/destination-charges?platform=ios&uikit-swiftui=swiftui

What are you working on?
I am building a Rideshareing marketplace app

#

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

Question
What would be a good practice to consider for managing TapToPay and M2 devices in the same POS (Android device)? My current implementation is a custom Android plugin (in Kotlin) to manage M2 connections and payments (using the stripe-terminal-android SDK library), and then a Flutter library (mek_stripe_terminal) to manage TapToPay in the Flutter code.

Doc/Guide Links
https://pub.dev/packages/mek_stripe_terminal

What are you working on?
I'm maintaining a Flutter POS application that integrates both TapToPay and M2 card readers. The M2 devices are managed via a native Kotlin plugin, and TapToPay is handled through a Flutter package (mek_stripe_terminal).

#

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

Question
My apiversion in the webhooks area of the dashboard lists ‘2022-11-15’. I have a backend nodejs application with typescript that I am using ‘2025-03-31-basil’ when I pass it in to the Stripe constructor. Is there a problem with doing this? I have another app using ‘2022-11-15’ which is why I don’t want to change the version on the Stripe dashboard at the moment.

Related Request ID(s)
N/a

What have you already attempted?
I looked for docs on this but couldn’t find any

What are you working on?
Custom SaaS sign up workflow

cursive heronBOT
#

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

Question
We are using a tiered hybrid subscription model, where currently we have two products "Starter" and "Pro" which each have monthly/yearly base fees and then several metered prices.

We add all the prices in the selected product as subscription line items to the customer's subscription when they sign up for it.

Our problem now is that the automatic invoices produced by these subscriptions just show the name of the product (e.g. "Pro") 10 times, and there seems to be no way to customize the rendering of prices in invoices.

Should we use one product per meter instead, with one price per tier inside?

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

What are you working on?
A cloud hosting service

cursive heronBOT
#

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

Error Message
'PAYMENT_ERROR.DECLINED_BY_STRIPE_API'

Question
We’re working with the Tap to Pay feature using the React Native Stripe Terminal SDK.
Recently, we’ve noticed that sometimes Stripe returns the following error:

PAYMENT_ERROR.DECLINED_BY_STRIPE_API

However, there’s no corresponding log or record of the failed payment in the Stripe Dashboard.

Could you please help us understand under what conditions this error

What have you already attempted?
check stripe dashboard

#

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

Error Message
UNEXTECTED_ERROR.UNEXPECTED_SDK_ERROR: Unexpected failure

NETWORK_ERROR.NETWORK_ERROR_CONNECTION: Execution error while retrieving connection token.

Question
I'm back over here since many users are reporting those errors, and honestly, I don't know why it's happening. The users report "I have a stable connection via WiFi and I have tried from two different devices... no updating, nothing." The error related to the SDK is happening during the device update.

Specs:
React Native: 0.81.4
Expo: 54.0.13
SDK: 0.0.1-beta.27

What have you already attempted?
Test the device using different networks, wifi and limiting the internet speed. I couldn't reproduce the error on development, and the errors are happening at least in 25% of the production users.

I made a lot of tests and everything is working fine on development and even in production for me, but not for the users.

What are you working on?
In person donations system

#

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

Question
Hello,

I’m currently integrating Stripe Checkout for a product that has a recurring monthly subscription. Everything works correctly, but I’ve noticed that when a customer subscribes, Stripe does not charge them immediately.

Instead, the first invoice is scheduled for the next billing cycle (one month later), meaning the customer is not charged at the moment of checkout.

What I need is for the customer to be charged immediately when they subscribe, so that the first month’s payment happens right away, and subsequent renewals continue monthly after that.

There is no free trial on it.

Related Request ID(s)
req_2BFYDIMqNpLCz9

What have you already attempted?
I couldn’t find any information about this issue anywhere, not in the Stripe documentation, not in any forum, nor anywhere else online.

What are you working on?
I’ve created a SaaS web application, and I want to sell subscriptions for it, that’s why I’m integrating Stripe to manage the payments.

#

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

Question
Is anyone else getting failures with Stripe's v2 API?

Related Request ID(s)
req_v2miRRkx7teLRfOxA

What have you already attempted?
API requests (such as GET
/v2/money_management/financial_accounts) seem to work successfully in Stripe Dashboard, however, the same requests created via cURL and using stripe's v2 python sdk fail

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/expand/use-cases?utm_source=chatgpt.com

Question
I can't find the best way to adjust application fee according to Stripe taken fee for our setup:
- standard connected account
- destination charge

What have you already attempted?
read doc but so many variables

What are you working on?
online payment integration

#

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

Question
Michael Luo claims Apple allow subscriptions outside of the Apple ecosystem due a recent court ruling. Has this claim been upheld in the review process are you aware of? We currently accept both ios subscriptions and stripe via the web but it would be great to just use Stripe on iOS.

Previously Apple have been very strict in the review process about pricing display coming directly from their subscription servers etc, so I'm very curious to know if you've heard success stories of this not being the case now.

Thanks!

Doc/Guide Links
https://x.com/AzianMike/status/1917830346332332329

What are you working on?
Looking to move all our subscriptions to Stripe only

cursive heronBOT
#

@lucid saffron 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
I'm developing a Stripe Connected with the following capabilities [1]. For each connected account we would like to receive its events on a separate webhook. So account_1 events are sent to https://my.company/webhook1 and account_2 events are sent to https://my.company/webhook2

Is there a way to achieve this?

[1] connect-dashboard-type=none, connect-economic-model=revshare, connect-loss-liability-owner=stripe, connect-charge-type=direct

What have you already attempted?
Using the platform account webhooks, we currently receive events from all connected accounts together.

What are you working on?
Payment platform for my customer

cursive heronBOT
#

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

Error Message
Payment Element failed to load. Stripe API responded with the message:
You do not have the capabilities required for payment method `transfers`

Question
How do i clear this error message, Stripe embeded into WPForm

What have you already attempted?
Stripe AI, not much help

cursive heronBOT
#

@unreal 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/payments/elements/in-app-payment-element

Question
Hi i am trying to customise what is shown in the apple pay sheet

i can see that other companies can display that it is a payment authorization and there is free cancellation until a certain time

i cannot find any docs on this or any fields for applePay to allow this within stripe but i believe i am just not looking properly, can you guys help me find the docs for this?

What have you already attempted?
so i was using the embeddedPaymentElementView from useEmbeddedPaymentElement hook

and so i tried to add cartItems in EmbeddedPaymentElementConfiguration with paymentType deferred and also checked other fields that are accepted but dont know how to do it

then i also tried using the singular apple pay button to display with createPlatformPayPaymentMethod but that also does not have fields to show this

What are you working on?
barber shop appointment booking

cursive heronBOT
cursive heronBOT
#

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

Question
Following up to previous discussions which were closed due to running out of time:

https://discord.com/channels/841573134531821608/1431044542421008434
https://discord.com/channels/841573134531821608/1429964947017961494

As a summary, the Elements API `actions.updateBillingAddress()` claims that `billingAddress.name` and `billingAddress.address` are both optional:

https://docs.stripe.com/js/custom_checkout/update_billing_address

But if you don't pass at least `billingAddress.address.country`, it errors out.

Related Request ID(s)
req_y5ZA1eoFMca1tc

What have you already attempted?
I tried the suggested workaround to disable collecting name and email and listen to checkout session updates:

https://gist.github.com/bhamiltoncx/5933105d944ce1ce82690afeda26daba

But I don't see the country code; it's always `null`, even after changing the country code in the dropdown:

XXX checkout session changed: {"_sdkVersion":"clover","billingAddress":null,"businessName":"Terraformation sandbox","canConfirm":true,"currency":"usd","discountAmounts":[],"email":"benhamilton+test10@terraformation.com","id":"cs_test_a14yqD7jR3Q1D8mm5uZjOquSNJm56O2He7BuRD

What are you working on?
Migrating https://plant.terraformation.com from Stripe-hosted checkout form to Checkout Elements

cursive heronBOT
#

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

Code
const options = {
fields: {
billingDetails: {
email: "never", // Tried "auto" and "never"
address: {
postalCode: "auto",
country: "auto",
}
},
},
terms: {
card: "never",
},
paymentMethodOrder: ['apple_pay', 'google_pay', 'card'],
};

Question
We're using Stripe's PaymentElement with Apple Pay and Google Pay as the default payment methods. However, Apple Pay is not providing the user's email address in the payment method's billing_details, even though the user's name is being collected successfully.
Current setup:
Using PaymentElement (not Payment Request Button)
paymentMethodOrder: ['apple_pay', 'google_pay', 'card']
fields.billingDetails.email: "never" (also tried "auto")

What have you already attempted?
Tried finding specific instructions for Payment Element but could only find instruction for Payment Request Button... My guess is that only the Payment Request Button allow collecting the email from Apple unfortunately?
To be clear we were hoping to avoid having to ask for the email for Apple Pay/Google Pay users...

cursive heronBOT
#

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

Question
How do I use `PaymentIntent.create` with off_session=True such that if the payment fails, I know what the payment intent ID is?

Related Request ID(s)
req_7zmyAsqjXqHJwu

What have you already attempted?
I have some python code that calls `stripe.PaymentIntent.create`. In the event of a payment failure, it throws a `CardError` but I end up with little information about the payment_intent_id / charge_id (so I can fetch some info about the charge later)

cursive heronBOT
#

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

What did you expect to happen?
Currently updating subscriptions daily with updated products quantities. We have prorations for when quantities increase but not when quantities decrease. We also started using coupon codes for products. When a proration update happens on a product with a coupon code, it refunds the prorated (unused time) and calculates the remaining used time with the new quantity.

What actually happened?
in_1S0WLs2k4WuoSsumCPlKJerd: quantity increased -> refunds prorated unused time (with coupon) -> calculates remaining unused time with new quantity (w/o previous coupon discount) (expected)

in_1SJ0eb2k4WuoSsumawNA76rx: quantity increased -> refunds prorated unused time -> calculates remaining unused time with new quantity (w/ coupon discount)

Reproduction Steps
Have a subscription with a product that has a coupon code -> increase quantity with prorations on -> increase quantity with prorations on again

Question
Why did the proration with coupon in the refund + new cost differ between in_1S0WLs2k4WuoSsumCPlKJerd and in_1SJ0eb2k4WuoSsumawNA76rx. The latter case with the coupon proration sticking around is actually my desired behaviour but I can't figure out why they behave differently or how to recreate that.

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.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Error Message
Stripe Payout showing incorrect amount

Question
Stripe Payout showing incorrect total between balance_transactions and actual stripe payout amount

What have you already attempted?
I haven't done anything here as the issue lies on Stripe Dashboard

Reproduction Steps
Payout Details
Date: October 22, 2025, 8:00 PM
Account: Animals First Prod / acct_191KY5HcBSroL2U6
Payout ID: po_1SLC56HcBSroL2U6VOPnhvMl
Amount (per Stripe): $534.98

What are you working on?
I am creating sync logic between stripe and accounting software

#

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

Question
How do I prevent source_transaction amount from previous session from being used in next session?

Related Event ID(s)
req_0KDFu0nw6Jd6Dy, req_NRgPIE2NxtYkYb, req_JEEziciGP8aF2q, req_NaqH51Dt82EH06, req_i7XdmEEK3jBex4, req_y22y5T9bAMDEzI

What have you already attempted?
I tried source_transaction and transfer group

What are you working on?
payments and transfers

cursive heronBOT
#

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

Error Message
[cause]: StripeInvalidRequestError: Received unknown parameter: permissions[update_discounts]. Did you mean update_shipping_details?

Question
I am trying to use the dynamic update discounts API. However, I get the following error. I am wondering whether it could be because I am using Stripe connect and initializing a checkout on behalf of other Stripe merchants.

What have you already attempted?
I requested the beta access on the main Stripe account (https://docs.stripe.com/payments/advanced/dynamically-update-discounts).

cursive heronBOT
#

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

Code
I have a small issue. My website has a payment method using Stripe. Apple Pay and Google Pay were working fine on easytipping.com, but my friend changed the domain from easytipping.com to app.easytipping.com. Now, Apple Pay and Google Pay are not showing.
Please tell me where the issue might be so I can check it.

Question
I have a small issue. My website has a payment method using Stripe. Apple Pay and Google Pay were working fine on easytipping.com, but my friend changed the domain from easytipping.com to app.easytipping.com. Now, Apple Pay and Google Pay are not showing.
Please tell me where the issue might be so I can check it.

What have you already attempted?
I have a small issue. My website has a payment method using Stripe. Apple Pay and Google Pay were working fine on easytipping.com, but my friend changed the domain from easytipping.com to app.easytipping.com. Now, Apple Pay and Google Pay are not showing.
Please tell me where the issue might be so I can check it.

cursive heronBOT
#

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

Code
api_key = 'sk_test_....'
client = Stripe::StripeClient.new(api_key)
account = client.v2.core.accounts.create({...})

Question
I am using Ruby 3.6+ and stripe gem 13.5.
I get error `NoMethodError: undefined method 'accounts' for an instance of Stripe::V2Services` for the above call

What have you already attempted?
Did research and seems like accounts v2 is not implemented in Ruby sdk

What are you working on?
Build a SaaS platform reseller model

cursive heronBOT
#

@placid owl 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/manual-payouts

Question
Hello,
I'm a bit confused what is acceptable as external account number for connected account. Are IBAN and BIC/SWIFT number acceptable values?

What have you already attempted?
I'm using sandbox environment, it does not allow to set any value for external account number.

What are you working on?
Trying to add payouts to external bank accounts

cursive heronBOT
#

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

Error Message
The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.

Question
This issue is happening for a connected account with the TWINT payment method in the react-native integration. Is there something extra required from the partner account's end to setup TWINT?
https://dashboard.stripe.com/acct_1GDPndJ7XeRxWFUI/connect/view-as/acct_1Ro1aKEKtAIFwf39/workbench/logs?object=req_h0xrrb5aJslKB9&filtered=true

What have you already attempted?
Passing payment_method_data to the confirmPayment method of @stripe/stripe-react-native.

Reproduction Steps
Try to confirm a paymentIntent using TWINT as the payment method.

What are you working on?
Stripe payments in react-native

#

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

Error Message
Received an email regarding account being closed

Question
Received an email stating account being closed

What have you already attempted?
Contacting customer service I cannot talk to anyone. We only get an email .

Reproduction Steps
We are a small business that works at a flea market and travels around in festivals this is our platform for invoices and payments. We received an email that it’s closing down our account

What are you working on?
Trying to get account corrected so it is reopened

cursive heronBOT
#

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

Question
If a user already has a Standard Stripe account under the same email and attempts to onboard to Express with same email, will Stripe allow the onboarding to proceed or block it?

Related Request ID(s)
NA

What have you already attempted?
I tested this in the sandbox and wasn’t blocked—possibly because the email field is disabled there, whereas it’s enabled in live?

What are you working on?
I’m integrating cross-border payouts with Stripe Connect (Express) using the Transfers API.

cursive heronBOT
#

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

Question
How to get net amount include stripe charges (USD)
during api call PaymentIntentService create.
(api: /v1/payment_intents)

Related Request ID(s)
req_NhJD5YeuXOHTGc

What have you already attempted?
I found related docs like get balanceTransaction.Net;

What are you working on?
Net amount charges include all fee(strip fee)

cursive heronBOT
#

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

Question
Hello,

I would like to use the dynamic update discounts API. I applied with my main account, however it seems like I can't use it with the Stripe Connect of my customers if they don't request the access too.

Your online chatbot told me that each Stripe connect account had to request the access, which is not a viable solution for us (I guess that there will be some delay for each user until they get accepted).

So I would like to know, what is the best practice, without using the new dynamic update discounts API, to apply a promo code?

Is the only solution to create a new checkout session every-time a user applies a promo code? Or to not show the credit card form before?

Doc/Guide Links
docs.stripe.com/payments/advanced/dynamically-update-discounts

What are you working on?
a platform that allows users to sell products

cursive heronBOT
#

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

Code
<>
<ExpressCheckoutElement
id="express-checkout-element"
options={expressCheckoutElementOptions}
onConfirm={handleConfirmExpressCheckout}
/>
<PaymentElement
id="payment-element"
options={paymentElementOptions}
/>
</>

Question
Hi,
At the moment I'm using PaymentElement with checkout session context. But I couldn't se the klarna and other payment options I activated.
Do I need to add: ExpressCheckoutElement for those options to be visible?
And if so. Then do I need to catch the success event in frontend and redirect to success page like checkout session does or?

What have you already attempted?
I development I have tried to display the ExpressCheckoutElement but it's not working.

What are you working on?
A saas platform and get paid for a service in the platform.

cursive heronBOT
#

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

Question
I can't get webhooks working. I have 2 sandbox - one for development and another for staging.
The one for development has a local listener, and I can receive different updates like capability updates.

However when I setup webhook on staging, stripe does not generate any webhooks.

Related Event ID(s)
evt_1SMBE6JfwvSij8amNW2Ueo49

What have you already attempted?
Sending webhooks using terminal works, I see that my functions triggers. But when I change something in account via dashboard - there is no webhooks.

What are you working on?
Application for invoicing using stripe connect

cursive heronBOT
#

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

Error Message
"PAYMNET_ERROR.DECLINE_BY_STRIPE_API" in createPaymentIntent
tap to pay via react native latest version

Question
we see this error and after rerun app and init stripe terminal
error gone

What have you already attempted?
chat with AI Assistant
It said The transaction appears risky according to Stripe's risk rules
nothing logged in stripe dashbaord

acct_1Frr2CLmjdnG8GX0

cursive heronBOT
#

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

Question
ready event on payment element seems to be firing before loaded

Related Request ID(s)
notsure

What have you already attempted?
debug page - put alert when paymentelement ready event fires - can clearly see the UI is not loaded

#

@red sierra 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?platform=react-native&ui=payment-sheet#react-native-apple-pay

Question
How can i test apple pay while in test mode currently i am using react-native-payment sheets in debug it shows apple pay button but in release it does not show apple pay

What have you already attempted?
tried adding a payment method in physical device wallet and it is enabled for apple pay

What are you working on?
i am working on react native payment sheets for payment collection and apple pay should be an option for user as well

cursive heronBOT
#

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

Question
My payments have been paused. Need API for website as well. Thanks

Related Request ID(s)
Not sure

What have you already attempted?
Uploaded documents.

What are you working on?
Need to get back into stripe and need api

#

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

Question
My users can fill there shopping cart with subscriptions to items with a different billing cycle. However, it seem stripe doesn't support this? I get: Checkout does not support multiple prices with different billing intervals. How to deal with this? I don't want my users to start payment for each item in the list...

Related Request ID(s)
no id

What have you already attempted?
I just started with stripe

What are you working on?
web app

#

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

Error Message
stripe.js:1 Uncaught (in promise) IntegrationError: You specified "never" for fields.billing_details.address when creating the payment Element, but did not pass confirmParams.payment_method_data.billing_details.address.country when calling stripe.confirmSetup(). If you opt out of collecting data via the payment Element using the fields option, the data must be passed

Question
I am trying to use the payment elements from the Stripe SDK on a react web applications. I have a client secret for Germany and SEPA direct as payment method. The Stripe docs mentions that for SEPA direct within EU the billing address is not required. However, after integrating the payment elements from Stripe to my app and setting the billing address field to "never

What have you already attempted?
https://docs.stripe.com/payments/quickstart?client=react&lang=java
https://docs.stripe.com/payments/sepa-debit/accept-a-payment?platform=web&client=react
https://docs.stripe.com/payments/sepa-debit
I have read and followed the above docs.

What are you working on?
I am building a web page to collect payment methods from users with Stripe.

cursive heronBOT
#

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

Question
I have a flow that works like this:

The user accesses my app and sees a 'plans' page where my products are provided. They then select one of the plans and purchase. This purchase is made through the checkout endpoint. But what if the user wants to change plans? Would it be necessary to create a cancellation endpoint and call another checkout endpoint, or does Stripe provide this API for directly changing plans/products? Keep in mind that I'm using JavaScript and Node.js.

Related Request ID(s)
req_9M328lQVOYC8KN

What have you already attempted?
I tried using the endpoint:

curl https://api.stripe.com/v1/subscriptions/sub_1MowQVLkdIwHu7ixeRlqHVzs
-u "sk_test_•••E4gj:"
-d "metadata[order_id]"=6735

and parameter:

"items"\: \[
{
  "id"\: "si\_xxx",         // ID do item da assinatura existente
  "price"\: "price\_new"    // ID do preço/plano para onde vai mudar
}

What are you working on?
a page for subscription on plans then can be possibly updtade your plan. for this i have to use 2 endpoints: one of cancel and other for checkout OR stripe have some enpoint to od all

#

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

Question
Hello,

Is there something like ConfirmationMethod = 'manual' for Setup Intents? Or do we need to hide the actual client secret from the clients?

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

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

Code
const elements = stripe.elements({
locale: 'de',
mode: 'payment',
amount: 1099,
currency: 'usd',
});

Question
We're trying to mount Express Checkout Element for our payments. https://docs.stripe.com/elements/express-checkout-element
and using Checkout Session API to create a session. https://docs.stripe.com/payments/quickstart-checkout-sessions?client=react
Is it possible to mount "Express Checkout Element" with mode=subscription because for now it looks like the element for one-time payment?

What have you already attempted?
Is it possible to mount "Express Checkout Element" with mode=subscription because for now it looks like the element for one-time payment?

const elements = stripe.elements({
locale: 'de',
mode: 'subscription',
amount: 1099,
currency: 'usd',
});

What are you working on?
Payments for web

cursive heronBOT
#

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

Question
Hi, we're a little confused about the onboarding process for connect accounts.

We want to use the connect feature to have them connected to our accounts for easy fee management, currently each client have their own stripe account that are connected with their api keys directly.

We are planning to use the stripe hosted onboarding, nothing is live at the moment so we can take on any recommendation that future proofs our setup.

Question:

  1. Can they use their current account that they signed up themselves previously with the onboarding or will it create a new account?

Any help and guidance to a process that we should follow will be much appreciated.

Thanks

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

What are you working on?
Connect integration

cursive heronBOT
#

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

Error Message
the response the app gets back from stripe is { googlePay: false, applePay: false, link: true }.

Question
The issue we are experiencing is when a user is using digital wallets in the google chrome browser and the app calls the canMakePayment() function Stripe JS Reference, the response the app gets back from stripe is { googlePay: false, applePay: false, link: true }.
This indicates digital wallets is not permitted for the current session.

What have you already attempted?
We have verified the browser is up to date, the user has a valid credit card in their google pay, and no failed network requests were logged.
Interestingly, the google pay wallet will work for some users, but not all, unless we throttle the browser’s network to 3G for users who are experiencing the issue.

#

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

Question
How can I receive the Radar's transaction's acceptance rate

Related Request ID(s)
pi_3SMp7tHIIiQEaaQS1csYtn3P

What have you already attempted?
I already checked in payment intent and charges

What are you working on?
Process payment data to validate rentals

cursive heronBOT
#

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

Question
reopening previous chat - not sure why it was closed so quickly?

Related Request ID(s)
notsure

What have you already attempted?
extensive debugging on front end

What are you working on?
Integration with GoHighLevel

cursive heronBOT
#

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

Question
You cannot perform this request as you do not have Platform Controls for the Stripe Dashboard on the account. Learn more at https://docs.stripe.com/connect/platform-controls-for-stripe-dashboard-accounts.

Related Request ID(s)
req_ZRsUpLFtclCadm

What have you already attempted?
I have a connected account (acct_17QCgDChCzTFj30F), connected in several platforms that I manage, and under connected accounts it is listed as restricted because of an overdue SEPA debit requirement, but we do not need SEPA as payment method for the connected account, I cannot disable the payment method on the specific payment method configuration for the platform which is connected to because it says that the platform manages it. If in the platform I try to modify capabilities for that connected account, it doesn't let me remove the sepa debit (even if says unavailable)

What are you working on?
checking everything is in order

cursive heronBOT
#

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

What did you expect to happen?
I expected all Stripe Connect accounts to be created utilizing my own platform's flow so I have a record in db and can verify/match if it exists.

What actually happened?
Somehow stripe connect account was created and i have no record in database of this user at all.

Reproduction Steps
Is there a way to reproduce this? Especially without secret key?

Question
How could this be possible without Stripe Key?

What are you working on?
Ecommerce project

cursive heronBOT
#

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

Question
Hi, I’m having issues with the Twint payment method connected to my Shopify store via CartDNA (Stripe connector).

Twint is enabled and active in my Stripe dashboard, but when customers try to pay, they get this error:
"Wir können Ihre Zahlungsmethode nicht überprüfen. Wählen Sie eine andere Zahlungsmethode und versuchen Sie es erneut."

The transaction then fails, and in Stripe the PaymentIntent shows:
payment_intent_authentication_failure (HTTP 402) — “The provided PaymentMethod has failed authentication.”

Example log:
POST /v1/payment_intents/pi_3SMvULCEC318OOC.../confirm

Can you please

Related Request ID(s)
req_hmDR5puwltVewo

What have you already attempted?
I’ve already confirmed that Twint is active in my Stripe dashboard and properly enabled for CHF.
I tested multiple transactions via CartDNA (Shopify connector), all returning authentication failures.
CartDNA verified that their configuration works and referred me to Stripe since this issue happens on the Stripe side during the Twint authentication handshake.

What are you working on?
I’m building a Shopify store for the Swiss market using CartDNA with Stripe as the main payment processor. Twint is required for local payments in Switzerland, and I need to ensure the Twint integrat

#

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

Question
Need removing SEPA capabilities from a connected account acct_17QCgDChCzTFj30F on several platforms via the API as the dashboard is not letting me. I was with chat support and told me that I have to do this manually by using API request

Related Request ID(s)
req_TEDYshgEiqIqRP

What have you already attempted?
I need to remove the sepa dd capability from the connected account acct_17QCgDChCzTFj30F via API, I need assistance.

cursive heronBOT
#

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

Question
what are stripe webhook event timestamps actually based on? Since webhook delivery order is not guaranteed, is this event dispatch timestamp or entity update/creation timestamp

Related Event ID(s)
evt_1SMwJHLmdOdiMXBsZYevMiVY

What have you already attempted?
all stripe event docs

What are you working on?
webhook handler for high volume connect platform

#

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

Question
I need some technical direction on setting up connected accounts and checkout sessions via SDK and API interaction. We want to allow Stripe customers to link their accounts to our platform so that they can process payments for invoices from our platform via checkout sessions linked to their own connected stripe accounts.

Related Request ID(s)
There aren't any

What have you already attempted?
I've browsed a lot of the API and SDK documentation, downloaded the Postman collection for researching, interacting and browsing. Really trying to save some time by leveraging your expertise, as I'm new to Stripe integrations.

What are you working on?
Stripe Connect platform, allowing our customers to accept payments into their own Stripe accounts via checkout sessions provided by our platform

cursive heronBOT
#

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

Code
no code to show at all for now

Question
Payment Intents in Stripe don't support itemized line items for receipts. They only show:

  1. A single product line (pulled from order description/metadata)
  2. Tax breakdown (pulled from Tax Calculation)
  3. Total

I need to add shipping price. Any ideas?

What have you already attempted?
create a simple payment intent

cursive heronBOT
#

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

Question
How can I align embedded checkout horizontally? Currently, when I test it out everything is aligned vertically into one long column, and details (pricing, quantity) are all hidden and have to press the button to expand them.

Related Request ID(s)
none

What have you already attempted?
...

cursive heronBOT
#

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

What did you expect to happen?
For ACSS payment method, I was expecting a payment

What actually happened?
I am getting: " Attempted to charge the customer's payment method on file once and failed. Payment will be retried on Oct 29."

Reproduction Steps
setup ACSS and verify account, and start a recurring payment

Question
The customer is confirming that there is sufficient funds in the account!! Why the payement diid not go through?

cursive heronBOT
#

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

Code
Code is not commited yet

Question
We currently use your stripe connected accounts.
When we process a payment for a customer, we are forced at the moment to use the "on_behalf_of" feature because in conjunction with the fees that Stripe has, we have 2 fees we need to satisfy:

  1. Chaty's payment fee (0.25 USD)
  2. Twilio's payment fee (0.15 USD)
  3. Stripes fees.

What have you already attempted?
When I attempt to use the API by providing the stripe connected account ID (our clients ID), our fees are not added. Noting we have configured the fees in the stripe system.
This is why we're forced to use the on_behalf_of tool, add the fees manually and then we're in control of the payment and as we've discovered responsible for negative charges.

cursive heronBOT
cursive heronBOT
#

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

Error Message
Stripe Payment doesn't have balance_transactions linked

Question
This payment: https://dashboard.stripe.com/acct_1GbHf9D0GJw3mNe4/connect/view-as/acct_1PiM0hEiiqlFBM3y/payments/pi_3SMvO5EiiqlFBM3y1yz4rDcd

Doesn't have linked to balance transaction, It also says that payment successful and refunded at the same time

What have you already attempted?
I haven't retried anything as it is an error from Stripe

cursive heronBOT
#

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

Link to the Doc/Guide in question
Crypto payment in checkout session

Question
I am using checkout session in my application, I have enabled the crypto payment method option, but when i redirected to cypto.stripe.com to complete the payment, I am being asked to connect a wallet which i connected but then after, it is showing the error for insufficient funds in wallet. I am in test mode, shouldn't it allow test payment of any amount?

What have you already attempted?
I am just trying for the first time, with metamask, it asked me to install extension, which i did and then tried to make payment but insufficient fund error in test mode.

#

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

Error Message
Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid

Question
Is it required that the Tap to Pay entitlement be granted by Apple?

What have you already attempted?

  1. We have managed the permissions in info.plist file.
  2. We have configured .entitlement files.

What are you working on?
We are working on Stripe Tap to Pay for ReactNative platform

cursive heronBOT
cursive heronBOT
#

@fading schooner 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/express/questions/am-i-able-to-use-the-email-used-for-my-express-account-to-open-a-standard-account-with-stripe?utm_source=chatgpt.com

Question
Can we onboard a user to Connect Express with the same email they use for a Standard Stripe account?
Note: In sandbox, the email field is disabled and can’t be set. What should we expect in production?

What have you already attempted?
I have tried in sandbox and it's working steps i have followed
- Crated on standard account with ( i.e., test@yopmail.com )
- try to create account using the same email ( test@yopmail.com ) and initiate the onboard

What are you working on?
I’m developing a creator payout module for our platform that supports cross-border disbursements to connected accounts, leveraging the Transfers API.

#

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

Question
Hello,
Quick question about PaymentElement + SEPA:
When using <PaymentElement> component +
`fields: { billingDetails: { address: 'if_required' } }`
the address fields still always show no matter if the bank requires it.

Is that expected? How does the if_required logic actually work for SEPA, and why does it show by default?

With tested with <IbanElement> component, we can store SEPA without asking for address — is there a way to make PaymentElement behave the same or catch a specific “missing address” error to ask it only when needed?

Also, do you know what address fields banks really require (full address vs just country/postal code) ?

Thanks a lot 🙏

Doc/Guide Links
https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails-address

What are you working on?
Building a subscription form website

cursive heronBOT
#

@vital condor 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/

Question
In the webhook page we see a version being applied being API version '2020-08-27'. However the docs doesn't show this version anymore.

What have you already attempted?
Changing the url forces me to the current, latest version.

What are you working on?
Ecommerce platform - we're changing CRM version so we need to make changes to our Stripe webhook

cursive heronBOT
#

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

Code
const paymentElement = checkout.createPaymentElement({
fields: {
billingDetails: {
email: 'never',
phone: 'never',
address: {
country: 'never',
},
},
},
});
paymentElement.mount('#checkout-container-inner');

Question
How to hide email and phone for payment element? Is it correct init for payment element? because for now these fields is still visible.

What have you already attempted?
const paymentElement = checkout.createPaymentElement({
fields: {
billingDetails: {
email: 'never',
phone: 'never',
address: {
country: 'never',
},
},
},
});
paymentElement.mount('#checkout-container-inner');

What are you working on?
Payment screen for web

cursive heronBOT
#

@fading schooner 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/transfers

Question
Scenario: US platform sending funds to an Indian creator via Express Connect.
Question: Which currency should we set on Transfers API —USD or INR?

What have you already attempted?
I have tried with usd it's working and receiver got in inr, but actually i have to send fund in inr.. I have tested in sandbox while using inr it says insufficient balance.

What are you working on?
I’m integrating Stripe: building a module that pays connected creators via Stripe Connect, using Transfers for platform-to-creator flows and enabling cross-border payouts.

cursive heronBOT
#

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

Question
I need to adjust the metered usage for a subscription but the meter events that I need to cancel are older than 24 hours. Is there a workaround for this? I would be ok with resetting usage for the current billing cycle.

Doc/Guide Links
https://docs.stripe.com/api/billing/meter-event-summary

What are you working on?
Payment integration for SAAS application selling a usage-based product

cursive heronBOT
cursive heronBOT
#

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

Question
For stripe bank transfer, how do you suggest implementing the webhook, and how do we test?

It typically need 2-4 days to get a success status? How can make facilitate the test bank transfer and test?

Related Event ID(s)
N/A

What have you already attempted?
Researching Stripe doc

What are you working on?
A rental marketplace

cursive heronBOT
#

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

Error Message
...

Question
sub_1OfrjjJZ9pJk48QCFNlJzGQf
This subscription have interval of 1 month so why from 31 aug next date was calculated as 1 oct and more weird from 1 oct to 30 oct instead of 1 of nov?

What have you already attempted?
...

#

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

Question
I am creating a checkout session secret with `checkout.sessions.create` using `mode: setup` and `ui_mode: custom` to use the Stripe Elements payment form to capture payment method to use later. I want to set it as the default payment method, so I am listening for the webhook `checkout.session.completed` with `session.mode === 'setup'`. I am using this to set the default payment method on the customer from:

const setupIntent = await stripe.setupIntents.retrieve(
session.setup_intent.toString()
);
const paymentMethodId = setupIntent.payment_method?.toString();

Related Request ID(s)
req_MYqLeO9uaID6rZ

What have you already attempted?
Tried following the documentation

What are you working on?
Custom signup for SaaS Product

#

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

Error Message
Você criou muitas tentativas de verificação de documentos para esta conta. Fale conosco em https://support.stripe.com/.

Question
Estou tentando concluir minha conta vinculado ao meu perfil da Kick e não consigo subir o documento como solicitado.

What have you already attempted?
Estou tentando concluir minha conta vinculado ao meu perfil da Kick e não consigo subir o documento como solicitado.

#

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

Question
How do I, through Webhooks and integrations like Make, configure a payment split between my conected standard accounts?

Related Event ID(s)
billing_portal.configuration.updated (I guess?)

What have you already attempted?
I'm searching in every possible way a form to do this. I tried reading what the AI agent said, didn't understand anything. Tried reading about the API, didn't understand. Tried to workout an automation trough Make, have no idea how. Even asked chat GPT but it's also not making sense to me, I just want to configure what they call "Checkout Session" for mu Connected accounts subscriptions to split the value between me and them. They are Standard Accounts, can't be Express due to Location.

What are you working on?
An online plataform with different access plans that provides different benefits depending on the plan chosed, and the conected accounts recieve a % based on the clients they bring

#

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

Code
elements.update({ mode: 'setup', customerSessionClientSecret: 'my_client_secret' });

Question
I'm working on implementing Payment Element in React.js and it went well but product team asked me some changes

What have you already attempted?
- Is it possible that when I do `elements.update` with `customerSessionClientSecret` to open the tab of saved payment methods?
- Is it possible to rename tab title? Instead of `Saved` to have another text like `Old payment method` or instead of `Credit Card` to have `Add a credit card`

cursive heronBOT
#

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

Question
I am creating a checkout session secret with `checkout.sessions.create` using `mode: setup` and `ui_mode: custom` to use the Stripe Elements payment form to capture payment method to use later. I want to set it as the default payment method, so I am listening for the webhook `checkout.session.completed` with `session.mode === 'setup'`. I am using this to set the default payment method on the customer from:

const setupIntent = await stripe.setupIntents.retrieve(
session.setup_intent.toString()
);
const paymentMethodId = setupIntent.payment_method?.toString();

Related Request ID(s)
req_MYqLeO9uaID6rZ

What have you already attempted?
https://discord.com/channels/841573134531821608/1432745481276227645

From this past conversation, I tried to attach the payment method to a customer and received this error:

Processing customer.subscription.updated with evt_1SNFglEXjRBPmDmBFbrbfxBI...
StripeInvalidRequestError: PaymentMethods of type 'bancontact' cannot be saved to customers.
at generateV1Error r

What are you working on?
Custom SaaS payment setup

#

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

Code
const account = await stripe.v2.core.accounts.create({contact_email,display_name:producer.name,identity: {country: "no",entity_type: "company",business_details: {registered_name: producer.name,},},configuration:{merchant:{capabilities:{card_payments: {requested: true,},},},},defaults:{responsibilities:{fees_collector: "stripe",losses_collector: "stripe",},},dashboard: "express",});

Question
I'm trying to use the new accounts v2 endpoint. I keep getting an error the the JSON body is not correct. All the variables in the code is are confirmed valid strings. Can anyone see why this body is not valid?

What have you already attempted?
I have read the entire create documentation.

https://docs.stripe.com/api/v2/core/accounts/create?api-version=2025-09-30.preview&lang=node

What are you working on?
A platform for buying products directly from farmers.

cursive heronBOT
#

@craggy zinc 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#device-types

Question
I am reaching out to inquire about the Castle POS device and its support for tap-to-pay functionality. Could you please clarify whether the Castle POS device supports this feature? If not, I would appreciate any insights into the reasons behind this decision.

We want to create application where the Tap to Pay/ Swipe with stripe using Castel device, So could you please suggest us how we can achieve this functionality in Castel device

What have you already attempted?
We can open the pop-up on other devices like Sunmi

cursive heronBOT
#

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

Error Message
My payments activation was declined with a generic message saying that Stripe cannot support my application at this time. I would like to request a manual review since my business model is fully educational.

Question
Could you please manually review my account for payments activation?

We provide subscription access to an online educational community and an interactive *market simulation* tool with virtual balances only.

We:
• do NOT execute trades
• do NOT provide investment advice
• do NOT handle customer funds for trading
• do NOT offer any financial services

This is fully

What have you already attempted?
I completed onboarding, verified my business details, added a product page, wrote Terms/Privacy/Refund policies, and provided a clear product description as requested.

I also checked support documentation and compliance guidelines to ensure our offering does not involve restricted activities. The message still appears and payments remain inactive.

Reproduction Steps

  1. Log into Stripe Dashboard with my verified account.
  2. Navigate to: Settings → Payments → Activate Payments.
  3. Complete all required business information fields.
  4. Submit product description, pricing model, support information, and website link.
  5. The activation page immediately returns a generic decline stating that Stripe cannot support my application at this

What are you working on?
We are building an online educational platform with a private membership community. Members receive weekly learning conten

#

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

Error Message
We are troubleshooting an issue where the payment method does not load

The current stripe library we are using:

"@stripe/react-stripe-js": "^2.1.0",
"@stripe/stripe-js": "^1.52.1",

The issue we are experiencing is when a user is using digital wallets in the google chrome browser and the app calls the canMakePayment() function Stripe JS Reference, the respons

Question
What are the requirements for the customers devices (browser or phone) and what browser/session settings could be causing the pay.js to fail.

What have you already attempted?
Stripe suggested the issues we are seeing loading the Google Pay button intermittently is likely due to the individual user’s browser/session. They suggested to monitor the pay.js in the browser in instances where this happens

cursive heronBOT
#

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

Question
is it possible to enable automatic payment methods on the payment intent created by finalizing an invoice?

Related Request ID(s)
req_SXopCu8c61t4Ln

What have you already attempted?
I've tried creating the invoice, finalizing it, returning the payment intent that gets implicitly created to the frontend but the 400 error occurs because automatic_payment_methods.enabled is not set to true

What are you working on?
a form to collect donation amounts

cursive heronBOT
#

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

Code
Refering to earlier thread

Question
I now have a request id and an error message:

req_v2krdjDqoCuzfOTi8 - /v2/core/accounts - The API method cannot be found.

What have you already attempted?
If this is still not relevant, just close the thread.

cursive heronBOT
#

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

Question
I need a way to download Sigma reports directly to a drive folder through Zapier.

Related Event ID(s)
id

What have you already attempted?
I tried through webhook with a SK authentication and is not working, I get The app returned "invalid_request_error".

What are you working on?
download Sigma reports from the e-mail directly to a drive folder through Zapier. If there is any other way that would be fine.

#

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

Question
I have a subscription and I am going to add a new item, but before paying, I want to see how much I would end up paying in total for my subscription when I pay for the new period, that is, the next invoice. How can I find this information?

Related Request ID(s)
None

What have you already attempted?
I have been using create_preview(), but I see that the amount_due is much higher than what customers actually pay. What can I do?

What are you working on?
preview invoices

#

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

Question
I have a PI. I need to get custom fields for the session that produced the PI. How can I get Session from PI?

Related Event ID(s)
pi_3SNFy9QaOhOHAMiE05P1RL4u

What have you already attempted?
I'm using python or PHP. I read through PI object but can't find a way to get custom fields used in the transaction.

What are you working on?
Table number at a dance.

cursive heronBOT
#

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

Question
I am trying to resume a paused subscription after a trial after setting up a customer's default payment method to a `bancontact` or `ideal` `payment_type`. I encountered this error after trying to resume the subscription:

StripeInvalidRequestError: You cannot set `payment_behavior` to `pending_if_incomplete` when the default payment method is `sepa_debit`.

Related Request ID(s)
req_ZRbV19CPfodMGA

What have you already attempted?
Reading the docs

What are you working on?
Custom SaaS signup workflow

cursive heronBOT
#

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

Question
can u guys accept my process of changing my phone number

Related Event ID(s)
em_h1w4nuslw8duk5nudx0vs83ah3fwf9

What have you already attempted?
im waiting for an answer from ur support

What are you working on?
i wanna access my cs float express account

cursive heronBOT
#

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

Error Message
Failed to upload 1000020837.gif

Question
My image is not too large I compressed it so it should be able to be uploaded

What have you already attempted?
I've attempted compressing the image to meet the size requirements but now I just keep getting an error saying I can't upload it

Reproduction Steps
I wanted to check and see if it was only for this.Image, it turns out it was for anything I tried to upload.I would get that error.

What are you working on?
Trying to upload this image so I can place it in my product description

cursive heronBOT
#

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

Code
# Calculate surcharge: Stripe fee (1.7% + $0.30)
stripe_fee = (amount * 0.017) + 0.30
surcharge_amount = round(stripe_fee, 2)

    session = stripe.checkout.Session.create\(
        ui\_mode='embedded',
        line\_items=\[
            {
                'price\_data'\: {
                    'currency'\: currency,
                    'unit\_amount'\: amount\_in\_cents,
                    'product\_data'\: {

Question
According to Stripe’s Australian pricing
, the surcharge rates are:

1.7% + A$0.30 for domestic cards

3.5% + A$0.30 for international cards

However, there’s no information provided about how the tax amount (GST) is calculated. The Stripe processing fee and tax are both deducted from the total amount.

Could you please let me know where I can find the formula or documentation for Stripe’s tax (GST) calculation on processing fees?
Very very important for our software.

What have you already attempted?
Tried to add 10% of the surcharge as tax, which is incorrect.

cursive heronBOT
#

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

Question
We want to switch our Stripe account from the current Canada-based account to a US based account (Our company operates in both countries) to enable us do cross border payouts. Do we have to create a new Stripe account that is set up with US information, and if so, is there an API to migrate all our customer data over from the current Canada based stripe account to the new US one so that we do not lose any data? Is there a simpler way without creating a new stripe account and just change some settings on our existing Canada based account to change the account region from Canada to US?

Related Request ID(s)
Request req_kVYjyZPgna3vEl: Funds can't be sent to accounts located in US because it's restricted outside of your platform's region

What have you already attempted?
I have reached out multiple times to stripe support and have confirmed that cross border payouts only work for US based Canada accounts

What are you working on?
a commission system for our affiliated merchants

cursive heronBOT
#

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

Question
I am trying to create custom integration, When I submit paymentElement on UI, I call stripe.createPaymentMethod() and submit the paymentMethodId to the backend.

On server, I call stripe.paymentIntents.create() passing in the paymentMethodId and expect to get back the Intent that has the card information chose on UI. It has multiple payment options.

Related Request ID(s)
not sure

What have you already attempted?
Lots of debugging!

cursive heronBOT
#

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

Question
Hello, I have created a sandbox account, created a customer, created a payment charge such that it gets disputed. But the webhooks are not getting fired for this event.

Related Event ID(s)
we_1SNEpEHYSFRrt8SLqsc8jjKe (webhook ID)

What have you already attempted?
We have added all related events for disputes

cursive heronBOT
#

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

Question
We are using the PENDING_IF_INCOMPLETE payment behavior when updating our customers' subscriptions via the API.
1、If the payment for such an invoice fails initially, will Stripe automatically retry collecting the payment according to the standard dunning schedule?
2、If automatic retries do occur, what is the recommended way to prevent any retry attempts? Our goal is for the invoice to be attempted only once. If the initial payment fails, the invoice should be marked as failed and no further automatic collection attempts should be made.

Related Request ID(s)
no

What have you already attempted?
no

cursive heronBOT
#

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

Question
I have a problem with subscription updates, when during updaterequest (payment behavior allow_incomplete) payment fails because of 3DS error. Currently when this happens, stripe subscription gets updated anyway and when payment retry period finishes and it still fails 3DS, subscription gets cancelled.
Because of my inner subscription handling logic I cant use pending_if_incomplete flag. I want stripe to do nothing with subscription if payment failed, then client should authorize 3DS and I would retry subscription update.

Related Request ID(s)
no

What have you already attempted?
If subscription update request (payment behavior error_if_incomplete) fails because of 3DS, I catch an error and create setup intent and send url for client. When client uses provided url, they get redirected to 3DS page, but page does not load and redirects to return_url destination. It seems that it was an auto succeeded 3DS, because I get and setup_intent.succeeded event via webhook. But if I try to do and update request again - it still fails on 3DS. Why? Is it possible to solve it? Payment method is used the one that is connected to subscription

#

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

What did you expect to happen?
Hi,

We just enabled ideal and bancontact on our elements checkout, and it is not showing. We expect to see it.

What actually happened?
From my investigation (i mean chatgpt'ing) it looks like our account has an experiment enabled.

"experiment_metadata": {
"lpm_holdback_t1_payment_methods": [
"ideal"
],
"lpm_holdback_t2_payment_methods": [
"ideal"
]
}

Reproduction Steps

  1. Create account
  2. Enable iDeal
  3. Do not see ideal on checkout
  4. open network console to see details
  5. paste elements details in chatgpt

Question
Can we get the experiment removed from our account so we can see ideal happening?

What are you working on?
A elements checkout for our WHMCS instance.

cursive heronBOT
#

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

What did you expect to happen?
I just wanted to provide my identity documents

What actually happened?
Hi please help me!
I have been locked out of my account
No matter what I do when trying to verify my id it takes me back to the login screen with a “too many attempts” prompt

I ONLY GOT MY PASSOWRD WRONG 3 times!
I’ve been locked out now for days

Reproduction Steps
Any time I try to login

Question
How do we fix this please I need my money

What are you working on?
Huh?

#

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

Error Message
Criei uma conta na stripe para meu site e não estava com meu documento física para verficiar minha identidade e minha conta foi descontinuada. Gostaria de resolver isso agora que tenho meios

Question
okCriei uma conta na stripe para meu site e não estava com meu documento física para verficiar minha identidade e minha conta foi descontinuada. Gostaria de resolver isso agora que tenho meios

What have you already attempted?
Criei uma conta na stripe para meu site e não estava com meu documento física para verficiar minha identidade e minha conta foi descontinuada. Gostaria de resolver isso agora que tenho meios

cursive heronBOT
#

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

Question
Getting "Some fields in the request were invalid: 'metadata[xxxx]: Metadata key 'xxxx' must be a string.'

Related Request ID(s)
req_v28lAjFJyovj6Bnh2

What have you already attempted?
remove the field works

cursive heronBOT
#

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

Code
[[ReaderHandler shared] checkoutForCustomer:_attendee WithAmount:amount WithDelegate:self withCompletion:^(BOOL isSuccess, SCPPaymentIntent * _Nonnull confirmResult, NSError * _Nonnull error)
{
if (error)
{}
}];

Question
I am testing Stripe payment on the simulator. I have updated pod today so SDK is up to date. I am getting below error msg in log

createPaymentIntent succeeded
Swipe / Insert / Tap
Swipe / Insert / Tap
Remove Card
Remove Card
collectPaymentMethod succeeded
Printing description of error:
<SCPConfirmPaymentIntentError: 0x600001805700; code = 6000; message = Allowable number of PIN tries exceeded. In testmode, using a physical test card with designated amount ending values prod

What have you already attempted?
I am trying to fix this so I have updated the sdk.

cursive heronBOT
#

@ancient glade 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 evidence of the money on Stripe instantly

What actually happened?
Money showed up after 1 hour

Reproduction Steps
Made an instant bank transfer

Question
I'm testing the customer_balance payment method in production. I made an instant bank transfer (bonifico istantaneo). I expected to see evidence of it on Stripe instantly but it showed up after 1 hour. Is this the correct behavior?

What are you working on?
Customer balance payment method

#

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

What did you expect to happen?
User signs up for a 7 day free trial, after 7 days gets charged

What actually happened?
User charged on day 1 and again on day 8

Reproduction Steps
Its a one off I think. I am trying to piece together what happened from the webhooks. Looks like they went from status, trialing, to active, and then trialing again? I am very confused how they got into this state. Trying to see if its a problem with my API calls.
https://dashboard.stripe.com/acct_1HwypGC29OKMRxYZ/customers/cus_TCYtMJMmqL7Wor

Question
What is happening with this user? I am trying to understand why they were charged twice, was it a problem on my end with our api calls or just a glitch on the stripe side. Trying to see how they were charged twice for this one subscription

What are you working on?
SaaS product, subscribe for access to certain features. User charged twice for it

cursive heronBOT
#

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

Question
I'm working on creating a payment intent for a Klarna transaction toward the end of our checkout where we have all the information. I'm following this guide:

https://docs.stripe.com/payments/klarna/accept-a-payment?web-or-mobile=web&payment-ui=direct-api&lang=curl

I'm receiving this error:

The PaymentMethod provided (klarna) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "klarna".

Related Request ID(s)
req_e71VHmyGuGtZhE

What have you already attempted?
I've worked through all the validation errors with parameters, but I'm not sure why it's now erroring out.

What are you working on?
Payment Intent for Klarna passing all the information.

cursive heronBOT
#

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

Code
https://gist.github.com/irplonk/7b3ef24ec94573949b8b2aa96204c4cf

Question
I am seeing an issue in QA on OnePlus devices (Android 12) where the generic card view on the lefthand side of CardInputWidget isn't showing up, but the card brand view will after the user has typed a sufficient number of digits. I had a QA engineer run the example Compose activity with CardInputWidget on her device, and she was able to see the generic card view.

What have you already attempted?

  1. Added forced layout refresh and invalidation to handle device-specific rendering issues
    * Added `post { requestLayout(); invalidate() }` in the factory block
    * Added `update block with requestLayout()` to force refresh on recomposition
  2. Removed the custom theme wrapper to test if theme conflicts are causing the issue
  3. Added explicit height constraint and removed border/padding modifiers

What are you working on?
Custom add debit card screen

#

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

Question
Can I please get a free like template for making a local npm and html webpos thats local hosted to send a payment intent to my Stripe S700

Related Request ID(s)
N/A

What have you already attempted?
I have tried ChatGPT.

What are you working on?
Making a local small basic WebPos to send paymentintents to my Stripe S700

cursive heronBOT
#

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

Question
I run a Stripe Connect platform called Kiln Fire for Pottery Studios. They have their own accounts with Stripe.

I am looking for clarification on pricing/billing. We recently learned more about the Invoicing Fee as well as the Billing Fee. We need to make our customers aware of that since its pretty hidden in your interface.

Am I understanding correctly that no transaction could have BOTH the Invoicing fee (.4%) AND the Billing fee (.7%)? It would have one or the other? (Or in the very few cases where we do a one-off payment without an invoice, it could have neither)

Doc/Guide Links
https://stripe.com/pricing

What are you working on?
Kiln Fire Pottery Studio Management Software

#

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

Question
Good morning!

I'm using customer sessions / payment intents with the payment element and want to only show the 'Saved' payment methods tab. I have 'Cards' and 'US Bank Accounts' enabled in my dashboard. When I disable 'Cards', both the 'Cards' tab and all saved credit cards disappear from 'Saved' tab.

Is there a way to display saved payment methods (cards and bank accounts) in 'Saved' while hiding the 'Cards' and 'US Bank Account' tabs in the payment element?

Thanks!

Doc/Guide Links
https://docs.stripe.com/payments/payment-element
https://docs.stripe.com/payments/customize-payment-methods
https://docs.stripe.com/js/elements_object/update#elements_update-options-paymentMethodTypes

What are you working on?
Payment intents upgrade

cursive heronBOT
#

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

Question
Facing error in connect account update

Related Request ID(s)
req_gDgvujsmWA3OW3

What have you already attempted?
This is an existing flow for a long time, we did not change any implementaiton

#

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

Question
I am trying to setup payouts on my platform where a user can setup there bank account and the client on our platform can pay them

Related Request ID(s)
acct_1SGMsaL7Ss5iuUb7

What have you already attempted?
ive tried to make sure all settings are correct

cursive heronBOT
#

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

Question
I am building a headless ui (only using the <PaymentElement />) for my stripe checkout.

I want to showcase the price in the currency of the user.

The pricing section is some custom styled component.

```tsx
function Price(){
const checkout = useCheckout();

	return <p{checkout.checkout.total.total.amount</p\>

}
```

I am creating a checkout session like this
```ts
...
line_items: [
{
price_data: {
currency: "usd",
product: productId,
unit_amount: purchasePriceInUsd
},
quantity: 1,
},
],
...
```

Doc/Guide Links
https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing

What are you working on?
intelligence product

#

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

Question
Why in the live workbench I do not see events being generated or attempted to send?
I setup all endpoints and server controllers to be able to receive events. Is there a step I am missing?
I have also designed to offload events to internal queue and return ok straightaway.

Related Event ID(s)
https://dashboard.stripe.com/acct_1Ccc0JJZQKSfTh98/workbench/webhooks

What have you already attempted?
checked firewall.. ok. Curled endpoint also ok and reachable.

What are you working on?
Just want to see all events from stripe to correlate users.

cursive heronBOT
#

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

Code
fun safeResetTerminal() {
if (Terminal.isInitialized()) {
Terminal.getInstance().disconnectReader(terminalDisconnectionCallback)
} else {
_cancellationState.value = true
}
}

Question
How can we clear any payment which is stuck in the reader or on stripe, because due to some errors the payments didn't get clear and it gives us "no such Payment Intent" error

What have you already attempted?
I have tried to clear payments but it didn't work

cursive heronBOT
#

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

What did you expect to happen?
We use Stripe's embedded Checkout form along with Stripe Tax. We recently had a user try to make a purchase where they selected USA as the country and Guam as a state. I know Stripe Tax doesn't support Guam, but I expected the purchase to still succeed without tax added.

What actually happened?
The checkout session failed with a "customer-tax-location-invalid" error, but we were unable to see this error anywhere in our logs or in Stripe Dashboard. We only found out about it because the user reached out and we could then reproduce the issue.

We then discovered that selecting Guam as the country (instead of a state) DID allow the purchase to succeed.

Reproduction Steps
Try to make a purchase within a Stripe Checkout session (with automatic_tax enabled) while selecting country: USA and state: Guam

Question

  1. Shouldn't a purchase with country: USA and state: Guam behave the same as a purchase with country: Guam?

  2. Shouldn't there be some sort of logging or error reporting with insight into these "customer-tax-location-invalid" errors during the Checkout session?

What are you working on?
A Stripe Checkout embedded form payment flow with Stripe Tax

cursive heronBOT
#

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

Question
We'd like to migrate a hosted subscription checkout to embedded checkout with Stripe Elements (ui_mode = 'custom').

https://plant.staging.terraformation.com/ collects the user's name and email before creating the Stripe checkout session on our server, then redirecting to the Stripe-hosted checkout form.

When migrating to Stripe Web Elements for checkout sessions, what's the best practice for collecting the user's email? I was assuming we'd be able to update the checkout session with the user's email / Stripe customer ID, but it seems like you can only set that at checkout session creation time.

Doc/Guide Links
https://docs.stripe.com/payments/advanced/build-subscriptions

What are you working on?
Migrating from hosted subscription checkout to embedded

cursive heronBOT
#

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

Question
When creating Canadian custom connected accounts with only the transfer capability, we were met with an error requiring specific approval. After approval, there were no issues with Canadian connected accounts.

After attempting to create a US-based connected account with only the `transfers` capability, we are getting “You cannot request the `transfers` capability without the `card_payments` capability for accounts in US.”

What I’m wondering is if this is another scenario where our account needs approval to proceed, or if this is a strict Stripe rule.

Related Request ID(s)
req_ZIbvEikfVPrY76

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
This is a connected account. User paid using iDEAL payment method.

Is there ways to prefill the `Name` field under `Payment method` on the Checkout page?

I've already created a customer and passing the customer ID in when creating the Checkout Session.

Related Request ID(s)
req_PmViHV5DWuzWoW

What have you already attempted?
Create customer object and pass the customer ID.

What are you working on?
Payment via Stripe Checkout Session (hosted)

#

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

What did you expect to happen?
............................

What actually happened?
............................

Reproduction Steps
............................

Question
........................................................

What are you working on?
............................

cursive heronBOT
#

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

Code
SELECT
TO_CHAR(bal.created, 'mm/dd/yyyy') AS created,
BAL.id,
BAL.currency,
BAL.amount / 100.00 AS amount,
BAL.fee / 100.00 AS fee,
BAL.net / 100.00 AS net,
Bal.source_id,
Bal.description,
MAX(
CASE
WHEN PIM.Key = 'nac_advertiser_id' THEN Value
END
) AS nac_advertiser_id,
MAX(
CASE
WHEN PIM.Key = 'ss_client_id' THEN Value
END
) AS ss_client_id,
MAX(
CASE
WHEN PIM.Key = 'product' THEN Value
END
) AS product,

Question
We are trying to get a report of NAC Advertiser ID, Charges, Tax amount and zip code for the current month

What have you already attempted?
Using the AI to modify an existing query.

cursive heronBOT
#

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

Code
appearance: {
variables: {
...
},
rules: {
'.Tab': {
padding: '10px 20px',
color: '#1F363D',
fontSize: '16px',
boxShadow: 'none',
/* Properties to set so that tab icon and label are on the same line?/*
},
'.TabIcon': {
color: '40798C',
...?
},
'.TabLabel:hover': {
color: '40798C',
...?
},

Question
When using Stripe Elements, tabs are rendered on the form. These tabs can be controlled using .Tab, .TabIcon, .TabLabel, etc... By default, the tab label and the tab icon are on different lines. Is there way to set the tab label and tab icon onto the same line?

What have you already attempted?
Tried setting .Tab to "display: flex". Tried setting .TabIcon and .TabLabel to "display: inline".

What are you working on?
Donation platform

cursive heronBOT
#

@fading schooner 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/financial-accounts/connect/moving-money/payouts#top-ups

Question
I am unable to top-up in other currency ?
- AccountId = acct_1Rkizp08Wv7jYVMd
- Platform Region = US

What have you already attempted?
I tried using API as well as direct from the platform. but for other currency like EUR, GBP it only show me refund and disputes balance

What are you working on?
I am working on cross border move money module, where i have to transfer money in different currency

cursive heronBOT
#

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

Question
The question is:
When does Stripe tell me that a verification document for a connected account is required?

I create a connected account via API.
Can the info that a verification document is required be in the response?

Should I call a get request on the new connected account directly after the create to get the information?

Or should I have to wait for the account.updated on my Webhook to get the information?
In how many minutes / hours / days I might get the information that a verification document is required?

Related Request ID(s)
-

What have you already attempted?
Account creation and webhook is implemented with the sandbox.

cursive heronBOT
#

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

Question
I want to Use Transfer API, move money to my connected user account local currency stripe wallet.

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
Cross border transfer

cursive heronBOT
#

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

Code
<stripe-pricing-table
pricing-table-id={id}
publishable-key={pk}
customer-email={customerEmail}
client-reference-id={customerEmail}
customer-creation='always'
return-url={location.href + '/../../../'}
>
</stripe-pricing-table>

Question
how do I setup the pricing table so that after paying, the user is redirected back to the website

What have you already attempted?
everything...

What are you working on?
completing the payment flow

cursive heronBOT
#

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

Code
private fun cancelCurrentTransaction() {
if (isCancelling) return
isCancelling = true

    paymentCancellable?.let {
        it.cancel\(paymentCancellationCallback\)
    } ?\: run {
        safeResetTerminal\(\)
        \_cancellationState.value = true
        isCancelling = false
    }
}

Question
When a USB reader disconnects mid-flow and we attempt the next transaction, we sometimes get:
The client_secret provided does not match the client_secret associated with the PaymentIntent. So can we recover from it?

What have you already attempted?
I tried to call cancelCurrentTransaction() after every exception occurred

What are you working on?
I am trying to recover from this state as it is giving this error everytime I get "USB disconnected error" and when perform next transaction it is giving me err

cursive heronBOT
#

@soft isle 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 * 100),
currency: "aud",
payment_method: paymentMethodId,
confirm: true,
metadata: { userId: String(userId), providerId: String(providerId),
},
automatic_payment_methods: { enabled: true },
expand: ["charges"],
},
{
stripeAccount: provider.stripeAccountId,
})

Question
I am creating the payment intent with the connected account and want to send all the money to the main admin account. But it gives error while seding the paymentMethod Id from the frontend.const { paymentMethod, error: pmError } =
await stripe.createPaymentMethod({
type: "card",
card: cardNumberElement,
});
Have a look and let me know how can I create the payment intent?

What have you already attempted?
I have tried in both the way by creating payment method from the frontend and confirming from the frontend and also in above code trying confirming with the backend also, but nothing works. Gives no such payment method.

#

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

Code
<stripe-pricing-table
pricing-table-id={process.env.REACT_APP_STRIPE_PRICING_TABLE_KEY}
publishable-key={process.env.REACT_APP_STRIPE_PUBLISHABLE_KEY}
{...(customerSessionClientSecret
? { 'customer-session-client-secret': customerSessionClientSecret }
: { 'customer-email': email })}
/>

Question
How to auto apply promo codes in stripe checkout page from stripe pricing table?

What have you already attempted?
Used `prefilled-promo-code=""` prop in stripe pricing table component, and also I know that we are able to automatically prefill code using the payment links, but how to prefill in the pricing table checkout (not server checkout)

What are you working on?
React JS

#

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

Question
During webhook processing, I'm listing the active entitlements to get the entitlements of a user. However, it seems that they're not always up to date (for a new subscription, it sometimes get nothing)

Is it because i'm in a sandbox environment, or is it expected behavior ?

Related Request ID(s)
req_ZQGGSSGVqviC6n, req_etcBbRXFLF1V3I, req_OhGjxHEla8RU85

What have you already attempted?
Read the doc

cursive heronBOT
#

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

Question
Hey there, we're a charity fundraising platform who have a "combined" checkout, we have charities using stripe connect to receive donations, but we also want to charge an optional "tip" or "platform contribution", for example:

Example 1:

- A donation of £20 to a charity
- The supporter agrees to pay a £2 "tip" or optional contribution.

Ideally:
- The charity should pay the stripe fees on the £20 donation.
- We should pay the stripe fees on the £2 optional contribution.

What's the best way of doing this to keep the charges in the right place?

Doc/Guide Links
We have looked at Separate Charges + Transfers docs, but believe that this wouldn't solve the stripe fee problem.

What are you working on?
charity fundraising app

cursive heronBOT
#

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

Question
I am getting error price not found when access price objs

Related Request ID(s)
go to stripe dashboard. created connected accounts products-> created price

What have you already attempted?
created prices via stripe dashboard and its still same error

cursive heronBOT
#

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

Question
https://docs.stripe.com/refunds?dashboard-or-api=api#cancel-payment

Related Request ID(s)
req_fxwv0RIrydnTva

What have you already attempted?
I tried to cancel payment through api as mention in doc but it give me error "You cannot cancel this PaymentIntent because the debit is being processed." but doc says we can

What are you working on?
Our system mistakenly processed a payment that was not due yet, now we want to cancel it

cursive heronBOT
#

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

Question
We're trying to run an integration test. We use a TestClock which we create in a Go Unit Test. But it seems the metered events don't count. At least we can't find them in the final bill of the test customer. We can however see the event in the workbench.

Related Request ID(s)
req_Xlcm62zb4WLmOH

What have you already attempted?
We tried to wait for at least 10 seconds between the meter and the next TestClock advancement. We even jumped the TestClock to different points after the meter and before the date of billing. This was to ensure the system has time process the triggered events.

#

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

What did you expect to happen?
The PayPal ECE element to appear

What actually happened?
PayPal ECE failed to appear

Reproduction Steps
Visit https://lukas-sd-564-split-off-payme.checkout-ui-25q.pages.dev/payment?t=i4onhkllk50f8usqzioggpvra9k0, no PayPal ECE present

Question
Hi, having issues with the PayPal ECE not appearing, even though it is being set to auto. The domain is also whitelisted in test mode

#

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

Code
PaymentIntentData: &stripe.CheckoutSessionPaymentIntentDataParams{
SetupFutureUsage: stripe.String(string(stripe.PaymentIntentSetupFutureUsageOnSession)),
},

Question
As shown in my code snippet, Stripe doesn’t seem to remember the card information in the test environment, even though I’ve set a fixed customer_id and specified the PaymentIntentData parameters. Could you help me understand why?

What have you already attempted?
read the doc

#

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

Question
I have a problem with subscription updates, when during updaterequest (payment behavior allow_incomplete) payment fails because of 3DS error. Currently when this happens, stripe subscription gets updated anyway and when payment retry period finishes and it still fails 3DS, subscription gets cancelled.
Because of my inner subscription handling logic I cant use pending_if_incomplete flag. I want stripe to do nothing with subscription if payment failed, then client should authorize 3DS and I would retry subscription update.

Related Request ID(s)
no

What have you already attempted?
If subscription update request (payment behavior error_if_incomplete) fails because of 3DS, I catch an error and create setup intent and send url for client. When client uses provided url, they get redirected to 3DS page, but page does not load and redirects to return_url destination. It seems that it was an auto succeeded 3DS, because I get and setup_intent.succeeded event via webhook. But if I try to do and update request again - it still fails on 3DS. So this doesnt work and I am wondering can I use payment intent or invoice of failed update request for customer to pay it manually?

cursive heronBOT
#

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

Code
I'm using a pricing-table with a customer-session-client-secret to show the products, the rest of the flow is all handled by Stripe itself.

Question
I'm trying to get all succeeded transactions for a particular customer; from these I only need to know "when were they paid" and "what product was bought", from the product I only need the metadata associated with it

What have you already attempted?
const invoice = await Stripe.invoices.list({ customer, limit: 1, status: 'paid' }...)
const charge = await Stripe.charges.list({ customer, limit: 1, status: 'succeeded' }...)
const paymentIntent = await Stripe.paymentIntents.search({ query: `status:"succeeded"`...)
const sessions = await Stripe.checkout.sessions.list({ customer, status: 'complete', ...)
const lineItems = await Stripe.checkout.sessions.listLineItems(s.id, { limit: 100, expand: ['data.price.product'] }...)

What are you working on?
retrieving a customer's bought products

cursive heronBOT
#

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

Question
Trying to reproduce an error on production on dev.

On production we got an error for creating a setup intent with a response of ApiErrorException : "Failed to attach payment method: Microdeposit transfers have been blocked. " I am trying to recreate this error or any ApiErrorException so I can handle the case better on my end. While it did return ApiErrorException , inside that is the SetupIntent and I need the ID from that record.

Related Request ID(s)
req_AJbViW4bpT0rzq

What have you already attempted?
Looked at docs for test bank account numbers and setup intent API docs.

What are you working on?
Form that collects bank account details to make a saved payment method via microdeposits and setup intent.

cursive heronBOT
#

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

Question
How can I specify the payment method mode (pay_later, pay_with_financing, pay_now or pay_in_installments) for Klarna ?
Because I don't want to let the customer choose by himself.

Related Request ID(s)
No

What have you already attempted?
Nothing

cursive heronBOT
#

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

Error Message
the response the app gets back from stripe is { googlePay: false, applePay: false, link: true }.

Question
The issue we are experiencing is when a user is using digital wallets in the google chrome browser and the app calls the canMakePayment() function Stripe JS Reference, the response for the pay.js gets a 200 but the button still doesnt load - can this be due to the pay.js call not being complete before we try to load the gpay button?

What have you already attempted?
We have checked extensions on the browser, made sure wallets are enabled, there is a card added and cookies are allowed.
Example: We go to one site using a chrome browser and the gpay button loads and we notice pay.js is called twice
Same browser, same user we go to a different site the button does not load and we notice pay.js is only called once

What are you working on?
Online ordering site

#

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

Question
When updating the minor version of a Java SDK, it's not clear if we have to also update the webhook. Even in minor version updates, wouldn't we run into deserialization issues?

Related Event ID(s)
N/A

What have you already attempted?
Nothing yet.

What are you working on?
Using Java SDK to make payments and create payment methods. We get Webhooks for Payment Intent updates.

#

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

Question
I try to make a purchase with a test card on a tap to pay live app developed using react native stripe terminal SDK and I don't receive any events at the webhooks as a failed payment , why ??

Related Request ID(s)
a

What have you already attempted?
I try to make a purchase with a test card on a tap to pay live app developed using react native stripe terminal SDK and I don't receive any events at the webhooks as a failed payment , why ??

cursive heronBOT
#

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

Question
Hi! I’d like to clarify how the connection token expiration and refresh timing works for Stripe Terminal (Android SDK).

What is the exact lifetime of a connection token created via backend (after init terminal)?

If the SDK calls fetchConnectionToken() while a previous token is still valid, does Stripe automatically reuse it or issue a new one?

Does the SDK automatically retry calling fetchConnectionToken() if the backend response is delayed, or should that logic be handled in the app?

Related Request ID(s)
Connection Token Provider

What have you already attempted?
In general is working correctly, but if there is some latency in api calls, this issue happen.

cursive heronBOT
#

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

Error Message
I cant sign in my stripe express account

Question
I am not receiving otp on phone number .

What have you already attempted?
Multiple times

Reproduction Steps
I connected my stripe account with csfloat but i cant access to my account because i am not receiving opt on my mobile phone

cursive heronBOT
#

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

Question
I am trying to resend refund.created events using the CLI’s events resend command. I don’t want to use the secret key and would like to use a dedicated restricted key.

What permissions will the key need to resend these events using the CLI?

Related Request ID(s)
refund.created

What have you already attempted?
I’ve attempted to run the commands with Events Read and Charge Read/Write access.

What are you working on?
The webhook was recently updated to listen to refund.created and refund.failed events. I can not resend these events using the dashboard because they were never sent initially and need to use the CLI

cursive heronBOT
#

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

Code
rules: {
'.Tab': {
padding: '10px 20px',
color: '#1F363D',
fontSize: '16px',
boxShadow: 'none',
border: '1px solid #40798C !important',
},
'.Tab:hover': {
color: '40798C',
border: '1px solid #40798C !important'
},
'.TabLabel:hover': {
color: '40798C'
},
'.Tab--selected, .Tab--selected:hover, .Tab--selected:focus': {
color: '#40798C',
backgroundColor: '#70A9A11A',
border: '1px solid #40798C

Question
In my screen capture below, the border of the button turns blue in this "transition" phase
How do I target this via the CSS configuration so that the border doesn't turn blue?

What have you already attempted?
Tried targeting .Tab, .Tab:hover, .Tab--selected, .Tab--selected:hover, .Tab--selected:focus

What are you working on?
Donation platform

cursive heronBOT
#

@wraith summit 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
Hi!

I have questions about these Stripe settings (Settings > Billing > Subscriptions and emails):

- Send emails about expiring cards
- Send emails when card payments fail
- Send emails when bank debit payments fail

The docs state "Send emails when card payments fail" is for subscriptions. Does this also apply to "Send emails when bank debit payments fail"?

Is "Send emails about expiring cards" also subscription-specific?

I'm using customer sessions/payment intents — can I leverage these settings for my scenario?

Thanks!

What have you already attempted?
- Turning on the settings in the dashboard
- Updating my customer's email address to {prefix}+test_user@{domain}
- Attempting to pay with a test card number that fails
- Attempting to pay with a bank account that has an error state (like account closed, or insufficient funds)

What are you working on?
Payment Intents upgrade

cursive heronBOT
#

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

Question
I am trying to connect strip with my app but it is having some trouble connecting it to the app.. I used the wrong domain while creating the stripe account but i have upgraded the domain recently and it is still showing the same error

Related Request ID(s)
req_2Wr8uQiNte0hg3

What have you already attempted?
I tried changing the domain

What are you working on?
I am making an beauty app where I connect Individual vendors with clients for beauty services

cursive heronBOT
#

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

Question
We are currently experiencing a large number of "Timed out waiting for connection token" errors.
We checked the latency in our backend, and everything appears to be normal.

Something similar happened about two weeks ago and lasted for a few hours, but this time it doesn’t seem to stop. We’re seeing this error across many devices in different locations throughout the U.S.

Related Request ID(s)
Connection Token Error

What have you already attempted?
Everything, and a lot of telemetry reading

What are you working on?
It work for most of the time but certain days, everything goes nuts.

#

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

Question
After a failed off-session charge for a 3DS-required card, we create a new on-session PaymentIntent with confirm: true from the backend, which triggers a `payment_intent.requires_action` event. Then the frontend receives the client secret and calls `stripe.confirmCardPayment()`, which triggers another `payment_intent.requires_action` event for the same PaymentIntent. Is there any way to differentiate between these two events - specifically, to identify which one came from the backend confirmation vs. the frontend confirmation?

Related Request ID(s)
available if needed

What have you already attempted?
We've seen references to payment_attempts but have been unable to access it so far. Diff'ed the event data from workbench.

cursive heronBOT
#

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

Question
My team is building a short-term gym membership marketplace app, and we intend to have one main gym organization create a Stripe Connect account, with the potential for multiple individual locations to be added under that main stripe connect account.

We're not sure how to configure this in Stripe and another complexity is that tax needs to be set on a per-loction basis as some states collect sales tax, while others do not.

Can someone please assist us in understanding how to configure Stripe Connect correctly for the 1 Gym Org - Multiple locations problem?

Doc/Guide Links
https://docs.stripe.com/connect/authentication

What are you working on?
We're building a global short-term gym membership marketplace

cursive heronBOT
#

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

What did you expect to happen?
We expected our bacs direct debit mandate mandate_1SN8R4K7OM03paFqSs1iufZl to be in active status

What actually happened?
Our mandate_1SN8R4K7OM03paFqSs1iufZl went into inactive status, with the event
evt_1SNv09K7OM03paFqNX8cqFvE saying refused.

Reproduction Steps
We have tried to reproduce this issue, but will be able to know the outcome in two days or so.

Question
We didn't cancel this mandate and initiated this from our own UK bank acc. to see money flow, we are going live with a new feature soon. It is working fine in test environment. We want to understand why it went into that state? Was some data as part of setup_intent or anything was missing?

What are you working on?
Also, we created a payment_intent before the mandate actually went active, do u see any concerns regarding that?

#

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

Question
In the Clover API release yesterday, is Stripe now blocking $0 checkouts created with `mode: payment`?

Related Request ID(s)
N/A

What have you already attempted?
Looking at Clover API docs and release notes

cursive heronBOT
#

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

Question
Is it possible to subscribe a user to a plan through stripe connect?
Basically, I'm trying to embed my subscription in a partner site, and they also collect a payment. I want them to collect both mine and their payment , and then subscribe the user to a plan on my backend without the user having to put in their payment info again.

Related Request ID(s)
n/a

What have you already attempted?
Nothing

What are you working on?
Backend subscription signup - stripe connect

cursive heronBOT
#

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

Question
Need to add a custom payment method to our custom web integration

Related Request ID(s)
none

What have you already attempted?
created custom payment type

What are you working on?
custom integration with GHL

cursive heronBOT
#

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

Question
is there a way to the the details of payment method if the type = link

Related Request ID(s)
1

What have you already attempted?
php sdk. tried getting payment method details using paymentmethod id

What are you working on?
querying charges

cursive heronBOT
#

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

Question
The webhook started returning errors yesterday. Have any IP addresses been added or changed?

https://docs.stripe.com/ips?locale=ja-JP#webhook-notifications

Related Event ID(s)
evt_1SNozsJeNdmp8jhmucl0Lkp5

What have you already attempted?
I checked the IP address using the site as a reference, and it's correct.

https://docs.stripe.com/ips?locale=ja-JP#webhook-notifications

What are you working on?
developer

cursive heronBOT
#

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

Link to the Doc/Guide in question
Hi Team, I want to integrate apple pay in our application for web. Please provide the details to integrate apple pay.

Question
Hi Team, I want to integrate apple pay in our application for web. Please provide the details to integrate apple pay.

What have you already attempted?
Hi Team, I want to integrate apple pay in our application for web. Please provide the details to integrate apple pay.

What are you working on?
Hi Team, I want to integrate apple pay in our application for web. Please provide the details to integrate apple pay.

cursive heronBOT
#

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

Question
Touch n Go is not supported by Stripe so I have to use this right?
Does using custom payment method from stripe means just using stripe to record all different payments from other payment services or is it like adding TnG as another option for payment like Cards or GrabPay?
Additionally, since FPX is supported, how different is the implementation compared to using card? is it possible to do payment tests using FPX using the sandbox?

What have you already attempted?
https://docs.stripe.com/payments/payment-methods/overview
https://stripe.com/en-my/resources/more/fpx-an-in-depth-guide

What are you working on?
Testing different payment methods for a website

cursive heronBOT
#

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

Question
Is there any way that using the API we could extract the daily MRR per customer?

Related Request ID(s)
Nothing.

What have you already attempted?
Using Subscriptions object, but we only seem to get the last picture of every subscription and not the historical changes.

What are you working on?
We need to get this daily MRR per customer so that we can integrate in our database and cross with other company data.

cursive heronBOT
#

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

Error Message
No such checkout.session: cs_live_a1dG6OohSJlB57bJSxdoWwP91IT8PJ6Xl8a59ubK0D7DrpcwkhUBeG7Iiy; code: resource_missing

Question
The call failed when doing calling Stripe to get the session for completing the payment.
Session session = Session.retrieve(sessionId);

What have you already attempted?
Was a puntual exception, it's working normally except for this error that happenned yesterday

cursive heronBOT
#

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

Code
not available at this time

Question
hi, on april 24, 2025, we accidentally deleted 23 customers via a script. is there a way to restore them?

What have you already attempted?
we have checked our script and we have no found no possiblities to restore

#

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

Question
The merchant has enabled Klarna payments in the Stripe dashboard but the buyer in Italy still can't not see the payment method in the stripe checkout page. Could you help me out? Thanks.

Related Request ID(s)
cs_live_a1NCvrLWEotTNzku9ChCG4JLiSomY2YULavEzbwYjgqcq5CvUfE9NI424T

What have you already attempted?
I had checked the documents but don't know how to do.

cursive heronBOT
#

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

Question
in the https://docs.stripe.com/declines/codes?locale=en-GB we have local payment methods errors I wanna know if these errors can happen in Tap to Pay.

Related Request ID(s)
a

What have you already attempted?
in the https://docs.stripe.com/declines/codes?locale=en-GB we have local payment methods errors I wanna know if these errors can happen in Tap to Pay.

#

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

Question
Webhook calls for payment links to our APIs are failing because you're using a new IP address to make the call

Related Request ID(s)
req_4vN1SVgIiGqKfw

What have you already attempted?
We don't want to whitelist the ip address until we get confirmation from you that this is a legit IP address

#

@ruby 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/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=bluetooth#update-reader

Question
Looking through handling different update types for M2 Readers.

With regards to a required update failing (due to low battery or something), but still proceeding to connect successfully, this condition must be met:

"The reader runs the latest software version for the location within the last 30 days."

What is meant by "latest software version for the location" exactly?

Does latest software version mean the most recent firmware version the reader currently has? (At that location?)

What have you already attempted?
Reading the documentation about updates and locations:
https://docs.stripe.com/terminal/fleet/locations-and-zones?dashboard-or-api=dashboard#locations

What are you working on?
Android app that takes payments.

#

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

Question
I want to use stripe as a checkout (with using Stripe Checkout service) on a website I have already built. I want to know what information/fields the Stripe Product API offers (examples: Name, description, images, stock, Price / payment info, Optional extra metadata...). So I know what to expect from Stripe, what I should still add in my external website CMS, and what information I should send from Strip to my website and vis versa.

Doc/Guide Links
https://docs.stripe.com/api/products

What are you working on?
A webshop where I want to use Stripe checkout

#

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

Question
We are looking to move from webhooks to Event destinations. Can we test it in test mode? If not, do you have any recommendations for migrating test mode so we can use event destinations?

Related Event ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Subscriptions

cursive heronBOT
#

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

Question
Please re-open my prior thread. I got new information.

Related Request ID(s)
cs_live_a1NCvrLWEotTNzku9ChCG4JLiSomY2YULavEzbwYjgqcq5CvUfE9NI424T

What have you already attempted?
Find out why does the Klarna not appear in the checkout page.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=android#connection-token-client-side

Question
When is required the connection token?
I now the SDK is fetching the token when:
* initTerminal
* discoverReaders
* connectReader
This is correct?

How about payments methods?

We are experiencing an issue related to "Timed out waiting for connection token"

What have you already attempted?
Try to debug fetchConnectionToken method using brakpoints when I'm creating payments.

What are you working on?
Is a POS for coffee stores (using TapToPay in cosument screen and M2 in barista screen)

#

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

Question
I'm trying to get my Stripe checkout working again. It was working before, but then it stopped. I recently switched from the Payment Intents API to the Checkout Sessions API with a custom UI, but now my users are either getting stuck on 3D Secure or encountering session expiration issues. I'm not entirely sure what's causing it, and it's been a bit frustrating.

Related Request ID(s)
req_crYRhWojuRnyqh

What have you already attempted?
I tried PaymentsIntents API, then switched to Sessions API

#

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

Code
const { paymentIntent: collectedPaymentIntent, error: collectPaymentError } = await collectPaymentMethod({
paymentIntent: currentTapToPayIntent,
enableCustomerCancellation: false,
updatePaymentIntent: true,
})

// collectPaymentError {"code": "SCPErrorInvalidRequiredParameter", "message": "A required parameter was invalid or missing."}

Question
What parameter is invalid or missing ?

What have you already attempted?
Add and remove parameter when creating intent from back-end

What are you working on?
Tap to tap payment

#

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

Question
I have created payment intent with pay_by_bank as one of the payment method types but it doesn't appear as an option on the payment sheet which comes from react-native-stripe!!!!

Related Request ID(s)
a

What have you already attempted?
I have created payment intent with pay_by_bank as one of the payment method types but it doesn't appear as an option on the payment sheet which comes from react-native-stripe!!!!

cursive heronBOT
#

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

Question
The buyer in Italy cannot see the Klarna payment method in the checkout page while can see when open a stripe payment link.

Related Request ID(s)
cs_live_a1h2mTTtkZQ7PNGLnIswCgSGjnewzjNe5A1kQUL8iokybIsVZFrvv4ZBme

What have you already attempted?
the merchant tries many times but still not working.

#

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

Question
The refund.updated webhook shows as "succeeded," but we haven’t received the refund in our account yet. The payment was made via Apple Pay and card payment (SBI card). Could you please confirm what the default time frame is for a refund to be reflected in our account? We’ve already waited for two days.

Related Event ID(s)
evt_3SOIgBA815O0Nqsw0dK88xTw

What have you already attempted?
We verified the webhook event details, confirmed that the refund status is “succeeded,” and checked our bank account and Stripe Dashboard. We’ve also reviewed the refund documentation on Stripe but couldn’t find specific timelines for Apple Pay or SBI cards.

What are you working on?
We’re processing payments and refunds for our app using Stripe, and want to ensure that refund processing timelines are correctly handled and communicated to our users.

cursive heronBOT
#

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

Question
I'm trying to integrate subscriptions into my Next.js app, and I've noticed after the confirmCardPayment api the status of the customers subscription remains incomplete.

Related Request ID(s)
subscription status: req_Glrpke4un4HWiu confirm card payment: req_9xGPnE5nJgrbpq

What have you already attempted?
I'm not sure what to try, I was asking for help on the AI from the documentation but it was always suggesting to do what I'm currently doing

#

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

Question
Hey folks, I’m working on integrating Stripe Identity in a React Native app, and I want to make sure I’m handling the lifecycle of verification sessions the right way.
My backend creates the verification session and handles Stripe webhooks. On mobile, I start the flow using the client_secret from my server (using the React Native SDK).
A few things I’m not totally clear on:
• Can the mobile client directly check the status of a verification session via the SDK or the API, or is that something only my backend can access (via webhook or API)?
• If that’s server-only, should I just build my own polling layer from the app → backend to reflect status changes to the user?
• What’s

Doc/Guide Links
https://docs.stripe.com/identity/handle-verification-outcomes

What are you working on?
Setting up Identity

cursive heronBOT
#

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

Question
After clicking the Pay button in Stripe Checkout, it consistently takes around 4–6 seconds before the payment is marked as “successful” and the success page is shown.
The payment eventually succeeds, but the delay happens right after clicking Pay — before the user is redirected to the success URL.
Could you please check if there are any known performance issues or regional latency affecting Checkout payment confirmation or webhook delivery for my account?

Related Event ID(s)
evt_3SOJdvAULdIllBKL1mPkyf0D, evt_3SOJdvAULdIllBKL1VID9jge, evt_1SOJdyAULdIllBKLk1fgrpU5

What have you already attempted?
I have already verified that the frontend triggers the Stripe payment immediately after clicking the “Pay” button. The delay occurs after the Stripe API call, not before. I also checked the backend API response time, and it appears to be within a normal range.

What are you working on?
I’m working on integrating Stripe payment processing in a web application where users can purchase items. The goal is to ensure a smooth and fast checkout experience by identifying and resolving the d

cursive heronBOT
#

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

Question
I am upgrading an existing subscription, that is, I am adding a new item.

But when I do this, I see that it is added as another product of the same type to the subscription and is charged at a different amount on the next invoice.

Why is this happening? I am only adding one item.

Related Request ID(s)
I couldn't find the exact request ID where that product is added, but this is the subscription ID: sub_1SOKpIESRxUGxqvhVIt6OtsS

What have you already attempted?
What I do at this point is add the new item and delete the previous coupon so that the new discount percentage takes into account the new item I have added to the subscription.

                        stripe.Subscription.modify\(
                            subscription\_stripe\_id,
                            items=\[{'price'\: ecommerce\_addon\_stripe\_id, 'quantity'\: 1}\],
                            discounts = \[{'coupon'\: new\_coupon\['id'\]}\]
                        \)

What are you working on?
modify subscriptions

#

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

Question
I have a product that is available as both a physical and digital product - is it better to have one product that has both the physical and digital prices, or two products with one price for each?

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

What are you working on?
Checkout flow for a game store that offers both physical and digital products.

cursive heronBOT
#

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

What did you expect to happen?
When an user inserts and enters the pin in our M2 or BBPoS Stripe terminal connected to our React native Stripe-terminal application they would be able to add the card as a payment method for future transactions via setupintent (API side)

What actually happened?
We are experiencing an error, "The latest attempt to set up the payment method has failed because authentication failed." when we try to create a setup intent for an Interact Visa Cobranded card in our Stripe-terminal react native application

Reproduction Steps
Connect a USB Stripe terminal to the device, prompt the user to add a payment method, have them insert their interact cobranded card, enter the pin, send the setupintent request.

Question
Is there any known limitation for Setupintents with Interact cobranded cards? we are experiencing this on any attempt to add these kind of cards as payment methods to our users

What are you working on?
Mobile app to checkout and borrow reusable containers with accountability based in a payment method in case of no return.

cursive heronBOT
#

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

Question
I am upgrading an existing subscription, I am adding a new item.

But when I do this, I see that it is added another product of the same type to the subscription and is charged at a different amount on the next invoice.

Why is this happening? I am only adding one item.
is the proration maybe? i am setting the proration_behavior parameter as None

Related Request ID(s)
I couldn't find the specific request ID where the product that can be prorated is added, but this is the subscription ID: sub_1SOMRyESRxUGxqvhqZoZH5C1

What have you already attempted?
What I am doing is modifying the subscription with a new item, removing the discount, and adding a new coupon.

But I see that something else is added to the next invoice to be paid.

Basically im doing this:

                        stripe.Subscription.modify\(
                            subscription\_stripe\_id,
                            items=\[{'price'\: ecommerce\_addon\_stripe\_id, 'quantity'\: 1}\],
                            discounts = \[{'coupon'\: new\_coupon\['id'\]}\],
                            proration\_behavior = None
                        \)

What are you working on?
Modify Subscriptions

cursive heronBOT
#

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

Question
We are trying to migrate/copy stripe accounts and we need to copy over the required KYC fields from the source record into the new stripe account record.

Looking at https://docs.stripe.com/connect/required-verification-information it says that for a US account,
individual.ssn_last_4 is a required field.

Related Request ID(s)
?

What have you already attempted?
However, when we are trying to view the source data using the Stripe.net SDK we can see the Stripe.Person.SsnLastProvided and Stripe.AccountCompany.TaxIdProvided is both set to true, but we cannot find the actual 4 digit SSN to copy into the new account.

Is there some other options here to create the new US StripeAccount and copy over that required field?

#

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

Question
When trying to apply a promo code on a subscription, it does not appear to work via the API.

Related Request ID(s)
req_UBtPtTaE6cplm3

What have you already attempted?
I have read the documentation and tried to add it via stripe.subscriptions.create({ customer: customer.id,
items: [{ price: priceId }],
discounts: { promotion_code: promoCodeId }
})

But this does not work. What is the right way to apply it?

I then removed trying to add the promo code, and now I get this really odd error:

invalid_request_error - items[0][price]
The price specified is set to `type=one_time` but this field only accepts prices with `type=recurring`.

What are you working on?
Custom SaaS trial to payment flow

cursive heronBOT
#

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

What did you expect to happen?
When an user inserts and enters the pin in our M2 or BBPoS Stripe terminal connected to our React native Stripe-terminal application they would be able to add the card as a payment method for future transactions via setupintent (API side)

What actually happened?
We are experiencing an error, "The latest attempt to set up the payment method has failed because authentication failed." when we try to create a setup intent for an Interact Visa Cobranded card in our Stripe-terminal react native application

Reproduction Steps
Connect a USB Stripe terminal to the device, prompt the user to add a payment method, have them insert their interact cobranded card, enter the pin, send the setupintent request.

Question
Is there any known limitation for Setupintents with Interact cobranded cards? we are experiencing this on any attempt to add these kind of cards as payment methods to our users

What are you working on?
Mobile app to checkout and borrow reusable containers with accountability based in a payment method in case of no return.

cursive heronBOT
cursive heronBOT
#

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

Question
How can I pre-fill "Business representative" personal details during Connect account onboarding?

Related Request ID(s)
req_jiV2y1odJwIJjt, req_MRvdgD0MZJVjJb, req_v2RMn0lWTo8LNdyVj

What have you already attempted?
I create the account, create a person on the account with all their details filled in, and then create the account link. During the Stripe connected account onboarding, once we get to the "Business representative" step, none of the details provided for the created person are prefilled.

What are you working on?
Connect platform

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.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Code
export const createCheckoutSession = onRequest(
{
timeoutSeconds: 60,
memory: "512MiB",
cors: true,
},
async (req, res) => {
// Handle CORS manually if needed
res.set("Access-Control-Allow-Origin", "*");
res.set("Access-Control-Allow-Methods", "POST, OPTIONS");
res.set("Access-Control-Allow-Headers", "Content-Type");

if \(req.method === "OPTIONS"\) {
  res.status\(204\).send\(""\);
  return;
}

if \(req.method !== "POST"\) {

Question
So my logic is this previous I am using destination account to pass money to merchant. When user give me an amount let say $10.00, I want to keep $1 fixed on this the remaining - stripe fees pass to my merchant. How should I do this?

What have you already attempted?
I tried using the worst estimatedStripeFee (3.9% + 0.5 international card) at the start, but this won't help as if user pay by domestic card or PayNow. It doesn't change what is pass into Stripe afterwards. I can only get the payment method by the end of the transaction.

What are you working on?
I am building a purchasing voucher system using Stripe

cursive heronBOT
#

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

Question
My Stripe `Charge` objects include an `invoice` field at runtime, but the Stripe Node.js TypeScript definitions omit it, causing compile errors and preventing invoice ID from appearing in your API output. Is there a workaround to solve this? Thanks

Related Request ID(s)
None

What have you already attempted?
`List all charges` in the API docs, reading through the Node.js charge type on GitHub (invoice type seems to be missing)

What are you working on?
Building a simple bookkeeping system

#

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

Question
ACH payments show "missing IP address" warning with elevated risk scores. We use Plaid and currently set mandate_data.customer_acceptance.type: 'offline'.
Should we use type: 'online' with ip_address and user_agent since customers connect banks via our web app? Is this the correct place to pass customer IP for ACH payments?

Related Request ID(s)
pi_3SNxYkDI8A3U6F9i0seqEGCu

What have you already attempted?
Reviewed ACH mandate docs. Using offline type but collecting online. Need confirmation before changing production.

What are you working on?
We are B2B fintech startup

cursive heronBOT
#

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

Question
I try to create a PaymentMethodDomain for an connected account. If I load the PaymentMethodDomains of the connected account the newly created PaymentMethodDomain is returned. However in the UI the PaymentMethodDomain is not visible and in the payment form apple pay is still not enabled

Related Request ID(s)
NO ID

What have you already attempted?
-

cursive heronBOT
#

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

Question
How to support a single pre-purchased credit that is burned down at mixed rates across meters?

Related Event ID(s)
billing.credit_grant.updated

What have you already attempted?
We want to allow our customers to pre-purchase credits e.g. $10. We want API 1 to consume 1c per call & API 2 to consume 2c per call etc. i.e. varying rates per API. I pre-charged the customer $10 & created an equivalent credit grant & linked the credit grant to the applicable metered prices so that they get burned down when API meter events are submitted. I need to set an alert to detect the depletion/consumption of the credit grant. I cannot use Meter Alerts as my alert should be triggered when the credit has run out which could be due to activity across multiple meters. How do I do this?

What are you working on?
An API product that supports multiple APIs. We want to charge a different price for different API calls using a prepurchased credit burndown model.

cursive heronBOT
#

@strong bane 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

Question
Let's say we have example.com which always redirects to www.example.com where we are trying to show the Apple Pay button in a donation form. For payment methods do we register both domains or just the www subdomain?

What have you already attempted?
Tried www. only and tried root domain only. Have not yet tried registering both because I need you guys to confirm before I suggest any silly ideas to my team (yeah I'm serious right now, please just bear with me).

What are you working on?
We have been using GiveWP for years now and trying to activate the Stripe Payment Element on their forms: https://givewp.com/documentation/core/payment-gateways/stripe-payment-element/

#

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

Question
We wanted to get your clarification on a specific use case. In this flow, the customer places an order over the phone, and during the payment step, the call is transferred to an IVR system that securely collects the card details through the customer’s keypad — without any agent intervention. Once the card details are captured, we use them to process the payment.
Could you please confirm if such transactions should be treated as MOTO (Mail Order / Telephone Order) payments, and if we should set the corresponding MOTO flag while processing them?

Related Request ID(s)
none

What have you already attempted?
We wanted to get your clarification on a specific use case. In this flow, the customer places an order over the phone, and during the payment step, the call is transferred to an IVR system that securely collects the card details through the customer’s keypad — without any agent intervention. Once the card details are captured, we use them to process the payment.
Could you please confirm if such transactions should be treated as MOTO (Mail Order / Telephone Order) payments, and if we should set the corresponding MOTO flag while processing them?

cursive heronBOT
#

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

Code
i have one of client having stripe account
he wants to integrate with us

how can we connect their existing connected account with our main/platform connected account ?

Can we link an existing connected Stripe account to my main connected account as a “connected sub-account”?

Question
i have one of client having stripe account
he wants to integrate with us

how can we connect their existing connected account with our main/platform connected account ?

Can we link an existing connected Stripe account to my main connected account as a “connected sub-account”?

What have you already attempted?
i have one of client having stripe account
he wants to integrate with us

how can we connect their existing connected account with our main/platform connected account ?

Can we link an existing connected Stripe account to my main connected account as a “connected sub-account”?

#

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

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

Question
I want to reverse or undo a transaction that was made on a specific charge (e.g., ch_XXXXXXXXX or pi_XXXXXXXXX) without actually refunding the customer.
My use case is: I want to pull back or offset the funds internally in Stripe (for example, correct a double charge or accounting error) but not send money back to the customer’s payment method.
I checked the documentation on “Transfer Reversals,” but that only applies to Stripe Connect transfers between a platform and connected account.

What have you already attempted?
I reviewed the following documentation:
https://docs.stripe.com/refunds

cursive heronBOT
#

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

Question
My question is like In my app we are using an Express Connect account.

Like, my question is
If a user already has a stripe account... (not created through our app)

can they link it to our app so it works as if the user did set it up through our app?

Can you please give me a proper answer?

Related Request ID(s)
I have a question.

What have you already attempted?
I have checked in ChatGPT.
But not getting a satisfactory answer

cursive heronBOT
#

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

Question
We’re currently facing the following error while trying to initiate recurring payments for stablecoins:

"error": {
"message": "`setup_future_usage` cannot be used with one or more of the payment method types active on this PaymentIntent.
If you're using dynamic payment methods, please remove `setup_future_usage` and try again.
Otherwise, please remove `setup_future_usage` or remove these types from `payment_method_types`: ["crypto"].
}

Related Request ID(s)
NA

What have you already attempted?
One-time payments for stablecoins works fine.

cursive heronBOT
#

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

Error Message
Niečo sa pokazilo
Tento obchodník má momentálne problém s prijatím vašej platby. Skúste použiť iný spôsob platby. [OR_BIBED_11] OR_BIBED_11

Question
Google pay mi normálne fungoval v testovacom režime bez problémov a ako som prenastavil v tomto plugine Payment Plugins for Stripe WooCommerce na live tak už mi nejde a neviem kde môže byť chyba lebo na mojom stripe učte mám overenú doménu a aj pridaný google pay ale stále to nejde. Mám tam prázdne políčko vo wordprese na merchantid.

What have you already attempted?
No skúšal som to resetovať aj zadať správne api keys ale stále nič

What are you working on?
Eshop

#

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

Question
I am not receiving the resend of a webhook in my sandbox environment to my listening event in the StripeCLI.

Related Event ID(s)
n/a

What have you already attempted?
Resending a payout from the dev dashboard.

What are you working on?
Custom payout integration

cursive heronBOT
#

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

Question
When we have customers with seperate billing and shipping addresses, they also add in a buisness name to stripe. However when the invoice is generated we dont get the buisness name come through on the bill to:

Related Request ID(s)
dev customer ID = cus_L4p4ttYw9OkZbN

What have you already attempted?
read through the invoice API and the Customer API docs

What are you working on?
Allowing customers to have seperate billing addresses

cursive heronBOT
#

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

Question
I am implementing global payout, firstly i want have to create recipient. But i am not able to see accounts sdk via client.v2.core

Related Request ID(s)
NA

What have you already attempted?
i have installed stripe@latest

"stripe": "^19.2.0",

Code:
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY || "");

const account = await stripe.v2.core.

after that i am only getting suggestion of eventDestinations and events, but i want account.create

What are you working on?
i am creating a reward app, in which user will get 2$ againts 200points (Earn via campaign, subscribe newsletter)

cursive heronBOT
#

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

Question
I have a process where invoices are canceled (void), but I see that they are “accumulating” or remaining “pending” with negative balances. Is this normal? How can I prevent it?

Related Request ID(s)
idk how to get the request for those kind of invoices

What have you already attempted?
im just void cancel the invoice

What are you working on?
Invoices

#

@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's subscription collection was paused and invoices set to automatically void. After they unpause collection their billing cycle anchor was updated to now and they should get invoiced once and pay once.

What actually happened?
They got an invoice on oct 22 that was voided. Then when collection was unpaused on Nov 2 they got two invoices and paid twice

Reproduction Steps
Customer cus_M88jcvk1gmaKGl, invoices in_1SP6zHFqArqfkwbM60h6VsmT and in_1SP703FqArqfkwbMybVYHvvr both for subscription sub_1SABT8FqArqfkwbMQEvaMN9h

Question
Why did this behavior occur? Is something unexpected happening or did I not account for something? (check reproduction steps for details)

#

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

Question
Hi, since a few days ago, a client has reported issues with Stripe payments, it appears to be a client side error and that the Stripe component is failing to load (but only for some users).

Related Request ID(s)
req_rRwuOXeE52Eed0

What have you already attempted?
We have attempted to replicate and cannot, we have checked browser console errors and can see some errors shown, yet it still draws the stripe form for us. It shows errors within pay.js saying "Permissions policy violation: payment is not allowed in this document". This seems very odd and not likely this error was their historically, ie when we originally integrated with Stripe. Thank you for help. James

What are you working on?
Stripe payment gateway on Voracio Commerce

cursive heronBOT
#

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

Question
None of my sessions get completed, i already switched to ui mode hosted, and still i dont know whats wrong

Related Request ID(s)
req_Fp4xLkLxDGIcYB ,

What have you already attempted?
i already created one ticket a few days ago with an attempt to solve it, with no success

What are you working on?
saas subscription, monthly yearly plans, no trial, checkout sessions api

#

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

What did you expect to happen?
In smartphones the embedded checkout frame could shrink to less than 400px width

What actually happened?
Seems like the `Carousel-window` element in a embedded checkout, cannot shrink, so, my form is cut out in smartphones, I believe that the min-width attribute is causing this issue, please, contact me if you guys can fix it, thanks in advance.

Reproduction Steps
Screenshots
https://cdn.discordapp.com/attachments/1118534227059822664/1434941697137311934/1.png?ex=690a2918&is=6908d798&hm=b6bd467305d36ca07ece4a586c828ebf37ed7cdf2889889090a0ece990d612b9&

https://cdn.discordapp.com/attachments/1118534227059822664/1434941697648758925/2.png?ex=690a2918&is=6908d798&hm=4b4711f508457bd28ba2db3f8b85a5b4e08ec2a5352db999938429c1e3a70fa4&

Question
Screenshots
https://cdn.discordapp.com/attachments/1118534227059822664/1434941697137311934/1.png?ex=690a2918&is=6908d798&hm=b6bd467305d36ca07ece4a586c828ebf37ed7cdf2889889090a0ece990d612b9&

https://cdn.discordapp.com/attachments/1118534227059822664/1434941697648758925/2.png?ex=690a2918&is=6908d798&hm=4b4711f508457bd28ba2db3f8b85a5b4e08ec2a5352db999938429c1e3a70fa4&

What are you working on?
I'm building a big solution for marketplaces.

cursive heronBOT
#

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

Question
I need to retrieve the discord thread I had this morning to copy some instructions.

Related Event ID(s)
na

What have you already attempted?
Getting back into Discord.

What are you working on?
custom payout integration

cursive heronBOT
#

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

Question
Want to make sure my integration is secure.

I only use public key in the UI and secret key in the server implementation.

Is there anything else that I need to be aware of?

Doc/Guide Links
general docs you provide

What are you working on?
iframe custom payment processor integration with GoHighLevel

cursive heronBOT
#

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

Question
I am trying to develop an app and I want to use stripe as a potential payment. I have inserted the publishable key in my dart code in flutter, and I have uploaded the secret key to firebase. Every time I run the app as it is in test mode, I get unauthenticated. I can’t figure out how to get striped to work on my app.

Related Request ID(s)
Look in dashboard I’m not sure what this means.

What have you already attempted?
I am working in ChatGPT and copilot

cursive heronBOT
#

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

Question
How can I see which meter events are aggregated for a specific invoice? I want to show the list of these values in my own UI.

Related Request ID(s)
-

What have you already attempted?
I have looked at metered usage for subscriptions, have tried the Dashboard and API to find such a list. I have used the sandbox and created meter events to see how invoices are generated. I have looked at the other related API endpoints of the meter object.

What are you working on?
A screen in my app using the Stripe API to show which invoice contains which (metered) usage events.

#

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

Question
Hi, we want to be able to dynamically populate emails and so forth with properties like the currency, order/invoice id, invoice price, etc. These emails may be sent months after the invoice is paid. We're debating whether or not to store these fields in our database after receiving the relevant webhook events, or if we should leave Stripe as the source of truth for this data. Are Checkout Sessions, Invoices, PaymentIntents, and any other relevant objects persisted indefinitely? Or should we copy this data over to our database? The docs don't specify the lifecycle of these objects as far as I can tell.

Doc/Guide Links
https://docs.stripe.com/api/invoices

What are you working on?
Stripe integration for a new product

#

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

Code
<AddressElement
options={{
mode: "shipping",
allowedCountries: [selectedCountry],
defaultValues: {
address: {
country: selectedCountry,
},
},
autocomplete: {
mode: "automatic",
},
fields: {
phone: "always",
},
}}
/>

Question
I need to collect customers' phone numbers. The phone number field placeholder says "Phone number (Optional)". But it can't be optional for me, it is required. How do I make this field required?

What have you already attempted?
Setting `phone: required` but it's not supported, setting `phone: "always"` but it doesn't remove the "(Opitional)" text.

cursive heronBOT
#

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

Question
We're migrating from single recurring subscription to seat based pricing (still recurring subsctption)

Does stripe handle bumping up/down the quantity of a subscription product with automatic proration ? for monthly and yearly ?

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

What are you working on?
SaaS multi seat based

cursive heronBOT
#

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

Question
how should a custom payment method be recorded in Stripe?

Related Request ID(s)
none

What have you already attempted?
looked in docs

What are you working on?
custom payment processor in GoHighLevel

#

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

Question
Unable to set up webhooks. The Stripe signature looks different: Its does not have t, v1, v0. Moreover, I get an error like:Webhook signature verification failed: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? My payload type is Buffer.

Related Event ID(s)
Futurenexus labs Inc sandbox

What have you already attempted?
I tried updating STRIPE_WEBHOOK_SECRET in cloud run with the one generated for this account in sandbox

What are you working on?
There is payout happening for the user, but unable to get the payment status updated via webhooks in our app.

cursive heronBOT
cursive heronBOT
#

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

Question
using stripe.js with elements.submit() and createPaymentMethod() in UI. How do I tell whether user has abandoned the checkout?

Related Request ID(s)
n/a

What have you already attempted?
api docs

What are you working on?
custom payment processor for GoHighLevel

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
I am using platform pricing tool. I did reverse engineer on the stripe processing fee. Example $12.75 is the amount when paid by PayNow is 1.3% + 9% on top of this 1.3%, which is equivalent to 1.417. So for my paynow I place 1.417 + $1.00 so that i can get back $1.00 net. However, when this 1.42% multiply the 12.75 I get back $0.18.

What actually happened?
But based on stripe I get $0.19. Because Stripe round up everytime its 3rd decimal place when it is 0.05. $12.75 * 0.013 = 0.165 (round up to 0.17) + 0.17 * 0.09 = 0.015 (round up to 0.02). Hence, $0.19.

Reproduction Steps
I have tried placing 1.42 % or even split up 1.3% then 0.09%. Still same result

Question
How should I set the setting on pricing platform tool such that i can get back the exact stripe processing fee for PayNow payment method.

What are you working on?
I am building a voucher system using Stripe payment.

cursive heronBOT
#

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

Question
Webhook signature verification failed: Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead

Related Event ID(s)
we_1SPabgIq2bf80JUVq6Ul8Sj4

What have you already attempted?
I did try updating /checking all keys and the stripe signature, it does match with the one in dashboard. I did refer the docs but could not get my db updated via webhooks.

cursive heronBOT
#

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

Question
When I create a new subscription using stripe.subscriptions.create, the initial PaymentIntent that is automatically generated for the first payment always has the default description: "Subscription update".

A critical third-party invoicing integration (Oblio, for Romanian e-Factura) is incorrectly reading this generic PaymentIntent.description field as the product name for the invoice, instead of reading the proper Invoice Line Item's product name (e.g., "Abonament WiseTeach").

My Question: Is there an official way to set or override the PaymentIntent.description field at the moment of subsc

Related Event ID(s)
PaymentIntent ID: pi_3SM5RfGJ9Vvm2nnN0ALNziit Charge ID: ch_3SM5RfGJ9Vvm2nnN0iEXuxxS

What have you already attempted?
I have confirmed my Stripe Product is named correctly ("Abonament WiseTeach") and the Price Description is also correct. The integration simply ignores these.

The third-party integration (Oblio) is a "plug-and-play" system with no configuration settings to change which field it reads.

What are you working on?
I am building a subscription service (WiseTeach) and using the Oblio integration to automatically generate legally compliant e-Factura invoices for the Romanian government's SPV system.

cursive heronBOT
#

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

Question
Hello, I am the head of RBRIGHT INTERNATIONAL in Hong Kong. We are currently developing a C2C mutual aid task platform, but I have a few technical questions that I would like to ask your company.

Related Request ID(s)
nil

What have you already attempted?
nil

What are you working on?
nil

#

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

Question
Apart from the status field being 'succeeded', what data confirms that a Stripe PaymentIntent has fully succeeded?

Related Request ID(s)
req_fbz8MeDAwJGwKQ

What have you already attempted?
I have already used status field but its a string field and its not sucred enough for me. A code or boolean is better

What are you working on?
CRM application

cursive heronBOT
#

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

Link to the Doc/Guide in question
I want to integrate apple pay in my web application

Question
I want to integrate apple pay in my web application. While uploading the iOS certificates in Apple Pay Payment Processing Certificate getting an error as - ' CSR algorithm incorrect. Expected: RSA(2024). Please guide on this

What have you already attempted?
Uploaded the CSR certificate downloaded from Stripe.

cursive heronBOT
#

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

What did you expect to happen?
I trigger a payment on the test environment via API. I use the id of a production connected account.

I'd expect an error saying the account doesnt exist or, id' expect the payment to be visible in the test environment and to trigger an event in the test environment.

What actually happened?
The event triggered in the production webhook but the payment is only visible in the test environment, on a connected account that doesn't exit in this environment.

Reproduction Steps
Trigger a payment with the testMode secretKey for a connectedAccount (using its productionId)

Question
How can this happen ? Are the environment not as isolated as announced ?

cursive heronBOT
#

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

Question
Dashboard shows actions required but API returns no requirements or persons data for the same connected account

Related Request ID(s)
req_0WJs3E9M3SQers

What have you already attempted?
Retrieved account via API, checked requirements and future_requirements, and listed persons — all returned empty though dashboard shows actions.

What are you working on?
Building compliance monitor to detect restricted or restricted-soon accounts and alert users using the same data shown in dashboard.

cursive heronBOT
#

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

Question
apple pay integration with web application

Related Request ID(s)
apple pay integration with web application

What have you already attempted?
apple pay integration with web application

What are you working on?
getting an error while uploading the CSR certificate in Apple pay developler account as below - ''CSR alorithm/size incorrect. Expected: RSA(2048)

cursive heronBOT
#

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

Code
<Elements>
<PaymentElement options={{ customerSessionClientSecret }} />
</Elements>

Question
I'm implementing Stripe Payment Element in React.js : https://docs.stripe.com/payments/payment-element

How do I show more than the last 3 saved credit cards?

What have you already attempted?
I tried to check the documentation and the props allowed for `Elements` and `PaymentElement` but I can't find one relevant

What are you working on?
Stripe Payment Element React.js

cursive heronBOT
#

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

Code
this is a part of my customer.subscription.updated webhook:
const TRANSITIONAL_STATUSES = ['incomplete', 'incomplete_expired']
if (TRANSITIONAL_STATUSES.includes(subscription.status)) {
return new NextResponse(JSON.stringify({ received: true, ignored: true }), {
status: 200,
headers: { 'Content-Type': 'application/json' }
})
}

Question
Hello, I have a monthly subscription that user can have, I have payment_behavior: default_incomplete, but this leads to open invoices, after 24h an incomplete_expired status is being send in the customer subscription updated webhook. In the case where a user, first attempt a payment, then retries few minutes after with a different invoices and suceed, the first invoices that was created before expires 24h after and causes the subscription status to be set to false in my db.

What have you already attempted?
set 1 user max per subscription, ignore incomplete and incomplete_expired in the subscription_updated webhook, so that incomplete invoices are ignored

What are you working on?
My question: is it something I should do, or is there a better approach. I work in the medical domain, so I am not the best dev, but I am trying to learn

#

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

Question
I'm creating a website right now and I'm trying to see how I should handle free tiers. Should I implement the free tier in my application, where the subscription is handled through the database, or should I let Stripe handle the free subscription

Doc/Guide Links
https://docs.stripe.com/billing/subscription-pricing

What are you working on?
Working on making an application that allows for usage based on the current subscription the user holds

cursive heronBOT
#

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

Question
Attempting to transfer to a connected account for a charge but it is failing with error:

```
Transfers using this transaction as a source must not exceed the source amount of $199.00. (There is already a transfer using this source, amounting to $199.00.)
```

The original charge was for 199 and the application_fee was much higher than I originally wanted so am trying to create a new fee for a transfer of the difference. Could someone help to understand what I am missing?

Related Request ID(s)
https://dashboard.stripe.com/logs/req_Z5pXXs1zlOY0lj?t=1762264461

What have you already attempted?
Have checked amounts and made sure the funds don't exceed origin charge value

#

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

Question
Hi I am currently using the Stripe Woocommerce Gateway plugin for wordpress and i want to charge a connected account a fee before sending the money to them using the on_behalf_of api parameter. My main question is how does this work it shows that the settlement merchant is the connected account and transfered to is the connected account in question but when i payout the funds the funds dont transfer to the account. Secondary question would be do i have to manually do this or does it happen on a daily basis these payouts or is it like a 7 day period I have read the docs and im really struggling

Related Request ID(s)
Developer

What have you already attempted?
I have successfully add the application fee parameter and on behalf of parameter and it all looks like it is set up and working but in test mode i dont see the funds transfer to the connected acount

What are you working on?
I am building a woocommerce wordpress website with the Stripe Woocommerce payment gateway plugin and trying to charge the person who owns the site a small transaction fee as payment for the website

cursive heronBOT
#

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

What did you expect to happen?
When I check the "customer.subscription.deleted" data, the "cancel_at_period_end" field is always true

What actually happened?
When I check the "customer.subscription.deleted" data, the "cancel_at_period_end" field is true or false without any clear reason

Reproduction Steps
Subscribe, cancel through the customer portal.

Question
Hello, I don't understand how the "cancel_at_period_end" value is calculated.
The only way for users to unsubscribe is through the Stripe Customer Portal. For some users, the "cancel_at_period_end" field of the webhook "customer.subscription.deleted" is false and some times it's true. I want it to always be true.

What are you working on?
Simple subscription system were the user have access to the product until the end of the month when they unsubscribe

#

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

Question
Looking for help on cleaning up old data on my account, specifically I'd like to delete on products and not just archive them.

Nothing on my platform has been used in any transactions, but I am having a tough time deleting things.

Additionally I'm working on Loveable and have my billing flow worked out, but would love to discuss more to see if it makes sense.

I am thinking of creating a catalog within the platform to easier create packages instead of hardcoding Stripe packages.

Doc/Guide Links
https://docs.stripe.com/billing/entitlements?dashboard-or-api=api#list-active-entitlements

What are you working on?
SaaS Platform

cursive heronBOT
#

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

Question
When creating a subscription - is 6 cycles = 6 months of payment?

I need £600 split across 6 months so should I choose 5 or 6 cycles?

Doc/Guide Links
I haven't looked at any guides.

What are you working on?
Subscriptions

#

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

Link to the Doc/Guide in question
https://stripe.com/en-ca/resources/more/what-is-an-echeck

Question
Located in Canada that would like to use eCheques, so I went looking into the API for ACH and it appears that this is exclusively for the US market. Is that correct? Does Stripe currently offer an API solution for any bank-to-bank transactions in Canada (such as wire transfer or ACH)?

What have you already attempted?
N/A

What are you working on?
Non-Credit Card Payment Option for Canada

cursive heronBOT
#

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

Question
Is there any known webhook event for when a user deletes their account (connected) in stripe? Something we are finding some people do (because no reads disclaimers or watches help videos) is they log into stripe and delete the account we create for them. We then end up having to manually clean this up.

Related Request ID(s)
n/a

What have you already attempted?
Checked stripe api docs but could not see anything for this, not any option in the webhook details.

#

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

What did you expect to happen?
Stripe Deposit payments are being done with checkout method without any duplicate payment entries.

What actually happened?
In recent days we notice post successful Card payment a duplicate payment record with payment method "Paid Out of Band" I want to know why this is happening

Reproduction Steps
Our Client is asking for reason and from where it is triggered

Question
In recent days, we've noticed that after a successful card payment, a duplicate payment record with the method 'Paid Out of Band' is being generated. Could you help us understand why this is happening?

What are you working on?
working on Client's payment webhooks

cursive heronBOT
#

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

Question
Hi so i am trying to use direct charges but i am getting an error that says There was an error processing the payment: You cannot access the connected accounts of your platform's connected accounts.

Related Request ID(s)
cannot find

What have you already attempted?
I have attempted to change the header that is being sent to my connect accounts id for direct charges

What are you working on?
A wordpress woocommerce stripe project

#

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

Code
const session = await stripe.checkout.sessions.create({
line_items: [
{
price: subscriptionPriceId,
quantity: 1,
},
{
price: dnaKitPriceId,
quantity: 1,
},
...(shippingPriceId ? [{ price: shippingPriceId, quantity: 1 }] : []),
],
automatic_tax: { enabled: true },
allow_promotion_codes: promoId ? undefined : true,
discounts: promoId ? [{ promotion_code: promoId }] : undefined,
mode: 'subscription',
ui_mode: 'embedded',

Question
In Stripe Elements Checkout, how can I create a checkout with line items in a specific order? I'm having trouble changing the order of what's listed.

What have you already attempted?
I tried changing the order of the line items. It seems like the one-time line items are displayed in reverse order of how I list them in the array, but the subscription is always at the bottom. ChatGPT seems to say that the subscription is always listed after one-time line items.

What are you working on?
Creating a checkout for customers to buy a subscription + some one-time items.

#

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

What did you expect to happen?
Stripe Checkout Deposit Payments without duplicate payment records against the invoice

What actually happened?
In recent days, we've noticed that after a successful card payment, a duplicate payment record with the method 'Paid Out of Band' is being generated. Could you help us understand why this is happening?

Reproduction Steps
needed reason to know why it is happening and how it can be prevented

Question
In recent days, we've noticed that after a successful card payment, a duplicate payment record with the method 'Paid Out of Band' is being generated. Could you help us understand why this is happening?

What are you working on?
Stripe integrations

#

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

Question
Creating an acss_debit payment method on a connected account.

Related Request ID(s)
Test mode IDs: seti_1SPnjC2HPZP9NfCWcrEyHBjt_secret_•••4ea5 for account acct_1JZci42HPZP9NfCW

What have you already attempted?
I tried creating the payment method on the platform account and then cloning it to a connected account - which appears to be not allowed. I've created the setup intent on the connected account, but in the browser side when I call stripe.confirmAcssDebitSetup I get the error "No such setupintent: 'seti_1SPnjC2HPZP9NfCWcrEyHBjt'"

What are you working on?
ECommerce platform with connected accounts

cursive heronBOT
#

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

Question
Is it possible for the disputes api records creation date to not actually reflect when the record appeared? There was an issue where our system failed to pick up a dispute and upon further investigation it seems that the dispute records creation date was several minutes behind when it actually showed up on the api report .

Related Request ID(s)
Look in dashboard

What have you already attempted?
Read docs , tested on dev.

cursive heronBOT
#

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

Question
Is it possible for a customer object to have both payment_methods and sources? If so, which takes precedence? I have the same question with subscription objects. I'm try write code to sift through some very old customers and their subscriptions, and make sure I know which card(s) they may have set up and which takes precedence.

Related Request ID(s)
n/a

What have you already attempted?
Reading the API manual and googling

cursive heronBOT
#

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

Question
We’ve implemented Stripe Instant Payouts and want to collect a fee for using them. What’s the best supported method to do this?

Related Request ID(s)
acct_1Qf61RGhim54Jws1

What have you already attempted?
I tried using Transfer, which kinda works but incase the instant payout fails we can't refund these transfers

What are you working on?
Instant Payout and application fee for instant payout

cursive heronBOT
#

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

Question
Is the stripe CLI meant to forward webhook events locally for sandbox environments the same way it does in test mode?

Related Event ID(s)
evt_1SPr8bJumtNi1fERudMfOZ2I

What have you already attempted?
Running the cli in this manner `stripe listen --forward-to localhost:8080/webhooks/stripe`

What are you working on?
SAAS

cursive heronBOT
#

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

Error Message
Você criou muitas tentativas de verificação de documentos para esta conta. Fale conosco em https://support.stripe.com/.

Question
estou tentando adicionar meu documento mais nunca aceita, e esta dentro do padrao exigido nao sei oque fazer, tentei hoje de novo e apareceu essa mensagem

What have you already attempted?
ja tentei colocar foto da minha cnh digital e ja tirei foto e nenhum foi

Reproduction Steps
eu ja cosnegui cadastrar praticamente tudo e so falta essa etapa do documento

What are you working on?
nao entendi a pergunta

cursive heronBOT
#

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

Question
Development has basically been completed, and I’m preparing to deploy to production.
I’d like to ask — if I just switch the API key from the test one to the production one, does that mean it’s officially live?
Is there anything else I need to change?

Related Request ID(s)
None

What have you already attempted?
developing with stripe api

What are you working on?
deploy stripe api to my website

cursive heronBOT
#

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

Question
ERROR:services.stripe_payment_service:Stripe error creating customer: Unexpected error communicating with Stripe. If this problem persists

Related Request ID(s)
NA

What have you already attempted?
Any idea how to debug this

What are you working on?
I'm trying to make Stripe live on PROD, sandbox env working up to date and have changed the PROD with the live keys then also getting this error, any idea how could I trouble shoot?

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
I try to enable ACH Direct Debit for express connected account.
Creating an account (acct_1SPvraPkKn12WvKj) I request us_bank_account_ach_payments cabability and it get's to "active" state.
Also the platform's (acct_1GzRGqBnpYVkwVEI) Default payment configuration has ACH Direct Debit enabled.
I was expecting to see ACH Direct Debit in Enabled status for this account.

What actually happened?
On the connected account "Payment methods" page on the stripe dashboard "ACH Direct Debit" is in "Disabled (inherited)" status.

Reproduction Steps
Enable ACH Direct Debit in platform's Default payment configuration.
Create a connected account requesting ACH cabability.

Question
What are the requirements to automatically get ACH Direct Debit enabled for express connected accounts?

What are you working on?
b2b platform for child care providers

cursive heronBOT
#

@tall 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/billing/subscriptions/coupons#creating-coupons

Question
Hello, I have a question. If I create a coupon with Duration=repeating, DurationInMonths=2, and AmountOff=$2, and the monthly price for the subscription is $10, when using this coupon, will the actual amount paid for the 1st and 2nd months be $8? And from the 3rd month onwards, will it return to $10?

What have you already attempted?
When I created a subscription with a daily cycle, I found that the first 10 issues kept using discounts because the monthly test cycle was too long.

cursive heronBOT
#

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

Question
We are in the process of moving from manual charges to Stripe subscriptions, and we need your assistance with the setup.
Here’s our current flow:
When we add a new product to a subscription, we do not charge it directly through the subscription.
Instead, we manually calculate the prorated charge and create a manual payment (via Payment Intent).
After charging manually, we add the product to the subscription without triggering any automatic charge.
Issue:
Since these manual charges are separate from the subscription, we’re unable to identify or link which manual charge belongs to which product

Related Request ID(s)
subscriptions

What have you already attempted?
subscriptions

What are you working on?
manual charges to Stripe subscriptions

cursive heronBOT
#

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

Question
Is there a way to get the date the payment intent status transitioned to success?

Related Request ID(s)
NA

What have you already attempted?
The 'created' property is only when the payment intent was created but not paid.

#

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

Question
Some users are receiving credit note emails from Stripe

Related Request ID(s)
cn_1SPbKjED5xkfDv2c81sulbmw

What have you already attempted?
I am not able to understand this how these credit notes are generated

What are you working on?
I am working on a wordpress site where I have done stripe integration using php .

cursive heronBOT
#

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

Question
For my rental platform, each rental should end at midnight of the billing period.
For example, if a customer starts a rental at 15:00 (3 PM) on a daily pricing basis, the rental should end the same day at 00:00, but still be charged for a full day.

Currently, Stripe subscriptions run for 24 hours from the start time (e.g., 15:00 → next day 15:00).

I use Stripe Hosted Checkout to create the subscription and then attach a subscription schedule after the checkout webhook fires to maintain full control over the subscription.

When rentals start on future dates, I can easily set the start date to midnight. The issue arises when the rental starts today.

Where should I intervene

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

What are you working on?
Rental Platform

cursive heronBOT
#

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

Code
https://docs.stripe.com/api/subscriptions/create

Question
How can I create a prepaid monthly subscription with a usage based meter where the prepaid amount is deducted from the last months usage as credits?

What have you already attempted?
Creating a subscription and a meter within the dashboard.

What are you working on?
platform as a service with metrics that are billable based on usage but deducted from what they've already paid in the subscription.

cursive heronBOT
#

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

Question
Hi I am curious about how application fees work when using direct charges to a connect account

Related Request ID(s)
N/A

What have you already attempted?
The application fee is showing up as a collected fee as expected but when the transfer of the charge goes through it looks like the connect account recieves total amount - stripe fees but not total amount - stripe fees - application fee

What are you working on?
I am working on a wordpress woocommerce site and implemented a custom woocommerce payment gateway to have support for creating payment intents with connect accounts in mind

cursive heronBOT
#

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

Question
Why is the cancelled_at attribute of a subscription updated to current timestamp when the subscription is updated just with new metadata.

Related Request ID(s)
req_2Es4nqwTIp9qRO

What have you already attempted?
We use the cancelled_at attribute to track cancellation statistics in our application and noticed the timestamp is not reliable because it's automatically updated when we update the subscription with "irrelevant" payload like metadata.

What are you working on?
Online Sports platform with subscription service for extended features

#

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

What did you expect to happen?
I created an connect account. I am the Plattform. The connected account is one of my customers and we should manage all the payment stuff permanently, so we chose stripe connect. When I checked the payment methods, I expected to see PayPal as payment option there as well

What actually happened?
When I checked the payment methods, there is no PayPal option. For my account itself, PayPal exists as payment option

Reproduction Steps
Create a connect account . Click on payment methods

Question
Why isn’t it visible and how to enable it, so that the connected account can collect payments via PayPal? We want to use the „checkout“ API later, to collect payments

What are you working on?
Online Shop

cursive heronBOT
#

👋 @normal cape reached out from Stripe Support.

Summary:
Issue Summary: According to the api it should be possible to call it with only the customer argument, however this fails with:

"You must provide at least one of: subscription, schedule, subscription_details.items, schedule_details.phases, invoice_items.",
Related Request ID(s)/ Object ID (s): acct_1JnWtaGC2bHVgrBX

#

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

Question
How can i backdate a subscription which is created via stripe hosted checkout? via typescript sdk

Related Request ID(s)
0

What have you already attempted?
looking for param

What are you working on?
rental platform

cursive heronBOT
#

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

Question
I am using the authorize and capture flow.

I have a home-baked invoicing system which generates invoices after payment is captured, but I'm looking to move into stripe invoicing in order to consolidate everything in one place. However, based on the docs, it is not possible to issue an invoice for manual capture.

I would like to ask two questions:

  1. If I create an invoice, "pay" it and mark it as `paid_out_of_band`, will this flow be able to replace my existing home-baked invoicing system?
  2. Will Stripe Invoicing pricing (0.4% per invoice) be applicable in this case?

Doc/Guide Links
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

What are you working on?
A SaaS with authorize and capture flow

#

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

Code
elements.update({ amount: final_price_raw });
...
const { error: elementsSubmitError } = await elements.submit();
...
const { error } = await stripe.confirmPayment({
elements,
clientSecret,
confirmParams: {
return_url: nextPageUrl,
},
});

Question
I have a PaymentElement that is initialized without payment intent. When the amount changes, I'm calling elements.update(), but it does not correctly update displayed total amount in Apple Pay inside PaymentElement. Are there any additional params that need to be set for Apple Pay to correctly see the updated total?

What have you already attempted?
Read both https://docs.stripe.com/js/elements_object/update and https://docs.stripe.com/js/elements_object/update_payment_element . There is a mention of applePay field in element.update() docs, but it's for deferred and recurring payments

#

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

Error Message
"Something went wrong when linking your account in setupIntent sheet after authorizing US bank account"

Question
When trying to confirm a setupIntent for a connected account's customer, post US bank account authorisation, The user is not able able to proceed forward with adding the bank account on Android devices, the bank account gets added successfully on iOS devices, is there any additional handling required in case of android?

What have you already attempted?
Double-checked the integration and went through the setup intent docs to figure out if anything additional is required for android.

Reproduction Steps

  1. In the setupIntent sheet, select "US Bank account"
  2. Complete the authorization process and select "success" as the linked bank account in test mode.
  3. When asked to enter phone number with Link, proceed with "not now"
  4. "Something went wrong error shown in the setupIntent sheet".

What are you working on?
SetupIntent flow in @stripe/stripe-react-native

#

@chilly remnant pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
React Native/Flutter - Klarna - declines

Question
When should stripe payment intent be updated with the status of a Klarna decline?
We are trying to differentiate between people abandoning checkout, vs a Klarna decline.

Testing in sandbox with "customer+denied@email.de" I don't see a Decline update, just that the customer cancelled checkout.

What have you already attempted?
Tested in sandbox with "customer+denied@email.de" I don't see any decline information in Stripe.
I do see a couple of transaction in prod with "Customer was declined by Klarna", looking to understand how, and when stripe would be updated with Decline information.

What are you working on?
Klarna integration with Stripe

#

@pearl cedar pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have the following events present: invoice_payment.paid, checkout.session.completed
And this is my workflow:

  1. I create a monthly subscription
  2. invoice_payment.paid fires
  3. Some custom logic of mine executes during that event, if the object invoice_payment has a status of "paid"
  4. I skip a month with the test clock
  5. invoice_payment.paid fires
  6. Same custom logic executes during that event, but for some reason invoice_payment now has a status of "open" at all times, but it used to become "paid". This appears with and without 3D auth.

Related Event ID(s)
evt_1SQ6ESRsQrwrCrIydND4yZp7

What have you already attempted?
Retried the event a few minutes later or even up to an hour.
Changing the "finalization of invoice" delay from 1 hour to 30 sec.

What are you working on?
.NET app for an eCommerce shop

#

@ember wigeon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
your card number is incorrect.

Question
Hi Team, we implement tap to pay in react native.

yesterday one of merchents send an error message us.

"Your card number is incorrect."

what this mean in tap to pay?

"pi_3SPr40LmjdnG8GX00squlAjN"

What have you already attempted?
chat with AI

What are you working on?
https://github.com/stripe/stripe-terminal-react-native

cursive heronBOT
#

@worldly 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://docs.stripe.com/elements/customer-sheet?platform=react-native#react-native-configure-wallet-element

Question
Documentation does not comply to types in 0.55.1 version of package.

What have you already attempted?
Previous version of documentation (as far as I remember, can't find it now) described initialize method's signature similarly to what is in TS types now, but trying to use that failed.
We are unable to start CustomerSheet on iOS, and we get error:
"localizedMessage": "The operation couldn't be completed. (StripePaymentSheet.CustomerSheetError error 0"

What are you working on?
Influencer's following app, working on adding and editing payments method from mobile app.

cursive heronBOT
#

@last zealot pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why did payout was visible on the connected account dashboard as upcoming on 6 Oct, but the event for that payout (payout.created) was emitted only on 7 Oct?

Related Event ID(s)
evt_1SFOQVRLYzXdLPadrVuR8rHb, evt_1SFlT9RLYzXdLPadpfsKdjQA

What have you already attempted?
I relied on the events to make the payout reports and dashboard in our app, but I realized that our clients can see different data in our app and in your dashboard (connected account dashboard).

What are you working on?
I'm making the dashboard in our app, which should represent the payouts list (upcoming, in transit etc.), but as I we can see on the live environment there is an issue, because we rely on the events.

cursive heronBOT
#

@turbid solar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I determine if one server IP address has been banned. I can curl api.stripe.com however when I run SDK code I get a Timeout of 80 seconds. I then run the same code on another server, and it works perfectly. The code has been running for months without issue, randomly started last night at 9:30EDT.

Related Request ID(s)
I cannot connect to make a request on a specific IP address

What have you already attempted?
Moving to another server works. Its not a code issue, or an SDK issue.

What are you working on?
Payment Process

cursive heronBOT
#

@fringe rover pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi so i am working on a system where i am converting my approach of using destination charges to direct charges for application fee purpose and reponsibility of disputes etc.

Related Request ID(s)
N/A

What have you already attempted?
I am currently creating accounts directly onto the connect account and trying to confirm a setupIntent but on confirmation its saying this setupintent seti_1SQ998RN7jZzrFwzX7Qi1zCu does not exist even though i pass the connect account id properly here const setupIntent = await stripe.setupIntents.create(
{
customer: customerId,
payment_method: clonedPaymentMethod.id,
confirm: true,
usage: "off_session",
return_url: `${process.env.NEXT_PUBLIC_BASE_URL}/booking-confirmation`,
metadata: {
source: "guest_booking",
email:

What are you working on?
I am working on a custom next js project

cursive heronBOT
#

@neat forum pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can I applied discount to only one time price line items and not to subscription line item in the single checkout session

Related Request ID(s)
none

What have you already attempted?
I tried using creating products and seperate discount and add the setting to the discount to applicable on those products

cursive heronBOT
#

@severe bane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We’d like to charge a platform fee specifically when a connected account uses Instant Payouts. We tested by creating a transfer to our platform and also by creating a direct charge on the connected account, but we’re seeing this balance entry: “Reserved funds because of balance change on account: acct_1Qf61RGhim54Jws1”

Related Request ID(s)
acct_1Qf61RGhim54Jws1

What have you already attempted?
creating a transfer, and creating a charge both method don't work for use and we get a reversal

What are you working on?
Instant Payout and Application Fee

#

@fringe rover pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I am currently working on a next js project and have implemented a solution for payment intents that expire and my project will listen for the payment_intent.cancelled webhook and create a new one in its place if this happens as we need to potentially take payments 1 month + down the line. I am just curious this seems like a terrible way of doing it but it works is there a better way to do this ?

Related Request ID(s)
N/A

What have you already attempted?
see above question

What are you working on?
Next js project

#

@dense idol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I create a setup intent for a payment method that already has been created

Related Request ID(s)
req_na

What have you already attempted?
I am reading through https://docs.stripe.com/payments/save-and-reuse?payment-ui=elements

I am working on an app. Basically I have several cases where I have already done:

  1. PaymentMethod.create
  2. PaymentMethod.attach
  3. PaymentIntent.create

The problem is I immediately used the payment method in creating a payment intent - I think that is not correct right? But I have done it in production - so that means that I am not benefiting from having customer initiated transaction id attached to the transaction, right? So I get higher interchange rates (we are on IC+)?

What are you working on?
connect

#

@worthy pier pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am wondering when doing a payment intent through the API, is there any way to instruct stripe to automatically capture it, if the deadline period expires?

Related Request ID(s)
123

What have you already attempted?
1

cursive heronBOT
#

@dire remnant pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi we have a some stripe connected accounts for our SaaS customers and people aren't seeing specific payment methods which should be showing, I downloaded the account list under the payment method and I can see the status is "requested_active", that would mean that it should show right? Klarna seems to work but Afterpay/Clearpay and Bancontact I can't figure out why, even though the presentment currencies are correct!

Related Request ID(s)
Dashboard --> Connected accounts overview settings --> Payment methods

What have you already attempted?
I tried loading it, checking the accounts list, making sure the payment method is enabled too

cursive heronBOT
#

@cloud steppe pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'd like to "customize" the proration behavior. Specifically, our product team wants to only charge the difference in product's monthly price when changing subscription plans.
So, a user upgrading from a $20/mo plan to a $50/mo plan would pay $30 regardless of when they upgraded.

We're using checkout sessions for the initial subscription and the billing portal for changes.

What's the best way to get this behavior?

Doc/Guide Links
https://docs.stripe.com/api/customer_portal/sessions
https://docs.stripe.com/api/checkout/sessions
https://docs.stripe.com/api/subscriptions/update
https://docs.stripe.com/api/invoices/create

What are you working on?
AI-assisted creative canvas

cursive heronBOT
#

@safe socket pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I run a Stripe Connect platform for pottery studios. I just learned about the setting under Settings > Billing > Invoices > Manual tax amount rounding. (line item level or invoice level). This changes the behavior of tax rounding for our platform.

I'm curious about these questions:

  1. Is it possible to know what value my customers have? It doesn't seem like I can access that value through the API or even though our dashboard access.
  2. Is it possible to change their value for them? Through API or dashboard?
  3. Is it possible to set that at a Stripe Connect level and not let them change it?

Related Request ID(s)
None

What have you already attempted?
Combed through your documentation, dashboards and API. Such as this one: https://docs.stripe.com/api/accounts/retrieve

What are you working on?
Kiln Fire - Billing Management for Pottery Studios

cursive heronBOT
#

@carmine lintel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I use the API to find the Stripe fee associated with processing an invoice (not the actual payment processing fee)? And if it is an invoice for a connected account, does the fee come out of the connected account? Or the main account?

Related Request ID(s)
n/a

What have you already attempted?
Reading the API docs

#

@worldly ridge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```
const { error: initializeError } = await CustomerSheet.initialize({
setupIntentClientSecret: data.clientSecret,
customerEphemeralKeySecret: data.customerEphemeralKey,
customerId: data.customerId,
applePayEnabled: false,
style: "alwaysDark",
returnURL: "stacked-expo://return",
});
const { error, paymentOption, paymentMethod } = await CustomerSheet.present();
```

Question
In react native's SDK I am trying to utilise CustomerSheet. I execute the code above and I am almost sure all the parameters I pass are correct (if I change them to obviosly wrong, I have other errors). The result I see is CustomerSheet being shown for a brief moment and disappear with error printed in console:
```
{"code": "Failed", "declineCode": null, "localizedMessage": "The operation couldn’t be completed. (StripePaymentSheet.CustomerSheetError error 0.)", "message":
```

What have you already attempted?
I digged a little and noticed that actual method that fails is in STPAPIClient+PaymentSheet.swift in retrieveDeferredElementsSessionForCustomerSheet method, where this code:
```
elementsSession = try await APIRequest<STPElementsSession>.getWith(
self,
endpoint: APIEndpointElementsSessions,
parameters: parameters
)
```
Throws very undescriptive error:
There was an unexpected error - please try again in a few seconds

What are you working on?
Adding payments to mobile app in react native, I use react native sdk 0.55.1

#

@versed radish pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I trigger invoice.billing_reason === 'subscription_cycle'

manually from dashboard or api
I need to test this behavior for seat based pricing

Related Event ID(s)
none

What have you already attempted?
none

What are you working on?
SaaS

#

@dusty atlas pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I am retrieving the payments using Payment intent list async method, using .net, for MOST of the payments, both the customer object and customerId is null. I have extended the data.customer too (for a couple of payments, i get the customer id and the customer object with values). This happens in my actual live client and client says that they are not anonymous payments and payer/customer details should be there.

Related Request ID(s)
payment intent

What have you already attempted?
In sandbox testing, i get the customer detail when i associate a customer to the test payment

thank you

#

@jaunty ruin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to handle instances when failed ACSS debit payments on behalf of a custom connect account occur, and making sure that we collect the correct balance transactions to record the money movements. I am having trouble identifying how I can expand a payment intent to get the application fee refund on the destination payment

Related Request ID(s)
req_QvRTSpOun9Aqaz, req_fSBWSyhz4cCpLe

What have you already attempted?
I have tried expanding the latest_charge.transfer.destination_payment.balance_transaction, but I cannot identify the balance transaction for the application fee refund.

What are you working on?
Software for self-storage facilities

#

@dire remnant pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I'm trying to produce a table of our supported payment methods for our SaaS platform for my customers but I am noticing some inconsistency on Stripe as to which currencies/country each payment method shows and I can't find the info on the API either.

Related Request ID(s)
Under payment methods for connected account

What have you already attempted?
I've tried to check teh API to see if it would provide some information on this

cursive heronBOT
cursive heronBOT
#

@exotic tartan pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I've been going crazy! I have my flutter Android app mostly working, and working with my website back end. It accepts all the test cards I throw at it in sandbox testing.. EXCEPT when I try to use the "Pay with Link"!

It calls the link website, I enter all the info, and then when I'm done, it presents a button to me basically asking to user to return to my app

What actually happened?
When pressing the Return to App button, NOTHING happens! It's stuck there! If I close the page or press the Android back button, it returns to the Stripe payment sheet again, but never shows a successful or declined payment.

Reproduction Steps

  1. Select my app Pay this button
  2. Stripe payment sheet comes up
  3. Choose to pay with Link
  4. Enter test card's cvs number. (Previously was able to save my test card via my email account in Link).
  5. select to pay
  6. It returns to a Button to return to my app
  7. Pressing button does nothing.

Question
I've tried to present the return URL in several different ways. I'm not positive what should be here.
I work with various coding AI to help. They've been very helpful but not with this

Should this work in sandbox test mode?

What are you working on?
An Android flutter app

#

@mighty jasper pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
"outcome": {
"network_status": "not_sent_to_network",
"reason": "highest_risk_level",
"risk_level": "highest",
"risk_score": 77,
"seller_message": "Stripe blocked this payment as too risky.",
"type": "blocked"
}

Question
There is an transaction is flagged highest risk by stripe radar. I want to know what's the problem for this one.

What have you already attempted?
N/A

cursive heronBOT
#

@gusty mason 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/dynamic-payment-methods

Question
During the website audit, it was required that the payment methods displayed on the checkout page must match those listed in the website agreement. However, Stripe's Payment Element automatically displays different payment methods, card schemes, and options depending on the user's country. How can we handle this situation? For example, is there a way to display all payment methods but indicate the reasons why some are unavailable?

What have you already attempted?
none

cursive heronBOT
#

@visual vale pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
422 ERR.
I am using dj-stripe to set up Stripe payments on django. Creating the checkout session works, subscribing works; I am using dj-stripe webhook with the github cli url on my local development environment. When I subscribe, it returns a 422 ERR in the cli and stripe records the error. I am using dj-stripe version 2.10.3. When I run the manual sync djstripe_sync_models, my database updates fine.

Related Event ID(s)
evt_1SQIeQDjT9kbv9XHu4WXsLoq

What have you already attempted?
I tried updating...creating subscriptions via stripe. Asking AI.

cursive heronBOT
#

@keen loom pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to save the card details for a physical card used on my card reader. I've followed this guied and have gotten it working (not setting the nickname).
https://docs.stripe.com/terminal/features/saving-payment-details/save-directly?terminal-sdk-platform=react-native

Related Request ID(s)
req_V074ZmCwtTkeMe and req_omafdFVf9V4TFJ

What have you already attempted?
When trying to set the nickname (by setting payment_method_data["meta_data"]["card_nickname"] I get an error saying missing params. After adding the type param it requests, Direct creation of PaymentMethods for type 'card_present' is disallowed. Could you help me?

cursive heronBOT
#

@real storm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there an existing Swift Model Object for the Invoice Object? I can recreate my own but if there's an "official" one that seems more helpful...

Related Request ID(s)
NA

What have you already attempted?
asking the Stripe VSCode extension

cursive heronBOT
#

@digital lance pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe CLI asks me to authenticate every time I try to run a command and I can never run a live mode command.

Related Request ID(s)
n/a

What have you already attempted?
I've set my config variables up manually. I've set my test key to my live key, which works, but is less secure and I'd really like to use the CLI as it's intended to be used.

I have these config variables set:

live_mode_api_key
live_mode_key_expires_at
test_mode_api_key
test_mode_key_expires_at

I can not find absolutely any reference for what config variables are needed or how I can get stripe CLI to just authenticate and STAY authenticated.

cursive heronBOT
#

@wary umbra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Im using backend integration with payment intents, however our FE elemnts allow for link faster checkout payments, how do i integrate link payments with payment intents using API?

Related Request ID(s)
no request id

What have you already attempted?
Read docs, seen that link outputs card token which is used only in deprecated chargres API and that token can't be used in payment intetn API

What are you working on?
Food Ordering website

cursive heronBOT
#

@pearl cedar pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why is it that invoice_payment.paid sometimes fires twice?

Related Event ID(s)
evt_1SQNtCHBGfFoUZ6OZDRrYfIF;evt_1SQNtBHBGfFoUZ6OZGjvZm9k

What have you already attempted?
I tried to "secure" my code from being accessed twice through several checks, which sometimes work, but sometimes they're too slow to keep up with the duplicate firing event.

What are you working on?
.NET app for an eCommerce shop

#

@kindred dawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We need to update, on a daily basis, the metadata for all our connected accounts that have a positive balance. Is there an API method or export endpoint to retrieve connected account metadata in bulk (similar to the “Export” button in the connected account Dashboard) so we can do this efficiently in a single or small number of calls?
Specifically:
Is there a bulk export API for connected account metadata?
If not, what’s the recommended approach to efficiently fetch metadata for all connected accounts at scale?

Related Request ID(s)
Na

What have you already attempted?
ETL approach: Our current ETL pipeline doesn’t capture metadata updates reliably, so we can’t depend on it for daily diffs.
Per-account API calls: We tried iterating over all connected accounts using GET /v1/accounts/:id (Python: stripe.Account.retrieve(stripe_account_id)). For our volume, iterating through all accounts takes more than 14 hours to complete, which isn’t practical for daily updates.
Mannualy: We currently do a manual export via the Connected Accounts Dashboard “Export” button, which completes in a few minutes and includes the metadata we need

#

@shrewd thistle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Using "Express Checkout Element" to build Fast payments secion.

Question
Checkout Page is displaying differently in Facebook in-app browser. PayPal button is displaying in "Card Payment" section not in "Fast payments". But for other browsers the everything is OK. Is there special settings to prevent this?

What have you already attempted?
Using "Express Checkout Element" to build fast payments on Checkout form.

What are you working on?
Payment Form on web

cursive heronBOT
#

@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://stripe.com/resources/more/how-to-implement-split-payment-systems-what-businesses-need-to-do-to-make-it-work

Question
I want to implement multiparty payment sent meaning when a customer pays I want to split that payment in different stripe accounts according to pre-defined percentage.

What have you already attempted?
I want to know which payment api I should use for that

What are you working on?
Multi party payment system

#

@hidden moss pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expired cards should have caused payment failures

What actually happened?
Payments are continuing to pass through

Reproduction Steps
I have a customer, who's default payment method expired way back in 2021, but their automatic payments are still going through. Ref - cus_HcTu6kmuSOgR46 and payment method - card_1H3EwpA5BZ3mzPMyY8oWXopU

Question
How could that be possible? Any idea?

#

@tribal kayak pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.PaymentMethod.attach(
payment_method["id"],
customer=customer,
api_key=api_key,
)

Question
Can you attach a Customer to a PaymentMethod after the payment intent has been created? If not, can you customize the "setup_future_usage" language?

What have you already attempted?
I have a server-side view that looks up the user's customer ID and recently used payment method ID and uses it to make a charge. That gets the error: `The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first.`

I tried to attach ...

What are you working on?
Basically, I'm trying to set up a streamlined donation flow where they can donate to an organization they support from an email in a single click

cursive heronBOT
#

@winter atlas pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Que el pago con tarjeta realizado en mi tienda (WooCommerce + Stripe) apareciera en el Dashboard de nuestra cuenta activa y quedara capturado, con su Payment Intent y Charge visibles, y que el pedido en WooCommerce quedara sincronizado vía webhooks.

What actually happened?
El cliente pagó y WooCommerce marcó “Cargo completo en Stripe” (Charge ID ch_3SQ2zxH…, Payment Intent pi_3SQ2zxH…). Sin embargo, en el Dashboard actual no aparece la transacción. En ese momento la cuenta estaba en proceso de reactivación/migración (nueva cuenta con datos antiguos).

Reproduction Steps
WooCommerce con pasarela Stripe (no WooPayments).

Cuenta Stripe en reactivación/cambio de claves.

Cliente paga con tarjeta.

Pedido queda “Procesando”; en notas figuran ch_… y pi_….

En el Dashboard actual no se encuentra el cargo (Test mode desactivado).

Question
¿Podéis localizar el cargo ch_3SQ2zxH… (PI pi_3SQ2zxH…), confirmar en qué cuenta de Stripe quedó (antigua/nueva o Connect/WooPayments) y su estado (capturado/pendiente)? Si está en otra cuenta, indicad opciones: mantener el payout allí o reembolsar y volver a cobrar en la cuenta correcta.

What are you working on?
Wordpress + Woocommerce + Stripe

#

@last zealot pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why do the Stripe send payout.created event and the payout on that stage has always status = 'in_transit'? When the pending status is set? Why, when a payout is created, does it not initially have a pending status?

Related Event ID(s)
evt_1SLCNsIro54LE1FaaGxLABhm

What have you already attempted?
Trying to fetch payouts by the API and handle payout.* events.

What are you working on?
Creating payout reports in our app.

#

@stoic fog pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to resend events that delivered successfully (responded with 2xx) to EventBridge?

Related Event ID(s)
This is applied to every event

What have you already attempted?
I have tried to resend the event as the documentation stated:
"With the Stripe CLI, run the stripe events resend <event_id> --webhook-endpoint=<endpoint_id> command. This works for up to 30 days after the event creation."
https://docs.stripe.com/event-destinations

But this will give me this error:
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such webhook endpoint: 'ed_test_xxxxxxxxxxx'",
"param": "webhook_endpoint",
"type": "invalid_request_error"
}
}

#

@burnt pulsar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm unable to create a customer session for an account that has installed my app. I'm getting the following error

{
"error": {
"code": "more_permissions_required_for_application",
"message": "This application does not have the required permissions for this endpoint on account 'acct_xxx'. Having the 'read_write' scope would allow this request to continue.",
}
}

Related Request ID(s)
req_oufZykwkwXXmEC

What have you already attempted?
I've added customer_portal_write, elements_write, payment_method_write, customer_write

What are you working on?
I'd like to create a customer sessions so that my API can provide a customer session client secret so my UI can render Stripe elements with stripe.js

cursive heronBOT
#

@kindred dawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
[Follow-up] We need to update, on a daily basis, the metadata for all our connected accounts that have a positive balance. Thank you for your initial response, but the pagination is insufficient (it takes 8h to complete).

Are there recommended strategies to further reduce end-to-end time for large-scale account metadata updates, like ? (we have tens of thousands of connected accounts)
Like webhooks/events we could leverage to avoid full daily scans?
Is there a better way than doing a manual export every day?which seems to be the best solution right now

Related Request ID(s)
two exemples of GET /v1/accounts req_4s2B9zw4DNZzMg ; req_Onw8jKMVE2Zn38

What have you already attempted?
ETL: but it doesn’t capture metadata updates reliably.
Per-account API calls: over all connected accounts using GET /v1/accounts/:id (Python: stripe.Account.retrieve(stripe_account_id)). takes more than 14 hours to complete
Paginated listing (GET /v1/accounts): with limit=100 and cursor-based pagination; this reduced runtime from ~14h to ~8h.

What are you working on?
We’re maintaining a daily job that updates internal records of connected account metadata

#

@restive mulch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, our API key seems to be hacked, we are changing it now, but we want to whitelist only our server IP to send requests.

Related Request ID(s)
None

What have you already attempted?
Hi, our API key seems to be hacked, we are changing it now, but we want to whitelist only our server IP to send requests.

What are you working on?
Hi, our API key seems to be hacked, we are changing it now, but we want to whitelist only our server IP to send requests.

cursive heronBOT
#

@glacial junco pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When using Stripe Checkout with subscriptions, we expected any `discounts` defined in the creation of the Checkout session to be available on the final `Subscription` object after the session is complete.

What actually happened?
After completing the Checkout session, the Subscription's `discounts` property is just an empty array. Instead we had to retrieve the discounts from the Subscription's invoice.

Reproduction Steps
Create a Checkout session in subscription mode with a valid discount within the passed `discounts` array. Then check `Subscription.discounts` after the session is complete.

Question
When does `Subscription.discounts` ever actually get set when using Stripe Checkout? And if the answer is "never" - is this documented anywhere within the API documentation? The API docs' description for `Subscription.discounts` is just "The discounts applied to the subscription." which sounds like exactly what we're doing with the Checkout session.

#

@hollow grove pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am migrating from Elements with Payment Intent API to Elements with Checkout Sessions API. Currently I use these elements, LinkAuthenticationElement, AddressElement and PaymentElement. I am be able to replace AddressElement with ShippingAddressElement but want to know that can I still use LinkAuthenticationElement with CheckoutProvider?

Doc/Guide Links
https://docs.stripe.com/payments/quickstart-checkout-sessions

What are you working on?
Elements with Checkout Sessions API

#

@pliant summit pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
package com.condoSocial.subscriptionService.conf;

import com.stripe.Stripe;
import jakarta.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class StripeConfig {

@Value\("${STRIPE.SECRET.KEY}"\)
private String secretKey;

@PostConstruct
public void init\(\) {
    Stripe.apiKey = secretKey;
}

}

Question
Hello i am sorry is the first time i use Stripe in a software.
So i had before 30.0.0 and it works fine but then i realize there was a new version and today when i check i see 30.2.0 so i try it but the code didn't work it seems import com.stripe.*; doesn't exist anymore so also other library under stripe like model, net ...

I am trying to find a solution in the web but i can't find what new library i can use.

Can you help me where should i read to understand better.
Thanks

What have you already attempted?
I try to find some new solution online but i only see old version.

#

@copper thorn pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey folks, I'm currently playing around with our pricing model (tiered pricing, graduated).

We want to use graduated pricing so that the number of used units is counted over 12 months but the billing period of the subscriptions is monthly.

Is this possible at all?

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models#graduated-pricing

What are you working on?
New pricing model

#

@rancid slate pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
i thought when someone paying by blik, there will only appear a name of the company, not my addres

What actually happened?
There appeared my company name and my addres

Reproduction Steps
i dont know what should i type here

Question
what can i do to hide the addres?

What are you working on?
middleman site when people can play

#

@neat fern pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
During subscription update with payment_behavior = pending_if_incomplete when payment fails I pull out hosted_invoice_url and redirect client to it to finish payment. When client pays invoice, I want them to come back to my website. Since there is no way to set redirect_url to hosted invoice, is there a way to add a button with link back to my website, as it is possible in checkout session?

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

@warped summit pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I can't finish the verification test stage.

Related Request ID(s)
proof of identity for payments

What have you already attempted?
I do live streams on Kick and to receive payments I need a Stripe account. I followed the step-by-step instructions but I'm stuck at the stage where I need to verify my identity. Every time I try to upload a JPEG or PDF file of some document for verification, none of them load. I've tried everything and it simply doesn't work.

cursive heronBOT
#

@graceful tundra 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-legacy/migration-guide#create-price

Question
Is there an easier path to migrate from usage records to billing meters?

What have you already attempted?
Hi,
So we have hundreds of active pricings using the deprecated usage record API. We need to migrate to using billing meters.

Which means:
- duplicating existing pricings (there is no API for that it seems?), associate them with a billing meter
- schedule an update on all active subscriptions to migrate from the old pricing to the new pricing
- Keep sending on both old and new apis, until all subscription schedule changes have been executed.

Is there an easier upgrade path? Can't Stripe create a specific billing meter that bridges with the usage record API and existing pricings?

What are you working on?
Trying to keep up with breaking changes...

#

@last zealot pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why does it sometimes take longer than one day to process payouts from in_transit to paid status?

Related Event ID(s)
evt_1SFkwSIro54LE1Fapc33R7GT, evt_1SGTw5Iro54LE1FauuZTXqVT, evt_1SK6jGIro54LE1FadS7z29Hf, evt_1SKDNQIro54LE1Fa7eDkBjCZ

What have you already attempted?
Observe the events sent by the Stripe.

What are you working on?
Preparing payouts reports in our app.

cursive heronBOT
#

@feral falcon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm having problems with idempotency_key_in_use

Related Request ID(s)
req_nUVIuKtaEROa22, req_PSZGcNvmYZBkIR, req_8lYieSUzUZHWdU, req_5RSzpQy3Kl576c

What have you already attempted?
I'm having this issue, but the body requests are different in these requests.
Why are they sharing the same idempotency key?

cursive heronBOT
#

@hasty fog 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/basil/2025-03-31/restrict-coupon-duration

Question
Hi, I'm performing a Stripe API upgrade for my org and have some questions about the linked breaking change in 2025-03-31.basil.

We apply amount_off / forever coupons to subscriptions for some use cases. Generally speaking, the coupons that we attach to subscription's don't have a duration/end, they're indefinite.

Am I reading the attached doc right in that we can't really do that anymore? Is the only valid solution to hook into the `invoice.created` webhook before a subscription invoice is finalized and proactively attach a coupon/discount to it?

What have you already attempted?
n/a

cursive heronBOT
#

@limber compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are currently migrating to a new domain and for some reason Stripe is not accepting my read keys to read invoices. They used to work just fine before but now I get the following error on my server :

`Error: An error occurred with our connection to Stripe. Request was retried 2 times.`

When I use the same key in my local environment, it works just fine. I am wondering if this could be related to the new domain and if Stripe has some restrictions on what domains they accept requests from. However I can use the key to make other requests to Stripe, such as making a payment with my live key.

Related Request ID(s)
nA

What have you already attempted?
I use the key in my local environment to read the invoice and it works just fine. This issue is only in production

What are you working on?
Ecomm

cursive heronBOT
#

@keen loom pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to save the card details for a physical card used on my card reader. I've followed this guied and have gotten it working (not setting the nickname).
https://docs.stripe.com/terminal/features/saving-payment-details/save-directly?terminal-sdk-platform=react-native

Related Request ID(s)
req_V074ZmCwtTkeMe and req_omafdFVf9V4TFJ

What have you already attempted?
When trying to set the nickname (by setting payment_method_data["meta_data"]["card_nickname"] I get an error saying missing params. After adding the type param it requests, Direct creation of PaymentMethods for type 'card_present' is disallowed. Could you help me?

What are you working on?
Trying to save the card associate with a card present transaction

#

@carmine lintel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I use the API to direct payment for an invoice to go to a specific bank account?

Related Request ID(s)
n/a

What have you already attempted?
Reading the docs. I see that the `payouts` API allows for a `destination`, but can I set that at the invoice level?

#

@jaunty ruin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to handle instances when failed ACSS debit payments on behalf of a custom connect account occur, and making sure that we collect the correct balance transactions to record the money movements. I am having trouble identifying how I can expand a payment intent to get the application fee refund on the destination payment.

Related Request ID(s)
req_QvRTSpOun9Aqaz, req_fSBWSyhz4cCpLe

What have you already attempted?
Started a thread here, and got no real assistance: https://discord.com/channels/841573134531821608/1435745985128169635

What are you working on?
Software for self-storage facilities

#

@lusty cave pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a local listener - You are using Stripe API Version [2025-10-29.clover].

java app using this version of the library:
<dependency>
<groupId>com.stripe</groupId>
<artifactId>stripe-java</artifactId>
<version>30.1.0</version>
</dependency>

When I try to deserialize the charge object:
private void processCharge( Event stripeEvent ) {
Charge charge = (Charge)stripeEvent.getDataObjectDeserializer().getObject().get();

I get this error:
java.util.NoSuchElementException: No value present

Related Event ID(s)
evt_3SQXeBBBKIuAStQq1aH5bfh0

What have you already attempted?
nothing

#

@young sapphire pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/element/events/on_change?type=paymentElement

Question
We are currently migrating to the new Payment Element with payment intents and I need to get the brand of the card in “real time”, before the migration I used an event when the card “change”, this event has the card's brand but now the change card event does not give the brand, is there a way to get the card's brand?

What have you already attempted?
I read about the card element but I'm not pretty sure if is the better way to solve it.

What are you working on?
I'm calculating a fee on front end and showing to the user for cover it?

#

@surreal thunder pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to programatically reactivate inactive accounts? We have a large number of connect accounts which are inactive, but whose owners have submitted identity verification data to comply with new KYC requirements. However because they are inactive, their submissions are stuck "in review".

This situation is cropping up frequently for members of our platform who start using it again after being inactive for awhile. They complete hosted onboarding, but remain stuck until we manually reactivate their account from the dashboard.

Doc/Guide Links
https://support.stripe.com/questions/2023-2024-us-verification-requirements-updates-for-custom-platforms-reviewing-connected-accounts

What are you working on?
Manual Payouts to connect accounts

cursive heronBOT
#

@hasty fog 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/basil/2025-03-31/restrict-coupon-duration

Question
A followup question to #dev-help message since I can no longer respond to that thread.

In the changelog doc, should I interpret this line: "You also can no longer use existing indefinite discount coupons, or related promotion codes, with any of the following:.." as "Going forward, you can't attach existing forever coupons to new subscriptions," or "existing subscriptions with forever coupons are going to break?"

What have you already attempted?
n/a

#

@vivid sierra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff? am i tuff?

Related Request ID(s)
dwaskdoad

What have you already attempted?
eating dih

cursive heronBOT
#

@halcyon zenith pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Cool Opportunity
Hope you're doing great! I'm Hiroki Mori, a team manager from Japan.
My team’s been in the IT industry for over 10 years now, and we're looking to team up with some talented Americans.
We’re especially on the lookout for folks who are comfortable with English and have some solid tech skills.
We’ve got a bunch of cool opportunities open right now, and we're hoping to grow even more by working with professionals like you.
Would love to connect and see if there's a good fit!
Thanks a lot for your time.

Doc/Guide Links
Hope you're doing great! I'm Hiroki Mori, a team manager from Japan.
My team’s been in the IT industry for over 10 years now, and we're looking to team up with some talented Americans.
We’re especially on the lookout for folks who are comfortable with English and have some solid tech skills.
We’ve got a bunch of cool opportunities open right now, and we're hoping to grow even more by working with professionals like you.
Would love to connect and see if there's a good fit!
Thanks a lot for your time.

What are you working on?
Team Manager

cursive heronBOT
#

@glacial socket pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best way to retrieve the payout number in which a given charge was paid out (if it has been paid out)?

Doc/Guide Links
https://docs.stripe.com/api/balance_transactions/object
https://docs.stripe.com/api/payouts/object
https://docs.stripe.com/api/charges

What are you working on?
I want to be able to retrieve the payout number for the payout a charge was part of. This information is available in stripe dashboard when examining a charge but I cannot see a straightforward way to retrieve the info using API

cursive heronBOT
#

@willow yoke pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
onDidRequestReaderDisplayMessage = (message: Reader.DisplayMessage) => {
// Called when the reader provides a message to display.
Alert.alert("Reader Message", getFriendlyReaderDisplayMessage(message));
const friendly = getFriendlyReaderDisplayMessage(message);
setInputMessage(friendly);
};

Question
I havent been able to get the onDidRequestReaderDisplayMessage or RequestInpu event handlers to work, I have an M2 usb stripe terminal and a BBpos terminals, but none seem to trigger this information, which I would really need to provide my users with some more insightful message when there is an error tapping their cards

What have you already attempted?
I tested tapping and getting card errors that would suggest some sort of message would be shown, but nothing gets triggered in these event handlers

What are you working on?
mobile app react native stripe-terminal beta.0.25 sdk

#

@feral falcon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have one request with lock_timeout error with the requrest id but it was added to my invoice properly even receiving the 429 error on the request

Related Request ID(s)
req_cMkOcNnXz4E5Va

What have you already attempted?
I'm trying to bulk add invoice item in invoice

cursive heronBOT
#

@lost edge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
I have created a payment intent and tried paying it with an interac card in production.
Even though I have passed "card_present" and "card" as payment types, I received this error:
The PaymentMethod provided (interac_present) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card_present, card. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "interac_present".

Related Request ID(s)
req_mJiR5EHGCm7BSs, req_zVJAeAUdEVQD6I

What have you already attempted?
I could try to add "interac_present" to the code, but before I push any change to production, I would like to confirm that it's expected to have this error even if "card_present" is in the payment types.

cursive heronBOT
#

@spice barn pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating a wallet based credit system for my NextJs application. Users can topup a desired amount of credits. User can also purchase a recurring subscription. What is the best way to have this system using stripe? Should I go with payment-intents, checkouts or something else?

Doc/Guide Links
https://docs.stripe.com/payment-links
https://docs.stripe.com/payments/payment-intents
https://docs.stripe.com/webhooks?dashboard-or-api=dashboard&verify=check-signatures-library

What are you working on?
I am creating a wallet based credit system for my NextJs application. Users can topup a desired amount of credits. User can also purchase a recurring subscription.

cursive heronBOT
#

@winged spade pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi teams,

I’m working on adapting the 3DS flow for JCB cards.
Previously, we noticed that when we use a saved JCB payment method to initiate a server-side payment (with off_session=true), Stripe returns a “requires_action” status.

Related Request ID(s)
n/a

What have you already attempted?
So now, in our test environment, we’re trying to handle this case. When we receive the above response, we trigger an email asking the user to return to our website, choose their saved card, and complete the payment.
At this point, we set off_session=false, but the payment is still initiated from our server.When we use a test card that requires 3DS, Stripe returns "next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {

What are you working on?
Does this mean that when using a saved payment_method to initiate a payment with off_session=false from the server, we must integrate Stripe.js to handle the 3DS process?

cursive heronBOT
#

@grizzled tendon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe team,

We’re a PCI DSS SAQ D validated payment orchestration platform (multi-acquirer) and need to enable direct card data tokenization via publishable key, without using pre-built UI Elements.

We already see the “Enable data collection with a publishable key” option in our Dashboard, but when calling
stripe.createToken('card', {...}) or stripe.createPaymentMethod({ type: 'card', card: {...} })
we still receive an IntegrationError: Invalid value for token type: card.

Could you please confirm and enable the direct_api_card_collection flag for our account so we can tokenize cards cli

Related Request ID(s)
req_z2cdjLsImuEF5S, req_pdPcacxdbRXHVA

What have you already attempted?
We’ve already reviewed Stripe.js and PaymentMethods documentation, tested both createToken('card', {...}) and createPaymentMethod({type:'card', card:{...}}) flows, and confirmed that the error persists even with PCI SAQ D validation.

We also enabled “Allow data collection with publishable key” in the Dashboard, but the API still rejects the card type.

What are you working on?
We’re building a payment orchestration gateway (Zhex) that routes transactions between multiple acquirers. For Stripe transactions, we need to tokenize cards directly from our secure PCI-validated fro

#

@plucky thunder pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I'm working on a new ecom website. I would like to use Stripe hosted checkout page when the customer order something on the website. The Stripe checkout page only used for card payments. And no invoice generation. Which webhooks are connected to the payment status? The most important would be for me a webhook event if the customer close the browser tab and won't redirect back to the ecom website.

Related Event ID(s)
dunno yet

What have you already attempted?
I haven't found the right one yet. I've read this list: https://docs.stripe.com/api/events/types

What are you working on?
Ecom website order -> Stripe hosted checkout -> back to ecom website workflow :)

cursive heronBOT
#

@jolly summit pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
# create line items for invoice
stripe.InvoiceItem.create(
customer=client_stripe_customer_id,
amount=int(this_initial_price * 100),
currency='sgd',
description='1. Premium Will'
)

stripe.InvoiceItem.create(
customer=client_stripe_customer_id,
amount=-int(this_discount * 100),
currency='sgd',
description='2. Discount'
)

# send invoice
invoice.send_invoice()

Question
How to set the transaction's description by code so it does not default to the usual "Payment for Invoice", "Subscription creation", or "Subscription update" that appears in the exported itemized balance report?

This description shown in the exported itemized balance report is not informative enough to discern what the transaction is for e.g. what product or subscription. I want to be able to customise that description right from the start when creating invoice or billing.

What have you already attempted?
I am not too sure where to get started with. Trying to figure out where this description in the itemized balance report was drawn from and whether it can even be edited (or its already programmatically determined by stripe).

I did tried editing from the stripe dashboard within the payments (i.e. pi_...) by clicking the edit in the Details > Description to change it from "Payment for Invoice" to XXX. But that update did not reflect in the balance report export.

What are you working on?
I want the itemised balance report export to include description of the type of product or subscription

cursive heronBOT
#

@green hare pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I'm using Stripe Billing with Smart Retries enabled. I want to confirm exactly which webhook events are emitted after the final failed retry (i.e., when the retry schedule is exhausted and Stripe stops attempting collection), and whether there is a single “definitive” event for that moment.

My understanding (please correct me if wrong):

For each failed attempt I get invoice.payment_failed.

When the last retry is done, there is no more next_payment_attempt on the invoice.

What happens next depends on Manage failed payments:

Cancel subscription : do I get customer.subscription.deleted (

Related Event ID(s)
invoice.payment_failed

What have you already attempted?
On each invoice.payment_failed, if the subscription goes past_due, I fetch the latest open invoice for that subscription and email the customer the Hosted Invoice Page (invoice.hosted_invoice_url) so they can retry the payment.

#

@tawdry sundial pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Context:
Some refunds trigger two events: refund.created → refund.updated.
However, for this payment intent (pi_3SPrqE0FpRubXYp81A29bin1), the refund triggered different events: refund.created → charge.refunded.

Question:
Which webhook events should I listen to in order to properly sync the refund status?

Doc/Guide Links
https://docs.stripe.com/webhooks

What are you working on?
Refund

cursive heronBOT
#

@native cloud 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
I want to make sure I understand correctly that charge.succeeded means a successful payment and we can provide the fulfillment according to the order, but we do not yet know the complete details of the fees or we have to wait for all the data to be successfully added (eg. balance_transaction or application_fee). I am primarily concerned with UX, so that the user does not wait too long after paying by card.

What have you already attempted?
Just followed the documentation and confirmed behaviour by testing.

cursive heronBOT
#

@dusk thistle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Litterally copy pasted the code in the documentation

Question
So I'm following this documentation to implement Stripe Embedded Payment Element on RN: https://docs.stripe.com/payments/mobile/accept-payment-embedded?platform=react-native&type=payment#add-the-embedded-payment-element-view

Here I just want to render the embedded payment element view at first before doing anything and it works fine, now I try to add `customerSessionClientSecret` and `customerId` and it only renders a radio button with nothing

What have you already attempted?
I'm stuck, removing the `customerId`, `customerSessionClientSecret` makes the payment element working, but adding them is buggy, I only see a radio button

What are you working on?
Add customerSessionClientSecret and customerId to Payment Element Embedded

cursive heronBOT
#

@pastel tangle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way in Stripe to fetch the customer billing email addresses? When I fetch the customer I only get the customer email but not the billing email addresses

Related Request ID(s)
None

What have you already attempted?
Tried to fetch customer and invoice and any of those objects had them

cursive heronBOT