#dev-help

1 messages · Page 97 of 1

cursive heronBOT
#

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

Question
I am in a big problem , I am integrating apple pay direct sheet with web interface , I am using subscription create api wtih trial period. And in my app there is no option to pass customer email , so when user pay with apple pay it ask email and i need to collect that . I can collect that from a payment intent that is fine . But my issue is for a trial period enabled price it is not creating any payment intent so I cannot able to get the email back , is there any way to get the email on stripe webhook event ? I need that because when user subscribe on trial i need to send them a custom email

Related Request ID(s)
no

What have you already attempted?
I have tried stripe webhook customer subscription created event, invoice payment success event and customer subscription updated event

What are you working on?
web app development NEXT JS

#

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

Question
I need help with the connect function.

Related Request ID(s)
.

What have you already attempted?
Currently I have PaymentIntent every month to get the money from the customers, the problem is when i try to transfer it to their providers i get an error and it says insuficcient fund. I could use on_behalf_of, but the users are giving me their sepa mendate and not the providers so it does not work. Do u have a solution or suggestion?

What are you working on?
Marketplace

cursive heronBOT
#

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

Question
Hello. I have a credit based currency system where the user is able to buy credits and then purchase Minecraft Servers with said credits for a month at a time. I want to automatically bill the user if they have purchased a server the previous month using their credits and have now ran out.. Is this possible? How would I do this? I store the customer ID in my database. Here's how I store create the credit checkout: https://paste.learnspigot.com/xamuvekedu.typescript

Doc/Guide Links
https://docs.stripe.com/invoicing/automatic-charging?dashboard-or-api=api

I looked into this and it seemed that it wanted a subscription id, but these credits are a one time purchase.

What are you working on?
A Minecraft server hosting company

#

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

What did you expect to happen?
We have Apple Pay option enabled in stripe dashboard however every user who tries Apple Pay, the payment appears in the bank statement of the user but no record is found in stripe for the user. We also don't see any record for the user in our systems.

What actually happened?
Users report Apple Pay charges in bank statements, but these transactions don't appear in Stripe or our systems. Our support team tells users Apple Pay will fail. However, our Stripe dashboard shows Apple Pay as second most popular method with 1000+ successful payments last week. This creates a confusing disconnect between user reports and Stripe data.

Reproduction Steps

  1. User selects Apple Pay at checkout
  2. Payment completes successfully
  3. Charge appears in user's bank statement
  4. No transaction record in Stripe
  5. No record in our systems
  6. User contacts support about missing transaction
  7. Stripe dashboard shows successful Apple Pay transactions

Question
Why is there a discrepancy between user-reported failed Apple Pay transactions and Stripe dashboard showing it as highly successful? How can we reconcile bank statements showing charges but missing Stripe/system records?

#

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

Question
Is there an API or way I can validate account and routing numbers for ACH payments?

Related Request ID(s)
N/A

What have you already attempted?
I tried looking at your APIs and I only found that it validates it when you create a bank account and attach it to a customer. Is there another way to validate account and routing numbers?

What are you working on?
I have a custom form that takes in a routing and account number for ACH payments. This info will go to a 3rd party for recurring payments, but needs to be validated or show errors before sending it.

#

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

Code
await initPaymentSheet({
merchantDisplayName: "Bla",
returnURL: `${host}/stripe-redirect`,
intentConfiguration: {
mode: {
currencyCode: currencyCode,
setupFutureUsage: "OffSession" as FutureUsage,
},
confirmHandler: confirmHandler,
},
applePay: {
merchantCountryCode: countryIsoCode || "US",
},
googlePay: {
merchantCountryCode: countryIsoCode || "US",
testEnv
},
});

Question
Google Pay produces "An internal error occured" with no other info. Card works fine.

What have you already attempted?
Toggling testEnv, logging through confirmHandler as well as errors and nothing

What are you working on?
React Native PaymentSheet

#

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

Code
<Elements
// Force PaymentElement to re-render whenever the Payment Methods supported is changed.
stripe={stripePromise}
options={{
...stripeElementsOptions,
...otherStripeElementsOptions,
}}
>
<ControlledThemeProvider theme={THEME_MAP["default"]}>
<QueryClientProvider client={queryClient}>
<FormProvider {...formMethods}>
<PaywallCheckoutContextProvider
{...props}
paymentElementKey=""
paymentMethodsSupported={f

Question
We implemented recently the BNPL payment methods on the PaymentElements, but now we have an issue with Link payments.

To implement BNPL we had to initialize Stripe elements with different options, like:

mode: payment
setup_future_usage: null
payment_method_types: [card, link, klarna, etc]

But to accept payments with Link, we have to update the PE to be able to process those payments, but whenever we update the PE the component is reloaded therefore the Link auth is lost.

What have you already attempted?
Initially we had a useState flag which caused to the PE to re-render, but I tried to use the `element.update` function to update manually but the component still re-renders.

What are you working on?
Trying to fix Link payments.

#

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

Question
Is there a way I can simulate paused payouts or charges for a test connected account?

Doc/Guide Links
For example, I have this test acc: acct_1QRaxFGSblWe99ue with enabled payouts and charges, but I would need to simulate their paused state,

What are you working on?
Donations

cursive heronBOT
#

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

Error Message
Payment Declined

Question
I have two accounts on one app (Favorited). I use the same payment method for both accounts. It is powered by Stripe. However, it is continued to be declined on my main account. I tried to create a Stripe account which did not help. I tried contacting my card company but my card works so, that did not go anywhere. The problem appears to be with Stripe.

What have you already attempted?
Calling my bank, creating an account, feels like everything

Reproduction Steps
(On main account) Enter card details, press submit, decline. (One second account) enter the same card details, press submit, approved.

What are you working on?
It’s an app that using your services I’m not working on anything.

#

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

Question
Is there a way to attached a payment_method to a customer when creating a paymentIntent?

Related Request ID(s)
NA

What have you already attempted?
I think it does it automatically but I'm not sure. Do you happen to know?

cursive heronBOT
#

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

Question
Request req_sb1KmkQNoNyyKR: Cannot use a source_transaction that has a null balance_transaction (you might want to check py_3QtsxwG9cv0SKMc51Uw1uZrS to see if it failed.

Related Event ID(s)
1341410880897810555

What have you already attempted?
...

What are you working on?
Platform providers and customers, where customers can buy products, etc. from providers.

#

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

Code
await initPaymentSheet({
merchantDisplayName: "Bla",
returnURL: `${host}/stripe-redirect`,
intentConfiguration: {
mode: {
currencyCode: currencyCode,
setupFutureUsage: "OffSession" as FutureUsage,
},
confirmHandler: confirmHandler,
},
applePay: {
merchantCountryCode: countryIsoCode || "US",
},

Question
Google Pay isn't working (last thread was auto closed)

What have you already attempted?
Changing testEnv and logging

What are you working on?
React Native PaymentSheet

#

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

Question
With automatic billing, how do I add each "bill" to the "Invoice History" under the billing portal? Currently, there's nothing under the invoice history.

I currently have a pay as you go plan with credits. I create a "setup" checkout portal where the user saves their card.

Doc/Guide Links
https://stackoverflow.com/questions/70934647/stripe-checkout-one-time-payments-billing-portal-does-not-show-payment-history

What are you working on?
Server Host

#

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

Question
We have Stripe Checkout configured on multiple websites. UK based companies. For Klarna, which is enabled, upon checkout, the Country Or Region dropdown is disabled and hard-set to United Kingdom, even if someone from Netherlands is looking to buy?

Related Request ID(s)
req_3Pm8Iy136QuSv4

What have you already attempted?
Looking to see if I'm specifying address anywhere, or if there's a setting i've missed

What are you working on?
E-commerce platform for multiple clients

cursive heronBOT
#

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

Question
How to force all field be required in stripe onboarding

Related Request ID(s)
not sure

What have you already attempted?
When I create an onboarding link I need stripe ask for all fields, but it doesn't do that and I don't want bother user with multiple links to fill other info

What are you working on?
Payments

#

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

Question
We're implementing Payment Element and using the dynamic payment methods. We'd like to adjust our page based on the available payment methods that are dynamically displayed on the Payment Element. Is there a hook or API to get the information?

Doc/Guide Links
The doc includes the `availablePaymentMethods`; however, it seems to only for the Express Checkout Element, not Payment Element. https://docs.stripe.com/js/element/events/on_ready#element_on_ready-handler-availablePaymentMethods

What are you working on?
Checkout page using Payment Element.

cursive heronBOT
#

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

Question
https://docs.stripe.com/elements/customer-sheet?platform=react-native#behavior

per this documentation, i want the payment sheet on react native to accept amazon pay and cahsapp,
and i am currently doing what is in this documentation, and i have also already set cahsapp and amazon pay on my dashboard,

could there be other thing i need to do

Related Request ID(s)
none

What have you already attempted?
i have tried this on the backend
const setupIntent = await stripe.setupIntents.create({
customer: customerId,
usage: 'off_session',
payment_method_types: ['card', 'cashapp', 'amazon_pay' ],

i have also tried seting automatinc_payment_methods. enablesd to true

cursive heronBOT
#

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

Error Message
"Error: Your platform needs approval for accounts to have requested the `transfers` capability without the `card_payments` capability. If you would like to request transfers without card_payments, please contact us via https://support.stripe.com/contact.

Question
After setting the Stripe connect, I got this error, what I need to do next?

What have you already attempted?
I need to understand what to do next

#

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

Question
following up on a previous thread that I discussed with support last week. is there a way to apply credit balance to past open invoices. last time, I was told:
`You can’t apply invoice balances to previously created invoices that are still open. However, editing an open invoice applies any invoice balance to the invoice revision.`

now i am wondering, what changes to open invoice would trigger to apply invoice balance. simple metadata update does not do the trick

Related Request ID(s)
req_D23lBxUhjQTlZg, req_D23lBxUhjQTlZg

What have you already attempted?
try to edit invoice by updating metadata of the invoice

#

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

What did you expect to happen?
Terminal in test mode to approve a $X.00 transaction with a test card.

What actually happened?
The card reader told me to remove card and nothing happens.

Reproduction Steps

  1. Send a payment intent to the terminal for $x.00
  2. Insert the test card.
  3. Remove card when terminal tells you to.

Question
I'm using my test mode API, Is there something I'm missing?

What are you working on?
Point of Sale

cursive heronBOT
#

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

Question
I am integrating payment elements to allow dynamic payment methods, it is loading and working when using a direct card number, but when I do a test with CashApp the payment intent is stuck in requires action status. I run the confirmPayment again and it gets stuck in loop. Do I need to handle the Cash App QR scan in Web/Desktop when using dynamic payment methods? OR am I doing something wrong?

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

What are you working on?
Integrating Payment Elements for my Connected users

#

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

Question
When a user has a past due subscription, we prompt them to update their payment method. We do so by using the PaymentIntent that's available in the latest_invoice field of the past due subscription.

By default, will this PaymentIntent save the payment method for future use? And if not, is there a way for us to make it so that setup_future_usage is off_session for this PaymentIntent?

Related Request ID(s)
N/A

What have you already attempted?
Listed above

#

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

What did you expect to happen?
Test card ending 3184 to request 3DS on first payment of a subscription setup (payment/setup intent) then do not request 3DS when invoice is due as this is now a card on file.

What actually happened?
Test card 3184 always requests 3DS, every subscription invoice will fail to charge

Reproduction Steps

  1. Customer Creation
  2. Payment Method Creation (card ending 3184)
  3. Attach PM with Cus
  4. Set default PM in Cus
  5. Payment/Setup Intent created with success 3DS challenge
  6. Search and Created Price
  7. Subscription Created
  8. Trigger next invoice (declines)

Question
Is test card 3184 simulating any real world card behaviour? I understand from a previous thread that card ending 3155 will ask 3DS on the first intent then approve afterwards.

I am worried we will attempt to create subscriptions using cards like 3184 and not know they will decline until the next invoice is due.

cursive heronBOT
#

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

Question
Attempting to determine the feasibility of migrating from our current model of 1 application managing many custom connected accounts where the application is responsible for losses and fees to a new model, using the following controller hash we create *new* connect accounts for ourmembers

		controller\: {
			fees\: {
				payer\: 'application',
			},
			losses\: {
				payments\: 'stripe',
			},
			requirement\_collection\: 'stripe',
			stripe\_dashboard\: {
				type\: 'none',
			},
		},

Need to confirm some assumptions:

* application will pay all fees, at its negotiated volume rates
* stripe is responsible for any losses due to disputes

Doc/Guide Links
https://docs.stripe.com/connect/migrate-to-controller-properties#unsupported-configurations

https://docs.stripe.com/connect/cloning-customers-across-accounts

What are you working on?
Updating our integration to reduce liability for disputes

cursive heronBOT
#

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

Question
How can I get TWINT to show up as a payment method in my checkout?

Related Request ID(s)
req_Qw5ZqxWdKSqjVc

What have you already attempted?
It's configured and enabled in my Stripe account, but not showing up as an option in our production environment.

What are you working on?
Support for TWINT in the Swiss market.

#

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

Question
I am trying to use the Setup Payment Intent to get a payment method to use for future use for BACS but getting the following error: invalid_request_error: Your account isn't configured to directly use SetupIntents to create Mandates for Bacs Direct Debits. See https://stripe.com/docs/payments/payment-methods/bacs-debit to learn more, or contact us through https://support.stripe.com/contact/.

Is this just a matter of configuring something on the account? Or am I doing something wrong?

Related Request ID(s)
My parameters: usage=off_session&payment_method_types[1]=card&payment_method_types[0]=bacs_debit&description=CPQ%2FBilling+Testing+Account+%232&customer=cus_NUX6Oo7PFWrVZt&confirm=false

What have you already attempted?
usage=off_session&payment_method_types[1]=card&payment_method_types[0]=bacs_debit&description=CPQ%2FBilling+Testing+Account+%232&customer=cus_NUX6Oo7PFWrVZt&confirm=false

What are you working on?
custom integration from Salesforce. We currently do have a checkout flow set up to pay with BACS and collect a BACS payment method for future use but want to do it without making a payment

cursive heronBOT
#

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

Code
const stripePromise = loadStripe(
"pk_test_*****"
);

export default function App() {
const options = {
clientSecret:
"sk_test_*****",
};

return (
<Elements stripe={stripePromise} options={options}>
<CheckoutForm />
</Elements>
);
}

Question
I am trying to get this running locally using reactjs vite
https://docs.stripe.com/sdks/stripejs-react

However, I am getting this error:
react-dom_client.js?v=c475026f:5582 Uncaught IntegrationError: Invalid value for elements(): clientSecret should be a client secret of the form ${id}_secret_${secret}. You specified: sk_test_****

I am using my actual test secret key which I switched to stars for the purpose of this question.

What have you already attempted?
I am simply following the docs and it is not clear on how to obtain the client_secret from the server

Initially I want to test this locally, then I would like to test this in production. In production my key is stored on vercel. Where is the key stored for local development?

What are you working on?
Mastering the docs

#

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

Question
I am attempting to tokenize a payment method returned from a financial connections session. I am receiving an error:

>No such PaymentMethod: 'pm_1QtwWOHD7NeqvrPZOzvgSD2W'

I can, however, query the customer for attached payment methods and this payment method does exist.

I have verified that I am setting the proper connected account for the request for the SetupIntent, the financial connections session, and this tokenization request.

Related Request ID(s)
req_dSR7bHgrVfoUHz

What have you already attempted?
I have attempted to run the tokenization request. I have verified the correct connected account ID is being used for all requests.

What are you working on?
A issuing application for the beverage alcohol industry.

cursive heronBOT
#

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

Question
I need to support refunds for credit cards. I make a call to create a refund. In response, I get a refund object with status succeeded. May a credit card refund end up in a pending or failed status? If yes, should I listen for refund.updated webhook and check refund status?

Doc/Guide Links
https://docs.stripe.com/api/refunds/create
https://docs.stripe.com/refunds#failed-refunds
https://docs.stripe.com/refunds#refund-events

What are you working on?
I;m working on adding support for credit card refunds.

cursive heronBOT
#

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

Question
How does the flow work when a user uses sepa to start a subscription, will the billing_reason be subscription_create when he pays or just when he starts the process?

Related Request ID(s)
no id

What have you already attempted?
question

cursive heronBOT
#

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

Question
We are looking to get a little more transparency in our transaction data. Currently we're not able to export our transactions and filter by the products that we sell and only the transaction amounts. We also can't export and filter by coupons used to track commissions for our sales reps. Are we able to add tags to certain transactions with a sales rep email so that the sales rep gets a notification when the transaction is paid? Currently we have to look at transactions multiple times a day and search the emails individually.

Also, are sales reps able to create a sub stripe account to better track all of their sales?

Doc/Guide Links
support doc on the website

What are you working on?
I am trying to get better data documentation for our sales tax reporting, sales for board members, and sales commission tracking

cursive heronBOT
#

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

Question
Are invoice.paid messages that have a subscription always going to have the same subscription?

Related Event ID(s)
evt_1QsvlNC91TDPsgaub03vrOmv

What have you already attempted?
Just want to know how it is supposed to work

What are you working on?
rails integration with stripe

#

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

Code
paramsPay := &stripe.InvoicePayParams{
Forgive: stripe.Bool(false),
}
paramsPay.AddExpand("payment_intent")

in, err := stripeClient.Invoices.Pay(invoiceStripeID, paramsPay)
if err != nil {
return err
}
_ = in.AmountPaid // equal to 0

Question
We use golang client(v79). When we used Invoices.Pay() method, for two test pays we received AmountPaid == 0 in Invoice object. Even though when we request this invoice through https://api.stripe.com/v1/invoices/:id we get correct AmountPaid.

What have you already attempted?
We cannot replicate this anymore, every invoice pay returns correct value.
I discovered that there is webhook payment_intent.succeeded, so I have assumption that we need to use it for ensuring correct amountPaid, but we don't want to use it until necessary, because it makes billing system complicated.

We concerned that we can encounter zero amountPiad in production.

What are you working on?
We bill medical organizations' customers

#

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

Question
In order to attach an external bank account to a connected account I:

  1. Create a customer in our platform account
  2. Create a setupintent in the platform account with inbound/outbound set as true.
  3. Launch the financial connections UI
  4. Tokenize the resulting payment method
  5. Attach it to the connected account

Great! That works. However now I have a problem. The customer and the payment method exist in the root account, which means I can't use the payment method to initiate transfers.

How do I take a payment method in platform account and move it to the connected account?

Related Request ID(s)
req_wyhzOWKJtG2yTL

What have you already attempted?

  1. Attempted to create the SetupIntent in the connected account but this can not be tokenized.
  2. Attempted to create the Customer in the connected account and the SetupIntent in platform account but this does not work.
  3. Tried creating a TreasuryInbounadTransfer in the platform account using the treasury account ID of the connected account. Does not work.

Basically every permutation of platform and connected account I could think of.

#

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

Question
I'm having trouble testing a webhook locally. I'm trying to test "customer.subscription.updated".

Related Event ID(s)
evt_1QtyyNLxQmIisNhQtUuBsm7k

What have you already attempted?
We already handle several events/webhooks. I'm running our api locally. In the our deployed environments, we have to "listen" for only the webhooks we are using. I do not see that option for me when I'm testing locally? Is there a away to do that?

cursive heronBOT
#

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

Code
const paymentElement = window.stripeElements.create('payment');
const linkAuthElement = window.stripeElements.create('linkAuthentication');
const addressElement = window.stripeElements.create('address', {'mode': 'billing'});

Question
How can I get Stripe Link to prefill an Address Element that's configured for 'billing' mode? Or alternatively, how can I remove the "Billing is same as shipping information" field if the Address Element is in shipping mode?

What have you already attempted?
In my testing, once Link recognizes an email address, the payment element is automatically updated with saved card info, which is great.

However the Address Element only prefills if it's in shipping mode. The Address Element does not prefill in billing mode.

I don't want to use shipping mode to get prefill because it adds a "Billing is same as shipping information" field to the Address Element that's inappropriate to my use case.

What are you working on?
Building a donation form utilizing Link, Payment, and Address elements. To improve conversions, I want to prefill Link saved addresses into the Address Element.

cursive heronBOT
#

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

Code
I don't have the code.

Question
I want to change the payment method in Prestashop, for some reason it shows up as "Online Pay" instead of "Stripe" for example.

What have you already attempted?
I looked into translations but nothing with this name shows up

What are you working on?
I'm building a website for a client

#

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

Error Message
You can create a setup intent for a customer that has been deleted.

Question
It should probably not be possible to do this. See req_tX3hWGU3rUVq9e and the attached screenshot

What have you already attempted?
n/a

Reproduction Steps
Create customer
Delete customer
Create setup intent for customer

#

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

Error Message
[Stripe.js] You have not registered or verified the domain, so the following payment methods are not enabled in the Payment Element:

- apple_pay

Question
I am working with the Stripe React PaymentElement and I get the above error message when it renders. However, in the dashboard, I see the domain is registered for Apple pay as expected (id pmd_1Q3N6HFKKJ5EQslyf5PXIUma).

What have you already attempted?
I have gotten Apple Pay working from my iOS application, but not from the web app. The same backend is setting up the payment intent in both cases, and I have verified I am not excluding Apple pay in my PaymentElement options.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/idempotent_requests?lang=python

Question
The idempotency docs for python do not appear to show how to specify a custom idempotency key when using the services pattern instead of the resources one.

What have you already attempted?
I've checked the doc linked above as well as the stripe python github repo here, looking for an example with the services pattern: https://github.com/stripe/stripe-python

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

cursive heronBOT
#

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

Question
I wanted to create a subscription schedule from a subscription with at least 3 iterations and not allow users to cancel the subscription in the period of time. I currently cant find a way to convert the existing subscription the user put his details in.

Related Request ID(s)
nothing to look at rn

What have you already attempted?
I followed the stripe subscription schedule tutorial on yt

What are you working on?
its a real estate platform

cursive heronBOT
#

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

Question
I'm exploring stripe upcoming invoice API. I'm passing below payload

Invoice::upcoming([
'invoice_items' => [
[
"amount" => 46644
"currency" => "usd"
"tax_rates" => [
"txr_xxxxxx"
]
]
[
"price" => "price_1xxxxx"
"quantity" => 1
"tax_rates" => [
"txr_xxxxxx"
]
]
]
])

How can I indicate the first invoice_items array (Which define the total amount) to have metadata, so that I able to use as reference

Related Request ID(s)
none

What have you already attempted?
I've try pass value on description field. Is that possible to pass to metadata field?

cursive heronBOT
#

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

Question
What is the correct value of start_date for subscription_schedules

Related Request ID(s)
req_y99vR39TZYbHTK

What have you already attempted?
I have the error message "You can not modify the start date of the current phase."
I used the subscription created date but it dont seems to be the good value

What are you working on?
subscription schedules

cursive heronBOT
#

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

Code
$stripe = new \Stripe\StripeClient('sk_test_•••6r0H');
$result = $stripe->accounts->create([
'country' => 'US',
'business_type' => 'individual',
'email' => 'issues.rosen@example.com',
'controller' => [
'losses' => ['payments' => 'application'],
'fees' => ['payer' => 'application'],
'stripe_dashboard' => ['type' => 'none'],
'requiremen

Question
I want to create a virtual card for my customer, but when I try to create a connected account, I encounter this error.

What have you already attempted?
I want to create a virtual card for my customer, but when I try to create a connected account, I encounter this error.

What are you working on?
I want to create a virtual card for my customer, but when I try to create a connected account, I encounter this error.

#

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

Question
I created an endpoint inside webhook session. now i need to trigger this endpoint when webtoffee app is uninstalled i need to trigger this webbook which event should i use ?

Related Event ID(s)
account.application.deauthorized

What have you already attempted?
I found this account.application.deauthorized event inside my developers -> events section but showing this event inside edit webhook section.

#

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

Code
public void handlePaymentFailure(Event event) {
try {
System.err.println("inside failure");
PaymentIntent paymentIntent = (PaymentIntent) event.getDataObjectDeserializer().getObject().get();
System.err.println("paymentIntent "+paymentIntent.getId());
Session session = Session.retrieve(paymentIntent.getMetadata().get("session_id"));
System.err.println("session "+session.getId());
String customerId = session.getMetadata().get("customer_id");
String buil

Question
these is my code to handle event for payment failure and i am getting an error on getting session like
com.stripe.exception.InvalidRequestException: Invalid null ID found for url path formatting. This can be because your string ID argument to the API method is null, or the ID field in your stripe object instance is null. Please contact support@stripe.com on the latter case.

also i am getting event type as
payment_intent.payment_failed

What have you already attempted?
NA

What are you working on?
i want to get the session ID when payment fails

cursive heronBOT
#

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

Question
In Retrieve an upcoming invoice API, is it possible to define the discount amount and not coupon?

Example below are my payload

[
"invoice_items" => [
[
[
"unit_amount" => 46644
"currency" => "sgd"
"quantity" => 1
"tax_rates" => [
"trx_xxxx"
]
]
]
]
]

Related Request ID(s)
none

What have you already attempted?
I have look into documentation. It required coupon or the discount ID

#

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

Question
Using the Identity Address verification beta, but in test mode no details about the verified address are returned.

Related Request ID(s)
vr_1QuC64Iq2o1LAhVTKmejsqle

What have you already attempted?
Verified an address in test mode, and the verified verification report returns no details about the verified address.

What are you working on?
Address identity verification

cursive heronBOT
#

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

What did you expect to happen?
When user changes plan on cancelled subscription, the subscription should be renewed with new plan at the end of current billing cycle. The text in customer portal says that 'the updated subscription will be renewed'.

What actually happened?
The subscription is not renewed.

Reproduction Steps

  1. Customer portal configured to allow user to cancel subscription and change plan. One product with monthly and annual prices with downgrades at the end of billing cycle. 2. The user on annual subscription cancels. 3. The user uses 'update subscription' in customer portal and selects monthly price.

Question
Why is the plan correctly upgraded when changing cancelled subscription from monthly to annual, but downgrading at the end of billing cycle of cancelled subscription, does not renew the subscription?

cursive heronBOT
#

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

Question
Hello Stripe Developer,
I have registered a Payment Method domain using the API for both the Platform keys and the User secret keys, ensuring that Apple Pay is enabled on both accounts. However, Apple Pay is not showing up on the checkout page. Could you please help me understand why and suggest a solution?

Related Request ID(s)
https://dashboard.stripe.com/logs/req_43Dk8WD2OGIiqc

What have you already attempted?
I have read the (https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=api#register-your-domain-while-using-connect) and tested the API in Postman. I passed the Platform key and Stripe Account ID in the headers, and the API request was successful, showing Apple Pay as enabled (`true`). However, when I check the checkout page, Apple Pay does not appear.

#

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

What did you expect to happen?
As a connected user I'd like to enter the SM____ code to verify a new payment method.

What actually happened?
There appears to be a bug or broken UI during the verification step. Clicking “Verify” does not trigger any response or prompt for the SM____ code. However, the customer has confirmed that they received the SM____ code via their bank deposit and provided it to us.

Reproduction Steps
Stripe Dashboard > Add a new payment method > Verify > Enter the SM____ code

Question
This error is only happening on 1 account as the same workflow works on different accounts. Is it possible that the UI is broken and how would we go about fixing this? I spoke to Stripe support and their fixes have been generic setting updates.

What are you working on?
Fintech proposal app

#

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

Question
We don't have ACH Direct Debit enabled in our payment methods yet fraudlent appearing customers some how have added them.

Related Request ID(s)
pi_3QrnNvF6KG2nMs1l06cnS95Q

What have you already attempted?
Reviewed that ACH Direct Debit is not enabled

cursive heronBOT
#

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

Question
When reusing a saved payment method for a new transactions, does the new tranasction need to be flagged as one-off charge or multiple future payments?

Related Request ID(s)
n/a

What have you already attempted?
Read through the documentation

What are you working on?
Recurring payment via the saved payment method API

#

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

Question
Hi!

I'm actually creating my paymentIntent using
/v1/payment_intents in POST

Related Request ID(s)
None.

What have you already attempted?
I'm trying to pass the field return_url but I need a paymentMethodId (confirm is already set to true)
but I can't pass it because I dont have my payment method informations ready at this time in the workflow. I'm using Hosted Checkout to validate my payment and I'm not being redirected because of that.

Could you help me please ?

cursive heronBOT
#

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

Question
Is there any way I can give grace period to my users if their subscription's payment fails and if they don't resolve their payment issue within that grace period then their subscription should be paused?

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

What are you working on?
I'm creating a platform in which Users register their account and create paid communities. When creating communities they pay $49 subscription fee to my platform and create paid communities which other users can join.

#

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

What did you expect to happen?
Request pre-filing confirmation from a Connected account -> got confirmation that the info was submitted -> file 1099 file

What actually happened?
Request pre-filing confirmation from a Connected account -> got confirmation that the info was submitted -> information is still missing

Reproduction Steps
Request pre-filing confirmation -> fill out fields -> try to file 1099 form

Question
Hello,

We requested pre-filing confirmation for 1099 forms from one of our connected accounts. We got confirmation that the information was submitted, but in the "Tax forms" in stripe it still says the address and TIN are missing from the connected account.

#

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

Question
We use the customer portal. We would like users to change from monthly to yearly for all products, but not change between product. It does not seems possible with the Billing Portal, is that correct?

Related Request ID(s)
https://billing.stripe.com/p/login/eVa6p7c557at1Us8ww

What have you already attempted?
Numerous combinations of configurations and API docs readup

What are you working on?
Customer portal, allow upsell from monthly to yearly

#

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

Question
Hey, I am making an app and a user has a balance value in the database. My app is based on subscriptions, which is already integrated with Stripe Elements. Webhooks are setup and everything is working, however I have no idea how can I use balance first for subscriptions? I was thinking of adding a coupons to the subscription, however I dunno how can I apply then, before stripe attempts to pay for the customer. Do you have any ideas? Thanks! <3

Related Event ID(s)
webhooks, subscription, invoice

What have you already attempted?
Only basic subscription working

What are you working on?
Hosting service app, where user can top up their balance or get it via affiliate links

#

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

Question
Is it possible to determine the Stripe fee after the card has been presented (Terminal)? I have an issue where I am passing the processing fee onto the end customer, but the customer has a foreign credit card. So the Stripe fee is greater than what I manually calculate.

Related Request ID(s)
n/a

What have you already attempted?
Reading the docs

#

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

Question
Hi. So I have a problem connecting my stripe to shopify. When I get asked to type a code I don't get the code on my gmail. Please take a look, because I want to connect my stripes to shopify

Related Request ID(s)
.

What have you already attempted?
I don't know how to attempt to fix it. I just tried to reset the processs

What are you working on?
online store

#

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

Code
val customerAdapter = CustomerAdapter.create(
context,
customerEphemeralKeyProvider = { ... },
setupIntentClientSecretProvider = null,
)
val configuration = CustomerSheet.Configuration.builder("merchant").build()
val customerSheet = CustomerSheet.create(this, customerAdapter, model::onCustomerSheetResult)
customerSheet.configure(configuration)
customerSheet.present()

Question
When displaying the customer sheet, the default payment method does not appear as selected when the card saved is "normal". Interestingly, it does work when it's a 3D Secure card. These cards have been saved through the PaymentSheet flow, when clicking on the "save" checkbox.

What have you already attempted?
Followed this tutorial https://docs.stripe.com/elements/customer-sheet?platform=android&mobile-customer-session=legacy-customer-ephemeral-key#android-customer-adapter

What are you working on?
I'm migrating rom the Basic Integration to the Mobile Payment Element

cursive heronBOT
#

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

Question
I am collecting payments with the Stripe ExpressCheckoutElement, and finalizing payments on the server. So I will call stripe.createConfirmationToken clientside.

My application has a store of donor profile info. When the customer is logged in, the application knows their billing details XYZ. If they then submit with the ExpressCheckoutElement, their GooglePay/Link/ApplePay account might have different billing details ABC. When constructing the confirmationToken, does it matter whether I pass in ABC in billing_details params? Would this negatively affect anything like address verification? Thanks!

Doc/Guide Links
https://docs.stripe.com/js/confirmation_tokens/create_confirmation_token#create_confirmation_token-options-params-payment_method_data-billing_details

https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment#create-ct

What are you working on?
ExpressCheckoutElement BillingDetails

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/apple-pay?platform=web#verify-domain

Question
Regarding Merchant renewal https://developer.apple.com/documentation/apple_pay_on_the_web/maintaining_your_environment

Apple states that every 25 months the certificate and domain verification expires. Does Stripe handle this automatically for us? Do we need to keep/upload a new Domain Association file?

What have you already attempted?
N/A. We need to know if we have to renew the certificate and domain manually.

What are you working on?
ApplePay Express Pay Element

cursive heronBOT
#

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

Question
My webhook is not working. The issues is coming from the constructEvent()

Related Event ID(s)
evt_1Qtycg2BmsN6YOnaN9ACcdWk

What have you already attempted?

  1. buffer request
  2. Convert request to json

What are you working on?
Am working on a pament and subscription. I need the event to perform other functions like updating our Database

#

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

Question
Hello guys. Good morning. The docs say I can use the Person Api when onboarding individuals but I get an error. I'm trying not to use the individual hash on the account object. The error is "Adding additional persons is not supported for accounts with business type `individual`."

Related Request ID(s)
?

What have you already attempted?
Read the docs.

#

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

Question
Is it possible to create a one time charge to the customer with smart retries, just like subscriptions retry failed charges?

Related Request ID(s)
.

What have you already attempted?
In the dashboard, I tried to create a failed charge in a sandbox environment to see if it would have retries the same way a subscription does, but nothing happened. Also looked at the docs to see how this could be done through the setup_intent API but found nothing there

cursive heronBOT
#

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

Code
// Create new connect account
const account = await stripe.accounts.create({
type: "express",
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
});

Question
Neither apple Pay or Google pay show as possible capabilities for me to create a connect account. How can I implement that payment method for Stripe Connect?

What have you already attempted?
Checked docs but could only find payment methods related to non connect services

What are you working on?
Ticketing platform

cursive heronBOT
cursive heronBOT
#

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

Question
How often is the account.updated webhook sent? I want to notify my connect clients when a new issue is detected, for instance they need to submit their ID or update their EIN. I don't want to send that email out if they submitted that information already

Related Event ID(s)
N/a

What have you already attempted?
I haven't rolled my code out yet because I notice the account.updated has been sent multiple times.

cursive heronBOT
#

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

Question
looking to get stripe payment setup as its new product and stuck on payment intent part. please assist

Related Request ID(s)
0000

What have you already attempted?
updated and online, ran diagnostics everything is in the green

What are you working on?
setting up payment stripe for Clients

#

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

Question
retrieving LastVerificationReport comes as NULL when processing a VerificationSession webhook event with status as verified. However, the last verification report id exists in VerificationSession:
"last_verification_report": "vr_1Qu4RN2LjNH6sc0XN29QFaBI",

Also, the VerificationSession.VerifiedOutputs is NULL.
I am using java api: 28.3.0
my Stripe API version is: 2025-01-27.acacia

what am I missing? How can I get the required data?

Related Request ID(s)
"id": "evt_1Qu4RO2LjNH6sc0XnbUKKkdc",

What have you already attempted?
ID verification

cursive heronBOT
#

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

Question
Can I update the customer on a setupIntent/paymentIntents?

Related Request ID(s)
NA

What have you already attempted?
I got an error and now can't reproduce it. Sorry...I don't remember exactly what it was but it said something similar to "Can not update customer...one is already attached".

#

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

Question
For Stripe Tax, is it safe for me to set `automatic_tax: {enabled: true}` in my `Stripe::Checkout::Session.create` call before completing the "Add a tax registration" step?
If I do, will taxes be collected even though I don't have any registrations?

Related Request ID(s)
N/A

What have you already attempted?
I've read the documentation and it notes "register with that jurisdiction before you begin collecting" and "When you register to collect tax in a jurisdiction, use the Registrations tab of the Dashboard to add the registration to Stripe. That’s necessary for Stripe to calculate and collect the taxes you owe and for you to manage calculations and view reports for each location in which you’re collecting tax." ... I interpret these as meaning the code change can happen at any time, but I'd like to be sure.

What are you working on?
I'm building CityStrides, which helps people run/walk every street in their city

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/instant-payouts#monetization-and-fees

Question
What is the recommended way to charge for only certain types of payouts? We want to offer our payout recipients automated weekly payouts for a fixed fee. If they choose monthly automated payouts, they should receive them for free. This fee should apply irrespectively of them using INSTANT or STANDARD payment methods.

What have you already attempted?
Read through documentation, especially https://docs.stripe.com/connect/instant-payouts#monetization-and-fees and https://docs.stripe.com/connect/account-debits

What are you working on?
Notch Platform

#

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

Code
stripe_client = StripeClient(api_key)
secret = stripe_client.apps.secrets.find(
{
"scope":{"type": "account"},
"name":name,
"expand":["payload"],
},
stripe_account=account_id
)

Question
Hi! Using the CLI it's possible to specify the header Stripe-Account to get data from a connected account. How can it be specified for StripeClient.apps.secrets.find?

What have you already attempted?
I tried to put stripe_account as an argument and also in the object next to scope and name

#

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

Error Message
aaaaa

Question
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

What have you already attempted?
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Reproduction Steps
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

What are you working on?
Found a huge bug on stripe

cursive heronBOT
cursive heronBOT
#

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

Code
await stripe.setupIntents.update(setupIntent.id, {
customer: customer.id,
});

Question
Can we collect payment information before creating a stripe customer?

What have you already attempted?
Creating a SetupIntent and then once successful creating a customer and then trying to update the setupIntent to link to the customer.

What are you working on?
We're building a sign-up flow and want to collect payment information first, and only have customers listed in Stripe that have successfully entered payment

cursive heronBOT
#

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

Question
Stripe webhook returning 404 - webhook code not being hit

I'm working on a checkout Stripe integration. I'm using NodeJS with Express for the backend. I'm trying to integrate webhooks and using Stripe CLI for local testing. I set up a POST request to POST http://localhost:3000/api/webhooks/stripe but when I complete a successful checkout, the webhook returns a 404 error.

Related Event ID(s)
N/A

What have you already attempted?
I double checked that my backend is running on port 3000 (it is), I double checked my endpoints (it is hitting exactly /api/webhooks/stripe), the raw body parser comes before the middleware to parse JSON requests, etc. I have console.logs everywhere in my code and I realized my code for the webhook is never being hit. (console.log inside stripeWebhook function).

What are you working on?
I'm working on a personal ecommerce website for learning purposes and trying to integrate Stripe for payment processing. I can provide screenshots and code snippets.

cursive heronBOT
#

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

Question
1|app-production | 2025-02-20T02:12:47: 2025-02-20 02:12:47 error: POST /api//payments/create-checkout-session 500 8ms index.vue:90 Error redirecting to Stripe: Error: No session ID returned from API at redirectToStripe (index.vue:84:13)

Related Request ID(s)
1|app-production | 2025-02-20T02:12:47: 2025-02-20 02:12:47 error: POST /api//payments/create-checkout-session 500 8ms index.vue:90 Error redirecting to Stripe: Error: No session ID returned from API

What have you already attempted?
checked my backend and frontend code

cursive heronBOT
#

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

Code
$stripe = new \Stripe\StripeClient('sk_test_•••8L6n');
$result = $stripe->accounts->create([
'country' => 'US',
'capabilities' => [
'transfers' => ['requested' => true],
'card_issuing' => ['requested' => true],
],
'controller' => [
'stripe_dashboard' => ['type' => 'none'],
'fees' => ['payer' => 'application'],
'losses' => ['payments'

Question
I want to issues virtual card for script's user by using api, but when we will try to create account [connected account] then we got error like, "card_issuing can only be requested if your platform has been onboarded on Stripe Issuing already.". Why come this and how to solve this.

What have you already attempted?
We just want to first connect account, then we will try to create cardholder, then create card

What are you working on?
I want to create a virtual card for my customer, but when I try to create a connected account, I encounter this error.

cursive heronBOT
#

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

Code
public void handlePaymentFailure(Event event) {
try {
PaymentIntent paymentIntent = (PaymentIntent) event.getDataObjectDeserializer().getObject().get()
SessionListParams params = SessionListParams.builder()
.setPaymentIntent(paymentIntent.getId()) // Pass a valid PaymentIntent ID
.build();
SessionCollection sessions = Session.list(params);
Session session =sessions.getData().get(0);

Question
i am handling payment failure in which i have stored session id in my database and after payment failure for card my code is working propely but when i try bank failure its not working i have checked my logs first its shows the event type as checkout.session.completed
then it comes
payment_intent.payment_failed
and then checkout.session.async_payment_failed
mow the issue is my failure code worked with payment_failed is it necessary to add checkout.session.async_payment_fai

What have you already attempted?
NA

cursive heronBOT
#

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

Question
I have a django project in which I am using stripe for making a payment through payment link

Now what happens is when I make a payment through payment link, I have created a webhook with the help of ngrok for testing purpose on local

added signing secret in the environment file which is mentioned on stripe dashboard webhook, with mentioned webhook on stripe dashboard it is not working.

when I do like stripe login on another terminal and then

stripe listen --forward-to https://750c-223-178-213-67.ngrok-free.app/paymentApp/webhook/stripe/

then it provide me another signing secret which th

Related Event ID(s)
Dashboard>webhooks

What have you already attempted?
I have already mentioned details about it in the question.

What are you working on?
payment confirmation webhook

cursive heronBOT
#

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

Code
PaymentIntentCreateParams params = PaymentIntentCreateParams.builder()
.setAmount(amount) // Amount in cents
.setCurrency(currency)
.setCustomer(customerId) // Stripe Customer ID
.setPaymentMethod(paymentMethodId) // Saved Payment Method ID
.setOffSession(true) // Indicates it's an off-session payment
.setConfirm(true) // Confirm immediately
.build();

			PaymentIntent paymentIntent = PaymentIntent.create\(params\);
			r

Question
i am doing automatic payment ,when user came first time and pay the amount i am copying the payment method and doing these .Is it work or not

What have you already attempted?
NA

cursive heronBOT
#

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

Code
self.collectCancelable = Terminal.shared.collectPaymentMethod(intent!) { collectResult, collectError in
if let error = collectError {
else if let collectPaymentMethodPaymentIntent = collectResult {
Terminal.shared.confirmPaymentIntent(collectPaymentMethodPaymentIntent) { confirmResult, confirmError in
if let error = confirmError {

if self.cardCountry == "UK"
{
if let stripeId

Question
We are implementing Tap to Pay functionality in our iOS app using the Stripe Terminal SDK and applying transaction charges based on the card type.

We receive card details after confirming the payment. However, we encounter an error stating that the PaymentIntent is in a "requires_capture" state, and Stripe does not allow updating the amount at this stage.

Our requirement is to update the transaction charge on the PaymentIntent after retrieving the card details.

What have you already attempted?
After confirm payment method we have send the detail to the server to update the payment intent but not working

What are you working on?
developing app

#

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

Question
Hellom I am working on a software for accounting company, I used connect to register webhook for users, and now I need to react to invoice event especially invoice.paid and save invoices from stripe in our company app. However to do this I need customer address and tax rates.

When I use CLI both of this are empty or null.
Is there a way to ensure that customer address will always be there?

Also I am confused about tax rates, I have seen that they may be specified in invoice object or somethimes in invoice item object. Both of them are empty in events from CLI, can I test getting them?

Related Event ID(s)
invoice.paid from CLI like i specified in the question

What have you already attempted?
I tryed to pull customers data by API but also received empty address

What are you working on?
We are building software for accountants, to automize their work it is already being used, but currently they have to put stripe invoices manually to our app, we would like to improve this process

cursive heronBOT
#

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

Question
I have a business using Stripe (USA) and I tried to implement cross border payouts (with separate charges and transfer), but stripe log sends this:

The recipient ToS agreement is not supported for platforms in US creating accounts in US

It only works for US customers when I set ToS agreement to 'full' instead of "recipient". But from what I understood I need to onboard users using the recipient agreement in order to make cross border payouts. How to implement correctly cross border payouts with separate charges and transfer thay will allow US and non US customers to onboard ?

Thanks !

Related Request ID(s)
req_OPMYuv6J4MxrwG

What have you already attempted?
I tried to change the service agreement to full and it worked for US accounts, but I saw that we need a recipient agreement to make cross border payouts...

Here is my account creation code

$account = $stripe->accounts->create([
'controller' => [
'stripe_dashboard' => [
'type' => 'express',
],
'fees' => [
'payer' => 'application'
],
'losses' => [
'payments' => 'application'
],
],
'capabilities' => ['transfers' => ['requested' => true]],
'tos_acceptance' => ['service_agreement' => 'recipient'],

What are you working on?
I work on a gig/services platform that allows buyers to order services from sellers. Once the seller delivers the service (digital) and the buyer is satisfied the money is transferred to the seller.

#

@fallen ginkgo 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/disputes/object

Question
When submitting evidence on the Stripe dashboard, step 1 "Tell us about the dispute" is not reflected in the dispute object. May I ask if this step 1 will affect the evidence submitting to the issuing bank and drive up the win rate?

What have you already attempted?
We have integrated the dispute API for each evidence category and wonder if there's a way to integrate step 1 in the Stripe dispute dashboard.

What are you working on?
Integrating dispute API to let merchants response on our admin

#

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

Code
$transfer = $stripe->transfers->create([
'amount' => ($price*100),
'currency' => 'usd',
'destination' => 'acct_XXXXXXXXX',
'transfer_group' => 'ORDER_99',
],['stripe_account' => 'acc_XXXXX;]);
}

Question
I am getting an issue when creating the transfer.:
{
"error": {
"message": "Cannot create account debit on this account; please contact us via https://support.stripe.com/contact with details for assistance.",
"request_log_url": "https://dashboard.stripe.com/acct_1QuTC2RTkfhxJmMx/test/logs/req_iQjJR4y23aBxtM?t=1740039776",
"type": "invalid_request_error"
}
}

What have you already attempted?
Create Transfer Connected Account to Main Account

cursive heronBOT
#

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

Question
Can a payment intent be bound to an open elements session?

We have a flow where very keen that payment intent is only generated upon the customer submitting the payment.

To remove an existing solution with the SK being the ux layer I want to create a new server side root that will generate the pi, ideally link it to the elements session from the ux layer and then submit it, but I only know of a root to bond the elements session to the pi not the other way round.

Related Request ID(s)
unknown

What have you already attempted?
currently our UX layer has our SK and is generating the PI at this point (updating it with some data from backend), binding the elements session to the newly created PI and then submitting it.

We are altering this so the call to our server side which previously was only to return meta data for the PI will generate the payment intent.

Ideally I would like this new server side call to both create and submit the PI to reduce the number of separate calls for a payment

What are you working on?
I am improving a one off top-up flow.

#

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

Question
Hello! We're already using Stripe integration for some product and I just noticed that for the same product we have multiple prices. Is this because we're creating PriceCreateOptions each time when creating Subscription?

Related Request ID(s)
https://dashboard.stripe.com/test/products/prod_RLdveCC4dIiJ7N

What have you already attempted?
reviewed code and found that we're creating PriceCreateOptions each time

What are you working on?
Stripe integration in our system for using payments and based on webhooks make some actions in our system

cursive heronBOT
#

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

Question
We think we have a hacker which uses our backend to iterate credit cards. We see hundreds of logs by the same session creating setup intents with our API. How can we avoid that? The linke request ID is just one example of hundreds.

Related Request ID(s)
req_IEgD37LuG0C0iI

What have you already attempted?
we just found the issue and still thinking about next steps

What are you working on?
ecommerce

#

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

Question
Hellow fellow developpers,

Is it possible to link a payment to multiple invoices ?
I'm implementing a payment flow with Connect. A doctor will collect payment from a patient (through the S700), and this money will go directly to the doctor connected account. Sometimes, we'll add platform fees, that will go into our connected account. For those specific cases, we'll need to edit two distinct invoices, that must be linked to the only payment the patient has made.
It seems not feasible at the time, but is there any workaround that would fit in the Stripe "normal" flow ?

Thanks in advance for your help!

Doc/Guide Links
I've looked at https://docs.stripe.com/js, in the PaymentIntent and Invoice parts.
I've followed this one : https://docs.stripe.com/terminal/features/connect
And looked at this one : https://docs.stripe.com/terminal/features/receipts
But the last one isn't what I want to do : I don't want receipts, I need invoices.

What are you working on?
I'm building a physical (with S700 reader) payment flow linked to Stripe Connect, for doctors in a medical center.

#

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

Question
Billing portal keeps allowing to switch products while explicitly passing in the prices it can switch to. We only want to allow switching from monthly to a yearly price within each product.

Related Request ID(s)
req_JQWAUWCqZFfBnP

What have you already attempted?
All kinds of different configurations. I was here yesterday in the Discord and I was directed at using the API where we can specify this. After spending much time on it and reading the API it doesn't seem to work yet.

What are you working on?
Allowing to switch from month to year

#

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

What did you expect to happen?
Payment retries (at max 3 in Test mode ) should happen in over few hours for a failed payment in subscription

What actually happened?
The invoice was scheduled for 7th of march . i set the time to be 00:01 am of 7th of march. and it does 3 retries in less than a minute. and then as per rules marks it past due or uncollectible

Reproduction Steps
Create a subscription for A user.
added a free trial
Simulate clock for 1st invoice (successfully paid).
Change payment method for (declined card).
then simulate clock for next invoice to be paid (which will be declined) which it does perfectly

There is no time after decline to change PM since retries happen to quickly and rules are executed.

Question
Yesterday i had tested the same flow and it was working as expected. today i cleared the Stripe testing Database and then tried to simulate the thing. and it did not work. What has changed? am i missing something ?.

What are you working on?
I am building a recurring subscription for AudioBook App.

#

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

Question
Trial period and 100% coupon are being combined – how to avoid? When my SaaS users redeem a coupon which has 100% off for the first month, it is being combined with the 14 days free trial period, meaning, it results in 44 days. Instead, I would want to have only 1 month off whenever a customer redeems a 100% off coupon. Theoretically I could do something like `if (couponAmountOff = 100) { freeTrialDays = 0 }` – but is this actually the way to go or is there a setting in Stripe/a parameter I can pass to the API to handle this correctly?

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
SaaS for Facebook Ads

#

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

Code
Terminal.getInstance().connectReader(readers.get(0), config, object :
ReaderCallback {

        override fun onFailure\(e\: TerminalException\) {
            callback.onFailure\(e\)
        }

        override fun onSuccess\(reader\: Reader\) {
            context.paymentState.value = StripeViewModel.PaymentState.READER\_DISCOVERED
            context.proceedPayment\(callback\)
        }
    }\)

Question
We are currently trying to make our app work with the Sunmi V3 Mix devices (which you support according to this blog post: https://stripe.com/blog/stripe-terminals-expanding-ecosystem-new-partnerships-bring-flexibility-and-innovation-to-unified-commerce )
We can initiate a payment and it says "put card on the ttpa reader" - but the hardware ttpa reader doesn't collect our test credit cards. it does nothing? The payment is waiting, but nothing happens, the nfc card is ignored

What have you already attempted?
our app worked before with external USB readers, so the workflow should be fine. its just that the SunmiV3 Mix TTPA reader doesnt do anything?

What are you working on?
a android payment app, where we try to make payments over the built in ttpa reader in our sunmi v3 mix

#

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

Question
i faced this issue Error creating Stripe session: StripeInvalidRequestError: Your destination account needs to have at least one
of the following capabilities enabled: transfers, crypto_transfers, legacy_payment

Related Request ID(s)
no

What have you already attempted?
const account = await stripe.accounts.create({
type: "express",
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
metadata: {
daycare_name: daycareName,
email: email,
profile_id: profile_id,
},
});

cursive heronBOT
#

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

Question
Hello I followad a guide "Automatically collect tax from invoices" then generated an invoice id: "in_1QuX0cGvM51qWlh3ZSRZvDXS" i received it in my dashboard with an event i can see calculated tax and customer address but still taxRates arrays are empty.

I can see tax details on the invoice preview/pdf.

In dashboard>tax>transactions
I can see a transaction that shows calculations of plish taxes for the invoice.

  1. What do i need to do to also see tax rates? And sales tax? As i understood I only see VAT right now.

  2. Can i somehow receive this event in my local app webhook?

Related Event ID(s)
evt_1QuX44GvM51qWlh3AZDsZS9v

What have you already attempted?
described in first input

What are you working on?
Accounting application

#

@past viper 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=ios#ios-set-up-return-url

Question
There's a section on the iOS documentation mentioning return url, but it's not present on the Android documentation. Is that not needed?

What have you already attempted?
We have some logic in place from the Basic Integration and now that we are migrating towards Mobile Payment Element I'm trying to clean up all unnecessary code.

cursive heronBOT
#

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

What did you expect to happen?
We are randomly getting users saying their 3DS is failing when using us but not when they use another payment method like Stripe directly (we use Stripe behind the scene)

What actually happened?
Users are failing 3DS when using us. I can find lots of errors with status:incomplete with the following error:

3D Secure attempt failedThe customer failed 3D Secure authentication.
---
Authentication for this payment has failed.

Reproduction Steps
we are using payment.elements but this is not happening to all our 3D Secure payments

Question
I don't understand what the error is. Details are showing that we can provide `payment_method_data` but the only useful property there is `biling_address` but when add the props to display billing address from stripe elements we only see Country and Post Code (we are in the UK only)

What are you working on?
payment gateway

#

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

Error Message
[Stripe.js]
"You have not registered or verified the domain, so the following payment methods are not enabled in the `paymentRequest`:

- apple_pay

Please follow https://stripe.com/docs/payments/payment-methods/pmd-registration to register and verify

Question
We have the issue on different environments with apple pay functionality. It is impossible to pay via apple pay on this connected account "acct_1LqGkXDMPmPwJSYh", "pi_3QuXF6DMPmPwJSYh0rpQUjyX".

But it is possible to pay on "acct_1M1RE0L7ip0GbFi3" "pi_3QuXICL7ip0GbFi300vLJOXz". Nothing was changes in terms of certificates, domain registration and etc.

What have you already attempted?
Same product build is deployed to different environments
Dashboard is checked and all domains are verified and enabled

#

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

Question
i have stripe app submitted in stripe.
if i need add a webhook, is there is a need to submit the app to stripe for review?

Related Event ID(s)
account.application.deauthorized

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
Is something updated for NON-3DS payment verification process ?

Related Request ID(s)
pi_3QuStvSFnTh59X6501KI0LVp

What have you already attempted?
I am getting response with status = requires_action for NON-3DS payment , there something changed for NON-3DS payements?

#

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

Question
Hello, I work on a software for accountants, I use connect to register webhook for my clients Stripe accounts, and listen for their invoices events.

I have an event containing invoice, this invoice contains customer address and vat calculation - both mandatory for accountants. I also need knowledge of what is VAT rate in percentage, and I need to also read VAT rate and sales tax rate from invoice event - those are also mandatory to be visible on invoices in our country. How do I manage that?

I have seen "taxRates" array in invoice item object, however I always receive it empty.

Related Event ID(s)
evt_1QuX44GvM51qWlh3AZDsZS9v

What have you already attempted?
In description

#

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

Code
I have an app in stripe. Now i need to change the current redirect url or add new redirect for testing is that possible

Question
Is it needed re submission for this?

What have you already attempted?
Nothing

#

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

Question
Hey, is there a possibility to get BIN info (or maybe it's called IIN) for transactions via your API? Can this be opened for us?

Related Request ID(s)
N/A

What have you already attempted?
Hey, is there a possibility to get BIN info (or maybe it's called IIN) for transactions via your API? Can this be opened for us?

#

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

Question
Can I trigger the event that monthly cycling billing subscription payment failed if customer doesn't handle their invoice within one month?
In that case, how can we get the detailed information for that subscribe(customer, metafield, price_id, etc,,)

Related Event ID(s)
DashBoard > Developers > Webhook

What have you already attempted?
I don't find which event type can I use for this

#

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

Question
Is there a smart way to apply discounts to a checkout session (mode subscription) and just have Stripe leave it out if it's not applicable? (for example when currency does not match or if it's expired).
The best solution would probably be checking the discount if it's applicable to the desired subscription (product/validity etc) before applying, but this is the same Stripe does when a customer applies it in the (hosted checkout).

Related Request ID(s)
req_c7zSwBlFQxh2NP

What have you already attempted?
Several checks before applying the discount, but it's a bit cumbersome and basically copies what Stripe already has.

What are you working on?
Create a link with a prefilled promotion code if applicable

cursive heronBOT
#

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

Error Message
Payment cancelled due to fraud score being high

Question
Ive made 3 official payments on stripe so far out of which only first one went thru and the second and third, their card keeps on being declined. I literally can not do anything becayse it keeps saying fraud score too high cant charge.

I have a 1500 invoice that i am trying to charge but it is literally not letting me operate my business as stripe block my clients!!

What have you already attempted?
I contacted stripe support twice and they twice said itll be resolved asap but nothing has changed not even a confirmation email . No updates at all

What are you working on?
3 month program helping real estate investors get more leads

#

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

Code
else if let collectPaymentMethodPaymentIntent = collectResult {
print("collectPaymentMethod succeeded")

if let paymentMethod = collectPaymentMethodPaymentIntent.paymentMethod {
print("Payment Method found:", paymentMethod)

self.transactionchargecalculation()

                        if self.cardCountry == "GB"
                        {
                            Terminal.shared.confirmP

Question
we have update the payment intent based on card type after collecting calculate the transaction cahrge and updatev the payment intent via server side and retrive the intent successfully after that how to confirm and capture the payment

What have you already attempted?
Terminal.shared.confirmPaymentIntent(collectPaymentMethodPaymentIntent) { confirmResult, confirmError in
if let error = confirmError {
print("confirmPaymentIntent failed: \(error)")
} else if let confirmedPaymentIntent = confirmResult {
print("confirmPaymentIntent succeeded: \(confirmedPaymentIntent)")

What are you working on?
developing app

cursive heronBOT
#

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

Code
StripeIntent.Status.RequiresAction

Question
How do we implement the requires action logic on Android when the 3D secure card is already saved as the default payment method?

What have you already attempted?
I wasn't able to find a proper sample where all different intent status are handled. I'm reusing the logic we have for the payment sheet, calling `createAndConfirmIntent` and saving the `stripeAttemptResult` so that we can confirm the intent later. But I'm triggering it on `CreateIntentResult.Success` and that doesn't open the 3d secure screen to validate the card.

What are you working on?
Migrating from the Basic Integration to the Mobile Payment Element

#

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

Error Message
"You have not registered or verified the domain, so the following payment methods are not enabled in the `paymentRequest`:

- apple_pay

Please follow https://stripe.com/docs/payments/payment-methods/pmd-registration to register and verify

Question
apple pay doesnt work on one of our environments. Here is the payment method domain
pmd_1O7N5dHrxLAaYjng3ZLoSbo1

What have you already attempted?
Already reached the support and was suggested to reenable it using API, so I did it, disabled, enabled and nothing happened. Still I have the issue

#

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

Question
I'm having issue with stripe.File.create() and stripe.Account.modify(),
specifically I'm trying to update the branding logo in one of my connected accounts.

The issue I'm encountering is that I'm successfully uploading a file, but the stripe.Account.modify() is saying that that specific file id does not exists.

I tried manually retrieving that file, and it's there and under that connected account id.

Related Request ID(s)
req_EX3hAVTgt5KYmP

What have you already attempted?
def _upload_logo(stripe_account_id: str, file: SpooledTemporaryFile):
file.seek(0)
image_bytes = file.read()
image_io = BytesIO(image_bytes)
image_io.name = "logo.png"
return stripe.File.create(file=image_io, purpose="business_logo", stripe_account=stripe_account_id)

and in another function i'm updating the branding as follows:
stripe.Account.modify(
stripe_account_id, **{"settings": {"branding": update_branding}}, stripe_account=stripe_account_id
)

but it doesn't work, i get always the same error

What are you working on?
I'm trying to update the branding logo via api

#

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

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

Question
I'd like to trigger a test automatic payout for a connected account. Not a manual one. How can I achieve it in test mode ?

What have you already attempted?
I tried making payments that go directly to the available balance and set payouts to daily - but still need to wait one day.

cursive heronBOT
#

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

Code
const account = await stripe.accounts.create({
type: 'custom',
email: 'b.sellnau+stripe-course-post-cert-tests-connect-custom@code-b.com',
country: 'DE',
business_type: 'company',
})

Question
how can i create an connect custom account i do not know which data i need. i only want to test it nothing more do you have a guide with testdata somewhere ?

What have you already attempted?
try different searches and different fields

What are you working on?
testing stripe custom connected accounts

#

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

Question
Hello! Right now we're using default Statement Descriptor that is configured on Stripe dashboard. Question is: "is it possible to dynamically set statement descriptor for each product or subscription"?

Related Request ID(s)
https://dashboard.stripe.com/test/settings/connect/payouts/statement-descriptor

What have you already attempted?
Use default configuration

What are you working on?
Stripe integration in our system for using payments and based on webhooks make some actions in our system

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-customer-payment-methods

Question
hello, can I remove this "Save payment details for future purchases" checkbox? I need to always save a user's card. I also want to be able to show to a user his saved cards later.

What have you already attempted?
I'm able to save a card. also able to see that card in the saved card list.

What are you working on?
rebulding my checkout form

#

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

Question
Hi, I have a bookkeeping integration that connects to customers Stripe accounts trough API key. I am now helping a new customer to integrate and we dont get any customer data from the charges. We need at least a name or email to bookkeep the transaction. When looking trough the Stripe dashboard with the customer we noticed that the transactions where connected to Guest customers. However we dont get this info from the API not in the billing_details nor in the customer object its just null. Is this intended?

Related Request ID(s)
I dont have a request ID but i have a charge id ch_3Qej2YQaqY2mdbpg1P70y9RC

What have you already attempted?
I have tried to manually check the api response to see if the details is in the response.

What are you working on?
We provide a bookkeeping integration between Stripe and a bookkeeping software called Fortnox

#

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

Question
Is there a way to simulate a subscription which goes in status = incomplete and eventually goes to incomplete_expired

Related Request ID(s)
N/A

What have you already attempted?
I tried using a credit card which rejects on the checkout portal, but it doesn't let me continue, which I imagine is necessary to get to incomplete

What are you working on?
Checkout/subscription integration

cursive heronBOT
#

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

Question
how do I handle failed states in stripe checkout API webhooks? what states am I missing?

Related Request ID(s)
evt_1QuQ2nDl6iLtSAd9GnKvII2O

What have you already attempted?
Copied this section from the fullfillment docs. https://docs.stripe.com/checkout/fulfillment But I feel like this isn't comprehensive enough. Of the events which one do I need to watch for?

What are you working on?
ecomm site

#

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

Question
Azure function is not able to read the large stripe session payload. Get this error in console

System.Private.CoreLib: Exception while executing function: Functions.stripeWebhookFunction. Microsoft.Azure.WebJobs.Script.Grpc: Failed to proxy request with ForwarderError: RequestCanceled. System.Net.Http: The operation was canceled. System.Net.Sockets: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. The I/O operation has been aborted because of either a thread exit or an application request.

Related Event ID(s)
evt_1QtXsQ2BmsN6YOnaADQEV5ZT

What have you already attempted?
Convert body to text
Convert body to buffer

What are you working on?
Stripe Webhook

#

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

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

Question
Good morning,
we are building the integration with your Stripe Connect service and are in the process of developing the onboarding of accounts connected via your embedded form. We would like to know if your webhook notifies us of a successful onboarding event and which event it corresponds to? I have looked through your documentation but have not found anything about this.

What have you already attempted?
We looked at the link you sent and I looked at the following link: https://docs.stripe.com/api/events/types

#

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

Question
Hello, I am working with invoices items, I am receiving tax rates, but I would also need to detect taxCode that was used to create invoice item. I looked all over the docs but havent find any connection.

Is there a way to find out taxCode used for invoice item basing on invoice object?

Related Request ID(s)
req_FlGyaIhiXbEm6e

What have you already attempted?
I look into docs but havent found any connection

cursive heronBOT
#

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

Question
Hi, my old thread where closed. The charges is not connected to a Checkout session so I cant get the customer details from there.

In Stripe dashboard for these transactions we can see that the charge its linked to a guest customer. However we cant find that info from the API.

How come we can see guest customer in the Stripe dashboard and not in the API?

Related Request ID(s)
Dont have access to the dashboard for this customer

What have you already attempted?
I have checked charge, payment_intent, checkout session. Tried to find customers trough the customers endpoint but that is empty.

#

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

What did you expect to happen?
We use a stripe pricing table. We create a customer session in the BE and pass it to the FE which renders the pricing table with your UI component. This usually works fine.

What actually happened?
We see from the logs that a session was created and was passed to the pricing table. However, stripe did not create the subscription for this customer and instead it created a new customer. We have no idea how and why this happened.

Reproduction Steps
Create a customer session in the BE through your API and pass the id to the front end which uses it to render your pricing table.

Question
How did this happen? Why stripe didn't reuse the customer associated with the session and instead it created a new one?

What are you working on?
AI platform where customer have subscriptions.

#

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

Code
val result = paymentRepository.attemptPayment(...)
when (result.intentStatus) {
StripeIntent.Status.Succeeded.code, StripeIntent.Status.RequiresCapture.code -> CreateIntentResult.Success(result.clientSecret)
StripeIntent.Status.RequiresAction.code -> {
// Save result to be confirmed later
stripeAttemptResult = result
CreateIntentResult.Success(result.clientSecret)
}
StripeIntent.Status.Processing.code -> {
// TODO Need to return CreateIntentResult
}
StripeIntent.Status.Requir

Question
Could I get help understanding what to do with the different intentStatus after creating the intent? The samples don't specify this. And for all cases we can only return either CreateIntentResult.Success or CreateIntentResult.Failure.
https://github.com/stripe/stripe-android/blob/master/paymentsheet-example/src/main/java/com/stripe/android/paymentsheet/example/playground/PaymentSheetPlaygroundViewModel.kt#L484

What have you already attempted?
Currently I'm returning CreateIntentResult.Success for all these cases: Succeeded, RequiresCapture, RequiresConfirmation and Processing but I'm pretty sure that's not correct.

What are you working on?
Migrating from the Basic Integration to the Mobile Payment Element, presenting the sheet before creating the intent.

#

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

Question
hi , human help hi , human help hi , human help

Doc/Guide Links
hi , human help. hi , human help. hi , human help. hi , human help. hi , human help. hi , human help.

What are you working on?
shopify

cursive heronBOT
#

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

Question
QUESTION:
Is it possible to receive an invoice.paid event (via webhook) for a subscription with status <> active?

CONTEXT:
I'm refactoring our Stripe integration using Entitlements to grant app access, but it seems from the docs that I also need to check for the general Subscription Status too. It's not clear whether that's strictly true, or whether I can just keep extending the access expiry date based on successful invoice.paid events coming in.

Related Event ID(s)
invoice.paid, entitlements.active_entitlement_summary.updated, customer.subscription.updated

What have you already attempted?
Read a lot of the docs on the site, but ended up getting more confused. Tried to ask this question to the AI search assistant on the Stripe docs site, but it wouldn't answer this specific question.

What are you working on?
Community building assistant (SaaS)

cursive heronBOT
#

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

Question
I'm developing a SaaS application where organisations have multiple users under a single subscription. Currently, our system auto-renews subscriptions for all users at the end of the billing period, but we want it to renew only for active users at the time of renewal to ensure accurate billing.

What is the best approach to this.

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

What are you working on?
A CRM

#

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

What did you expect to happen?
Subscription invoice.paid event for renew should be triggered before the end of the current period

What actually happened?
Subscription invoice.paid event for renew is triggered after the current period ended

Reproduction Steps
Create a daily subscription and wait for the renew

Question
It might be an error on my side, but the invoice.paid event I receive has a period.start = 14:30 but the event is been sent/received at 15:30, in my db I save the subs when the invoice.paid event is receive, the consequence in this case is that in my local db there is 1h without a subscription

#

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

Error Message
Les paiements et les virements sont suspendus

Question
Comment régler l’erreur mon site fonctionne en test mais les paiements ne fonctionnent pas dès que je passe en réel

What have you already attempted?
Rien

#

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

Question
We have a connected account that we need to pass metadata to. We don't see where we can add metadata to a connected accounts payment, only to the transfer.
We are on v1 vs v2.

Related Request ID(s)
req_3hgvQOlvZc3bEQ

What have you already attempted?
Tried updating payment intent and transfer.

What are you working on?
We're collecting fees on behalf of a customer, but they are unable to associated a transfer with a specific customer or transaction without additional metadata.

cursive heronBOT
#

@normal tulip 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/disputes/prevention/advanced-fraud-detection

Question
In that guide it says: "Also, on each page where you load Stripe.js, it may load hCaptcha. hCaptcha is a type of CAPTCHA that helps stop fraud and provides additional signals to Stripe while being low friction for legitimate customers. To opt out of use of hCAPTCHA integration, reach out to Stripe Support."

Does this mean hCAPTCHA is automatically in use on every Stripe.js payment form? Or something else?

What have you already attempted?
We use Stripe.js and are trying to determine if hCAPTCHA is being used there.

What are you working on?
We are wondering if it would be redundant for us to implement our own hCAPTCHA

cursive heronBOT
#

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

Question
How can we get the Invoice Number when an invoice payment is successful?

Related Event ID(s)
invoice.payment_succeeded

What have you already attempted?
We searched the docs but were not able to find it.

What are you working on?
We want to store the Invoice Number in the database so, that the user can tell the invoice number and we can fetch the details accordingly. Invoice id is not feasible for the use case.

cursive heronBOT
#

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

Question
I'm working with a Kajabi-supported frontend where customers buy credits via Stripe payment links (triggering `checkout.session.completed`). I've implemented `stripe.customers.createBalanceTransaction` to add bonus credits, but the discount doesn't appear in future payment links. Can an API be used to check the balance for when they buy a product through a different payment_link and adjust the total on this next payment link page while displaying both the original and reduced price? They do not want to switch to invoice payments or using a different set up

Related Request ID(s)
None seen

What have you already attempted?
Googling and looking in APIs

cursive heronBOT
#

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

Question
I’m developing a SaaS application where organisations have multiple users under a single subscription. Currently, our system auto-renews subscriptions for all users at the end of the billing period, but we want it to renew only for active users at the time of renewal to ensure accurate billing. What is the best approach to this?

I would like to bill them for active users only at the end of the month and reduce the number of seats in the following month. If they want more users, they can purchase additional seats. This is in case they revoke multiple users mid-month and do not want to pay for those users the next month.

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

What are you working on?
A CRM

cursive heronBOT
#

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

Error Message
Charges and payouts are paused

Question
Hello, I am new to Stripe. I am using it for my charity, which I am trying to set up. I received the above error message when I was attempting to complete connections between Stripe and my bank or other accounts. I forget when the error started.

What have you already attempted?
I've attempted to chat with the help reps, but the chatbot continues in a loop of the same questions, thus restarting my session from the beginning. I've also reached out via email to the tech reps who have informed me that they are looking into it but with no follow up. It has been almost 2 weeks and I've got nothing.

cursive heronBOT
#

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

Question
Hello,

I’d like to ask about the best practices for handling subscriptions to ensure a smooth user experience.

In my project, users subscribe and pay per team member. When a user adds a member, we increase the quantity using swapAndInvoice, and when they remove a member, we decrease the quantity using swap only.

My question is: If a user cancels their subscription but is still in the grace period, and they add a new member, what is the best practice? Should the new member be charged immediately, even though the subscription is canceled (still in grace period), or is there a better approach?

Doc/Guide Links
https://laravel.com/docs/11.x/billing#subscription-quantity

What are you working on?
payment subscription for a task management

cursive heronBOT
#

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

Question
Express Connect onboarding.

  1. how do we ensure bank account linking is part of the onboarding?
  2. if bank account is not added at the time of onboarding, how can we add the bank account for the user and link that to their Connect account?

Related Request ID(s)
none

What have you already attempted?
Stripe Express Connect API

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?
The font weight of AddressElement's auto complete suggestion matched can be modified with fontWeightBold variable.

What actually happened?
.p-AutocompleteSuggestion--matched is always 700 and it does not honour variable fontWeightBold which is set to 500.

Reproduction Steps
appearance
variables: {
fontWeightLight: '300',
fontWeightNormal: '400',
fontWeightMedium: '500',
fontWeightBold: '500',

Question
We have font files for 300, 400 and 500 weights. I have added the fonts files to element options. This works, however for address element's address line 1 AutocompleteSuggestion--matched font looks way too weird on Safari and Firefox since the wight is 700 and the browser displays synthesized fonts.

What are you working on?
CSS for stripe address elements on Safari and Firefox

cursive heronBOT
#

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

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

Question
I would like some guide on when `mandate_data` is actually required, e.g. which payment method types require that this be provided. We always set `confirm` to `true`.

What have you already attempted?
I sent off a payment intent creation request, with an attached payment method of type `link` without providing mandate data, and it worked.

What are you working on?
Right now we send mandate data for Link -- wondering if we should only do this if absolutely required.

cursive heronBOT
#

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

Question
Seeing this error: `PaymentMethods of type 'card_present' cannot be saved to customers` when trying to save a payment method to a customer. Based on the docs, this should be allowed.

Related Request ID(s)
https://dashboard.stripe.com/logs/req_zd0bw21pRlwnFM?t=1740089751

What have you already attempted?
Referring to these docs: https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly?terminal-sdk-platform=android&shell=true&api=true&resource=setup_intents&action=retrieve#submit-payment-method, we are trying to setup a payment method for future use with Stripe terminal (Tap to Pay on Android). Additionally, we have been approved for the Save Digital Wallets for future use beta detailed on the same page of the documentation.

What are you working on?
Capturing a payment method for future use for an equipment rental company.

cursive heronBOT
#

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

Question
I'm trying to connect a webhook so that after payment and redirection to the main page, credits are replenished

Related Event ID(s)
evt_3QuiY6I6xVR4zSVD1sjcgSiL

What have you already attempted?
I checked the api version
I used rawBodyBuffer

#

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

Question
I have a stripe payment element and I've created a payment intent but the payment element is not showing apple pay. My domain is registered and verified with stripe. Google Pay is working fine in Chrome but Apple Pay won't show up in Safari.

Related Request ID(s)
pi_3Quj7yDQI5nb0cAo0tgao6pK

What have you already attempted?
Here is the link that won't show the apple pay:
https://donations.swiftgive.org/donations/form?campaign_id=85362

What are you working on?
I have a Payment Element that takes payment

#

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

Question
I'm having to model a complex pricing model that Stripe doesn't support via products and prices. However, I need to use products and prices in order to bill for that pricing model via Stripe Billing. It's looking like the easiest path for me is to create a stripe product with a single default price per related item in my database, if only because I can set the product's ID to match the ID of the item stored in my own database.

Given that I'm modeling an escalating fine schedule with a 365 day lookback period, and I allow users to schedule fine price changes in advance, this would lead to several products with the same name over time but different default prices.

Doc/Guide Links
* https://docs.stripe.com/products-prices/how-products-and-prices-work
* https://docs.stripe.com/products-prices/manage-prices?dashboard-or-api=api
* https://docs.stripe.com/api/products
* https://docs.stripe.com/api/prices

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

cursive heronBOT
#

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

Code
const { error } = await initPaymentSheet({
paymentIntentClientSecret: this.props.token,
merchantDisplayName: 'XXXX Inc',
*****************
});

    if \(!error\) {
      console.log\("initPaymentSheet success!"\);
    }

--------------------------------------------------------
const { error } = await presentPaymentSheet();

Question
It will print out initPaymentSheet success! without any error, but after I hit the button and it calls presentPaymentSheet. The app will crash without any error code.

"@stripe/stripe-react-native": "0.41.0",
"react": "18.2.0",
"react-moment": "^0.6.8",
"react-native-navigation": "7.43.0",

What have you already attempted?
I am sure that the Stripe paymentIntentClientSecret is correct. And I am sure whether it is because of the React-native-navigation's issue or what. I tried to set checkout page as root page and no other modal(await Navigation.dismissAllModals();) is opens. Still same crash.

What are you working on?
React native merchant app.

cursive heronBOT
#

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

Question
I'm asking if it's possible to send an invoice email to an arbitrary email address—different from the one associated with the Customer—using v76 of stripe/stripe-go, and if not, what the recommended best practice is for a dry-run test feature.

I'm creating invoices with invoice.New in v76 of stripe/stripe-go, but I haven't found any functionality to send a test email or specify an alternate email with invoice.SendInvoice. I need to develop a dry-run feature that sends the invoice email to a chosen test address instead of the Customer's email. Could you please advise on this?

Thank you for your assistance.

Best regards,

Doc/Guide Links
https://docs.stripe.com/api/invoices/create?lang=go&api-version=2024-06-20
https://github.com/stripe/stripe-go

What are you working on?
I'm building a dry-run feature for invoice emails that sends test emails to an alternative address.

#

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

Question
eu troquei de dominio, devo retirar a conexao e reconectar?

Related Request ID(s)
eu troquei de dominio, devo retirar a conexao e reconectar?

What have you already attempted?
eu troquei de dominio, devo retirar a conexao e reconectar?

What are you working on?
eu troquei de dominio, devo retirar a conexao e reconectar?

#

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

Question
Is it possible to set the `allow_redisplay` property on payment methods if we're using an old version of the SDK/API

Related Request ID(s)
req_AQbShRJP30ZXOT

What have you already attempted?
Read up on the documentation around Checkout sessions and the `allow_redisplay` parameter

What are you working on?
platform for mental health payments

cursive heronBOT
#

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

Question
How can i prevent multiple customer profiles from being created when a user subscribes, cancels their subscription, and then subscribes again? We have a place where users can subscribe without needing an account. Ideally, I'd think we can set up the stripe checkout page to treat canceled subscription the same as active ones when we select "limit customers to one subscription". Or is there another way we can have 1 customer profile per email? If not, I was thinking i could try looking at all old subscriptions when a new customer is created and then having code move it to the old customer. But that seems nonideal and the payment method from the new signup doesnt transfer

Doc/Guide Links
I've looked through pretty much all of the docs and didn't find any guidance on how to accomplish this given the requirements that users can sign up without making an account and logging in first and that we want all info for each customer to be on a single customer profile

What are you working on?
A SaaS website

cursive heronBOT
#

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

Error Message
The security of the payment collection process could not be guaranteed.

Question
I'm getting this error when I connect to the phone terminal via tap-to-pay and unable to proceed to tap the card at the back of my phone. But when I restarted my app, it works without any problem. I'm unsure about this error message, when does this trigger specifically?

What have you already attempted?
I have restart my app when this error occurs and it works after restarting.

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
I want to have the tax option as optional. It's being forced. I'll add screenshot in thread

What actually happened?
Tax option is being mandatory.

Reproduction Steps
Checkout and fill out info, you'll be forced to provide tax number

Question
How to make the tax option as optional?

#

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

Question
Hi, we have a page which allows user to enter and save their credit card. When user opens the page we first create a setupIntent, then after user enters the card details and click “submit”, we create the paymentMethod and attach it to the setupIntent. All works well as expected.

If user goes to that page again without submitting anything, we would still create a new setupIntent , it is a “incomplete” one with status “requires_payment_method”. My question is: Would this new setupIntent affect the default card and it’s setupIntent that we already setup successfully above in anyway ?

Related Request ID(s)
n/a

What have you already attempted?
setupIntent doc

#

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

Question
Question related to the stripe connected account link.

Related Request ID(s)
stripe connected account link refresh logic.

What have you already attempted?
I have refreshed the link for the connected account.

What are you working on?
12345

cursive heronBOT
#

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

Question
Hi!
We have a Connect account and one of our customers have enabled Swish as payment method. Every time a guest tries to pay using Swish, they get an payment fails.

Is there anything wrong with the Swish payment method that can causes failures?

The error we get is issuer_declined and reason is generic_decline

Related Request ID(s)
req_uelV19tKwmXH2L

What have you already attempted?
Retrying payment.

Other payment methods works fine.

cursive heronBOT
#

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

Error Message
Troppi tentativi di accesso non riusciti. Riprova tra alcuni minuti o contattaci tramite la pagina https://support.stripe.com/contact/email.

Question
I have to enter in my account ASAP

What have you already attempted?
I've tried to verify my account but after selecting the identity card way to verify it, Stripe blocks me with the error : Troppi tentativi di accesso non riusciti. Riprova tra alcuni minuti o contattaci tramite la pagina https://support.stripe.com/contact/email.

What are you working on?
I want to verify and enter my Stripe Account

cursive heronBOT
#

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

Question
I'm making a service where users sign up for a subscription (at 1 of 3 pricing levels), which will give them monthly credits for use with our API. If they run out, I would like to allow them to perform one-off payments to top up their API credits.

What is best practice? Should I implement the top-up flow separately from the subscription integration, using a basic checkout session for example?

Or should I use the invoice API and lock the invoices to the existing subscription? If so can I make it autopay using the subscription payment method?

Cheers,
Zach

Doc/Guide Links
https://docs.stripe.com/invoicing/integration?method=elements#accept-invoice-payment

What are you working on?
I'm building an excel plugin that calls our api which forwards requests to mistral api.

#

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

Question
Hi!
When I try to create with the API a subscription with the payment method paypal (not saved previously); I'm unable to add this:
payment_method_data[billing_details][email]

It's an issue because the payment method Paypal is then saved on the flow with "save_default_payment_method" "on_subscription" and this value email is not set.

When we have a PayPal payment dispute, the field email, name, or address is left empty in that case... (not an issue when using the card payment, by the way).

So, how can I set these billing details for the PayPal payment method (while not having to use the se

Related Request ID(s)
req_r1PySGq1OH3wO3

What have you already attempted?
Add "payment_method_data" when creating a subscription but the field is not allowed.

#

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

Question
We're retrieving customer list based on specific email address in order to validate does that email address already have active subscription for provided product but even I'm seeing 2 customers with same email address Stripe API returns only the oldest one. How to return all?

Related Request ID(s)
https://dashboard.stripe.com/test/customers/cus_RoF3uhATHYrhB7

What have you already attempted?
customerService.ListAsync(new CustomerListOptions { Email = request.Email });

What are you working on?
Stripe integration in our system for using payments and based on webhooks make some actions in our system

cursive heronBOT
#

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

Code
Route::get('account', function(){
Stripe::setApiKey("sk_test_•••kl4o");

    $account = Account\:\:create\(\[
        'type' =\> 'express',
        'country' =\> 'US',
        'email' =\> 'vendortest@example.com',
        'capabilities' =\> \[
            'transfers' =\> \['requested' =\> true\],
        \],
    \]\);
    dd\($account\);

});
Route::get('account_li

Question
I want to create virtual Card for my system's user. This code process is ok?

What have you already attempted?
I want to create virtual Card for my system's user. This code process is ok?

What are you working on?
I want to create virtual Card for my system's user. This code process is ok?

cursive heronBOT
#

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

Question
Hi everyone, I'm working on a rental platform where users rent tools for a specific period (e.g., 1 day, 5 days, or 1 month). The business logic requires us to hold the payment until the rental period ends and then transfer the funds to the owner.
However, I see that Stripe's standard authorization hold only lasts for 7 days. I need a way to hold the funds for longer (e.g., up to 30 days) before capturing the payment.

Related Request ID(s)
Egli

What have you already attempted?
I looked into manual capture, extended authorizations, and incremental authorizations, but I’m not sure if they apply to my use case or require special approval. Any suggestions? I also looked on stripe connect but i don't want to do this way due to the client requests.

What are you working on?
Renting Website

#

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

Question
The price does not change when changing the number of units on the stripe payment pages. Also, when paying, only 1 unit is sent without responding to the quantity selector. How can I make it so that it recalculates the price and sends it?

Related Request ID(s)
req_UmtJDpzCnEUPrd

What have you already attempted?
-

cursive heronBOT
#

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

Question
We have a product that is similar to Shopify where each user has their own store. We take all payments to our Stripe account and then pay out to our users from our end (not using Stripe connect accounts).

Each checkout can live in either two places:
userstore.ourdomain.com/checkout
usercustomdomain/checkout

To enable Apple Pay, Google Pay and Paypal in production we need to register each sub-domain & custom domain.

We currently have around 25k stores, which is a number that is also expected to increase. Is there an upper limit to the amount of payment method domains we can register with you?

We expect to use the PaymentMethodDomain API.

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/pmd-registration

What are you working on?
Similar to Shopify we enable our customers to set up their own website and sell digital products & licences

#

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

Question
we have an active subscription, and we would like to add a one time payment item and then by upgrading the subscription we wan to to automatically add the pending invoice items to the upgraded subscription invoice. Is this possible?

Related Request ID(s)
req_Uz0wBg9uhPXgi3

What have you already attempted?
Using the API we are creating a new item (/v1/invoiceitems) and then the item i shown on the list of pending customer items.

Then we are upgrading the item quantity of the subscription by a POST request to /v1/subscription_items/si_id

The new subscription invoice is created and only the item change is added, its automatically charged to the client but the pending invoice item was not added.

What are you working on?
Working on an integration between Airtable and Stripe. have sucessfully integrated a subscription creation and update. Now trying to add one time payment items to subscription updates.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/cancel#:~:text=You can't reactivate a canceled subscription.&text=To stop a scheduled cancellation,then select Don't cancel.

Question
Can I reactivate a subscription that is already cancelled? The subscription was cancelled due to the payment failed configuration set in stripe dashboard setting. It is set to cancel the subscriptions if all the retries fail. Can I reactivate those subscriptions if a user tries to pay for the subscription again?

What have you already attempted?
I read the documentation and it said we can stop cancellation of the scheduled cancelled subscription but we can't reactivate a subscription that is already cancelled so I wanted to ask the stripe developers for guidance is this matter.

What are you working on?
I'm creating an app that works as a platform where users register their account and create communities by creating a $49/month subscription with the platform and then they can create paid communities

#

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

Question
i m not able to do pyaments in some countries cross borders like from us to india , from canada to nigeria because i can not able to create account from nigeria so that i can receive money in that account.

Related Request ID(s)
stripe connect

What have you already attempted?
i have changes the code creating account using creat account api

cursive heronBOT
#

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

Question
In test mode when I run the connected_account_payout_reconciliation.itemized.5 via API I am not getting any data, but if I export manually in the dashboard I get data.

Related Request ID(s)
Webhook event: evt_1QuukfAuYSIPDqfIL1YZFlbU Request ID: req_qds27owmgNsswi

What have you already attempted?
Different dates.

What are you working on?
Testing code before shipping to production.

#

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

Question
Dear Stripe Support,

I hope you are doing well.

We are developing a musician booking platform where users pay for services, and we process payments through Stripe. We have a few questions regarding transaction fees and invoicing:

Real-Time Transaction Fee Calculation:

Since Stripe's transaction fees vary depending on the payment method, card type, and other factors, is there a way to dynamically calculate the exact fee at the moment of payment and pass this cost to the customer?
Does Stripe provide an API or mechanism to retrieve the precise fee amount before the charge is finalized?
Invoi

Related Request ID(s)
api

What have you already attempted?
nothing yet

What are you working on?
build a platform with online payments

cursive heronBOT
#

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

Error Message
The security of the payment collection process could not be guaranteed.

Question
I'm getting this error when I connect to the phone terminal via tap-to-pay and unable to proceed to tap the card at the back of my phone. But when I restarted my app, it works without any problem. I'm unsure about this error message, when does this trigger specifically?

What have you already attempted?
I have restart my app when this error occurs and it works after restarting.

What are you working on?
Terminal integration with JS SDK

cursive heronBOT
#

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

Question
I want to prorate all of the subscriptions that are created from accepting a quote (would also impacting the invoice amount) bcs it seems like Stripe create both the invoice and subscriptions automatically and not prorating them when the quote is accepted.

Related Request ID(s)
req_jUzD4kbU8WQWtu

What have you already attempted?
I already tried mark the invoice as incollectible and created a new one for the proration while also update the subscription proration_behavior but the invoice was somehow amounted to 0. I also tried updating the invoice amount but I'm pretty sure the result wasnt what I wanted (I'm sorry I'm forgetting the detail of this)

What are you working on?
I'm building a CRM for my Restaurant POS System. We currently have a Kiosk Device Monthly Subscription and also one-time payment for the Kiosk.

cursive heronBOT
#

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

Question
Hello!
I have a system where a company subscribe to our app and that company have employees.
We need to bill them X usd plus 0.5 usd/employees if the company choose a plan for 500+users.

Related Request ID(s)
No request id

What have you already attempted?
I tried to use metered billing but it's a bit incompatible with what i need bc it's not billed by usage but per the nb of employees that the company have plus the X usd that is allways billed.

I already think about using a normal subscription and just update the quantity whenever the number of employees on my app changes, but I'm worried when the subscription will be charged(will it be billed at the end of the period?) and I'm not sure if I can do that.

What are you working on?
A django app for tracking workout of employees for some company. The company is the principle customer.

cursive heronBOT
#

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

Question
I'm trying to use Entitlements. But if I use GET
/v1/entitlements/active_entitlements, my understanding is I will get all entitlements for that customer. Is there a way to distinguish between a customer's Entitlements for different Subscriptions?

Related Request ID(s)
N/A

What have you already attempted?
Trying to avoid having to also lookup and cross reference Feature or Product IDs for a Subscription. As context, our SaaS app charges a Subscription per Community, and grants access per Community. But some customers have multiple Communities, each with a Stripe Subscription and with Entitlements that may differ.

What are you working on?
AI Community Building Assistant

cursive heronBOT
#

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

Question
Am getting empty headers from stripe in my webhook. As shown here on my context.log

Request Headers: {}

Related Event ID(s)
evt_1QukCp2BmsN6YOnaOnxxfCs9

What have you already attempted?
Am gettting errors on event in my webhook. I realise the request.headers are empty

What are you working on?
No research is helping here

cursive heronBOT
#

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

Question
https://docs.stripe.com/payments/accept-a-payment?platform=ios

per this documentation above,
is there a way (any way at all) that i can explore to delay the payment. i.e when the click on the pay button it doesn't pay instantly....
then maybe there will now be a pay endpoint that will be used to pay later.

Related Request ID(s)
none

What have you already attempted?
nothing

#

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

Code
allow_promotion_codes: true,
discounts: [{ coupon: "Yh0ycabZ" }],

Question
I am trying to have a automatic coupon along with a manual entry coupon at checkout portal but getting error in terminal when attempting

"Stripe subscription error: StripeInvalidRequestError: You may only specify one of these parameters: allow_promotion_codes, discounts."

Is it not possible to have both? I want it so if the user has a promo code they can manually use it instead of the automatic 1 month thats applied

What have you already attempted?
Only have 1 of these in my code works

#

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

Question
I have set up my Payment Element and added my site in the approved domain list but when I embed my payment element on a page, apple pay is not showing up as a payment method

Related Request ID(s)
pi_3Qv0FjKRGCfz0myP1rJbQu0H

What have you already attempted?
This is the site that it is embedded on. When it is on my site it but not embedded on another site.

https://www.themajlis.us/ramadan-campaign-2025-1446

What are you working on?
Embeddable payment element for donations

cursive heronBOT
#

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

Error Message
uncaught (in promise) Error: Unable to select session. Make sure Elements is initialized with clientSecret
or use the nullableSessionSelector() instead.

Question
We are using the 3.3 sdk version from stripe js and we have had not had any issues before. We are loading the Address element without a client secret as the docs says but we are getting this error.

What have you already attempted?
Read the docs to find if anything has change and no, try to look for where is the nullableSessionSelector but there is no mention of it on the docs as well.

Reproduction Steps
const element = this.stripe.elements({
locale: this.locale,
appearance,
fonts: stripeFonts,
});

What are you working on?
Trying to fix this console error from our current ecommerce.

#

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

Error Message
Payments and transfers are suspended
For more information, contact support.

Question
I want to resolve this error then i disabled mode test

What have you already attempted?
Disabled mode test

cursive heronBOT
#

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

Question
Is it possible to set the `allow_redisplay` property on payment methods if we're using an old version of the SDK/API? The option doesn't exist in older versions, and it looks like it defaults to "limited".

Also, was a change made to the documentation website to no longer show older SDK versions? It seems like they only go back about a year, which is extremely inconvenient.

Related Request ID(s)
req_YjMU7tz4VUQv5W

What have you already attempted?
Read the docs on the allow_redisplay option, tested some stuff locally, and checked the properties on the dashboard

What are you working on?
platform for processing mental health payments

#

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

Question
Hi. I am using embedded connected account onboarding for a new market place, currently in test mode. Although the onboarding completes, the account is on "enabled" status. I can not see how to request for documents verification e.g. identity cards. In stripe dashboard there is a "Request Information" button that apparently creates a link to request relevant eventually due info. How can i request all required and eventually_due info in embedded onboarding ? Only AccountLink has such an option ```AccountLinkCollectEventuallyDue AccountLinkCollect = "eventually_due"```

Related Request ID(s)
req_Fv36LVPq94xIn7

What have you already attempted?
check go sdk, stripe docs, videos e.t.c.

What are you working on?
new market place project

#

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

Question
Que hago: 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)
API integration

What have you already attempted?
Pay by credit card

What are you working on?
Resolution

cursive heronBOT
#

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

What did you expect to happen?
I expected a user balance to be taken instead of added to the amount paid

What actually happened?
it added customer's balance to the invoice

Reproduction Steps
add balance to the customer and buy something

Question
hi, I have added balance to the customer via api and it's successful, however when I bought a subscription with a price of 11.27 eur, it added customer's balance to the invoice amount and it paid 31.27 eur instead. I am so confused how that works. thanks!

What are you working on?
I am building app for hosting company which bases on stripe suscriptions and a customer's balance they gain for top-up, aff

#

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

Question
So basically my client has a store where he sell items worldwide and his store supports multiple local currencies, which is very fine. However, he'd like that whenever the orders are saved, to be saved with their usd converted price. How can I try to convert these prices?

Related Event ID(s)
checkout.session.completed

What have you already attempted?
I couldn't find anything on the docs, but I tried calling stripe's exchange-rate api from the node sdk (idk why, but this is what gpt threw at me) and it didn't work, since (ig) gpt invented his own stripe api endpoints ;))

#

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

Question
I'm having trouble working around the limitations on updating setupIntents/paymentIntents (specifically about customer attachment). I'm thinking about just converting updates to delete and create new one. Is this an acceptable approach?

Related Request ID(s)
NA

What have you already attempted?
NA

#

⛔️ 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
#

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

Question
Hi! I am using the Fixed fee and overage model but mostly just using the subscription for the fixed fee and no overage. I am trying to connect my users (using clerk and convex) to my stripe. Right now when I purchase a tier (starter or pro plan Subciption) in my application and complete the stripe checkout and get re-directed back to my application it doesnt look like my account has the tier I purchased. I've even set up a badge for my account and it stays as the "free tier" even after ive completed the checkout process.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models?dashboard-or-api=dashboard#fixed-fee-overage

What are you working on?
SaaS based business

#

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

Question
We have a Stripe checkout integration on an embedded page. For some reason under the "Pay" button it always shows this text

You can see the page here: https://app.everlab.com.au/pay?productIds=receTZEMhvpiRK36G

"Notwithstanding the logo displayed above, when paying with a co-branded eftpos debit card, your payment may be processed through either card network.
By confirming your payment, you allow Everlab to charge you for this payment and future payments in accordance with their terms."

We can't find a way to make this go away - from Google it looks like we might need to disable EFTPOS as a payment method but can't find a way to do it

Doc/Guide Links
https://docs.stripe.com/payments/checkout/customization/policies

What are you working on?
A checkout page for a health app

cursive heronBOT
#

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

What did you expect to happen?
I expected to charge my card saved in stripe automatically.

What actually happened?
I have saved my card in stripe by deducting 50 RS and refunding the same for verification. but when i tried to charge it through my application it got a message that transaction_not_allowed. when i contacted bank they are telling some network issue has happened. but i don't believe for more than 7 times network issue has happened.

Reproduction Steps
It is a scheduled api call

Question
why is this happening, did i do something wrong?

cursive heronBOT
#

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

Error Message
Response body

{
"error": {
"code": "auth_challenge_failed",
"extra_fields": {
"action": "payment_refund_create",
"precompleted_json": "[]",
"flat_schema_json": "{"leaves":[{"type":"password"}],"assocs":[{"assoc":[0],"minimum_count":1}]}"
},
"message": "We encountered an unexpected error. Please try again.",
"messa

Question
how this error occurse? how to fix this error?

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
How do I update subscription with a future timestamp for billing_cycle_anchor by API?

Related Request ID(s)
req_So57d91UZg2NSg

What have you already attempted?
API version: 2023-08-16
https://docs.stripe.com/billing/subscriptions/trials#combine-trial-anchor
https://docs.stripe.com/changelog/2018-02-05/subscriptions-delay-first-full-invoice-future-date
https://docs.stripe.com/api/subscriptions/update?lang=node

What are you working on?
According to this doc I can create a subscription with 2 days trial and start billing on 1st of the next month: https://docs.stripe.com/billing/subscriptions/trials#combine-trial-anchor For example: 2

#

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

Question
i'm using Stripe .net 47.3.0 and Newtonsoft.Json 13.0.3. hitting this error. ERROR: The type initializer for 'Stripe.StripeConfiguration' threw an exception. | StackTrace: at Stripe.StripeConfiguration.set_ApiKey(String value)
at ASP.app_dms_checkout_aspx.createPaymentIntent(String txn_key, String txn_no, String dp_no, String dist_cd, String cust_cd, String cust_name, String slsman_cd, String slsman_name, String amount, String currency, String surcharge_amt)

Related Request ID(s)
https://github.com/stripe/stripe-dotnet/issues/2948

What have you already attempted?
Checked secret key is correct.

What are you working on?
Maintaining application

cursive heronBOT
#

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

Code
const StripeTerminalProviderWrapper: React.FC<Props> = ({ children }) => {
const { recordError } = useCrashlytics();
const { toPCountry } = useAppSelector(state => state.toPReducer);

const [postCreateConnectionToken] = usePostCreateConnectionTokenMutation();

const fetchTokenProvider = useCallback(async () => {
try {
if (toPCountry) {
const { secret } = await postCreateConnectionToken({
countryCode: toPCountry,
}).unwrap();

Question
We are using Stripe Tap to Pay and we need to determine the user location. I think that maybe in some cases when the app first loads we could return undefined. what are the implications of loading the stripe terminal provider?

What have you already attempted?
I have tried hardcoding the location and I think it may have fixed it but not 100% as it not easily replicated through steps.

What are you working on?
Mobile in person payment system

#

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

Question
Hi, I'm using the latest python sdk version, and I'm trying to use the async version of the methods, for example:
await stripe.Product.create_async()

But I'm encountering an ssl error when running the tests

Related Request ID(s)
NONE

What have you already attempted?
I've attempted to run the tests with the async, also i notices the async methods are not explained anywhere (I didn't find it)

What are you working on?
Trying to integrate stripe async

cursive heronBOT
#

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

Question
接入方式:希望用户钱包没有绑定有效卡时,在对应的平台上依然展示google pay或apple pay支付

但是现在出不来主要问题如下:(有附件)

google pay接入问题:

在谷歌浏览器和安卓设备上,钱包没有绑定有效卡片时,通过测试工具Test Apple and Google wallet rendering | Stripe Documentation可以展示谷歌支付,但是我们的集成页面无法展示谷歌支付按钮,是什么原因?
(接入文档中提到在创建expressCheckoutElement时设置paymentMethods已经配置了googlePay: 'always')

在谷歌浏览器上测试,钱包绑定有效卡片时,有时候也无法展示支付按钮,解绑卡片后重新绑定能展示,是什么原因?
通过Test Apple and Google wallet rendering | Stripe Documentation测试发现部分安卓设备无法展示谷歌支付,请问正确显示google pay支付按钮对安卓设备有什么要求?

Related Request ID(s)
111111111

What have you already attempted?
1111111111111

#

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

Question
How to enable "Purchase as business" option on checkout ?

Doc/Guide Links
Hi,

I am getting troubles to find this option, how can I enable it ?

What are you working on?
Letting businesses to buy my products

#

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

Code
<--need code or approch to create solution for subscription-->

Question
Hey everyone, I need some guidance on handling prorated subscription charges in Stripe for my platform, which supports multiple subscriptions.

Scenario:
Our platform allows users to subscribe to different plans with a billing cycle set to the 1st of each month.
We have created products and prices with a base amount for different subscription tiers.
When a user subscribes mid-cycle (e.g., on the 15th), Stripe automatically prorates the amount.
Issue: Stripe includes the platf

What have you already attempted?
not yet serching for approach

#

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

Question
We develop an eCommerce website on which you can buy a subscription for a digital product. For the payment flow we use stripe setup intents. As soon as a user accesses the checkout page we generate a new setup intent. Also on every reload a new setup intent is beeing created. Is this bad practice? Should we store the setup intent id and client secret in a cookie to not create that much unnecessary setup intents?

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

What are you working on?
eCommerce website to sell digital subscriptions

#

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

Link to the Doc/Guide in question
https://stripe.com/connect/pricing

Question
I am having trouble understanding the difference between "Stripe handles pricing" and "You handle pricing" when using Stripe Connect and how to know which ones I am currently using with my setup?

What have you already attempted?
In my current setup. I use Standard Accounts with Stripe Connect (b/c available for more countries and don't have to handle fraud). Using Destination Charges, the platform will take a % with application_fee. Using sessions.create and payment link, a payer can pay a stripe connect account with credit card.

In my current understanding, I know there is an initial charge of .29% and $0.30 which goes to stripe. Thus the balance that the platform receives initially is the cost minus this fee.

So where does the Stripe Connect fees come from, meaning the 0.25% + $0.25 per payout sent?

What are you working on?
Building a referral program partner marketplace. Organizations can create referral programs. Partners can find referral programs and refer their network. The organization pay partners for services.

#

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

Error Message
req id : req_L5vS1X1YtXPpon

Question
i got a error

"error": {
"code": "auth_challenge_failed",
"extra_fields": {
"action": "payment_refund_create",
"precompleted_json": "[]",
"flat_schema_json": "{"leaves":[{"type":"password"}],"assocs":[{"assoc":[0],"minimum_count":1}]}"
},
"message": "We encountered an unexpected error. Please try again.",
"message

What have you already attempted?
nothing

#

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

Code
Users are experiencing payment failures when processing live transactions with Indian-issued cards. This issue is specific to India and arises from regulations requiring 3DS authentication for storing card details. The error is getting only with card payments from India.

Earlier we were also getting that error when an Indian client tried to purchase our product by using the Stripe payment method.

So we have added another payment method "Razorpay" for Indian clients.

Question
How to fix this issue? i added 'usage' => 'off_session' for indian cards

What have you already attempted?
passed 'usage' => 'off_session' inside intent initasation

cursive heronBOT
#

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

Question
Is there a way to delete/void a paid invoice? My end goal is to make an invoice number available again. The invoices are $0 invoices.

Related Request ID(s)
req_SWIKNjJOosvULQ

What have you already attempted?
Tried voiding, tried updating the number directly

#

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

Question
Can I connect a single Stripe payment gateway account with multiple Billing systems and use them in parallel(like Recurly, Chargify, Zoura)?

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Question
i'm using Stripe .net 47.3.0 and Newtonsoft.Json 13.0.3. hitting this error. ERROR: The type initializer for 'Stripe.StripeConfiguration' threw an exception. | StackTrace: at Stripe.StripeConfiguration.set_ApiKey(String value)
at ASP.app_dms_checkout_aspx.createPaymentIntent(String txn_key, String txn_no, String dp_no, String dist_cd, String cust_cd, String cust_name, String slsman_cd, String slsman_name, String amount, String currency, String surcharge_amt)

Related Request ID(s)
https://github.com/stripe/stripe-dotnet/issues/2948

What have you already attempted?
.

What are you working on?
Maintaining application

cursive heronBOT
#

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

Question
Hey there,

I had 2 webhook endpoints failing since the 13th of February. I only noticed today and fixed the issue. Is there a possibility to replay all events for my 2 endpoints since the 13th of February?

Related Event ID(s)
An example of a failed event evt_1Qu6E4QjQyzuBXp1C2w3SGnX

What have you already attempted?
I did not find any doc explaining how to resend multiple events

#

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

Code
$paymentIntent->confirm([
'confirmation_token' => $confirmationToken,
'payment_method_options' => [
'card' => [
'moto' => true,
],
],
]);

Question
For staff telephone orders on our checkout we are using moto. I want to ensure that where usually 3DS would show it will instead accept the payment. Obviously we understand and accept it makes it out of the scope of SCA (we've been using moto for a number of years and are now redeveloping our checkout)

What have you already attempted?
Using test cards from https://docs.stripe.com/testing - 4242424242424242 appears to work. I tried 4000002760003184 but it didn't. Is there a specific card I should use to check the integration where it would have shown without moto but can work with moto?

What are you working on?
Redeveloping our store checkout

cursive heronBOT
#

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

Question
Hey! I have two questions here:

  1. Can I use apple pay and google pay for recurring payments? And if yes, does it use SetupIntent under the hood?
  2. How can I use apple pay/google pay with 'setup' mode with Elements (but not using Express Checkout) without paymentRequest on frontend? I don't want to handle money amount and currency on frontend.

Thanks!

Related Request ID(s)
-

What have you already attempted?
-

#

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

Code
Event event = Webhook.constructEvent(payload, sigHeader, endpointSecret);

        // Deserialize the raw JSON data into Stripe\-specific object
        EventDataObjectDeserializer deserializer = event.getDataObjectDeserializer\(\);
        StripeObject stripeObject = deserializer.getObject\(\).orElseThrow\(\(\) \-\> new Exception\("Deserialization failed"\)\);

Question
Getting this error: Internal Server Error: Deserialization Failed.

What have you already attempted?
Attempted to cross check the API version

#

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

Question
We have implemented Express Checkout with Link on our platform. While the buttons like LINK,Amazon pay, Google pay and apple pay are visible to users in India, it is not showing for users outside India. Interestingly, when tested via VPN, the option appears, but real traffic from outside India does not see the "Pay with Link" option.(Express Checkout)
Could you please investigate this issue and provide a resolution? Let me know if you need any further details.

https://www.equalall.org/stories/northgazaneedshelp

Related Request ID(s)
null

What have you already attempted?
We have checked using VPN

What are you working on?
Express checkout

#

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

Question
I am creating a membership based site where members pay in full on the date of joining and every August 1 thereafter. However, when I go to change the billing_cycle_anchor, it has an error stating that the billing cycle anchor must be 'now', 'unset' or 'unchanged', despite the documentation stating that the parameter accepts unix timestamps (https://docs.stripe.com/billing/subscriptions/billing-cycle?locale=en-GB)

Related Request ID(s)
When updating an existing subscription, billing_cycle_anchor must be either unset, 'now', or 'unchanged'

What have you already attempted?
can read my code here: https://stackoverflow.com/questions/79463443/how-do-i-change-the-billing-cycle-anchor-after-stripe-checkout-for-a-subscriptio

What are you working on?
Setting up subscriptions with payment anchor

cursive heronBOT
#

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

Question
Where to obtain a map between API permission errors and the actual permission to give?

Related Request ID(s)
req_VGKBQDzB2omIpX

What have you already attempted?
It explains about missing permissions like "rak_margin_read" but I cannot find any docs on what permissions this actually is in the stripe UI when setting up an API key.

#

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

Question
We need to change the zip code placeholder from 12345 to postal code. However, Stripe Payment Elements does not allow this. How can we update the placeholders in the Stripe Payment Elements? I checked but I did not find any document.

Related Request ID(s)
StripePaymentElementJotform

What have you already attempted?
I checked your api documents.

What are you working on?
Stripe Payment Elements

#

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

Code
stripe.confirmPayment({
elements,
confirmParams: {
// Return URL where the customer should be redirected after the PaymentIntent is confirmed.
return_url: 'https://example.com',
},
})

Question
I have an issue with the confirmPayment method with the React SDK. In our checkout page the user is able to change between pay later (which uses setup intent on platform account) and pay now (which uses payment intent on connected account) to avoid creating 2 intents per transaction if the user switches I wanted to create the PI after the user clicks submit but I'm initializing the stripe instance with only the platform publishable key therefore getting a PI not found

What have you already attempted?
I don't have the account id without creating the PI since it is returned by the backend, I've tried re-initializing the stripe instance but I get an error saying the that the elements where created using another instance. I've tried using confirmation tokens. etc. I wanted to know if there is way to do or for you guys to implement a field to pass the account id when confirming the payment.

cursive heronBOT
#

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

Code
subscription_schedule = stripe.SubscriptionSchedule.create(
customer=subscription['customer'],
start_date=subscription['start_date'],
phases=[
{
"items": [
{
"price": subscription['items']['data'][0]['price']['id'],
"quantity": 1,

Question
I'm trying to anchor payment date to August 1st. so customers pay in full when subscribing and then pay every August 1st so long as their subscription continues

What have you already attempted?
I've tried using billing_anchor_cycle and billing_anchor_cycle_config

What are you working on?
Anchoring payment dates to align with constitution for membership based organisation

cursive heronBOT
#

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

Question
When(How long it take) upcoming invoices are updated to reflect metered value.

Related Request ID(s)
None

What have you already attempted?
I sent metered event and with value but the upcoming invoice is quantity value is still zero.
Those metered event are visible on the dashboard of stripe but the quantity on the upcoming invoice is still zero.
It's very unpredictable bc it work on another customer subscription first but it stop working after that

What are you working on?
A webportal for a fitting app.

#

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

Question
Hi, we are testing multicapture PIs in an Auth and Capture scenario. All PIs are created and manipulated via API call from our backend so the capture method is `manual`
Question is regarding "finalizing" a partially capture, multicapture, PI

Related Request ID(s)
N/A

What have you already attempted?
When shipments ship we recalc taxes and capture for the items shipped. If the amount including taxes exceeds the amount capturable, we need to make a new PI.
This is fine but what if, say, we already captured $10 of $100.
We did not send 'final_capture: true' when we grabbed the $10. So $90 is still earmarked when we want to make a new PI.
Is there a way to finalize a PI if both it's `amount_received ` and `amount_capturable` is non zero?

What are you working on?
Today we create a new PI for capturing item amount and taxes as they ship. We're moving to using multicapture PIs instead

#

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

Question
One of my user facing a issue like even after disabling link pay it is showing on card payment section inside payment element

Related Request ID(s)
#1340938050490073088 message

What have you already attempted?
I have already asked about this before

#1340938050490073088 message

There one from your team asked few details and I currently have those

What are you working on?
Maintaining a stripe integration plugin for woocommerce

cursive heronBOT
#

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

Question
i have an api intregration on my wordpress website, it is working locally but when i pushed my code to the dev site its not working. i reached out to my hosting and they reccomended reaching out to yourself.

Related Request ID(s)
NA

What have you already attempted?
i have been though and checked that my api keys, bot secret and public, are matching and they are. my hosting have supplied an image, so will be able to post that next.

What are you working on?
i have a donate form that when the user chooses one off or monthly donation it will either create a one off transaction or a subscription in stripe.

cursive heronBOT
#

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

Code
var setupOptions = new SetupIntentCreateOptions
{
PaymentMethodTypes = new List<string> { "card" }
};

var setupService = new SetupIntentService();
var intent = setupService.Create(setupOptions);

Question
I am trying to create a SetupIntent and then, display a stripe elements card for users to save a payment method. In the SetupIntentCreateOptions, I list PaymentMethodTypes = new List<string> { “card” }, because I only want to accept credit cards for this. However, in the Stripe Elements dialog in the project, it shows tabs for saving a Card and saving a Bank account for Direct Debit. I do want to save banks accounts for direct debit in other instances but not here.

What have you already attempted?
If I create the setupIntent to save a paymentMethod directly to a connected account, only the card entry option is showing. Do you know any way that I am able to only show the card entry option?

What are you working on?
This is part of a platform for payment entry.

#

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

Code
android sunmi v3 mix payment is working

Question
is it possible to use the sunmi v3 mix with credit cards, which require a pin for a payment? or do i need to use an external reader then?

What have you already attempted?
we have a working payment flow, but are not sure if we need an external reader for PIN payments

#

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

Question
Please is there a way to customize the receipt of a charge or a way to disable the receipt_url via API on creation of payment intent

Related Request ID(s)
None

What have you already attempted?
Yes

#

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

Question
Can I please ask for clarification on how payment method status works when deleting/creating new paymentIntents and setupIntents? There is only one scenerio I am specifically worried about. I create a paymentIntent/setupIntent with a paymentMethod that is not attached to a customer. Then I delete it. Can I still use the paymentMethod? Just create another paymentIntent/setupIntent with it? I can't detach it because its not on a customer.

Related Request ID(s)
NA

What have you already attempted?
NA

#

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

Question
We have a website and mobile app were attendants checkout guest users. We want to create invoices for these customers because we want to use stripe to calculate the taxes, discounts etc. We were using a guest stripe customer (that we created) to complete these checkouts but are running into issues because there are multiple locations trying to checkout users at the same time. What is the best practice around this

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

What are you working on?
Checkout flow

#

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

Question
We're wanting to pull the current subscription price for a customer and I'm wanting to see about the best way to do so. We're using Tiered yearly billing.

Related Request ID(s)
NA

What have you already attempted?
We've been pulling the latest and upcoming invoices from the subscription object, but if someone doesn't have an upcoming invoice and/or has a subscription update then that makes it tricky to get the correct price using that method.

I see that I could use the subscription items to get a price but I'll also need to do the math if the user has a greater quantity than what comes with the subscription. I can do that, but I'm wanting to make sure I'm not missing an easier way to pull the current subscription total.

What are you working on?
A SAAS subscription product.

cursive heronBOT
#

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

Question
While creating SetupIntents client-side using react-native SDK is there a way to permit "interact_present" to support Canada Interact debit cards?

Related Request ID(s)
evt_1Qw37iBb49XQ2DGyFIQGiS5I

What have you already attempted?
I already created a test mode environment in which I can run my app on my iOS device, connect the phone as a terminal (reader) successfully, and then open the SetupIntent screen for the user to tap the card. Still, it would show a "no supported, try another card" error message when using a Interact debit card.

What are you working on?
Im currently creating a React native application using stripe terminal (phone as terminal) in iOS. My question is regarding "interact" debit card support in Canada.

#

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

Code
can i disable NFC payments on the BBPOS WisePad 3 on android?

Question
can i disable NFC payments on the BBPOS WisePad 3 on android? I just want to have people insert the card into the slot.

What have you already attempted?
we have a working payment workflow

cursive heronBOT
#

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

Question
The Charge object has a `balance_transaction` field. When does a balance transaction get created and assigned to the charge? It looks like it may happen after capturing. Is that correct or coincidence in my testing? My apologies if there is a bit of documentation that explains this that I have missed. Thanks in advance.

Related Request ID(s)
none

What have you already attempted?
Have tried a simple experiment to see if the balance transaction is on a retrieved charge before and after capture.

#

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

Code
$stripe = new \Stripe\StripeClient(env('STRIPE_SECRET'));

    $setup\_intent = $stripe\-\>setupIntents\-\>create\(\[
        'customer' =\> $organization\-\>stripe\_id,
        'payment\_method\_types' =\> \['card'\],
    \]\);

Question
I'm on an older API version (
2022-11-15) with an older PHP library. Why won't the Payment Element limit itself to ONLY card?

What have you already attempted?
I have some working code for when I need to create invoices, but for these setupAttempts it doesn't seem to matter what I have changed.

What are you working on?
Form for KilnFire.com

#

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

Question
How can we know whether a subscription is has a paid invoice for current period from webhook?

Related Event ID(s)
evt_1QvhywKk6Qk5jHuWCQuqwFpF

What have you already attempted?
we have a trial period for a product price change, once done it went immediately to active from trialing and then it went to cancel

#

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

Question
When(How long it take) upcoming invoices are updated to reflect metered value.

Related Request ID(s)
None

What have you already attempted?
I sent metered event and with value but the upcoming invoice is quantity value is still zero.
Those metered event are visible on the dashboard of stripe but the quantity on the upcoming invoice is still zero.
It's very unpredictable bc it work on another customer subscription first but it stop working after that

What are you working on?
A webportal for a fitting app.

#

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

Question
I chatted with Solanum last week about controller hashes and what it meant for losses relating to payments being stripe's responsibility with a controller hash of.

```
controller: {
fees: {
payer: 'application',
},
losses: {
payments: 'stripe',
},
requirement_collection: 'stripe',
stripe_dashboard: {
type: 'none',
},
}
```

Our account manager, however suggested that while stripe would first attempt to recover losses from the connected account rather than application, that if that failed it would collect from the application.

Could you confirm or deny that statement as we're looking to reduce our exposure?

Doc/Guide Links
https://docs.stripe.com/connect/accounts
https://docs.stripe.com/connect/migrate-to-controller-properties

What are you working on?
reduce risk exposure from absconding connected accounts

#

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

Code
?\Stripe\StripeObject $object = null;

Question
compatibility php 7.1 in module magento

What have you already attempted?
Hello I hope I can find some help here, and I thank you in advance. I have a bug when installing stripe-magento2-latest, for magento 2, I think it's a php problem, a version problem because I have the version:
PHP ​​7.1.33-3+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Dec 18 2019 14:53:18) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.33-3+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018,

What are you working on?
dev Redline shop

#

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

Question
Meta data on Invoice after checkout session of subscription, possible ?

Related Request ID(s)
Nop

What have you already attempted?
Meta data on Invoice after checkout session of subscription, possible ?

cursive heronBOT
#

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

Question
Is there a way to update a stripe connect account to change the "Fee payer" from Account to Platform? I'd like the platform to be responsible for stripe fees

Related Request ID(s)
n/a

What have you already attempted?
I've looked into documentation but don't see a way to update this property

What are you working on?
We are converting our stripe connect set up from standard to custom/express, but now we have a mismatch of account types.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/embedded-onboarding

Question
Good evening,
we have a question to ask: is it possible to carry out transactions on an unconnected Stripe account without the latter being in a position to share their secrets (public and private key)? In the event that you are unable to provide us with an answer, to whom can we turn?

What have you already attempted?
https://docs.stripe.com/connect/embedded-onboarding

What are you working on?
We plan to do a similar management to Stripe Connect with accounts that have no interest in onboarding as part of the procedure

cursive heronBOT
#

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

Question
Is there any way to use Stripe Invoices to manage in person payments where the payment_method_type is 'card_present'? We have various ways an invoice might be paid, including in person payment with a Stripe reader and would like to centralize those using Stripe Invoices. However, the PaymentIntent created from finalized Invoice doesn't seem to allow the 'card_present' type, so payment cannot be collected using a reader.

Doc/Guide Links
There was a thread from a year ago asking a similar question here: https://discord.com/channels/841573134531821608/1225199443381588055

What are you working on?
A marketplace (web and mobile app) that allows users to make purchases online or in person at an physical location using the Terminal SDK.

cursive heronBOT
#

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

Question
Looking to add pro memberships into my app, it is kind of working but I am getting null for some customer details after the checkout process is finished

Related Request ID(s)
User IDs for collecting Stripe customer details

What have you already attempted?
using Firebase + Firestore along with Stripe for saving if the user is a pro member, their subscription status, subscription periods and their customer details

#

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

Question
I'm trying to figure out why the tax API isn't working as I expected... Illinois has a 1% tax on prescription medicines, although, when I pass in the taxcode: txcd_32020001 and an Illinois address, Stripe is returning $0 tax.

Related Request ID(s)
req_eowWtpZYXM58UG

What have you already attempted?
Looked into docs, read up on tax in Illinois. I'm not sure if I have the right tax code.

What are you working on?
Building out a product to buy prescription medicines

#

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

Question
Why is my iOS react native Phone as terminal application not accepting co-branded interact card for my setupintent?

Related Request ID(s)
evt_1Qw6OrBb49XQ2DGy38um0esK

What have you already attempted?
I went ahead and tested the scenario in live mode to see if using a real co-branded interact card would now be recognized, but it won't accept my visa-interact card

cursive heronBOT
#

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

Question
I'm trying to access information through metadata in a Stripe payment, but the values ​​return empty. How can I fix this?

'line_items' => [
[
'price_data' => [
'currency' => 'brl',
'product_data' => [
'name' => "1",
],
'unit_amount' => 2 * 100,
],
'quantity' => 2,
],
],
'metadata' => ['test'=>1],

Result em JSON:

"metadata"\: \[\],

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

What have you already attempted?
I tried to change the position of the metadata

What are you working on?
I'm developing an integration with Stripe in Laravel 11.

#

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

Question
Hello, I'm looking for a way to display the estimated payout for the connected account when creating a charge for their customer. Is there an endpoint to display the respective credit card fees for each country? This way, I can perform the calculation in my system and show the estimated net amount.

Related Request ID(s)
Dev - Api - Tax

What have you already attempted?
nothing

What are you working on?
Medical Clinic

cursive heronBOT
#

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

Question
I am trying to build a subscription based application (SaaS) but am struggling to connect my authenticated users with the tiers they buy. For example when i purchase a start tier in my application and get re-directed Nothing happens. I belive Im supposed to be using webhooks but im confused..

Doc/Guide Links
I do not currently have a doc

What are you working on?
SaaS

#

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

Question
There is this specific text on checkout page that i wanted to ask if it is customizable? Please look at the screenshot below section on the right where it says "Start for free". I want to change it to some custom text because the subscription is not free and user credits are being used to pay for the invoice

Related Request ID(s)
req_OFk4DzZAEMOP9K

What have you already attempted?
I have looked into docs but couldn't find anything

cursive heronBOT
#

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

Question
I'm building a Stripe app that uses Oauth for authentication. After a user installs the app, I fetch the account object to retrieve their email address. Does the account object include the email when the user installs the app in test mode?

Related Request ID(s)
na

What have you already attempted?
Queried account object with test and live installs

What are you working on?
Payments app

cursive heronBOT
#

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

Question
How can I build an inline billing process that supports adaptive pricing using PaymentIntent api and Stripe Elements?

Doc/Guide Links
https://docs.stripe.com/payments/payment-element/best-practices

https://docs.stripe.com/payments/advanced

https://docs.stripe.com/payments/checkout/adaptive-pricing?payment-ui=embedded-components

What are you working on?
My company wants to create an inline payment experience, where we have previously been using stripe hosted checkout links. Desired process is save payment method -> enable autopay(internal) -> checkout with a purchase.

cursive heronBOT
#

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

Error Message
pricing-cards.tsx:48
POST http://localhost:3000/api/stripe/checkout 401 (Unauthorized)
handleSubscription @ pricing-cards.tsx:48
onClick @ pricing-cards.tsx:179

pricing-cards.tsx:59 Subscription error details:
{message: 'Request failed with status code 401', response: {…}, status: 401}
message
:
"Request failed with status code 401"
response
:
{error: 'Unauthor

Question
I'm just confused on what it wants. The checkout was working perfect this morning

What have you already attempted?
adding userId from convex and clerk

What are you working on?
Saas

cursive heronBOT
#

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

Question
I am trying to calculate the stripe fee on transactions so that i can know the exact revenue that comes to me, as this is what i will calculate the distributor's commission off of. i see that on your website it is 2.9% * transaction amount + 0.30. however this is not always the case. how can i know exactly how much stripe charged in the transaction, so i know how much is left.

Related Request ID(s)
pi_3QuhClLXvJT74HZx0S1FR9eG

What have you already attempted?
i have attempted to use the formula 2.9% * transaction amount + 0.30. but this does not always work.

What are you working on?
commission flow for distributors.

cursive heronBOT
#

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

Question
do i need to register the terminal to the sandbox account for testing?

Related Request ID(s)
n/a

What have you already attempted?
Terminal is registered to the main account

What are you working on?
api calls to terminal

cursive heronBOT
#

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

Question
I'm trying to create an AWS eventbridge event destination in a sandbox environment. When I go to create one, it doesnt give me the option to create the event destination after I've put in my AWS account id and other forms.

Related Event ID(s)
n/a

What have you already attempted?
I have alreayd looked up this specific issue and got nothing.

What are you working on?
Webapp for truckers

cursive heronBOT
#

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

Error Message
"Something Unexpected Happened. (11000)"

Question
This happened when one of my Stripe Connect clients tried to connect a 'Citizens Bank' account.

What have you already attempted?
Enabling various payment methods allowed for Stripe Connect accounts including ACH, Link, etc.

Reproduction Steps
Stripe Connect - Adding a payout account for 'Citizens Bank'

What are you working on?
A marketplace

#

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

What did you expect to happen?
I have two plans on my application a starter and a pro plan. When i click the starter plan i get sent to the starter checkout like expected but when i click on the pro plan I get sent to the starter checkout. How can I fix this?

What actually happened?
{
name: "Pro",
price: 19.99,
interval: "monthly",
description: "For large teams and high-demand use cases",
priceId: process.env.NEXT_PUBLIC_STRIPE_PRO_PRICE_ID,
highlight: true,
features: [
{ name: "Particle (Unlimited)", included: true },
{ name: "$0.

Reproduction Steps
I do not have any reproduction steps.

Question
How can I send the pro plan to the pro checkout page.

What are you working on?
SaaS

#

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

What did you expect to happen?
When using Chrome "autofill" for mobile phone number on Stripe checkout it selects the correct country for the phone number.

What actually happened?
When using Chrome "autofill" for mobile phone number on Stripe checkout it selects the first country code with +1 rather than the correct country. Users sees "Your phone number is invalid."

Reproduction Steps
Should be applicable to any Stripe Checkout - for our specific use-case follow the steps below

  1. Go to flumewater.com
  2. Press "Buy Now"
  3. Press "Continue Checkout"
  4. Use Auto-Fill on Chrome to fill out a US phone number
  5. "Anguilla" is selected rather than "United States"

Question
We get a lot of feedback from our customers that they have trouble at this step. Many customers see "your phone number is invalid", get frustrated and leave the checkout process.. It's not clear that the customer can select the country flag to change the country.

What are you working on?
D2C Consumer IOT Checkout

#

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

Question
Is it possible to configure optional future usage off session charges (saved payment links) using payment links for a non subscription charge?

Related Request ID(s)
req_85HiRcoyPOyNKI

What have you already attempted?
It seems like I can do this if I’m creating a payment link through the Stripe console but when using the API, the call to create a payment link will fail if I pass a value in to payment_method_collection.

We are implementing a billing system but don’t want to use subscriptions because we want to allow customers to opt out of automatic payments. We’d rather execute the recurring charges on the behalf of the customer manually via PaymentIntents than use Stripe because we’re integrated with a third party for book-keeping

What are you working on?
Integrating Stripe payments with third party book keeping solution

cursive heronBOT
#

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

Question
Hello! I have connected accounts that are collecting card payments. I am collecting an application fee to cover processing fees and would like the processing fees to be charged to our parent Stripe account (not the connected accounts). How can I do this?

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
Is there a way that I can differentiate a refund that has been initiated by a cancelled paymentIntent, vs a refund that has been initiated as a refund (via the dashboard or API)?

Seems like via the API I can’t add a free-text reason (although I can do it via the dashboard) which I could use

Doc/Guide Links
https://docs.stripe.com/api/refunds/object?lang=node

What are you working on?
handling deposits onto our platform, paymentIntents can be cancelled in-flight

cursive heronBOT
#

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

Question
i'm using Stripe .net 47.3.0 and Newtonsoft.Json 13.0.3. hitting this error. ERROR: The type initializer for 'Stripe.StripeConfiguration' threw an exception. | StackTrace: at Stripe.StripeConfiguration.set_ApiKey(String value)
at ASP.app_dms_checkout_aspx.createPaymentIntent(String txn_key, String txn_no, String dp_no, String dist_cd, String cust_cd, String cust_name, String slsman_cd, String slsman_name, String amount, String currency, String surcharge_amt)

Related Request ID(s)
#1343529275571310643 message

What have you already attempted?
already upgraded Stripe to latest version.

What are you working on?
Maintaining application

cursive heronBOT
#

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

Question
Am getting this error but I don't seen any mistake in the code

400 (Bad Request)
Webhook Error: 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.

Signature verification is impossible without access to the original signed material.

Learn more about webhook signing and explore webhook integration examples for various frameworks at https://docs.stripe.com/webhooks/signature

Related Event ID(s)
evt_1Qvte62BmsN6YOnaQ08O1GYi

What have you already attempted?
Changed to this but it caused error

const headers = Object.fromEntries(request.headers.entries());
const rawBody = await request.text();
const sig = JSON.stringify(headers['stripe-signature'], null, 3);

What are you working on?
Webhook

cursive heronBOT
#

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

Error Message
Receiving requires_source_action error while trying to pay with Klarna

Question
Almost all the payments that go via Klarna are failing with the same err

Account - acct_1Q5DNdF8kUawnE9E
Transaction - https://dashboard.stripe.com/acct_1Q5DNdF8kUawnE9E/payments/pi_3QmIg1F8kUawnE9E1V9dsG4n

What have you already attempted?
Tried checking the logs and everything seems from our end, but almost all the payments that go via Klarna are failing

#

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

Code
const handleConnectLocalMobileReader = async (
reader: Reader.Type,
): Promise<{ error: StripeError<CommonError> } | undefined> => {
if (!toPCountry) {
return;
}

const locationId = getLocationId\(toPCountry\);

if \(locationId\) {
  const { reader\: connectedReader, error } = await connectLocalMobileReader\(
    {
      reader,
      locationId,
      autoReconnectOnUnexpectedDisconnect\: false,
    },
  \);

  if \(error\) {

Question
I am receiving this error localMobile reader is not connected in production. I dont see this error being registered in the stripe dashboard logs. Is this because it is just a client side error?

What have you already attempted?
I have not attempted a fix

What are you working on?
Mobile in person payment system

#

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

Question
How can I prevent users from changing public & professional details on express accounts?

Related Request ID(s)
req_LUddkEIYjMJoK8

What have you already attempted?
account = stripe.Account.create(
type="express",
country=country,
business_type="individual",
capabilities=capabilities,
tos_acceptance=service_agreement,
business_profile={
"mcc": 7999,
"url": "www.gamingwarehousellc.com",
},
settings={
"payments": {
"statement_descriptor": "Gaming Warehouse LLC",
},
}
)

What are you working on?
A website where my users can cash out tokens via withdrawal. They create an express connected account and I transfer their funds directly to it. They then get auto-paid out every 2 days

cursive heronBOT
#

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

What did you expect to happen?
I expect the payment intent processing don't stuck in 2 days to process.

What actually happened?
The payment_intent.processing stuck for 2 days, after the process of cancellation of free trial. So the update in the `subscriptions` table happens before the user pays

Reproduction Steps
I cannot replicate the payment_intent.processing stuck

Question
How do i replicate the payment_intent.processing stuck for 2 days, my checkout has only credit card payment

What are you working on?
Free trial, automatic ending then the transition from free trial to basic subscription.

cursive heronBOT
#

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

Question
I have been troubleshooting this issue for the past two weeks without success. Could you please provide guidance on how to properly cancel the payment intent and remove the payment screen from the WisePad 3 device? This is an urgent matter, and I would appreciate any assistance.

Related Request ID(s)
no

What have you already attempted?
I have attempted multiple solutions, including:

await _terminal!.clearCachedCredentials();
await _terminal!.clearReaderDisplay(); (not supported for WisePad 3)
await _terminal!.disconnectReader();
Restarting the entire terminal setup process

What are you working on?
I am developing a kiosk-based Android application for eSIM sales for singapore, integrating the BBPOS WisePad 3 for payments via USB connection. I am using the mek_stripe_terminal Flutter SDK, which w

cursive heronBOT
#

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

What did you expect to happen?
While refunding if we do {
"amount": "10000",
"payment_intent": "pi_3QtNjiHvbngkCFkt1cjYKgwG",
"reverse_transfer": "True"
} this, we do expect 10000 cents should be reversed from connected account to platform account.

What actually happened?
The amount 9806 cents only reversed.

Reproduction Steps
Refund a payment with certain amount with the flag reverse_transfer: true, the certain amount is not getting reveresed fully.

Question
How can we make sure it transfer reverse the mentioned amount ??

cursive heronBOT
#

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

Question
i live in france and my compagny is based in france i want to create custom account without account token for the moment because i develop only my backend

Related Request ID(s)
req_lkWfdLyTwECYDh

What have you already attempted?
i try a loat of thing nothing worked for my usecas

What are you working on?
a marketplace

#

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

Code
net total=base amount+platform fee+stripe fixed fee+stripe transaction fee(2.9 %)
total=net total+tax

Question
how can we calculate convince fee on base amount . I used above mentioned formula but when i check on stripe i see fee cents loss in convince fee transferred to platform account. is transactionin fee% is calculated after tax or before tax

What have you already attempted?
net total=base amount+platform fee+stripe fixed fee+stripe transaction fee(2.9 %)
total=net total+tax

cursive heronBOT
#

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

Question
When accessing the stripe portal api and creating a session, can I somehow pass which products are up- and downgradeable and which are not? The issue I am having is that a user can have multiple different products and I specified in the Customer Portal settings, that the user can downgrade and upgrade from a wide range of plans. However, when the user has a plan that is not in this plan list, the user is still able to up and downgrade to a product not within that product category

Related Request ID(s)
https://dashboard.stripe.com/settings/billing/portal

What have you already attempted?
I have read the docs, I have checked the settings, no information is provided about it

#

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

Question
If an end user makes a payment of 10,198 cents, we do a 10,000-cent destination transfer to the connected account. In cases where a refund is required, we need to:

Case 1: Refund 10,000 cents to the end user. And, reverse the 10,000-cent transfer from the connected account back to the platform account.

Case 2: Refund 5,000 cents to the end user. And, reverse the 5,000-cent transfer from the connected account back to the platform account.

Related Request ID(s)
PI ID is pi_3QuVlvHvbngkCFkt0lIJM496

What have you already attempted?
Associated transfer reversing only 9806 to platform account. Not sure how much it is refunding the end user ?

cursive heronBOT
#

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

Code
"items": [
{
"price": price_id,
"quantity": 1,
}
],
"start_date": next_august_1st
}

Question
I'm getting an error on line 89 of this, not sure what is going wrong or why

What have you already attempted?
adding the comma after price_id

What are you working on?
setting up schedule for billing

cursive heronBOT
#

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

What did you expect to happen?
When a user enters an invalid credit card number in the Payment Element UI, the input field should turn red and display an error message, preventing submission.

What actually happened?
For most invalid credit card numbers, the expected behavior occurs: the input field turns red, and an error message is displayed. However, when entering a card number consisting only of zeros (e.g., 0000 0000 0000 0000), the field does not turn red, and no immediate error is displayed.

Reproduction Steps
Open the Payment Element UI for adding a credit card.
Enter a completely invalid credit card number (e.g., 1234 5678 9101 1121).

Expected\: The field turns red, and an error message appears.

Now, enter only zeros (0000 0000 0000 0000).

Unexpected behavior\: The field does not turn red, and no error message is displayed.

Attempt to submit the card.

Question
Why does the input field not turn red when the user enters only zeros as the credit card number? Is this expected behavior, or should the UI provide the same validation feedback as it does for other invalid card numbers?

What are you working on?
I am implementing offline payments using Stripe’s Payment Element UI to allow users to add a credit card for later charges.

cursive heronBOT
#

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

Code
if 'subscription' in session:
subscription_id = session['subscription']

            subscription = stripe.Subscription.retrieve\(subscription\_id\)

            customer\_id = subscription\['customer'\]

            next\_august\_1st = int\(get\_next\_august\_1st\(\)\)

Question
I have a previous thread from this morning, i still have issues in line 58, but am unsure of the fix

What have you already attempted?
talked on here to stripe support

What are you working on?
setting up billing schedule for anchoring payments to 1 August

cursive heronBOT
#

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

What did you expect to happen?
I wanted the SEPA text to be displayed in German as my website is in German.

What actually happened?
The text is not translated in German. It is displayed in English.

Reproduction Steps
I asked the Stripe Chatbot about it and it said:
To display this German text, you need to set the locale for your Checkout Session to German. When creating a Checkout Session, pass the locale parameter with the value de for German. This will automatically display the appropriate SEPA mandate text in German on your checkout page.

But I don't know how and where.

Question
Where can I change this into German? I can't find anything in the WooCommerce Payment Stripe or SEPA Settings. I tried different code like:
add_filter('wc_stripe_params', function($params) {
$params['locale'] = 'de';
return $params;
});

Which didn't work at all.

What are you working on?
I want a SEPA checkout in German.

#

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

Code
app.post("/paynow", async (req, res) => {
const { price, orderId, transactionId } = req.body;

const session = await Stripe.checkout.sessions.create({
payment_method_types: ["card"],
line_items: [
{
price_data: {
currency: "usd",
product_data: { name: "Test Product" },
unit_amount: price * 100,
},
quantity: 1,
},
],
mode: "payment",
}}

Question
The code part is not complete but you got the idea i'm using stripe checkout in my project. I cannot see Google Pay option on checkout. I have tried with both indian and french account(of my client)

What have you already attempted?
Enabled Google Pay Payment method
hosted on https
used api keys of france acocunt

What are you working on?
Simple stripe checkout that has gpay and apple pay options both available

cursive heronBOT
#

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

What did you expect to happen?
Customer only charged a single time.

What actually happened?
Customer was charged twice - one from the same day and one from an abandoned session from 2 days ago (I think)

Reproduction Steps
I'm not sure how to reproduce this.

Question
A customer (guest) seemingly abandoned checkout, after a payment_intent was created but before they completed it. They returned a couple of days later, and checked out again, creating a new payment_intent and successfully completed payment. The original payment intent was then also charged so they effectively completed both orders at the same time.

What are you working on?
Ecommerce website

#

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

Question
Hi
paymentIntend confirms if the payment was successful, but it doesnt have customer details like email address.
checkout.session.completed has customer details but it doesn't confirm if payment was successful.
Another option i see is-
get paymentIntend webhook then
get List all Checkout Sessions with payment_intent
then get get customer details from session.
Sound an extra step.

What's the right approach to get a webhook which tells me - This 'emailaddress' has paid 'successfully'.

Related Event ID(s)
checkout.session.completed

What have you already attempted?
Tried.

#

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

Question
Is there a way we can create "pay what you want" checkout session without prior creating price and product?

Related Request ID(s)
NONE

What have you already attempted?
I can create checkout session on the go when I have fixed amount for that session. Is there a way I can do the same for flexible amount?

Here it suggest to create price first, but I would like to avoid that if possible ?

https://docs.stripe.com/payments/checkout/pay-what-you-want?dashboard-or-api=api

What are you working on?
Donations

cursive heronBOT
#

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

Question
I introduced a bug to our webhook handler, causing a thousand webhook failed events. Is there an easy way to resend all the failed ones without having to click resend on each one individually?

Related Event ID(s)
n/a

What have you already attempted?
Clicking one by one!

cursive heronBOT
#

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

Question
Hello, I am creating an app for accountants, I need to register webhooks for client's that already use their own stripe accounts, so I could listen for invoice events of those clients and save those invoices in our database a little bit modified.

I wonder:
Is using stripe connect the best option?
I do not need to perform any payments on behalf of those clients, just listen to events, but without taking their api key, and without relaing on them with registering webhook in their accounts.

Or maybe I should use oAuth or something else?

Related Request ID(s)
none

What have you already attempted?
Described in first input.

cursive heronBOT
#

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

Question
I am testing my integration with bank transfers currently with Stripe, but the reference that I am sending through Moey (Portugal Bank) is not being recognized by Stripe since it is not retrieving it, and for that reason our backend is cancelling the transaction and refunding it to the user (through manual reconciliation mode)

Related Request ID(s)
https://dashboard.stripe.com/payments/pi_3Qw9LbFQl2hhoHWG0IZazjd8

What have you already attempted?
I have tried 2 different bank transfers.

What are you working on?
I am using bank transfers to validate transfers from our clients through reference and iban validation

cursive heronBOT
#

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

Question
Why some subscriptions have DefaultPaymentMethod.Card null however the invoice settings are set to Defualt Card on File and the Customer has a valid card and set as default ?

Related Request ID(s)
sub_1QuQlUDn6CAQGXZnfyk3PB8C

What have you already attempted?
I already did everything I should do, expanding properties, checking stripe side to see if everything is ok. Most of the subscriptions are returning this information.

What are you working on?
A report showing card that are expired and about to expire.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/sepa-debit#failed-payments

Question
How to make SEPA DD inactive mandate active again and use it for future payments?

What have you already attempted?
Since we migrated SEPA sources to payment methods there is something strange: When some payment intent fails, the mandate linked to the payment method/setup intent becomes inactive. I could not find any documentation on the topic as well.

What are you working on?
We are looking for a way to handle this scenario where the mandate becomes inactive after some payment intent fails. But we are not sure what is the way to handle it.

#

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

Question
Hi, I just have a general question about connected accounts, I noticed that if I create a connected account, and then create a custom billing portal configuration, it will be marked as default, and I can't edit it anymore via API.

the solution I came up was to create two configurations and use only the second one, I was wondering if this is the "correct" way to do it or there was something else.

Thanks!

Related Request ID(s)
NONE

What have you already attempted?
Just to create a stripe connected account and create a CGF and edit it

What are you working on?
updating dynamically cfg based on product selection

#

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

Question
I just found out yesterday (last saved conversation here) that attaching a payment to a paymentIntent/setupIntent consumes it. I also remember for a long time, the only way to make sure a paymentMethod is valid (for example not already consumed) is to attach it. So I'm not really sure the best way to test/confirm everything for my users. I'd really appreciate any thoughts. My checkout is customer...all steps seperate. I'm thinking of moving the creating of paymentIntent/setupIntent to when they click submit on the confirm page (right before I redirect to you).

Related Request ID(s)
NA

What have you already attempted?
NA

#

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

Question
In the payout webhook can we also get the reference Id? basically one customer have mentioned that they want to get the reference also it is usually in this pattern ST-XXXXXXXXXXXX. They mentioned that Stripe team can enable a feature on the account to expose this field. So if that is true how do we enable that.

Related Event ID(s)
evt_1Qm3JII1GFwT2gdOZCZnIpX5

What have you already attempted?
checked few payout events and we dont see any where there is reference.

What are you working on?
maintaining webhook integration

cursive heronBOT
#

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

Question
I would like to know the workflow to get the token after saving a paymentMethod (with link) to get it in the paymentIntentObject ?

Are you returning us a token ?

Related Request ID(s)
None.

What have you already attempted?
I've already read the documentation of CustomerSessionCreateParams available here

https://docs.stripe.com/payments/save-during-payment#save-payment-methods

#

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

What did you expect to happen?
I try to make a checkout for a connected account. (all in test mode) so i create a checkout session for the connected account and get the url for the checkout. After redirecting to the url (https://checkout.stripe.com/c/pay/...) the user should enter his payment information and proceed.

What actually happened?
If I submit the card information I always get this error message: "You cannot create a charge on a connected account without the `card_payments` capability enabled."

The connected account and even the host account has the capability for card_payments activated. (Test mode)

Reproduction Steps
Enable connects and create a checkout session for a connected account.

Question
Did anybody had a similar issue and knows how to solve it? Or even has an hint where I can find a possible solution?

#

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

What did you expect to happen?
Using the link payment method I still expected it to respect that I did not turn on ACH

What actually happened?
Both Card and Bank options display

Reproduction Steps
turn off all payment methods except link and card

Question
Does link not respect my setting? How can I modify this?

What are you working on?
billing microservice

#

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

Question
I have a customer with existing payment method. The respective customer has a subscription, however I want to allow the customer to use the existing payment method to upgrade (higher cost) their subscription. I was trying to use the confirmSetup method but as I dont want to display a payment element I get errors. should I be using a different method? I tried also using confirmPayment but no success.

Related Request ID(s)
req_OBSpNlloIpnGjh

What have you already attempted?
I can successfully accept payment with the payment for but can't figure out how to use existing payment method

#

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

Question
Lets say an authorized Payment, a Payment Intent with status `requires_capture`, sits too long and the authorization expires.

Will the PI status automatically change to `canceled`? Some other state?

Related Request ID(s)
N/A

What have you already attempted?
I don't see the ability to setup this scenario in the test sandbox.

What are you working on?
We are implementing Auth and Capture using Multicapture PIs and would like to be able to ask a PI if it's auth has expired before we go to capture it.

#

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

Question
I'm using stripe.confirmCardPayment to confirm a payment in a React App, we have a customer who entered an incorrect CVC number and proceeded with the payment, the stripe.confirmCardPayment returned an error to the user, But behind the scene Stripe has created a successful payment transaction for that payment and fired the webhook with event = PaymentIntentSucceeded, the created successful payment transaction has CVC check: failed.

How is that possible?

Related Event ID(s)
none

What have you already attempted?
none

#

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

Code
What is 'Tax' in this payment?

Question
I integrated Stripe using Django and are now making direct charges to sellers. When looking at the payment breakdown I notice that sellers pay Stripe's fees, the platform's configured fees and "Tax"? What is that tax? Where can I configure it? What does it depend on?

What have you already attempted?
I tried looking around the dashboard and looking if my code mentions tax anywhere

#

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

Question
Hello, I am workin on app for accountants(this app already exists and is working). My goal is to let our clients who already sell goods using stripe, to connect their stripe account to our App, so we could register a webhook for them, and then collect invoice related events. I am interested in what is the best way to let users connect their accounts.

I do not need to collect any payments, just listen to events. Someone told me to look at Stripe Apps but I do not want to build new app, I would like to integrate that functionality to an existing app.

Related Request ID(s)
none

What have you already attempted?
I looked in to OAuth, Stripe connect and stripe apps, I think connect my be best option, but every integration guide shows collecting payments, and creating new accounts. Is using connect the best option in this case?

#

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

Question
When doing a refund, if we have multiple transfer attached to it, what's the best practice do i have to reverse all the transfer before main launching thé refund or the order dont matter and i can launch the refund and after launch the reversal ? Also is there a field chez i can see Somewhere to know if the money from the reversal is arrived before launching the refund ?

Doc/Guide Links
Refund and transfer doc

What are you working on?
Plateform account that transfer money to the merchant of the things that was sold on the website(money arrive on plateforme account)

cursive heronBOT
#

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

Question
How should I use the `hosted_instructions_url` field in the Cash App Pay response?

Related Request ID(s)
req_nsq5isNoWfKEfZ

What have you already attempted?
I'm redirecting to `hosted_instructions_url` on desktop, and it appears to show the QR code correctly. I can complete the payment. However, it doesn't redirect back to the `return_url` on complete. Is that a supported feature?

cursive heronBOT
#

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

Question
Is there a way I can have a checkout session/payment link or some other Stripe product, where user can simply define their own amount and select whether they wanna pay it every month or one-time.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/pay-what-you-want
Pay what you want is limited to one-off, so I need some workaround

What are you working on?
Donations

#

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

Question
How do I know what should I print for merchant identifier in custom receipt

Related Request ID(s)
a

What have you already attempted?
How do I know what should I print for merchant identifier in custom receipt

#

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

Code
<ConnectPaymentDetails payment={'ch_XXXXXXXX} onClose={handleDrawerClose} />

Question
I can't seem to find the payment id needed for the component to work and I'm wondering where I can get it from

What have you already attempted?
I've gone through the dispute object to find the payment intent associated with it and then from there to the charge so I can pass it to the component but it's throwing an error: "No such charge: ch_XXXXXXXX"

I tried rendering the full payments view and from there I saw that the py_XXXXXX works but for my subscription payments that particular id doesn't exist

What are you working on?
I'm trying to implement the Connect payment details component so our clients can manage their disputes

#

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

Code
$session = \Stripe\Checkout\Session::create([
'payment_method_types' => ['card'],
'mode' => $mode,
'customer' => $customerId,
'billing_address_collection' => 'required',
'allow_promotion_codes' => true,
'line_items' => [[
'price' => $priceId,
'quantity' => 1,
]],
'metadata' => [
'userId' => $userId,
'itemType' => $itemType,
'itemKey' => $itemKey

Question
How to enable more payment methods such as: Klarna, Afterpay, PayPal, etc.. except "card"?

What have you already attempted?
I tried editing " 'payment_method_types' => ['card'] " part and adding the other payment methods but they still don't show or sometimes the BUY button on my ecommerce website that redirects to the stripe checkout page won't click (won't open), with certain paypment options, so i have to remove them from the list.

What are you working on?
Working on an ecommerce web which redirects user to stripe checkout page when the BUY button is clicked. We offer subsciptions and onetime payments items.

#

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

Error Message
PLN 128 was debited from my bank account

Question
Hello, I received a notification about the download of PLN 128 from Stripe. The problem is that I don't have an account on this platform. Can I get a refund? Email: mateusz2004.mt@gmail.com

What have you already attempted?
pls help me, I dont know what is happening

#

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

Error Message
Error: You cannot create livemode account sessions or account links until you have supplied URLs at https://dashboard.stripe.com/settings/connect/site-links for notification banner, account management, payouts, payments, balance, and documents.

Question
I need to configure Connect site-links for my Stripe Connect integration. When trying to use accountSessions or accountLinks APIs, I'm getting this error: 'You cannot create livemode account sessions or account links until you have supplied URLs at https://dashboard.stripe.com/settings/connect/site-links for notification banner, account management, payouts, payments,

What have you already attempted?
.

What are you working on?
saas for manage connect accounts and help them to use stripe as payments

cursive heronBOT
#

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

Code
cy.window().then((win) => {
// https://github.com/juliangruber/is-mobile/blob/6a1cd5c4961625f6e26ec40e44b1f27ca7a9512f/index.js#L15
Object.defineProperty(win.navigator, "userAgent", {
value:
"Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Mobile/15E148 Safari/604.1",
});
});

Question
How do I test the `confirmCashappPayment` flow in Cypress? In particular, I'd like to simulate the mobile UX, but I can't figure out how to get Stripe to detect the device as mobile and redirect.

What have you already attempted?
See the code above—this is the usual way for faking user agents with `is-mobile`.

#

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

Code
Attach promo code in receipt after a purchase

Question
I want to attach a unique promo code to the emailed receipt after a customer purchase, to be used on a separate product

What have you already attempted?
I've created the promo code

What are you working on?
Promo Codes

cursive heronBOT
#

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

Code
let merchantIdentifier = "com.mudflap.mudflap"
let paymentRequest = StripeAPI.paymentRequest(withMerchantIdentifier: merchantIdentifier, country: "US", currency: "USD")

    paymentRequest.paymentSummaryItems = \[

// PKPaymentSummaryItem(label: "iHats, Inc", amount: 50.00),
PKDeferredPaymentSummaryItem(label: "Test", amount: NSDecimalNumber(string: "0.01"), type: .pending)
]

Question
Does `STPApplePayContext` support `PKDeferredPaymentSummaryItem`?

What have you already attempted?
In my sample code (of which there is more, but it did not fit in the character limit of this form), the commented out `PKPaymentSummaryItem` works as expected, however the `PKDeferredPaymentSummaryItem` fails to work.

What are you working on?
iOS Apple Pay integration

#

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

Code
Implementing a subscription management portal

Question
How do implement a subscription management portal for the subscription of a product which is bought by an organization for its employees?

The HR will login into the portal and should see the active subscriptions of various employees of it, and have the ability to manage them.

What have you already attempted?
I have tried seeing how can I use the API and no-code subscription management module but nothing caters to my need

What are you working on?
A website for my client through which they can sell various subscriptions of their products.

cursive heronBOT
#

@timid ember 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.dev/stripe-terminal-android/core/com.stripe.stripeterminal/index.htmlhttps://stripe.dev/stripe-terminal-android/core/com.stripe.stripeterminal/index.html

Question
Is it possible to collect the raw information read from swiping a card on Stripe terminal's magnet reader?

What have you already attempted?
Reading through docs

What are you working on?
We are trying to support 3rd party gift cards as payments via the Stripe Terminal. While it's not part of the terminal's core functionality, we are wondering if it can be achieved by app on device

#

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

Question
Is it possible to get radar to block cc by country in the radar rules if the checkout session is a 0 dollar amount (trial days given) without writing a whole bunch of backend code

Related Request ID(s)
None

What have you already attempted?
- Current radar settings
- Looking into ChatGPT for solutions
- Trying different rules and methods

What are you working on?
Stripe integration fraud protection

cursive heronBOT
#

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

Question
I work for a Ruby on Rails shop, and I'm trying to get a sense of industry-standard Testing Strategy with the Stripe API. We have historically used the stripe-ruby-mock gem (linked), which is a super-convenient stateful mocking interface that intercepts all calls to Stripe:: resources.

The problem is, it's not well maintained, and we are way behind on Stripe API versions. We want to catch up, and this means either patching the stripe-ruby-mock gem, or implementing something else. VCR seems like it will be cumbersome, and setting up mock requests for our entire CI is too much work.

How are other RoR devs approaching testing?

Doc/Guide Links
https://github.com/stripe-ruby-mock/stripe-ruby-mock

What are you working on?
Social Media platform with Stripe Payments

cursive heronBOT
#

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

Question
I want to create a payment link where the only payment options are Klarna and Affirm, as this will be a featured product on my website

Related Request ID(s)
n/a

What have you already attempted?
I have tried to create a configuration on stripe of only these two features, but I can not apply it to my product.

What are you working on?
I have a Go High Level whitelabel

cursive heronBOT
#

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

Question
Looking for a way to retrieve all charges/transactions associated with a given payout.

In Stripe we can export the transactions for a given payout ( Balances > Recent Payouts > Payout > Export ) which returns a table including Charges, Held Reserved Funds, and Scheduled releases of reserved funds. Trying to retrieve this data using API calls.

I can retrieve most of the data with the call: https://api.stripe.com/v1/balance_transactions?payout=po_1Ql...AyXHl9&expand[]=data.source...
However this call does not return any objects relating to Scheduled releases of reserved funds.

Related Request ID(s)
req_exVLrKqlJoa4dH

What have you already attempted?
Have poked around the documentation for balance transactions, payouts, charges, but none of these seem to link to releases of reserved funds.

Have looked for a way to retrieve reserved funds directly, but I cannot find any api documentation for rea_ objects.

What are you working on?
Automating workflows for daily finance reporting

cursive heronBOT
#

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

Question
We're building a waitlist feature where users can commit to a subscription ahead of time, but the subscription will start on a future date. For example, a user might pay $25 on March 1st, and then on March 14th, we would create a subscription for them at $50/mo (after crediting them $25).

In general, if we collect payment information via a PaymentIntent for the initial $25, if we create the subscription fully offline on March 14th, will that generally work as expected. Or are there payment methods that will need extra verification when we create the subscription offline

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
An example of end user accepting recipient service agreement using Stripe's JAva API. The builder class doesn't support listing more than 1 agreement.

Related Request ID(s)
req_Cqt78QpHYWEPnW

What have you already attempted?
I've tried guessing as to what the correct ExtraParam should be

#

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

Question
@hanzo I'm not able to reply to my other thread because it was closed

I see you answered my testing best practices question by linking to the stripe-mock gem. Unfortunately, because it's stateless, it seems like it's only applicable for narrow contract testing.

The `stripe-ruby-mock` gem I mentioned is stateful, so if you create a Stripe Customer, then fetch the Customers list, you'll get that specific customer back.

This is the kind of convenient mocking I'm hoping to achieve. Ultimately, I'm trying to decide whether to continuing to patch the `stripe-ruby-mock` gem, or use some other approach.

What are other RoR shops doing for e2e testing?

Doc/Guide Links
#1344037084616458372 message

What are you working on?
Social Media platform

cursive heronBOT
#

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

Question
How do i pass end user's acceptance of "recipient service agreement" using stripe's Java API ?

Related Request ID(s)
req_Cqt78QpHYWEPnW

What have you already attempted?
All other aspects work but the TosBuilder class does not provide options to build multiple acceptance objects.

cursive heronBOT
#

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

What did you expect to happen?
Trigger an account.updated webhook for a connected account

What actually happened?
received a 403 error
"Connect platforms cannot create new accounts on behalf of their connected accounts."

Reproduction Steps
using the stripe cli, login and begin listening then run
stripe trigger account.updated --stripe-account=acct_XyZ

Question
How can I trigger an account.updated event for a connected account through the cli in order to ensure my webhook is working before rolling out to a server?

cursive heronBOT
#

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

Question
I want to roll my secret key. I see I can choose an expiration with the latest date being 7 days from now. Does this mean I have to manually roll this key before 7 days over and over again?

Related Request ID(s)
"no results found"

What have you already attempted?
I have read the technical documentation and the non-technical and am still not clear about it

What are you working on?
An event ticketing app

cursive heronBOT
#

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

Error Message
The payment failed.

Question
I'm getting this error using Cash App for the first time in production. What's going on?

What have you already attempted?
I've tried this a bunch, and it worked when I tried to confirm the payment on the server, but confirming on the frontend in production fails. It works in sandbox.

Reproduction Steps
- Create a payment intent on the server with payment method type `cashapp`.
- On the client, confirm the payment intent via `stripe.confirmCashappPayment(clientSecret)`.
- See the error.

cursive heronBOT
#

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

Question
I configured a webhook and subscribed to 'account.updated' event when a new Express Connect account is onboarded.
I onboarded a customer but did not receive the webhook. Neither do I see any attempt (on the dashboard) to send a webhook.
I client has been successfully onboarded, though.
Can you please advise what am I missing?

Related Request ID(s)
req_ftqIeyTVEIDNPr

What have you already attempted?
checked the dashboard

cursive heronBOT
#

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

Code
params := &stripe.FinancialConnectionsAccountRefreshParams{
Features: []*string{stripe.String("balance")},
}
result, err := stripeAccount.Refresh(account.StripeAccountID.String, params)

balanceParams := &stripe.FinancialConnectionsAccountParams{}
result, err = stripeAccount.GetByID(account.StripeAccountID.String, balanceParams)
if result.Balance.Current["usd"] != 0 && cli

Question
Using this code, we have financial account connections go 'inactive' after a while and stop updating. Is there any way to stop this? Is it time based? Or based on something else that's making it go inactive?

What have you already attempted?
Tried refreshing the balance.

What are you working on?
A balance updater for a data aggregator app.

cursive heronBOT
#

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

Question
I am trying to use financial connections to instantly verify ownership of one of my users bank accounts. I can have them provide me the full account and routing number but from there it seems stripe only provides me the last 4 of the account number to compare things against. Is there something that I'm missing or some better way to go about this?

Related Request ID(s)
NA

What have you already attempted?
I have a full bank account ownership flow working but it just gives me a tokenized payment method which is irrelevant for my use case.

cursive heronBOT
#

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

Question
How do I setup Restricted API Key so that if a hacker gets it they can't create Express accounts on our Connect Platform? We only want to allow Standard accounts to join

Related Request ID(s)
Dasbhoard --> API KEYS

What have you already attempted?
We looked through all settings on Restrcited API Keys and cant find one that fits that criterea

What are you working on?
Mobile app that allows connected account onboarding

cursive heronBOT
#

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

Code
import { NextResponse } from "next/server";
import Stripe from "stripe";
import moment from 'moment-timezone';

const stripe = new Stripe(process.env.NEXT_PUBLIC_STRIPE_SECRET_KEY as string, {
apiVersion: "2024-04-10" as any,
});

export async function POST(req: Request) {
try {
const { priceId, customerId } = await req.json();

// const userTimezone = req.headers.get\("timezone"\) \|\| "UTC";
// const userTime = moment.tz\(userTimezone\);

const startDateUnix2

Question
Hello, don't be tired
The problem I'm facing is why when the start_date
is reached, it is not automatically deducted from the user's account
The schedule is created and displayed correctly in the dashboard
And after reaching the schedule date, it shows me this error in the dashboard
It should be noted that the card also has balance
"attempted to charge the customers payment method on file once and failed payment will be retried on 26 feb"

َ

What have you already attempted?
stripe

#

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

Question
We are using payment sheet for our payment on stripe but we can not get the invoice in its response at the time of checkout. How can I get invoice url? Also how can we calculate sales tax according to the location?
Right now our stripe account does not have an active sales tax registration by any state as we are working on gathering them.
We wanted to test if the sales tax calculation by location through the api which we are using is working as expected or not. Right now when we run the test mode the sales tax is coming as 0. How can we test it if we move manual locations around.

Related Request ID(s)
acct_1QrByeGogjLf4w5s

What have you already attempted?
We are using payment sheet for our payment

What are you working on?
Our app is a platform that redefines live music experiences by seamlessly connecting audiences with DJs by Real-Time Song Requests

cursive heronBOT
#

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

Code
payment_intent_data: {

application_fee_amount: platformFee,
transfer_data: {
destination: accountId,
},
// on_behalf_of: accountId,
},

Question
We are doing cross border payments via connected accounts and using above code as per instruction from document but I am unable to create session.

What have you already attempted?
I tried split payments which is giving error on checkout hosted page. We tried direct payment as well. Also we tried separate charges and transfer.

What are you working on?
We are building on Visa automation platform. Our clients are international so customer need to send payment to them.

cursive heronBOT
#

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

Question
We have an issue with partial bank transfers. Our customers create payment intents but we cannot force them to pay the whole amount with bank transfer so we would like to process also partial payments. However, for partial payments, we don't have a Charge object created in Stripe for some reason. Also amount_received is equal to 0 in PaymentIntent. Besides I cannot get net amount (without fee) if no Charge was created. What is the preferred way of handling partial payments in bank transfers then?

Related Event ID(s)
pi_3QpAUX2AkROc6diV0mFPGGic

What have you already attempted?
I have tried to use PaymentIntent data, to sum up all partial payments (bank transfers) but I suppose we should have already paid amount in PaymentIntent

What are you working on?
partial bank transfers

cursive heronBOT
#

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

Code
import {
injectStripe,
ReactStripeElements,
PaymentRequestButtonElement,
} from 'react-stripe-elements'

this.paymentRequest.canMakePayment().then((rs) => {
if (rs) {
this.setState({
applePay: rs.applyPay,
googlePay: rs.googlePa,
})
})

{applePay || otherPay ? (
<PaymentRequestButtonElement
className="payment-request-button"
paymentRequest={this.paymentRequest}
/>
) : null}

Question
Our customer has disabled GooglePay in stripe settings, but the PaymentRequestButtonElement is still displayed on their website. I checked this.paymentRequest.canMakePayment() and https://merchant-ui-api.stripe.com/elements/wallet-config and found that GooglePay returns true in both the interface

What have you already attempted?
We tested it in our own account and got the same results.

cursive heronBOT
#

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

Code
payment_intent_data: {
,
application_fee_amount: platformFee,
transfer_data: {
destination: accountId,
},
// on_behalf_of: accountId,
}

Question
I want to send cross border payments and for this I am using direct charge method in the connected accounts and charging platform free

What have you already attempted?
Split payments, direct charge

What are you working on?
sending amount in cross border connected account

cursive heronBOT
#

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

Code
Stripe Terminal compatibility issue

Question
We recently migrated our codebase to use Ktor 3.1.0, and Stripe Terminal initialization now fails with `java.lang.NoClassDefFoundError: Failed resolution of: Lio/ktor/client/plugins/UserAgent;`
It looks like the error is related to the HTTP client used by Sentry in the Stripe's SDK implementation. We tested with both v3.8.0 and v4.2.0 of Stripe's SDK and got the same issue.
Is there any workaround or should we just report this on the issue page of Stripe Terminal repository?

What have you already attempted?
We created a new project importing just Stripe Terminal and Ktor 3 using Gradle to double check that none of our custom configuration or other dependencies where causing the conflict

cursive heronBOT
#

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

Code
Event event = Webhook.constructEvent(payload, sigHeader, endpointSecret);

        EventDataObjectDeserializer deserializer = event.getDataObjectDeserializer\(\);
        StripeObject stripeObject = deserializer.getObject\(\).orElseThrow\(\(\) \-\> new Exception\("Deserialization failed"\)\);

Question
We are trying to verify the Stripe Signature but getting this error: "Internal Server Error: Deserialization failed". Already had a discussion on this with Stripe Support Team regarding this and came to a conclusion that we were using different API version than expected, i.e. 2024-10-28.acacia. So, wanted to check on this if we can only upgrade this "BalanceTransaction API", which is used by our service keeping other APIs in the current version?

What have you already attempted?
Checked on the the versions of the API.

cursive heronBOT
#

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

Error Message
checkout-form.tsx:90 Payment error: IntegrationError: A billing address is required to confirm this Checkout Session. Provide a billing address using updateBillingAddress() or use the Address Element.

If I use Address Element, I can't submit b/c its collecting information via PaymentElement but I don't see the fields in the UI form.

Question
If I use Address Element, I can't submit b/c its collecting information via PaymentElement but I don't see the fields in the UI form.

What have you already attempted?
This was the first version that I tried where the customer has to fill both address forms. In this case, I'm also running into an error.

```
{!sameAsShipping && (
<AddressElement
onChange={handleTaxCalculations}
options={{
mode: 'billing',
}}
/>
)}
```

Reproduction Steps
try adding both the AddressElement and the PaymentElement and view the error.

What are you working on?
ecomm site

cursive heronBOT
#

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

Question
What do the different status of Stripe disputes mean? I don't remember `warning_` ones when we built ours and we just noticed they exist.

Related Request ID(s)
N/A

What have you already attempted?
Read the docs

cursive heronBOT
#

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

Question
does Stripe sends out email to the Connect customers on the status of their Express Connect Onboarding?

Related Request ID(s)
none

What have you already attempted?
onboard users to Stripe Express Connect

#

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

Question
I want to update the price of an existing subscription via API.

The aim would be, by the next invoice, to be on the new price. But Stripe is calculating "Remaining" and "Unused" time entries for the upcoming invoice.

I tried a couple of different versions (schedule-api. subscriptions api). But I can't get it work as expected.

Related Request ID(s)
req_j32SWjBSUgAQ4C

What have you already attempted?
I created a new price through the api.

I tried updating the subscription directly with the subscription-item-id. I marked the current one as deleted and added a new item with the new price-id.

I tried updating the existing subscription-item-id by replacing the old price-id with the new id.

On each variant I added the "proration => 'none'" parameter.

What are you working on?
A gym management saas plattform.

#

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

What did you expect to happen?
Apple Pay to work successfully for all connected accounts from our integration

What actually happened?
Apple Pay is failing for some accounts with "Payment Not Completed" but not logging anything to console or request to describe what failed. No Payment Intent is being created or call to our Backend is being made.

Reproduction Steps
Will provide details in thread

Question
We have Apple Pay enabled on our integration via the Express Checkout Element. It is working without issue for the vast majority of our connected accounts. A couple of customers are complaining it is no longer working but the SDK is not emitting anythng to indicate why it failed for that account only.

What are you working on?
Connected Platform integration

#

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

Question
I would like to know why the webhook was not dispatched for a specific event

Related Event ID(s)
evt_1QURfFH2R46PdIeDGlgDG9Wq

What have you already attempted?
Looked at the Stripe Event, no webhook was dispatched.

cursive heronBOT
#

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

Question
I am using tap to pay flow- What success event I should expect in order to provide goods for customer.

Related Event ID(s)
evt_3Qwm7FGSblWe99ue3MUJ184o

What have you already attempted?
I was expecting payment_intent.succeeded but only got charge.succeeded. I'm now a bit confused which event is the safest to listen to.

Beside this I had also a checkout session flow where all my customers receive their goods once I catch payment_intent.succeeded. Does it mean now I should transfer everything to charge.suceeded

What are you working on?
Donations

#

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

What did you expect to happen?
I disabled the test-modus

What actually happened?
Can't make a booking -> 'Je kaart is refused. If the tables are in test mode, the test card is used. You can also get a cheap test card at https://stripe.com/docs/testing.'

Reproduction Steps
I visited the website of stripe, but I can't find how to fix it

Question
Does anyone knows how to do it?

What are you working on?
Vacation Rental

cursive heronBOT
#

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

Question
Lately, when our users finance their purchase, we don't seem to be getting the webhook to tell us that the charge has succeeded. Is there a way to search the webhook logs for the payment intent to see if it is an issue on our side?

I'm not sure if it is relevant, but this seems to happen when "The payment pi_xxxx for $888.88 requires you to take action in order to complete the payment" is in the logs.

We do not have a problem when the payment is ACH.

Related Event ID(s)
evt_3QqnFpDQzp6p2Ds22cF2IHc0

What have you already attempted?
It seems to work intermittently. I'm not sure what else to check at this point.

What are you working on?
We process payments for car racing events.

#

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

Question
We use Stripe Connect (Express accts), and have been asked by users about being paid as a Company but using their SSN for tax / ID verify purposes rather than an EIN (this is allowed by the IRS)

Stripe Connect says it supports it as well - during Connect onboarding, the EIN entry field has text underneath it that says "If you use your Social Security number for business tax purposes, you can enter that instead".

However, we've heard that entering an SSN here would fail ID verification as it does not match the "Legal business name" field above on the person's SS card - should they enter their Legal first + last name in that field instead of biz name, to match their SSN?

Doc/Guide Links
https://support.stripe.com/questions/tax-id-verification-guidelines-by-business-type-in-the-us

What are you working on?
Gig economy platform where we pay out consultants working on projects via Stripe Connect.

#

@scarlet sentinel 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/setup-intents

Question
When creating a SetupIntent and the payment method is saved to a Customer, does Stripe do a zero dollar auth(ZDA) to verify the payment method like it does for PaymentIntent?

What have you already attempted?
SetupIntents work just fine, I'm asking about the underlying process and zero dollar auths.

#

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

Question
so, i can't use the money I earned in stripe to transfer to account connected to my platform If I am not from the US right? how do I do it then? can I recharge my Stripe Platform?

Related Request ID(s)
none

What have you already attempted?
I researched alot of it already

cursive heronBOT
#

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

Question
We use stripe for saas subscriptions. We have 3 plans where each has both a monthly and annual option. We want to offer an introductory first month that's $19 no matter which plan you select. So it would give you the first month for $19, then you'd be charged the normal monthly or annual rate after that. How would we do this?

Related Request ID(s)
N/A

What have you already attempted?
Some ideas...
- Use the 'iteration' thing when setting up a stripe subscription. the problem i see here is what happens when someone needs to change their plan.
- Set the price manually when we set up their initial subscription (but how do we deal with annual?)
- Discount the price instead of setting it?

#

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

Question
How can I add Neighborhood in Billing Address Element for Brazil as its done in Stripe Checkout form? (I will add screenshot in thread)

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
-

cursive heronBOT
#

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

Code
await initPaymentSheet({
applePay: {
merchantCountryCode: 'US',
},
googlePay: {
amount: `${amount}`,
testEnv: env.envName !== 'production',
currencyCode: 'USD',
merchantCountryCode: 'US',
},
primaryButtonLabel: 'Place Order',
intentConfiguration: {
mode: {
amount,
currencyCode: 'usd',
},
confirmHandler: paymentModeConfirmHandler,
},
})

Question
we need to refresh the amount if the price has changed after payment sheet has been initialized programmatically

What have you already attempted?
There is not function in the docs to close the payment sheet.

What are you working on?
React Native stripe integration

cursive heronBOT
#

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

Question
How can we calculate sales tax according to the location?
Right now our stripe account does not have an active sales tax registration by any state as we are working on gathering them.
We wanted to test if the sales tax calculation by location through the api which we are using is working as expected or not.

Related Request ID(s)
acct_1QrByeGogjLf4w5s

What have you already attempted?
Right now when we run the test mode the sales tax is coming as 0. How can we test it if we move manual locations around.

What are you working on?
Our app is a platform that redefines live music experiences by seamlessly connecting audiences with DJs by Real-Time Song Requests

cursive heronBOT
#

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

Question
Is there a way to identify specifically KOHO prepaid cards?

Related Request ID(s)
pm_1Quy3CGneVlO9kvBA4DqIEPD

What have you already attempted?
Looking at the logs, they currently only have brand, and funding which is mastercard and prepaid.

What are you working on?
Identifying specific prepaid cards

cursive heronBOT
#

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

Question
Is there a way to test credit card payments in non-test mode? I want to see how my code works in the final environment.

Related Request ID(s)
NA

What have you already attempted?
nothing yet, want to check with you before I charge someone by mistake

#

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

What did you expect to happen?
A default email if the customer provides a billing email address

What actually happened?
No email is sent

Reproduction Steps
We create the customer, then create the bank account for ach debit pull with setup intent, then show mandate with a verify microdeposit right after.

Question
Why is the email not being sent? Here is a snippet of the code
const result = await stripe.confirmUsBankAccountSetup(
clientSecret || "",
{
payment_method: {
billing_details: {
name: accountHolderName,
email: email,
},
us_bank_account: {
account_number: accountNumber,
r

What are you working on?
Setting up ach debit/billing.

#

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

What did you expect to happen?
Link is not showing up when I have my account in test mode, but the settings are the same? acct_1Ln2NYKjI0M1O6BO in test mode vs acct_1NT77tLZ1kEeNsfj

What actually happened?
Link not showing up at checkout in test mode but does show up in normal checkout

Reproduction Steps
Enable link payment method and remove connected account for platform settings

Question
What discrepancy/setting am I overlooking?

What are you working on?
billing microservice

#

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

Question
I'm wondering about the best way to implement tiered pricing with a base fee. Currently, I create subscriptions with two separate prices: one tiered and one flat rate.

When I create a checkout with these two prices as line items, the checkout page becomes confusing for customers. Some have complained about not understanding why they're subscribing to "two things."

I'd prefer to have a single price. Is there a way to create a tiered pricing model with a base fee that starts at *0* units, rather than starting at 1?

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models

What are you working on?
A subscription for an API at https://www.merklemap.com/pricing

#

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

Code
```
await stripe.billing.meterEvents.create({
event_name: 'photo_downloads_meter', // This corresponds to the meter you're tracking // The timestamp of the event
payload: {
stripe_customer_id: customer.stripe_customer_id, // Stripe customer ID from your database
value: "1" // The value of the usage event
}
});```

Question
Regarding the metered usage, in the docs it mentions if you bill for example every 1,000 requests on your product, would it be best to still track it per-event, or have a cron that runs perhaps every hour, aggregates the usage from the customer, with the value then being `value: usageAmountPerHour`?

What have you already attempted?
Attempted a couple different approaches with background jobs that seem to not always give consistent results.

cursive heronBOT
cursive heronBOT
#

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

Question
Is anyone familiar with consequences to MCC changes?

Doc/Guide Links
https://docs.stripe.com/terminal/features/saving-cards/save-after-payment?terminal-sdk-platform=android#access-generated-card

What are you working on?
We’re trying to access a stripe beta feature regarding saving digital wallet payments. Our MCC does not fall in the eligibility list for this beta feature. We wish to change our MCC to better represent our business.

cursive heronBOT
#

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

Question
I need small help with how to pass payment method configuration ID to stripe subscription create api

Related Request ID(s)
no

What have you already attempted?
check stripe subscriptions create api

What are you working on?
web development

cursive heronBOT
#

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

Question
I would just like to know how to set up a webhook. Currently I tried the CLI but I dont think ive done it right. Its just in my ENV and im trying to use it. When I complete a checkout all of it is listed but im trying to connect when my user purchases a subscription to my application.

Related Event ID(s)
N/A

What have you already attempted?
A bunch of things. I belive the problem to be its because its not listed in my stipe dashboard?

What are you working on?
SaaS

#

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

Question
I am unable to add `default_account_tax_ids` to a account's invoice settings. Can you help me figure out what I am doing wrong?

Related Request ID(s)
req_JJSzuOqLPZRHDR

What have you already attempted?
I've tried adding this value in the dashboard but I don't have permissions

I've tried via the API but I am getting an error that there is no such "account_tax_id". The id I am using is txi_1QtzU7C7hUs4wr8n12kA0B9k, is this not the correct record type?

What are you working on?
I'm working on an invoicing feature and need to include an account's VAT id on the invoices

#

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

Error Message
Unable to Connect to Reader

Could not communicate with the Reader. Please make sure your reader is online and on the same network as your device. See https://support.stripe.com/questions/terminal-connectivity-issues for more details.

Question
We have reconnected our Stripe reader to our booking platform on Mariana Tek 10-20x in the past 4 months and it just keep disconnecting and it takes forever to get it back connected. I have to disconnect and reconnect it over and over again and eventually it sticks but only for a little while until my team tells me again that the reader isn't connected.

What have you already attempted?
Power Cycled the device many times
Disconnected and reconnected to the same wifi network as our computer it's connected to
reset the reader with the pinhole on the side
Taken the battery out and put it back in
Unpaired and repaired it to Mariana Tek multiple times (our booking platform).

Reproduction Steps
It won't let us use it at all. The only way we can take payment is by manually entering their card information into the system & that's IF the client has their physical card on them. This happens every week. Sometimes we get it to last more than a week but we've spent more time NOT being able to use it at all then being able to use it in the past 5 months.

What are you working on?
I'm a Studio Manager for a Lagree Fitness Studio in Portland, OR. We take payment for membership fees and retail purchases.

#

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

Question
I have a client who previously used Stripe Connect on another platform and wants to switch to my platform. However, after connecting their account and making a payment, the transaction does not appear in Stripe Connect on my side. How can I ensure that the account is properly transferred and that payments are correctly recorded under my platform?

Related Request ID(s)
I checked the logs under Dashboard > Developers > Logs, but I don’t see any related events for the connected account. The checkout.session.completed and payment_intent.succeeded events are missing.

What have you already attempted?
I have checked the following:
• Verified that the client is using the correct Stripe account for payments.
• Checked if the account type is Standard, Express, or Custom.
• Confirmed that my webhook is correctly set up to receive checkout.session.completed and payment_intent.succeeded events.
• Tried reconnecting the account via OAuth, but the issue persists.
• Checked the Stripe logs, but the transactions do not appear under the connected account.

What are you working on?
I am building an affiliate program management platform where users connect their Stripe accounts to track and manage affiliate commissions. I need to ensure that users migrating from another Stripe Co

cursive heronBOT
#

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

Question
i'm building a stripe app. it uses oauth for authentication. does the installing user's browser get routed to the redirect url (and away from the stripe dashboard) or is that a call made on the backend?

Related Request ID(s)
na

What have you already attempted?
tested the app locally

cursive heronBOT
#

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

Question
Does Stripe send email notification to the account holders on Express Connect onboarding status?

Related Request ID(s)
none

What have you already attempted?
successfully onboarded a Express Connect account but did not receive email.

cursive heronBOT
#

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

Question
Why detach method is not working?

Related Request ID(s)
req_cxJCITNJaKS0Qp

What have you already attempted?
I already verify that the payment id exist and also is attached to customer, but Im getting a UnexpectedValueException

What are you working on?
It is a website where customers can subscribe and unsuscribe anytime, having an account with info like subscription status, payment methods used, etc.

#

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

Question
Hello! Is it possible to prefill a payment link with a specific email and name?

Related Request ID(s)
n.a

What have you already attempted?
Looked at docs: https://docs.stripe.com/payment-links/api

What are you working on?
Working on embedding payment links to existing subscribers to upgrade their subscription. We want these to link to the customer_id already on Stripe.

cursive heronBOT
#

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

Code
checkout_session = stripe.checkout.Session.create(
payment_method_types = ['card'],
line_items = [
{
'price': price_id,
'quantity': 1,
},
],
mode = 'payment',
customer_creation = 'always',
success_url = settings.REDIRECT_DOMAIN/...,
cancel_url=...,
}

Question
Is there a way to provide the Stripe fees to be auto-calculated when the user goes to check out? (2.9% + 30%)

What have you already attempted?
Attempted looking at logs to find a fees parameter

What are you working on?
A website where users can purchase tokens

cursive heronBOT
cursive heronBOT
#

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

Question
I cant get the payment page to load because I believe its getting blocked by cors

Related Request ID(s)
NA

What have you already attempted?
I commented out my middleware which was Cors and Helmet and it worked.

What are you working on?
I'm currently building the application

cursive heronBOT
#

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

Question
i'm building a stripe app. it uses oauth for authentication. does the installing user's browser get routed to the redirect url (and away from the stripe dashboard) or is that a call made on the backend?

i'm following the stripe documentation: https://docs.stripe.com/stripe-apps/api-authentication/oauth

Related Request ID(s)
na

What have you already attempted?
tested locally

#

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

Code
const addressElement = elements.create("address", {
mode: 'shipping',
allowedCountries: ['US'],
blockPoBox: true,
fields: {
phone: 'always',
},
validation: {
phone: {
required: 'never',
},
},
});

Question
Hi I was wondering if it is possible to specify the input type in options?

I want to make it so that when a user access my website from mobile and when they try to input phone number / postcode a numeric keyboard will pop up instead

What have you already attempted?
looked at docs
- https://docs.stripe.com/elements/appearance-api
- https://docs.stripe.com/js/element/address_element

What are you working on?
An online store

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/subscription-schedules#updating

Question
Do we need to update the payment method of the scheduled subscription when we update the payment method of the current subscription?

What have you already attempted?
Payment method: Card and bank transfer

What are you working on?
Make sure current and upcoming subscription will have same payment method

cursive heronBOT
#

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

Question
For the past 2-3 weeks, I implemented the logic of manually cancelling the old subscription whenever a new one is made in the invoice-payment-succeeded event handler.

Now, for some reason, it is being canceled automatically. While I don't mind it, I would like some control over what is happening here. Why was this auto-cancelation of the old subscription not working 2-3 weeks ago, and why has it suddenly started working?

Related Request ID(s)
req_H75gVikRyrjM1U

What have you already attempted?
I have checked my code. On creation of a new subscription, I cancel the old subscription programaticall, but it's already coming up as canceled. (and thus gives errors)

What are you working on?
I have integrated Stripe via checkout sessions, where each successful session should result in a new subscription being made, and the old one being 'deactivated' immediately.

#

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

Question
How do I find if an express connect account is individual or company? We have a lot of users that pick this option incorrectly and they have to reach out support to fix this and it is usually a very slow process. I need to generate a report of how many accounts had it set up incorrectly in the last month.

Related Request ID(s)
multiple

What have you already attempted?
I tried reading from the SDK, but the business_type field always comes back undefined.

using the Node SDK this is how I am calling it

```
const params = {
limit: 100,
created: { gte: createdAfter },
}

  const accounts = await stripe.accounts.list\(params\)

```

What are you working on?
Generate a report of accounts created as company instead of individual

#

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

Code
stripe_products = stripe.Product.list(active=True)

        products = \[\]
        for product in stripe\_products.data\:
            prices = stripe.Price.list\(product=product.id\)

            if prices.data\:
                price = prices.data\[0\]
                products.append\({
                    'id'\: product.id,
                    'currency'\: price.currency,
                    'price\_id'\: price.id

Question
I have multi-currency on each product, where I have a USD and a CAD price. Is there a way to grab the cad price of each product? Printing the prices variable only returns the USD prices

What have you already attempted?
Different implementations attempting to retrieve the CAD price

What are you working on?
Website with tokens

cursive heronBOT
#

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

Question
What is the best way to fetch the error related to a payment failure. We get the `last_payment_error` object in the `payment_intent.payment_failed` event as well as the error details in the `charge.failed` event. I just want to know that if we want the user to show the error message of why the payment failed and show them relevant CTA according to that error then which error should I refer to?

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

What are you working on?
We are working on the payment recovery improvements. So, whenever a payment fails for a user we want them to show appropriate actions so as to recover that failed payment transaction successfully.

#

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

Question
i m trying to retirve the payout then its saying not found

Related Request ID(s)
NA

What have you already attempted?
Stripe.apiKey = grails.util.Holders.getGrailsApplication().config.mks.stripe.apiKey
//retriving payOut
Payout payout = Payout.retrieve("po_1QwvczFlnZNfgXzaWep5O1kc");

using this by refereing
https://docs.stripe.com/api/payouts/retrieve?lang=java

What are you working on?
i was integrating strip to my application and payout to my merchants via stripe

#

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

Question
Can not use detach payment method

Related Request ID(s)
PHP SDK API

What have you already attempted?
I can do everything within stripe but detaching payment methods from PHP API, I can do from CLI and Dashboard, but not from API PHP

cursive heronBOT
#

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

Code
const handleConnectReader = async (reader) => {
setConnectionStatus("Connecting...");
const connectFn = discoveryMethod === "bluetoothScan" ? connectBluetoothReader : connectLocalMobileReader;
console.log(reader);
console.log(locationId);
const { reader: connectedReader, error } = await connectFn({
reader: reader,
autoReconnectOnUnexpectedDisconnect: true,
locationId: locationId,
});

Question
I try to connect my reader with the locationId selected from the connect account but I receive an error: Connect error: {"code": "StripeAPIError", "message": "No such location: 'tml_F7zNjQVCYlOxIg'"}

What have you already attempted?
tml_F7zNjQVCYlOxIg

LOG [Stripe terminal]: didFinishDiscoveringReaders {"error": null}

LOG [Stripe terminal]: didChangeConnectionStatus connecting

LOG [Stripe terminal]: didChangeConnectionStatus notConnected

LOG Connect error: {"code": "StripeAPIError", "message": "No such location: 'tml_F7zNjQVCYlOxIg'"}

cursive heronBOT
#

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

Question
Hi,

I have a general question regarding logo uploads. My platform allows connected accounts to upload their logos, and we’ve based our logo upload restrictions on Stripe’s branding logo requirements.

The size limit for logos is 512KB. However, since some operating systems approximate a kilobyte as 1000 bytes instead of 1024, I was wondering—does Stripe follow the same approach?

In other words, is the 512KB limit calculated based on 1000 bytes per KB or 1024?

Thanks in advance!

Related Request ID(s)
None

What have you already attempted?
None

What are you working on?
Updating branding for connected accounts

cursive heronBOT
#

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

Error Message
Facing "Failed to generate attestation" on Android Devices

Question
One of our users recently encountered a "Failed to generate attestation" error while trying to connect the Sunmi device with NFC for Tap to Pay on an Android device.

What have you already attempted?
Cleared app cache and storage

#

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

Code
No code to provide as i have a question about credit cards to use.

Question
Refund success
4000000000007726
The charge succeeds. If you initiate a refund, its status begins as pending.
Some time later, its status transitions to succeeded.

Refund failure
4000000000005126
The charge succeeds. If you initiate a refund, its status begins as succeeded.
Some time later, its status transitions to failed.

What's the credit card to trigger a failure, without any initial approval?

What have you already attempted?
Nothing

#

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

Question
IntegrationError: In order to create a payment element, you must pass a clientSecret or mode when creating the Elements group.

e.g. stripe.elements({clientSecret: "{{CLIENT_SECRET}}"})

Related Request ID(s)
no

What have you already attempted?
want to create it without creating payment intent in stripe

#

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

Question
I run a marketplace business. Users register their credit card in advance and purchase multiple items at once. Create a SetupIntent when the credit card is registered and a when purchased create Payment Intent for each item (not captured but authorized, captured after item delivered). How do I provide 3D Secure through Stripe's API in this case? (we are using Ruby and next.js, Flutter)

I am Japanese, so it would be helpful if I can communicate in Japanese.

Related Request ID(s)
null

What have you already attempted?
We were testing a flow that allows 3D Secure authentication at the time of credit card registration and no authentication at the time of purchase.

What are you working on?
Run market place business

cursive heronBOT
#

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

Question
I get a customer with its subscriptions but this customer doesnt seem to be working, maybe because its not active yet?

Related Request ID(s)
cus_Pb2VlSjJxB5Qqk sub_sched_1QwkaGJKY8YXH2zhLNXFL94Z

What have you already attempted?
CustomerSearchOptions customerSearchOptions = new CustomerSearchOptions
{
Query = "metadata['Username']:'" + Username + "'",
};
customerSearchOptions.AddExpand("data.subscriptions");

What are you working on?
update card page for subsciption

#

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

Question
When applying a 100% reduction promotion code to a subscription. Is it possible to have the montant displayed during the checkout with the credit card or will it always be the subscription montant that the customer will see but they will always never be debited if the coupon is 100% reduction.

Related Request ID(s)
req_1SUliUcGiDiMcb

What have you already attempted?
Tried to check settings upon subscription and payment intent but don't really see if there is a way to make sure the amount displayed is that of the coupon on the subscription and not the subscription amount.

#

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

Question
With PaymentIntent API for bank transfers.
We don't know how to get the virtual IBAN information for a Customer.
Today we use the method above. The problem is if there's no virtual IBAN it creates new one !
$stripe->customers->createFundingInstructions(
$client->getStripeCustomerId(),
[
'bank_transfer' => [
'type' => 'eu_bank_transfer',
'eu_bank_transfer' => ['country' => 'FR'],
],
'currency' => 'eur',
'funding_type' => 'bank_transfer',
]
);

Related Request ID(s)
N/A

What have you already attempted?
Try to get the info with createFundingInstructions
but it's not a satisfying way of doing.
Moreover we are limited in virtual Iban and we pay for each one so it's not

What are you working on?
Migration Sources API to PaymentIntent API

#

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

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

Question
How to update the payment settings in the scheduled subscription? I noticed it only has default_settings.collection_method according to the docs above.

payment_settings: {
payment_method_types: ['customer_balance'],
save_default_payment_method: 'on_subscription',
},

What have you already attempted?
update collection_method but I can't see the option for payment_method_types.

#

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

Question
I am testing 3D Secure flow using TestCard "4000003800000446".
When I use setUpIntent to save a customer's credit card information, the 3D Secure screen appears, and seems to succeeded the 3D Secure process.

But when I use that credit card to create a PaymentIntent and confirm, the status becomes "requires_action". I thought it would be in "requires_capture" state.

Is this behavior correct?

Related Request ID(s)
nothing

What have you already attempted?
I use test card, and try to do 3d secure process.

cursive heronBOT
#

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

Question
How do i find the reader_id/terminal linked to a payment_intent?

Related Request ID(s)
pi_3Qx2iTKbCokAm4MR1ZY4xZop

What have you already attempted?
Unable to find it on the API docs

What are you working on?
Data Warehousing

cursive heronBOT
#

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

Code
$stripe->paymentMethodDomains->create(
['domain_name' => 'example.com'],
['stripe_account' => '{{CONNECTED_ACCOUNT_ID}}']
);

Question
We are trying to implement apple pay but as soon as I add the above code the checkout no longer loads at all

What have you already attempted?
everything works fine up until this point

What are you working on?
ecommerce website

#

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

Question
How to integrator affiliate program in Stripe.

Related Request ID(s)
.

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

What are you working on?
Cogent an ai helper for students

cursive heronBOT
cursive heronBOT
#

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

Question
Is it possible for a single payment intent to result in multiple charges to the customer? We have a customer complaining about see the same charge twice on his bank account, one that is pending. I've looked into the logs and noticed there was 2 requests for the same payment intent (same idempotency). As per our internal logs, the API request was only made once, so I'm assuming the dupe happened somewhere in the Stripe SDK comms. Could this result in a duplicate line item on a customer's bank statement?

Related Request ID(s)
Original: req_cC4jhfFFQC3d9k; Dupe: req_Bva329cEymvz4Q

What have you already attempted?
I've investigated and not found any documentation on what exactly happens when idempotency actually comes in to play. I'm sure its meant to prevent duplicate movement of money, but in this case it looks like its still touching the bank twice?

What are you working on?
This is a live product

cursive heronBOT
cursive heronBOT
#

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

Question
Hi is it possible to show apple/google pay as options pre-checkout (before getting to the usual payment element form?) Like how paypal express works for example and the customer doesn't need to enter any address details etc it's all taken from clicking the apple pay button?

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#save-payment-methods

What are you working on?
ecommerce website

cursive heronBOT
#

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

Code
Display express payment buttons before initiating checkout session or payment intent

Question
We would like to display express payment buttons (Apple Pay and Google Pay) on our product details page. When someone clicks on one of these buttons, we would like initiate a checkout session on the backend side and then continue with the selected express payment. Is it possible using the Express Checkout Element?

What have you already attempted?
We use Ract on frontend and NodeJS on backend side.

On fronted side:
* I initiated the Stripe elements in `setup` mode
<Elements stripe={stripePromise} options={{ mode: 'setup' }}>

* I was able to display express checkout elements in our PDP page
<ExpressCheckoutElement onClick{fetchClientSecret}/>

On backend side:
* I create checkout session in the embedded mode and return the client_secret to frontend

I don't know what to do next or if this is the right way

What are you working on?
Embedded express payment methods for our products

#

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

Question
I talked with someone here that anwsered m'y question and said that a transfer reversal will fail if thers is on balance on the connect account, but i tested it and the transfer reversal did not fail and juste thé balance went to négative number does it works liké that also in live mode ?

Doc/Guide Links
Transfer and transfer reversal doc

What are you working on?
Plateform that transfer money to connect account

cursive heronBOT
#

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

Question
The docs mention two separate APIs for retrieving a list of payment methods for a customer:
- https://api.stripe.com/v1/payment_methods (with customer option)
- https://api.stripe.com/v1/customers/cus_9s6XKzkNRiz8i3/payment_methods

Is there a functional difference between the two? The docs mention I should use the latter but I'm not sure why.

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
A subscription service for https://pelicanparty.games/

#

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

Question
Hi Sir Stripe, Mr. Stripe, Mrs. Stripe... whoever you might be that helps.

I want the fastest Stripe checkout for Discord with automatic role attribution. The issue is that users must be in Discord to buy, but I want them to be able to check out on Stripe *before* joining.

The goal:
- They pay through Stripe, even if they’re not in Discord yet.
- Their Discord account gets linked automatically.
- If they’ve never joined, they get invited and given the right role instantly.

Since I have both free and paid sections, I can’t just email an invite—I need it to work with a bot for role assignment. What's the best way to make this happen?

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

What are you working on?
Payment System For My Community Leveraging Stripe API and a Discord Bot

#

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

Question
I logged in on Stripe and I only have 2 API versions available. 2025-02-24.acacia and 2020-08-27. How can I use version 2023-10-16? I'm working with Laravel Cashier.

Related Request ID(s)
None found

What have you already attempted?
Read documentation and checked the settings in my Stripe account.

What are you working on?
Personal Project

#

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

Question
how to retrieve transactions on a new linked bank account for a platform customer?
we have created a customer on the platform and linked a bank account. Is there a way to check if we can retrieve transactions on that bank account?

Related Request ID(s)
none

What have you already attempted?
create a customer
link bank account

#

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

Question
Why do we have restriction on countries in Stripe - EU automated bank transfer country param

Related Request ID(s)
https://docs.stripe.com/api/payment_intents/create?MobileOptOut=1&lang=curl#create_payment_intent-payment_method_options-customer_balance-bank_transfer-eu_bank_transfer

What have you already attempted?
Attempted passing "LU" - Luxembourg as country code

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-success_url

Question
Can I have checkout session with some stripe success page instead of mine. In the case when I am using stripe hosted checkout session, not the emebedded one.

What have you already attempted?
Tried to create checkout with null success_url, but got error ?

What are you working on?
Donations

#

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

Question
Is there any way to "block" the subscribe button in the payment form (for checkouts or payment links)? I ask since I would like users to enter their complete billing information in a mandatory manner, specially with the payment links when they add a 100% coupon.

Related Request ID(s)
not a request, just a question

What have you already attempted?
im reading the documentation but i couldn't find it yet.

What are you working on?
payment links and checkouts

cursive heronBOT
#

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

Question
Hey there, thanks in advance for your help.

We're working with the Stripe Node SDK to return a list of prices to our system with a set of filters. We have found there are prices that are never found for seemingly no reason at all. We have played around with metadata on the price to really target the price specifically but with no luck. The price is returned if you query for it directly at prices/:id, but never within the search.

Related Request ID(s)
req_WaAqT11CJtVGsD

What have you already attempted?
I have removed all filtering from my requests to the SDK to try find the price and still no luck. Thinking it may be an issue with us having many products returned, I added metadata to this price specifically to "force" it to response but still no luck.

The price and product are both active. In fact, it works completely okay in our test environment which has a copy of the prices, just not in our production environment

#

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

Question
I am integrating a referral system and listening to the invoice.upcoming event. I configured this event three days ago to track the renewal date three days in advance and apply a stored coupon value. However, I am not receiving this event in test mode, and it does not even appear in the list of received events. Could you help me understand why?

Related Event ID(s)
invoice.upcoming

What have you already attempted?
Verified that my webhook endpoint is correctly configured and receiving other events.
Checked my webhook logs in the Stripe dashboard, but invoice.upcoming never appears.
Ensured my test subscription is active and should trigger the event.
Confirmed that I am using Stripe API version 25.0.0.

What are you working on?
I am setting up a system where, three days before a subscription renewal, I fetch a stored coupon and apply it to the upcoming invoice. This requires receiving the invoice.upcoming event correctly, bu

#

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

Question
I would like to make a subscription schedule for delayed downgrades and similar, where it leaves the subscription in place right now, changes it at the end of the current billing cycle, and then immediately releases.

Related Request ID(s)
req_o9c1TNlxnJK1Fj

What have you already attempted?
I considered implementing this using the usage billing features, but i didn't see a way that i could charge immediately for usage, since we want to charge at the begining of the billing cycle rather than at the end. (that's just getting a bit of X/Y out of the way)
regarding this particular approach, i tried setting iterations to 0 in the second phase of the subscription, but that errored out

What are you working on?
a per-seat mult-tiered application where we charge for maximum seats per billing period

#

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

Question
What is the best way to implement a 6 month requirement on the expiry date instead of simply the future date

Related Request ID(s)
0

What have you already attempted?
Tried reading the documentation and nothing really states how to handle additional validation

#

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

Question
I have a "reusable" payment method properly set up, for off-session, recurring payments, e.g. subscriptions. When processing a scheduled payment, I send off a payment intent request with the payment method ID attached.

What will happen when the card for that payment method has already expired (and been replaced with a new one)? Will Stripe reject any payment intent request with an expired card payment method attached?

I also read that Stripe has a card account updater feature. Will that get triggered instead when a payment intent request has an expired card for its payment method?

Related Request ID(s)
None

What have you already attempted?
Read the API docs for Payment Methods, Payment Intents and https://stripe.com/guides/optimizing-authorization-rates#card-account-updater

What are you working on?
Trying to understand recurring payments, expired cards, and the card account updater feature.

#

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

Code
initPaymentSheet({
...
intentConfiguration: {
...,
confirmHandler: async (pM, save, intentCreationCallback) => {
try {
// API call
} catch (e) {
intentCreationCallback({
error: {
code: 'Failed',
message: e.message,
localizedMessage: e.message,
declineCode: e.declineCode,
stripeErrorCode: e.stripeErrorCode,
type: e.type,
},
});
}

Question
Can Apple Pay be canceled if there's an error while confirming the order?

What have you already attempted?
Calling intentCreationCallback inside confirmHandler works fine for credit cards, but with Apple Pay, it crashes the native side and closes the app.

What are you working on?
I want to prevent the app from crashing if an error happens during Apple Pay confirmation.

#

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

What did you expect to happen?
React Native SDK PaymentSheet (customFlow is set to true) should allow me to close out payment when using Apple Pay when the intent (generated from server) is set to ConfirmationMethod "Manual"

What actually happened?
When the payment intent comes back to the PaymentSheet from the server as not yet confirmed (as per the manual confirmation flow), Apple Pay will not close and an error is eventually presented.

Reproduction Steps
1) Collect payment information through Apple Pay from the user using the PaymentSheet.
2) Submission on the confirmHandler calls the backend which generates a payment intent that must be confirmed manually.
3) PaymentIntent (not yet confirmed, set to be manually confirmed) is returned to PaymentSheet confirmHandler, Apple Pay modal will present an error.

Question
I submitted a request many months ago with this issue and was able to convince you all that this is an issue. I was told a ticket would be logged to fix this, but I haven't seen or heard of any movement. I wanted to ensure that this issue is still being tracked, as Apple Pay is very critical to our business.

What are you working on?
Mobile React Native Application

#

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

Question
When a payment intent is updated with a new amount, is there any event associated in order to listen that change?

Related Request ID(s)
req_sqXD5wEfLthCO5

What have you already attempted?
I search all events associated to the payment intent pi_3QnvJsIzcid8RrBH13QCZRhA and I did not found an event which reflect the change of the amount

What are you working on?
I want to update the amount of a payment in my system when the payment intent amount is changed through API

cursive heronBOT
#

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

Question
We want to get the "pending" status for an account when the account has verification pending that may disable their payouts or payments. On the account.updated webhook, we see the field "verification" with fields "disabled_reason", "due_by", "errors", "fields_needed" and "pending_verification" contains the information we need. However, this information only seems to exist in the stripe dashboard as we cannot retrieve it from the webhook and is not documented under the "Account" object. Is there a way to get the data from "verification" or a different approach to checking pending verifications?

Related Event ID(s)
evt_1Qv5StIwhQesEalkOSrRuEbG, evt_1QwX9kCIS870BY7LUf7VQqix

What have you already attempted?
Checked the "Account object" doc but there was not mention of the field "verification". Checked type definitions of the stripe node package v16.1.0 under Stripe.Account and Stripe.Event where the "verification" object describes a different object under company

What are you working on?
For the new canadien stripe requirements, we are trying to provide more information on the status of the verification for our users on our platform.

#

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

Question
Is there a way to generate MPAN's from already saved Apple Pay payment methods via the PaymentIntent API? The documentation surrounding MPANs only mention configurations with FE SDKs such as Elements.

Related Request ID(s)
don't have one specifically

What have you already attempted?
Looking through the PaymentIntent API docs

What are you working on?
Reigning in reauth failure rates for Apple Pay customers

cursive heronBOT
#

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

Question
Hello, I followed this guide: https://docs.stripe.com/connect/oauth-reference on how to connect users with connect oAuth. Now i would like to register webhook for the connected user so i could receive their's invoice events. But when i tryed registering webhook by received access_token it returned:
"You are not permitted to configure webhook endpoints on a connected account. Did you mean to create a Connect webhook on your account instead?"
How do I specify that i want to create webhook for this user? Or if there should be one webhook for all of them then how do I recognise users events

Related Event ID(s)
none

What have you already attempted?
described in first input

#

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

What did you expect to happen?
Last 4 digit of card payment doesn't match the actual card number

What actually happened?
We found many cases where the last 4 digit card provided by Stripe doesn't match the actual last 4 digit of the card. We did our own testing using a card that ends with 1000, with pi_3QwVYUJ93KfFVesb1WQvAaRF
it showed 0186 as the last 4 digits instead

Reproduction Steps
pay via Stripe terminal a card, the last 4 digits provided by stripe is incorrect

Question
Why is the last 4 digits incorrect?

cursive heronBOT
#

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

Question
Affirm on my Stripe works for US buyers, but Canada buyers can't pay with Affirm

Related Request ID(s)
n/a

What have you already attempted?
Affirm and afterpay is enabled for US buyers, but I can't seem to get it working for Canada Buyers

What are you working on?
Getting Affirm and afterpay enabled for Canada Buyers

#

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

Question

  1. Are these options correct given what I’ve provided?
  2. Do any of these processes link out or redirect for specific cases?
  3. What fields are required for each option? We would potentially hide email, country, zip code, and cardholder name if possible.
  4. Does either solution make it easier to migrate? I’m specifically thinking about users upgrading and being able to use their existing payment method. I’m aware of the `allow_redisplay` value but not sure if cards added in this old checkout process would have set that or even had the option.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=embedded-form

https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements

https://docs.stripe.com/payments/elements

https://docs.stripe.com/checkout/custom/quickstart?server-lang=ruby

What are you working on?
We are migrating from a very old checkout.js integration used to purchase a subscription. It shows the outdated modal window to input card details. We want to replace the old modal with a new more native and fresh looking UI and

#

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

What did you expect to happen?
Stripe stop reply any my Gmail

What actually happened?
Need refund

Reproduction Steps
Refund money to customer

Question
Just need Stripe refund money to customer

#

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

Error Message
Unable to Connect to Reader Could not communicate with the Reader. Please make sure your reader is online and on the same network as your device. See https://support.stripe.com/questions/terminal-connectivity-issues for more details.

Reader S/N: WSC50SZZ-Z1-00J

Question
We have reconnected our Stripe reader to our booking platform on Mariana Tek 10-20x in the past 4 months and it just keep disconnecting and it takes forever to get it back connected. I have to disconnect and reconnect it over and over again and eventually it sticks but only for a little while until my team tells me again that the reader isn't connected.

What have you already attempted?
Power Cycled the device many times Disconnected and reconnected to the same wifi network as our computer it's connected to reset the reader with the pinhole on the side Taken the battery out and put it back in Unpaired and repaired it to Mariana Tek multiple times (our booking platform).

Reproduction Steps
It won't let us use it at all. The only way we can take payment is by manually entering their card information into the system & that's IF the client has their physical card on them. This happens every week. Sometimes we get it to last more than a week but we've spent more time NOT being able to use it at all then being able to use it in the past 5 months.

What are you working on?
I'm a Studio Manager for a Lagree Fitness Studio in Portland, OR. We take payment for membership fees and retail purchases.

cursive heronBOT
#

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

Code
<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
<ConnectPayouts />
</ConnectComponentsProvider>

Question
I keep getting this error:

chunk-7I7T2IKX.js?v=805046ed:9934 Uncaught Error: Objects are not valid as a React child (found: object with keys {$$typeof, type, key, props, _owner, _store}). If you meant to render a collection of children, use an array instead.

What have you already attempted?
Tried various permutations of what the docs suggest for initial setup

What are you working on?
Trying to add a stripe embedded component to my site

cursive heronBOT
#

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

Code
I can't fit it here, I'll attach it in the thread.

Question
So I have set up a payment element and it works fine. I have made it so on the first payment the user's payment method is saved to their customer. I have looked through the docs and cannot find anything that would then let them choose their old payment method on their next payment. It requires them to enter their details ever single time. Is there a workaround to this or must I issue payments manually using payment intents for a custom integration?

What have you already attempted?
I've looked through the stripe payment element docs and can't find anything on it. I tried passing in the customer's payment method to `payment_method_configuration` (which obviously didn't work lol). Tried all of the filters here: `payment_method_data` and looked through `payment_intent_data` but couldn't find anything useful for this.

cursive heronBOT
#

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

Question
I am unable to integrate auto chargable subscription based payments

Related Request ID(s)
Multiple sections

What have you already attempted?
I have created the customer on stripe, then trying to make subscriber of the customer after they pay the charge, but I am unable to test whether I have done right or wrong.

What are you working on?
I need to integrate correct code for making payment and testing it

cursive heronBOT
#

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

Question
Cross border Connected Account in the Philippines: We want to be able to support a merchant in PH.
- We understand we need "recipient" service agreement
- We have tried to create a connected account with "transfers" only - but were told Stripe has to set this up
- Can we use Destination charges for PH, or do we have to use Separate Charges/Transfers.

Related Request ID(s)
req_S23xPlsBWFCyLZ

What have you already attempted?
tried to create connected account

What are you working on?
Supporting a Philippiens merchant

cursive heronBOT
#

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

Question
I am unable to subscribe the user after receiving the payment from the customer.

Related Request ID(s)
?

What have you already attempted?
Just tried to create subscription after getting the payment, but while testing the apis, I am getting the payment, but unable to subscribe the user.

What are you working on?
I am trying to implement subscription based payment gateway for my packages with auto chargable amount, to automatically renew the subscription.

cursive heronBOT
#

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

Code
stripe.SubscriptionSchedule.modify(
"sub_sched_xxxx",
phases=[
{
"items": [{"price": "price_xxxx"}],
"start_date": "now",
"end_date": 1740805200,
},
{
"items": [{"price": "price_xxxx"}],
"billing_cycle_anchor": "phase_start",
},
],
)

Question
I am trying to reset the billing period. I can do this in test mode with a test clock scenario, but I cannot update a subscription in production. The current billing period is 2025-02-17T08:58:29 to 2025-03-17T09:58:29. I am getting `You can not modify the start date of the current phase.`

What have you already attempted?
I have attempted the above code snippet in test mode and it worked, but it won't work in production.

What are you working on?
I am trying to reset the billing period. I can do this in test mode with a test clock scenario, but I cannot update a subscription in production.

cursive heronBOT
#

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

Error Message
2025-02-24T19:17:23+00:00 DEBUG <------------------- WebToffee Stripe Payment ( Journal Créatif - Charge - Order #132328 ) ------------------->
stdClass Object
(
[name] => ****
[email] => *****
[phone] => ****
[error] => Array
(
[message] => Invalid API Key provided: rk_live_*********************************

Question
but the refresh token passed is correct.
i checked it and that not expired on time of this request

What have you already attempted?
nothing

#

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

Code
const result = await stripe.confirmUsBankAccountSetup(clientSecret || "", {
payment_method: {
billing_details: {
name: accountHolderName,
email: {any-prefix}+test_email@{any_domain},
},
us_bank_account: {
account_number: accountNumber,
routing_number: routingNumber,
account_holder_type: accountHolderType,
},
},
});

Question
How to get email at "something@test.com" using "{any-prefix}+test_email@{any_domain}". I'm currently trying to do "something+test_email@test.com"

What have you already attempted?
We are testing stripe's ach verification, we want to get the mandate accepted mail via stripe in test mode. So according to `https://docs.stripe.com/payments/ach-direct-debit/set-up-payment?platform=web&payment-ui=elements#send-transaction-emails-in-test-mode`

We should use the email like above.

cursive heronBOT
#

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

Question
Hi
We had an error on this request for a klarna payment on a stripe connect account : req_ROXZj7B6G607Qz

We encountered this error :
This payment method (klarna) is not activated for the account specified in `on_behalf_of`

But klarna is activated on the account : acct_1QwkgrGbZex57MWy

Thank you !

Related Request ID(s)
acct_1QwkgrGbZex57MWy , req_ROXZj7B6G607Qz

What have you already attempted?
We tried on test environment and everything works fine

What are you working on?
Payment Gateway by API

cursive heronBOT
#

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

Code
stripe.SubscriptionSchedule.create(start_date=start_date, customer=customer, phases=[{'items': [{'price': price, 'quantity': 1}], 'iterations': 1}], end_behavior='release')

Question
How do you create a subscription schedule to start on the next billing cycle for an existing subscription, so that the existing subscription changes to a new subscription?

My current code creates a new schedule but not on top of the existing subscription. Trying to use the from_subscription is unclear to me, because it doesn't allow me to create a phase.

What have you already attempted?
See the code above

What are you working on?
Trying to move customers from one subscription to another.

#

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

Question
How to list a list of Customers with their IDs in batch?

Related Request ID(s)
N/A

What have you already attempted?
I've checked the documentation. The List Customers API cannot pass a list of IDs and the Search Customers API doesn't support the id field.

#

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

Error Message
I am a developer , and using stripe in a project where we have more then 10,000 users traffic. In Our system , there are different plans which users can Buy .

But I am having an issue that , if 3000 users are buying plans , then almost 20 or 30 users are getting double charge problems within same time span.
I am still unable to reproduce this . Can you tell ?

Question
Why users getting charged more and more and facing these kind of issues

What have you already attempted?
Attempted to reproduce bug by intentionally crashing the system but unable to get same issue .

Reproduction Steps
Unable to reproduce it

What are you working on?
I am a developer , and using stripe in a project where we have more then 10,000 users traffic. In Our system , there are di

cursive heronBOT
#

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

Question
Subscription: Old payment method is being used for subscriptions. One of my SaaS users has updated their payment method. We are using the Stripe NodeJS SDK API. We've set the new payment method as "default" and I would expect all subscriptions would of this customer would now use this new payment method, but this is not the case.

How can we update the payment method for all subscriptions as easy as possible?

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Question
We want to set up recurring payments using Digital Wallets (Google/Apple Pay) for our kiosk using Stripe M2 card reader?

Doc/Guide Links
https://docs.stripe.com/terminal/features/saving-cards/overview

What are you working on?
I am using stripe m2 read then save generated card from that payment method for future use but in digital wallet like apple pay or google pay there is no generated card

#

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

Question
The API reference says that Coupons have an `applies_to` field if they apply to specific products.
I have a Coupon that applies to two products (monthly and yearly payments for the same service) but when I fetch that coupon through the API the `applies_to` field is missing.

Am I misunderstanding what the `applies_to` field is referring to, and is there some other way to know which products are applicable to a coupon through the API?

Related Request ID(s)
req_7Vi9bBsCMsl3pW

What have you already attempted?
I have checked multiple types of coupons to see if there are any differences.
I have looked through the docs to try to find an alternative way to fetch the product.

What are you working on?
A work/life management app

#

@mystic relic 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-to-categorize-transactions-as-mail-order-telephone-order-(moto)

Question
I have a web app used both by the public for eCommerce transactions, and staff members for MOTO and customer present transactions.

I have an old card element integration that works for both, with staff processing MOTO transactions through the web form with moto=true set.

I have rewritten my integration to use the payment element instead of the card element.

It looks like MOTO transactions just cannot be processed this way. Is this correct? Do I need to keep both integrations, and use the card element one for staff processing MOTO transactions and the payment element one for the public?

What have you already attempted?
I have reviewed the documentation, and the page linked to has changed. It used to say "If you need to process phone and mail payments via the API, contact us to enable this feature on your Stripe account" and that's what I did; now it doesn't mention processing phone payments via the API.

What are you working on?
a box office ticketing system.

cursive heronBOT
#

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

Question
I am getting error even after setting up the webhook secret.
Webhook error: TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, DataView, KeyObject, or CryptoKey. Received undefined

Related Event ID(s)
evt_1QxT8GKvfF85f0JWixrr2e1z

What have you already attempted?
https://github.com/stripe/stripe-node/blob/master/examples/webhook-signing/express/main.ts
I tried to replicate the same code.

cursive heronBOT
#

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

Question
Hi!
when getting webhook list in api, does it include the Signing secret (endpoint secret) ?

Related Request ID(s)
webhook

What have you already attempted?
tested api

What are you working on?
api

cursive heronBOT
#

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

Question
Hi! I have a customer with failing payments, because multiple mandates are connected to the payment method.

The payments are initialized automatically due to a subscription renewal.

I found out an active mandate id for this customer, but I don't know what i can do, so that future automatic payment attempts will use this mandate

Related Request ID(s)
req_n3TQBLAxHXPPwT

What have you already attempted?
I looked in the API docs, but the only thing i could find is information about how to retrieve a mandate based on it's id.

#

@outer 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
https://docs.stripe.com/connect/testing#payouts

Question
I know I can use the bank accounts to trigger the scenario I want to test but is there a way to tell Stripe sandbox to issue the payout immediately or I need to wait until the "arrive by" date?

What have you already attempted?
Not much, actually. I'm able to find the correct test bank account to simulate the issue I'm validating but I'm wondering If I would really need to await for 2 business days in dev environment

What are you working on?
I'm trying to fire communication to connected accounts whenever an unsuccessful bank account debit occurs.

cursive heronBOT
#

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

Code
https://codeshare.io/jAb4kD

Question
Creating payment intent is giving error, please guide me

What have you already attempted?
As you guide, I registered the client then used their stripecustomerid to create payment intent after selecting the package, however here I am getting error to create the intent

What are you working on?
Making autochargable subscription based payment gateway

#

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

What did you expect to happen?
Disputes are created for up to the total net earnings of a transaction.

What actually happened?
Dispute was created that was double the total net earnings of a transaction.

Reproduction Steps

  1. Open transaction record for payment ID: pi_3OEb7f4Kqv3kyKfA0BgshsWf (https://dashboard.stripe.com/payments/pi_3OEb7f4Kqv3kyKfA0BgshsWf)

  2. Observe Net Earnings for the order is $163.80
    usd

  3. Observe disputed is $327.60

Question
How and why can a dispute be created for more than a transaction's value? Is this standard industry practice or a bug? Is there a recommended approach to detecting this behaviour when it occurs?

#

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

Code
<PaymentElement
options={{
fields: {
billingDetails: {
name: 'never',
email: 'never',
phone: 'never',
address: 'never',
},
},
}}

Question
Is it possible to remove the "Card" heading in the PaymentElement?

What have you already attempted?
I don't see any options to remove the header/label

What are you working on?
Integrating Payment Elements with Checkout Session to replace our old checkout.js integration

#

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

Error Message
Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments

Question
I am getting this error during a payment intent. I can't figure out why.

What have you already attempted?
i checked the card details but nothing seems related to the error.

cursive heronBOT
#

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

Question
The status of a subscription turns from unpaid to active if the last invoice is paid. BUT we have the case that a subscription can have more than one unpaid invoice.

Would it not be more logically to keep a subscription unpaid until all invoices are paid?

Related Request ID(s)
*

What have you already attempted?
*

What are you working on?
Creating an internal dunning solution based on Stripe Subscription

cursive heronBOT
#

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

Question
Save payment details for future purchase checkbox is not showing for pre-authorised debit? I can see the checkbox for card and us_bank_account in the paymentElement but not for pre-authorised debit

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Question
Are there any buy now pay later options that allow for customizing display of options. Example: only show pay now or show pay in 4, but not pay in 12? I need this for regulatory reasons at my current company

Related Request ID(s)
N/A

What have you already attempted?
I have tried messing with extra params in the Klarna payments intents api, and with other options on the klarna payment method options which seem to be very limited. I am open to afterpay as well, but I am having the same problems

What are you working on?
A way for appraisal company to accept buy now pay later

cursive heronBOT
#

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

Code
app.post("/paynow", async (req, res) => {
const { price, orderId, transactionId } = req.body;

const session = await stripe.checkout.sessions.create({
payment_method_types: ["card"],
line_items: [
{
price_data: {
currency: "usd",
product_data: { name: "Test Product" },
unit_amount: price * 100,
},
quantity: 1,
},
],
mode: "payment",
success_url: `http://localhost:3000/success?orderId=${o

Question
I'm trying to do this and want to be able to withdraw using debit card is it possible ? my account is of germany

What have you already attempted?
tried to add the payout from dashboard in the connected accounts

What are you working on?
stripe connected account withdrawl

#

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

Question
How to best handle incomplete subscriptions using Customer Portal and Checkout?

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

What are you working on?
Working on our payment structure where we have two different sets of subscriptions. We have a minimal page on our end which funnels users to the portal or checkout depending on their state

#

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

Question
When testing SEPA payments in test mode or a sandbox, the webhook events trigger pretty much the moment I complete checkout. But I assume that in the real world these events could take a day or two? I'd like to test how my application behaves while the payment is still pending. Is there any way I can force a delay with these events?

Related Event ID(s)
evt_1QxWHLInjg0JXg3Sl3lWiTjv

What have you already attempted?
I tried test account numbers from this page: https://docs.stripe.com/sources/sepa-debit#testing but they all trigger events as soon as I click subscribe. I also tried similar payment methods like iDEAL, but this doesn't trigger the checkout.session.async_payment_succeeded event at all.

What are you working on?
A subscription service for https://pelicanparty.games/

#

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

What did you expect to happen?
For v1/billing/meter_events on daily pre aggregation to calculate updated usage into a subscription ID after a threshold invoice has drafted and closed for a specific UTC day.

What actually happened?
Stripe treats the most recent event for UTC as a completely new calculation without accounting for the previous metered usage in the day once the invoice closes.

Reproduction Steps

  1. Create meter
  2. Create recurring subscription product at $0.00, "billed" annually
  3. Create price with $.01 as the unit, attach to meter
  4. User subscribes to product.
  5. Backend sets threshold billing limit
  6. Backend passes in usage on hourly cron.
  7. Stripe opens and charges at threshold
  8. New meter usage for same UTC day after invoice don't account forit

Question
Is my scenario above the best way to handle this? If so, I don't know how to work around Stripe not accounting for previous billed usage in same UTC day with a meter using pre aggregated daily. The alternative is for me to build a much more complex internal system but would love to avoid that! Would like to just rely on Stripe's metered functionality directly.

What are you working on?
Usage based billing for media spend accrued by company clients across Meta Ads, TikTok Ads, Snapchat Ads, and Google Ads

cursive heronBOT
#

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

Question
We are facing issues with customers whose cards strictly require 3D Secure (3DS). When we attempt to charge these cards later, the payment fails because it requires the customer’s authentication at that moment. We do create a SetupIntent during card storage with off_session, but this does not work for cards where banks strictly require 3DS—it re-asks for authentication when we create the PaymentIntent later. How can we reliably detect if a card strictly requires 3DS before charging?

Related Request ID(s)
N/A

What have you already attempted?
We explored Stripe’s payment method data, which shows if a card supports 3DS, but it doesn’t indicate if 3DS is strictly required. Our current workaround is creating a $1 PaymentIntent with manual confirmation to check if 3DS authentication is triggered. If it is, we know the card requires 3DS and cancel the PaymentIntent. We want to know if there’s a better way to determine this.

What are you working on?
We have a flow where customers add cards to Stripe, and later, we charge their stored payment_method ID during order processing. This works fine for most customers, but fails for those whose banks.

#

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

Question
Getting a resource_missing error when attempting to delete an invoice line item

Related Request ID(s)
req_LZT7QgIbunyKus

What have you already attempted?
We're passing in an idempotency key as well, but it's not helping

#

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

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

Question
Hi! I'm implementing subscriptions that have a paid trial period and payments via iDeal. I'm using Stripe Elements on the frontend and SetupIntent with off-session on the backend. At the start of the subscription, I charge for the trial and create a deferred subscription using the schedule. Everything works fine, but the first payment is processed through SEPA Direct, whereas I need it to go through iDeal. How can I achieve this?

What have you already attempted?
I've tried SetupIntent as I described above. PaymentIntent with off-session, but it gives me an error that iDeal does not support it

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/revenue-recovery/smart-retries

Question
My question is related to Smart Retries and invoicing. Suppose we have a monthly subscription product where invoices are created/charged automatically. Now suppose we enable smart retries with the max of 8 attempts over 2 months. Do invoices accumulate if the retry schedule crosses the next invoice schedule? Example: customer has payment due March 1st, attempts fail, but then succeed on April 15h. Will the customer be charged 2x? Once for the March 1st invoice and another for the April 1st invoice? Or same example, except succeeds on March 30th. Will they get a new charge on April 1st?

What have you already attempted?
https://docs.stripe.com/invoicing/overview#workflow-overview
https://docs.stripe.com/billing/revenue-recovery
https://docs.stripe.com/billing/invoices/subscription
https://docs.stripe.com/billing/automations

What are you working on?
We want to extend our smart retry window

cursive heronBOT
#

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

Question
Is it possible to create a payment_method from a bank account token?

There's an integration with Plaid for ACH: https://plaid.com/docs/auth/partnerships/stripe/ which creates a bank account token in Stripe directly. I'd like to create a payment_method object from that token in order to be charged with subscriptions.

Related Request ID(s)
.

What have you already attempted?
I couldn't find a way for this to work, the only place I found that accept the a source in the input is in the subscription creation

What are you working on?
Subscription based service

cursive heronBOT
#

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

Question
I have setup a webhook where I can get the details of the subscription and userId through metadata through the checkout.session.completed. I am unable to get the metadata in the subscription event. I want to update the subscription details of the user.

Related Event ID(s)
whsec_6m826wBylQfUUO3jZwN1ESFqobxcINmM

What have you already attempted?
I was able to get the metadata through the checkout.session.completed event.

#

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

Question
Using Stripe settings only, is it possible to prorate only in one direction and also keeping the track of paid for seats?
Our expected use case: A subscription is started with 50 units -> partway through the billing cycle, units are increased to 60 (a proration for the 10 units for the rest of the cycle is added) -> units are later decreased to 55 (no proration given for this) -> units are later increased again to 58 (no proration given since they've technically paid for 60 seats proration before).

Doc/Guide Links
Actual results: 50 units -> 60 units (proration behaviour='create_prorations' creates prorations) -> 55 units (proration behaviour='none' doesnt create proration)->58 units (proration behaviour='create_prorations' creates prorations) ending up with user paying twice for the 55->58 seats

https://docs.stripe.com/billing/subscriptions/prorations

What are you working on?
Is it fair to say that when a subscription

cursive heronBOT
#

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

Question
Our business model requires a new connect account for every new brand a customer has. Typically this means manually setting 2-5 new platform accounts a month but we expect this to grow.

can platform account settings be managed via the api?

Related Request ID(s)
unknown

What have you already attempted?
We set these up wholly by hand.

What are you working on?
Automating managment of stripe platform accounts and connect accounts

cursive heronBOT
#

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

Question
when setting up applepay prototypes, is it possible to run development locally? do i have to add my localhost to the allowed domains in the test account?

Related Request ID(s)
none related

What have you already attempted?
just reading documentation

What are you working on?
ecommerce integration

#

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

Error Message
❌ Missing required session data: { userId: undefined, subscription: 'sub_1QxaaDIYhOvByvWrDzMyTJjL' }
❌ Webhook error: Error: Missing required session data
at POST (webpack-internal:///(rsc)/./app/api/stripe/webhook/route.ts:56:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/zekevoigt/Desktop/harmonized/nod

Question
Getting this error in my webhook when trying to connect my user subscription to my database.

What have you already attempted?
adding this
client_reference_id: userId, // This is crucial!
customer_email: email,
metadata: {
userId: userId, // Backup in metadata
tier: tier
},

To my route.ts but then it causes another error in my logs saying
(check Reproduction steps)

Reproduction Steps
pricing-cards.tsx:63
POST http://localhost:3000/api/stripe/checkout 500 (Internal Server Error)

pricing-cards.tsx:74 Subscription error details:
{message: 'Request failed with status code 500', response: {…}, status: 500}
message
:
"Request failed with status code 500"
response
:
{error: 'Missing userId'}
status
:
500
[[Prototype]]
:
Object

What are you working on?
SaaS

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.

#

⛔️ 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
#

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

Code
const session = await stripeHandler.checkout.sessions.create({
ui_mode: "embedded",
line_items: line_items,
mode: "subscription",
...(selectedTerm == " 3 months +" && {
subscription_data: {
trial_period_days: 90,
},
}),
return_url: `${process.env.FRONT_URL}/paymentConfirmation/{CHECKOUT_SESSION_ID}?fullName=${name}`,
});

Question
I need to generate a 3 month subscription upfront payment, and then a monthly charge. without showing 90 days for free on the payment interface

What have you already attempted?
I have used the trial period, but the client does not like the message showing it to be free.

What are you working on?
A binstorage solution

#

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

What did you expect to happen?
I want to import a csv file of Feb usage data for my customer on Dashboard

What actually happened?
It always return errors with the last value of payload to be decimal, even though in the file I made them integer

Reproduction Steps

  1. I exported csv sample file from Meter on Dashboard so it has the format I need to follow
  2. I added customer id into it and upload, no other adjustment
  3. It returned "Error in item number '2'. Value in event payload cannot be decimal. Received ""31.00""",2025-03-01,identity_days,cus_RrD6SJk10TtIVv,31

Question

  1. Is there any way I can upload this file?
  2. Also I did try manually add some of the usage, it showed in the meter report but I could not find them in the invoices
    For specifically, I have draft invoices created on 1st March, and need to import the file backdate to 28th Feb so I can include them in that invoice if possible
cursive heronBOT
#

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

Error Message
stdClass Object
(
[name] => [REDACTED]
[email] => [REDACTED]
[phone] => [REDACTED]
[error] => Array
(
[message] => PaymentMethods of type card cannot be attached to Customers directly without 3DS due to Indian payment regulations. Please instead provide the PaymentMethod and Customer alongside a SetupIntent or PaymentIntent w

Question
when doing a indian issued card payment i got above error

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
I have a Stripe App that an end user has installed in test mode. Their webhook events are being delivered in duplicated and I'm not sure how to figure out why. This doesn't impact other installed users.

Related Event ID(s)
evt_3QyQuxLbCkFKbtzX0yfuh2xk

What have you already attempted?
I have looked up the event in Workbench and it seems like it is only delivered once.

cursive heronBOT
#

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

Question
I get the following error when trying to do Stripe Checkout

{
"error": {
"message": "Invalid API Key provided: pk_test_*************************************************************************************************1100",
"type": "invalid_request_error"
}
}

Related Request ID(s)
None

What have you already attempted?
I have double checked in Stripe dashboard and the public key is same as being sent,

cursive heronBOT
#

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

Code
My payment sheet function on mobile end is:
const { error: iosPaymentError } = await initPaymentSheet({
paymentIntentClientSecret: clientSecret,
customFlow: false,
merchantDisplayName: "Moogi Kebab",
applePay: true,
googlePay: false,
paymentMethodTypes: ["twint"],
});
And my server code to generate payment intent
const intentParams = {
amount: Math.round(totalComputed),

Question
I have enabled Twint and Apple Pay in my account. I want to display it on payment sheets. So the user can select the method before making the payment. I have developed an app using react native.

What have you already attempted?
I try methods described in my docs

cursive heronBOT
#

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

Question
Is there a way user can see a breakdown of transaction fees on top of his payment. e.g. product is 100$, but he would need to see 101$ if the stripe fee is 1$ ? If not, is there a way we can know exact fees and show it as custom text to customer ?

Doc/Guide Links
I am using checkout session.

What are you working on?
Donations

cursive heronBOT
#

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

Question
Is there a way to resend the invoice.paid event by subscription id (or event id) using the stripe API SDK?

Related Event ID(s)
evt_1QxL1XKk6Qk5jHuW00iQgEFs

What have you already attempted?
I can do this manually using Stripe Workbench, but I couldn't find any documentation on how to do this using the Stripe API SDK

What are you working on?
I'm maintaining an eCommerce website and need to ensure that payment is completed before allowing the user to access the platform

cursive heronBOT
#

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

Question
If payment or webhook fails, I want stripe to retry only for 15 minutes, not more than that

Related Event ID(s)
N/A

What have you already attempted?
If payment or webhook fails, I want stripe to retry only for 15 minutes, not more than that

#

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

Question
Our business model requires a new connect account for every new brand a customer has. Typically this means manually setting 2\-5 new platform accounts a month but we expect this to grow.

can platform account settings be managed via the api once the new platform account has been created?

Related Request ID(s)
unknown

What have you already attempted?
Manual setup

What are you working on?
Stripe automation

#

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

Question
Hey folks, we are trying to implement a hard spending limit for our product.

Our subscriptions always consist of three independently metered products and we want to enable customers to configure a hard spending cap (billing threshold), so that they will never have to pay more than the configured threshold.

First I thought we could use the Billing Thresholds feature (https://docs.stripe.com/billing/subscriptions/usage-based/alerts-and-thresholds#billing-thresholds) for this, but that comes with a few caveats which make it unsuitable for us, such as being limited to a single product/line item per usage threshold.

Any hints how to approach this?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/alerts-and-thresholds#billing-thresholds

What are you working on?
Trying to implement a hard spending limit

#

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

What did you expect to happen?
"Nous ne pouvons pas accepter le type de carte que vous avez entré. Veuillez utiliser une autre carte."

What actually happened?
Lorsque j'entre ma carte sur WHMCS pour utiliser Stripe, j'ai ce message qui apparait. J'ai pourtant une simple carte comme tout le monde.

Reproduction Steps
Payer une facture avec Stripe

Question
Comment regler le problème ? Comment accepter les cartes simples ?

cursive heronBOT
#

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

What did you expect to happen?
Stripe Portal doesn't show a way to renew to canceled plan, and shows an invoice to be paid.

What actually happened?
Stripe Portal doesn't show a way to renew to canceled plan, and shows an invoice to be paid.

Reproduction Steps
If a user was subscribed to a plan and became overdue due to a card problem, then decided to cancel the subscription, visiting the Stripe portal would not allow them to renew the plan but would instead ask for payment.

Question
How to disable the option to pay due invoices when the plan is cancelled in Stripe Portal.

cursive heronBOT
#

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

Question
Can I set an expiration for payment intents? For example, my customer is at the checkout in my shop. Now, I will create a payment intent, return it to the frontend, load the payment elements with it. What if the customer now ignores that and doesn't pay?

We'd like to set an expiration for example 30 minutes, when the customer doesn't pay within 30 minutes, stripe should terminate the intent and inform our backend via webhook that the payment intent has been terminated.

Thanks!

Related Request ID(s)
-/-

What have you already attempted?
Tried setting expires_at, etc., but no success so far.

What are you working on?
Checkout with payment intents and payment elements

#

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

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

Question
I want simulate the apple pay as payment method, because I am testing a specific usecase.

What have you already attempted?
I tried a test card number from apple website but got error . "terminal_invalid_sdi_sim_payment_invalid_test_card_number"

What are you working on?
Basically my application is setting up recurring payment from terminal. And using generated card for future payment but when someone use digit wallet like apple pay generated card is null.

#

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

Code
const session = await stripe.checkout.sessions.create({
success_url: `https:/...`,
cancel_url: `https:/...`,
payment_method_types: ['card'],
line_items: [{ price: selectedItem, quantity: 1 }],
mode: 'payment',
});

Question
in the dashboard, settings, payment methods, it allows to 'create configuration'.
I do have different Products in my catalogue, how can I apply those payments configuration methods to different products?

What have you already attempted?
Should I just add payment_method_types: ['card', 'Paypal'],
? And I just have to have paypal enabled in any of the dashboard configuration

What are you working on?
backend website

cursive heronBOT
#

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

Question
Hello,

we are trying to build the following flow:

Users can buy premium from our website -> API Webhook checks if user already exists/not exists then creates him (event customer.created) and connects the customerId to the user object

event customer.subscription.created -> Creates subscription in database and connects the subscription with the customer

Our main issue is:
A user can either buy from our normal website OR in our App. But when he is in our app we need to strictly pass the email adress to the payment link and block it.

We have a payment link for each premium plan. I dont want to create 1 for website and one for app each cause updating these will be a ..

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

What are you working on?
see top

#

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

Error Message
Error confirming setup intent: PAYMENT_ERROR.DECLINED_BY_STRIPE_API
"Card Present and Interac Present SetupIntents can only be created with physical cards, not with mobile wallets."

Question
Participating in the limited beta access to store digital wallets have any extra charges? Is there a difference between choosing one MCC or another (within the MMCs eligible to participate in the digital wallet beta)?

What have you already attempted?
Asking customer support but for a week they have been redirecting me to different people. My ticket number is 20395484. But probably there are more tickets because I've been asked to write again to stripe-terminal-betas@stripe.com.

Reproduction Steps
-Setup StripeTerminalProvider with a token provider function that fetches connection tokens from our backend
-Successfully connected to a card reader using the Stripe Terminal SDK
-Attempted to create and confirm a SetupIntent to save a payment method
-Attempted to use a mobile wallet payment method
-PAYMENT_ERROR.DECLINED_BY_STRIPE_API

What are you working on?
Stripe SDK, Tap to save payment method

#

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

Question
Question related to get the card last digit of card for the payment.

Related Request ID(s)
67890

What have you already attempted?
Question related to get the card last digit of card for the payment.

#

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

Question
i have the iban of a client but i want also to obtain the bic for it and bank name if possible

is there this kind of service in stripe ?
Thank youu

Related Request ID(s)
None

What have you already attempted?
nothing still asking if there is such a feature

#

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

Question
Hello I am looking to connect Stripe to my bot made with BotGhost to Discord via IFTTT or other platform allowing it

Related Request ID(s)
Idk

What have you already attempted?
I manage to connect Stripe to IFTTT but when I do purchasing tests the bot does not detect that a role must be assigned

What are you working on?
I work with BotGhost, IFTTT and Stripe

#

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

Question
What is an best method for one time payment and for subscription? Without checkout-session.

Doc/Guide Links
What is an best method for one time payment and for subscription? Without checkout-session.

What are you working on?
What is an best method for one time payment and for subscription? Without checkout-session.

#

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

Question
Is there a way to require payment for a session where the coupon used makes the payment free?

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

What are you working on?
I am working on enabling coupons for a production environment. The product team is looking for a coupon that makes a specific payment free - however we intend to use the payment details later off_session so we need the details.

cursive heronBOT
#

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

Code
{
Customer = customer.Id,
PaymentMethodTypes = new List<string> { "card" },
Description = oParam.ProductName + (string.IsNullOrEmpty(oParam.ProductDesc) ? "" : " - " + oParam.ProductDesc),
Amount = dTotAmt,
Currency = oParam.Currency,
TransferData = new PaymentIntentTransferDataOptions
{
Amount = dTotAmtConnected,

Question
We are trying to add Google Pay and Apple Pay to people that have built a website using our software and are using Connected accounts. We cannot get Apple Pay and Google pay to now show up on their websites, even though we could see it on our test domain. Link is visible, and Google Pay is visible on desktop Google Chrome, but Google Pay and Apple Pay is not available on Mobiles. Can you help us troubleshoot?

What have you already attempted?
Do we need to add Google pay and Apple pay on the PaymentMethodTypes = new List<string> { "card" }, ?

We have added the domains on Stripe back end.

What are you working on?
Google Pay and Apple Pay integration for connected accounts to accept payments via their website.

#

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

Question
Our current subscribers have `card_` payment methods. What is the preferred way to migrate these to `pm_` payment methods so we can seamlessly replace the checkout.js integration? Without this it looks like we would have to keep the old integration and force customers to update their cards. I've read that the Stripe Dashboard offered a migration at one point but this might no longer exist so we might need to script this. If so, I've read that some payment methods may not be migrate-able -- what are these cases?

Doc/Guide Links
https://docs.stripe.com/get-started/data-migrations/overview

What are you working on?
We are migrating from the old checkout.js for a subscription purchase to Custom Elements with Checkout Session.

#

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

Question
I'm curious how Stripe Managed Risk works. I want to use destination charges in my Connect integration (so I appear as the seller on the buyer's payment card). In order for Stripe to assume liability of negative connected account balances, all the integration guides suggest this is only possible with Direct charges. However, it sounds like Managed Risk might also work with destination charges? Is this correct, and if so, how do I enable it?

Doc/Guide Links
https://docs.stripe.com/connect/risk-management/managed-risk?locale=en-GB

What are you working on?
A Connect marketplace platform for event ticketing

#

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

Question
Having problems with Stripe Tax integration for Stripe Connect express accounts.

Our platform is a UK-based live music marketplace where earnings are shared between artists and venues.

When our customer makes a purchase on the platform we use separate charges and transfers to send venues and artists their share.

However, they are often VAT-registered companies and need to report taxes on their revenues, including from our platform.

There's no tax information on the transfers we send them.
Also during onboarding "company" express accounts aren't prompted for VAT numbers.

Related Request ID(s)
"evt_1QyZ4yBC2E5GIrl8lYNC7DxL","evt_1QyYzGBC2E5GIrl8Fax9dW21","tr_3QyZ4wBC2E5GIrl81IFPXi5z"," tr_3QyYzEBC2E5GIrl801OOhr69"

What have you already attempted?
We've tried:
- setting "on_behalf_of" to "connected_account_id" for the checkout session
- updating automatic_tax.liability to point to the connected account
but without success

What are you working on?
Setmixer is a UK-based live music platform for venues, artists & fans

#

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

Question
I have an active monthly subscription (e.g., sub_1Qt66hAHqm7DWpwQYvPMrM07) that is currently set to renew on March 16th I would like to adjust the renewal date so that it renews on April 1 instead.

Could you please advise on the best way to achieve this? Ideally, I’d like to ensure there are no disruptions for the customer while making this change. I also dont want to send emails to the customer about this change

Related Request ID(s)
sub_1Qt66hAHqm7DWpwQYvPMrM07

What have you already attempted?
I already tried to add a trial date. But then they will see in the billing portal "Trial" which might be confusing since its not a trial

Also they get a 0€ invoice sent to their email

#

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

Code
const file = await this.client.files.retrieve(payload.logo, { stripeAccount: accountId });

	console.log\('FILE', file\);

	return await this.client.accounts.update\(
		accountId,
		{
			settings\: {
				branding\: {
					logo\: file.id,
				},
			},
		},
		{ stripeAccount\: accountId },
	\);

Question
I dont know why there is an error message. Is it because of file being connected to different account ? Or standard account doesnt have access to this feature ?

What have you already attempted?
The console log shows the file is available. But when i try to use it as business_logo. It says : No such file uploads.

log shows:

FILE {
id: 'file_1QyZglRkbsG1ImKLpgeBbPZy',
....}
[Nest] 1358336 - 03/03/2025, 2:09:49 PM ERROR [ExceptionsHandler] No such file upload: 'file_1QyZglRkbsG1ImKLpgeBbPZy'
Error: No such file upload: 'file_1QyZglRkbsG1ImKLpgeBbPZy'
at Function.generate (/home/fm-pc-lt-216/Desktop/upacare/upacare-backend/node_modules/stripe/cjs/Error.js

What are you working on?
I am trying to update the logo when a new logo is submitted by admin

cursive heronBOT
#

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

Question
I would like to allow my customers to pay my product either in one time or either in 3 installments.

I didn't find an all in one feature about that so I tried to handle this with subscription.

I wanted to know what was the easiest way to handle that ?

Related Request ID(s)
No ID

What have you already attempted?
For example if my product is 300$, I have created a `one_time` price of 300$, and then created a `recurring` subscription of 100$

If the customer wants to pay in 3 installments, I will Checkout with this 100$ subscription.

Then I listen for the checkout completion with my Webhook where I will update the newly created subscription. I will update the `cancel_at` field to a date after 3 installements have been done (like after 2 months and 5 days).

What are you working on?
Handle 3 installements payment

cursive heronBOT
#

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

Question
How can I provide a statement descriptor when I create a subscription ? I cannot find this in documentation

Related Request ID(s)
req_zuip2tMIUiT9Oe

What have you already attempted?
I tried to edit the payment intent after subscription creation, and get this error:
`Some of the parameters you provided (statement_descriptor) cannot be used when modifying a PaymentIntent that was created by an invoice. You can try again without those parameters`

What are you working on?
I try to add statement descriptor to my customer's subscriptions

cursive heronBOT
#

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

Question
We currently generate all Invoices for our customers using QB's and have no plans to change this. Where QB's falls apart is payment terms that are different. quarterly, bi-yearly, monthly.
In the idea world for this customers, I would love to insert a custom payment link that I can create with Stripe. The problem is every invoice has different prices and terms so i would need the ability to specify customer x, total payment y, recurring from x-y, frequency (example quarterly), and generate a payment link. I do not want to specify a product already all in the invoice. is this doable?

Related Request ID(s)
req_QqLobEd90MT1xn

What have you already attempted?
I tried to manually create a payment link but it appear they all require a product and this won't work since depending on time left in the subscription, custom pricing, etc every single account is different. I need to specific the amount for the invoice (=payment total) and terms.

What are you working on?
I would like to insert customer stripe payment links for each QB's Invoice with bi-yearly or quarterly recurring payments to pay the invoice down.

#

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

What did you expect to happen?
That my payments in production with the Express Checkout Element using Apple Pay or Google Pay would go through.

What actually happened?
After providing my card information in the Apple Pay pop up or Google Pay one, I press pay but it loads until eventually timing me out.

Reproduction Steps
Using Express Checkout Element, a payment intent from the server.

Question
What should I look out for that could make the Apple Pay / Google Pay payment processing timeout ?

cursive heronBOT
#

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

Question
Error while creating a link to update Connect account:

com.stripe.exception.InvalidRequestException: You cannot create `account_update` type Account Links for this account. Valid types for this account are ["account_onboarding"].; request-id: req_5L6JWtYo2IafoI

not sure the reason for this error. Please advise

Related Request ID(s)
none

What have you already attempted?
Express Connect onboarding testing using java API

#

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

Question
I dont understand this error when using the express checkout element:

Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed through the API configured with payment_method_types.

Related Request ID(s)
req_hi2oPxe32fjhYN

What have you already attempted?
Changing the payment intent builder on my server to be like the one described here https://docs.stripe.com/elements/express-checkout-element/accept-a-payment

cursive heronBOT
#

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

Question
Do you have specific fields to customize the Checkout Session with color or icon for each API request ?

Related Request ID(s)
req_0I2OnWrvXW2KYw

What have you already attempted?
Read the API documentation and modified the setup

What are you working on?
We have a marketplace. Some vendors have different brands and we would need to have 2/3 options of checkout per connected account [without having to create different connected accounts for them]

#

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

Question
Is there a way to charge flat amounts on a Payment Link rather than use existing products?

Related Request ID(s)
No ID

What have you already attempted?
Read through documentation, created payment links through .NET SDK but was forced to include a price ID

What are you working on?
Need to be able to charge X amount with Y description rather than use existing products. Need to be able to email out a link to the payment.

#

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

Question
Is there a way to ensure that we do not authorize Stripe Issuing transactions from Stripe's list of prohibited businesses? i.e. gambling, weapons, etc. There doesn't seem to be a MCC code that we can block. Is this handled on Stripe's end before the `issuing_authorization.request` is sent? If not how should we be detecting these transactions?

Doc/Guide Links
https://stripe.com/en-ca/legal/restricted-businesses#prohibited-businesses

What are you working on?
Stripe Issuing integration

cursive heronBOT
#

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

Question
Hi, how can I allow the user to update a Stripe Checkout Sessions promo-code after the code has been initialized when the checkout session is created?

Related Request ID(s)
no request id

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

I've tried looking through these docs but I don't see an option

What are you working on?
A checkout flow that allows promo codes

#

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

Question
We are using API to retrieve payout data to determine when a charge has been disbursed into the customer's connected bank account.

When a payout fails, the status is failed. However, Stripe will try to perform the payout along with subsequent payouts. And when it succeeds, the status does not get updated (still says failed). Is there a way to figure out that the failed payout has went through?

Related Request ID(s)
Payout ID po_1MxK1LRUchlEhWTX7sZz50AQ is a good example

What have you already attempted?
We already have code that handle the successful cases. Only failed payouts do not work.

What are you working on?
I need to get payout information to update the charges.

#

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

Error Message
Información obligatoria. No hemos podido verificar la información de tu cuenta. Revísala y actualiza los campos a continuación.

Question
He tratado de enviar el documento de diferentes formas pero ninguna me permite validar la cuenta de Stripe, ni el documento, ni la dirección

What have you already attempted?
Me gustaria que validaran estos documentos para autorizar la cuenta de Stripe en españa.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/get-started-connect-embedded-components#csp-and-http-header-requirements

Question
I am trying to use 'onboarding' embedded components within an Ionic Vue app. The component loads correctly but I get the following error when clicking the Add Information button: `Unhandled Promise Rejection: SubmerchantAuthError: Popup is blocked by browser.`

What have you already attempted?
I have added the CSP header required to index.html

cursive heronBOT
#

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

Error Message
Hello,

Thank you for following up. Unfortunately, after conducting a further review of your account, we’ve determined that we still won’t be able to accept payments for Kevin Curtis moving forward.

Based on the information available to us, including documents submitted via your dashboard to appeal our decision, we’ve determined that your account s

Question
I am confused, all payments have been authorized by my customers and I have physical documentation. My business is not listed as a prohibited business and I need help with a payout.

What have you already attempted?
I tried submitting an EIN Letter for authorization through email and it was still denied.

Reproduction Steps
I would like to start receiving payouts and accept future payments, there are no required refunds.

What are you working on?
I run a personal training business, both online and in-person

cursive heronBOT
#

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

Question
Why is it that this setup intent (seti_1QyaWVDfcmTYbu9YvaQpy3Fo) generated a payment method which was not attached to the setup intent customer?

Related Request ID(s)
req_RrUFQXOknMoDFs, req_NpdVygH2wTU2sw

What have you already attempted?
Reviewed requests and Documentation

What are you working on?
Stripe Mobile Terminal integrated app

cursive heronBOT
#

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

Code
handleChange = (e) => {
if (e.complete) return setEnable(true)
}

Question
How I identify when the PaymentElement change event is coming from an update action?

What have you already attempted?
I've tried to dig into the event value, useElements and useStripe hooks, trying to found an attribute or something that identify the change action is coming from updating an existing saved payment method so I can disabled the Submit button while editing a saved payment method

What are you working on?
Checkout page with PaymentElement on React

cursive heronBOT
#

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

Question
We are trying to match up payout data to payments/charges. We have code for many years to do this, but we have never handled failed payouts.

Related Request ID(s)
Here is a failed payout ID: po_1MxK1LRUchlEhWTX7sZz50AQ that was paid out in a subsequent payout po_1MzrT2RUchlEhWTXJuxneRdz

What have you already attempted?
Need to know the proper/best way to get payout data for charges that were initally associated with a failed payout.

What are you working on?
Updating payment/charges with when the payout was completed.

#

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

What did you expect to happen?
Be able to create a payment intent with
`payment_method_types: ['card', 'link']`
and `on_behalf_of` a stripe express connected account.
So that I can show link in a payment form using stripe payment elements.

What actually happened?
error:
"This payment method (link) is not activated for the account specified in `on_behalf_of`."

Reproduction Steps
```
stripe.paymentIntents.create({
amount: 1,
description: '...',
capture_method: 'manual',
currency: 'EUR',
confirm: false,
on_behalf_of: 'acct_id...express',
transfer_data: { destination: 'acct_id...express'},
payment_method_types: ['card', 'link'],
});
```

Question
I have 'link' payment method in all possible places enabled (I think)
including:
https://dashboard.stripe.com/settings/payment_methods
and
https://dashboard.stripe.com/settings/payment_methods/connected_accounts

It works for our "regular" connected accounts (and in test mode), but for stripe express connected account we get an error.

What are we missing ?

What are you working on?
A web app for managing medical practices incl. taking payments on behalf of our customers from patients.

cursive heronBOT
#

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

Question
How do I disable Link for only a single checkout page, and not across my entire account?

Related Request ID(s)
N/A

What have you already attempted?
Passing use_link: false at various points.

What are you working on?
SetupIntent integration for payments

cursive heronBOT
#

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

Question
I have a "us_bank_account" payment method that has an associated setupintent with an active multi-use mandate. I use this payment method to update a subscription's "default_payment_method". This appears to create a new setup intent in the "requires_confirmation" state. Do I need to do anything with this new setup intent? The old one still says it is succeeded, and the mandate is still marked active.

Related Request ID(s)
seti_1QyfjC2eR1Lfh7BG9PBswpun, seti_1Qyfj92eR1Lfh7BGZU9YbNJ5, sub_1Qyfiz2eR1Lfh7BGFMDsfOD3

What have you already attempted?
read subscription update api doc
https://docs.stripe.com/api/subscriptions/update

What are you working on?
update subscription default-payment-method

cursive heronBOT
#

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

Code
Terminal.getInstance().connectReader(reader, config, object : ReaderCallback {
override fun onSuccess(reader: Reader) {
connectedReader = reader
Log.d(TAG, "✅ USB Reader Connected: ${reader.serialNumber}")
}

        override fun onFailure\(e\: TerminalException\) {
            Log.e\(TAG, "❌ Failed to connect USB reader\: ${e.message}"\)

Question
What can i do about the error message: "USB unexpectedly disconnected during operation, reconnecting"?

What have you already attempted?
I already tried via bluetooth but i still got the same error

What are you working on?
Trying to make a Android Application working using the "com.stripe:stripeterminal:4.2.0"

#

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

Code
Haven't written anything yet

Question
How can I fetch the fees associated with a charge using Stripe's Java API ? And when ? After a charge is successful ?

What have you already attempted?
I've looked at the API documentation but it doesn't answer

cursive heronBOT
#

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

Question
How can I get the aggregated price/cost of a subscription so that I can show it to the customer (with all discounts etc.) applied? The subscription object contains the items and the discounts but there's no `total` field or similar.

Related Request ID(s)
None

What have you already attempted?
I looked at the API docs

What are you working on?
SaaS app

cursive heronBOT
#

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

Code
String chargeId = "ch_3QygzZCVUvdI84gC1mXUOAZn";

    // First retrieve the charge directly, which gives access to the balance transaction
    Charge charge = Charge.retrieve\(chargeId \);
    
    // Get the balance transaction ID from the charge
    String balanceTransactionId = charge.getBalanceTransaction\(\);
    assertNotNull\(balanceTransactionId, "Balance transaction ID should not be null"\);
    
    // Retrieve the balance transaction
    BalanceTransaction bal

Question
I was able to successfully create this charge but none of the examples provided for Java are valid using the latest API ( 28.2.0 )

What have you already attempted?
https://docs.stripe.com/expand/use-cases?lang=java#stripe-fee-for-payment

#

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

Question
There is chaged for description field in connected accounts?
I wish to propagate the description to connected accounts in stardard

Related Request ID(s)
developers

What have you already attempted?
Field description propagation

What are you working on?
api

cursive heronBOT
#

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

Question
For payment links with a product and a price can you:
- Replace with a new product and price
- Replace existing price for the product

Related Request ID(s)
NA

What have you already attempted?
Modifying the price of the existing product of the payment link

#

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

Question
We are using Stripe elements to collect payment info. The Stripe JS widget has the CVC and the zip code fields on the widget. We are getting payments that say the CVC failed or the zip code failed HOWEVER, payments are getting through as succeeded. What would be causing this?
We were under the impression if a CVC or a zip code did not match, it would decline the payment.

Related Request ID(s)
pi_3QtFfC2tepZajEO41ZlbCrXV

What have you already attempted?
We looked at our code and can provide our widget code example if needed.

cursive heronBOT
#

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

Question
It's possible to set `days_until_due` on Invoices via the API but not retrieve it. Is this a bug? Can I file a bug report or a feature request to get this value on my invoices?

Related Request ID(s)
evt_1QyiUHC7hUs4wr8nDVXjdAIp

What have you already attempted?
I've tried setting the value and querying the invoice by its id.

What are you working on?
I'm building an invoicing integration using the API

#

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

Question
Hey! Is there an API route or any way to get all meter usage associated with a certain stripe customer ID.

For context I'm working on building a customer dashboard that displays detailed usage statistics. I want to display meters that are and are not part of a product subscription for the user.

Pretty new to stripe - would appreciate any help

Related Request ID(s)
N/A

What have you already attempted?
Looked through the docs, did some searching online

#

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

Question
What is the best way to get all fee breakdown for a given session ID. i want to see how much is take from stripe fees, application fee, etc.

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

What did you expect to happen?
The money that was suppose to go into my bank account

What actually happened?
account hasn't arrived, I have contacted the bank and the reasons for the money not coming in is the card type can't take online payments, I would like to get my skins back on Cs2

Reproduction Steps
I've been contacting tradeit.gg under the steam account icepac https://steamcommunity.com/profiles/76561198839619696/

Question
I was wondering if I could get my skins back as the money hasn't arrived in 2 months and I've been waiting for 2 months for my skins back, please let me know when I could get these back

What are you working on?
I'm working on trying to get my skins back and making sure the money goes back to stripes system.

cursive heronBOT
#

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

Question
I'm looking a way for our customer service staff to assemble a shopping cart for customers on the phone and then "push checkout" to the customer via email or SMS. Ideally the email contains a link to a page where the customer can check out by themselves. The Payment Links documentation indicates it only works with pre-configured items, however. Can we create a payment link with arbitrary product info on-the-fly? Thanks for the help.

Doc/Guide Links
https://docs.stripe.com/payment-links/api#create-link

What are you working on?
Online education platform

#

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

Error Message
Unrecognized object id: pyr_1Qxt2nIbTgtNSoQpi3pJ6OhR

Question
It seems when we use a Bank Source created via the Direct Plaid <-> Stripe integration charges created start with "py_xxx" instead of "ch_" and refunds for those charges start with "pyr_". The system won't let us lookup the Refund object by it's ID

What have you already attempted?
Using the Api/SDK and the CLI

Reproduction Steps
stripe get pyr_1Qxt2nIbTgtNSoQpi3pJ6OhR --live --stripe-account=acct_1Q1HEAIbTgtNSoQp

#

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

Error Message
There was an error registering the payment method with id 'stripe_googlepay': Error: Please call Stripe() with your publishable key. You used an empty string.
There was an error registering the payment method with id 'stripe_applepay': IntegrationError: Please call Stripe() with your publishable key. You used an empty string.

Question
Setting up my payments using stripe, however im getting that error message

What have you already attempted?
Looked up on google and found nothing :(

What are you working on?
Setting up Woo and Stripe payments

cursive heronBOT
#

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

Question
We need to integrate with a third-party processor (OpenTable) that requires a Stripe token (tok_...) generated using their publishable key. We want to securely save card details (paymentMethodId, customerId, last4, expiry) on our end for future transactions. Can we generate a Stripe token using the saved details and their publishable key? If not, what secure and PCI-compliant options does Stripe offer to enable this workflow?

Related Request ID(s)
none

What have you already attempted?
We used Stripe Vault to tokenize card details into paymentMethodId and link them to a customerId, but these tokens are tied to our account and can't be used with the third party's Stripe account. We also tried generating a Stripe token (tok_...) using the third party's publishable key, but it requires raw card details, which we prefer not to handle. We explored PCI-compliant vaults like Spreedly to store and re-tokenize cards but found it complex. We're seeking simpler, Stripe-supported options.

What are you working on?
saving card for future use to use with thirdParties.

#

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

Question
I am using webhooks to update the subscription tier of the user. At the first, the subscription status is active but then another webhook event gets triggered which makes it incomplete.

Related Event ID(s)
evt_1QymjUKvfF85f0JWZONYfgyS

What have you already attempted?
Tried to see all data from the webhook.

#

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

Error Message
Payment declined by customer's bank
The bank returned the decline code incorrect_pin.

Question
I'm passing the amount €93.55. is it possible to make the payment with amount having decimal values in test environment

What have you already attempted?
If the amount is not decimal, its working fine

What are you working on?
Stripe in person reader payement

#

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

Question
I want for our users to pay in full on upgrades.
At the moment, if we turn off the "pro-ration", it will wait for the entire billing cycle to upgrade, which is a pain in the ass.

Related Request ID(s)
?

What have you already attempted?
Playing around with checkout portal and API.

cursive heronBOT
#

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

What did you expect to happen?
I am using the Stripe Embedded Onboarding component, I am expecting it to collect all required information from the user, specifically any identity verification requirements.

What actually happened?
The does not appear to collect all the required information from the user, specifically the "individual.verification.document" account requirement. Even restarting the onboarding, the embedded onboarding component does not ask for the requirement, it appears I need to manually provide this information to stripe via the accounts API

Reproduction Steps
Create a stripe connect account via the API, create a account onboading session, display the embedded component and enter in the information as an individual with no ABN / tax number.

Question
Is there a parameter I am missing that is required when creating an account, that makes the stripe embedded component ask for individual identity documentation if required, it seems that I need to manually add this information to the account myself via the API, however Stripe should be collecting this information if required.

What are you working on?
Event ticketing application that performs payouts to event organisers, taking an application fee.

cursive heronBOT
#

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

Question
Hey i want to use stripe connect for getting an application fee but my client has 2 different platform accounts one is his own platform account ticonoweb and other is a pizza selling platform what he want to achieve is that his own platform account take application fees and the the other pizza selling account takes the other charge. He created a connect account for the pizza selling company under his own platform account but he says the amount is needed to be transfer to the platform account of the pizza selling app and my platform account should only take application fees

Related Request ID(s)
do not have this

What have you already attempted?
i suggested my client to use only one platform account that is his own account and create the pizza selling account as a connect account under his own account but he said app should use public and private keys of the pizza selling account but not my own platform account keys

cursive heronBOT
#

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

What did you expect to happen?
Hi, may I know when usage meters be shown up in the subscriptions or invoices?

What actually happened?
I'm having some meters reported for Feb subscription, but due to some latency I reported them yesterday, but backdate the timestamp to Feb. I can see them in the live feed and logs but it's hard to know when they'll be processed

Reproduction Steps

  1. Subscriptions created on 27th Feb
  2. Usage reported for Feb but call the API on 3rd March, backdated timestamp to 26 -27th something
  3. Show up in live feed and logs, not able to see anywhere else

Question
May I know when will usage meters be shown up in the subscriptions or invoices (24 hours later or end of the date etc..) ? I'm having nothing to know if the meter I reported is correctly reflected or not

cursive heronBOT
#

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

Question
Am working on Stripe Terminal Integration, when we create customer by using api https://api.stripe.com/v1/customers, it give us customer id like cus_RsYLsoe5ksPcFC, but when we get this customer detail via PHP SDK it give me error that customer not found
$customer = \Stripe\Customer::retrieve('cus_RsYLsoe5ksPcFC');

Related Request ID(s)
req_q7LzfMBb4IiDOb

What have you already attempted?
Am working on Stripe Terminal Integration, when we create customer by using api https://api.stripe.com/v1/customers, it give us customer id like cus_RsYLsoe5ksPcFC, but when we get this customer detail via PHP SDK it give me error that customer not found
$customer = \Stripe\Customer::retrieve('cus_RsYLsoe5ksPcFC');

What are you working on?
Stripe Terminal payment gateway

cursive heronBOT
#

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

What did you expect to happen?
Be able to create a payment intent with
`payment_method_types: ['card', 'link']`
and `on_behalf_of` a stripe express connected account.

I want to see stipe's `link` in a payment form using stripe payment elements.

What actually happened?
error:
"This payment method (link) is not activated for the account specified in `on_behalf_of`...."

Reproduction Steps
```
stripe.paymentIntents.create({
amount: 1,
description: '...',
capture_method: 'manual',
currency: 'EUR',
confirm: false,
on_behalf_of: 'acct_1L0jVjRTeveYSbgb',
transfer_data: { destination: 'acct_1L0jVjRTeveYSbgb'},
payment_method_types: ['card', 'link'],
});
```

Question
Question
I have 'link' payment method in all possible places enabled (I think)
including:
https://dashboard.stripe.com/settings/payment_methods
and
https://dashboard.stripe.com/settings/payment_methods/connected_accounts

It works for our "regular" connected accounts (and in test mode), but for all stripe express connected accounts we get the error.

What are you working on?
A web app for managing medical practices incl. taking payments on behalf of our customers from patients.

#

@craggy wadi 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/custom-success-page?payment-ui=embedded-form#disable-redirects

Question
Which payment methods require redirects ?

What have you already attempted?
It says ".. but payment methods that require redirects aren’t eligible.", but I don't see a list of those payment methods ? In particular I'm interested in "us_bank_account" / ACH

What are you working on?
Donations

#

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

Code
DiscoveryConfiguration.TapToPayDiscoveryConfiguration(false)

version 4.2.0

Question
Following stripe document we have implement taptopay configuration in android Falcon 2 we have integrated

DiscoveryConfiguration.TapToPayDiscoveryConfiguration(false)

to discover taptopay reader is discovering successfully but payment is not retriving , when we set simulated to false

What have you already attempted?
We have check falcon real device

What are you working on?
app developpment

cursive heronBOT
#

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

Code
const session = await stripe.checkout.sessions.create({ ....

payment_method_types: ['card', 'paypal'],

....

Question
In my dashbaord I have paypal, apple pay and gpay enabled, so do i have to include apple pay and gpay in the array of payment_method_types?

What have you already attempted?
Cant check on my own as i dont have those systems installed

What are you working on?
website backend

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/express_checkout_element_confirm_event

Question
I need to close an express checkout modal, after doing some checks.
```js
expressCheckoutElement.on('confirm', async (event) => {
const {error: submitError} = await elements.submit();
if (submitError) {
console.error('Error:', submitError);
handleError(submitError);
return;
}

    if \(orderDetails.billingAddress.countryCode !== 'GB' \|\| orderDetails.shippingAddress.countryCode !== 'GB'\) {
        // more stuff
        // TODO\: How to close the modal?
        
        return;
    }

```

**How to close?**

What have you already attempted?
I used unmont(), which works, but removes the element which makes sense. I only want the modal to close, so I can show an error message.

The AI from the stripe support is suggestion:
```js
elements.getElement('expressCheckout')
```

This is not working though?

What are you working on?
A Express checkout

#

@wraith cove 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/migration?lang=php#web

Question
we are working on integration payment intent.
We want add card detail in payment intent
$paymentIntent = \Stripe\PaymentIntent::create([
'amount' => 1000, // Amount in cents (e.g., $10.00)
'currency' => 'usd',
'payment_method_types' => ['card'], // Accepts card payments
]);

because card detail already stored in our database
so please mention us how we add card detail in above

What have you already attempted?
we are working on integration payment intent.
We want add card detail in payment intent
$paymentIntent = \Stripe\PaymentIntent::create([
'amount' => 1000, // Amount in cents (e.g., $10.00)
'currency' => 'usd',
'payment_method_types' => ['card'], // Accepts card payments
]);

because card detail already stored in our database
so please mention us how we add card detail in above

#

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

Error Message
{
"error": {
"code": "oauth_not_supported",
"message": "This application does not have the required permissions for the parameter 'business_profile' on account 'acct_1Q2Xy4C86QmMekXU'.",
"request_log_url": "https://dashboard.stripe.com/acct_1Q2Xy4C86QmMekXU/test/logs/req_YfdyoLHcETTm4A?t=1741085869",
"type": "invalid_request_error"
}
}

Question
I want to update mcc on one of my connected account as platform admin

What have you already attempted?
I used account update api

#

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

Question
Recently, we've observed that the upcoming invoice's meter item's quantity is not always reflecting the correct amount on time, despite the meter events being registered in real-time. This delay is present both on the Stripe dashboard and through the API.
Our concern is that when a customer uses our service and immediately cancels their subscription right after, the last meter event does not get aggregated into the final invoice — even though we can see the event recorded on the meter page. This results in lost revenue for us.

Related Request ID(s)
Customer ID: cus_RphCXYp7m7Lf7l Subscription ID: sub_1Qw2y8HJgsdx4qPxdM8rZw2X Last Invoice ID: in_1QyspIHJgsdx4qPxSQSfXh6x

What have you already attempted?
We are aware of Stripe's note on upcoming invoices:

"This is a preview of the invoice that will be billed on Mar 18. It may change if the subscription is updated or reaches its usage threshold. It may take a few minutes for recent billing meter events to be aggregated and displayed here."

cursive heronBOT
#

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

Question
I need to use embedded checkout within my iframe.
But, I saw the warning message in docs for embedded form:

Common mistake
Avoid placing Checkout within another iframe because some payment methods require redirecting to another page for payment confirmation.

However, in docs for "Advanced integration" I saw potential fix for this:

"If you do choose to use an iframe and want to accept Apple Pay or Google Pay, the iframe must have the allow attribute set to equal "payment *"."

Now, I'm just not sure, whether this "workaround/fix" is also valid for card and us_bank_account payment methods within embedded checkout ?

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#web-collect-payment-details

What are you working on?
Donations

#

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

Error Message
stdClass Object
(
[name] => subin
[email] => subinraj@mozilor.com
[phone] => 4083581170
[error] => Array
(
[message] => Invalid API Key provided: rk_test_*********************************************************************************************nwEkky
[type] => invalid_request_error
)

)

Question
the api key passed is correct and not expired.
but i got a error Invalid API Key provided.

iam using Oauth method

What have you already attempted?
nothing

#

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

Error Message
Contactless transaction failed java lang IllegalStateException: Carit collectPayment from CotsReader. CotsService not connected

Question
2.20.1 version , in falcon 2 device it shows this errror

What have you already attempted?
i tried tap to pay using local mobile

cursive heronBOT
#

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

What did you expect to happen?
I have a product with price 375 but when one of the customer subscribed then amount deducted was 374.5. 375 $ should be deducted

What actually happened?
374.5 $ were deducted

Reproduction Steps
Created a subscription with existing saved payment method

Question
I am created subscription with backdate as 1st of current month. renewal date should always be 1st of every month. alway full amount should be deducted irrespective of when user subscribes. Why less amount is deducted?

What are you working on?
request id req_7zc4AL7NB6anT6

cursive heronBOT
#

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

Code
Server side payment creation:
```ts
const paymentIntent = await this.stripeApi.paymentIntents.create({
confirm: Boolean(confirmationTokenId),
amount: total.valueInMinorUnits,
currency: total.currency.code.toLowerCase(),
confirmation_token: confirmationTokenId,
customer: customer.serviceId,
})
```

Question
How to confirm payment intent using confirmation tokens?

What have you already attempted?
I am trying to integrate Google Pay and Apple Pay on our website. I have successfully confirmed the payment on the client side using client_secret from the server but I am not able to confirm the payment using confirmation tokens. I am following this guide -
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment#create-ct
My payment intents end up with the state `requires_payment_method`.

What are you working on?
Express Checkout Elements in PDP page

cursive heronBOT
#

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

What did you expect to happen?
why did Stripe and my stripe account redirect to a help site in India ? It seems my computer and accounts are always infiltrated by India.

What actually happened?
this is tiring. i clicked on help and it led to a new page on stripe. it asked if I want to go to the US site as I was on the India site. why would I be on the india site? I am clearly in the USA and am not from India.

Reproduction Steps
i don't know. jlkajlfkjalkfjalksfjkh. khjkhkjhkjhjkh.
asflakjsdfljasg

Question
i just did above omg please this is exhausing we don't want to do this we just want to have real customer service

cursive heronBOT
#

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

Question
Hello !

I’m using Custom Connected Accounts and want Stripe fees to be charged to the connected accounts, not my platform. I've built a fully custom onboarding flow via the API, but now it seems I need to use Stripe's onboarding just to have users accept the Terms of Service.

Is there a way to bypass this step while ensuring the connected accounts cover their own fees? Any guidance would be greatly appreciated.

Thanks!

Related Request ID(s)
req_usVzLOm8WVz3Lp

What have you already attempted?
I tried on_behalf_of when creating PaymentIntent but I can't collect fees for my platform.
I also tried to change controller payer fees to account but I can't because I'm using custom account (through the API)

cursive heronBOT
#

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

What did you expect to happen?
ExpressCheckoutElement shows PayPal payment method

What actually happened?
PayPal payment method is shown in the PaymentElement when the payment intent has setup_future_usage

Reproduction Steps
I have a both ExpressCheckoutElement and PaymentElement but when using passing setup_future_usage to the payment intent PayPal is displayed in the PaymentElement instead of the ExpressCheckoutElement

Question
Is PayPal available to be saved as payment method only with the PaymentElement? or is there something wrong in my payment intent

cursive heronBOT
#

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

Question
Hey! I'm using stripe quotes for my billing process. I'm building an integration so that our internal sales team can easily create quotes without having to go to stripe directly. Part of that, is we would like to be able to preview the quote PDF prior to finalizing it and sending it to our customer.

I see that you can download a preview PDF through the stripe dashboard. However, I'm not seeing this as an option through the API. The API only allows you to create a PDF of a finalized (aka "open", not "draft") quote.

Is this possible to do? Hopefully I am just missing something simple.

Related Request ID(s)
none

What have you already attempted?
Used the stripe dashboard and API.

#

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

Question
Our app is listening for Stripe events and this event is throwing an error on our side because one (or possibly more) of the payments doesn't have a source transaction on it. How does that happen? Is this common? Do we need to expect that this can happen on occasion?

Related Event ID(s)
evt_1Qtwa24hnber83gD6QbLu1Qx

What have you already attempted?
Do we need to handle the source transaction being null sometimes?

cursive heronBOT
#

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

Question
Integrate stripe to our website

Related Request ID(s)
Developers

What have you already attempted?
My web developer cant conect to steipe account

What are you working on?
We have a rental facility for sports. We want able to collect payment from website.

#

@mortal copper 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/prorations

Question
I want my user to be able to upgrade his subscription from $10/mo to $20/mo using the Stripe Billing portal respecting these rules:

- NO proration, upgrading = always paying the full price.
- Upgrading set the subscription cycle starting at the time the upgrade was made

What have you already attempted?
I saw I can use proration, which sets a new subscription cycle.
or
Do not use proration, but then it keeps the old subscription cycle (pay $20/mo starting at the next period)

But not my need: No proration + new billing cycle

#

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

Question
Building a data analysis product using Financial Connections to download banking transaction history. It's a web based app. Are there any examples for this kind of flow? All I can find are the React native examples. Thanks!

Related Request ID(s)
none

What have you already attempted?
Searching the docs :)

What are you working on?
LLM based financial analysis tool

cursive heronBOT
#

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

Question
I am connecting Stripe subscriptions to my app. I'm unclear which events to listen to ensure my user model is kept up to date with the Stripe state.

Related Event ID(s)
No events

What have you already attempted?
I have these events right now:
* checkout.session.completed
* customer.subscription.updated
* customer.subscription.deleted

These give me a pretty good overview of subscriptions. But what if a user was on a trial, then my app would not know that. And I'm sure there are many more events I miss?

Perhaps there's a full code example somewhere I could use?

cursive heronBOT
#

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

Code
capability_status = latest_charge.is_a?(Hash) && latest_charge.dig("payment_method_details", "card", "multicapture", "status")

Question
Can you provide a credit card number to use in sandbox for me to test this piece of code?

What have you already attempted?
In the documentation it says that credit cards like JCB won't allow multicapture, but I tested in sandbox with a JCB credit card and also a Union Pay credit card and the response says: "status": "available"

What are you working on?
allow multicapture capability

#

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

What did you expect to happen?
I turned off the link integration to prevent users from seeing a different UI in my frontend, but left it on in my payment configuration for invoices. I expected subscriptions to be able to pay

What actually happened?
It seems as though all banking direct payments were blocked by stripe this month?

Reproduction Steps
activate link on invoice payment configuration and deactivate link on UI payment configuration once a customer has signed up with direct bank payments

Question
Is this intended behaviour? and should I reactivate link on my UI?

What are you working on?
billing microservice

#

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

Question
How I can Activated Zip on my Stripe Checkout

Related Request ID(s)
acct_1QgGD4By5xjeLQJz

What have you already attempted?
Contacted Zip and said you guys need to activate

What are you working on?
API Zip enabling

cursive heronBOT
#

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

Question
How many days do we have to resend an event if we need to from the Stripe dashboard?

Related Event ID(s)
evt_1Qtwa24hnber83gD6QbLu1Qx

What have you already attempted?
We have an error handling it and we need to know how much time we have until we can't resend this event again.

#

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

Question
Using the API to get info about connected accounts ("Standard" connected accounts) the docs lead me to believe that `requirements.errors` will give info about requirements that are needed. While the info returned to me contains `requirements.currently_due` or `requirements.eventually_due`, the errors member is always `[]`. Is there some other way to translate the data in `currently_due` or `eventually_due` into human understandable requirements?

Related Request ID(s)
none

What have you already attempted?
Reviewed the documentation in https://docs.stripe.com/connect/handling-api-verification

What are you working on?
Working on ways to help connected accounts keep up with and complete their onboarding

cursive heronBOT
#

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

Code
const session = await stripe.checkout.sessions.create({
ui_mode: "embedded",
line_items,
mode: "payment",
payment_method_types: ['card', "link"],
allow_promotion_codes: true,
invoice_creation: {
enabled: true,
},
consent_collection: {
terms_of_service: 'required',
},
billing_address_collection: "required",

Question
I am trying to show google, apple pay, and link. I use google chrome on my windows 10 desktop but when I go into my embedded checkout on my domain its only showing card as ways to pay. In payment methods they both say Active with a green checkmark and my domain I am using has been added to payment method domains.

The only odd thing is it never asked me to do the apple pay verification on the domain it just went straight to "Domain successfully added and verified"

What have you already attempted?
Reverifying the domain by disabling it and re-adding it

What are you working on?
An ecommerce store

#

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

Code
Hello. I entered the bank account information on the stripe incorrectly, the money did not come to my account. can you help?

Question
Hello. I entered the bank account information on the stripe incorrectly, the money did not come to my account. can you help?

What have you already attempted?
Hello. I entered the bank account information on the stripe incorrectly, the money did not come to my account. can you help?

#

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

Question
How do we disabled direct debit custom branding on an express account that already has the capability enabled

Related Request ID(s)
Bacs Direct Debit (2025-02-01 - 2025-02-28): Bacs Direct Debit Monthly Fee

What have you already attempted?
Contacting support, they were unhelpful

cursive heronBOT
#

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

Question
We have two sets of users. Custom plan users who get access to more payment method types, and then self serve users who should only have access to generic payment method types like cards, apple pay, google pay, link etc.

At some point, the expanded list of options get set as the default for ALL users. We don't want to share hosted invoice URLs if the user shouldn't have access to the available payment options.

Is there some way via API to force particular payment options onto an existing sub / invoice or payment intent prior to sharing the hosted url?

Related Request ID(s)
n/a

What have you already attempted?
I've attempted to update payment method types via api on the subscription / invoice / payment intent, but it doesn't seem to be working.

What are you working on?
Our custom plan customers have a subscription manually started by someone from our team. in those cases, we're comfortable manually turning on the billing options we're planning to provide to them

cursive heronBOT
#

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

Error Message
"You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY') ..."

Question
Why might a M2 Stripe Terminal fail to confirm a payment intent because of an unprovided API key?

What have you already attempted?
I haven't really attempted anything because I don't really know where to start. I was under the impression that the API keys were hardcoded into the Stripe terminals.

What are you working on?
Stripe M2 Integration

cursive heronBOT
#

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

Question
Hi, I auto assigned the Customer one subscription without the card and 14-day free trail when a user signed up, so which one should I use to collect the card during the 14-day free trail for the existing subscription: Payment Intent, Checkout Session or Setup Intent? So far I think I should use Setup Intent, but I can't find an embedded UI element for it.

Doc/Guide Links
https://docs.stripe.com/payments/setup-intents

What are you working on?
I'm currently implementing Stripe to my web app as a seat-based subscription approach. So basically 1 user in an organization = 1 monthly subscription.

cursive heronBOT
#

@undone 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/api/payouts/object#payout_object-reconciliation_status

Question
Which attribute on a Payout do I look at to find whether it has left the Stripe account?

What have you already attempted?
It seems that payout_object-reconciliation_status "completed" is what I'm looking for.

What are you working on?
A feature to let Connect accounts payout to an external bank account.

cursive heronBOT
#

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

Code
Split commission issue

Question
Hi there, I have Stripe integrated as my payment gateway on my market place and commission is Split between the vendor and the site admin, however Stripe fee commission is charged to admin over the total of the sale. What I should do to charge the Stripe commission to the vendor and not to the admin? Is It something on Stripe settings?

What have you already attempted?
I have Connected to Stripe support and they asked me to reach out here in this channel

What are you working on?
Marketplace

cursive heronBOT
#

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

Question
Currently invoices get charged right away when we create a subscription with `payment_behavior` set as `default_incomplete`. Is there a best practice way to trigger the invoice charging later after user completes another action?

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

What are you working on?
Hoping to charge a user after they complete another action after their subscription is created

cursive heronBOT
#

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

Question
I create a destination charge in Stripe Connect and specify `transfer_data.destination` in payment intent to point to the connected account. Once the payment is processed I allow time for payout to happen (2 business days) to the external bank account associated with the connected account. At this point connected account balance is 0. I then need to process a refund created on the platform account. I don't want to pass `reverse_transfer` as `true` since I need the refund to be covered by platform. It is possible that platform balance is 0. Question: will the refund be debited from platform's external bank account? Or the refund will remain in "pending" state?

Doc/Guide Links
https://stripe.com/docs/connect/destination-charges#issuing-refunds

What are you working on?
Marketplace web app where "connected account"'s external bank account cannot be debited

cursive heronBOT
cursive heronBOT
#

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

Question
when using express stripe elements for 1 click checkout - how do i get information about the customer like email and phone number after the charge succeeded - this is all on sandbox - i am creating a paymentintent that i plan on using later but i cant because it needs to be attached to a customer

Related Request ID(s)
pi_3Qz6cIEjhsTXrKxz05lsFHWd_secret_•••aSqA, pm_1Qz6cIEjhsTXrKxz0yeC5uHz

What have you already attempted?
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment?lang=php

What are you working on?
ecommerce store

cursive heronBOT
#

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

Question
how to differentiate "user triggered failed 3ds" and "code triggered 3ds required" from a paymentintent in invoice.payment_failed callback

Doc/Guide Links
https://docs.stripe.com/payments/paymentintents/lifecycle#intent-statuses

What are you working on?
i want to send email for when customers' recurring payment failed, and that includes if somehow 3ds is required during recurring payments. but i only want to send email to customers when it's a 3ds triggered by stripe/ code.

#

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

Question
Trying to see if I can integrate collecting payment info to store securely in Stripe via an Adalo custom component.

Related Request ID(s)
None

What have you already attempted?
Looked over the help docs.

What are you working on?
Payment integration with Adalo

#

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

Question
I'm trying to create API keys, but it doesn't work because my verifications (both email + QR) are not working.

Related Request ID(s)
Looking for to solve verification

What have you already attempted?
I have tried to send email, scan QR code but it doesnt work out.

What are you working on?
B2B SaaS

#

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

Question
How can I disable Radar from being evaluating on subscription payments?

I sometimes see Radar blocking legitimate payments from customers and I'm looking for a way to stop this.

Related Request ID(s)
.

What have you already attempted?
.

cursive heronBOT
#

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

Code
In our system, we integrated the Stripe Charges API using the PHP SDK. Now, we are working on migrating to Stripe Payment Intents. How should we manage the old records?

Question
In our system, we integrated the Stripe Charges API using the PHP SDK. Now, we are working on migrating to Stripe Payment Intents. How should we manage the old records?

What have you already attempted?
In our system, we integrated the Stripe Charges API using the PHP SDK. Now, we are working on migrating to Stripe Payment Intents. How should we manage the old records?

cursive heronBOT
#

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

Error Message
stdClass Object
(
[name] => subin
[email] => subinraj@mozilor.com
[phone] => 4083581170
[error] => Array
(
[message] => Invalid API Key provided: rk_test_*********************************************************************************************nwEkky
[type] => invalid_request_error
)

)

Question
i got this error and i contact earlier.
the communication not completed.
at last they provided the artcle regarding Oauth intergration.

i followed that in my intergration

What have you already attempted?
nothing

cursive heronBOT
#

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

Code
function getOrCreateCustomer($stripe, $data) {
$customers = $stripe->customers->search(['query' => "email:'{$data['email']}'"]);
if(!empty($customers->data)) {
return $customers->data[0];
} else {
return $stripe->customers->create([
'email' => $data['email'],
'name' => $data['name'],
'phone' => $data['phone'],
'metadata' => [
'block_bin' => 'true', // Add custom metadata here

Question
Create a Meta data in stripe to flag Card_Type:: = ‘Virtual_Card’

What have you already attempted?
I am not able to understand how can I achieve this

What are you working on?
I am building a landing page where I have 3 days trial plan with 0 deductions at the start

#

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

Question
Hello, I'm using this methods to register new ApplePay domains in Stripe:
ApplePayDomainCreateParams params = ApplePayDomainCreateParams.builder().setDomainName(domain).build();
RequestOptions requestOptions = requestOptionsProvider.build(node.getId());
ApplePayDomain.create(params, requestOptions);
Our tech leader said that there is no need to add verification file to finish new domain registration. Later no, he changed his mind and right now I'm trying to verify if its trully needed. I find confirmation for both sides. Can you tell me if verification file is needed?

Related Request ID(s)
Can't find

What have you already attempted?
I know I can start adding a domain without a verification file but I don't know if it's needed to complete the process.

What are you working on?
I was asked to change the Apple Pay domain registration process in Stripe. I'm not sure if a verification file is actually needed.

cursive heronBOT
cursive heronBOT
#

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

Question
I am developing a platform where my clients are connected to their invoice platform and stripe. My service provides a client-side platform where the client can select multiple payments (to non stripe users) and provide their card details and I will send the correct details to their stripe account to make those payments. However I am not sure which calls I should do please help me.

Doc/Guide Links
Using manual payouts

What are you working on?
Make multiple payments for a connected account

cursive heronBOT
#

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

Question
i want to use stripe payment intent API on servserside and stripe payment sheet on mobile to accept twint payments but twint is not showing up

Related Request ID(s)
example payment intent id from backend pi_3QzE4IP1SLouMwkc0ro35Z5p

What have you already attempted?
i have tried in react-native payment sheet but it did not worked as twint is not appearing on payment page

cursive heronBOT
#

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

Question
I work on SEPA DEBIT payment with PaymentIntent API (I'm migrating from Charge to PaymentIntent).
For dispute cases, I don't receive the payment_intent.payment_failed Event.
I receive all other legacy charges dispute event.
Is it normal ? Am I missing something ?

Related Event ID(s)
N/A

What have you already attempted?
Tried with Stripe Dispute test IBAN several times

What are you working on?
Migration SEPA DEBIT from Charge to PaymentIntent API

#

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

Question
How can we update price (with a price id) for a invoice after receiving webhook for invoice.created event?

Related Request ID(s)
req_5NTQz6WzKoqvpr

What have you already attempted?
i tried using this ```await stripeAPI.invoiceItems
.update(event.data.object?.lines.data[0]?.id, {
price: latestPlanVersion.userSeatPriceId
})``` and got error.

What are you working on?
I was trying to update price for a invoice (if there is any latest version available in our DB), after listening to `invoice.created` webhook event

cursive heronBOT
#

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

Question
Hello. Could you please help me with the case:
I need to add 3 free months for Annual Subscription which is already paid. But I don't want to use trials, because it affects the revenue statistics on my platform.
What is the best way?
Thank you!

Related Request ID(s)
1

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/billing-cycle?dashboard-or-api=api

cursive heronBOT
#

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

Question
I want to implement webhooks for checkout session and payment link

Related Event ID(s)
payment_intent.succeeded, checkout.session.completed

What have you already attempted?
I am getting issue as for both the methods same events are triggered and got no metadata that i am sending and it will saving null entries in my db.
as for payment_intent its working fine and saving entries but for session getting no metaData but i am passing for both

#

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

Question
How should I store a relation between an annual invoice and a monthly usage-based subscription. We'd like to offer a annual plan, but when we're going to show this subscription to our customer on our dashboard, we also gotta show them that they're on the annual plan. You I store this somewhere in the DB...on the subscription metadata? I'll provide an image as wel.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based

What are you working on?
SaaS for UGC

#

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

Question
I'm facing an issue with the Stripe webhook. Sometimes, when the webhook triggers, I get an 'Invalid signature' error, while other times it works fine without issues. Additionally, in the invoice.paid event, the payment_intent ID is sometimes missing. Any insights on why this might be happening and how to ensure consistent behavior?

Related Event ID(s)
invoice.paid, customer.subscription.updated

What have you already attempted?
For now i have added delays in whenever subscription update

What are you working on?
I am working on billing system in which customer transition from free subscription to paid subscriotion

#

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

Question
Unable to get metadata using balance transaction api for transactions.

Related Request ID(s)
po_1QujhTJLAdhVHE0c3eWZ8tB4

What have you already attempted?
We followed STRIPE documentation to get transaction details. We have got transaction details but no metadata received

What are you working on?
Trying to build integration to get Payout data and send it to ERP system for accounting

cursive heronBOT
#

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

Question
is there any way to update the price of a paused subscription via the API? I tried doing this and I get the error

"You cannot create a new invoice for a paused subscription. Unpause the subscription before attempting to create a new invoice."

but I don't need to create an invoice. I just want the price changed and everything else should stay the same. the user should not be charged.

Related Request ID(s)
req_ijbcsAgI3ZnEMM

What have you already attempted?
see request ID

What are you working on?
upgrade the pricing of a paused subscription without causing an invoice to be created.

cursive heronBOT
#

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

Question
How to test scenarios where we win a dispute on the Stripe dashboard?

Related Event ID(s)
Dashboard > transaction > counter dispute

What have you already attempted?
I tried submitting an evidence, but it says they will get back to me in June 2025. However, this is a test environment, and I want to see what webhook event we receive if we win so that we can handle it on our side.

#

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

Question
How can I match the tax breakdown element with line items, the answer does not explicitly indicate which reference line item is related to tax breakdown ?

Related Request ID(s)
Stripe Taxr API

What have you already attempted?
Example response what we are have

{
"id": "taxcalc_1QzHmEAKl7vwYuj051Q3X7gB",
"object": "tax.calculation",
"amount_total": 166419,
"currency": "usd",
"customer_details": {
"address": {
"city": "Chicago",
"country": "US",
"line1": "1521 W Haddon Ave",
"line2": null,
"postal_code": "60622",
"state": "Illinois"
},
"address_source": "shipping",
"ip_address": null,
"tax_ids": [],
"taxability_override": "none"
},
"line_items": {
"object": "list",
"data": [
{
"id": "tax_li_Rt3u2FHchZycPf",
"objec

What are you working on?
Stripe tax

#

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

Question
Hi!

I'd like to tes the Stripe Connect onboarding flow. Specifically the document and additionalDocument.

However I am not able to trigger a state where additionalDocument is required.

Related Request ID(s)
req_csGMSiqQ0274C0, req_7X4hCqljHOmQAK

What have you already attempted?
I tried following this:
https://docs.stripe.com/connect/testing#simulate-requirements
Together with this:
https://docs.stripe.com/connect/testing#test-dobs

I made sure Charge capability is requested, and phone number is provided.

What are you working on?
Online used goods marketplace

#

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

Error Message
As cobranças estão suspensas
Fale com o suporte para obter mais informações.

Question
Como posso habilitar a cobrança que está suspensa

What have you already attempted?
Não tentei nada, o erro me mandou falar com o suporte diretamente

What are you working on?
Serviços de Agência de Marketing Digital

cursive heronBOT
#

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

Question
How to use "Link with card integrations"
https://docs.stripe.com/payments/link/link-payment-integrations?link-integrations=link-card-integrations

with payment intent create API

Related Request ID(s)
I don't have log yet

What have you already attempted?
I am using create payment intent using PMC option

What are you working on?
https://docs.stripe.com/payments/link/link-payment-integrations?link-integrations=link-card-integrations

#

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

Question
Is it possible to manufacture my own cards and then use the stripe issuing to activate and manage them?
I don't mean using stripes custom card creation, but parterning with manufacturer myself then bringing the cards to stripe.

Doc/Guide Links
https://docs.stripe.com/issuing/cards/physical

What are you working on?
product for issuing debit cards

#

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

Question
I'm using the PHP API to try and get a list of subscriptions for a given customer. The API docs suggest that I'll get a nullable array of subscriptions but I'm not seeing anything in the returned object. I can see the subscription with the correct customer ID, in the web UI.

Is there an option I need to use to get subscriptions or should I use the search API with the custom keys to get them?

Related Request ID(s)
I don't know what this is asking for.

What have you already attempted?
$stripeClient->customers->retrieve($customerId)

What are you working on?
A system to refresh website access based on subscriptions changing on Stripe. It will use webhooks eventually.

cursive heronBOT
#

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

Question
I have trouble understanding a connect account balance (id: acct_1OKdRkHK9ejbCrA0).

My code retrieves an amount which is 11550. I'm using the stripe.balance.retrieve(account_id) function from the Node SDK. From what I understand this amount should be in the "pending" section.

However when I use the Stripe CLI using the following command stripe balance retrieve
--stripe-account 'acct_1OKdRkHK9ejbCrA0'

There is only a "0" amount in the pending section of the balance.

Related Request ID(s)
none

What have you already attempted?
Reading the docs and looking at the connected account dashboard to check if I see this amount

cursive heronBOT
#

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

Code
var accountParams *stripe.AccountParams
if accountType == schema.ConnectAccountTypeExpress {
capabilities := &stripe.AccountCapabilitiesParams{
// we will only enable transfers for now
Transfers: &stripe.AccountCapabilitiesTransfersParams{
Requested: stripe.Bool(true),
},
// Connected accounts under the recipient service agreement can’t process payments or request the card_payments capability
// We will request the full service agreement for now
Car

Question
We want to use Stripe Connect (Standard account) to link customer's existing stripe account and make api calls on behalf of them. But this flow asks them to create a new stripe account

What have you already attempted?
Tried various parameters in input and read through documentation but couldn't find anything

What are you working on?
We are client management software. Customers can collect payment from their clients using our platform. They link their existing stripe account

#

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

Question
What is the best practice for retrieving used payment method in Checkout from checkout_session.completed event (with GOlang SDK).

I am offering both one-off and recurring line items to customers, so I'm struggling to find an universal way to do it for both scenarios?

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

What are you working on?
Donations

#

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

Question
I am using pay_by_bank. We have an existing, established payment integration using Stripe for payment cards. This integration uses capture_method=manual

We were under the impression that the entire point of payment_intents was to abstract over individual payment methods and allow the customer to pick one that meets their needs. However, when I try to create a payment intent with both `pay_by_bank` and `card` enabled I am told:

```
The following payment method types ["pay_by_bank"] can only be used with PaymentIntents that have capture_method=automatic. Please retry by creating a PaymentIntent with capture_method=automatic.
```

We don't want to move away from auth+capture.

Doc/Guide Links
https://support.stripe.com/questions/using-authorization-and-capture-with-paymentintents?locale=en-GB

What are you working on?
Payment integration

cursive heronBOT
#

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

Question
Attempting to delete metadata keys and values on 800+ customers causing issues with AvaTax.

They told us to include "Address_Country" and "Address_PostalCode" as keys to properly calculate tax with their connector. Now they are telling us not to use it because it is causing calculation errors.

Related Request ID(s)
req_MIsImJAj9XGxLM, req_0oLdVeBVd3kdcK, req_rKyQVn91wq8UJN

What have you already attempted?
To test, using a python script that retrieves a single, defined customer_id, define the metadata keys to remove, set the values to "None"

Below is the main part of the script.

try\:
    stripe.Customer.modify\(
        customer\_id,
        metadata={
            "Address\_Country"\: None,
            "Address\_PostalCode"\: None,
        }
    \)
#

@undone 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/api/payouts/object#payout_object-arrival_date

Question
We are using the payout.paid event to track when a payout posts, but we would like to display the date it posted. I realize the external account where the Payout is sent is the source of truth for the actual posted date, but can we use the Payout arrival_date to approximate an arrival date or is there a chance the payout.paid event would arrive and the Payout arrival_date would still be in the future?

What have you already attempted?
If the Payout has a "paid" status then we display the arrival_date as when the Payout posted. Our concern is whether the arrival date would ever be a date after the payout.paid event arrived.

What are you working on?
An index page to show a list of payouts, and their status--whether they are pending or posted.

#

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

Question
regarding Stripe Express Connect onboarding:
we subscribe to 'account-updated' webhook event. How do we determine that the user completed onboarding and all the information is provided OR the user completed onboarding but the process of verification is not complete or not all information is provided.

We want to understand at what point do we direct user again to the onboarding to provide incomplete information

Related Request ID(s)
none

What have you already attempted?
implemented express onboarding using java api

cursive heronBOT
#

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

What did you expect to happen?
Add a user as an email recipient in an automation.

What actually happened?
Cannot find the expeced user in the recipient list when configuring the email action in the automation.

Reproduction Steps
- Add a user at the Stripe Organization level.
- Go to a Stripe account in the Organization.
- Go to Settings > Billing > Automation.
- Click 'Create Automation'
- Give a name and select 'Subscription is Cancelled' as the trigger. Then add the appropriate condition.
- Click 'Continue'
- Add 'Email team member' action
- Click on 'Select recipient' dropdown

Question
Why cannot I see the user as a recipient? I noticed that I only can see the team members who were directly added to the each Stripe account but not the team members who were added to the Organization level. According to the following Stripe article SSO should be configured at the Organization level https://docs.stripe.com/get-started/account/orgs/sso.

What are you working on?
Implementing web sales channel for our SaaS product.

cursive heronBOT
#

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

Question
I'm trying to switch our boxing gym customer account from push press to loyalzoo ( we use stripe for both) however pushpress is telling me that they can't send us the secured card information to send to loyal zoo they are also saying that all of our pushpress customers are already saved on stripe since we use stripe for our reaccuring gym memberships so really I'm just looking for a way to send that stuff over to loyalzoo oor idk please halp

Related Request ID(s)
idk man

What have you already attempted?
I kinda layed it all out in the "your question" spot. my bad

cursive heronBOT
#

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

Question
Charges on VBAN after moving to bank transfers.

We received an email from stripe stating that we would be able to create 1000 free VBANs and then would be charged €2 per VBAN creation.

Will this be charged on a recurring basis or this a one-time fee per VBAN creation?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
We migrated to bank transfers in January.

cursive heronBOT
#

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

Question
I am trying to issue a prorated refund when we cancel a subscription however using the `prorate` flag with the `invoice_now` issues a credit balance for the user instead of an actual refund.

Is there a way to issue a prorated refund imidiately when canceling a subscription?

Related Request ID(s)
req_AcWO5A0l54M5b6

What have you already attempted?
The docs seem to suggest to manually issue a refund and adjust the credit balance of the customer, however that too fails because the create refund call requires a chargeId

cursive heronBOT
#

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

Question
This is a best practices question. We currently are using a custom API integration to to automate reporting and payouts to connected. With automatic payouts to our bank enabled whenever we sent a top-up to pay a connect account it just gets sent back, which I understand is by design. If we turn on manual payouts we lose detail on what charges are bundled in the deposit. In addition we cannot control the amount of the deposit (ex. minus the top up amount)? Just a bit confused. What is best practice for this?

Doc/Guide Links
https://docs.stripe.com/api/topups
https://docs.stripe.com/connect/top-ups

What are you working on?
Api connected to our database for automation of accounting and payouts.

cursive heronBOT
#

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

Question
I think the answer is obvious, but I need full assurances from my boss or I'm gonna be in deep doo doo.
We have a platform that supports groups with one off payments and ongoing subscriptions. We initiate a checkout session but redirect to stripe checkout. We use the direct method, so payments are made to connected accounts. We have webhooks set up to listen to certain events like subscription cancellation and payment confirmation.

My boss needs strong confidence that when our app gets turned off, the ongoing subscriptions will not be affected at all. Is that correct?

Related Event ID(s)
N/A

What have you already attempted?
N/A

#

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

Question
We got a sudden increase in our webhook failure rate. And seeing some strange behavior in the dashboard, for example there is a webhook ID that is both in the succeeded and failed columns. It succeeded after a manual retry.

Manual retries of webhooks seem to always work which is curious. Is there some kind of outage.

Idk if its relevant but has seen some strange behavior in the payouts in the dashboard as well.

Related Event ID(s)
evt_1QzOtLLWH9R7HhsvuXX8o9Fi

What have you already attempted?
Manually retrying most webhooks rn, but given the fact that it exists both in succeeded and failed, I'm unsure what the state of the delivery is.

#

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

Question
Is it possible to create a payment_method from a bank account token?

There's an integration with Plaid for ACH: https://plaid.com/docs/auth/partnerships/stripe/ which creates a bank account token in Stripe directly. We have used this integration to get tokens and add them to the customer using the Sources API. However, since this will be deprecated, we need some way to use these tokens to create PaymentMethods to use with SetupIntents in order to save payment information for our customers.

Related Request ID(s)
N/A

What have you already attempted?
I couldn't find a way for this to work, there is a similar question (https://discord.com/channels/841573134531821608/1345107621354668042) but it did not have a clear answer.

#

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

Code
```python
stripe_client = StripeClient(
api_key="fake_key_on_purpose",
max_network_retries=5,
http_client=HTTPXClient(allow_sync_methods=True),
)
```

Question
I want to be able to provide a callable to StripeClient instead of only a string for `api_key`. This would allow me to more easily handle cases where I'm storing the api key in a secrets store, and the key has been rotated during the lifetime of the process. This would work by calling the callable each time the API key is needed, allowing me to invoke the secrets service (or hit a cache) to retrieve the key, automatically getting the updated key as needed.

What have you already attempted?
I've had to work around this by specifying `options` in every call to specify the API key per request.

I wasn't sure whether it is better to make feature requests for SDKs here, or to open an issue on github.

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

cursive heronBOT
#

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

Question
I am using the React Native SDK to capture payments - using paymentSheet to create PaymentIntents, etc.

The payments are successful, however the customer does not get an e-mail with the receipt of the payment.

I am working on "live" mode, the customer has an e-mail address associated with it and I have the customer e-mails options enabled for both payments and refunds. Strangely enough the refund e-mails are sent to customers (although I trigger refunds from the backend).

Any idea of what else I should check to get the receipt e-mails sent?

Related Request ID(s)
req_e4TuAFNfEVlNgk

What have you already attempted?
Originally 'customer e-mails' were not enabled on the dashboard settings, this is now done. I also checked that the e-mail is linked to the customer and that the API calls include the customer e-mail.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/charges#see-also

Question
Confusion about different charge types:
We are building a rental marketplace to connect renters and landlords. As recommended in the official documents, we should use destination charge. But we are also worried about the risk.
Can we start from direct charge and then migrate to destination charge? Is it possible?

What have you already attempted?
Google and reddit to find some reference. No answer.

What are you working on?
A rental market place

cursive heronBOT
#

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

What did you expect to happen?
Payments blocked account blocked

What actually happened?
I sent a payment link to a client, and it show several rejected transactions and block. High risk transactions, and now the account its block.

Reproduction Steps
Appears some message saying its blocked the paymentes.

Question
Kindly, unblock the account to star using it again.
This account exists1 year ago.

#

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

Question
Hi there, our team is working on implementing usage based billing in Stripe. The question I have is specifically about the billing meter configuration for the "Event time window". We're looking at using either the "pre-aggregated hourly" or "pre-aggregated daily" approach as we want to be able to periodically send a total aggregated number to Stripe. Am I correct in assuming there's no way to send a pre-aggregated number for the billing cycle itself (ie. use the last meter event sent in the billing period), similar to one of your legacy options which was aggregate_usage=last_during_period? Thank you in advance.

Doc/Guide Links
Legacy one: https://docs.stripe.com/billing/subscriptions/usage-based-legacy/recording-usage

Meter configuration:
https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#configure-meter

What are you working on?
A SaaS application, part of which is usage based billing for number of form submissions

cursive heronBOT
#

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

Question
I am not seeing any incoming webhooks request in my terminal when I tried to purchase on the test payment link.

Related Event ID(s)
All events

What have you already attempted?
When I tried to use test `stripe trigger payment_intent.succeeded` It showed the requests in my terminal.

cursive heronBOT
#

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

Question
I've tested payments in test mode, and Stripe successfully sends the checkout.session.completed event. I used the same code, webhook endpoint, and made sure to update my API keys and webhook secrets for live mode. In live mode, other events are triggering correctly, but checkout.session.completed isn't. It didn't even try to deliver the event. The event does exist but doesn't show up on the delivered webhook workbench . The payment actually goes through when I check the transactions, but there are no event deliveries for checkout session. What could be causing this, and how can I fix it?

Related Event ID(s)
evt_1QzQOyHQdvLFDecCUZUvUP0y

What have you already attempted?
I have made sure api keys are set differently for live mode, tested different payment methods, tested other events (which worked).

cursive heronBOT
#

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

Question
Last week I asked a question about forcing SEPA payments to complete after a delay in test mode. At the time I was told subscriptions might stay 'incomplete' for a few days with SEPA payments but now I found some test IBANs and I'm observing different behavior than what I was told at the time. Specifically the subscription becomes 'active' right away once checkout completes, even though the SEPA payment hasn't gone through yet. So I just wanted to double check if I misunderstood something from our last conversation. Or is this behavior only the case in test mode?

Related Event ID(s)
evt_1QzSmNInjg0JXg3SEPazGbCE

What have you already attempted?
I used the testing IBANs from this page: https://docs.stripe.com/payments/sepa-debit/accept-a-payment?web-or-mobile=web&payment-ui=stripe-hosted#test-integration
When I enter the 'processing to succeeded after at least three minutes' IBAN, I see the subscription becomes active right away even though the payment is still pending.
This is exactly the behavior I need, but I'm a little worried it might be different in production since we came to a different conclusion last time.

What are you working on?
A subscription service for https://pelicanparty.games/

cursive heronBOT
#

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

Question
https://checkout.stripe.com/c/pay/cs_test_a1qxw9D0ZIc7RRf7MQcGHUE71wbqbAG5a8XRwK07Kob93ofxCI3Dq4orTE#fidkdWxOYHwnPyd1blpxYHZxWjA0VHxDal9DbU9HXWw3ZlBPPWkwNU1vdl1UbWFjY1xQZDI1cz1JNzRTY2o0VjFBTEh1Skh8bW8xbFwyUUY3bHdDVU0zUUNpck9WR2NIbURtc0tqb2dIUTBoNTVOQk00UXxHQCcpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl

Related Request ID(s)
1

What have you already attempted?
I want to implement the localized currency function, but I can't get the corresponding currency display according to the official website, which is still $

stripe checkout sessions create --mode="subscription" --success-url="https://example.com/success" --customer-email="test+location_FR@example.com" -d "line_items[0][price]=price_1Qz9ZdFhJBXi2cUJhDulOIqA" -d "line_items[0][quantity]=1"

What are you working on?
developer

cursive heronBOT
#

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

Question
I have a question about modifying a subscription's billing cycle.
We are using the "Send an invoice" billing method.
Is it possible to change a subscription's billing cycle to start at a specific time?

We want the subscription to activate at the exact moment the open invoice is successfully paid.
Is there a way to achieve this?

Related Request ID(s)
noting

What have you already attempted?
Checked the Stripe documentation, but didn’t find a clear solution for syncing the subscription start time with invoice payment timing.

https://docs.stripe.com/billing/subscriptions/billing-cycle#use-billing_cycle_anchor_config

cursive heronBOT
#

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

Question
In a previous thread, the agent mentioned "ad-hoc" prices that don't clutter the dashboard. However, I noticed in the prices api that there's also a `product_data` field. Does this create similar ad-hoc products that do not clutter the dashboard?

Doc/Guide Links
* Message in question: #1342279612599635989 message
* API Doc: https://docs.stripe.com/api/prices/create?api-version=2024-12-18.acacia#create_price-product_data

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

cursive heronBOT
cursive heronBOT
#

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

Error Message
{
"error": {
"code": "bank_account_unusable",
"doc_url": "https://stripe.com/docs/error-codes/bank-account-unusable",
"message": "The provided IBAN is invalid.",
"request_log_url": "https://dashboard.stripe.com/logs/req_NdDsrFagxOQ6l3?t=1741187266",
"type": "invalid_request_error"
}
}

Question
The IBAN I tried to use the create a payment method for this customer is already being used by this customer on another customer account and it works. Is there a reason why this IBAN is unusable yet it is valid on another customer account?

What have you already attempted?
Not much, tried creating a payment method using the Iban provided for another user and it fails.

Reproduction Steps
On Cloover GMBH account I am trying to consume the same IBAN twice by creating a payment method for different users but apparently it doesn't work.

What are you working on?
I am working on SEPA direct debit. The Iban is used for monthly repayments.

cursive heronBOT
#

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

Question
Stripe checkout payment not coming in balances

Related Request ID(s)
pi_3QzVqsBtY4iG3hhQ16nWkFIG

What have you already attempted?
I made a payment using checkout it is showing in transactions but not showing in balances. since there is nothing in balance, i cannot make payouts

What are you working on?
a B2C platform

#

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

Code
https://pastebin.com/jauuR2kR (whole script example)

```ts
import { stripe } from "@/lib/stripe"

export async function getStripeProducts() {
// Fetch all products that are active
const products = await stripe.products.list({
active: true,
expand: ["data.default_price"],
})
}```

Question
I have the following script which creates the products for stripe, however, when we fetch the product list, some information is missing such as the price of the product.

What have you already attempted?
I've tried digging in to the object and our script to see if we were sending incorrect fields.

cursive heronBOT
#

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

Question
Hey i am using checkout sessions and i want to know is apple pay is supported there or not?

Related Request ID(s)
do not have this

What have you already attempted?
while typing the function signature typescript didn't suggested any type for app pay but it did suggested for card and twint

cursive heronBOT
#

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

Error Message
The app was installed but we could not take you back to WebToffee. Please refresh this page to try

Question
on connecting to stripe via Oauth.
iam using stripe app.
this message got on tried to connect the stripe account using install link.

i am working on webtoffee stripe plugin support

What have you already attempted?
the issue fixed after some time one of my test sites.

but two clients are reported the same issue.

Reproduction Steps
iam using stripe app for Oauth and plugin in my wordpress site.

#

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

Code
$ach_charge_request = [
'amount' => $cents,
'currency' => 'usd',
'customer' => $request['stp_customerid'],
'payment_method' => $request['source'],
'payment_method_types' => ['us_bank_account'],
'off_session' => true,
'confirm' => true,
]

Question
We are using stripe financial connection but while customer is selecting their bank we don't want to give them manual bank option.

What have you already attempted?
I have not tried anything yet just checking APIs, so how can I disable manual bank option in stripe financial connections.

What are you working on?
Removing manual option in stripe financial connections

cursive heronBOT
cursive heronBOT
#

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

Question
I've implemented subscriptions on Stripe with annual billing. All subscriptions renew on January 1st of the following year.

Does this mean that on January 1st, I will receive 2000 simultaneous webhook events for renewal transactions if I have 2000 active subscribers?

If so, what are the best practices to handle this load efficiently?

Related Event ID(s)
evt_1Qrih0IBCwCmYVktZd32uVGF

What have you already attempted?
I have implemented webhook handling for the invoice.paid event, where I record the payment and process the necessary actions within my system.

#

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

Question
Hello, yesterday I asked:
What is the best practice for retrieving the used payment method in Checkout session from the checkout_session.completed event (with GOlang SDK).

I am offering both one-off and recurring line items to customers, so I'm struggling to find an universal way to do it for both scenarios?

I got an answer that subsriptions will also have payment intent, but the thread got closed before I manage to test it.

Now, I tested it out and can confirm that payment intent is nothing but null for subscription checkouts.

event id: evt_1Qza92GSblWe99ue0GfMIQTi

Therefore, is that a bug or just that we need some other way for doing this?

Doc/Guide Links
Previous thread: https://discord.com/channels/841573134531821608/1346885059063447582

What are you working on?
Donations

#

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

Question
I have a question regarding the 3D Secure (3DS) authentication for credit card transactions. Our platform is currently processing payments through Stripe, and I would like to understand if it is possible to disable 3DS for credit card payments.

Related Request ID(s)
null

What have you already attempted?
Radar

#

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

Question
"You cannot provide the `single_use` parameter when using a SetupIntent with a PaymentMethods of type card. Try again with a different payment method, or create a new SetupIntent without `single_use` and try again."

Related Request ID(s)
N/A

What have you already attempted?
have tried reading docs but there seems to be no docs which state, which payment method support single use and which dont

cursive heronBOT
#

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

Question
`checkout.session.completed` events have stopped including the `shipping` key.
Last event including the `shipping` key was on Feb 27th. The next I received was on Mar 4th, which did not have the `shipping` key.
Both events are the same `api_version`.

Example
```
"id": "evt_1Qyv8UKv7D1WGqpsbN7vOqef",
"object": "event",
"api_version": "2020-03-02",
"created": 1741093430,
```

Related Event ID(s)
evt_1Qyv8UKv7D1WGqpsbN7vOqef

What have you already attempted?
I will handle the missing key in my code. But Stripe should not remove a key when the `api_version` remains the same.

#

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

Question
Hi. Has anything changed related to how payment methods are attached to customers?

Since last night, we started getting an intermittent issue where some new customers purchase a subscription from our website and their payment method is not attached to their customer account. This prevents us from setting that payment method as the default payment method of the subscription; `stripe.Subscription.modify()` returns this error:

```
The customer does not have a payment method with the ID pm_xxx. The payment method must be attached to the customer
```

I'd say 1 in 20 customers have this issue.

Related Request ID(s)
req_5W4xkvQUZVR1M8

What have you already attempted?
We've been using this Stripe integration for 3 years without issues.

I've doubled checked the payment method IDs that appear to be missing. All of them exist and appear on the payment intent pages, but they don't appear on the customer pages.

I'm assuming Stripe automatically attached the payment method of the first successful payment to the customer account, and for some reason it didn't do it for our affected customers.

What are you working on?
Educational B2C apps with auto-renewing subscriptions

#

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

Question
We noticed a customer subscription was automatically canceled, but the related invoice payment succeeded after the cancellation. and now the subscription is in cancelled state. Could you help me understand why this happened and what steps I should take to resolve future issues like this?

Related Request ID(s)
subsciption id: `sub_1QRbzZKk6Qk5jHuWpUzBRmT1` payment id: `pi_3QyFqYKk6Qk5jHuW0PFYFRgD`

What have you already attempted?
-

cursive heronBOT
#

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

Question
We've implemented the Express Checkout Element (https://docs.stripe.com/js/elements_object/express_checkout_element_confirm_event)Confirm Event as detailed in the Stripe documentation. BUt the payment was not completed.

Could you advise if there are any further steps required on our side?

Related Request ID(s)
https://docs.stripe.com/js/elements_object/express_checkout_element_confirm_event

What have you already attempted?
https://docs.stripe.com/js/elements_object/express_checkout_element_confirm_event

#

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

Question
Is it possible to issue an invoice, receive payment and then create a subscription?

What I want to achieve:

  1. Issue an invoice for Product A.
  2. Receive payment for Product A.
  3. Add Product A to a subscription and start the contract.

Related Request ID(s)
noting

What have you already attempted?
noting

#

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

Code
const checkoutData: StripeClient.Checkout.SessionCreateParams = {
invoice_creation: {
enabled: true,
},
mode: 'payment',
line_items: [
{
price: marketItem.stripePriceId,
quantity,
},
],
payment_intent_data: {
transfer_group: code,
},
allow_promotion_codes: true,
success_url: getPaymentSuccessURL(provider.slug ?? provider.id),
cancel_url: getPaymentFailureURL(provider.slug ?? provider.id),
}

Question
I'm building a Marketplace, meaning professionals are selling services to customers on my platform. Some of them asks to handle tax collection. I've got their VAT number and added some TaxIDs via the API. However, I cannot set which TaxID to use at checkout level. How am I supposed to do this ?

Worth mentioning they have Express connected accounts, and WE handle the money in the middle and do differed payouts

What have you already attempted?
I couldn't get anything working, the checkout API does not mention any type of custom tax id for a specific checkout

What are you working on?
B2B/B2C SaaS with a Marketplace

cursive heronBOT
#

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

Question
How does 3dsecure work with raw card data api? I can see how the raw card stuff works in https://docs.stripe.com/api/tokens/create_card?lang=php but I cannot find any documentation on how 3dsecure is handled when doing transactions in this way.

Related Request ID(s)
https://docs.stripe.com/api/tokens/create_card?lang=php

What have you already attempted?
Nothing yet, we are exploring which implementation would be best for our needs.

What are you working on?
Accepting payments on customer website

#

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

Question
Hi, I am in the business of processing bill payments, and I use Stripe custom payment to process payments. Now I need to integrate tax into custom payment, but I don't know whether I should create tax transactions before confirming payment or after confirming payment?

Related Request ID(s)
none

What have you already attempted?
https://docs.stripe.com/api/payment_intents/create
https://docs.stripe.com/api/payment_intents/confirm
https://docs.stripe.com/tax/custom#tax-transaction

#

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

What did you expect to happen?
I recently note that some subscriptions get cancelled from Stripe without reason. I am not the only memeber of the Stripe account but anyone syas that have not doe anything.

What actually happened?
Subscriptions cancelled on my test environment. Currently on the code I dont have any API that cancells a subscription.

Reproduction Steps
I will send you the link to subscription

Question
Why subscription was cancelled?

#

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

Question
is there an API to send it in theyre currency? like default for me is usd, is there a way for them to select what they want to pay in and have it always it transfer to usd?

Related Request ID(s)
not sure

What have you already attempted?
i search online but couldnt find anything like what im asking

What are you working on?
just a lil donation website for fun. nothing insane https://dznv.store

#

@noble citrus 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/accounts/object

Question
For my connected accounts I want to listen to account.updates in order to get their company name, company address and VAT/tax number, so we can save in our system too.

Is this the correct way to get that info or is it somewhere else or not even possible?

What have you already attempted?
I tried using stripe CLI and also on some production accounts, but it doesn't seem it's available on the accounts I tried.

What are you working on?
A SaSS platform and we need to be VAT compliant, so we need to get company address, company name and VAT number

#

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

Question
I’m sorry for not responding earlier, and the chat was closed before I could follow up.

I’d like to ask again about issuing an invoice first and then creating a subscription after the payment is received.
The reason is that I want the subscription start date to be the exact date when the payment is received.

Related Request ID(s)
#dev-help message

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/billing-cycle#use-billing_cycle_anchor_config

#

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

Question
Hello everyone,
I'm new to this Discord, so I'll try to familiarize myself with the proper practices.
I offer 6-month or 12-month subscriptions. Payments are made every month.
Before the end of the subscription (in the 5th or 11th month), I'd like to send a reminder to the customer.
How do I list subscriptions due to expire in less than a month?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/list?lang=php
https://docs.stripe.com/api/subscription_schedules/list?lang=php
https://docs.stripe.com/search#query-fields-for-subscriptions

What are you working on?
PHP code to list subscriptions close to their end date

#

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

Question
Hi do you know if Paypal's "pay in 3" installments should still work fine if they choose to pay via paypal through stripe? I presume it's unaffected by stripe as it happens Paypal's end but our client would like to know for sure as they advertise the "pay in 3" on their website

Doc/Guide Links
https://dashboard.stripe.com/settings/payment_methods/

What are you working on?
ecommerce website

cursive heronBOT
#

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

Code
const checkoutData: StripeClient.Checkout.SessionCreateParams = {
invoice_creation: {
enabled: true,
},
mode: 'payment',
line_items: [
{
price: marketItem.stripePriceId,
quantity,
},
],
payment_intent_data: {
transfer_group: code,
on_behalf_of: provider.stripeAccountId,
},
customer_update: {
address: 'auto',
name: 'auto',
},
automatic_tax: {
enabled: true,
liability: {
type: 'account',
account: provider.stripeAcc

Question
#dev-help message

Following-up on the previous thread, I added a on_behalf_of for the checkout to be linked to my Sellers express account. However, there is still no way to link it to a given Tax ID. I created it via API and linked it to the seller account (txi_1QzckeHPaGMkP9RVbexOHF0z) but Stripe keeps saying no tax is being applied

What have you already attempted?
Attempt explains above

cursive heronBOT
#

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

Code
let collectConfig = try CollectConfigurationBuilder()
.setUpdatePaymentIntent(true)
.build()

        self.collectCancelable = Terminal.shared.collectPaymentMethod\(paymentIntent!, collectConfig\: collectConfig\) { collectResult, collectError in
            if let error = collectError {
                
                
                // cancel button pressed by the user
                print\("collectPaymentM

Question
In our ios app we are using stripe terminal sdk version 3.0 while entered the above 1000 not able to proceed collectpayment method

we have following the below document
https://docs.stripe.com/terminal/payments/collect-card-payment

What have you already attempted?
collectPaymentMethod failed: Error Domain=com.stripe-terminal Code=5000 "An unexpected SDK error occurred." UserInfo={NSLocalizedDescription=An unexpected SDK error occurred., com.stripe-terminal:Message=An unexpected SDK error occurred.}.

What are you working on?
developing app

cursive heronBOT
#

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

Question
I'm trying to figure out how to set up a subscription, using the python API `stripe.checkout.Session.create` that uses phases.
In phase 1, a "initial" phase price will be used. This should last for 3 months. After that, it switches to a recurring 3 month subscription.

I've used the API to update the subscription schedule directly with phases, and that works, but ideally I'd like to set the subscription up initially instead of after the fact, if that makes any sense. I don't see any way to associate the schedule with the subscription before the initial payment is taken.

What is best practise? Should I just use items corresponding to phase 1 then alter the sub after?

Doc/Guide Links
https://docs.stripe.com/api/prices/object?lang=python
https://docs.stripe.com/api/checkout/sessions/create?lang=python
https://docs.stripe.com/api/subscriptions?lang=python
https://docs.stripe.com/api/subscription_schedules?lang=python

What are you working on?
Building a health subscription app.

cursive heronBOT
#

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

Question
Does allowed_countries ["US"] include Puerto Rico?

Related Request ID(s)
n/a

What have you already attempted?
I only allow purchases from the US, specifically, the 50 US states.

Recently, we had a purchase from Puerto Rico that was not blocked. The state on the shipping address was listed as "Puerto Rico" and the country as "US".

In our checkout session we create on the backend, we use:

```
shipping_address_collection: { allowed_countries: ["US"] }
```

Since PR is explicitly listed as country in this enum list: https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-shipping_address_collection -- I would have expected shipping to PR to be blocked. But it wasn't.

What are you working on?
Ecommerce site for hardware/software purchase

#

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

Question
how can I handle onboarding process for my vendors/connectors?
My target vendors are individual person and not organisation or business entity, but in onboarding process Stripe is asking business details like business name and website. that should be not asked

Related Request ID(s)
my vendors are using, stripe handled onboarding for vendor registration. I created link using accounts.create method in Node.js and pass them

What have you already attempted?
I have found onboarding question but not any option to remove Input field of business details

What are you working on?
I am creating app that basically gives empty space on rent for vehicle parking. so any individual want to give his space on rent they are registered through stripe connect

#

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

Question
Hello, i am working on a project and m'y client want to regularize some customer payment, and hé wants me to send payment links with a unique product and the amount they need to pay, i tried the payment link api but it need a price and price need a product si i wantd to know what's the best way to create a one time product and price

Doc/Guide Links
I have read the docs about payment links price and product

What are you working on?
Plateform that collect payment and transfer them to connect account

#

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

Question
Typically, when our users collect payments through the Stripe gateway, we specify the amount and decide whether the convenience fee should be charged to the payee or the payer. We need to manage this through the Checkout Session API.

Is there an option to control this within the Checkout Session API?

Related Request ID(s)
sco_Rt1fUsxldYAr4Q

What have you already attempted?
We have tried to get the answers for the above questions from our platform account dashboard, and we have also gone through all the documentation.

What are you working on?
We are building the product

#

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

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

Question
Hello, we are planning to start introducing subscriptions via stripe and I am looking for the documentation of the webhooks that get fired when subscriptions are paid, failed to be paid etc.

Essentially I am looking for:
Payment Complete Webhooks
Payment Failed Webhooks
API's to start/stop the subscriptions

If possible, I would also like to know if there is an option to set reminders X days before a subscription is due to be paid and sending emails to the users. This can be either via a webhook sent to us and we trigger an email or automatic via stripe

What have you already attempted?
So far we are only in the documentation stage to see the capabilities in stripe of this system

What are you working on?
A subscription system with no trials

cursive heronBOT
#

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

Question
I am currently creating a checkout process that is limited to us_bank_account as the only payment method. Is there a way to disable Link as an option from the API for this?

I cannot disable this on my dashboard as my server will also create other checkouts that DO take advantage of Link. I am looking for a way in the API to specify that my US_Bank_Account flow only allows ACH.

Related Request ID(s)
NA

What have you already attempted?
I've tried to see if there are any parameters I can add to the checkout to disable the presentation of Link. But no luck.

What are you working on?
Donation Processing Platform

#

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

Code
const { error } = await stripe.confirmPayment({
elements,
clientSecret: "xxxxxx",
confirmParams: {
return_url: `${window.location.origin}/xxxxxxx`,
payment_method_data: {
allow_redisplay: 'always',
billing_details: {
name,
email: state?.billingAddress?.email,
phone: ' ',...

Question
allow_redisplay: 'always', is not set on the payment method. allow_redisplay is set to "unspecified"

What have you already attempted?
I tired on <element>options and it works. But we have production code where we set allow_redisplay: 'always' at stripe.confirmPayment

What are you working on?
Trying to show existing payments using customer session on PaymentElement.

#

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

Question
Need to show Pan Sequence number in receipt

Related Request ID(s)
a

What have you already attempted?
in the receipts we usually see Pan sequence number and wanetd to know if we have pan sequence number in stripe and issuing ?

#

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

Question
Is it possible to attach the same metadata from a Subscription, to the Payment Intent linked to it?

Related Request ID(s)
req_sopmjNxTIEtdRq

What have you already attempted?
did not find clues on API Docs

#

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

Question
trying to request date of birth on the VerificationSession expand parameters. I see below error, how should I change the access?

PermissionException: To access sensitive verification results, configure a restricted API key with appropriate permissions. Learn more here: https://stripe.com/docs/identity/access-verification-results.; request-id: req_QjTNVcGAxScSMM

Related Request ID(s)
req_QjTNVcGAxScSMM

What have you already attempted?
ID verification

cursive heronBOT
#

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

Question
My company has an app that supports clubs with one off events and memberships. We power this with Stripe using the Direct method.

My company has a number of connected accounts that represent our clients. When we sign up new members, we send them to stripe checkout with a small application fee to our account.

We are discontinuing our product but want the clients to be able to continue their memberships. However, we need to stop charging the application fee on membership renewals.

How do I update all the subscriptions for all connected accounts to remove our application fee?

Related Request ID(s)
N/A

What have you already attempted?
Reading docs

What are you working on?
.

#

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

What did you expect to happen?
Invoice to be created

What actually happened?
Invoice failed to be created, returning error "Nothing to invoice for customer". req_UJwIPMDo9pjONb

Reproduction Steps
Create placeholder invoice item, then attempt to create an invoice.

Question
What is causing this invoice to fail? We are able to successfully use this process for other customers.

#

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

Question
Setup intent failing randomly in connect accounts. We only see this issue for some banks/cards and are unable to deduce a pattern.

Related Request ID(s)
evt_1QzD8aFXh1jGzFlZoInzWxll

What have you already attempted?
Trying to set 3DS via Radar rules.

What are you working on?
We have a payment workflow whereby the first step is to create a charge and then create a subscription based on customer's input

#

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

Code
We have done setting in Billing. That if card pament fails then it will retry . So i want to know how many retry is still remaining.

Question
We have next_payment_attempt which give next date but I want how many attempts are remiang.

What have you already attempted?
$event->data->object->next_payment_attempt

What are you working on?
invoice.payment_failed Webhook

cursive heronBOT
#

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

Question
how can I handle onboarding process for my vendors/connectors?
My target vendors are individual person and not organisation or business entity, but in onboarding process Stripe is asking business details like business name and website. that should be not asked

Related Request ID(s)
my vendors are using, stripe handled onboarding for vendor registration. I created link using accounts.create method in Node.js and pass them

What have you already attempted?
I have found onboarding question but not any option to remove Input field of business details

What are you working on?
I am creating app that basically gives empty space on rent for vehicle parking. so any individual want to give his space on rent they are registered through stripe connect

#

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

Question
I have installed the Forminator plugin and built a form, but am having trouble getting the API keys to work.

Related Request ID(s)
None.

What have you already attempted?
In trying to connect Stripe to Forminator, I have no problem with the live publishable API key, live restricted API key and test publishable API key, but I continue to get an error when I fill in the test restricted API key. I have created several restricted API keys, but still get an error.

cursive heronBOT
#

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

Question
Is it possible to combine a payment and a bank imprint?

Related Request ID(s)
Payment Intent

What have you already attempted?
We're in the process of setting up a car rental site, and our customers have asked us for a bank imprint that extends... At the detriment of a deposit. Our route allows you to initialise the payment but not to initialise the payment and validate the bank imprint because no card is linked for the bank imprint as it will be entered when the payment is made. One of the solutions we have found is to initialise the bank imprint on receipt of the payment confirmation with the payment session variable which is used to retrieve the customer's card.

What are you working on?
building a car rental site

cursive heronBOT
#

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

Code
What is different between Partial Refund & Partially Reversed

Question
What is different between Partial Refund & Partially Reversed

What have you already attempted?
What is different between Partial Refund & Partially Reversed

#

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

Code
for (const subscription of subscriptions) {
const organizationId = subscription.organization_id
const stripeSubscriptionId = subscription.stripe_subscription_id

  // Get the subscription items from Stripe
  const stripeSubscription = await stripe.subscriptions.retrieve\(stripeSubscriptionId\)
  const subscriptionItem = stripeSubscription.items.data.find\(\(item\) =\>
    item.price.lookup\_key?.startsWith\("api\-usage"\),
  \)

Question
In regards to a subscription model that utilizes the following format:

base subscription, say $5.99/month, with 1 default seat, $5.99 per additional seat, and a charge for overage with usage, what is the best way to handle that in the least messy way?

What have you already attempted?
Creating different line-item types and iterating over it, but that seems unmaintainable long-term.

#

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

Question
trying to understand how can I use topups to fund the payouts for Connected accounts.
In test account, I created a topup and added some money. It is showing in pending state.
When I try to add funds to a Connected account, I was expecting to see the funds coming from topup but did not.
what am I missing? Is it because the topup account is still showing pending state?

Related Request ID(s)
none

What have you already attempted?
https://docs.stripe.com/connect/top-ups

cursive heronBOT
#

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

Question
Is there a way for me to, via the python api, get the account id of the account whose stripe key I'm currently using? Example: I have my pk_test_key and I've instantiated an instance of stripe with it, is there a call I can then make to see my own acct_id?

Related Request ID(s)
no req id available

What have you already attempted?
Looked in the docs at the Account class and I see no easy way to view account info for the account I'm currently using the api key for

#

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

Question
How can I test the payment_method.automatically_updated event? I don't see a way to trigger it in test mode.

Related Event ID(s)
N/A

What have you already attempted?
Looked through the docs but don't see anything there

What are you working on?
Payment integration

cursive heronBOT
#

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

What did you expect to happen?
I was creating a price and using `product_data` to create ad-hoc products. I expected them to not be visible in the dashboard based on similar logic as explained in this message: https://discord.com/channels/841573134531821608/1347030947840790650

What actually happened?
The products were all visible in the dashboard.

Reproduction Steps

  1. Create a price with `product_data` specified

Question
Is there not a way to create ad-hoc prices and products that don't display in the stripe dashboard? Similar to that thread that is linked above, I need to manage these products and prices programmatically in limited circumstances, and I don't want them cluttering my stripe dashboard.

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

#

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

Question
I need to populate a new test database with all of my test data. When I set up a new webhook to point to the new server, how do I tell Stripe to resend all products, customers, prices, etc?

Related Event ID(s)
n/a

What have you already attempted?
google, stackoverflow, stripe docs

What are you working on?
Building a new PaaS tool

cursive heronBOT
#

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

Question
On our integration, we have a cancellation process, but sometimes a customer can delete this cancel on subscription and update the subscription to another price, is there anything to do with "no upcoming invoices" error?

Related Request ID(s)
req_0NIxXuRoQbKlCl

What have you already attempted?
I tried to simulate without specifying the subscription on params, but we dont want to do the calculations on our side

What are you working on?
Our Checkout Preview on a subscription with cancellation scheduled

cursive heronBOT
#

@undone 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/api/events/types#event_types-payout.reconciliation_completed

Question
We would like to configure Connect Accounts without dashboard access to payout once a month using the settings.payouts.schedule. For a manual Payout we listen for the payout.paid event to know when a Payout posted. Would we listen for payout.paid to know when an automatic Payout posted or would we listen for the payout.reconciliation_completed event?

What have you already attempted?
I read these docs:

  1. https://docs.stripe.com/api/events/types#event_types-payout.reconciliation_completed

  2. https://docs.stripe.com/api/events/types#event_types-payout.paid

  3. https://docs.stripe.com/api/accounts/object#account_object-settings-payouts

  4. https://docs.stripe.com/connect/payouts-connected-accounts#payout-information

What are you working on?
I'm building a Payout index page to show a list of Payouts and their status.

cursive heronBOT
#

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

Question
How to determine payment method for a newly created subscription?

In my sandbox account, I created a new subscription and selected an existing payment method but when I look at the customer.subscription.created event, the default_payment_method and default_source are both null, which normally would be filled but currently isn't so im wondering what should I do in this instance to determine the subscription's payment method if both of these fields are null?

Related Event ID(s)
evt_1QzmK3Rl1VoroYBmm4nALAx9

What have you already attempted?
tried recreating the subscription. If I add a new payment method, the defaul_payment_method will show but if I use an existing card to pay for a new subscription, it is empty.

What are you working on?
Maintaining data in our system.

#

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

What did you expect to happen?
Creating a Stripe Subscription for two different users should have almost identical results, considering they're subscribing to the same product and price belonging to the same Connected account. Both subscriptions are created by the payment element.

What actually happened?
The resulting payment intent (associated with the invoice, generated by the new subscription) has `setup_future_usage` set to `off_session`, while the other one has `setup_future_usage` set to `null`.

Reproduction Steps
Unknown - we're not sure what the difference between both users is . The only difference between both resulting payment intents is that one where the field is null can accept `afterpay_clearpay` whereas the one that works well supports the exact same payment methods but not `afterpay_clearpay`.
When the field is null, the payment intent confirmation fails later.

Question
Why do some of the payment intents generated by Stripe Subscriptions not always have the same value for `setup_future_usage` even when users pay with the same payment method type during checkout and attempt to subscribe to the same product and price?

What are you working on?
A storefront for customers connected via Stripe Connected Account

#

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

Question
how to resolve this stripe error

Related Request ID(s)
Status is:402

What have you already attempted?
Status is:402 Type is:invalid_request_error Code is: Param is: Message is:Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see

What are you working on?
stripe api with php

cursive heronBOT
#

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

Code
Possible to masks CVC in react native sdk?

Question
Possible to masks CVC in react native sdk?

What have you already attempted?
Possible to masks CVC in react native sdk?

What are you working on?
Application for app store

cursive heronBOT
#

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

Question
I am trying to use Stripe Connect with the Connect embedded components, I am able to use the onboarding embedded component just fine. However the account-management and notification-banner components do not seem to show up, removing the HTML elements. I am using the same account session logic to make them appear.

Related Request ID(s)
req_YgboaZ9bbdFFbk, req_LuN0gzHR5TVm4F

What have you already attempted?
I've attempted logging for errors for the components with the `setOnLoadError` method, however I get nothing. I have looked at:
https://docs.stripe.com/connect/get-started-connect-embedded-components
https://docs.stripe.com/connect/supported-embedded-components/account-management

What are you working on?
Ticketing platform with payouts to event organisers

cursive heronBOT
#

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

Question
I’m looking to keep my database in sync with certain properties from my Stripe subscriptions. Specifically, I need to track updates to the following fields:
• status
• current_period_start
• current_period_end
• cancel_at_period_end

What webhook events should I listen for to ensure I capture all relevant updates to these fields?

Would subscribing to all customer.subscription.* events be sufficient, or do I also need to include other event types, such as invoice.* events? I want to make sure I account for all possible changes that affect these fields in subscription objects.

Related Event ID(s)
N/A

What have you already attempted?
The docs list out common events for dealing with subscriptions here: https://docs.stripe.com/billing/subscriptions/webhooks. However, I can't find a definitive answer for my specific question.

#

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

Question
I want to to periodically charge customer credit cards for product subscriptions. I have read that this is possible using the Subscription objects Stripe provides, but my organization would prefer to "manually" execute charges, by create/confirming PaymentIntent objects each time, as part of some batch script.

Is this possible by registering PaymentMethods using SetupIntents (usage: off session), and PaymentIntent objects in the batch scripts? Are Checkout Sessions also required in this case?

Related Request ID(s)
none

What have you already attempted?
Checked documentation for setting up future card payments https://docs.stripe.com/payments/save-and-reuse-cards-only?platform=web&payment-ui=stripe-hosted#retrieve-setup-intent

I have a separate system in which I use Setup Intents to save credit cards, and then Payment Intents to execute payments, but here all transactions are on session. I'm wondering if I can basically use the same flow for my new system that requires subscription payments, or whether I need to introduce Checkout Session objects.

What are you working on?
A system that has subscription and one off payments, using cards that are registered in advanced. My company wants to execute periodic payments "manually" via their own batch scripts.

cursive heronBOT
#

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

Error Message
i claimed github student offer, where i dont pay fees for first 1000 usd?

why am i paying for fees still?

Question
why am i paying for fees still?

What have you already attempted?
ive tried researching

Reproduction Steps
umm claim it and then get paid?

What are you working on?
a donation platform

cursive heronBOT
#

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

Question
regarding Stripe express connect onboarding. We listen for 'account.updated' webhook event:
What conditions do we check to determine:

  1. the onboarding is still in progress
  2. the onboarding is complete and successful
  3. the onboarding failed and we need to direct the user again to onboarding

Related Request ID(s)
none

What have you already attempted?
Stripe Express Connect onboarding using java api

#

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

Question
Subscription is not getting charged due to card authentication issues

Related Request ID(s)
req_a9eqxtJEk8QM49

What have you already attempted?
Cloned a payment method from platform to connect and then tried creating a subscription

What are you working on?
We are planning on migrating some of our European customers from our platform account to our connect account and we are running into some payment authentication issues.

cursive heronBOT
#

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

Error Message
Please enter a bank sort code that supports transfers to and from your account

Question
One of our custom connected accounts is linked to an external account. We passed the account number and routing number (sort code) to Stripe via the API and received the error message above. However, we confirm that the account number and sort code are correct. Could you please help us identify the reason for this issue, or let us know if we need to provide more info

What have you already attempted?
I have reviewed some Stripe documentation, but there is no definitive answer.

#

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

Question
I'm creating a payment intent and trying to confirm it on the frontend, but get the error: The type of the provided PaymentMethod (pm_xxxx) is link. This does not match the expected type card. Try confirming with a PaymentMethod of type card.

Related Request ID(s)
req_q2XkhrYaALLs8n

What have you already attempted?
I tried using automatic_payment_methods.enabled = true and it should be able to use link? but for some reason the "expected_payment_method_type": "card"

What are you working on?
Payments for fitness studios

cursive heronBOT
#

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

Question
I am developer of stripe wordpress plugin there is an option to connect to stripe using link from plugin to stripe dashboard. We hosted an app named Webtoffee in stripe dashboard. when click on the link it should install that app and redirect to some URL which i pass as redirect_uri but the app got installed but redirection fails.

Related Request ID(s)
stripe_apps

What have you already attempted?
Link used : https://marketplace.stripe.com/oauth/v2/authorize?client_id=**********&redirect_uri=https%3A%2F%2Fverify-stripe.webtoffee.com%2Fwp-json%2Fwt-stripe%2Fv1%2Foauth&state=***************&scope=read_write

cursive heronBOT
#

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

Question
I'm currently working with my team to integrate with Stripe PaymentRecords. Today, when attempting to `POST /v1/payment_records/report_payment`, we started to see the error `Missing required param: processor_details`.

Where can I get more details on this new required parameter?

Related Request ID(s)
req_mmqH3HTI1j5jTs

What have you already attempted?
* Followed the guide: https://docs.stripe.com/billing/subscriptions/bring-your-own-processor#record-payment
* Searched Stripe's OpenAPI Spec: https://github.com/stripe/openapi

What are you working on?
Integrating my company's ecommerce system, Stripe, and our new HSA/FSA processing vendor.

cursive heronBOT
#

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

Code
var token = await Stripe.instance.createToken(
const CreateTokenParams.card(
params: CardTokenParams(
name: "test",
address: Address(
line1: "abc",
line2: "xyz",
city: "Alpha",
state: "Beta",
country: "xy",
postalCode: "237482",
),
currency: "ab",
type: TokenType.Card,
),
),
);

Question
How to create card token in flutter and send that token to backend via API

What have you already attempted?
Token generates but without card details

What are you working on?
i have a booking app and accepting payment from app

cursive heronBOT
#

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

Question
To have the greatest chance of triggering a 3DS2 challenge when confirming a setup intent, is usage=off_session enough? Will it make a difference if payment_method_options.card.request_three_d_secure is also set to "challenge"_

Related Request ID(s)
none

What have you already attempted?
I've read 3DS Mandate in Japan > What should I do if I want to collect card information from customers in advance and bill them later? (https://support.stripe.com/questions/3ds-mandate-in-japan) and https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds
and they both suggest these two different ways to cause a challenge flow. Is one more effective than the other? should I do both just in case?

What are you working on?
A web service that will need off session subscription payments, to be executed by staff not customers

#

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

Question
My best practices question is around transfer of fees and funds from platform to connected account and vice versa in Stripe Connect.

We operate on what is called a "net receipts" with our connect account partners, meaning we need to withdraw tax and any other fees occurred before we do a revenue split.

From what I've gathered we can achieve this the transfer reversal API. My question is:

Would doing a transfer reversal after checkout session is complete for our application/platform fee have the same effect as specifying it on the create checkout session object? As in funds en in the same places?

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

What are you working on?
A marketplace for buying tabletop role-playing books within Quest Portal VTT. Books are delivered into the platforms digital reader.

cursive heronBOT
#

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

Question
Need to know to how restrict data line items in API payload

Related Request ID(s)
po_1QujhTJLAdhVHE0c3eWZ8tB4

What have you already attempted?
We are using balance transaction api and we have expanded that to get few more data but we dont want all data attributes in that payload.

What are you working on?
Automating payout integration

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription

Question
How does the process look like if the payment fails?

Since the subscription was already created before the intents have been confirmed i am wondering what happens to the subscription which has been created

What have you already attempted?
-

#

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

Code
Installing StripeTerminal 4.1.0 (was 2.17.1)

in our ios project we have use above sdk

Question
we have use older version 3.0 the payment get thorough card reader device above 1000 pound got an error so we upgrade our sdk version 4.1.0 got an error

What have you already attempted?
using version 3.0

collectPaymentMethod failed: Error Domain=com.stripe-terminal Code=5000 "An unexpected SDK error occurred." UserInfo={NSLocalizedDescription=An unexpected SDK error occurred., com.stripe-terminal:Message=An unexpected SDK error occurred.}

got above error

What are you working on?
app developpment

#

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

Question
A customer had a subscription and tried to downgrade his number of seat. He tried to pay with SEPA but it failed and subscription got cancelled, why ? + after the fail, SEPA is now in "pending"

Related Event ID(s)
.

What have you already attempted?
We have a complete custom logic that handles the SEPA transaction pending payment

What are you working on?
saas

cursive heronBOT
#

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

Question
I'm building an accounting platform and we need to pull in balance transactions from stripe and create correct journal entries from them. We are facing a couple of issues that I'd like some guidance on.

  1. We only process transactions that are not pending however in order to know when transactions have changed status we're querying for a time window of 14 days. Is there a better way to know when a transaction changes state?

  2. I'm thinking to sync the transactions using the "starting_after" cursor and keeping a reference so each time I query I'm not getting repeated transactions. Is it safe to assume new transactions will not be added before the latest transaction?

Doc/Guide Links
https://docs.stripe.com/api/balance_transactions/list

What are you working on?
An accounting platform

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/supported-embedded-components

Question
Hi, we are reading the documentation for the Stripe Terminal and Stripe Connect service and understand that the device can be associated with the linked account. Are there any enbedded connect dashboards that allow me to retrieve and make visible previously associated devices?

What have you already attempted?
We have previously consulted the following documentation: https://docs.stripe.com/terminal/features/connect
https://docs.stripe.com/terminal/quickstart?reader=wpe

What are you working on?
We want to create an interface where we can display the list of all devices associated with the Stripe connected account

cursive heronBOT
cursive heronBOT
#

@surreal monolith 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/invoices

Question
I need clarification on invoicing application_fees applied to payments sent to connected accounts.

Can Stripe generate these invoices, or do we need an external solution?
Is it possible to use Stripe Invoicing to automate commission invoicing, or must we generate documents ourselves?

What have you already attempted?
Nothing, prospecting

What are you working on?
Marketplace

#

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

Question
I'm getting a "This promotion code has been used up." from the API. However, that doesn't seem to be the case, since the coupon has not been redeemed even once. Can you please help me out to unrderstand the issue?

Related Request ID(s)
cus_RrkBaGuKJWdAPr, promo_1Qz0gsGXtcqHgDW8iJYyBxsy, req_tVZxZB4336dXrf

What have you already attempted?
Debug
Recreate the coupon and try again
Check if the coupon is available on both of our accounts (German and US entities)

What are you working on?
Customer is trying to subscribe with a 50% coupon code

cursive heronBOT
#

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

Question
Hi
I am trying to refund a invoice which credit note. But there is an error which I am not able to understand,

The error is

Request req_3U42R3GxZmHxtW: The sum of credit_amount, refund_amount and out_of_band_amount ($1,100.01) must equal the credit note amount ($851.05) on a paid invoice.

Related Request ID(s)
https://dashboard.stripe.com/test/workbench/logs/req_3U42R3GxZmHxtW

What have you already attempted?
Reading docs and trying to figure where $ 851.05 come from

#

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

Question
We have the following setup:

  1. A customer pays a one-time setup fee through a checkout session, where we set the payment method to be saved for off-session purposes.
  2. We asynchronously verify the customer’s identity, and upon verification, start a subscription for them off-session.

This subscription will include a flat price and an overage price explained in the relevant docs. (overage model)

We are looking for ways to provide a first month free coupon / trial opportunity, where they do not have to pay for the first month's flat price, but (to prevent abuse) they do have to pay for the overage.

What approaches are available for us?

Doc/Guide Links
https://support.stripe.com/questions/what-is-the-difference-between-on-session-and-off-session-and-why-is-it-important
https://docs.stripe.com/billing/subscriptions/coupons
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#fixed-fee-overage

What are you working on?
First month free subscription with overage model

cursive heronBOT
#

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

Question
It is possible to set `current_period_start` in the past?

Related Request ID(s)
req_HELWrGQQ6yyMrS

What have you already attempted?
I successfully set `backdate_start_date` in the past. But `current_period_start` start on the creation date of subscription.

What are you working on?
My app code relays `current_period_start` to determine if some actions cane be made.

cursive heronBOT
#

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

Question
False positive `terminal_reader_timeout`: In your documentation (here: https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#reader-timeout) you mention two timeout cases. In the second case on that page, what will happen if we retry the call?

Related Request ID(s)
req_Hc2DA1W9JDtz4W

What have you already attempted?
WE did not have retry in place and simply captured the transaction manually afterwards.

What are you working on?
Merchants using Stripe terminal

cursive heronBOT
#

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

What did you expect to happen?
on this payment (pi_3QwqyEDfcmTYbu9Y2WYPHdxC) we expected it to also have transfer associated. But for some reason it is not associated.

What actually happened?
The transfer is not associated onto that payment mentioned and because of that when we try to do refund it fails with error saying

Reproduction Steps
not sure how we have that payment like that.

Question
while refunding this is the error we see in stripe and after seeing the error we got to know that transfer is not getting associated.

"message": "Cannot reverse transfer on charge py_3QwqyEDfcmTYbu9Y2wvTe6f6 because it does not have an associated transfer."
"type": "invalid_request_error"

What are you working on?
Stripe API Integration Improvement and Maintainence

#

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

Question
Does Stripe have an Element to manage saved payment methods (outside of checkout)?

Related Request ID(s)
none

What have you already attempted?
Nothing, just looking for some guidance before making a decision

What are you working on?
An ecommerce app that uses the PaymentElement in the checkout. Now I want to create a "Manage Saved Payment Methods" sections for my customers.

cursive heronBOT
#

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

What did you expect to happen?
I would've expected existing subscriptions to have access to newly created entitlements, as long as the subscriptions has the product.

What actually happened?
I just updated the subscription and added a few trial days, and suddenly they were there.

Reproduction Steps
Create a new subscription, create a new feature, and list all entitlments for the customer.

Question
Is there a way to easily make sure all existing customers get newly created features/entitlements?

What are you working on?
SaaS for UGC servers

cursive heronBOT
#

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

Question
We have a checkout page where we create an order, a stripe customer, payment intent, then initialize the stripe elements on the page. When user clicks pay, we call stripe.confirmCardPayment with the payment intent secret and card element.

For regional pricing, we need to check e card country before confirming payment. Since the card element goes directly to stripe.confirmCardPayment, we can't examine the country. What I did was to: (1) Call stripe.createPaymentMethod, (2) validate card country, show errors and stop if fail, (3) use the payment method ID from 1 to complete confirmCardPayment.

Is there a better way to do it (server side, or flow), or is this approach valid?

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

What are you working on?
Checkout page with added validation for card country after submitting payment

#

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

Error Message
Hemos identificado un gran volumen de cargos no autorizados en tu cuenta. Por lo tanto, las transferencias están actualmente suspendidas. Emitiremos los reembolsos de los pagos con tarjeta afectados cinco días después del cierre de tu cuenta de Stripe. Es posible que los reembolsos tarden un poco más en aparecer en el extracto del titular de la tarjeta. Si crees que

Question
que ha sucedido? no hice nada en esta cuenta, los clientes pagaron sus suscripciones y ya, no entiendo porque me la suspenden

What have you already attempted?
me cree otras cuentas para que me dejara, pero me las siguen cancelando, no entiendo si los clientes pagan lo suyo?

#

@undone 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/api/payment_intents/create#create_payment_intent-application_fee_amount

Question
Can we charge buyers and sellers a percentage of the amount that is charged on our platform? We tried creating a PaymentIntent with an `application_fee_amount` to charge the buyer our fee and a `transfer_data.amount` less than the cost of the purchase to short pay the seller so we can take a percentage of the transaction from the seller as well.

What have you already attempted?
We have tried setting the `transfer_data.amount` and setting the `application_fee_amount`, but we get an error when we set both of those. It seems that we can only use one at a time. Is there a way to move funds from a Connect account balance to our Platform account balance in order to charge the seller? Then we could just use the `application_fee_amount` to charge the buyer?

https://docs.stripe.com/api/payment_intents/create#create_payment_intent-transfer_data-amount

What are you working on?
We are building a platform that would like to take a percentage of a transaction from the buyers and sellers who use our service.

#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/troubleshooting-secure-uploads-to-the-support-site

Question
Can't get pass USB passkey option when tried to loggged in on my stripe account on a different location.

What have you already attempted?
used, password, sso, and passkey but still cant get bypass the usb passkey prompt on chrome.

What are you working on?
integrating stripe account on wordpress.

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
Our Search API integration to not be broken due to a (possible contract break).

What actually happened?
We have been using the Search API and today started receiving `400 Bad Request` errors stating `total_count` can't be used.

Reproduction Steps
please see request: req_xQ5cQ5RRAin3Ou

Question
What has happened? Why is this no longer allowed, this seems to be a breaking change (if intentional). Thanks.

#

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

Error Message
This property cannot be included (total_count)

Question
Our search endpoints started failing this morning with this error message. It is unclear to us why this is happening now. It is causing a major outage.

What have you already attempted?
We're attempting to remove it but it is a huge change on our end.

cursive heronBOT
#

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

Question
clarification on credit burndown model. once i grant credits to a user for a specific metered price. is it possible to charge those credits right away? or it will consume credits at the end of billing period only.

Related Request ID(s)
req_PxChTqOBYaerBw

What have you already attempted?
create a subscription for metered price, add usage to get credits burned at the end of month

What are you working on?
tracking llm token usage

cursive heronBOT
#

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

Question
Is it possible, through the payout.created event, to find out the fees that were deducted from the payout?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Integration with my sevdesk account

#

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

Error Message
Error saving settings

Question
i want to take off the LINK button on my site
i already disabled it from stripe side but gives me error on the woocommerce side ):

What have you already attempted?
i already tried to delete cache, deactivate the plugins

What are you working on?
i'm trying to take off the LINK button

#

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

Code
override fun onReportReaderSoftwareUpdateProgress(progress: Float) {
super.onReportReaderSoftwareUpdateProgress(progress)
updateTerminalState(TerminalState.Updating(progress))
}

Question
The update progresses normally, but I’ve noticed that it stops at 65% for about 30-35 seconds before continuing. I wanted to understand why this pause occurs.

What have you already attempted?
It starts normally and ends at 100% but for some reason it stucks at exactly 65%.

What are you working on?
Trying to update the M2 card reader.

#

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

Question
I have a subdomain set up to use Stripe Checkout. In Google Search Console, that subdomain has been flagged as "Page indexed without content". I have no reason to have this subdomain crawled or indexed. So, I would like to set up a robots.txt ignore, or similar, to have the subdomain ignored by crawlers. Is that possible?

Doc/Guide Links
I've searched for guides on this, but I didn't see any.

What are you working on?
An application that uses Stripe Checkout

#

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

Question
How to enable pix payments in Brasil ?

Related Request ID(s)
How to enable pix payments in Brasil ?

What have you already attempted?
const isBrazilianCurrency = currency === 'brl';
const isBrazilian = locale === 'pt-BR' || isBrazilianCurrency;

    if \(isBrazilian\) {
        console.log\("🇧🇷 Cliente brasileiro detectado, adicionando opção de boleto"\);
        sessionConfig.payment\_method\_types = \['card', 'boleto', 'pix'\];
        
        // Configurações específicas para boleto
        sessionConfig.payment\_method\_options = {
            boleto\: {
                expires\_after\_days\: 3 // Boleto expira em 3 dias
            },
            pix\: {

What are you working on?
Adding PIX payments for brazillian users.

cursive heronBOT
#

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

Question
Hi Stripe Support,

We’re migrating ~1000 customers from Product A (with a coupon) to Product B, where the coupon won’t apply. We need to match customers to the closest plans in Product B to keep pricing similar or lower.

Could you advise on the best approach for a smooth migration?

  1. Should we cancel Product A and subscribe all customers to Product B immediately? This would make them pay full price for Product B right away.
  2. Should we schedule Product B subscriptions to start at the end of the billing cycle to avoid proration? If so, how should we cancel Product A?
  3. Any recommendations for minimizing customer impact?

Thanks for your help!

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

What are you working on?
Guidance on Migrating Customers from Product A (with coupon)to Product B (no coupon)

cursive heronBOT
#

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

What did you expect to happen?
Accessing Stripe::PaymentIntent.retrieve(id: 'pi_abc', expand: ['latest_charge.transfer']).latest_charge.transfer.destination_payment to get a destination payment ID is possible immediately after a payment is completed.

What actually happened?
There appears to be a delay before `transfer` is available on the Charge. Trying the code above immediately after a payment is completed results in "undefined method `transfer' for #<Stripe::Charge...". Trying this a few minutes later allows us to successfully access the destination payment ID.

Reproduction Steps

  1. Create and complete a payment
  2. Immediately run Stripe::PaymentIntent.retrieve(id: 'pi_abc', expand: ['latest_charge.transfer']).latest_charge.transfer.destination_payment

Question
Is this expected behavior? If so, is there something else we can rely on? We are passing destination payment ID as the `payment` prop on the `ConnectPaymentDetails` React component to allow our customers to see payment details and create refunds.

What are you working on?
Healthcare SaaS app that allows clinics to charge their patients for care

#

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

Code
i cant share the code just for info only

Question
I'm integrating Stripe Checkout and Stripe PaymentIntent in my app, but I'm facing an issue:

I created a Checkout Session, but session.getClientSecret() returns null.
I want to use Stripe Payment Modal on Mobile, which requires a client_secret.
I’m using Java for the backend and React Native for mobile.

What have you already attempted?
just learning

cursive heronBOT
#

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

What did you expect to happen?
My expectation is that a customer can select a bank account on a Stripe Checkout link without receiving an error.

What actually happened?
The customer receives an error "There was a problem connecting your account. Please try again, or try a different payment method." when selecting a bank account.

Reproduction Steps
Create a Stripe payment link and only specify us_bank_account as a payment method option. Also, specify a "payment_method_options.card.restrictions.brands_blocked" option with a value of "american_express".

Question
Hello, I have figured out what is going on here, but I still consider this a Stripe bug as Stripe normally handles these type of situations very gracefully and I would never have expected this to result in a user error.

What are you working on?
We updated our Stripe Checkout page that we've used for years to block AMEX cards using the new brands_blocked option.

#

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

What did you expect to happen?
I expected Stripe to only use my Stripe balance for refunds and not withdraw money directly from my linked bank account. I also expected to receive a clear explanation about my reserved funds ($5,129.78) and when they will be released.

What actually happened?
Stripe withdrew $994.86 directly from my TD Bank account (***1374) even though my Stripe balance was already at $0.00. I also see that $5,129.78 is being held in reserve, but I have not received any clear information on when or if this amount will be returned to me. This unexpected withdrawal and fund hold have caused financial issues for my business

Reproduction Steps
Logged into my Stripe Dashboard → Checked my balance summary.
Noticed that Stripe deducted $994.86 from my bank account instead of my Stripe balance.
Checked my "Reserve Funds" and saw that $5,129.78 is being held.
No explanation was given about why my personal/business bank account was charged instead of using my Stripe balance.

Question
I need immediate clarification on the following:

  1. Why was $994.86 withdrawn directly from my bank account?
  2. What was this money used for? (Refunds, chargebacks, or fees?)
  3. Will Stripe take more money from my bank? If so, how much?
  4. What is the status of my $5,129.78 in reserve?
  5. When and how can I recover my held funds?
#

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

Question
I have a negative balance on my stripe but stripe does not launch the automatic withdrawal so I would like to launch it manually if possible

Related Request ID(s)
req_bVrhnb97NjJTOn

What have you already attempted?
no

What are you working on?
payout

#

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

Question
I want to follow up to an earlier question abotu removing all the application fees from connected accounts subscriptions to my platform account. (We're shutting down the platform).

It's working great for me. But, I see that my platform's id is still showing under the application key on the subscription. My boss wants to limit our connection to these accounts as we shut down our platform and let the connected accounts manage their own subscriptions.

Is it possible to remove the associated application key as well?

Related Request ID(s)
na

What have you already attempted?
na

#

⛔️ 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
#

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

Question
can we use stripe payment in mobile apps for apple apps store and google play store? i got an information from my mobile developer team that it is not comply app review guidelines

Related Request ID(s)
-

What have you already attempted?
create a payment intent payment flow

What are you working on?
building and maintaining

cursive heronBOT
#

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

Question
I have create some stripe products and I have set them into the customer portal via stripe's dashboard. I want to programmatically reflect the product details updates on the customer portal. However I am not sure if this is currently supported.

Related Request ID(s)
req_geQVn7K2G9PB4T, req_H8m6xWTCiIYL8x

What have you already attempted?
I tried to update the portal via Stripe's Java SDK but all the other products disappear. I tried to use the following to retrieve the current products so I can include with them with the updated product, but i think it is not supported:

ConfigurationListParams listParams = ConfigurationListParams.builder().addExpand("features.subscription_update.products").build();

What are you working on?
I want to programmatically update the billing portal with the latest changes on the product.

cursive heronBOT
#

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

Question
Im confused about determining a customer’s address, for taxes, at the moment of checkout (I use payment element / payment intents / confirmation token)

- The payment element asks for country (and zip if it’s the US). Is this all the info needed to calculate sales/vat tax when paying, or do I need to manually collect additional info?
- I plan on supporting international customers. Do platforms usually determine transaction currency based on IP address?

Related Request ID(s)
NA

What have you already attempted?
Looked at the docs, but still confused

cursive heronBOT
#

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

Question
How do I use Stripe for a direct debit payment option for my New Zealand based sports club

Related Request ID(s)
Unsure

What have you already attempted?
I have googled and havnt tried anything as it looks like this isnt possible in NZD

What are you working on?
Trying to add a NZD direct debit option to our stripe account which we use for payments for our sports club via cards

cursive heronBOT
#

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

Question
Hey folks,

Question: If you're in TEST mode and testing identity (webhooks), does the test data need to match perfectly? I simulated a success response, but it keeps saying: "code":
"verification_failed_keyed_identity",
"reason":
"The person's keyed-in identity information could not be verified. Correct any errors or upload a document that matches the identity fields (e.g., name and date of birth) entered.",

Related Event ID(s)
evt_1R0gTTCEJK1eAZjt23c8UkfZ

What have you already attempted?
I have tried a real licence with matching DOB, Name, but it still seems to fail?

cursive heronBOT
#

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

Question
We are planning to integrate Stripe to a SaaS product - https://kerika.com

In this integration, we are looking for an API to update Customer's "Additional Email Recipients".

But, from https://support.stripe.com/questions/can-i-specify-additional-recipients-or-add-cc-email-addresses-to-billing-emails I learnt that this can be done through only Dashboard; and API support is not there.

May I know by when this API will be provided?

Related Request ID(s)
https://support.stripe.com/questions/can-i-specify-additional-recipients-or-add-cc-email-addresses-to-billing-emails

What have you already attempted?
Looked at the API documentations

cursive heronBOT
#

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

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

Question
Hello,
we are implementing the management of payments via subscriptions with the sepa transfer as payment method; we have read the documentation and seen that notifications are sent to the webhook. We are wondering what type of webhook notification is sent by Stripe when a payment is made in the context of a subscription and we need to acquire any documentation on this

What have you already attempted?
https://docs.stripe.com/api/events/types

What are you working on?
We are implementing subscription and SEPA transfer payments via Stripe

#

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

Question
I want to create a Stripe API (NodeJS SDK) checkout session with this behavior:

  1. User adds a payment method and starts a 14-day trial.
  2. During the trial, the user has access to all features (highest package).
  3. After the trial ends:
    3.1 The subscription should NOT auto-renew.
    3.2 The user should NOT be charged automatically.
    3.3 The user must manually choose a package (downgrade or keep full features).

What’s the best way to achieve this? Would I need to handle it manually via a webhook?

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

What are you working on?
Interactive quote builder

cursive heronBOT
#

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

Question
I am trying to initiate a payout however I get an error message each time that I can't seem to explain.

Related Request ID(s)
req_mAQ51TMhVbN95H

What have you already attempted?
I have checked in the dashboard that the user correctly has an external account with the correct ID which it appears he does

cursive heronBOT
#

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

Code
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription&client=react

Question
How to use IDEAL and bancontact with the "Collect payment details before creating an Intent" for subscriptions? i get this error:

'The payment method type ideal cannot be used with subscriptions that have the collection_method set to charge_automatically.'

What have you already attempted?
-

cursive heronBOT
cursive heronBOT
#

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

Code
Please enter a bank sort code that supports transfers to and from your account

Question
Please enter a bank sort code that supports transfers to and from your account

What have you already attempted?
I entered my bank code but it doesn't register

cursive heronBOT
#

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

Question
A client is looking to anchor sub payments to two months a year - March and September. I see I can do this using the API billing anchor cycle month of 3 or 9. I will likely also set the date to 1st of those months. My questions are around if someone subscribes in, say, January.

(1) Will the first payment in March be pro-rated automatically? We do not want this, just want the full payment in March.

(2) If I hard-code the billing anchor cycle month to be 9 (September) would the subscriber with payments every 6 months, setup in January, be charged in March or would Stripe wait until September?

Related Request ID(s)
NA

What have you already attempted?
Nothing

cursive heronBOT
#

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

Code
Please see question below

Question
My apologizes if this is out of scope. Feel free to decline to help, I understand. I am trying to write unit testing for my stripe integration. I am using PHP. However a lot of your code required frontend integration (payment method input, payment confirm redirects). Is there any unit testing software you know of that I could use. PHPUnit does not support this unfortunately.

What have you already attempted?
NA

cursive heronBOT
#

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

What did you expect to happen?
$0 invoices to NOT get sent out to the customers

What actually happened?
Customer received $0 invoices and being upset for receiving those

Reproduction Steps
If a customer opts out of our paid subscription we do not cancel its current subscription, we update it with a Free $0 per month plan in order to keep the history of the subscription intact.

Upon updating the subscription to the Free plan we also mark the collection as paused, but still the $0 first get finalized (so emails are sent) and then get voided.

Question
Could you please suppress/refrain from sending $0 invoice emails?

What are you working on?
We use Stripe to bill our customers for our SAAS Observability platform.

#

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

Question
Two requests were fired which was for subscription quantity update in a span of 3secs. Both requests look the same. It also generated two invoices, one with charge of update and another with $0.00

Related Request ID(s)
req_36vRofDctbcs6X, req_2BYSN9ELtjnnXG

What have you already attempted?
Investigating

cursive heronBOT
#

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

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

Question
Good Afternoon,

I am looking into the subscriptions documentation:
https://docs.stripe.com/billing/subscriptions/webhooks

And I just want to ask for clarification on one point.

Is the first invoice created after the up-front payment happens or at the moment we send the user to the payment page in Stripe?

What have you already attempted?
For now, we are just reading documentation

What are you working on?
We are building a small subscription system with a Pay up front mechanism

#

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

Question
I am building a bill splitting tool to allow peers plan a hangout and split the bills among themselves.

Related Request ID(s)
I don't have any

What have you already attempted?
I am trying to use some features from Paystack which was acquired by Stripe

What are you working on?
I am building a bill splitting tool to allow peers plan a hangout and split the bills among themselves.

#

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

What did you expect to happen?
A user upgraded a subscription with the stripe billing configuration upgrade flow and should be immediately invoiced

What actually happened?
A user upgraded a subscription with the stripe billing configuration upgrade flow but was not invoiced immediately

Reproduction Steps
User upgraded a subscription with a portal session with a billing configuration set to always_invoice. Customer id: cus_LMslWwYoKA4zpn, billing portal session id: bps_1R16xOGUvXaarTWVAYCPVJiX

Question
Why did it not invoice immediately? Did I miss something?

cursive heronBOT
#

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

Error Message
{"code": "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", "message": "Reader has been disconnected unexpectedly"}
{"code": "READER_ERROR.BLUETOOTH_DISCONNECTED", "message": "Bluetooth unexpectedly disconnected during operation."}

Question
I try to connect my bluetooth reader to the stripe terminal sdk but it won't let me.

Code block
const readerProp: ConnectBluetoothReaderParams = {
reader,
locationId: process.env.EXPO_PUBLIC_STRIPE_LOCATION_ID,
autoReconnectOnUnexpectedDisconnect: true,
};
const { reader: connectedReader, error } = await connectBluetoothReader

What have you already attempted?
I can confirm to you that my M2 stripe reader is functional as I've used it on other apps, my locationId is taken from Stripe dashboard, I can use the other Stripe Terminal SDK features like discovery, my code is initialized, my device's bluetooth does work, I'm running out of things to attempt.

Reproduction Steps
https://github.com/stripe/stripe-terminal-react-native/issues/888

More details here

Basically I initialize, discover readers, select the discovered reader and attempt to connect.

#

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

Question
It was noticed that sometimes creating a card payment_method is successful but create/confirm a card setup_intent fails.
What are the differences on the card checks performed when using "create card", "create payment_method" and "create/confirm setup_intent"?

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
Subscription based service

#

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

Question
What is the best practice to have 1 coupon that provides different amount of discounts to different products.

We have a launch sale that is up to 20% and when they put in the coupon at checkout, I want it to provide 15% discount on 1 product and 10% discount on another, but using the same coupon code.

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

What are you working on?
E-commerce store

#

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

Question
For us to access our customer's stripe account, should we do an App or use Connect? We need to see details of our user's customers.

Doc/Guide Links
Third party app docs (oauth flow via stripe CLI) and stripe connect.

What are you working on?
We're building a saas metrics app that needs to add a Stripe integration. Our users should be able to connect their stripe account and we should be able to access their data.

cursive heronBOT
#

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

Question
I just moved my website to cloudways servers, and Stripe stops working. It is like the post is shutdown.

Related Request ID(s)
req_2X8WLdsSetDZnu

What have you already attempted?
I debuged the code but as I said, it seems like the post is not even made

What are you working on?
Just simple payments

cursive heronBOT
#

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

Question
I'm setting up Subscription Schedules with a "Pro" product ($10/mo, $100/yr) and a Free Tier ($0). When a user signs up, I create a Schedule with the first phase as Pro monthly, trial=true, and end_date in 30 days. The second phase is Free Tier. If they want to stay on Pro, I update the second phase. However, when updating, I didn't include `trial` for the first phase, and it removed the trial. Docs don’t mention `trial` as required. What fields must be included to ensure unchanged values when updating?

Related Request ID(s)
na

What have you already attempted?
I have tried updating while only passing in the new item since that is the only thing required in my changes. https://docs.stripe.com/api/subscription_schedules/update

What are you working on?
SaaS

#

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

Question
Trying to connect stripe with disputifier but it's not working

Related Request ID(s)
pk_live_51Qpq9wDhnevkIL5FquHefifZg6vuNWk1CLxc43hv1Uffa4YcLJIoLSDuFGQFYaWxHrONVe69o4WirKQHZVnmR0eY00bmWTZwfG

What have you already attempted?
Tried to connect it

cursive heronBOT
#

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

What did you expect to happen?
trial_start to be updated with new subscription trial added in dashboard

What actually happened?
this subscription sub_Hm9ImRD3gQjGzP has had bills that are passed the trial start date, and had later entered a new trial period and the trial start was not updated

Reproduction Steps
not sure how to reproduce since this is far in the past

Question
Why is the trial start date not more recent

cursive heronBOT
#

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

Question
I am trying to create a checkout session which contains the credit cards saved on a customerID. I am passing the customerID as a param to create the checkout session but the saved cards are not showing in the modal.

Related Request ID(s)
N/A

What have you already attempted?
I am passing in the customerID to the checkout session creation api

#

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

What did you expect to happen?
The subscription should not charge a not-default payment method. I've expected that the status of the subscription changes to "past_due" instead of charging it "unallowed".

What actually happened?
A subscription schedule took a payment method which is listed by the customer, but not set as default payment method.

Reproduction Steps
Invoice id: in_1R1BO9LZihhBkt1cMMZrQi0O
Customer: cus_RuzJQRqNSLIu8n
Subscription: sub_1R1BMrLZihhBkt1c038ixxTL

Question
How can I avoid that a payment method which is not set by default by the customer is being charged by a subscription whenever the billing cycle repeats?!

My customers got all payment methods listed in their profile and the possibility to select a payment method as default.

What are you working on?
Subscription / Schedules / Payment Methods / Charges

#

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

Question
How do we check if a standard stripe connect account connected to our platform has their tax enabled?

The reason is we want to add:
```
automatic_tax: {
enabled: true,
},
```
on checkout if it is enabled

Related Request ID(s)
None

What have you already attempted?
stripe.accounts.retrieve but it doesnt say anything about tax being enabled

#

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

Question
How to properly create a new phase scheduled in the future?

Related Request ID(s)
NONE

What have you already attempted?
I grab a subscription, call create schedules, and then I retrieve the phases that were automatically created based on the subscription.
Sometimes it has only one phase, sometimes more than one.
Since there are several possible scenarios (free trial days, coupon codes, custom fixes manually by support team, etc.)

.... more

What are you working on?
Working on a subscription migration for a streaming service to update the plans to new prices, without changing the billing date, only the plans need to be changed.

cursive heronBOT
cursive heronBOT
#

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

Question
We're still working on getting our client the functionality they need, and I'm hitting a dead end. The client needs to be able to track the payment terms selected by the user when they sign up for Klarna, specifically if they sign up for a term of 12-months or longer. We can see in the API calls that we are notified of the type of engagement (pay_now, pay_later, pay_with_fincancing), but we are not able to see the details. Can the length of the payment terms be added to our API webhook, or is there some reporting that we could provide our client?

Related Request ID(s)
req_PpFA1jZ9gfAc2k

What have you already attempted?
I have already tried retrieving the charge and accessing the payment_method info there (in the klarna section).

What are you working on?
Integrating stripe to accept bnpl methods for our clients

#

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

Question
Description:
Users have a premium subscription and can purchase addons via a separate monthly subscription. Currently, removing an addon updates the subscription immediately, triggering a customer.subscription.updated event and removing the addon right away.

Expected Behavior:
Instead of immediate removal, set the addon to a “pending removal” state. The actual update should only apply when the subscription renews. Looking for a way in Stripe to schedule subscription item removal at the next billing cycle instead of instant updates.

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

What are you working on?
Addon system

cursive heronBOT
#

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

Question
Is there a way to make a subscription end at a particular date? I can use trial_end for start date but not sure how to make a subscription end on a specific date or x days after trial_end.

Related Request ID(s)
NA

What have you already attempted?
Setting up a cron on my end but trying to see if Stripe has some integrated solution.

cursive heronBOT
#

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

What did you expect to happen?
When I complete a purchase, a customer is created. If I then make another purchase with the same data, the invoice is assigned to my existing customers.

What actually happened?
When I complete a purchase, a customer is created. But if I then make another purchase with the same data, a new customer is created

Reproduction Steps
Buy a produkt and provide data

Question
Is this normal or can I switch it off somehow?
https://prnt.sc/7UCb99REiAxW

What are you working on?
System Manager

#

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

What did you expect to happen?
I used to be able to see the Amazon Pay in the Express Checkout Element demo page: https://docs.stripe.com/elements/express-checkout-element (and also in my site).

Today, it is missing. I had other folks look at the page, and can't see Amazon Pay either.

What actually happened?
I noticed that Amazon Pay button is missing in my dev site. Google Pay, Apple Pay and Link are all present.

I checked the demo page, and it is also missing from there. I know it was there before.

Reproduction Steps

  1. Go to https://docs.stripe.com/elements/express-checkout-element
  2. Select United States, if not already selected.
  3. Notice Amazon Pay button is missing.

Question
Why is it gone? Are there changes to the requirements for it to be displayed?

What are you working on?
Express Checkout Element integration

#

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

Question
should i use stripe invoice API for my use case?

Related Request ID(s)
null

What have you already attempted?
null

What are you working on?
I am running a laundry business and i have washers registered to stripe as express account holders.

cursive heronBOT
#

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

Question
We are working on an integration between stripe and plaid. We are running into issues when:
after creating our plaid banking tokens for stripe
we are unable to call the Stripe API due to unrecognized Plaid banking token
Summary:
Following the docs, we have obtained a Stripe bank token (prefix with btok_). But we are unable to attach this to a customer, or creating a charge.
The error is No such token: 'btok_1Qz4E3ITklqAgJrU1Mbd25Zd' (Stripe::InvalidRequestError)
Could you help us understand what we should adjust to our approach, or what could potentially be missing between our connection ?

Related Request ID(s)
**

What have you already attempted?
Attempted calling the APIs as described in the documentation

We worked from our production environments to verify and still had issues with the token not being found.

We weren't sure if there is an issue between our stripe and plaid accounts that could cause this?

What are you working on?
Building a multi-tenant refund platform

cursive heronBOT
#

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

Question
My use is as follows:
Our client passes in confirmation token and we create and confirm payment intent on the server.

  1. If I want to reuse the failed payment method for future confirms, what is the suggested approach?

  2. Can I create a payment method from a confirmation token in the backend?

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

What have you already attempted?
- Tried to confirm using payment method and got above error

What are you working on?
Building support for partial authorization in our flow

cursive heronBOT
#

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

Question
Hey guys,

I'm testing Stripe payments. My app is basically similar to Airtasker - so a user posts a task, and another user places an offer. The task owner then assigns the user (a payment intent is sent to stripe and the money is held). The task doer completes the job and requests payment. Then the task owner releases the funds.

This is the response I get, but I don't see any $$ going to the receipient at all? Should I see anything at this point, or does it take some time?

My recipient is:
stripeConnectAccountId: "acct_1R1DnkFvQQJwOSZC"

and:
stripePaymentId: pi_3R1FQWCRJmRjKgK81hqawona.

Related Request ID(s)
evt_3R1FQWCRJmRjKgK81uSpV2lW

What have you already attempted?
I've tried a few things actually, but I don't see any errors at the moment so not sure if there's anything wrong, or Stripe just takes time to release the funds?

What are you working on?
My app is basically similar to Airtasker - so a user posts a task, and another user places an offer. The task owner then assigns the user (a payment intent is sent to stripe and the money is held). Th

cursive heronBOT
#

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

Question
When we have a Shipping Rate on an invoice, how do we reliably, programatically know which of the Tax Rates on the invoice are being applied to the Shipping (as opposed to other taxable elements on the invoice)?

Related Request ID(s)
in_1R1F4AAL8mdQyq8rm5sqNXG0

What have you already attempted?
Investigated the objects to try to find a data link. We also checked the docs for shipping rates.

cursive heronBOT
#

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

Question
How do you get the tier information on a price? I see it in the Price object in the docs, but it is not returned on the GET endpoint

Related Request ID(s)
req_3sYhQNYBa0wUB5

What have you already attempted?
call to GET

What are you working on?
displaying pricing on our dashboard per tier

#

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

Code
{CHECKOUT_SESSION_ID}

Question
Using Payment Checkout. When appending the above to the URI for my success_url I get "Not Acceptable" as the response, but no error code or any other information I can use to decipher what has gone wrong

What have you already attempted?
gone through the docs, tried removing the above (and transaction works) adding it back in, I get the error

What are you working on?
Building Payment Checkout, want to get a notification when transaction is successful so I can dynamically update my inventory

cursive heronBOT
#

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

Question
Are the identifiers of PaymentIntent (pi_) and Subscription (sub_) globally unique? I was wondering if it is possible to have the same identifier between different customers.

Related Request ID(s)
.

What have you already attempted?
Search document

What are you working on?
Integration subscription & one-time payment

cursive heronBOT
#

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

Question
Can we increase the money payment upper limit to more than $10,000 USD per transaction? Currently, we have customer complaining that they have to split their payment to several transaction since it exceeded the stripe payment upper limit.
How can we increase that limit?

Related Request ID(s)
HPC-AI TECH

What have you already attempted?
search the docs

What are you working on?
GPU rental platform payments

cursive heronBOT
#

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

Error Message
Too many attempts to authenticate have been made with this phone. Please try again later.

Question
I couldn't access to my account

What have you already attempted?
I did not attempts multiple times. I don't know why it says too many attempts.

cursive heronBOT
#

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

Question
Hi! I have a unusual question about Stripe's use cases. I'm building an interactive quote builder where users create products, discounts, and send quotes to clients. Clients can accept or reject and pay via invoice, with a potential Stripe integration. However, even without payments, I was wondering if it's possible/allowed to use Stripe's API purely for storing product/discount data and handling calculations. Would this be within Stripe’s intended use, or are there limitations? Would that work even when having thousands of SaaS users each of them having their own set of discount codes/products? Can this data be stored in a single Stripe account?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/use-cases

What are you working on?
Interactive quote builder

cursive heronBOT
#

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

Error Message
Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing
Note: The provided signing secret contains whitespace.

Question
Can somebody guide me how to enable the stripe webhook, in order to fulfill the payment/subscription status in firestore database, by uid ?

What have you already attempted?
In my flutter app, i integrated the Stripe Payments, basically i created products with recurring payments. Installed StripeCLI, firebase and everything i need in my PC, created the webhook with checkout.session.completed, created the firebase functions, and when i choose the subscription plan and pay, nothing happend, the app is still locked and i get those errors

Reproduction Steps
In my flutter app, i integrated the Stripe Payments, basically i created products with recurring payments. Installed StripeCLI, firebase and everything i need in my PC, created the webhook with checkout.session.completed, created the firebase functions, and when i choose the subscription plan and pay, nothing happend, the app is still locked and i get those errors

What are you working on?
Flutter App>Stripe>Firestore>I get those errors when i type firebase functions:log

cursive heronBOT
#

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

Error Message
[401] POST http://localhost:3000/api/webhook/stripe

Question
Added a local listener to the stripe cli to let my local app receive requests, which is not happening. The requests are 401 errors in my command prompt window. Requests to stripe like creating a user (I checked and the user was created) are successful. The issue is that requests are not making it back to my app from stripe.

What have you already attempted?
Checked the secret, public keys and the webhook signing secret. All match what I have in my local .env file for my app.

What are you working on?
Next JS 13 app with Stripe integration

#

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

Question
why next iinvocies item showing like this
Remaining time on 2 ×
Unused time on 2 x

Related Request ID(s)
https://dashboard.stripe.com/test/customers/cus_RvFVC5N04F9ny3/upcoming_invoice/sub_1R1P0FIE5Vvk0efGLZstVc7Z

What have you already attempted?
I have just update subciption and plan qty increase.

What are you working on?
I dont want to showing in like reaming and unsed item in any invoices.

cursive heronBOT
#

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

Question
Hello. I see in the documentation that there is an option to enable PayPal integration in Stripe Connect. I'm just wondering if it's available for our business model. Our platform allows restaurants to create their menu and gives the option of online ordering. Is PayPal integration available for our business model?

Related Request ID(s)
No logs

What have you already attempted?
Checked your documantation on:
https://docs.stripe.com/payments/paypal/accept-a-payment

What are you working on?
Enabling PayPal integration in Stripe

cursive heronBOT
#

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

Question
A webhook delivery failed because of a redirect issue (my fault). I fixed it, manually retried and webhook succeeded this time (200). However, the issue now is that stripe still retries automatically which throws error in my webhook code since I don't store duplicated and now it wants to retry again in a couple of hours. How can I prevent these retries? Also, shouldn't it have stopped once I retried manually and it received 200?

Related Event ID(s)
evt_1R1OoSHlE9U84yl4KRTBb2cO

What have you already attempted?
Tried to cancel it trough the workbench

cursive heronBOT
#

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

Question
Hi, we have a business logic issue when creating trial subscription for new signups. We don't know their proffered currency, so the default price is in USD. If users try to check out with another price in EUR they get an error, since customer_id assigned to them already has $0 invoice issued for trial subscription the moment it was created and based on the error response Stripe doesn't allow switching it.

Q: is there a way to avoid creating $0 invoice or how you handle this?

Thanks.

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

What are you working on?
SaaS app for Sales teams on LinkedIn

cursive heronBOT
#

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

Question
We are developing a website with simple one-time payments, for event tickets.

However these payments can be made for EU or US based events & the client wants to be able to have these payments completely separate for financial reasons.

Is this possible to do this in a single account or will we have to make two separate accounts with separate logins? I noticed "organizations" in the docs, is this what we need? Will this allow us to have people pay in dollars as well as euros?

How will this work in the API? Is it enough to just use another API key, based on the currency?

We tried integrating with Mollie at first, but they don't seem to allow US based transactions

Doc/Guide Links
https://docs.stripe.com/get-started/account/orgs

What are you working on?
Single payments on a website

cursive heronBOT
#

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

Question
When using stripe connect destination charges do I have to pay the pay as to to 2$ per active user + the payout fees or the includecd once?

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

cursive heronBOT
#

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

Question
I bought a SAAS with active susbscription, is it possible to take active susbscriptions with it to my account, or it needs approval from my susbscribed customers? my worry that i will lose some customer after this action!
the doc is not explicit about this (specifically talking about susbscriptions!) everything else i can migrate

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

What are you working on?
Transferring active susbscriptions to new account without user interaction

#

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

Question
i want to connect stripe with other program (API). I need to choose payment methods and i dont know how

Related Request ID(s)
develop payment methods

What have you already attempted?
Hemos ido al dashbord configuración métodos de pago y hemos desactivado todos excepto adeudo sepa que es el único que tenemos activado. Pero el payment link no llega correcto, llega con muchos más métodos de pago de los elegidos.

cursive heronBOT
#

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

Question
Php implementation, we are getting a Stripe\Exception\ApiConnectionException without many details. This is while trying to retrieve an invoice. I can actually see the retrieved Invoice object in the error stack but Stripe\HttpClient\CurlClient seems to throw this error

Related Request ID(s)
NA

What have you already attempted?
I've tried running an automated test with the same request and it looks ok, but on the web server is not working the same. Tried both on local and remote environments, other API calls don't look affected by the same issue

What are you working on?
A php application

#

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

Question
I want to add a new phase for the future but I'm getting an error of gap.

Related Request ID(s)
1348733646441287720

What have you already attempted?
Read the attempt in this other thread to understand the context 1348733646441287720

"There is a gap between phase 0 `(1740679549, 1743098749)` and phase 1 `(1741786628, 1744465028)`.",

curl -X POST 'https://api.stripe.com/v1/subscription_schedules/xxxxxxxx'
--header 'Content-Type: application/x-www-form-urlencoded'
--data 'proration_behavior=none'
--data 'phases[0][automatic_tax][enabled]=false'
--data 'phases[0][currency]=usd'
--data 'phases[0][end_date]=1743098749'
--data 'phases[0][plans][0][plan]=price_1NQvogE8gsL5R1XuBMzOMsdr'
--da

What are you working on?
Streaming services migration customer from a plan to another plan that has a price increase.

cursive heronBOT
#

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

Question
Hello, I am receiving event from connected account, with this events i receive tax rate id, and I am looking for the details of tax rate using API. It worked well until now. Currently all the id i receive are returning error

Related Request ID(s)
req_Wk7FwaFksT847z

What have you already attempted?
I tryed to send some other id's with the event, receiving same error all the time, ID provided.

What are you working on?
Accounting app

#

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

Code
Address fields lengths for customer updates.

Question
I'm trying to save a copy of address on our local DB . I'm wondering what will be the appropriate sizes for address line 1 and line2? what is the char limit on these fields ?

What have you already attempted?
I haev them set line_1 at 500 and line_2 at 50

What are you working on?
storing address on the local db when populated from Address element and customer update

#

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

Error Message
Webhook error: 12 | // tests).
13 | this.subtleCrypto = subtleCrypto || crypto.subtle;
14 | }
15 | /** @override */
16 | computeHMACSignature(payload, secret) {
17 | throw new CryptoProviderOnlySupportsAsyncError('SubtleCryptoProvider cannot be used in a synchronous context.');

Question
I'm trying to trigger the webhook for Stripe by making a checkout payment using checkout sessions API. runnning into an error.

What have you already attempted?
const signature = c.req.header("stripe-signature");
if (!signature) {
return c.json({ error: "Missing stripe-signature header" }, 400);
}

try {
const rawBody = await c.req.raw.clone().text();
const event = stripe.webhooks.constructEvent(
rawBody,
signature,
process.env.STRIPE_WEBHOOK_SECRET!
);

Reproduction Steps
docs to reference similar code on how to fulfill orders. https://docs.stripe.com/checkout/fulfillment?payment-ui=embedded-components#immediate-versus-delayed-payment-methods

What are you working on?
ecomm site

cursive heronBOT
#

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

Question
const sessions: any = await stripe.checkout.sessions.list({
created: { gte: startDate, lt: endDate },
status: 'complete',
limit: 100, //25, // Max limit for Stripe API
starting_after: lastSessionId,
expand: [
'data.payment_intent',
'data.payment_intent.latest_charge', // Expand charges under payment_intent
'data.customer',
'data.line_items',
'data.total_details',

I'm getting a list of sessions. i want to expand data.line_items but it only grabs 10 of them not more. I'd like more.

Related Request ID(s)
None

What have you already attempted?
Read docs. Hoped and Prayed. Threw things.

What are you working on?
nextjs 14 app router typescript.

#

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

Code
we tried it with multiple disoveries at the same time (not working), then canceling the discoverys and waiting and staring new ones. but not really reliable everything, is there a sample code?

Question
whats the recommended way to start discovery of first a ttpa reader, then a usb reader, then bluetooth reader? is there a sample code somewhere?

What have you already attempted?
we tried to cancel the discoveries, but get timeouts or warnings that a discovery is already running.. is there not a sample code somewhere?

What are you working on?
android app with stripe sdk. want to use the internal ttpa reader and at the same time disover bluetooth or usb readers for PIN entry transactions

#

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

Question
Using the PHP API / SDK - Via Connect - I understand adaptive pricing is impossible? either way, in test environment i've created a product and then manual pricing with UK & US pricing, I use the email format test+location_US@example.com and only ever get the GBP price listed

Related Request ID(s)
req_AjoZirbbthsDlY

What have you already attempted?
Looking through docs, updating API and SDK

What are you working on?
Ecommerce platform

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create

Question
I want to use payment intents just to save the payment method of a customer. The issue is, that we use setup intents right now which show 0.00€ in google pay. But i don't want to charge the customer but only save to the payment methods.

What have you already attempted?
-

#

@grizzled storm pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're integrating ApplePay to our web checkout. We tested it about a month ago in our react native app, in a webview, and it was successfully displaying ApplePay in the express checkout element. However, it's no longer showing up like 2 weeks ago. Visiting the website directly on a Safari browser works, but from the webview in the react native app it no longer works.

Could you please share how to go about debugging the issue here? Thank you!

Doc/Guide Links
https://docs.stripe.com/apple-pay?platform=web#accept

What are you working on?
ApplyPay on iOS react native web view

#

@lime sierra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey team, trying to get current account information from a Stripe app (the frontend of it), however I can't find a way to do it. I get an error saying `Invariant Violation: stripeApiFetch does not support /v1/accounts/`

Related Request ID(s)
The request is not visible in the log, sadly

What have you already attempted?
This is the code:

```
export class StripeClient {
private stripeClient: Stripe;

constructor(private stripeAccountId: string) {
this.stripeClient = new Stripe(STRIPE_API_KEY, {
httpClient: createHttpClient(),
apiVersion: '2025-02-24.acacia',
stripeAccount: this.stripeAccountId,
});
}

async getAccount() {
return this.stripeClient.accounts.retrieve(this.stripeAccountId);
}
```

What are you working on?
A Stripe app

cursive heronBOT
#

@obtuse quarry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On the topic of disputes, does stripe api provide any reasoning behind why a dispute was lost?

Related Request ID(s)
none

What have you already attempted?
Nothing found

What are you working on?
Personal project

cursive heronBOT
#

@ember turtle pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,

Looking at setting up listeners for terminal_hardware_order.* webhooks on our US platform account, but it seems that they are not showing up in the "Events to send" list when editing webhook endpoint in the Stripe console.

These webhook events show up when viewing from our UK platform account.

Are these events feature flagged?

Related Event ID(s)
N/A

What have you already attempted?
Attempted to set up webhook event listeners on UK and US platform accounts.

#

@harsh tree pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe_checkout_session = python_stripe_client_api.checkout.sessions.retrieve(request.session['stripe_checkout_session_id'])

Question
Is the CheckoutSession's id created via the Python API meant to be stored in a server-side session and used to repeatedly retrieve an instance to re-auth the client-side stripe.js api? Either for a SPA-style checkout or a MPA-style checkout? Where can I find an example of a more server-side heavy implementation that still uses a PaymentElement?

What have you already attempted?
This works I just want to know if/why it is considered a bad idea / strategy? Most of the examples just create a one-off checkout and return the client secret and do not store the CheckoutSession's id.

What are you working on?
Custom checkout integration, probably with CheckoutSessions and embedded elements for a pre-existing website with Python + HTML/JS.

#

@uncut vale pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are creating a payment intent, but the payment form never loads. Others on the same connected account work fine

Related Request ID(s)
req_KD7kAeOdl7CYXa

What have you already attempted?
Tried creating a new payment intent

#

@high shuttle pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
on this payment pi_3QwqyEDfcmTYbu9Y2WYPHdxC or charge id py_3QwqyEDfcmTYbu9Y2wvTe6f6 we expected it to also have transfer associated. But for some reason it is not associated.

What actually happened?
The transfer is not associated onto that payment mentioned and because of that when we try to do refund it fails with error saying Cannot reverse transfer on charge py_3QwqyEDfcmTYbu9Y2wvTe6f6 because it does not have an associated transfer.

Reproduction Steps
not sure how we have that payment like that.

Question
while refunding this is the error we see in stripe and after seeing the error we got to know that transfer is not getting associated.

"message": "Cannot reverse transfer on charge py_3QwqyEDfcmTYbu9Y2wvTe6f6 because it does not have an associated transfer."
"type": "invalid_request_error"

What are you working on?
Stripe API Integration Improvement and Maintainence

cursive heronBOT
#

@teal scroll pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Distinguish between subscriptions and one time payments

Related Event ID(s)
"checkout.session.completed" vs "invoice.paid"

What have you already attempted?
if (event.type === "checkout.session.completed") {
if (event.data.object.mode === 'subscription') {
// skips event for subs, will get handled by 'invoice.paid' instead
response.status(200).end();
return
}

What are you working on?
backend discord bot payments

cursive heronBOT
#

@ripe star pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to use Stripe connect to transfer money from a marketplace in the European-Union to different coutries in the European-Union. The main account collects the money, but when we pay out we do not understand if there are still applied taxes for the connect account or not, cause normaly with reverse charge procedure used in europe there should be no tax when transfering money from one country to another. and is there somewehere an example of how a reciept the connected accounts recieve and if there is then marked reverse charge? VAT 0%

Related Request ID(s)
req_QlPHYhGbQxDC2F

What have you already attempted?
I searched discord, found different threads talkking about https://docs.stripe.com/tax/connect and https://docs.stripe.com/tax/tax-for-marketplaces, but still dont find anything how the tax works in this case. we using
const transfer = await stripe.transfers.create({
amount: transferAmount,
currency: "eur",
destination: connectAccountId,
source_transaction: invoice.charge as string,
});

What are you working on?
Sales Platform

#

@teal eagle pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/billing/credit-grant

Question
I want to ask about credit grant and how it works, if I give a customer credit grant as some kind of compensation or a discount on their next payment, does it work that way?

What have you already attempted?
Haven't tried yet

What are you working on?
Creating a GHL marketplace app.

#

@radiant 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://docs.stripe.com/elements/express-checkout-element

Question
I am trying to set express checkout element on my landing page with no credit card input. Only allowing users to subscribe(recurring subscription) using apple pay ang google pay. What other documents should I refer to set this up

What have you already attempted?
1)Set up ngrok to serve over https
2) added script in html: <script src="https://js.stripe.com/v3/"></script>

What are you working on?
A/B testing with landing pages

cursive heronBOT
#

@molten zealot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Working to connect Stripe to an out of the box integration with Dynamics 365 Fundraising & Engagement and receiving an error when trying to process a transaction. Have you seen the following errors or had any luck seeing this kind of integration work? We want to explore every avenue before building the integration ourselves.

Related Request ID(s)
req_DQZzXaXam3CEq6, req_dQLnshJc9maWNY

What have you already attempted?
All of the documentation provided for deploying the payment processor credentials in the Dynamics app. We still receive the following error: "Exception Message: Error identified in Payload provided by the user for Entity :'msnfp_transactions', For more information on this error please follow this help link https://go.microsoft.com/fwlink/?linkid=2195293 ----> InnerException : Microsoft.OData.ODataException: An unexpected 'StartObject' node was found for property named 'OData.Community.Display.V1.FormattedValue' when reading from the JSON reader. A 'PrimitiveValue' node was expected."

What are you working on?
Model driven app for a nonprofit company to operate

#

@dire ivy pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a subscription. This subscription is in "past_due" and the last invoice is "open". I have tried paying it a few times (while developing) and suddenly the state switched to "cancel".

How should I now pay the "open" invoice at it's best approach so the subscription gets again active.

Should I create a new payment intent and "somehow" (thats what I don't know) bind this intent with the open invoice?

Are the any important functions or properties for this special case?

Thanks! :)

Doc/Guide Links
https://docs.stripe.com/api/invoices/pay

What are you working on?
Paying Invoices

#

@gloomy moss pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Creating a custom billing portal configuration with products under subscription_update along with enabled = true and default_allowed_updates: ["price", "quantity"] should allow you to update and change price

What actually happened?
It does not show up for users. Other items in the configuration have an effect, but the ability to modify the plan quantity or price doesn't appear.

Reproduction Steps
Create a product. Add tiered per-seat pricing, add that product and pricing to a custom configuration and then pass the configuration.id into the portal session. Even with the user subscribed to that particular product, it will not show the ability to change quantity or price/plan.

Question
What needs to be done to allow for users to be able to update their tiered pricing through the portal? It is critical only this particular product is shown to a subset of our users (beta users) and not to all users as it represents a special offer of X seats free.

What are you working on?
Payment processing for our saas product.

cursive heronBOT
#

@obtuse quarry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Re: On the topic of disputes, does stripe api provide any reasoning behind why a dispute was lost?

Related Request ID(s)
None

What have you already attempted?
None

What are you working on?
Personal project

cursive heronBOT
cursive heronBOT
#

@cursive lark pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Stripe have a reputation score or something similar for Developer accounts based on their interaction with banks and payment institutions?

Doc/Guide Links
https://docs.stripe.com/radar/rules

What are you working on?
My company is working on backup payment methods for failed subscription invoices. Similar to Amazon/Walmart charging a different card if the default card fails. I was wondering if we are jeopardizing reputation score, if any.

cursive heronBOT
#

@ebon creek pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a question related to partial authorization, what is the payload like when user has 0$ balance on the card.

Will stripe return as error or will I get a 200 and in payload will it reflect amount_authorized = 0?

Related Request ID(s)
I don't have a test card to attempt this

What have you already attempted?
I don't have a test card to attempt this

What are you working on?
Partial authorization

#

@violet delta pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The payment intent should move to a "succeeded" status after confirming server-side

What actually happened?
The payment intent moved to a "requires_action" status after confirming server-side

Reproduction Steps
- Add test card 4000002500003155 through a Stripe.JS payment element and setup intent
- Confirm the setup intent and complete 3DS
- Asynchronously create a payment intent server-side with that payment method and confirm it

Question
I am trying to understand why the test card still requires an action when confirming the payment intent server-side as it should already be setup for off-session payments.

If I create and pay an invoice server-side using this card the payment is successful so I'm not sure why this doesn't happen when doing it directly with a payment intent?

What are you working on?
A platform that processes batch payments from users to Stripe Connect accounts overnight

#

@heavy jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question

  1. Since stripe charges 2.9% on collected sales tax, do people usually collect 103% sales tax to account for this?

  2. Stripe tax seems INSANELY expensive. 50c per api call? If i'm making $2 profit per transaction as a middleman, this is 25% of my profits.

I saw the subscription model but still. Hesitating whether i should use it now.

Related Request ID(s)
NA

What have you already attempted?
Read the docs

cursive heronBOT
#

@formal ruin pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I develop a marketplace peer to peer, where people can rent or lend items. When coming to checkout, a cart can contains multiple items, belonging to different tenants.

How to I manage this kind of flow using stripe connect ? Can I provide multiple payment_intent_data ? or what is the best practice to split the payment between different tenants ?

Doc/Guide Links
https://docs.stripe.com/connect/design-an-integration?connect-onboarding-surface=hosted&connect-dashboard-type=none&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-charge-type=destination

What are you working on?
A peer-to-peer rental marketplace

#

@grand grail pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to replicate the "refund with credit note" feature that the Stripe dashboard has.

Related Request ID(s)
Do not have request ids

What have you already attempted?
Within the stripe dashbaoard when you cancel a subscription you can refund a last payment and then also provide a refund & credit note. I'm wondering how do I also create a credit note when a refund is made.

Thanks,

cursive heronBOT
#

@obsidian ferry pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Issuing Card Shipping Returned

Question
A likely deliverable adddress got a shipping exception from Fedex and was returned. Why did this happen? Why is there no error for the event? Can I get a refund on the shipping fee

What have you already attempted?
evt_1QwaWtQpUF4TPet2SigkslYW

cursive heronBOT
#

@last scarab pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when using express checkout element in testmode, i never see Paypal as an option? Is PayPal a viable option for express checkout element? I dont even see it on any of your docs and its not listed as an option to turn on in the settings on the dashboard in testmode

Related Request ID(s)
none

What have you already attempted?
succesful implementation of express checkout element

What are you working on?
ecommerce store

cursive heronBOT
#

@tired swallow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When our user merchants sign up through Connect hosted onboarding, what are the avenues through which entity names can be set and modified? ie. Can the merchant edit them through Connected Onboarding? Can we edit them through the dashboard? Can they be edited programmatically?

Related Request ID(s)
No request IDs, more a general product question

What have you already attempted?
Looked through documentation, our dashboard, and the Stripe Connect Onboarding process in development environments, but asking to make sure I understand the exhaustive set of entity name modifying actions

cursive heronBOT
#

@frigid quartz pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when auto cancelling subscription on payment failures. is it possible to update the invoice. We want to setup auto cancelling after 7 days of non-payment. is it possible that we update the invoice for 7 days of only because the subscription is cancelled.

Related Request ID(s)
req_dyEiAAzwi4czee

What have you already attempted?
simulated moving the subscription in forward in time to be marked as unpaid/cancelled. the invoice for full amount remains open

cursive heronBOT
#

@tired swallow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We enable our merchants to create Custom Stripe Connect Accounts through the embedded onboarding component. Is there any way for us to set the 'Legal business name'/entity name on behalf of the merchant, and prevent editing of that field?

Related Request ID(s)
General product inquiry

What have you already attempted?
Following up on #dev-help message

What are you working on?
We need to ensure that our merchants' "Legal business name" does not deviate from other compliance information provided by the merchant

cursive heronBOT
#

@ionic stratus pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-method-messaging

Question
Hi Stripe! We have recently implemented Buy Now, Pay Later payment methods in our app. I saw from the docs that it is possible to add the Payment Method Messaging Element on Web. Is this element available on the iOS or Android SDKs? If not, are there any plans to add this to the mobile SDKs soon?

What have you already attempted?
I've searched the docs, but I am unable to find this element within the iOS SDK

cursive heronBOT
cursive heronBOT
#

@blissful delta pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment-link/update

Question
Hi Stripe, I have a question about business that we are about integrate with Stripe.
We want to use less involve as much as possible of payment process and we thinking of using payment link method.
The problem is the price will be flexible, we will have 10 products and depending on user, the products will be charge by different amount.

What have you already attempted?
I am thinking in the way that we will create each product for each payment, but it will be a thousand of product.
My coworker have talk to you and he said that: "they said that we needed to create all possible products in the Stripe frontend first (aka Compensation/ Post-Licensing/ Infringement...), and then we can fetch these info to the payment link creation; once the payment link is created; then we use the 'Update Payment Link' API to update the price accordingly; So we do not have to create thousands of products, and the price will also be adjustable."

cursive heronBOT
#

@slate sedge pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have my stripe subscriptions all set up for my SaaS, but I wanted to know what the best practices are for users to see there invoices and also a place for them to cancel there subscriptions. Thanks!

Doc/Guide Links
I do not have a docs

What are you working on?
SaaS

cursive heronBOT
#

@livid wren pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeOnrampPromise = loadStripeOnramp(config.STRIPE_PUBLIC_KEY);

Question
I don't see a way of setting a locale when loading the stripe onramp widget.

What have you already attempted?
Read the docs and looked at the source code for @stripe/crypto

What are you working on?
Onramp integration

cursive heronBOT
#

@inner drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Regarding subscription-related issues, our current business needs to support multiple items within a single subscription, and we also need to handle adding or removing items. I would like to ask the following questions:
When User 1 creates Subscription A, which is charged monthly, and adds Item B to Subscription A on the 10th, does the user need to make a payment (i.e., triggering Stripe's payment interface in the app)?
If payment is required, how is the price calculated?

Related Request ID(s)
no

What have you already attempted?
I tried to add an item to an existing subscription. After successfully adding the item, I couldn't find the relevant parameters in the subscription information to trigger the payment interface.

cursive heronBOT
#

@livid sleet pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Charges are paused

Question
Hey guys, are there any other ways I can speak to stripe? We have been flagged for fraud but we are a legitimate business. You’re refunding our payments and this is going to kill our business. We are a startup and I can provide all of the proof that we are legitimate.

What have you already attempted?
Supplied supporting documents but it’s all an automated process and I’d like to request an automated review

What are you working on?
Openmagic is an ai-powered cgi platform

#

@stoic radish pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We successfully created the frontend to backend routine with the Payment element. The backend can create the paymentIntent and confirm it and so on. Our next question was can we create an invoice, which as an payment_intent field, and use the payment_intent which is created by the finalize api of the invoice to bind the confirmationToken of the payment element to it. I tried it, but I am getting the error: "Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed through the API configured with payment_method_types."

Related Request ID(s)
req_feePfbhi6UbJPC

What have you already attempted?
I already tried to set the payment_method_type to null which is not supported. I also tried to bind the payment_intent to the invoice which is apparently not possible.

What are you working on?
We have a webshop plugin for octobercms which we try to extend. Our goal is to create the paymentIntent through stripe and also the invoice, which will be field with all items. This mapping would help

#

@delicate birch pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am building a discord that will be in sync with the stripe subscription. We have few plans but only 2 of them will allow user to have access to the discord with specific role and when any of the plan gets expired or updated, the bot will remove those roles.

I have currently implemented webhooks with two type parser:
- customer.subscription.created
- customer.subscription.deleted

and I feel like this has flaws in terms of security. I need help to learn how do i know exactly if it's the premium plans or any plans and updating of roles based on sub tier change/expire. Please I need guide here

Related Event ID(s)
evt_1R1jhjP3R5TJa2zMt44QCo16,

What have you already attempted?
I have implemented the webhook but want to make it secure. I can share the code as well

What are you working on?
discord bot

cursive heronBOT
#

@harsh plank pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
var loadTimeDataRaw = {"details":"Détails","errorCode":"ERR_BLOCKED_BY_RESPONSE","fontfamily":"'Segoe UI', Tahoma, sans-serif","fontfamilyMd":"'Segoe UI', Tahoma, sans-serif","fontsize":"75%","heading":{"msg":"\u003Cspan>js.stripe.com\u003C/span> est bloqué"},"hideDetails":"Masquer les détails","iconClass":"icon-generic","language":"fr","suggestionsDetails":[],"sugge

Question
async setupStripe() {
this.stripe = await loadStripe(environment.stripePublicKey); // Votre clé publique Stripe
this.elements = this.stripe.elements();
}

What have you already attempted?
I use @stripe/stripe-js

cursive heronBOT
#

@dire ivy pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I want to pay my invoice. The status of the invoice is still "open" (API).

What actually happened?
API response for pay attempt: "This invoice can no longer be paid. Consider voiding, marking as uncollectible, or marking as paid out of band instead."

Reproduction Steps
I have a subscription "sub_1R1OVVLZihhBkt1czf93LP2N".

The test clock was moved forward to simulate a failed payment with 3DSecure. I have set up a test card with 3DS as default payment method for this subscription.

The subscription is in status "past_due". The last invoice is "in_1R1kRDLZihhBkt1caUXlAMWr" which shows "failed" in stripe dashboard - but not in API.

Question
Okay, how can I let my customer pay the last "past_due" invoice of his subscription - when stripe doesn't allow me to do this? What should I do now? :)

What are you working on?
Paying (Past Due) Invoices

cursive heronBOT
#

@errant venture pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
- I expected all enabled Dynamic Payment Methods (DPM) to appear in Stripe Payment Element, based on settings in both Platform Account and Merchant (Connected) Account (Direct Charge model).

What actually happened?
- Despite enabling DPM from both Platform and Merchant accounts, supported payment methods do not appear at checkout.

- Additionally, Apple Pay & Google Pay are missing, even though domains are added in both accounts.

Reproduction Steps
- Enabled DPM in Platform Account and Merchant Account.
- Allowed connected accounts to manage their own payment methods from the dashboard.
- Integrated Stripe Payment Element with Direct Charge.
- Added Apple Pay / Google Pay domains in both accounts.
- Checked checkout—expected payment methods do not appear.

Question
- Why are DPM methods not showing despite being enabled in both accounts?
- Are there additional steps for Direct Charge accounts to inherit payment methods?
- Do changes take time to reflect? If so, how long?
Why are Apple Pay & Google Pay missing after domain setup?

What are you working on?
Integrating Stripe Payment Element to show dynamic payment methods for Direct Charge connected accounts.

#

@inner drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
To add a new product using the subscription’s update feature, an immediate charge is required. How should I obtain this amount before performing the update?

Related Request ID(s)
stripeSubscriptionId:sub_1QzY6aHiYvn8ZIkem42CBDkn

What have you already attempted?
I tried adding a new product and set the "proration_behavior" field to "always_invoice," but I don’t know how this amount is calculated.

What are you working on?
I want to add a new product to the user's subscription, which will result in proration charges. I’d like to get this price and show it to the user, and only proceed with the addition after the user co

#

@cold dragon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was trying to update the invoice of the stripe subscription which is failed using paid_out_of_band as we are making payment as cash at our end and wanted to tell stripe not to do further retry for that particular invoice in the stripe subscription so that next billing cycle invoice are generated as it is.

Related Request ID(s)
req_FpSjzILLDlQgzl

What have you already attempted?
I have tried this to update this flag

#

@lavish gazelle pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I was looking for a way to use the core React components from my custom plugin such as CardAsset from upload plugin

What actually happened?
These components not seems to be available explicitly

Reproduction Steps
Trying to use any of the React components from upload plugin

Question
How can I use the core's React components in my custom plugin?

#

@shy cliff pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do you need to use 2 webhook endpoints for Connect?

The docs https://docs.stripe.com/connect/webhooks show 2 webhook endpoints for Direct and Connect.

It seems the only difference in the event is the inclusion of `account` in the object?

I'm just trying to avoid near duplicated code in both endpoints if `event.account` is the only difference

Related Event ID(s)
None

What have you already attempted?
Reading docs

cursive heronBOT
#

@wheat rapids pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, i've imported 150k+ invoice records into a CRM, I now would like to enrich the records wiht more data then is available in the export .csv. This means that I need to run 150k+ API requests.

Related Request ID(s)
-

What have you already attempted?
documentation about the AP I limits

What are you working on?
Salesforce integration

cursive heronBOT
#

@vocal aurora pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'd like to get the correction link of a Stripe Connect account. This way I could create a button on my front end application to redirect the user and he can change his information.

Doc/Guide Links
I mainly looked at the webhook documentation (https://docs.stripe.com/connect/webhooks). I though I could get it from the `account.updated` event when the update fail.

What are you working on?
I'm working on the creation and update of a Stripe Connect account

cursive heronBOT
#

@frozen berry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to implement currency conversion if we're using stripe elements (with new checkout setup in public preview)? Or would we need to do this on our end? Eg creating prices for every product in the currencies we want to sell in

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

@terse hound pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are working on a project where we have a client request to integrate the Stripe system with a mobile application. We are talking about subscriptions where the user can pay for a subscription only for themselves or can pay for a subscription for themselves and a friend. We are interested in how it is possible to create logic to cover the case of paying for a subscription for a friend.

Doc/Guide Links
https://docs.stripe.com/subscriptions

What are you working on?
We are developing a mobile app with subscription feature.

#

@dire ivy pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a subscription with a bound payment method which ALWAYS triggers 3DSecure. I've moved my testclock forward to the next month to repeat the billing cycle. The subscription is in state "past_due". The invoice is open. Everything fine so far!

Now, when I attempt to pay the invoice and on purpose I fail the payment 5-6x, the payment intent of this invoice is "canceled". The invoice can't be charged anymore.

What would be the best approach now? The customer can't pay the invoice yet anymore. The subscription will be canceled within 14 days (automation).

That's absolutely not user friendly. I must offer the customer a "payable" invoice but that's currently not the case :(

Doc/Guide Links
https://docs.stripe.com/api/invoices/pay

What are you working on?
Paying subscription invoices with a canceled payment intent of the invoice.

#

@stoic radish pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/integration/automatic-advancement-collection

Question
Is there any page or way to clearly determined when which of the listed features that can be controlled by `auto_advance` is being used or called with which action/event of an invoice?
Is there any way to see if stripe would send an email or besides the settings, for example when is the emailing invoices really called?

Or could I leave `auto_advance = true` within the whole process?

  1. create invoice
  2. finalize invoice
  3. confirm paymentIntent from invoice with confirmationToken.
    Would 2. finalize invoice already try to send an invoice mail besides my try to confirm the paymentIntent?

What have you already attempted?
We create an invoice with `auto_advance = false` and add all items to it. After that we finalize the invoice to get a paymentIntent from it. We confirm the paymentIntent in the backend and redirecting the use if required.
After the paymentIntent is confirmed we update the invoice with `auto_advance = true` to re-enable the features which are listed in the docs page.

What are you working on?
We extend a existing webshop plugin for octobercms. The customer should buy a product and the invoice will be coupled to the paymentIntent. Stripe should handle the payment and invoice.

#

@heavy berry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Stripe checkout form where I am providing customer details like name, email, shipping details, phone number. If I provide the same details every time then will new customer create at Stripe end every time or is there any uniqueness checking based on email or any other field?

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

@frozen berry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have orders coming in and some of the order items may either be products like tshirts or subscriptions. How would we handle these via stripe? Would we first need to create a payment intent for the products and charge the subscriptions separately?

Related Request ID(s)
NA

What have you already attempted?
Is there any way to charge them all to one payment? And avoid additional stripe fees? (the 30 cents fixed)

#

@vocal aurora pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'd like to get the correction link of a Stripe Connect account. This way I could create a button on my front end application to redirect the user and he can change his information.

Doc/Guide Links
I mainly looked at the webhook documentation (https://docs.stripe.com/connect/webhooks). I though I could get it from the `account.updated` event when the update fail.

Someone helped me in another ticket and told me to use this: https://docs.stripe.com/connect/hosted-onboarding#create-account-link
But It's finally not what I'm looking for. Or, I'm not sure this is what I'm looking for.

What are you working on?
I'm working on the update of a Stripe Connect account

cursive heronBOT
#

@vale wing pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We raise quotes with transfer_data which then goes to invoices, which then goes to connected accounts when the invoice is paid. all works well. However, w're looking to apply for Stripe capital, which states to pay back it takes 12% per transaction, where does this 12% come from? The entire payment the customer makes, even though most of it goes to the connected account? Or is it 12% of what we make on the job? Example below.

Related Request ID(s)
N/A

What have you already attempted?
A repair costs £500 to the customer, we have £50 profit. But 12% is £60, would this then mean the transfer would fail?

cursive heronBOT
#

@leaden leaf pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using Laravel and Spatie's webhooks package. After upgrading to Laravel 12, my webhooks stopped working. I've reconnected the API but now I'm getting an error that the webhook call did not contain a type but it definitely did. I'm not sure how to investigate or fix this.

Related Event ID(s)
evt_3R1SWqH1Z1K59F9K1yWhcFW7

What have you already attempted?
Most of the errors for the last week were either 419 or 404's. This morning I figured out how to connect the API so only the 400 errors are still relevant. I also setup the Stripe CLI and sent test events and they are properly processed and added to the database.

#

@wet crescent pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to create a card without funds for testing but when I cannot add it on Stripe Dashboard. When i add I am unable to save it since it has insufficient funds

Related Request ID(s)
-

What have you already attempted?
Adding a card

#

@tender lance pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
how to fix this error "Sorry, we are unable to process the payment at this time. Reason: 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

Question
How to fix this error and get charged

What have you already attempted?
no

cursive heronBOT
#

@hollow kettle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are looking at removing payment methods from customers where they've not used it in the last year. Is there an API call to retrieve all payment methods, rather than having to retrieve them by customer?

Related Request ID(s)
xxx

What have you already attempted?
Looked in api docs

cursive heronBOT
#

@prisma coral pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to allow connected accounts to key in credit card info from the browser. Is it advisable to collect customer payment information over the phone and have the connected account key them directly into a stripe payment element?

Doc/Guide Links
https://stripe.com/resources/more/moto-payments-101
https://docs.stripe.com/terminal/features/mail-telephone-orders/payments

What are you working on?
A connected account integration for online booking software.

#

@misty magnet pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
M2 Bluetooth Terminal to connect to Stripe-Terminal-React-Native Example app w/ example-terminal-backend

What actually happened?
LOG [Stripe terminal]: didReportUnexpectedReaderDisconnect {"code": "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", "message": "Reader has been disconnected unexpectedly"}

LOG connectBluetoothReader error: {"code": "READER_ERROR.BLUETOOTH_DISCONNECTED", "message": "Bluetooth unexpectedly disconnected during operation."}

Reproduction Steps
Follow Readme to set up app. No code changes. Example backend deployed to Render and confirmed working.

Question
I want to test the core functionality of connecting to a bluetooth terminal but I keep getting a bluetooth connection failure. I'm at my wits end using the Stripe provided example.

My M2 terminal's serial is STRM26214112746. I also for some reason, cannot register this reader on the stripe dashboard.

#

@gentle ore pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an existing customer with an existing payment method attached to it and saved for future usage. Is there a component to display this saved method as soon as the customer gets to checkout?

Related Request ID(s)
not relevant

What have you already attempted?
I've followed the documentation here but it will still ask for payment details https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#save-payment-methods

#

@steel inlet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We've detected a different behavior in the automatic cancellation of subscriptions due to non-payment

Related Request ID(s)
None

What have you already attempted?
-

What are you working on?
ERP software

cursive heronBOT
#

@zinc ocean 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/invoicing

Question
I am wondering if we can invoice a client in advance that is not with a subscription. Or, if we can set up a subscription for marketplace. I.e., a company hires a team thorough our marketplace and has to pay $1k every 10th.

What have you already attempted?
We are able to see that you can do this for subscriptions but not in marketplace.

What are you working on?
I am using Stripe Marketplace for my freelancer team marketplace.

#

@misty magnet pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe Terminal M2 Reader should connect to Example App

What actually happened?
LOG [Stripe terminal]: didReportUnexpectedReaderDisconnect {"code": "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", "message": "Reader has been disconnected unexpectedly"}

LOG connectBluetoothReader error: {"code": "READER_ERROR.BLUETOOTH_DISCONNECTED", "message": "Bluetooth unexpectedly disconnected during operation."}

Reproduction Steps
Open example app, confirm stripe test key, confirm m2 terminal is not registered to any other app.

Question
Can you check if there's any logs that there are attempted connects for STRM26214112746? I feel like I've done everything correctly on my side.

cursive heronBOT
#

@astral ocean pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Hi our team using the stripe authentication for a connected account to link their external bank account. We want to provide the option where users can manually input their bank account information however this does not create a Stripe Financial Connections Account record but the stripe modal says it's a success. What data record should I expect to be created there?

What actually happened?
In the logs when I test manually entering bank account information there's the v1/financial_connections/sessions, but the account data is empty. Where should I expect to find that account information I entered and that Stripe said it was a successful submission in the form?

Reproduction Steps
The Stripe API is used to create a one-time use FinancialConnection Session secret, then the secret is passed to Stripe.js in the UI to trigger a modal to connect the account. When the stripe modal opens users have an option to 'Agree and continue' or 'Manually verify instead'. Select 'Manually verify instead' and input account details and click 'Submit'.

Question
Where should I expect to find that account information I entered in the manual verification section? Is it expected to be a Stripe Financial Connections Account or does stripe save it as something else?

#

@chrome oxide pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The view transaction details of the payment intent would show `charged to gcus or the guest name`

What actually happened?
Some transaction details of the payment intent when view on Stripe dashboard UI after creating a payment intent did not show `charged to gcus or the guest name`

Reproduction Steps
- Use stripe Connect to connect an account
- Use a separate charge and payout flow with transfer group to transfer money to connected account
- Create a payment with a brand new CC information to avoid account being lumped by default

Question
Hi, I would need to understand when will the UI on Stripe dashboard would show `charged to gcus or the guest name` because when I create a payment intent that did not have the customer object, to my understand it would be guest account. But sometimes the guest account are not shown any my boss is nagging for that. Can you help me explain?

What are you working on?
I'm working on a marketplace for renting cars in the US. I use Stripe Connect and separate charge and payout flow.

#

@fiery stirrup pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
One of our clients is asking us for a Bank Payout ID with a value that starts with 'ST-'. They gave us the following example: ORIG CO NAME=STRIPE,ORIG ID=xxxxxxxxx,ENTRY DESCR=TRANSFER,ENTRY CLASS=xxx,TRACE NO=111000024332xxx,ENTRY DATE=240725,IND ID NO=ST-V5A8N2D5Hxxx,IND NAME=xxxxx,ORIG BANK=xxxxxxx, N.A.

Is there any way to retrieve that value using the API?

Related Request ID(s)
N/A

What have you already attempted?
Reviewed the documentation and found nothing.

What are you working on?
API Integration

cursive heronBOT
#

@frozen berry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I have a product whose price is $100/night. Lets say a user books a two week stay in July which is $14000 a night. Can i charge them a 20% deposit one week before their arrival and then split the remaining to be charged on the day of the first week and then on the second week?

Related Request ID(s)
NA

What have you already attempted?
Maybe I could use subscription schedules?

#

@amber steppe pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have two Stripe Customer objects that we've verified belong to the same human (they have the same email address). How can we clone a payment method from one Customer, onto the other Customer? In order to simplify onboarding flow in which the second Stripe Customer object is being created

Related Request ID(s)
n/a

What have you already attempted?
looked through some docs, didn't see how to do this

#

@thorny nacelle pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/instant-payouts#application-fees

Question
This warns "Application Fees for Instant Payouts rely on the Balance API net-of-fees field. Turning this on without using the new field could break your API integration."

What does this mean, exactly? It's pretty vague.

Does simply retrieving balance with ```ruby
Stripe::Balance.retrieve({expand: ["instant_available.net_available"]}, {stripe_account: stripe_account})
```

and then using the net_available for the InstantPayout amount satisfy the requirement?

What have you already attempted?
Rereading

What are you working on?
Working on getting Instant Payouts working for our Rails 7 app.

cursive heronBOT
#

@hexed rock pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
There is currently another in-progress request using this Idempotent Key (that probably means you submitted twice, and the other request is still going through): stripe-node-retry-c4a61bd4-9b3d-4ea3-b…

Question
We are seeing this only in production. The idempotent key is auto-generated. We do not provide idempotent keys. Three calls occur in a burst, with the second two returning the errors. This suggests auto-retries by the Stripe SDK corresponding to the maxNetworkRetries configuration. Is this a bug with the SDK? Is there anything we can do to mitigate this?

What have you already attempted?
I've failed to reproduce this locally. I've traced the code and tested locally to ensure we are not calling anything three times in a row.

Reproduction Steps
So far this error has been occurring when calling the following endpoints:
- POST v1/invoices
- POST v1/invoices/INVOICE_ID/pay
- POST v1/invoiceitems
- POST v1/subscriptions
- POST v1/invoices/INVOICE_ID/void

What are you working on?
A car wash membership app

cursive heronBOT
#

@upbeat panther pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are using the following code:
Time.zone.at(stripe_invoice.lines.data.last.period.end).to_date
Where stripe_invoice = event.data.object
from invoice.paid event.
It is used to determine when is the subscription going to be charged next after this invoice.
Usually for trials there is a 0$ invoice that sets the date but we had a customer that was charged a day prior to what their trial invoice showed. Event ID is evt_1Qz8Ri2mVLBWWSll8UpHEQnV.

Question
For some reason subscription.trial and stripe_invoice.lines.data.last.period.end for a first $0 trial invoice was different. Can you suggest a better approach on how to determine the date of the next payment for the subscription?

What have you already attempted?
Still looking for a better solution.

What are you working on?
Using stripe subscriptions and calling Subscription's API.

cursive heronBOT
#

@zinc kelp pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Integration with Rayze. Would like to verify account without sharing bank login and password. What are some possible solutions?

Related Request ID(s)
n/a

What have you already attempted?
To complete setup with Rayze I have to verify bank info and would like an alternative way

What are you working on?
Rayze platform

#

@fickle meteor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I integrated with Jotform. I need to know where the incoming data is at on Stripe(I am very new to stripe and am not seeing it)

Related Request ID(s)
idk

What have you already attempted?
Went through some articles and support

What are you working on?
I am trying to collect CC information in a jotform, and have that integrated and flow into Stripe. The integration appears to be set up, but I do not see it in Stripe

cursive heronBOT
#

@quick 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/bank-transfers/accept-a-payment?testing=dashboard

Question
I want to migrate ACH Credit Transfer from sources API to payment_intents API through Stripe. I followed the doc mentioned above.

I am passing these details in request:

payment_method_data[type], payment_method_options[customer_balance][bank_transfer][type], payment_method_types[0], payment_method_options[customer_balance][funding_type], payment_method_data[billing_details][name]

But getting error:
"Missing required param: payment_method_data[us_bank_account]."

there is nothing about it in the doc. What should I pass?

What have you already attempted?
I tried passing these details:
payment_method_data[type], payment_method_options[customer_balance][bank_transfer][type], payment_method_types[0], payment_method_options[customer_balance][funding_type], payment_method_data[billing_details][name]
in the request.

cursive heronBOT
#

@hexed rock pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
There is currently another in-progress request using this Idempotent Key (that probably means you submitted twice, and the other request is still going through): stripe-node-retry-c4a61bd4-9b3d-4ea3-b…

Question
We are seeing this only in production. The idempotent key is auto-generated. We do not provide idempotent keys. Three calls occur in a burst, with the second two returning the errors. This suggests auto-retries by the Stripe SDK corresponding to the maxNetworkRetries configuration. Is this a bug with the SDK? Is there anything we can do to mitigate this?

What have you already attempted?
I've failed to reproduce this locally. I've traced the code and tested locally to ensure we are not calling anything three times in a row

Reproduction Steps
So far this error has been occurring (not every time) when calling the following endpoints:
- POST v1/invoices
- POST v1/invoices/INVOICE_ID/pay
- POST v1/invoiceitems
- POST v1/subscriptions
- POST v1/invoices/INVOICE_ID/void

What are you working on?
A car wash membership app

cursive heronBOT
#

@compact marlin pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Code:
Customer customer = Customer.retrieve("...");
TaxIdCollectionListParams params =
TaxIdCollectionListParams.builder().setLimit(3L).build();
TaxIdCollection taxIds = customer.getTaxIds().list(params);

Error:
Cannot invoke "com.stripe.model.TaxIdCollection.list(com.stripe.param.TaxIdCollectionListParams)" because the return value of "com.stripe.model.Customer.getTaxIds()" is null

Question
I would like to get all tax IDs of a customer in my Java backend. In the Stripe dashboard and when I request the stripe API manually I get the tax ids. Not via the Java API where it is always ‘null’. Does anyone else have this problem or is there a solution?

What have you already attempted?
I have tried to fetch different types of Tax IDS. However, the customer.getTaxIds() is the best solution (there is no other)

What are you working on?
Java

cursive heronBOT
#

@dire eagle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I validate the BIN (for credit card payments) accepted by Stripe per country? Is there a list of the accepted BINs?

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/integration-options
https://docs.stripe.com/js/payment_request/create
https://docs.stripe.com/payments/cards

What are you working on?
We are integrating the in-app checkout to Stripe Payments API.

#

@barren laurel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get instant settlement on Stripe ACH direct debit?

Related Request ID(s)
req_HHsZTVrWBdNLAu

What have you already attempted?
We already have ACH direct debit working but it doesn’t give us instant confirmation of funds. How do we make that happen?

Currently we are facing an issue where when our app charges the user they don’t see the charge reflect on their bank for days. Which is a bad experience + we have to float funds to cover transfers until their money arrives.

What are you working on?
https://chipp.it

cursive heronBOT
#

@normal moat pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to check invoice PDF before sending it to customer. Is there any way to get a link for draft invoice?
I was expecting that hosted_invoice_url in invoice object will be the one, but it seems to return null if it's draft.

Related Request ID(s)
none

What have you already attempted?
checked CreateInovice's response and hosted_invoice_url is null.

What are you working on?
Create invoice as draft and after checked, send it to the customer.

cursive heronBOT
#

@radiant cedar pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Front END:
const {error,confirmationToken} = await stripe.createConfirmationToken({elements,params: {return_url: 'XXX'} ...});

Backend

stripe.Subscription.create(customer=customer.third_party_id, items=stripe_items_to_purchase,payment_behavior='default_incomplete',
payment_settings={'save_default_payment_method': 'on_subscription'},
expand=['latest_invoice.payment_intent'],
trial_period_days=trial_period_days)

Question
I am trying to initiate payment using google pay/apple pay without collecting user information. It is a recurring subscription and I was able to retrieve the confirmation token. How do I associate this token to the customer which is being created via api

What have you already attempted?
customer create works as i have another implementation with the same code but not using expressCheckout.

What are you working on?
Children subscription application

#

@mellow sentinel pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Stripe payment provider - "GetPaymentRequestAsync" failed with StripeException: null: "Stripe.StripeException: Error while communicating with one of our backends. Sorry about that! We have been notified of the problem. If you have any questions, we can help at https://support.stripe.com/.
at Stripe.StripeClient.ProcessResponse[T](StripeResponse response) in /_/

Question
Are you currently experiencing a prod outage? Why is your status page green?

What have you already attempted?
https://status.stripe.com/

#

@bitter prawn pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have 2 questions.

  1. Is there an event that I can use to let a customer know that they will be billed for the annual plan a few days ahead of the change? I don't see any event other than subscription.updated, which would be too late. Do I need to handle this and just send an update to customers with my own scheduling in my app?

  2. Once a schedule has run through all phases, and say the behavior is set to `release` but the final phase is an annual plan that runs in perpetuity -- can I remove the schedule since it's no longer in use?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules

What are you working on?
I'm using a Subscription Schedules to offer an introductory price for an annual plan, so the customer gets 1 month at a discount and then pays the annual price.

#

@mossy hazel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a scheduling app where I want to add paid bookings feature. Is it possible in one server to confirm the booking and based on success or error do some other stuff.

Related Request ID(s)
.

What have you already attempted?
So I am using payment elements, and as of my understanding i only only call confirm checkout on client side and not on the server and therefore can also not do stuff server side based on payment status

What are you working on?
,

#

@hallow lake pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am implementing a checkout session API. I want it to use the card already saved by the customer instead of asking it again.

Related Request ID(s)
req_Vx08p0scQX9F3g

What have you already attempted?
I am passing my customer ID already (which should work as per docs) and payment_method_collection as "if_required:

#

@ebon orchid pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When using Chrome "autofill" for mobile phone number on Stripe checkout it selects the correct country for the phone number.

What actually happened?
When using Chrome "autofill" for mobile phone number on Stripe checkout it selects the first country code with +1 rather than the correct country. Users sees "Your phone number is invalid."

Reproduction Steps
Should be applicable to any Stripe Checkout - for our specific use-case follow the steps below

  1. Go to flumewater.com
  2. Press "Buy Now"
  3. Press "Continue Checkout"
  4. Use Auto-Fill on Chrome to fill out a US phone number
  5. "Anguilla" is selected rather than "United States"

Question
Had a thread open with this issue - response was "Yes, looks like this issue is on our radar. I'll nudge our team for an update on this so we can get it sorted soon."

This is still affecting us pretty significantly and we've had to disable phone number collection in some cases.

Is there a timeline for this being resolved?

What are you working on?
D2C Consumer IOT Checkout

#

@cinder pilot pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are utilising Stripe Connected Accounts for our clients, generating and sharing links to onboard them onto Stripe. However, to fully integrate Stripe with our platform, we require both the Publishable Key and Secret Key associated with the connected accounts.
Is there a method to retrieve these API keys through the Connected Accounts interface? Additionally, what alternative approaches can we take to seamlessly integrate these accounts into our platform?

Doc/Guide Links
https://docs.stripe.com/api/connected-accounts

What are you working on?
A restaurant online ordering platform

cursive heronBOT
#

@light knot pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
SetupIntentCreateParams.builder()
.addPaymentMethodType("us_bank_account")
.setUsage(SetupIntentCreateParams.Usage.OFF_SESSION)
.setConfirm(true)
.setPaymentMethodOptions(
PaymentMethodOptions.builder()
.setUsBankAccount(
UsBankAccount.builder().setVerificationMethod("skip").build())
.build())
.build();

Question
How can the property "payment_method_options.us_bank_account.verification_method" be set to "skip"? The enum doesn't have this option

What have you already attempted?
.

What are you working on?
Subscription based service

cursive heronBOT
#

@last scarab pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when rendering express checkout element, the options available change depending if i am on mobile or desktop - we need the experience to be the same and render all payment options at all times

Related Request ID(s)
none

What have you already attempted?
trying to use the layout system described here:
https://docs.stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-layout

What are you working on?
ecommerce store

cursive heronBOT
#

@loud cedar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our current Next.js implementation uses Elements to allow for CC, Apple Pay, and Google Pay. We want to add Cash App and Amazon Pay to our options, but the documentation doesn't provide a clear answer for what components we might be able to use to incorporate all of the payment options. I have enabled them in our options dashboard, but can't find out how they become available to the customer.

We currently use separate Address and CardNumberElement, CardCvcElement and CardExpiryElement components

Related Request ID(s)
NA

What have you already attempted?
https://docs.stripe.com/payments/cash-app-pay
https://docs.stripe.com/payments/amazon-pay
https://docs.stripe.com/payments/payment-element
https://docs.stripe.com/payments/quickstart?lclient=next

cursive heronBOT
#

@grave relic pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I have a customerId with multiple teams. With each team having the same metered price on different subscriptions. How do I send meter events for the different teams?

It appears that the assumption is there will be one metered price of any type per customer. But that's not the case for us.

I see that I can create a meter event name and attach it to the price upfront. But I can only provide the name and the customerId, there's no way to differentiate the teams.

Related Request ID(s)
There are no IDs

What have you already attempted?
Reading the docs

What are you working on?
A product that helps to build and manage complex multi line item pricing models for SaaS products

cursive heronBOT
#

@barren laurel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My transfer ends up using card balance/ach balance at random, after the transfer is complete to the connected account. It goes correspondingly to the card/ach balance. How to I figure out how to specify to charge "ach" balance VS "card_balance" .

Related Request ID(s)
req_HHsZTVrWBdNLAu

What have you already attempted?
// Step 3: Create the payout
payoutParams := &stripe.PayoutParams{
Amount: stripe.Int64(int64(amountFloat * 100)), // Amount in cents
Currency: stripe.String("usd"),
Destination: stripe.String(bankAccountToCredit.StripeBankAccount),
Description: stripe.String(description),
StatementDescriptor: stripe.String(descriptor), // Explicitly specify bank account ID
SourceType: stripe.String("bank_account"),
}

What are you working on?
https://chipp.it

cursive heronBOT
#

@tropic bridge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I don't understand why the response from the API is different when I update cancel_at_period_end vs description when I'm attempting to attach an application fee to a subscription not originally created by our platform.

Related Request ID(s)
req_vliWULLQ3ACDFr, req_fe3s3PJNiRdxQB

What have you already attempted?
I've verified that only when my updated contains cancel_at_period_end: true the application field is populated properly, otherwise it stays null even if the application_fee_percent is correctly added

cursive heronBOT
#

@keen swallow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
The code is on the site: https://nvmun.org/registration/delegate-registration.html

Question
How to implement the payment element in the registration form? I want to replace the button to the payment link with the payment element.

What have you already attempted?
I have tried using ChatGPT to help me implement it, as well as implementing it according to the Stripe Docs. I used Netlify Functions for creating the payment intent and the frontend tries to handle API callbacks.

What are you working on?
A Model UN conference's website

cursive heronBOT
#

@torn shell 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/cross-border-payouts

Question
Can Canadian Stripe account using Stripe Connect onboard US and Canadian creators, and pay the US ones in USD and the canadian ones in CAD? With Stripe Canada you can accept in USD and CAD, can you payout as well?

What have you already attempted?
I've been researching lots of docs and I'm a little confused by this.

What are you working on?
I am building a content creator program where players can support creators by using their creator code. Thinking of using Stripe Connect to pay the creators. It will only be for Canada and US.

cursive heronBOT
#

@warped rune pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Alyka.Stripe.Cache.$submit.on('click', async function (e) {
e.preventDefault();
Alyka.LoadingScreen._showLoading();
const { error: submitError } = await elements.submit();
if (submitError) {
Alyka.LoadingScreen._hideLoading();
return;
}
var myHeaders = new Headers();
myHeaders.append('Content-Type', 'application/json');
myHeaders.append('shoppingguid', $('#shoppingguid').val());
myHeaders.append('stripeelementt

Question
How can I Block if Postal code verification fails based on risk score

What have you already attempted?
I am trying to understad the flow of how this can be achieved. I have used Payment Element for stripe payment. I don't see postcode being submitted anyhwhere?

cursive heronBOT
#

@polar ridge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm looking to force a different Prorating Behaviour while maintain a Customer Portal for Users to upgrade their subscriptions.
My Intention is that if User is Subscribed to Plan A (Yearly) on April 12th and then Upgrades to Plan B (Yearly) on Jan 31 -> The charge should be {Plan B Price} - {Unused Time of Plan A} and the Billing Cycle should get set to Jan 31

How do I get this behaviour while maintaining our Customer Portal (with custom configuration)? We running into a lot of issues

Related Request ID(s)
Not sure what would be useful here, I'll some of the payloads in the thread I guess

What have you already attempted?

  1. We currently have a webhook for subscription.updates where we
    1.1 We set billing_cycle_anchor to now and proration_behaviour to none
    2.2 We calculate the invoice ammount through logic and some code

We've tried through the /prices and /invoiceitems endpoints but we're getting the following problems

  1. We are getting a lot of Stripe events for a single subscription.update and we don't know how to filter them
  2. We feel we're doing this flow very manually and that it's prone to error. I assume somone must have done this before or know hows to handle it

What are you working on?
We want to add this new payment behaviour for a client. Essentially they want to be able to charge the full new plan price (minus whatever was left unused), instead of waiting until the end of thecycl

cursive heronBOT
#

@river crater pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are trying to pull partial payment intents under the invoice, but we can't since only the first one is related to the invoice.

Related Request ID(s)
https://dashboard.stripe.com/test/invoices/in_1R1MAuFriiYkeGhMnTcArbOH

What have you already attempted?
we tried to pull all payments undeer invoice but we can only pull the first one

What are you working on?
we are collecting chunk payment intents for refund incase they use different payment method.

#

@vale quail pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm testing the Stripe Financial Connections integration, but I'm not receiving webhook events at my sandbox test mode endpoint. What's the best way to trigger webhook events in test mode?

Related Event ID(s)
we_1P9ApdLV0IXJDiQBibOJxy96

What have you already attempted?
Our integration is already live, and we receive events in production. In test mode, we successfully receive webhooks for our other Stripe integrations, but we're not receiving any related to Financial Connections transaction data

What are you working on?
Financial Connections to receive transaction data from linked accounts.

cursive heronBOT
#

@unborn dirge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible for a Refund object's status to change to failed or any other value if it is initially 'succeeded'?

Related Request ID(s)
none

What have you already attempted?
https://docs.stripe.com/testing#refunds
" a refund can appear to succeed and later fail,"
Does that mean the status can initially be "succeeded" and then later change? What is meant by "appear to succeed"?

What are you working on?
a service where customers make payments using payment intents, and can under certain conditions be refunded using the Refunds api.

cursive heronBOT
#

@heavy jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can transfers fail if the connected account isn't up to date with their requirements? Or will they just not be able to withdraw the money?

Related Request ID(s)
NA

What have you already attempted?
Checked the transfer docs

cursive heronBOT
#

@vocal sphinx pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best way to create subscription plans/products for a specific custom connected account? We cant use standard accounts due to business reasons so currently all our connected accounts are custom but we would like offer the ability for our connected accounts to create their own plans/product for subscriptions. I'm guessing we need to create the prices on our parent account with a metadata storing the connected account's ID but wanted to confirm.

Doc/Guide Links
https://docs.stripe.com/connect/destination-charges
https://docs.stripe.com/api/prices/search
https://docs.stripe.com/connect/subscriptions#decide-between-direct-charges-and-destination-charges

What are you working on?
Subscription Integration

cursive heronBOT
#

@wet hatch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to troubleshoot an issue , the issue happened on and off

basically why it takes 30 seconds plus for Terminal.getInstance().createPaymentIntent() to resolve

I call at Terminal.getInstance().createPaymentIntent() at t0

at t7 there's a POST https://gator.stripe.com/rpcservice/GatorService
at t9 there's another POST https://gator.stripe.com/rpcservice/GatorService
And then at t30 POST https://api.stripe.com/v1/payment_intents was called

what's happening between t0 and t30

Why the function only called POST https://api.stripe.com/v1/payment_intents was called at t30

Related Request ID(s)
https://dashboard.stripe.com/payments/pi_3R1zaoLvc0onZ7sf13dLoKDq

What have you already attempted?
observe newrelic log

#

@zenith epoch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
tap to pay sdk How to set parameters to reject cards that cannot be incrementally pre-authorized? How to re-initiate a payment for transactions using tap to pay?

Related Request ID(s)
acct_1Pum0bL5EyCTfUsP

What have you already attempted?
How to set parameters to reject cards that cannot be incrementally pre-authorized? How to re-initiate a payment for transactions using tap to pay?

cursive heronBOT
#

@fiery radish pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I am salesforce Developer,I have an experience cloud setup now i have to do a integration with strip for doing payments,so what all APIs do i need,account,checkout session or can you tell me how can i implement checkout in my salesforce

Related Request ID(s)
test

What have you already attempted?
test

What are you working on?
Hi I am salesforce Developer,I have an experience cloud setup now i have to do a integration with strip for doing payments

#

@clear spear pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to get the AVS code and CVV code from a charge? I can see cvc_check but it doesn't seem to map to response codes such as https://developer.paypal.com/braintree/docs/reference/general/processor-responses/avs-cvv-responses

Doc/Guide Links
https://docs.stripe.com/api/charges/object

What are you working on?
I need to provide the AVS and CVV result code downstream

cursive heronBOT
#

@wary haven pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Deleted customer account without actual deletion requested

What actually happened?
I've been working in Test Mode and I noticed that one of my accounts has been deleted however I haven't requested or did that myself.

Reproduction Steps
Not sure how to reproduce this.

Question
These are the last events and it's not clear to me what happend that this account is now deleted https://prnt.sc/O390aXk1ZGuA

cursive heronBOT
#

@dire ivy pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
That my payment methods which have been used for payments in elements are not duplicated in my customers profile.

What actually happened?
Whenever I pay as customer using payment elements, for example with test-card 4242, it adds this to the payment methods of the customer.

But when I pay again using the same card, it also gets listed in payment methods.

So, it duplicates or even often. Why?

Reproduction Steps
Pay as customer using payment elements using any credit card.

Repeat this process x times.

The credit card has been added x times to the customer profile.

Question
How can I avoid this behavior? Is that just in testmode the case?

What are you working on?
Listing Payment Methods Correctly

#

@lofty ice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to be able to support a fee on the buyer as well as an application fee for the seller.

The idea is that the buyer pays an amount + platform_fee. So let's say the buyer pays 1000 + 150 (15%). I want the platform to take this 15%. Then the seller is given the original amount of $1000, the partner will pay an application_fee of 100(10%) (the seller should only see this 10% being deducted) . How would I create the right charge.

Related Request ID(s)
req_2ehdVapUeD82u4

What have you already attempted?
I know that we can use application_fee_amount to decide how much the connected account pays. One way to get the money back is to have the checkout.sessions.create application_fee_amount to be platform_fee + application_fee. However this is not what I want because the connected fee will see this as a deduction of 250 instead of just 100.

Another way is to use transfer.amount to simply transfer amount - platform_fee - application_fee using transfer["amount"] to do so, but this results in the stripe dashboard not showing a deduction of the application fee. How do I move forward

#

@sour idol pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how subscription should continue indefinitely for the connected account ?

Related Event ID(s)
how subscription should continue indefinitely for the connected account ?

What have you already attempted?
how subscription should continue indefinitely for the connected account ?

What are you working on?
how subscription should continue indefinitely for the connected account ?

cursive heronBOT
#

@urban trout pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/cross-border-payouts

Question
I have stripe account based in US. How can I handle the connected accounts payouts for the accounts based in Mexico charging an application fee on each payout.

What have you already attempted?
I have tried for connected accounts other than Mexico and it is working fine. But my major target audience is Mexico and I need to implement this feature for Mexico.

What are you working on?
I'm working on an app that works as a platform where users register and create paid communities by paying a $49/month subscription fee and other users can join these communities.

#

@vast leaf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to identify products from a refund webhook?

Related Request ID(s)
req_test

What have you already attempted?
When i look at a refund webhook, it do not contain product name or other information i could identify product. Payments were made by "create checkout session" and also we have old style "create a charge"..

#

@grave relic pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I have a customerId with multiple teams. With each team having the same metered price on the same subscription. We want each teams usage reported separately on the invoice.

The legacy usage API allows us to specify the subscription item we want to increment for usage.

The new system seems to limit recording usage against customerId/price pairs.

We're wondering if we're ever likely to run into issues with deprecation or perhaps not having access to new features if we continue to use the legacy system.

Can you help us understand the state of play with legacy usage?

Related Request ID(s)
No ids

What have you already attempted?
We have everything working but are worried about not keeping up to date with your latest APIs

What are you working on?
An app to help SaaS developers build and manage complex pricing models that support orgs with multiple teams

cursive heronBOT
#

@mild musk pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if (this.stripe) {
this.elements = this.stripe.elements({ clientSecret: this.clientSecret });

				// Create payment element
				this.paymentElement = this.elements.create\('payment'\);
				this.paymentElement.mount\('\#payment\-element'\);
			}

Question
We are using angular and node. The checkout page will have the stripe form to get the card data from the user. On the same pay button, the order will be placed and payment will be made.

What have you already attempted?
We have used the stripe elements. Client secret is generated properly, but getting error:
Invalid value for elements(): clientSecret should be a client secret of the form ${id}_secret_${secret}

#

@minor imp 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/free-trials

Question
When using trial periods on subscription with payment data already collected, is it possible to end the trial before the trial_end date, attempt to charge the payment method and make it active if succeeded?
The reason I need this is because my 7-day trial gives customers 3 credits to perform certain actions. Once the 3 credits are used, they'd need to wait until the trial ends to upgrade. I want to give them the option to "upgrade now" that will end the trial immediately and try to charge the full subscription amount.

What have you already attempted?
Nothing yet.

cursive heronBOT
#

@exotic wigeon pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/events/types#event_types-customer_cash_balance_transaction.created

Question
Can the system automatically detect underpayment/overpayment and trigger an email at the appropriate timing?
Can the system retrieve the actual paid amount compared to the due amount and dynamically insert those values into the email?

What have you already attempted?
When a user underpays the specified amount:
"The total payment due is 10,000 yen; however, we have received only 8,000 yen. Kindly remit the outstanding 2,000 yen at your earliest convenience."
If the amount exceeds the specified amount:
"The total payment due is 10,000 yen; however, we have received only 12,000 yen. Our representative will contact you regarding the refund for the excess amount."

I tried customer_cash_balance_transaction.created but I can't get the write timing since it does not help identify if it exceeds or not.

What are you working on?
Send email when payment is not enough or exceeds the amount due.

cursive heronBOT
#

@steel inlet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I apply expand[] to a property of some kind of Webhook event? I need to receive 'payment_intent' property expanded on invoice.payment_failed event.

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

@still thicket pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
CardFormField(controller: ())

Question
I am using cardformfield widget by stripe flutter. In android i can see the scan card option but in iOS i can’t see

What have you already attempted?
Other widget cardfield

What are you working on?
I want to give a scan card future for iOS to save card details

cursive heronBOT
#

@severe dove pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The invoice of a customer only contains the price of our SaaS product

What actually happened?
The invoice contained the price of our product and a separate Stripe processing fee

Reproduction Steps
I don't know how this happened

Question
Why does a processing fee occur in some cases and it others not and what does it stand for?

cursive heronBOT
#

@crude ocean 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/object

Question
Hello, I see that the Subscription object allows only the application_fee_percent. Is there a way to set a fixed application fee though?
Some users suggested to update the invoice's application_fee_amount once created but it's possible for the second invoice onwards as the first invoice cannot be updated. Is that true?
This is the only workaround I have found online. Is there any other way to get a fixed application fee?
The application_fee_percent is not very flexible especially for pro-rated cases.

What have you already attempted?
I attempted to find the percentage based on the price, but that does not give exactly the amount I want.It's also tricky in cases of pro-rated amounts.

#

@rich hedge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The VAT information text to be translated to correct language in the embedded checkout.

What actually happened?
On our German site "VAT" is not translated to "Steuer" as i should, or at least it seems to fallback to VAT because on page load it quickly first displays in German and then reverts back to "VAT".

Reproduction Steps
Load the embedded checkout page in our German market.

Question
Is there a configuration error why this is not displaying in the correct language?

What are you working on?
Ecommerce website

cursive heronBOT
#

@fathom grotto 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://www.givesendgo.com

Question
Hello
I got an email from stripe last night

We're reintroducing new verification requirements for your Singapore-based connected accounts. This change requires updates to your Stripe integration to implement hosted onboarding for UBO and proof of liveness verification.
how we can integrate in our currecnt custome account flow
?

What have you already attempted?
I don't know how i can implement this

#

@limpid ore pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way we could have a "dummy" account to connect a group email to that account. Where we could receive dispute, and other notifications from?

Doc/Guide Links
We just wanted to try to have an additional account open from our personal ones as we still use those.

What are you working on?
We are working on a work flow to house the denials so we can see if they are being worked on timely and by who.

#

@deep yarrow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
app.post("/paynow", async (req, res) => {
const { price, orderId, transactionId } = req.body;

const session = await stripe.checkout.sessions.create({
payment_method_types: ["card"],
line_items: [
{
price_data: {
currency: "usd",
product_data: { name: "Test Product" },
unit_amount: price * 100,
},
quantity: 1,
},
],
mode: "payment",
success_url: `http://localhost:3000/success?orderId=${o

Question
Hey this is my code! I am trying to test my apple pay for this! I don't see the apple pay option here on my side! My payment methods says apple pay is active but there is a button below it that says "configure ios certificate" do i need to do something with it ?

What have you already attempted?
Tested using different api other than my country as i have developer account and i am from Pakistan

What are you working on?
implementing simple payment system

#

@vocal aurora pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
await stripe.accountLinks.create({
account: accountId,
refresh_url: refreshURL,
return_url: returnURL,
type: 'account_update',
collection_options: {
fields: 'eventually_due',
future_requirements: 'include',
},
})
)

Question
Hello !
I'd like to create an account link like this, but with a way to ask for identification documents.

I'm going to explain it better in the ticket so I can send screenshots

What have you already attempted?
I tried to change collection options but nothing changed.

What are you working on?
A way to let our users to change their stripe account information