#dev-help

1 messages · Page 99 of 1

cursive heronBOT
#

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

Code
Creating an intent in backend with conditional intent_params:

if post_params[:is_storing_credit_card_enabled] == true
intent_params[:setup_future_usage] = 'off_session'
end

::Stripe::PaymentIntent.create(
intent_params,
stripe_account: camp.stripe_account_id
)

Frontend on PaymentElement:

const payload = await stripe.confirmPayment({
elements,
clientSecret,
confirmParams: {
return_url: "",
},
redirect: "if_required",
})

Question
OUR THREAD CLOSED, REOPENING

Our integration is fully working, and we've been able to save CC info when using the CardElement, but when trying to save CC info for a Stripe Customer using the PaymentElement, we receive an error:

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

What have you already attempted?
if we make them match, the request doesn't send from FE, instead erroring with:

stripe.confirmPayment(): do not pass setup_future_usage at confirm time. Instead, pass setup_future_usage when the PaymentIntent is created.

What are you working on?
Campground booking software. In this case, the feature to optionally save CC info for future payments on checkout.

cursive heronBOT
#

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

Error Message
StripeInvalidRequestError: Only live keys can access this method.

Question
I am using the function below to add the bank details of a connected seller account. However, when I try to use this function, I receive the following error:
"StripeInvalidRequestError: Only live keys can access this method."

I understand that I’m currently using a test key, but I want to test the functionality of adding bank details and using the payout feature, wh

What have you already attempted?
const bankAccount = await stripe.accounts.createExternalAccount(
userData.stripeId,
{
external_account: {
object: "bank_account",
country: "US",
currency: "usd",
routing_number: routing_number,
account_number: account_number,

cursive heronBOT
#

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

Question
Hi Guys,

Is there any length limit on the description field for a Payment Intent creation?

Related Request ID(s)
NA

What have you already attempted?
Used the dashboard to edit descriptions and check if there are details on the length limit.

What are you working on?
Multi account integration for different markets

cursive heronBOT
#

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

Question
Is it possible to extend the authorization for a payment link using payment_method_options[card_present][request_extended_authorization]?

Related Request ID(s)
req_mjQdNcyo0K13iw

What have you already attempted?
I have tried through POSTMAN after reading the documentation but I think this may only be support for checkout sessions?

What are you working on?
An app for a client who wants to create payment links for deposits for holiday rentals. The default 7 days is too short so wants extended to 30 days if possible.

cursive heronBOT
#

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

Question
Hello! I am a platform with customers across many different geographical zones. All of our customers are set up using Stripe Connect Standard.

When creating a payment intent, I'd like to allow my customers to decide which payment methods they'd like to accept, but in some cases I would like to only allow a subset of those (i.e. when accepting online payments, I would like to prohibit payment method types that cannot be confirmed immediately like us_bank_account).

I can see this being possible with paymentMethodTypes or a payment method configuration.

Related Request ID(s)
req_gz8jq9jUh4I6Hz

What have you already attempted?
I have tried to manually set payment methods on the PI creation request but this doesn't allow me to blanket set payment methods across countries or accounts with different settings. i.e. with non-canadian customers I cannot indicate "interac_present" as a payment type or I get an error creating the PI. If I set link as an accepted payment type but the customer has disabled link in their personal settings, this is overridden.

cursive heronBOT
#

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

What did you expect to happen?
Manual capture should work with no errors.

What actually happened?
SOMETIMES I see an error saying:
"The provided capture_method (manual) does not match the expected capture_method (automatic). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements."

Reproduction Steps
I can't reproduce it locally, but my customers are complaining and sending me error message screenshots.

Question
I've configured manual capture on the backend and on the front end. On the FE I use Payment Element.
Somehow it doesnt work in 100% cases. SOMETIMES it shows an error above.
Maybe you can guide me or give me a hint what it could be

cursive heronBOT
#

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

Question
how do I upgrade to the new version of stripe-terminal-react-native?

Related Request ID(s)
n/a

What have you already attempted?
ran npm install stripe-terminal-react-native@0.0.1-beta.24

but this returns a. error

#

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

Question
We are trying to integrate instant payouts for our platform, currently, we are stuck adding an external account to a connected account:
`self.stripe.Account.create_external_account`
We are using stripe `Elements` lib to create a token for the card, and trying to attach a card to a connected account.

Related Request ID(s)
acct_1Qf61RGhim54Jws1

What have you already attempted?
In creating a token for the card and injecting currency, one of the requirements is to get the currency to add an external account to a connected account

#

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

What did you expect to happen?
ApplePay dialog that shows the amount before payment should have the correct amount as set in the payment intent.

What actually happened?
For some reason, the dialog shows a different amount than what is in the payment intent.

Reproduction Steps
Fill out all of the information in checkout, see the payment intent update, then choose the Apple Pay option to check out.

Question
Is there any reason other than the payment intent not having the correct information that this would be happening?

#

@sudden palm pressed 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/sdks/react-native

Question
I am integrating the Stripe Payment Sheet in my React Native project, and I also want to include the Google Pay button on the Payment Sheet. I have completed all the necessary configurations required for both the Stripe Payment Sheet and the Google Pay method. However, the Google Pay option does not appear on the sheet, while the 'Pay with Link' button does. How can we fix this?

What have you already attempted?
I am integrating the Stripe Payment Sheet in my React Native project, and I also want to include the Google Pay button on the Payment Sheet. I have completed all the necessary configurations required for both the Stripe Payment Sheet and the Google Pay method. However, the Google Pay option does not appear on the sheet, while the 'Pay with Link' button does. How can we fix this?

What are you working on?
I'm working on an e-commerce app and I want to integrate the Stripe Payment Sheet with Google Pay and Apple Pay. This app is based in the USA.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay

Question
I'm using an android device with react native / expo but when I test in live mode only work with credit card, how can I set to work debit card too?, when try to pay with debit card only show "Error, try again"

What have you already attempted?
I set all like the documentation

cursive heronBOT
#

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

Code
Stripe Payment Web Element

Question
In the Stripe Payment Element we see the following text. We'd like to conditionally hide it for one-time payments. Is that possible?

By providing your card information, you allow <organization> to charge your card for future payments in accordance with their terms.

What have you already attempted?
Looked through account settings on Stripe dashboard to see if this is something that can be changed or disabled.

What are you working on?
donation processing platform

cursive heronBOT
cursive heronBOT
#

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

Question
I'm not able to create a Invoice without Invoice Items pending for a customer. However, in some Stripe docs I see this being shown as possible. I can't do it though without getting 'invoice_no_customer_line_items'. Is it really possible, and if so, how can I do it?

Related Request ID(s)
req_PTeqfOLagiFnV0

What have you already attempted?
Changed some params, followed this specific example of Invoice creation request: https://docs.stripe.com/invoicing/integration#create-invoice-code

What are you working on?
I want to create a sendable invoice in Stripe before adding IvoiceItems

cursive heronBOT
#

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

Question
https://docs.stripe.com/billing/testing/test-clocks

Is there a way to integrate test clock at checkout page or with subscription?

Related Request ID(s)
https://dashboard.stripe.com/test/billing/subscriptions/test-clocks/clock_1RC8R6EnfH5zKLAp61jtdL0B

What have you already attempted?
I tried passsing test-clock in subscription_data and it didn't help

What are you working on?
Simulating test clocks

#

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

Question
When gathering payment methods, using setup intent with offline mode enabled.

what are the best practices we should be doing, if any, to validate the card

After creating the setup intent/payment method - are there any practices stripe recommends for further card validation on the networks

Doc/Guide Links
just the API https://docs.stripe.com/api/setup_intents but is there a better place for best practices I should follow up with

What are you working on?
creating a refund platform, we accept payment methods in advance of sending our customers money. we create a back up source, incase we need to charge fees to the customer

cursive heronBOT
#

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

Question
Hi, we use usage based reporting in our payment system. We are currently using `stripe-java v24.0.0` which is not the latest. We are using `stripeClient.subscriptionItems().usageRecords().create` as described here https://javadoc.io/doc/com.stripe/stripe-java/24.0.0/com/stripe/service/UsageRecordService.html, to report usage, which is no longer available in the newer stripe client. Is this api being deprecated? It looks like metered usage reporting is the new way to report usage. How long will the older usage reporting apis be supported?

Related Request ID(s)
NA

What have you already attempted?
NA

#

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

Question
I need to save the invoiceUrl of a webhook ‘invoice.paid’.

Related Request ID(s)
N/A

What have you already attempted?
I currently save the “invoice_pdf” field that comes in the webhook “invoice.paid”, but I noticed that this URL expires. Is there a way to save a URL that does not expire so that my customer can access it in a future?

#

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

Question
Does the events API endpoint return events in a guaranteed order? Or could they be out of order in the same way that webhooks can?

Related Request ID(s)
NA

What have you already attempted?
Nothing yet, just looking for a confirmation one way or the other.

#

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

Error Message
Invalid routing number for DO. The number must contain both the bank code and the branch code, and should be in the format xxxxxxxx.

Question
i try this many tome but not able to resolved this issue. what i am missing

What have you already attempted?
checked format and set the leading zero also

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/platform-pricing-tools/pricing-schemes

Question
What does it mean when I test a Platform Fee and get the message "Ineligible for pricing tools"?

What have you already attempted?
Set up Connect (in a sandbox) with "other business accept payments directly" type setup, create a connected account using the Stripe hosted setup, created a customer-chooses Price on behalf of the connected org, then created an embedded Checkout Session to accept donations.

What are you working on?
I'm trying to enable non-profits to accept donations through our site. We'd like donations to go directly to orgs but we want to take a 5% fee.

#

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

Question
Hey! Question about subscription cancellation in case of non-payment of invoice.

Related Event ID(s)
evt_1QrudVCYIYr4SWC9DzwL3T85

What have you already attempted?
We use two types of subscriptions - monthly paid and annual paid (one-time payment is added via add_invoice_items when creating the subscription). A user can use more than the monthly paid package, in this case usage_records are added to the subscription and when billing_threshold is reached, Stripe creates a new invoice and tries to pay it.

What are you working on?
Subscriptions with usage records

cursive heronBOT
#

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

Question
I recently switched from an entire separate Stripe account for dev to a sandbox in my actual production Stripe account. Everything is awesome EXCEPT I don't seem to be able to make cli `stripe listen --forward-to <webhook address>` to actually forward events that happen in the server.
I can trigger events from the cli, but I don't get events from the server, which was the most used feature for this in my previous setup.

Was this functionality removed?

Related Event ID(s)
Any event, really.

What have you already attempted?
I have basically the same setup as before, that worked given the previous condition (i.e. separate account instead of sandbox)

cursive heronBOT
#

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

Question
My leadership is trying to understand how/when stripe performs $0 auth.

We were told:
> Stripe does perform an auth with the issuing bank when you attach a payment method to a Customer.

We were curious if
- this auth is exactly $0

Is there any way to validate the $0 auth occurred, either by stripe or by us?

If we have customers_ids, would stripe be able to confirm that the auth occured? Or can we do this ourselves?

Doc/Guide Links
We don't explicitly say it very clearly (I'll recommend we add a callout to it in our

[Setup Intent doc](https://docs.stripe.com/payments/setupintents/lifecycle)

. But we do have a couple Support Articles that mention this:

https://support.stripe.com/questions/payment-intents-api-vs-setup-intents-api

https://support.stripe.com/questions/confirm-success-of-a-setupintent

What are you working on?
refund platform

#

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

Question
"The currrent action is not yet completed. STPPaymentHandler does not support concurrent calls to its API."
This started happening out of nowhere.

Related Request ID(s)
610 (github)

What have you already attempted?
Found this on github (https://github.com/stripe/stripe-react-native/issues/610) and tried to follow along some of the advice, but nothing has worked. Am not finding anything esle related to actions not being completed.

What are you working on?
An ecommerce solution for brick and mortar

cursive heronBOT
#

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

Question
I think I found a bug in the API: it's not possible to clear additional_emails through the API.

Related Request ID(s)
.

What have you already attempted?
It is currently impossible to *clear* the `additional_emails` field via the API. Sending an empty array (`[]`), `null`, `undefined`, or omitting the field entirely does *not* remove existing emails stored in Stripe for the customer.

What are you working on?
Ashby

cursive heronBOT
#

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

Question
Downgrade at the end of billing cycle via stripe customer portal session.

Related Request ID(s)
req_TrgXNgWri4k9Wj

What have you already attempted?
I wish to use stripe customer portal flow to downgrade a subscription at the end of the billing cycle. If i go into settings -> customer portal, there is a option for waiting until the end of billing cycle before downgrading. It claims my integration needs to support subscription cycles. However when I add a subscription cycle it says I can't open a customer billing portal since it has a subscription cycle.

#

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

Question
Right now, we use the stripe dashboard to send a reminder email when a user's trial is about to end. Now, via the dashboard, you're limited sending a reminder email 7 days before a free trial ends. But, our free trial is only 7 days long. Is there any way I can manually send the email via the stripe API instead of the dashboard default one? Or, could you make a feature request for me internally to allow that to be configurable?

Related Request ID(s)
00

What have you already attempted?
Browsing the documentation

cursive heronBOT
#

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

Question
https://docs.stripe.com/billing/testing/test-clocks

How can i directly use it with subscription_data at the checkout page?

I don't want to edit the customer object or use it with the customer object

Related Request ID(s)
https://dashboard.stripe.com/test/billing/subscriptions/test-clocks/clock_1RC8R6EnfH5zKLAp61jtdL0B

What have you already attempted?
I tried adding it to subscription_data but get an error..

#

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

Question
I'm trying to retrieve the payment_intent from the subscriptions object, but everytime I attempt to expand the invoice, it's saying payment_intent cannot be expanded

const subscription = await stripe.subscriptions.create\({
    customer\: customer.id,
    items\: \[{
        price\: price.id
    }\],
    payment\_behavior\: "default\_incomplete",
    expand\: \['latest\_invoice.payment\_intent'\]
}\)

Related Request ID(s)
req_A8QKyAbG3HWcLR

What have you already attempted?
I've tried using the retrieving the invoice object and it is still returning null

What are you working on?
Creating payment options for handling subscriptions.

cursive heronBOT
cursive heronBOT
#

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

Question
How do I test scenarios where "The customer hasn’t attempted to pay this invoice yet." where a payment intent stays "incomplete" and the invoice meanwhile fails.

Related Request ID(s)
pi_3QGD3fCFsGKEw9he1sRHf4u7

What have you already attempted?
Using various test cards and ACH to see if I can recreate this issue for testing our webhooks.

cursive heronBOT
#

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

Code
const ONBOARDING_OPTIONS = (
username: string,
): Stripe.AccountCreateParams => ({
type: "standard",
// country: "US",
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
settings: {
payments: {
[...]

Question
What is the best way to onboard a person to Stripe Connect to a country other than the US?

What have you already attempted?
Uncommenting the `US` as the country; still defaults to *only* allowing people to connect with the US.

What are you working on?
1m user application, setting up tipping for our creators through Stripe Connect

cursive heronBOT
#

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

Question
How can I get multiple Stripe prices given their ids in a single request. I tried search endpoint and it does not allow the id as a parameter.

Related Request ID(s)
req_Eimdg1SDjDLxLo

What have you already attempted?
Search endpoint

What are you working on?
Reducing volume of queries to Stripe by batching price calls into 1 call

cursive heronBOT
#

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

Code
export const ONBOARDING_OPTIONS = (
username: string,
country: keyof typeof STRIPE_CONSTANTS.COUNTRIES = "US",
): Stripe.AccountCreateParams => ({
type: "standard",
country,
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
[...]

Question
Tried creating a Stripe Connect account with a country that is not the US (where our main account is in), but some countries that appear in /cross-border-payouts don't let us create the stripe account, such as AR (Argentina).

Stripe gives error that the country is not supported.

What would be the best way to get a *valid* list of countries (ISO) I can create accounts with?

What have you already attempted?
Went to:
- https://docs.stripe.com/api/accounts/create#create_account-country
- https://stripe.com/global
- https://docs.stripe.com/connect/cross-border-payouts

Created a list of all these countries

Tested account creation on a few; error already received.

What are you working on?
1m user application, setting up tipping for our creators through Stripe Connect

cursive heronBOT
#

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

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

Question
Is it possible to apply a custom 'payment method configuration' for the Customer Portal / Billing Portal?

We use various Stripe products, and would like to enable some more flexible payment method options in the Portal, like Direct Debit.

However, it seems that the Portal can only use the "Default" payment method configuration.

Is that correct?

We'd like to be able to assign a PMC in the Portal Session in the same way we can in a Checkout Session.

What have you already attempted?
Have reviewed the documentation, but not sure if we're missing something.

What are you working on?
Stripe Billing integration on a platform that also uses Stripe Connect (hence the need to control payment methods in the Portal specifically.

#

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

Code
import { loadStripe } from "@stripe/stripe-js/pure";

const stripe = await loadStripe('api key here');
const elements = stripe.elements();

const cardCvcElement = elements.create('cardCvc', { style: inputStyle });
const cardExpiryElement = elements.create('cardExpiry', { style: inputStyle });

cardCvcElement.mount('#cvc');
cardExpiryElement.mount('#expiry');

Question
I'm currently using Stripe JS's element object (https://docs.stripe.com/js/elements_object/create_element?type=cardNumber) for my payment flow on my web app.

This is all working as expected, but I'm seeing accessibility issues with screen readers (specifically on Android / iOS) where the iframe container is getting read before the inputs

Are there any options to modify the accessibility attributes of the <iframe> so that I can tweak what gets read out by screen readers?

What have you already attempted?
I've looked through https://docs.stripe.com/js/elements_object/create_element?type=cardNumber but there doesn't seem to be any options for modifying the accessibility settings of the generated <iframe>

I've also attempted to manually set the "aria-hidden" or the "title" attribute of the <iframe> AFTER stripe elements are rendered - screen readers do seem to behave differently after the modification. However, I don't think this is feasible in a real life scenario.

What are you working on?
Web App with a payment flow using Stripe JS's Web elements

cursive heronBOT
#

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

Question
We are currently implementing card payments using Checkout Sessions.
At this time, we register the card as the default card via a webhook.
However, when we attempt to use this default card to process payments for other subscriptions,
the dashboard shows the following message:

“3D Secure attempt incomplete
The cardholder began 3D Secure authentication but has not completed it.”

Does this indicate that our implementation is incorrect?

Related Request ID(s)
We are currently implementing card payments using Checkout Sessions. At this time, we register the card as the default card via a webhook. However, when we attempt to use this default card to process

What have you already attempted?
Stripe::Checkout::Session.create(
customer: current_user.customer_id,
payment_method_types: [
'card'
],
discount: [{ coupon: params[:coupon] }],
mode: 'subscription',
success_url: Rails.application.credentials.profile_url_for_og_image + '/home',
cancel_url: Rails.application.credentials.profile_url_for_og_image + '?canceled=true',
currency: params[:currency],
line_items: [{
price: params[:price],
quantity: 1
}],
subscription_data: {
trial_period_days: trial_period_day

What are you working on?
C to

cursive heronBOT
#

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

Question
I am updating to the latest version of stripe-terminal-react-native SDK (v0.0.1-beta.24) From docs I see that iOS now needs deploymentTarget of 14.0. But has it also changed for android? Will 26 still work?

Related Request ID(s)
n/a

What have you already attempted?
Updated my config file in line with documentation:https://github.com/stripe/stripe-terminal-react-native?tab=readme-ov-file#requirements

'expo-build-properties',
{
ios: {
deploymentTarget: '14.0',
},
android: {
minSdkVersion: 26,
},

cursive heronBOT
#

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

Code
onst result=await fetchPaymentSheetParams(payload);
const { clientSecret, ephemeralKey, customer }=result

const {error}=await initPaymentSheet({
merchantDisplayName: 'Mind Hue',
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: clientSecret,
googlePay: {
merchantCountryCode: 'US',
testEnv: true,
currencyCode: 'usd',}});

Question
I am integrating the Stripe Payment Sheet in my React Native project, and I also want to include the Google Pay button on the Payment Sheet. I have completed all the necessary configurations required for both the Stripe Payment Sheet and the Google Pay method. However, the Google Pay option does not appear on the sheet, while the 'Pay with Link' button does. How can we fix this?

What have you already attempted?
i follow this doc and integrate all the configuration
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment

cursive heronBOT
#

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

Question
In my app there are managers and employees, one manager can create his organization and also add other managers and employees, I want one manager get subscription and other managers use it how i do it in stripe

Related Request ID(s)
Nothing

What have you already attempted?
Currently I make subscriptions for every manager

What are you working on?
I'm working on stripe subscriptions

#

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

Question
In the integration guide for terminal, it mentions to listen to the terminal.reader.action_* events. It's not clear to me if this has any advantage vs listening to the payment_intent & refund events?

Maybe these should be used if we'd want to somehow share the status in our webapp to replicate what's shown on the terminal? But if we don't need that, the payment_intent and refund events can be used instead? Or maybe I'm missing something

Doc/Guide Links
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#webhooks

What are you working on?
It's terminal integration for our clients (we are using connect)

cursive heronBOT
#

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

Code
<PaymentElement
options={options}
onChange={changePaymentMethodType}
onLoadError={e => {
props.onError(e.error.message)
props.disablePaymentElement()
}}
onReady={() => {
setShowButton(true)
}}
/>

Question
How can we use google pay to Payment Element in Payment Intent mode

What have you already attempted?

  1. Enable Google Pay on Stripe Dashboard
  2. Added Credit Card to Google Account
  3. server is secured i.e. https

What are you working on?
Implementing Google Pay in Stripe Payment Element

cursive heronBOT
#

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

Question
I'm not sure how to relate https://docs.stripe.com/changelog/basil/2025-03-31/remove-refund-from-partial-capture-and-payment-cancellation-flow to the current state of API.

Local webhooks:
> Ready! You are using Stripe API Version [2025-03-31.basil]

But it still sends charge.refunded, even thou docs say

> We’ll no longer send charge.refunded

Related Event ID(s)
evt_2RCJol6BNHJembTs0lJuORZQ

What have you already attempted?
I'm not sure if I can still depend on charge.refunded and don't want to needlessly migrate off it.

What are you working on?
off-band payments

cursive heronBOT
#

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

Question
Please confirm if fees and net_amount is done on the currency it was charged on or in the currency of the payout bank.

I am trying to display to the user the total amount and then the net that they received minus fees and taxes.

Related Request ID(s)
Balanace_Transaction API

What have you already attempted?
Have read through documentation but it is not explicitly stated. The payment was made in USD, but the payout was GBP and therefore it makes it hard for me to understand the best way to display the gross and net in the currency it was charged in

What are you working on?
Event ticketing

#

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

Question
Invoice generation and invoice issuer

Related Request ID(s)
N/A

What have you already attempted?
Currently the invoices that are generated from the subscriptions that my customers pay, goes in our name as a company. This is correct.
Now these customers have a connected account, and they make sales through our website, is there a possibility that the sales that they generate, Stripe creates the invoice on your behalf to your customers?

cursive heronBOT
#

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

Question
Why is my webhook not being called after modifying a user account?

Related Event ID(s)
none

What have you already attempted?
Checked configuration and keys

What are you working on?
I need to know if a user's profile is completely filled so the user can receive payouts

cursive heronBOT
#

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

Question
I have a subscription. I downgraded. The downgrade is scheduled so not yet active. I want to cancel the downgrade. Is there an easy way to cancel just the downgrade phase and get back on what is the current plan?

Related Request ID(s)
no clue

What have you already attempted?
Tried to update but maybe I am doing wrong. Tried through billing portal but it states it can't update the current plan since it is the same.

What are you working on?
A general saas

cursive heronBOT
#

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

Question
Hi team, we just found a issue that in test mode, when we create checkout with metadata, and simulate the subscribe and pay process, only checkout.session.completed webhook event can pass the metadata field, others event (such as invoice.payment_succeeded) cannot pass through the metadata field, please help with that. (In live mode, the metadata pass through works well)

Related Event ID(s)
in_1RCeIkFCfMrF7Me1wUdgdGh4

What have you already attempted?
Check the logs

#

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

Link to the Doc/Guide in question
https://stripe.com/en-fi/radar/pricing

Question
What is a "screened event"? Is every payment automatically a screened event, i.e. does the e.g. 0.05€ charge apply to all attempted payments. Or is there some other criteria that constitutes something to be a screened event? The reason I am asking is because we are investigating new integrations that require upgrading to "fraud teams" tier of Radar, but we are curious about the pricing implications.

What have you already attempted?
-

#

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

Code
public IHttpActionResult Create()
{
const string domain = "https://localhost:44344/";
var options = new SessionCreateOptions
{
UiMode = "embedded",
LineItems = new List<SessionLineItemOptions>
{
new SessionLineItemOptions
{
Quantity = 1,
PriceData = new SessionLineItemPriceDataOptions
{
Currency = "usd",
UnitAmount = 5000,
ProductData = new SessionLineItemPriceDataProductDataOptions
{
Name = "T-Shirt",
Metadata = new

Question
After the user clicks the Pay button, we need to keep the user on the same page and not send them to the "return.html" screen. In other words, tell them their payment was a success/failure within the iframe. Is this possible?

What have you already attempted?
If I remove ReturnUrl, it blows up so that's not the way to do it

cursive heronBOT
#

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

Question
Will Stripe expand support to Albania in the near future? Many developers and startups here are eager to use your services but are limited by regional availability.

Related Request ID(s)
N/A

What have you already attempted?
I’ve explored alternative payment platforms like PayPal and Mollie, but they lack the simplicity and developer-friendly tools that Stripe offers. I also checked with third-party services to see if Stripe can be used indirectly, but it's either expensive or unreliable.

What are you working on?
Building React-based web apps and e-commerce sites. Stripe support in Albania would boost local devs and small businesses big time.

cursive heronBOT
#

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

Code
const testTwint = async () =>{

const paymentIntent = await stripe.paymentIntents.create\({
    amount\: 2000, // CHF en centimes
    currency\: 'chf',
    payment\_method\_types\: \['twint'\],
  }, 

{stripeAccount: XXXXX}
);
console.log(paymentIntent)
}

Question
I don't understand why I can't activate the Twint payment methods on my test accounts, and I'm unable to create transactions in them. I would like some assistance if possible.

What have you already attempted?
Each time I attempt a payment method, whether through my main test account (where the Twint payment method is set to "on") or connected accounts, I receive the following response:
{.."status": "requires_payment_method"..}
I have already tried activating it via the webhook stripe.accounts.updateCapability and get success
Additionally, when I check the capabilities of my connected account using: accounts.listCapabilities i get {.. "id": "twint_payments", "status": succed..}

What are you working on?
We are the publisher of a suite of solutions in the restaurant industry, including web apps, kiosks, and POS systems.

cursive heronBOT
#

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

Question
I have started getting this exception today. com.stripe.exception.InvalidRequestException: No such account: 'acct_1RChQdBXxLkFDLzb'; code: resource_missing; request-id: req_xYdNTcjPmFf5QA
Never seen this before

Related Request ID(s)
req_xYdNTcjPmFf5QA

What have you already attempted?
I am trying to call AccountLink.create(params);

cursive heronBOT
#

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

Question
where can i add promotion code in billing portal for a subscription . I have updated the settings in my stripe dashboard to allow to add promotion codes to update subscription via billing portal

Related Request ID(s)
req_Xe9PPFfmWmY5P7

What have you already attempted?
creating a portal session for existing subscription in trial and active status

What are you working on?
agent hosting platform

#

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

Error Message
2025-04-11T02:15:40+00:00 Debug [Stripe Connect] Transfer Error: Funds can't be sent to accounts located in BR because it's restricted outside of your platform's region;
2025-04-11T02:15:40+00:00 Debug Could not transfer amount to connected vendor account via 3ds. Order ID: 39544, Amount tried to transfer: 29.9 USD

Question
We have a marketplace where the main account is US-based and some sellers have BR accounts. The split for these sellers is not happening — this message appears and the amount goes to the main account instead of being split.

What have you already attempted?
I’ve already updated the plugins and changed some settings in the Stripe module of Dokan.

What are you working on?
Dokan Marketplace

#

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

Question
I am using billing portal to setup upgrades on subscriptions. The problem I have is when I am on plan A (monthly) and I upgrade to plan B (yearly) where A is the same as B but yearly. Is there a way to order / sort the products so that stripe knows what is the upgrade path? Or I want to account for the full value for the cycle. Maybe I should do monthly vs yearly differently?! With the same product? I don't know.

Related Request ID(s)
sub_1RCPggBcNqF80vqKizAGHxJa

What have you already attempted?
A bit lost. I went to billing portal settings to see if I could do there but doesn't seem like it

What are you working on?
A saas

cursive heronBOT
#

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

Question
Hey, any idea why the invoice has never moved beyond draft? We have a few customer where this problem occurs with the following tooltip appearing:

"This draft invoice was created by an unpaid subscription, so automatic billing has been deactivated."

We have checked the logs to identify automatic retries but could not find a pattern why future invoices are stuck in draft too.

Customer example:
cus_Pk8Av4JLvvSqUz

invoices:
in_1QnfPDIBlWedxMGUBeJ2pTDT
in_1Qxon8IBlWedxMGUSkY5ekCe

Related Request ID(s)
none

What have you already attempted?
- asked stripe support (no answer)
- checked logs and automatic retries

#

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

Link to the Doc/Guide in question
https://dashboard.stripe.com/products?active=true

Question
I want to add to subscription based products to my stripe account, can you guide me how should I generate the products to show on the UI

What have you already attempted?
Need to understand the requirements to create the product.

What are you working on?
I am building subscription based plans/packages for my company virtualtechmasters.

#

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

Question
Setting up webhook to get payout created events, however we are not getting merchant account ref in response.

Related Event ID(s)
Payout.created

What have you already attempted?
Created webhook evet

What are you working on?
Trying to build integration to get Payout data and send it to ERP system for accounting

cursive heronBOT
cursive heronBOT
#

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

Question
I get a refund/cancel exception every time I execute a Refund::create {  }

Related Request ID(s)
req_ksWnhxOW1HXkGa

What have you already attempted?
Refund a charge

What are you working on?
Migration from Source / Charge API to PaymentIntent API

#

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

What did you expect to happen?
On March 28th I've created a subscription with billing cycle anchor set to the 3rd day. No payment on creation, first real payment would be on April 3rd. April 3rd came, the payment failed because the customer didn't have a payment method connected. They added one on April 4th. I expected the payment to succeed on next attempt.

What actually happened?
On April 5th attempt, the payment has still failed. Yesterday the subscription went inactive because of that.

Reproduction Steps
See the events for this invoice: `in_1R9s4O2GOJZ85wYsd1kNliMB` and the associated subscription.

Question
What is the reason of the April 5th payment failure?

cursive heronBOT
#

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

Code
var options = new SessionCreateOptions
{
UiMode = "embedded",
// Other options here...
Mode = "payment",
RedirectOnCompletion = "never",
Customer = "{{CUSTOMER_ID}}",
SavedPaymentMethodOptions
= new SessionSavedPaymentMethodOptionsOptions
{
AllowRedisplayFilters
= new List<string> { "always", "limited", "unspecified" },
},
};

Question
How do we allow a customer to save their credit card for later use using the example here? https://docs.stripe.com/payments/existing-customers

What have you already attempted?
I tried using the {{CUSTOMER_ID}} but it blew up with error 'No such customer: '{{CUSTOMER_ID}}''. Giving a number also blew up with the 'No such customer` error

cursive heronBOT
#

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

What did you expect to happen?
Apple Pay should show when submitting an order.

What actually happened?
It works for some people but not others. For one of our testers, this error appears in the logs when trying to submit an order with Apple Pay:

IntegrationError: The code that shows the Apple Pay payment sheet must be invoked directly by a user activation event, like a click or a touch gesture.

The API also returns an invalid_request_error error type with a message

Reproduction Steps
Choose ApplePay in the Stripe payment form and call elements.submit() then stripe.confirmPayment() with all of the checkout information.

Question
How can we resolve this issue?

What are you working on?
New one-page-checkout for a customer.

#

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

Error Message
"message": "Invalid level3: pricing must be consistent.
Sum(unit_cost * quantity + tax_amount - discount_amount) + shipping_amount != total charged. In this case, 18637 != 6464."
"type": "invalid_request_error"

Question
We sent the level 3 data into the transaction and pre-authorized the transaction successfully. However, we need to partially captured the amount as some goods are out of stock, which results in different amount we capture that does not match the price we pre-authorized.

What have you already attempted?
No action we attempted so far

cursive heronBOT
#

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

Question
I'm doing an integration with stripe in UAE, after reading
https://support.stripe.com/questions/connect-availability-in-the-uae
I understand it should support my business, but I keep getting the error

"Platforms in AE cannot create accounts where the platform is loss-liable, due to risk control measures. Please refer to our guide (https://support.stripe.com/questions/connect-availability-in-the-uae) for more details."

When trying to create a connected account
sdk.stripeAccount.create

Can you help me understand what I need to change in my configurations to support connected accounts in UAE?

Related Request ID(s)
"~:id": "~ucacce14f-bc66-44d3-820b-8b2d80a4bebb", "~:status": 400,

What have you already attempted?
Changed the parameters didn't work
I suspect is something in the stripe user configuration

What are you working on?
An integration with a marketplace to accept payments and pay to sellers

cursive heronBOT
#

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

Question
How to do i embed the stripe HTMl code into my website without using wordpress

Related Request ID(s)
1

What have you already attempted?
I already watch Yuotube tutorials but they all embedded their codes into wordpress

What are you working on?
im working on build a pricing table for my website that i built myself

#

⛔️ Stripe developers aren't currently available on Discord

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

We are currently offline. We will be back at 4 AM UTC on Monday, April 14, 2025. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Question
How to collect w9 forms? All info necessary to complete the form is already filled out during connect onboarding, but apparently the API is "in beta". I asked support and they seem clueless about it.

Related Request ID(s)
NA

What have you already attempted?
W8 W9 docs display exactly what i need, and say it's only open to US preview users. My platform is in the US.

cursive heronBOT
#

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

Question
I'm using the Stripe platform to onboard users in two ways:

As customers (using a Customer ID), and

As connected accounts with Express account type.

Here’s the issue I’m facing and the feature I want to implement:

My Stripe platform account is based in France (FR), but my customers and connected accounts can be from any Stripe-supported country.

I want to ensure that:

Customers and connected accounts have fully completed their personal details and

All required validations (based on their respective country regulations) are properly passed.

Goal:
I want to prevent users from performing any transactions unless their Stripe verification is fully completed.

Is there a wa

Doc/Guide Links
https://docs.stripe.com/api/accounts/retrieve

What are you working on?
I need api to check that id and account has completed verification or not And api from which I can get verification url so if not completed i can redirect

cursive heronBOT
#

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

Code
static async createUserAndSubscriptionWithTrial({user, interval, session}) {
try {
const customer = await stripe.customers.create({
email: user.email,
});
const lookupKey =
interval === 'year' ? lookupKeys.yearly : lookupKeys.monthly;
const prices = await stripe.prices.list({
lookup_keys: [lookupKey],
active: true,
});

  if \(prices.data.length === 0\) {
    throw new Error\(\`No active price found for loo

Question
Hello friends this is my subscription code, I'm strong subscriptionId and customerId after getting reponse from subsciprtion api, I want to know that should I immediately stroe subscriptionId and customerId in my db or in subscription create web hook?

What have you already attempted?
Code I provided above

What are you working on?
I'm working on subscription with 60 days trial without asking payment details

cursive heronBOT
#

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

Question
How do i embed my stripe Html code ? to my html bootstrap website ? i built my website without wordpress

Related Request ID(s)
21638232.

What have you already attempted?
i tried to call customer service

What are you working on?
im working on build a pricing table for my website that i built myself

cursive heronBOT
#

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

What did you expect to happen?
Address Element autocomplete is not working as expected. when search for the address and select it should pre fill all the fields avilable

What actually happened?
when i select and address from search, some time only city is filled or pincode. state in india is never getting filled.

Reproduction Steps
select country as India. try search for "Delhi rai" then select first suggestion you can see only city is filled.

Question
it there issue with AddressElement regarding this.

What are you working on?
Building checkout page using stripe AddressElement and PaymentElement

cursive heronBOT
#

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

Question
We got an error status `authentication_required` in the `off_session` payment confirming.
I previously asked a question about 3D Secure authenticated payments, I want to know this case is one of the rare case cards you mentioned?

#1344603386762367079 message

Related Request ID(s)
req_a9AjWg1fJ1Wve3

What have you already attempted?
The same error code has been observed twice since April.

What are you working on?
Marketplace Owner

cursive heronBOT
#

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

Question
I want to integrate pricing for my apps. I got to know about Stripe app licensing. Can you please help me in licensing. Or what will be best for my appa pricing. What should i implement for pricing

Related Request ID(s)
124531145777

What have you already attempted?
I have tried the pricing table and set basics plans

What are you working on?
Stripe pricing for my app

cursive heronBOT
#

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

Question
I understand that normally a ¥0 invoice is issued when a trial ends and the user transitions to a paid plan. However, in this case, only the subscription was updated, and no invoice was generated.
Could you please help me understand the reason for this behavior?

Related Request ID(s)
req_brg3zOlpTrW671

What have you already attempted?
nothing

#

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

Question
Hi team, just wanna ask a question about 'invoice.payment_succeeded' event, why does this event has a 3 days delay of user's subscription recycle?

Related Event ID(s)
None

What have you already attempted?
None

#

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

Question
When creating a Stripe Customer, I set the payment_method as a parameter, but the API response does not include default_payment_method in the returned customer object.
How can I ensure that default_payment_method is set?

Related Request ID(s)
https://dashboard.stripe.com/test/workbench/logs/req_Xrz5rYWTAGCnQx

What have you already attempted?
I’m really struggling to figure out how to reliably get the default payment method.
Since I’ve used the older APIs before, I find myself having to check various places like sources, subscription, and invoice_settings.
Isn’t there a way to unify this?

#

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

Question
I am using stripe terminal to get payment. Implemented with stripe react native terminal.
Now i need to implement affiliate payouts.
It is obvious to implement stripe connect. Is there any thing . can i implement stripe terminal for getting payment and connect for payouts

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

What are you working on?
Terminal and Payout

cursive heronBOT
#

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

Question
{code: 'incomplete_number', type: 'validation_error', message: 'Your card number is incomplete.'}
Why did the interface return this when I was testing with a test credit card

Related Request ID(s)
req_WN95uwhi5L8AL8

What have you already attempted?
I tried to modify it for a few days, but still this error

What are you working on?
I dont know

cursive heronBOT
#

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

Question
Hi team, just wanna ask a question about 'invoice.payment_succeeded' event, why does this event has a 3 days delay of user's subscription recycle?

Related Event ID(s)
evt_3R74NzFCfMrF7Me11984sG4S, evt_3RAhAAFCfMrF7Me11tlE5gNF

What have you already attempted?
None

#

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

Question
Is it possible to enforce the requirement to provide the cardholder name when adding a card in the customer portal? Currently, the form in the customer portal does not include this field, whereas during checkout the field is visible and required.

Related Request ID(s)
N/A

What have you already attempted?
checked the current situtation

cursive heronBOT
#

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

Question
I use Connected Accounts with Direct Charges. My question is the following: If someone has already a Stripe account, should they do the onboarding for creating a Connected Account or there is a way that I can use their existing Stripe account as a Connected Account

Doc/Guide Links
https://docs.stripe.com/connect/standard-accounts

What are you working on?
A booking platform for sport courts

#

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

Question
Hi team, just found that the invoice.payment_succeeded event has a 3 days delay after subscription create. Could you please explain the reason of that?

Related Event ID(s)
None

What have you already attempted?
None

#

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

Question
We want to generate a ¥0 invoice when a trial ends and the subscription switches to a usage-based (metered) Free plan.
However, no invoice is created when we update the subscription by setting trial_end=now and adding the usage-based plan in the same API call.
Is this the expected behavior?
If possible, we’d like to generate an invoice even when the usage is ¥0, for internal record-keeping purposes.

Related Request ID(s)
sub_1RDkU0H9QZM8KDuiwC1mTae4, sub_1RDjaSH9QZM8KDuiRCbkuZzG

What have you already attempted?
Invoice was created:

  1. The subscription is in trial.
  2. We first add a usage-based Free plan (price = ¥0).
    → A ¥0 invoice is created at this point.
  3. Then we update the subscription with trial_end=now.
    → Another ¥0 invoice is created when the trial ends.

No invoice created:

  1. The subscription is in trial.
  2. We call Subscription.update to add the usage-based Free plan and set trial_end=now in the same API call.
    → No invoice is created.
cursive heronBOT
#

@topaz garden pressed 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/gb/invoicing/pricing

Question
I'm wondering if stripe invoice pricing is always present at the values stated 0.4% or 0.5%.

Does this have a cap on it, additionally does this compound with the other rates?

e.g. 1% BACS + creation of an invoice would actually be 1.4/1.5%

What have you already attempted?
Just reading other pricing screens

#

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

Question
I am migrating over 400 customers from different payment providers to Stripe.

They are all using subscriptions.

They will need to provide card information for the invoices to be charged properly.

What I want to achieve:
I need the subscriptions to start from April 16th. I want to give them, e.g. two weeks to provide payment information using the customer portal.

How can I set up the subscriptions programmatically to achieve the above? Setting up trials postpones the payment collection, but postpones the billing period as well.

I'd like to have the payments collected automatically as they add the payment information and continue with automated collection.

Doc/Guide Links
Read through the subscriptions and invoices documentation

What are you working on?
Setting up subscriptions programatically with delayed charging allowing to provide payment information

cursive heronBOT
#

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

Question
Problem with billing portal session url. I am on an yearly plan. Moving to monthly. I already paid for the yearly and I don't want to prorate, I want the user to wait for the period end but it moves to monthly straight away.

Related Request ID(s)
req_cMgG1VnHsro0UC

What have you already attempted?
I have multiple configurations for the billing portal session. One for upgrade where I dont wait for subscription period end and then another where it as a condition for 'shortening_interval'. I haven't found a way to handle this one.

What are you working on?
General saas

#

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

Question
It looks like I can only choose between 'off' and 'auto' for displaying the zip code element using the payment element. For markets like Brazil, how can we enable the zip code element if it does not show up on auto mode? Is there a way to force it to be on?

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

What are you working on?
Tax calculation etc in different countries

#

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

Error Message
Bug bounty

Question
I have a bug bounty in a strip payment system

What have you already attempted?
I want to know how to send it to Stripe and verify it

Reproduction Steps
I want to know how to send it to Stripe and verify it

What are you working on?
bug bounty detector

#

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

Question
We want to allow a customer to use a saved payment method. Is it best practice to save the customer to Stripe and then to our system, then later load that customer's Stripe ID from our system into the {{CUSTOMER_ID}}?

Doc/Guide Links
Using the docs here: https://docs.stripe.com/payments/checkout/save-during-payment and here: https://docs.stripe.com/payments/existing-customers?platform=web&ui=embedded-form

What are you working on?
ASP.NET web application

cursive heronBOT
#

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

Question
Is there a way to run confirmSetup / confirmPayment without the await javacript command and still get a sync response?

Related Request ID(s)
NA

What have you already attempted?
I am getting the following error "Uncaught SyntaxError: await is only valid in async functions and the top level bodies of modules"

#

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

Question
Simpel question. When creating a 'Restricted Key' for third party integration I'm being asked for Name and URL... Name is self explanatory, but what URL do we need to insert on this, just the company URL or a webhook URL for later use?

Related Request ID(s)
None

What have you already attempted?
Just starting

#

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

Question
I'm trying to run confirmPayment / confirmSetup in javascript with await / async. My current setup is running without any errors/output to console.log but returns no error and performs no redirect. I have no idea how to diagnosis whats happening because I am getting no feedback from your system. My guess is this has to do with the await/async because this was all working properly before but I had to add a layer of abstraction in the javascript script code (no longer just calling stripe...now its payment.stripe kind of thing).

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Error Message
parameter_missing - shipping[name]

Question
I am using the Stripe ExpressCheckoutElement, creating a confirmationToken clientside: https://docs.stripe.com/payments/build-a-two-step-confirmation#create-ct

On non-apple devices I see an ApplePay flow where I confirm with an iPhone. When doing this, I get an error on POST /v1/confirmation_tokens saying I'm missing shipping info.

What have you already attempted?
I can pass a dummy shipping name to `stripe.createConfirmationToken` https://docs.stripe.com/js/confirmation_tokens/create_confirmation_token#create_confirmation_token-options-params-shipping. This seems to work.

I don't want to collect shipping details in the ExpressCheckout flow as this makes no sense for my use case

Reproduction Steps

  1. Setup ExpressCheckoutElement with StripeJS and https://docs.stripe.com/payments/build-a-two-step-confirmation#create-ct
  2. Follow ApplePay workflow on non-apple device

What are you working on?
Donation form with Stripe ExpressCheckoutElement

cursive heronBOT
#

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

Question
Using this flow (https://docs.stripe.com/payments/finalize-payments-on-the-server), I am trying to achieve a scenario where the payment element will allow all payment methods, regardless of whether or not they can be saved for future usage.

For example, it will show Klarna and Affirm along with Credit/Debit card. Klarna and Affirm cannot be re-used or charged off session, but Credit/Debit can be.

How would we be able to make it so that if the customer pays with a debit/credit card, that will be setup for off-session usage, but at the same time they can still pay with Klarna/Affirm/etc

Related Request ID(s)
N/A

What have you already attempted?
Reading docs.

#

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

Error Message
Customer Service is not responding and my refund is stuck

Question
Why my refund has not be actioned yet?

What have you already attempted?
I have sent several emails to the customer service they are sending me back general copy and paste answers without reading or addressing my issue. This is causing me financial and emotional distress . I am inclined to contant the police and raise formal complaints for the lack of support

Reproduction Steps
I have been barred from chatting with an agent from the site, my emails are not replied. I am about to reach out to the police as Stripe is withholding my funds without my consent

#

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

Question
How to set up a subscription for arrears invoicing? I'm migrating from a different provider where the subscription was paid on the period end.

The last payment taken was in March, for the Feb to March period. Now, I want to take payment for March to April.

I am unable to set this up, as prorated usage with backdated entry makes the invoicing twice in the same month. Paying for March to April and immediately tries to create next invoice for the period upfront.

Doc/Guide Links
I've gone through subscriptions, backdates, and prorations.

What are you working on?
I want to set up subscriptions with payments on the period end.

#

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

Question
If i have 500 stripe connect accounts, and I need a wya to retrieve all of today's payouts every day, do I need to loop through all connect accounts, or is there a way to just retrieve all payouts directly? Is there a webhook I can use?

Related Request ID(s)
n/a

What have you already attempted?
I can do this for each payout, but this requires me to know the payoutid beforehand:

  const payout = await stripe.payouts.retrieve\('po\_1RAhgJBvSPxRr0dC8j2QIKoa', { stripeAccount }\);

const balanceTransactions = await stripe.balanceTransactions.list(payload, { stripeAccount });

What are you working on?
Specfiically, I need to retrieve all the balance transactions within each payout in order to update the PayoutId with each Transaction in my database.

#

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

Question
What's the recommended way to expose the product/price management for Stripe dashboard to Stripe Connect users?

Related Request ID(s)
N/A

What have you already attempted?
I've tried checking out the Stripe Connect integration, both the express dashboard and elements integrations.

What are you working on?
We're building a way for users using our authentication service to set up Stripe payments rapidly and associate customers to users.

#

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

Code
Hello, I am setting up Stripe express checkout element with the Paypal option and I noticed that the Paypal button appears together with google pay when I purchase a single time product but for subscriptions it doesn't render at all. Google Pay on the other side appears on both cases. I tried to read through the documentation and I did not see anywhere if there is a limitation regarding recurring payments for Paypal express checkout button.

Question
Does Stripe allow the PayPal Express checkout element to be rendered for recurring payments as well?

What have you already attempted?
Checking if the payment method paypal is not enabled but it looks fine.

#

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

Question
Is there a way to determine if an Apple Pay Payment Method attached to my account is MPAN or DPAN?

Related Request ID(s)
pm_1RCkc5JyFlemKh0gurrYnL33

What have you already attempted?
I've pulled the payment method via the API, but I dont see a way to determine whether it's MPAN or DPAN.

What are you working on?
Changing our Express Checkout Element to Payment Element

#

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

Question
Hello, I don't understand Stripe's fee refund policy. When I create a partial refund for a payment intent, the Stripe fees are refunded. However, when I create a full refund for the payment intent, the Stripe fees are not refunded. Is it the normal behaviour ? Can you give me precise guideline on the refunds policy ? I didn't find anything on it online. Thanks a lot !

Related Request ID(s)
req_SUpSiYOrmLMGfk req_hiHExmCX3jWBTq

What have you already attempted?
I've tried 2 paymentIntents with 2 refunds (one partial and one total) as you can see on the screenshots, I don't have the same results (Stripe fees partially refunded vs Stripe fees not refunded)

What are you working on?
Marketplace

cursive heronBOT
#

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

Question
https://github.com/stripe/react-stripe-js/issues/586

### What happened?

Getting this error:

IntegrationError: Invalid createShippingAddressElement() parameter: options.defaultValues is not an accepted parameter.

I'm following the docs: https://docs.stripe.com/checkout/custom/quickstart and https://docs.stripe.com/js/element/address_element

Here's my implementation:

```js
import { AddressElement, useCheckout } from "@stripe/react-stripe-js";

<AddressElement
id="shipping-address-element"
options={{
mode: "shipping",
display: {

Related Request ID(s)
https://github.com/stripe/react-stripe-js/issues/586

What have you already attempted?
Here's my implementation:

```js
import { AddressElement, useCheckout } from "@stripe/react-stripe-js";

<AddressElement
id="shipping-address-element"
options={{
mode: "shipping",
display: {
name: "split",
},
defaultValues: {
name: fullName,
firstName: initialFirstName,
lastName: initialLastName,
},
}}
```
The typescript object doesn't return any errors:
<img width="463" alt="Image" src="https://github.com/user-attachments/assets/0e0628dd-d9c3-4f94-

What are you working on?
Trying to update the user first name and last name dynamically using defaultValues on the AddressElement

#

@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 a connected account to "consent" so that we can debit them using the charge api. We tried but it doesnt work and apparently we need to get consent.

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

What did you expect to happen?
My QA tester and I are seeing different payment options even though we are working with the same checkout code

What actually happened?
My QA tester tests 5 different signup methods a week. This week he is not seeing link pay or ACH anymore. When I test it, I see it.

Reproduction Steps
Unsure how to reproduce, it is only happening to him

Question
Why are we seeing different checkout methods?

#

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

Question
I am attempting to backdate the start date for monthly billing and have set the proration behavior to “none” along with a specific billing_cycle_anchor. However, I am receiving this error:

I am attempting to backdate the start date for monthly billing and have set the proration behavior to “none” along with a specific billing_cycle_anchor.

My goal is to set a backdated start date while avoiding prorations. Could you clarify how to set the billing_cycle_anchor properly given this error, and if there are specific restrictions on backdating subscriptions?

Related Request ID(s)
req_7oLZK1Y0wFoNij

What have you already attempted?
I have read the https://stripe.highspot.com/items/655cf734de3c4e3bba45ed82#1

I have had success with a similar approach for annual billing and a set price. The issue comes up when doing custom pricing at time of subscription creation.

What are you working on?
Data Migration of subscriptions

cursive heronBOT
cursive heronBOT
#

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

Question
how to separate application_fee so it doesn't get factored into the stripe fee. For example, a customer pays $80 for a ticket, we charge $5 for our application fee. The entire amount is being calculated instead of just the $80. So $85 * .029 + .30

Related Request ID(s)
NA

What have you already attempted?
NA

#

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

Question
I am trying to test adaptive pricing with Checkout. I create the checkout session like this for testing

```js
const session = await stripe.checkout.sessions.create({
line_items: [
{
price: "price_1RDtSMGhbFSrlrBC95sOwjlS",
quantity: 1,
},
],
mode: 'payment',
success_url: 'https://example.com/success',
customer_email: 'test+location_FR@example.com',
});

return session

```

priceId is a USD price attached to a product.

The checkout session still shows $12 USD instead of EUR as per the test email. How to fix?

Related Request ID(s)
cs_test_a16UxWdg80psFb9pmKVGDAbI0ZYfyTXfBu4He4sPg1nWKHDbynhg0lQq33

What have you already attempted?
I have followed https://docs.stripe.com/payments/checkout/adaptive-pricing?payment-ui=stripe-hosted
I enabled Adaptive Pricing in my sandbox stripe account, created a fresh new product with one USD price to it.

What are you working on?
A website that has a store on it

#

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

Question
Hi guys i am integrating new checkout session based flow( i very like how it's working), now i am stuck at createExpressCheckoutElement, i am trying to implement shipping rate calculation based on shippingaddresschange event, but it throw error that it doesn't have this type of event.
Do we have any other solution for that without switching to elements.create('expressCheckout', {
emailRequired: true,
phoneNumberRequired: true
});
Because this will require to remove checkout session.

Related Request ID(s)
N/A

What have you already attempted?
const expressCheckout = checkout.createExpressCheckoutElement(expressOptions);
expressCheckout.on('confirm', (event) => {
checkout.confirm({ expressCheckoutConfirmEvent: event })
});
expressCheckout.mount('#express-checkout');

cursive heronBOT
#

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

Question
My webhook is not transferring to connected accounts after the charge is processed. I want it to come from the single charge and not the platform account for multiple vendors.

Related Event ID(s)
evt_3RDthiGdbZlAW4WT1zGX4NiX

What have you already attempted?
try {
$event = \Stripe\Webhook::constructEvent($payload, $sig_header, $endpoint_secret);

    if \($event\-\>type === 'payment\_intent.succeeded'\) {
        $paymentIntent = $event\['data'\]\['object'\];
        $charge = $paymentIntent\['charges'\]\['data'\]\[0\];
        $charge\_id = $charge\['id'\];
        $metadata\_raw = $charge\['metadata'\]\['vendor\_earnings'\] ?? null;

        if \(!$metadata\_raw\) {
            error\_log\("No vendor\_earnings metadata found on charge."\);
            return;
        }

        $metadata = json\_decode\($metadata\_raw, true\);

What are you working on?
human relations platform, membership based

#

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

Question
Where can I find the total amount to pay from a subscription?

Related Request ID(s)
sub_1RCSJwESRxUGxqvhBbrvls0q

What have you already attempted?
I have the subscription and iterate for each item the customer has in their subscription but I want to know if there is a different and optimal method to get this data.

What are you working on?
Developing a view with the subscription data from a customer

cursive heronBOT
#

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

Question
Hi, I'm working on a static e-commerce site and plan to use Stripe. I wanted to ask if it's possible to manage the Cart state (on the site) using the Checkout API. Or if that's something I have to manage myself.

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

What are you working on?
Static e-commerce site using Astro/Typescript, and Stripe

cursive heronBOT
#

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

Question
I am using Stripe Elements to setup a payment method for future use. I also allow users to do a similar workflow using Terminals (Card present).

I can recognize repeat users when they use Terminals with card_present fingerprints, but in a recent test I was not able to get a card fingerprint via Stripe Elements. Is it supported to get a card fingerprint during the Stripe elements workflow? Or do I need to use a separate query to get expanded card information for payment method collected via Elements?

Doc/Guide Links
https://support.stripe.com/questions/how-can-i-detect-duplicate-cards-or-bank-accounts

https://docs.stripe.com/payments/save-and-reuse

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

cursive heronBOT
#

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

Question
Trying to automate updating `cancel_at` field on subscriptions. But when I send the following body, I'm getting "Received unknown parameter: cancel_at" error.

POST /v1/subscriptions/sub_1RDv791taBPnTqn4KmQWTaVu

```
{
"cancel_at": "1744668286.012",
"cancel_at_period_end": "false"
}
```

But docs show `cancel_at` as a settable field on Subscription object??

Related Request ID(s)
test environment: sub_1RDv791taBPnTqn4KmQWTaVu

What have you already attempted?
```typescript
await this.stripe.subscriptions.update(subscriptionId, {
cancel_at_period_end: false,
cancel_at: cancelAt.getTime() / 1000,
})
```

What are you working on?
goodparty.org

cursive heronBOT
#

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

What did you expect to happen?
When card details are provided in stripe host checkout portal through a generated stripe checkout session. The provided card would be attached to the customer as their default payment method.

What actually happened?
The card was attached to the stripe customer but was not marked as their default payment method.

Reproduction Steps

  1. Create stripe checkout session
  2. navigate to stripe checkout session link
  3. Fill out details with test card.
  4. Complete checkout.
  5. Check stripe dashboard for stripe customer.
  6. Payment method of stripe customer is not default payment method.

Question
What parameters can be provided during creating the checkout session to ensure that the provided card in the checkout session is marked as the default payment method of the stripe customer.

What are you working on?
a feature where it would surface a stripe customers default payment method details

cursive heronBOT
#

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

Question
As I'm now working through building for accepting AU BECS Direct Debit payments (specifically for subscriptions) I'm wondering what the standard UX should be?

from reading the test numbers it looks like it could instantly progress from processing to succeeded, or can take up to 3 minutes to transition to succeeded or failure (requires_payment_method)

I'm wondering in reality does the BECS attempt happen in real-time?

I was under the assumption that BECS payments are batched at the end of each day so you wouldn't actually know what the results were until that happens

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods#payment-notification

https://docs.stripe.com/payments/au-becs-debit/accept-a-payment#test-integration

What are you working on?
As I'm now working through building for accepting AU BECS Direct Debit payments (specifically for subscriptions).

cursive heronBOT
#

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

What did you expect to happen?
Payment intent action or Chargeback

What actually happened?
Store closure

Reproduction Steps
During order fulfilment stage of online store purchase communication between Stripe payments,shopify & merchant resulted in store suspension/store closure. Merchant did not send order.Stripe did not return funds recieved. Store cannot be contacted as is non active store with shopify. *merchant offered compensation for inconvenience via eBay store communication.

Question
Who do I contact to query the status of this transaction?

What are you working on?
Complpayment intent chargeback

#

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

Question
The current implementation retrieves the client_secret (issued server-side via Stripe::SetupIntent.create) on the frontend, displays the Payment Element, and then calls stripe.confirmSetup on the frontend to obtain the payment_method ID, which is then used to create the Customer object.

If we reverse the flow, the Customer object would have to be created before displaying the payment form, which might end up being unnecessary if the user doesn’t complete the form.
Is this something we just have to accept?

Related Request ID(s)
req_Xrz5rYWTAGCnQx

What have you already attempted?
Stripe::Customer.create(
{
email: email,
name: name,
invoice_settings:
{
default_payment_method: params[:peymantId]
}
}
)

cursive heronBOT
#

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

Question
I am trying to get a list of transactions including the ID of the terminal reader that processed the transaction.

This is available in CSVs exported from the web UI, but I have had little luck accessing this attribute via the API.

The only method I have found which includes it is https://api.stripe.com/v1/reporting/report_runs with a report_type of exports.unified_payments.

However, this does not seem to allow filtering by date, giving an error of "Report type exports.unified_payments does not take parameters[interval_end]."

Is it possible filter a exports.unified_payments by date?

Related Request ID(s)
req_7QNKJkmme2KCYM

What have you already attempted?
Balance transactions, Charges, and Payment Intent API endpoints (none of which include or seem to allow including the terminal reader ID), Terminal Reader API endpoints (which give details about the reader, but no link to payments/transactions/payment intents processed by them).

I ran out of characters in the first box, but any alternate method that gives transaction time, amount, description, status, and terminal reader ID would achieve what I'm trying to do. exports.unified_payments report is the only thing I've found which has that, but any other better method would be good to know too.

What are you working on?
Calculating patronage on bus trips by identifying the number of payments received by terminal readers onboard buses by mapping terminal reader IDs to bus vehicle numbers.

#

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

Question
I have two stripe accounts and one has webhooks setup and I need to recreate them in the second account, what is the best way to do this

Related Request ID(s)
req_mkV3zXnp5VV9Rr

What have you already attempted?
Setting up from scratch

What are you working on?
Bringing online a new country

cursive heronBOT
#

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

Code
const subscription = await stripe.subscriptions.create({
customer: company.stripe_customer_id,
items: [{
price: product.stripe_price_id,
}],
payment_behavior: 'default_incomplete',
payment_settings: {
save_default_payment_method: 'on_subscription',
},
expand: ['latest_invoice.payment_intent'],
});

Question
When I run this, I get the error that "payment_intent can not be expanded". I see that payment_intent also does not exist on the typescript Invoice type, but this example is in the official docs and sample project. I don't have a trial period for this subscription and the price amount is valid. How can I get the payment intent clientSecret?

What have you already attempted?
I've tried different input properties and I've tried directly through the API and payment_intent is not coming back on the first_invoice like in the docs. I can see the subscription and invoices are being created just not payment intent.

What are you working on?
I have a B2B app that I

cursive heronBOT
#

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

Code
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table pricing-table-id="prctbl_1RCVJARv2TSY3mOJ48oua09H"
publishable-key="pk_test_51RBrvMRv2TSY3mOJMdyQq3649W4GO7Tm9VeDKJXJdVw61A46ecM8jJTC3QXy0YwT2W5tsYbbYgwlkkv4zQlBkSkB009Vf8Iz4d">
</stripe-pricing-table>

Question
i need to know how to emebed the Stirpe Html code into my Html code

What have you already attempted?
i tried talking to hostinger they told me to talk to the developers of Stripe

What are you working on?
trying to connect to someone who know what they're doing

cursive heronBOT
#

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

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

Question
I'm trying to create a custom API for customer to change their subscription. We want the customer to pay the subscription in full (proration disabled) every time they change their subscription. We rely on successful paid invoices to calculate how much we should give to our customer.

However, after testing, we realized the paid invoices webhook are not shoot for sub changes. This mess up the calculation and our customer unable to benefit from the new subscription.

What have you already attempted?
I have set this code here to set the billing to now, proration are set to none because we don't want any proration.

const subscription_update = await stripe.subscriptions.update(
subscription.id,
{
items: [
{
id: sub_item_id,
price: price_id,
},
],
proration_behavior: "none",
billing_cycle_anchor: "now"
}
);

Should I have set a manual invoice payment from Stripe API after I changed their subscription?

What are you working on?
Have invoice paid immediately on sub changes where proration is disabled

cursive heronBOT
#

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

Question
I understand that it is not possible to show the zip field using the payment element for countries like Brazil. We only care about the tax feature. Is the zip code necessary for Brazil? Can we use the auto tax feature even without the zip code?

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

What are you working on?
Tax calculation for different countries

#

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

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

Question
I want to introduce ability to «pause» a service for a customer. I.e. the customer has 4 weeks billing period started today. And decided to have 2 weeks pause of using my service. Once these 2 weeks past the customer started to use service again. I can see 3 options:

  1. credit the part of upcoming period, i.e customer can be invoiced for half price of period (2 out of 4 weeks they didn't use the service)
  2. move billing period end to another 2 weeks (so this period will become 6 weeks instead of 4)
  3. prorate/refund half of the payment of first period.

I couldn't find a way implement any of t

What have you already attempted?
Checked pause/resume invoicing feature of subscription. Looks like it doesn't affect billing period dates at all and does no proration or credit.
May be this can be done using subscription schedule but will lead to the subscription having no price for the pause period which is very confusing. No ideas anymore

What are you working on?
Stripe connect platform

cursive heronBOT
#

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

Question
how can i settle amount to by own bank account

Related Request ID(s)
NA

What have you already attempted?
i m not getting payout how can we do for our own account using API which api need to use and all

What are you working on?
i was integrating strip to my application and payout to my merchants via stripe

#

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

Code
<>
{isLoading && renderLoadMessage()}
<form onSubmit={handleSubmit}>
{showButton && (
<Box
mt={2}
display="flex"
justifyContent="flex-end"
className="m-l-auto"
>
<Button
className="tertiary-button"
onClick={() => setLinkMode(!linkMode)}
>
<Box display="flex">
<span style={{ fontSize: '0.825rem' }}>

Question
When I am clicking on Google Pay and then on Continue to do payment I am getting -

error
Something went wrong. Unable to show Google Pay. Please choose a different payment method and try again.

What have you already attempted?
I can use credit card and us bank account in payment element

What are you working on?
Implementing Google Pay in Stripe Payment Element

#

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

Question
I'm trying to make payment with live cards on stripe live API, but I keep getting this error: "No such token: tok_1RC017GUMPfhpk9pwGOS4BHp a similar object exists in test mode, but a live mode key was used to make this request."

Related Request ID(s)
https://dashboard.stripe.com/test/logs?object=tok_1RC017GUMPfhpk9pwGOS4BHp&method[0]=post&method[1]=delete&direction[0]=self&direction[1]=connect_in&showIP=false

What have you already attempted?
Making payments with multiple cards

What are you working on?
An Ecommerce app

cursive heronBOT
#

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

Code
```tsx firestorm/app/routes/dashboard.billing.subscriptions.tsx#L231-L234
function CheckoutForm({
amountTotal,
amountSubtotal,
}: {
amountTotal: number;
amountSubtotal: number;
}) {
const checkout = useCheckout();
const [isLoading, setIsLoading] = useState(false);
const [error, setError] = useState<string | null>(null);
```

Question
I'm trying to understand why `checkout.savedPaymentMethods` is showing as null in my console even though I've already saved 2 payment methods through my payment method dialog.

What have you already attempted?
I've implemented a proper payment method addition dialog in `organization-payment-method-add-dialog.tsx` that uses Stripe's SetupIntent to save payment methods.

I've enabled saved payment methods in my checkout session creation with `saved_payment_method_options: { payment_method_save: "enabled" }` as shown in my API route.

I'm trying to access the saved payment methods using `useCheckout()` hook in my `CheckoutForm` component, but the `savedPaymentMethods` property null

What are you working on?
I'm building a boilerplate with Stripe integration that includes subscription management and saved payment methods, which I plan to use across my businesses.

cursive heronBOT
#

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

Question
Where did Stripe test mode disappear to?

Related Request ID(s)
-

What have you already attempted?
Test mode toggle has been moved on dashboard, but not in documentation

What are you working on?
Script to issue credit, wanted to test first

cursive heronBOT
#

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

Code
<iframe
id="secure_authentication"
title="Secure the payment"
className="pg-iframe-three-ds"
allow="encrypted-media"
style={{ margin: 'auto' }}
src={stripeAuthentication?.authentication_url}
ref={iframeRef}
/>

Question
Hello,
We're seeing a significant increase in 3DS fails. Our customers are complaining that some 3DS devices are randomly not displaying, resulting in a payment fail. Do you have any information on this?
We simply load the 3DS iframe from the payment intent authentication URL.

What have you already attempted?
We logged the presence of the iframe's authentication URL. It's present every time. We don't see any correlation between failed payments and a possible ACS. It looks more like an iframe loading issue.

#

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

Question
Hi Stripe Team, I want to ask question about webhook event. Previously, I enable ALL webhook events, and today's morning I disable almost all of them and just enable 5 of them. There are many events that were in pending and waiting to retry status, those event cannot be success at all.

Related Event ID(s)
evt_1RDOLFFCfMrF7Me1FdGdgtgL

What have you already attempted?
No

cursive heronBOT
#

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

Question
Hi

I have set up a billing alert for a customer, that if he crosses 30000 credits usage, the alert should trigger on one of the meter price that customer is subscribed to.

Here is the alert id : alrt_test_61SNUKTkClEJnHgVb41HJgsdx4qPxQ88

Now when the usage crossed the threshold amount, it triggered alert webhooks TWICE. This is unexpected, why the alert webhook triggered twice ?

Here are details of 2 separate events
evt_1RE61XHJgsdx4qPxPMdPyle8,
evt_1RE61WHJgsdx4qPxab2K9fEM

Related Event ID(s)
evt_1RE61XHJgsdx4qPxPMdPyle8,evt_1RE61WHJgsdx4qPxab2K9fEM

What have you already attempted?
https://docs.stripe.com/api/billing/alert/object

https://docs.stripe.com/api/events/types#event_types-billing.alert.triggered

What are you working on?
I am working on billing alerts. In recent basil API release 3 new webhooks were introduced. I am integrating these webhooks.

cursive heronBOT
#

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

Error Message
You have insufficient funds in your Stripe account for this transfer. Your card balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance).

Question
I am attempting to do a transfer from my balance (which has 24.25€ on Available Balance) to a Connect Account for one of my sellers of an amount of 17.48€, and I'm getting that I don't have enough balance.

What have you already attempted?
I've tried checking if the balance was correct, calculated the technical balance of my account, and even checked on the transactions that I did previously to some of those accounts (Which previously passed) to no avail, the transactions do not pass now for some reason.

Reproduction Steps
Here's the Request ID from Stripe: req_Kev0BpQbCKph49

What are you working on?
Maintaining a Marketplace solutions in which I have multiple vendors as Stripe Accounts

#

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

Question
I am unable to access my full API keys because I have encountered a problem with the two-factor authentication. Despite following all the necessary steps, I am unable to authenticate and proceed with the API setup.

The issue seems to be related to the passkey authentication method, as it is blocking my access to the full API keys.

Could you please assist me in resolving this issue so I can proceed with the setup? I would appreciate any guidance or steps to address this.

Related Request ID(s)
No idea what is this

What have you already attempted?
I already send my passaport an screenshot of my face

What are you working on?
Connecting stripe to wp

#

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

Question
My webhook is working for test payments and vendor transfers if I use the 0077 card, and that lets me know I have the correct data available. Any other test cards like 4242 send a balance insufficient error. I want the webhook to work with the 4242 test card as though I was using the 0077 test card. I know it can be structured to transfer to connected accounts directly from the payment.

Related Event ID(s)
https://dashboard.stripe.com/test/workbench/logs/req_w8ZkcwaIsJZGGX, https://dashboard.stripe.com/test/workbench/logs/req_dOzzkCHxQmqRKZ

What have you already attempted?
if ($event->type == 'payment_intent.succeeded') {
$paymentIntent = $event['data']['object'];
$charge = $paymentIntent['charges']['data'][0];
$charge_id = $charge['id'];
$source = $charge['payment_method']; // Extract the payment method source
$metadata = $charge['metadata']['vendor_earnings'];
... foreach ($transfers as $vendor) {
$charge_params = [
'amount' => $vendor['transfer_amount'], // Amount to transfer
'currency' => 'usd',
'source' => $source, // Use

What are you working on?
member platform

cursive heronBOT
#

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

Question
How to charge immediately for a subscription that starts in the future?

I’m using the billing_cycle_anchor attribute of the subscription to set the future start date (which works). However, when the anchor is set in the future, Stripe doesn't generate an invoice at the time of subscription creation so the customer cannot be charged immediately.

What’s the correct way to schedule a subscription to start at a future date, and still charge the customer immediately for the first billing period (in a way that’s linked to the subscription and without double charging)?

Related Request ID(s)
none

What have you already attempted?
I tried manually creating an invoice, but it's not associated with the subscription and the customer still gets charged again when the subscription's start date is reached.

What are you working on?
I'm working on a Stripe integration with Salesforce, and I have a requirement where customers can choose a future start date for their subscription (up to 30 days from today).

#

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

Question
I’m using Stripe Connect with Standard accounts in test mode to allow freelancers on my platform to manage invoices and collect payments. My integration creates a Checkout Session directly on the freelancer’s connected account using stripeAccount: user.stripe_account_id to ensure that Stripe fees are charged to their account, not my platform’s account. However, I’m encountering an error:

"In order to use Checkout, you must set an account or business name at https://dashboard.stripe.com/account."

Related Request ID(s)
There are no logs, payment is fine but my platform is charged with Stripe Fees, I want the Connect Accounts to pay for them

What have you already attempted?
I tried adding this :
stripeAccount: user.stripe_account_id,

and I removed this :
on_behalf_of: user.stripe_account_id,
transfer_data: {
destination: user.stripe_account_id,
}

#

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

Question
I want to reactive trial ended subscription with stripe cli how I do it?

Related Request ID(s)
Nothing

What have you already attempted?
I used Stripe Ai

What are you working on?
Subscriptions

#

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

Question
How do I get to invoice from a refund object inside webhook?

Related Request ID(s)
evt_2RDnwL6BNHJembTs1SlcsyWm

What have you already attempted?
Previously the charge contained invoice. Now it doesn't. So I tried via paymentIntent, but neither that have an invoice associated.

What are you working on?
Handling refunds of payments & credit notes

cursive heronBOT
#

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

Question
Hello from some time my stripe webhook dont work as it shoud it was working 3years + now it throw some errors on stripe dashboard and dont give product to users

Related Event ID(s)
evt_3RE5npIE2Q2VDUZM0iVqnW6H

What have you already attempted?
nothing yet cuz this sytem working for years

cursive heronBOT
#

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

Question
With the new basil api version can subscriptionItems have different current_period_start and current_period_end times on the same subscription?

I'm trying to understand why I won't be able to access this data directly from the subscription?

Reading the docs, the subscription items must have the same start and end time as the subscription.

It looks like I'll have to access the first item to get this data. Is there something I'm missing here?

https://docs.stripe.com/changelog/basil/2025-03-31/deprecate-subscription-current-period-start-and-end

Related Request ID(s)
None

What have you already attempted?
Reading docs

What are you working on?
An app to help SaaS app builders to monetise their products

#

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

What did you expect to happen?
When I run stripe apps start I expect to se the modal to choose the account

What actually happened?
Instead I get prompted that no apps found. please make sure your development server is running

Reproduction Steps
It was working fine a few days ago now i just can not run the preview and unable to test my stripe app

Question
note: yes I am logged in to the stripe in the cli

What are you working on?
Developing a stripe app

#

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

Link to the Doc/Guide in question
need a guidance about stripe subscription model.

Question
I want to know that how stripe subscription works.
suppose I bought an monthly subscription on 1st April and then on the 1st May the auto pay didn't work. then what happen? does stripe remind me before few days of auto pay date?

What have you already attempted?
-

#

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

What did you expect to happen?
With the ExpressCheckoutElement, I expected amazon pay and google pay to be present when the onReady callback receives

```
{amazonPay: true,
applePay: false,
googlePay: true,
link: false,
paypal: false}
```
as availablePaymentMethods.

What actually happened?
In chrome, I see nothing. the Express payment element is 8px high. in safari i see apple and amazon pay. bafflingly, i am seeing amazon pay on localhost in chrome/

Reproduction Steps
I have a google pay account connected to the chrome account i am using. the stripe account has the domain of my cloudflare tunnel allowed for google pay.

Question
What other steps can i take to debug? I would like to ensure that this is working locally before testing in staging.

What are you working on?
Adding some express checkout options to our checkout page

cursive heronBOT
#

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

Question
I created a new webhook (API version: 2025-02-24.acacia) and I'm listening for "refund.updated" event. However, sometimes refunds are triggering a "charge.refunded" event, and not "refund.updated", therefore I'm currently missing out on these webhook events. Why the 2 different events, and do I need to add both to my webhook?

Related Event ID(s)
evt_3QPLo3JXbsuBwGvb1HSWQkGP, evt_3RCiVeB4oO77iHxE1EWDCdG1

What have you already attempted?
I just looked at the logs to understand what is happening. I didn't take any action yet in order to resolve the issue as I'd like to have some guidance first.

#

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

Question
i have collected from customer A
now i have that in my stripe
now i need to create 3 parts of payout
1-> customer B (connected account)
2->platformFee
3-> to my own bank account

1 have did coding created payout working fine
for 2 and 3 how can i do

Related Request ID(s)
NA

What have you already attempted?
i have did coding for all will share in below

What are you working on?
integration stripe payment in my application

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription

Question
why No payment/Zero payment subscription has active, if payment intent is failed? we can prevent subscription has active?

What have you already attempted?
var subscriptionOptions = new SubscriptionCreateOptions
{
Customer = customer.Id,
Items = subscriptionItems,
/* Automatically save the payment method to the subscription when the first payment is successful. */
PaymentSettings = customer.InvoiceSettings.DefaultPaymentMethodId == null ? new SubscriptionPaymentSettingsOptions { SaveDefaultPaymentMethod = "on_subscription" } : null,
PaymentBehavior = paymentBehavior,
PromotionCode = promoCodeId,
BillingCycleAnchorConfig = is

#

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

What did you expect to happen?
I expected the right payment amount (£256.25) to be transferred to Xero system for the below payment pm_1R9UcY2mlUWvXCqLBKZAbAmQ

What actually happened?
Wrong amount (£250) was transferred to Xero hence unable to reconcile the payment

Reproduction Steps
I am not sure what this question entails

Question
I want Xero to match with Stripe, unfortunatelyu it is not happening

#

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

Code
```tsx
const session = await stripe.checkout.sessions.create({
ui_mode: "custom",
line_items: [
{
price: formData.price,
quantity: formData.quantity,
},
],
mode: formData.mode,
return_url: `${BASE_URL}${href("/:orgSlug?")}?session_id={CHECKOUT_SESSION_ID}`,
automatic_tax: { enabled: false },
customer: orgExt.customerId,
...
```

Question
The payment methods are not showing up in my PaymentElement. I am following this: `https://docs.stripe.com/payments/save-customer-payment-methods#display-existing-saved-payment-methods`

What have you already attempted?
The above code.

cursive heronBOT
#

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

Code
I have some questions regarding Twint integration for Swiss market

Question
I integrated the Twint module for our swiss merchants, when end user is getting the QR code he is redirecting to the original page while the payment is in progress. is it expected behavior?

What have you already attempted?
integrated Twint

What are you working on?
We build a platform for Order and Pay

cursive heronBOT
#

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

Error Message
As cobranças e os repasses estão suspensos

Question
As cobranças e os repasses estão suspensos
Fale com o suporte para obter mais informações.

What have you already attempted?
Quero utilizar a Stripe.

#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/prefilling-saved-cards-in-checkout

Question
Under "Upcoming improvements to saved payment methods on Checkout", it mentions two current limitations to save payments and that they'll be fixed "soon". Do you know when these will be addressed?

What have you already attempted?
There's nothing to try

#

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

Code
I can't make the Stripe App development work on a localhost.

Question
I followed the guidelines and set up everything. There are no errors in my terminal but I see errors in the browser console.

What have you already attempted?
I installed stripe CLI.
I created a demo project.
I connected my account with `stripe login`.
I run the command `stripe apps start`, everything looks alright BUT it says "No apps found. Please make sure your development server is running."

---
I tried to connect with my account in a test mode and sandbox too.

What are you working on?
Stripe Apps

#

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

Question
I have two products in stripe. I am using stripe checkout using the node API. One product is the pro tier one is the business tier. Currently when a user who is on pro upgrades to business their pro subscription does not get canceled. They are paying for both subscriptions. Business comes with a free trial.

How do I ensure that at checkout a user will see a prorated amount for business if they are on pro. And that when their free trial ends successfully they will get their pro subscription canceled automatically?

Related Request ID(s)
req_vm7tgrAweTrJmD

What have you already attempted?
I see api docs around the `billing_cycle_anchor` and `proration_behavior` but don't seem to be doing what I want. I've seen things online saying include the current subscription in `stripe.checkout.sessions.create` but my sdk does not support `subscription` as a parameter. Wonder if this is possible with checkout?

#

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

Question
Hey, I have added a new feature to my product, but one of my customers who already had subscription to the product does not see the newly added feature among the active entitlements. In my stripe dashboard the feature is seemingly added to the product. What is the reason for that? When are active entitlements refreshed? Is this behavior documented somewhere? Thanks

Related Request ID(s)
req_SATxTvlGkqVrJn

What have you already attempted?
tried to get the active entitlements of the customer with curl and verified that stripe indeed does not give back the newly added feature.

What are you working on?
webrtc gateway

#

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

Question
While implementing checkout, getting issue after getting session id and session url.
Can you help me to redicectToCheckout
I am stuck in that process, after getting session id and url I can't sent user to checkout page.

Related Request ID(s)
3577754434

What have you already attempted?
I have set all frontend and backend.
Iam trying to open session url through windows.open(url) but getting blocked.
Through link button same blocked

What are you working on?
This is my personal app in stripe, made with using stripe component

#

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

Question
I’m looking at custom payment method documentation and confused by what exactly does

“While you process custom payment method transactions outside of Stripe, you can still record the transaction details to your Stripe account to unify reporting and build back office workflows.”

Is this just really creating a payment intent with payment out of band and attaching metadata with relevant values? However from a reporting point of stripe wouldn’t have any information around payouts, fees, etc? As compared to a native custom payment like affirm for example

Related Request ID(s)
N/a

What have you already attempted?
Looked at relevant docs here https://docs.stripe.com/payments/payment-methods/custom-payment-methods

#

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

Code
function stripePost(Request $request)
{
$price = $request->amount * 100;

$influencer = User\:\:find\(\(int\)$request\-\>influencer\_id\);
$product = Product\:\:whereInfluencerId\(\(int\)$request\-\>influencer\_id\)\-\>first\(\);

$api\_error = '';
$email = Auth\:\:user\(\)\-\>email;

Stripe\Stripe\:\:setApiKey\(env\('STRIPE\_SECRET'\)\);


$customer = \Stripe\Customer\:\:create\(\[
    'email' =\> $email,
    'source' =\> $request\-\>stripeToken
\]\);


$user = auth\(\)\-\>user\(\)

Question
I used this code for payment but the issue now is , people get debited $0 on their card and when I check stripe subscription it shows the initial amount they’re supposed to be debited ! For Example if they subscribe $50 it shows it in subscribe part of the dashboard but the card gets debited 0

What have you already attempted?
Been trying to check if there is any bonus and all that’s why they get debited 0 but it’s not that , I just don’t know why

What are you working on?
It’s a company I’m working for and we are trying to fix this , 85/

#

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

Question
I'm trying a refund on a transfer, and it's saying that the connected account hasn't funds. But I checked in and It has a lot of funds. It's making the refunds not work for the customers. The refund is before 7 days of the purchase.

Related Request ID(s)
req_u3hsRmnY9351sk

What have you already attempted?
If I give a refund without reverting the transfer, it works, but I lose money.

What are you working on?
Auto-refund for customers that purchased before 7 days of the purchase.

#

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

Question
Hello! need to programatically retrieve a mandate id from a acss_debit payment method. From the dashboard UI it is there under the payment method, but fromt he PI it does not get returned. Where can i find the mandate id for a given payment method? Thanks

Related Request ID(s)
req_qr0bKsixlPubHd

What have you already attempted?
retrieving the payment_method: does not return a mandate id
listing a customer's payment_method: that does not give me the mandate ids
retrieving a mandate_id: i need the mandate id to retrieve it

What are you working on?
trying to create a paymentintent for a acss_debit payment type. to so so, i need the mandate id.

#

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

Question
We are trying to use Terminal with Setup Intents. I created a setup intent with the following parameters:

```
{:usage=>"off_session", :payment_method_types=>["card_present"], :customer=>"<cus id>", :on_behalf_of=>"<connected account id>"}
```

Then I'm handing off the setup intent to the reader with:

```
Stripe::Terminal::Reader.process_setup_intent(
'<reader id>',
{
allow_redisplay: 'always',
setup_intent: '<intent id>',
},
)
```

The setup intent succeeds, but the payment method doesn't get attached to the client so the subscription doesn't charge properly

Related Request ID(s)
req_FSmHcrhxhAutlv,req_XBhnU48rg0uFX5

What have you already attempted?
I don't see any documentation about how to set up the SetupIntent to prepare for terminal (especially in the Stripe Connect context

#

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

Question
I use react native and expo go to create an app.
Today i tried out the deep link like described here:

https://stripe.com/docs/payments/accept-a-payment

I used exp://stripe-redirect as callback, because i use expo go and so the redirect with my app‘s name was not working.

The callback handler i copied as described in the example.

It seemed to work, at least it returned to expo, but there I got an expo error and only option was „go home“ meaning leaving the app simulator.
Since then i get STPPaymentHandler does not support concurrent calls to its API.
I can not finalize it in ui or per api.

Related Request ID(s)
req_qus5a6ccVdWRjH

What have you already attempted?
Restarting, logout and login, searching in web ui for cancellation, refund

What are you working on?
Ja

cursive heronBOT
#

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

Question
I am adding ach to our website and I already wrote most of the code and it works well, I am trying to figure out what object (balance transaction, charge, setup intent) houses the 1.50$ fee for the instant verification.

Related Request ID(s)
n/a

What have you already attempted?
I looked in the balance_transaction in test mode on the charge and also looked at the failed balance transaction as well.

What are you working on?
I am a current customer working on an insurance agency

#

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

Question
after creating a checkout session for multiple products, when redirecting to the customer portal, the user can only cancel the subscription and not edit it. How can i allow the user to edit a subscription with multiple products ?

Related Request ID(s)
req_PsScxbpRY1tUm7

What have you already attempted?
checking the product in the customer portal configuration

cursive heronBOT
#

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

Question
how to update a checkoutSession with customer email

Related Request ID(s)
checkoutSesion

What have you already attempted?
but for create checkout session i need the email, if not i can not create the checkout session

What are you working on?
im using stripe cheackoutSession api and custom elements,

cursive heronBOT
#

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

Question
I have a question about the Stripe Identity API. If our users are providing drivers licenses, how often does Stripe fail to provide first_name, last_name and address details in the verified_outputs? (https://docs.stripe.com/api/identity/verification_sessions/object#identity_verification_session_object-verified_outputs)

Related Request ID(s)
No request ids

What have you already attempted?
Ive attempted a real id and got valid data. Im wondering how often do we expect this failure to happen? trying to prioritize whether to build it in my applications MVP

What are you working on?
civic engagement platform that requires identity verification

cursive heronBOT
#

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

Question
in sigma, you can access a table called "recoveries." is there a way to access this table via API (or some indirect way to query this data)?

Related Request ID(s)
na

What have you already attempted?
investigation. here's the sigma query:

```
select
date_format(
date_trunc(
'month',
coalesce(initial_payment_failed_at, paid_at)
),
'%Y-%m-%d'
) as month_first_failed_charge,
reporting_currency,
coalesce(sum(initial_failed_amount), 0) as initial_failed_revenue,
coalesce(
sum(
case
when retries_exhausted
and paid_at is null then initial_failed_amount
else 0
end
),
0
) as unrecovered_revenue,
coalesce(
sum(
least(
initial_failed_amount,
coalesce(recovered_amount, 0)
)
),

#

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

Question
useCheckout hook not updating the values

Related Request ID(s)
useCheckout

What have you already attempted?
im using useCallback to update checkout session but useCheckout hoook is not updating

What are you working on?
i need to update the session

#

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

Question
I don't want to get the bin/iin from creating a payment intent with confirm = true because that is an auth. Can I call v1/payment_methods/:id to get the bin/iin info?

Related Request ID(s)
req_82Thb4K62kMUwA

What have you already attempted?
currently we are calling v1/payment_intent with confirm = false so we do not create an Authorization against the CC before we can run it past the fraud service.

What are you working on?
Fraud implementation to my website's checkout.

cursive heronBOT
#

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

What did you expect to happen?
I have a schedule phase starting at a future time and ending at a future time. I expect that the transition to the phase only happens after the end date has been reached.

What actually happened?
The subscription update has already been transitioned to the new product type while the subscription schedule is still active

Reproduction Steps

  1. Create a subscription schedule
  2. Update subscription with a phase with the current subscription product with start and end date of the current phase. And add another phase with the future intended product with 1 iteration.
  3. Fast forward the test clock to a period after phase 0 ends but before phase1 ends.

Question
Why has the subscription product been transitioned on stripe while there is still a update scheduled.

sub_1REGK7Dx7BwidrH0h1RXWMPz This is the subscription in question

What are you working on?
Schduling a downgrade for a subscription. While displaying on the UI the subscription product the user is currently on

#

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

Question
Is it possible to create a payment link for a specific customer without return URLs (success_url, cancel_url), keeping the user on the payment screen upon success (like the permanent payment link) and removing the back buttons?

Related Request ID(s)
***

What have you already attempted?
I have already changed my function to generate a permanent payment link (\Stripe\PaymentLink::create), but I cannot pass a specific customer, which doesn't suit my business requirements.

I have also tried using after_completion in the function, but it returns an error 'Received unknown parameter: after_completion. Did you mean after_expiration?' and I haven't been able to hide the back button using the Session::create API

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/radar/risk-evaluation

Question
The Risk Level is determined by a risk score, which means there is a possibility that the payment could be flagged as fraudulent. I wasn’t able to find documentation on whether, despite a card number being marked as fraudulent, the payment still attempts to go through. My question is: Does the system currently allow a failed payment to be retried even when the card has already been identified as fraudulent?

What have you already attempted?
The initial payment failed and continued to retry until it was eventually blocked. Despite being blocked or flagged as fraudulent, the system still attempted to retry the payment three more times, and the invoice status remained as "Open" instead of being updated to "Uncollectible."

#

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

Question
Is it possible to retrieve the receipt_url permalink from a checkout.session.completed event in subscription mode?

Related Event ID(s)
checkout.session.completed

What have you already attempted?
tried getting latest_charge from invoice and charge from payment_intent, but none are accessible via the event context, only the cli or dashboard

What are you working on?
accessing receipt_url for a custom successful payment email

#

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

Question
I'm trying to create an preview for an invoice but I am getting an AttributeError: type object 'Invoice' has no attribute 'create_preview'

Related Request ID(s)
None

What have you already attempted?
I checked the documentation and saw that it is possible to indicate the API version but I don't know if I am doing it correctly: stripe_invoice_preview = stripe.Invoice.create_preview(customer=customer.stripe_id, stripe_version="2024-06-20")

and I can't update the API because I don't have the permission.

What are you working on?
create invoice previews

#

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

What did you expect to happen?
A payment is Blocked by radar thus it shouldn't continue through Smart Retry, or should be?

What actually happened?
The payment continues through Smart Retry even if the payment is already blocked by radar

Reproduction Steps

  1. First payment is failed
  2. The payment continue via Smart Retry until it blocked by radar in 5th retry
  3. The blocked payment continue to retry

Question
It is expected to retry the payment even if the payment is already blocked. I will provide a screenshot of a recent activity

cursive heronBOT
#

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

Question
Hey all, new to using stripe. I'm going to be building 10 SAAS products in 30 days with my team and am looking for advice on how I should set up my stripe account (each product will have it's own website, though it is all owned by my corporation). For account activation it is asking for my business details, should i put the main corporations info? It will have a different name than the site i try integrating stripe into. Any advice is appreciated!

Doc/Guide Links
https://docs.stripe.com/get-started/account/orgs/build

https://docs.stripe.com/get-started/account/multiple-accounts

What are you working on?
Building out micro saas solutions under my corporation (each has its own website)

cursive heronBOT
#

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

What did you expect to happen?
Multibanco image and text should be shown in Payment Element

What actually happened?
It's not visible when rendering the payment element in Next.js

Reproduction Steps
Go here and select Multibanco https://checkoutpage.checkoutpage.com/empreende-vendas-

Question
We use the payment element. When selecting Multibanco, we don't see the logo or the text, it's just an empty div. It still works normally.

We use both React/Vite SPA and Next.js. In the React/Vite SPA it shows correctly, but in the Next.js side it doesn't show.

What are you working on?
checkoutpage.com, no-code checkout builder

cursive heronBOT
#

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

Question
In stripe checkout page, how can we change the texts for example in my case there is clinician's subscription now i want to change it to patient's subscription? should we need to change the product id?

Related Request ID(s)
Looked into the documentations

What have you already attempted?
changed the product ids.

What are you working on?
stripe subscription in our system

cursive heronBOT
#

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

Question
How to enable iDEAL payment for the old stripe account

Related Request ID(s)
iDEAL payment

What have you already attempted?
I dont see any option i n old account, only in newly created account I am able to see the option

cursive heronBOT
#

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

Question
Hi

our stripe account is based in India with INR currency

If any payment happens in other than INR, can we can the exchange rate or the converted value in PaymentIntent APIs or web hooks related to the PaymentIntents?

On Dashboard we are able to see this Info, but we need this in APIs

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
we are ticketing and event hosting platform, we use paymentIntent API and we do bank transfer to organizers(our customers)

cursive heronBOT
#

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

Question
I have integrated stripe payment , and i am receiving the payment is success or failure after checkout done by user through webhook , can i check the same if the user call my api and i verify that through the stripe not through the webhook , is that possible , that will be easy to implement for me.

Related Request ID(s)
d

What have you already attempted?
I have tried the same payment success response through webhook and that is working fine but want to check the same thorugh the api not thorugh the webhook

cursive heronBOT
#

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

Code
<div id="checkout" className="w-full h-[800px] overflow-auto">
<EmbeddedCheckoutProvider
stripe={stripePromise}
options={{
fetchClientSecret: getClientSecret,
}}
>
<EmbeddedCheckout /></EmbeddedCheckoutProvider>

Question
I am trying to adjust the height of the iframe for embedded checkout it seems to change dynamically however on a full screen the height only fills 3/4 of the page. How could I work around this dynamic height?

What have you already attempted?
I have looked into adjusting the height of the parent elements and nothing is adjusting, when the width of the screen is smaller the height increases.

What are you working on?
Building an ecommerce website where I would like to integrate stripe for my payment provider

cursive heronBOT
#

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

Question
Stripe error---> This account is not eligible for the requested card features. See https://stripe.com/docs/payments/flexible-payments for more details.

getting above error at time of creating payment intent in test mode with
payment_method_options: {
card: {
request_extended_authorization: "if_available",
request_incremental_authorization: "if_available",
},
},

Related Request ID(s)
Stripe error---> This account is not eligible for the requested card features. See https://stripe.com/docs/payments/flexible-payments for more details.

What have you already attempted?
yes not found any thing helpfull

cursive heronBOT
#

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

Code
....................NA

Question
I have implemented Payment Element for Google Pay with Card. I am able to see Google Pay radio on my device but for others we are getting error.

Error - Unable to download payment manifest

What have you already attempted?

  1. Added real card in Google Wallet
  2. Added card on Chrome
  3. Enabled Google Pay on Stripe dashboard.
  4. Location is US
cursive heronBOT
#

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

What did you expect to happen?
My customers pay a one-time price and a yearly paid subscription price. This subscription price can be increased later on, should the customer decide to book additional packages. For this i update the subscription with the now valid subscription items and use 'proration_behavior' = 'always_invoice'. I expect the proration to be always done correctly.

What actually happened?
Now there is a case, where proration is not done correctly. If during initial booking customer used a one-time voucher (e.g. 50 Euro), I expect this voucher to be for the one-time price he paid. If the customer now decides to book additional packages in the first year the following happens: The voucher is counted towards the subscription payment, that is now..

Reproduction Steps
..deducted as unused time, meaning he will not get the full deduction. And the new subscription items he has to pay full price, meaning he lost part of his 50 Euros off depending on at what time he booked additional packages.

Question
Why does it work like this and how can I solve the situation with the requirements I have?

cursive heronBOT
#

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

Code
<ExpressCheckoutElement
options={{
paymentMethods: {
link: "never",
googlePay: "auto",
applePay: "auto",
},
paymentMethodOrder: ["googlePay", "applePay"],
buttonType: {
applePay: "donate",
googlePay: "donate",
}, //@ts-ignore emailRequired is correct
emailRequired: true,
phoneNumberRequired: true,
addressRequired: true,
}

Question
I cant figure out how to pull the name, address, and phone from expresscheckoutelement. I think i followed everything in the docs but a had a friend test on his mac and it comes up as unknown.

What have you already attempted?
Re reading the docs, ive set emailRequired to true, email is being detected correctly, but everything else isnt. I at least need the name.

What are you working on?
Donation management platform. https://givevery.com

#

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

Question
in testing environment i m unble to add payout bank account how can i do can you please guide me through that

Related Request ID(s)
req_PZAy4xrxy05fRX

What have you already attempted?
tried using payout api

What are you working on?
i was integrating strip to my application and payout to my merchants via stripe and payout to my own bank account

#

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

Question
I want to ask stripe generated customer portal link is safe?

Related Request ID(s)
Nothing

What have you already attempted?
I'm creating customer portal session for customers

What are you working on?
Subscriptions

#

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

Error Message
Our account log in is "angela@harpchamber.com"
Company Name: Hong Kong Harp Society Limited

We found that live mode for Alipay and WeChat Pay are ineligible payment.

However, when turn to test mode, those two payment gateways can be active.

Question
Any further docs or procedures needed for activating these two payment gateways.

What have you already attempted?
Test mode work

Reproduction Steps
Please e-mail karen@harpchamber.com and simon@varomatic.com, cc: ava@harpchamber.com for the solution / suggestion
Thank you

#

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

Code
I have some questions regarding Twint integration for Swiss market

Question
I integrated the Twint module for our swiss merchants, when end user is getting the QR code he is redirecting to the original page while the payment is in progress. is it expected behavior?

What have you already attempted?
integrated Twint

What are you working on?
We build a platform for Order and Pay

#

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

Code
woocommerce_register_additional_checkout_field([
'id' => 'plastiform/vat_number',
'label' => __('VAT Number', 'Plastiform'),
'required' => true,
'location' => 'contact',
'type' => 'text',
'sanitize_callback' => fn($v) => strtoupper(str_replace(' ', '', $v)),
]);

Question
I am using WooCommerce with Stripe Tax for WooCommerce. Our business is located in France, and we sell exclusively to businesses (B2B) worldwide.

The issue is that Stripe is charging VAT to all EU countries at their respective rates, when it should be 0%.

How can I resolve this? I cannot find any relevant settings in either the Stripe dashboard or the WooCommerce settings tab.

What have you already attempted?
I have try to find some hooks or settings reading the plugin code but nothing really helping,

#

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

Code
def lineItem = SessionCreateParams.LineItem.builder()
.setPriceData(
SessionCreateParams.LineItem.PriceData.builder()
.setCurrency(currencyCode)
.setUnitAmount(amountInCents)
.setProductData(
SessionCreateParams.LineItem.PriceData.ProductData.builder()
.setName("Transaction #${transaction.id}")
.build

Question
i want to create a payment link of:
Create separate charges and transfers

What have you already attempted?
i did earlier for a direct charge type

What are you working on?
i was integrating strip to my application

cursive heronBOT
#

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

Question
We are developing a React Native app with Tap to Pay using Stripe.
We have installed the SDK as indicated in the official Stripe documentation.
The problem is that when launching the app on an Android OnePlus Nord 2 device, we receive the following message:
[Stripe terminal]: didChangeOfflineStatus {"reader": undefined, "sdk": {"networkStatus": "unknown", "offlinePaymentAmountsByCurrency": {}, "offlinePaymentsCount": 0}}.

The SDK initializes correctly, but no device is detected to be used as a reader.
How can we resolve this issue?

Related Request ID(s)
req_EWn67v3cwuTAbr

What have you already attempted?
We tried uninstalling the SDK and reinstalling it.

What are you working on?
We are building an App that is using Tap To Pay payment method

#

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

Code
import React, { useState, useEffect, useContext } from "react";
import { View, Text, StyleSheet } from "react-native";
import { apiCall } from "../../apis/api";
import { LoaderContext } from "../../Components/LoaderContext";
import { ConnectPayments, ConnectComponentsProvider } from "@stripe/react-connect-js";
import { loadConnectAndInitialize } from "@stripe/connect-js";

const OnboardingScreen = () => {
const [errorMessage, setErrorMessage] = useState("");
const [stripe

Question
i am trying to do onboarding of a user using above code in react native but this code not working

What have you already attempted?
i have tried with registering the user using python api to stripe connect account and it is working and once i receive the client secret i want to open in mobile app embeded but not working

What are you working on?
react native code for mobile app

cursive heronBOT
#

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

Question
I'm developing our stripe integration and doing webhook tests. I'm seeing Active subscriptions receive a subscription.deleted webook after 30 days test clock, and they appear to remain active in the stripe portal

Is this expected? I want to make sure I handle these correctly.

Related Event ID(s)
evt_1RER7SK2ZVzLXtKk3hB0EPZE

What have you already attempted?
Create 1 sub that lasts from now until forever.
Create 2nd sub that expires in a few cycles
Test clock to move forward through time more than 30 days. I do this using sub2 because I want to test that this subscription will actually expire.

I see that both subs are still active in the stripe web portal.

I see that sub1 -- the forever subscription -- has received subscription.deleted webhook and my webhook listener has processed the deletion, in spite of it being active.

It's not clear to me whether this is actually what would happen or if it's an unfortunate biproduct of test clock usage.

What are you working on?
SAAS application (IPFS pinning service)

cursive heronBOT
#

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

Question
After installing "Stripe for Salesforce Platform" in Salesforce and following the installation documentation, I encountered a "Bad Request 400" error in the webhooks when creating a customer in Stripe.

Related Event ID(s)
evt_1RESOUP9SjU34yndDFPcmCDI

What have you already attempted?
After reinstalling the package and setting up a new webhook, I'm still encountering the same error.

What are you working on?
"During the Salesforce integration testing"

#

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

Code
I have some questions regarding Twint integration for Swiss market

Question
I integrated the Twint module for our swiss merchants, when end user is getting the QR code he is redirecting to the original page while the payment is in progress. is it expected behavior?

What have you already attempted?
integrated Twint

What are you working on?
We build a platform for Order and Pay

#

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

Question
Hi is there any way of having express checkout buttons in test mode while keeping the main checkout in live mode? We have a live website but want to add and test the express buttons without turning everything into test mode?

Doc/Guide Links
https://docs.stripe.com/checkout/one-click-payment-buttons?payment-ui=embedded-components

What are you working on?
ecommerce website

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/direct-charges?platform=web&ui=stripe-hosted#flow-of-funds-with-fees

Question
How to collect fees via "direct charges" in case of b2b scenario (reseller business) on our platform?

Example (demo data):
Customer pays: 100 USD
Stripe fee: -3 USD (balance 97 USD)
Our platform -5 USD (balance 92 USD)
Reseller 10% margin (connected account): 9.2 USD (balance 82,8 USD)
Remaining amount to Distributor (connected account): 82,8 USD

What have you already attempted?
Direct charges seem to be able to split the fees to only platform and one connected account.

#

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

Question
Hello,

To handle unpaid invoices for a subscription, I currently use the following method:

I redirect the customer to a page on my app that triggers a Stripe Checkout session.

In this Checkout, I add each unpaid billing cycle as a line item, along with any recovery fees if applicable.

I use the checkout.session.completed webhook to manually mark the unpaid invoices as paid_out_of_band: true in order to reactivate the subscription on Stripe.

Is this the recommended approach?
Or is there a way to directly associate the existing unpaid invoices with the Checkout session so I don't have to manually mark them as paid afterward?

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

What are you working on?
an insurance marketplace app

cursive heronBOT
#

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

Question
Hi using express components like Google/Apple Pay, how would I get the customers email address returned on completion of payment, so an order email can be sent to them? Or do they need to enter this at a stage on the website before they get to the express payment buttons?

Doc/Guide Links
https://docs.stripe.com/checkout/one-click-payment-buttons?payment-ui=embedded-components&lang=php

What are you working on?
ecommerce website

cursive heronBOT
#

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

Question
What card properties are hashed to get a payment method’s fingerprint? For example, would things like expiry date and billing address affect the fingerprint?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
I’m working on some adjustments to our payment processing flow which could result in new payment methods being created for the same card but with different billing details/expiry date/etc.

#

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

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

Question
i connect to stripe using installation link, Oauth flow

What have you already attempted?
nothing

#

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

Question
I would like to create a payment link using Session::create but I need the link to not have redirect URLs, that is, not redirect when successful or failed and remove the back button from the page.

Related Request ID(s)
****

What have you already attempted?
I can create the link but only by informing the URLs and I have already tried to make some adjustments to the API to remove the button and the URLs but without success.

#

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

Question
Hi, I've added a company_name field to my checkout stripe so that it appears on my customers' invoices.

The trick is that I get this metadata in the “checkout.session.completed” event to update my customer on his custom_fields so that the name appears on the invoice.

The problem is that the initial invoice is created at the same time, so I don't have this information on the invoice (it's on subsequent invoices).

Is there any other way of putting a custom field directly on the first invoice (it's a payment for a subscription)?

Related Event ID(s)
evt_1REVGxFb7kw6jMLMWmttZwoa, evt_1REVGyFb7kw6jMLMlFrerpVc, evt_1REVGyFb7kw6jMLMTNu3WUyg, "evt_1REVGyFb7kw6jMLMslvFRdBt"

What have you already attempted?
I've tried what I put above, or else modify the customer's name directly (in the same place) but it doesn't go fast enough before the invoice is created.

What are you working on?
Trendtrack a SaaS for persons in e-commerce

cursive heronBOT
#

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

Question
I'm using the 'Financial Account' embedded component to display the balance and transfer money for a financial account: https://docs.stripe.com/connect/supported-embedded-components/financial-account

Currently, when using the 'move money' option and selecting the 'transfer money' option, the only financial account that appears in the dropdown for the 'from' or 'to' account is the financial account the component is set for.

Am I wrong assuming there is a way to transfer money to the other financial accounts under one connected account using this component?

Related Request ID(s)
account_session used for the component: req_siizh7XcQMwYZy

What have you already attempted?
I though enabling intra_stripe_flows would make other accounts available, but it hasn't. all of the other transfer-related features are enabled. fa_1R9wuPPKp9DBmtEGU9mpfzCp is a financial account under acct_1R9WiqPKp9DBmtEG. the account has other financial accounts that i'd like to show here.

#

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

Question
I need to create a recurring subscription pointing a product or its price_id to a specific customer and make the first payment available so the customer can register their card details and start the recurrence, but this payment cannot have redirect URLs.
Can you advise me which API I should use for this?

Related Request ID(s)
***

What have you already attempted?
I've tried using the payment link, but I couldn't pass it to a specific customer.
I've tried using Checkout Session create, but there is a redirection in it.

#

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

Question
Why is this so complicated? I just want to talk to other developers as the Stripe support is entirely lacking. I am trying to test Stripe integration and it suddenly requires https even in development.

Related Request ID(s)
I have no idea what this means

What have you already attempted?
I've attempted to integrate the javascript.

#

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

Question
We are using the api to monitor dispute in our backend. We've noticed that payments using klarna seems to be in warning_closed quite often but this status is confusing and it seems that we have more information in the dashboard than in the API.
In the dispute I have given below, the dispute message says "The payment facilitator chose not to pursue this dispute.", this info would be quite helpful to monitor the amount lost due to disputes as we used to consider warning_closed as losses.

Related Request ID(s)
du_1R7Hc6EPMJ0mJZqzgWElmtUI, evt_1R80oeEPMJ0mJZqzMz6i9Fc8

What have you already attempted?
I've tried looking in the api, in the dispute closing event and in stripe sigma but I can't find this info !

cursive heronBOT
#

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

Question
I want to disable automatic email for SEPA debit but in my settings i can't because the toggle it's greyed out.

And in your documation, you said to use the Sources API for update mandate.notification_method. But in my objet payent intent or charge my param "source" is null .

So i can't disable this automatic email.

Please can you help me

Related Request ID(s)
e

What have you already attempted?
To search a source objet (but it'sdeprecated)

#

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

Question
How can I reapply a coupon or reset a coupon's duration?

Related Request ID(s)
req_Uzwh3hTjaLzIBo, req_DCNfD9syYmQ4jd

What have you already attempted?
In the first request I shared, I used 2 phases with two different promotion codes that point to the same coupon. This worked, and extended the discount as expected.

In the second request, I do something similar, but closer to my company's real implementation. The first phase is 2 years of education discount, the second phase is another 2 years of education discount, the third is a step-up pricing (where we give an additional discount at student graduation), and the forth phase is our full price.

The second request does not behave expectedly; it removes the education discount at the 2nd phase

What are you working on?
I'm trying to reset a 2 year discount every time we confirm that a customer is a student. We use SheerID to confirm student status, and once confirmed, we'd like to reset their student discount.

#

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

Error Message
The website encountered an unexpected error. Try again later.<br><br><em class="placeholder">RuntimeException</em>: Could not find matching local subscription for Remote ID sub_1REWtrF9Ido1uMDl6I71QOGc. in <em class="placeholder">Drupal\stripe_subscription\Plugin\SubscriptionManagerConnector\StripeConnector->syncRemoteSubscriptionToLocal()</em> (line <em class="pl

Question
We have setup a subscription best site in Drupal using Stripe Subscription Manager module. We created this on a test domain with sandbox and worked well but we moved to live domain and made live and subscriptions are not being associated with users and receiving the above error

What have you already attempted?
We've reverted back to test and it works, we've tried restricted and none restricted keys. Deleted the event, amended webhook etc.

What are you working on?
Drupal Community / subscription based website

#

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

Error Message
`link_in_payment_request_button` display_preference is not overridable. Please check the platform settings (https://dashboard.stripe.com/settings/payment_methods/connected_accounts).

Question
Yesterday we started to observe this error whenever a customer attempts to enable or disable links as a payment method via our app.

We use your payment method configurations API to change the "preference" value between "on" and "off".

See sample request log: https://dashboard.stripe.com/acct_1J3kFoQT2amvAib5/logs/req_d1DBSDOm65OXYa

What have you already attempted?
We have tried enabling and disabling the "Payment Request Button" for the "Link" payment method on the parent payment method configuration for all of our connected accounts.

Reproduction Steps
POST /v1/payment_method_configurations/:pmc_id

Request body
```
{"link": {"display_preference": {"preference": "off"}}}
```

What are you working on?
Allowing our customers to enable/disable payment methods from our app

cursive heronBOT
#

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

Question
If I create one Stripe account, how many websites can I link the payment gateway to? Is there any limit on the number of websites or domains I can use with a single Stripe account, or can I integrate it with unlimited websites?

Related Request ID(s)
d

What have you already attempted?
still trying

#

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

Question
Getting an error 'invalid account'

Related Event ID(s)
See my comment below

What have you already attempted?
Trying to test webhook using Stripe CLI

What are you working on?
building webhook

#

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

Question
We are working on using the Radar API to help with preventing fraud charges.
We are looking at using a trick that refunds the charge on an radar.early_fraud_warning webhook is detected.
The issue is that we don't see that in Radar for up to 20 days later, and by then, a customer would have used their product or tickets that we sell.
When are Early Fraud Warnings sent and by whom and in what timeframe? Can we catch them earlier?

Related Request ID(s)
None

What have you already attempted?
We have looked at the API and reviewed the Radar dashboard. This is an exploratory question on how to best implement a solution and gathering more knowledge not currently found in the documentation

What are you working on?
Fraud prevention

#

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

Question
when i update my checkoutSession with a new one, the provider state is not updating, useCheckout hook state keep the old value

Related Request ID(s)
useCheckout hook

What have you already attempted?
I tried to get the new value from useChekcout hok

What are you working on?
custom checkout with elements

cursive heronBOT
#

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

Code
Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set.

Question
I'm trying to build a Stripe App to download invoices in bulk. I believe I have functioning code but I hit the error.

Question: Is this restriction only on the test/sandbox environment or on the production as well?

Is it technically possible to build such an app, or do I need to run extra API calls on my backend server to get the functionality?

What have you already attempted?
I fetched all invoices and their PDF URLs but I can't download them within the Stripe App itself.

What are you working on?
Bulk invoice downloader

cursive heronBOT
#

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

Code
TaxIdCreateParams taxIdCreateParams =
TaxIdCreateParams.builder()
.setType(TaxIdCreateParams.Type.valueOf(clientRequest.getVatType().toUpperCase()))
.setValue(clientRequest.getVatValue())
.setOwner(TaxIdCreateParams.Owner.builder().setCustomer(clientId).build())
.build();
TaxId.create(taxIdCreateParams);

Question
I get this error when trying to create a new Tax ID: Missing required param: owner[type].; code: parameter_missing; request-id: req_l8lozNQYMwMkPH . What am I missing?

What have you already attempted?
-

cursive heronBOT
#

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

Question
What's the expected use of Checkout::Session when upgrading or switching subscription levels?
I've been trying to migrate some old subscription code to Checkout::Sessions with embedded components, which works fairly well for setting up a new subscription, but I've been struggling to figure out how it's supposed to be used if you want to let the user switch their subscription to a different Product or Price. Is that an expected use case? Or do I need to write two completely separate checkout flows, one with Checkout::Session and another that does everything manually with CardElement and a bunch of backend code?

Doc/Guide Links
https://docs.stripe.com/checkout/custom/quickstart

What are you working on?
Subscriptions for podcast hosting

#

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

Error Message
I have partial authorization enabled for my account. I do pass the flags in my request when I create Payment intent, but existing funds/balance is not returned when I confirm the payment intent.

https://dashboard.stripe.com/payments/pi_3RCl3mDMNOMDEQIU2nlMY1mv

Question
Can you check if my payment intent creation/confirm has the right fields?

What have you already attempted?
I have tried this in test mode and i do get a charge expanded with amount_authorized etc when I use stripe test card

What are you working on?
Enabling Partial authorization for our merchants

#

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

Question
When we receive the payment_intent.payment_failed event, we fall back to charging a backup payment method. To avoid double charging, we log all webhook events and only act once per failed PaymentIntent.

This is not a subscription. We're wondering: will Stripe ever retry a failed, non-subscription PaymentIntent? If so, and the retry later succeeds, we risk double charging—once via Stripe's retry and once via our backup method.

Can you confirm whether retries happen for non-subscription PaymentIntents, and under what conditions?

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

What are you working on?
A backup payment method.

#

@mossy talon pressed 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/customer-management/activate-no-code-customer-portal#url-parameters

Question
How do I get customer portal (no code) link programmatically via stripe JAVA SDK?

What have you already attempted?
I tried following code, but this url is getting expired after some time.

def builder = com.stripe.param.billingportal.SessionCreateParams.builder()
.setCustomer(customerId)
.setReturnUrl(returnUrl)
def params = builder.build()
def requestOptions = RequestOptions.builder()
.setStripeAccount(connectedAccountId)
.build()
def portalSession = com.stripe.model.billingportal.Session.create(params, requestOptions)
return portalSession.getUrl()

What are you working on?
A donation platform where donors can subscribe to recurring donations and manage their recurring donations

cursive heronBOT
#

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

Question
Getting TLS Error for webhook endpoint for event invoice.sent

Related Request ID(s)
evt_1REaRsCdRej7qxx83GLLWk4p

What have you already attempted?
I verified the domain and endpoint. Domain name is valid and also endpoint is valid.

What are you working on?
I am trying to integrate Stripe payment gateway with a web application

cursive heronBOT
#

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

Question
Regarding adding balance to stripe balance ,
Its taking too much time to add balance to stripe through ACH bank transfer , i have to know what are the other method by which i can immediately add blance to my stripe balance , seems like card method is also not being settled immediately

Related Request ID(s)
No

What have you already attempted?
I have attempted bank ACH transfer method and its taking too much time .

What are you working on?
I am working on making a app in which i am using stripe balance

cursive heronBOT
#

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

Error Message
No error message is displayed. Fails silently.

Question
We are having issues with our Stripe Connect Express integration.

We are sending the user the Stripe connect link. They are completing the Stripe connect process. The account is apparently being created, but it is not being associated with our Stripe Connect account

What have you already attempted?
We've tried this for multiple signup tests. A lot of the time it works, but for some users it will fail to connect with our account.
We can't see a pattern.

Reproduction Steps
Follow the stripe connect link.
Fill out the form
Complete the stripe signup
The stripe connect will return to our app
Their account will be created but not connected to our app.

Here is an example account that was created: acct_1RCRbBD72ljtfTfi (this account ID was provided by a stripe rep, the account does not show in our connect account)

What are you working on?
Our app salonmonster.com which offers online booking and sales management for salons

#

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

Question
How do I use a Platform account's API key to query information on the connected account? I'm getting a 403 when using the platform accounts secret key and the connected accounts accountId.

Related Request ID(s)
Don't have any for 403 I think

What have you already attempted?
I've tried using the platform key + platform accountId to query products and it worked.

I've tried using the connect account key + connected accountId to query products and it worked.

But when I tried to use the platform key + the connected accountid, I get a 403.

What are you working on?
Wireless carrier

cursive heronBOT
#

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

Question
why does adaptive pricing seem to not work at all?

I have been trying to enable it since the currency we accept (USD) does not work for most of our customer's paying methods, but i haven't found any error/warning and the checkout simply does not have the adaptive pricing options, only usd.

I am creating the checkout session programatically, inlining the price_data, and specifying adaptive pricing should be used as this doc specifies:

https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-adaptive_pricing

My account have adaptive pricing enabled, and it is the defaul

Related Request ID(s)
req_oIVz7Ux2noYXCG

What have you already attempted?
i have tried omitting adaptive pricing (it should work i believe since it is the default, my account in https://dashboard.stripe.com/settings/adaptive-pricing already have it enabled)

and also tried explicitly setting it to true but no success

What are you working on?
Trying to enable customers to pay for depositing credit on my platform. i create a checkout with an inline price since you can specify how much you want to deposit, but i need adaptive pricing to work

cursive heronBOT
cursive heronBOT
#

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

Question
I was just chatting with you guys about our connected account setup process. I'd like some feedback on Hosted vs Embedded integrations

Doc/Guide Links
This is the link I was sent:
https://docs.stripe.com/connect/express-accounts

I see this link also has and embed option:
https://docs.stripe.com/connect/design-an-integration?connect-onboarding-surface=embedded&connect-dashboard-type=express&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-charge-type=destination

What are you working on?
Refactoring our app to use the new connect workflows

cursive heronBOT
#

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

Question
I have a client that is using Stripe issuing and Payment Intents. Is it possible to send data from the payment intent so that it is available on the issuing webhook authorization object? If not, is there another way to determine that the card on the webhook authorization is from my own issuer if that issuer has its own Stripe account?

Related Request ID(s)
N/A

What have you already attempted?
Reading the docs over and over and over

#

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

Question
I'm trying to integrate manual authorization and then capture, with a receipt automatically being sent out once the payment is captured. It is all working, but no receipts are being sent through in test mode. Is this normal?

Related Request ID(s)
-

What have you already attempted?
See Question

What are you working on?
API Integration

#

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

Question
I am attempting to update a user's subscription with a new Stripe price but without applying any proration

Related Request ID(s)
req_aZE6N9bffa08Rw

What have you already attempted?
I used this code to update the subscription:

Stripe\Subscription::update(
$subscription->stripe_id,

The problem is, even though I set proration_behavior to none and billing_cycle_anchor to 'unchanged', when I preview the next invoice, I still see proration applied — the difference is being calculated for the new plan price.

I’m not sure why this is happening, as I specifically want the plan change to occur without any proration and have the new price take effect only at the next billing cycle.

Has anyone encountered this issue, or can you point me to what I might be missing here?

What are you working on?
upgrade subscription

#

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

Question
Hi, I got a question regarding the Stripe processing fee for transactions.

Our customers are onboarded with Express Stripe account and we will create payment intents to let anyone else to pay to the onboarded customers. We will charge application fee by setting the param application_fee_amount.

Though, is there place I can configure the connected account should be responsible for the Stripe processing fee? I would like the customer instead of our platform to be charged for it.

Related Request ID(s)
req_MhORlZCtKrEvB9, req_iLP2deCl5Cq7yS

What have you already attempted?
I have tried creating controller.fee.payer as 'account' when controller.stripe_dashboard.type is 'express', but it raise an error for creation. That means for a Express account, application is always be charged for Stripe processing fee?

I have also tried to add/remove `on_behalf_of` in the `paymentIntents.create` api, but it turns out the platform is always charged for Stripe processing fee.

The documents I have read:
- https://docs.stripe.com/connect/accounts
- https://docs.stripe.com/connect/charges
- https://docs.stripe.com/connect/direct-charges

What are you working on?
The ultimate feature we are trying to achieve is something like a donation. Customer can onboard a Stripe account in our application. Anyone else can donate to that customer.

cursive heronBOT
#

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

Question
I have 3 recurring tier based product for user to sign in. starter and prof. Start is flat cost based model where user pay $2 per unit while in prof, they have flat $50 for first 50 units and then $0.75 per unit. Let say if User start with starter and we record usage. If they want to upgrade to prof midcycle, we want them to switch without loosing the data they consumed in starter for that month. Also how do we perfrom pro-rata when they make a switch

Related Request ID(s)
-

What have you already attempted?
I tried using stripe phases but its wiping out the the older records for previous.

#

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

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

Question
When it comes to the payment method configuration for subscription, the "Default Payment Method" in the dashboard https://dashboard.stripe.com/test/settings/billing/ will be used.
but what if we would like to have some subscription to use one payment method configuration and others to use another configuration?

What have you already attempted?
Bootstrap StripeElement with mode = "subscription" and paymentMethodConfiugration with a config that is different from the "Default Payment Method" in the dashboard for invoice billing.

#

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

What did you expect to happen?
The failed payment setting of "if all retries for a payment fail, mark the subscription as unpaid", applies to manually created invoices in addition to subscription renewal invoices.

What actually happened?
This setting only applies to subscription renewal invoices and not for manually created invoices.

Reproduction Steps

  1. Go to dashboard.stripe.com/test/settings/billing/automatic
  2. Set "Use Smart Retry policy for subscriptions" -> Retry up to x times within x weeks.
  3. Set "If all retries for a payment fail, mark the subscription as unpaid".
  4. Use 4000000000000341. Manually create an invoice. Attempt to pay off the invoice.
  5. Use test clock to advance past x weeks.

Question
The "if all retries for a payment fail, mark the subscription as unpaid" setting used to get triggered for manually created invoices, but now it's not working.

I'm almost 100% sure the behavior changed somewhat recently but I'm not sure whether it's a test clock regression or if the setting itself changed such that it now only applies to sub renewal invoices?

#

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

What did you expect to happen?
A payment is Blocked by radar thus it shouldn't continue through Smart Retry, or should be?

What actually happened?
The payment continues through Smart Retry even if the payment is already blocked by radar

Reproduction Steps

  1. First payment is failed
  2. The payment continue via Smart Retry until it blocked by radar in 5th retry
  3. The blocked payment continue to retry

Question
I brought up this question yesterday, but I have another question. Is there a limit on the number of retries when using Smart Retries before the invoice status updates to failed or uncollectible? In our case, the invoice status remains open despite the payment being blocked.

cursive heronBOT
#

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

Question
I've integrated Stripe into a website, but the disputes and chargebacks are holding me back from launch. I can't afford chargebacks, how can I make sure I win any disputes if they come my way? How do I add a 'No Refund' checkbox to my Stripe checkout? How do I get bulletproof evidence if a dispute is initiated?

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

What are you working on?
Stripe Disputes and Chargebacks

#

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

Question
I want to ensure that my webhook fulfillment function is safe to run multiple times or concurrently. If it is run multiple times, I can simply check my own database to see whether it has been fulfilled or not. However, if it is run concurrently, there may be a race condition where it is called multiple times even though it has not been updated in the database yet.

Related Event ID(s)
evt_3RB0IaGLcRGY5lHy13Ha8E3S

What have you already attempted?
Using database to check if an order has been fulfilled or not.

What are you working on?
A simple one-time payment application that sends alerts to users.

cursive heronBOT
#

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

Error Message
payment not working

Question
hello i am having trouble with payments in my website, i tried also to create a payment link and it is not working i already tried with 2 different cards please help

What have you already attempted?
hello i am having trouble with payments in my website, i tried also to create a payment link and it is not working i already tried with 2 different cards please help

cursive heronBOT
#

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

Question
We’re seeing a high number of declines with reasons like “Insufficient Funds” and “Do Not Honor,” and want to investigate whether we might be on any card network or issuer risk lists.
Could it be our MCC classification?

If our declines could be related to how we’re categorized or displayed to banks?

We’d appreciate any insight and troubleshooting steps you recommend to reduce false declines.

Doc/Guide Links
https://support.stripe.com/questions/why-is-my-customers-payment-failing#:~:text=Certain failed payments might be preventative measures,transactions you do not want to accept.

What are you working on?
Stripe Payments

cursive heronBOT
#

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

Code
try {
// Submit the Express Checkout form first
const { error: submitError } = await elements.submit();
if (submitError) {
setStripeError(submitError.message);
return;
}

  // Create a payment method
  const { error\: paymentMethodError, paymentMethod } =
    await stripe.createPaymentMethod\({
      elements,
    }\);

  if \(paymentMethodError\) {
    setStripeError\(paymentMethodError.message\);
    return;

Question
Im having trouble getting the name from billing details from the express checkout element

What have you already attempted?
Ive followed the docs and checked the api

What are you working on?
donation management platform

cursive heronBOT
#

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

Code
<div id="checkout" className="w-full h-[800px] overflow-auto">
<EmbeddedCheckoutProvider
stripe={stripePromise}
options={{
fetchClientSecret: getClientSecret,
}}
>
<EmbeddedCheckout />
</EmbeddedCheckoutProvider>
</div>

Question
To my understanding the height of the embedded checkout is dynamically calculated to make the iframe responsive, I have an issue where I am rendering only this code on a page but it will not fit the entire viewport only about 1/3 of the size. What can I do so the iframe is taking up the whole page?

What have you already attempted?
I have tried to adjust the containers of the iframe and nothing seems to work. I read the documentation and looked at the code for the props and it seems no customization options exist within the component.

What are you working on?
An e-commerce website

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/address-element

Question
For the Indian Event, where the currency is INR, the payment card outside India is not working.

What have you already attempted?
I added the Address Element for all the events, which worked this way. But I don't want to collect the Address

What are you working on?
We have implement the stripe payment for our checkout purpose

cursive heronBOT
#

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

Error Message
node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/utils/Mappers.kt:1040:33 Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The actual metadata version is 2.1.0, but the compiler version 1.9.0 can read versions up to 2.0.0.

Question
Hi i integrating stripe in react native cli in android but getting that when trying to build app

What have you already attempted?
I have tried to change kotline version but its not working

What are you working on?
I am building a mobile app for service based company..

cursive heronBOT
#

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

Code
<PaymentElement
options={{
layout: 'accordion',
defaultCollapsed: false,
}}/>

Question
I'm testing out the upgrade of @stripe/stripe-js to v7 and I can see that the payment element's UI has changed slightly. Before we've always had the "card" payment method open by default, but with this upgrade all payment methods are collapsed.

What have you already attempted?
I tried looking in the docs and it says that we should be able to do `defaultCollapsed: false` in our options (https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-layout-defaultCollapsed) but doing so I get an type error "Object literal may only specify known properties, and 'defaultCollapsed' does not exist in type 'StripePaymentElementOptions'.ts(2353)". I have v. 3.6.0 of react-stripe.

Am I missing something?

What are you working on?
I'm maintaining our checkout for our product

cursive heronBOT
#

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

Question
Hello,

To handle unpaid invoices for a subscription, I currently use the following method:

I redirect the customer to a page on my app that triggers a Stripe Checkout session.

In this Checkout, I add each unpaid billing cycle as a line item, along with any recovery fees if applicable.

I use the checkout.session.completed webhook to manually mark the unpaid invoices as paid_out_of_band: true in order to reactivate the subscription on Stripe.

The issue with this method is that, on the Stripe dashboard, it will appear as if the customer paid twice: once for the old invoices (marked as paid_out_of_band), and once during the regularization process.

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

What are you working on?
an insurance marketplace app

#

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

Question
For the payments its throwing `Non-INR transactions in India require a card issued outside India. More info here: https://stripe.com/docs/india-
exports`

is it something we have to change the account level settings to allow or is this not possible

Related Request ID(s)
payment Id - pi_3REXZUSA6QvChq4F01ezxGw7

What have you already attempted?
-

What are you working on?
we are ticketing and event hosting platform, application workflow similar to shopify

#

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

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

Question
i already contacted yesterday.

while connecting to stripe via oauth i got above error.

i found that this error is expirenced while time taken to connected in the client site is taken more than one minute.

is there is any way stripe sent same response twice?
yesterday the agent suggest me to log the response and i got same response twice with a interval of 1miute

What have you already attempted?
nothing

cursive heronBOT
#

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

What did you expect to happen?
the payment methods to be visible

What actually happened?
the payment methods are always shown as null

Reproduction Steps
create a payment method,
create a checkout session with stripe.checkout.sessions.create,
console.log out `checkout.savedPaymentMethods` from `@stripe/react-stripe-js`'s useCheckout hook

Question
I have an app where people can add payment methods and have a list of them. When they add their payment methods and then go for a purchase they need to be able to pick which one they want to use. I'm trying to display this out in a custom UI but the payment methods are always returned as null even when they exist.

cursive heronBOT
#

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

Question
我们使用订阅的修改功能来实现我们的业务需求,但是现在遇到一个问题,当前知道的是,当我对订阅中的商品进行修改时,会产生发票,但是此时订阅中的商品已经修改了,当用户没有对发票进行支付时,stripe是否支持对此次修改进行回滚呢

Related Request ID(s)
no

What have you already attempted?
no

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/link/invoicing

Question
I am not able to see the link option in the hosted invoice page in test mode.

What have you already attempted?
I have enabled link in wallets under payment method settings and created a customer with link@example.com and create an invoice and opened that invoice but i didn't see the link option for payments.

What are you working on?
invoice payment methods

cursive heronBOT
#

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

Question
I have a 'customer.susbscription.created' pending log when I switch for sandbox to live mode which seems to be stopping my 3rd party solution for functioning - is there a simple reason why this would happen?

Related Event ID(s)
evt_1REoQRFQuhNGn2OR0sKU12wE

What have you already attempted?
I've checked webhook events, local module settings etc. I was told yesterday that you can;t help with 3rd party apps but hoping the log may help isolate the cause.

What are you working on?
Community Subscription based Drupal Website

cursive heronBOT
#

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

Code
period: {
start: billingPeriod.start - 100, // Contract start date
end: billingPeriod.end - 100, // Contract end date
},

Question
on invoicesItems.create({...}) on invoice.created event triggers merger with subscription and additional items even though they have different period times... Subscription is monthly based and this period should be full year period or custom length!

What have you already attempted?
creating unique period which doesn't overlap!

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/features/receipts

Question
Is it possible to customize the “Summary” section of auto-generated receipts sent after an intent to pay? Instead of having “Payment to XXXX”, I'd like to have several separate lines, where I can specify the different fees I charge my customers

What have you already attempted?
atm nothing, I haven't seen anything like this

What are you working on?
Food delivery company

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
User starts a Stripe payment using TWINT. Stripe shows available TWINT apps; user selects UBS TWINT. UBS TWINT app opens, user authenticates and completes payment.
User returns to my app and payment is mark completed.

What actually happened?
User starts a Stripe payment using TWINT. Stripe shows available TWINT apps; user selects UBS TWINT. But instead of opening USB TWINT app
- in IOS an alert shows with text 'Finalize order'
- in android error occred : ERR_UNKOWN_URL_SCHEME

Reproduction Steps
- In a Flutter App Integrate Stripe payment flow with twint as an payment method option
- Open stripe checkout page in WebView
- select twint payment method
- select any UBS Twint
- user not redirects to that app

Question
From my Flutter app, I open the Stripe Checkout page in a WebView. When user selects TWINT, it should redirect to the selected TWINT app. But on Android I get PlatformException: ACTIVITY_NOT_FOUND, and on iOS it just shows an alert saying “Finalize Order”. How can I make the TWINT app open from WebView?

What are you working on?
An app that allows user to book an apointment.

#

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

Code
const intent = await stripe.setupIntents.create({
automatic_payment_methods: {
enabled: true,
},
customer: orgExt.customerId,
usage: "off_session",

		}\);

		const customerSession = await stripe.customerSessions.create\({
			customer\: orgExt.customerId,
			components\: {
				payment\_element\: {
					enabled\: true,
					features\: {
			...

Question
How can I allow I make it so that the payment method saves with the email?

What have you already attempted?
I made it so that my customer has a billing email but when I submit a payment method the payment method doesnt inherit that email

cursive heronBOT
#

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

Question
I'm processing refunds via webhook and testing using the sandbox. My code is in C# .Net, and I'm able to debug my code just fine. The problem is that when I receive a charge.refunded event, the Request doesn't have any refund in it. But if I look at the event details (via Stripe dashboard), the object I see is a bit different and contains the refund. How do I read this info when handling the webhook?

Related Event ID(s)
evt_3RErIbIydrkivHR82GUpAMev

What have you already attempted?
Looked at the Request and Event Data on Stripe dashboard to see what info I need, but that's as much as I could do. No action taken from this point.

What are you working on?
Refunds via webhooks

cursive heronBOT
#

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

Question
I have integrate stripe on a registration platform as a payment method. When payment is done through stripe, I want stripe to send automatic email with invoice in PDF attached. How to modify the invoice?

Related Request ID(s)
Invoice on stripe

What have you already attempted?
I have tried to adapt the "invoice model" but I can't add the invoicing details of the person who's buying.

#

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

Question
In the latest Basil update, the charge object within the charge.refunded webhook event no longer includes invoice-related information. How can we retrieve the invoice_id associated with this specific charge?

Related Request ID(s)
Event ID: evt_3RDkRwHJgsdx4qPx0VVAmq7K wc_1REqv9HJgsdx4qPxOitZ4hoJ

What have you already attempted?
We have already attempted to fetch the invoice ID using the related Payment Intent ID, but this approach also did not yield any invoice information.

cursive heronBOT
#

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

Code
<ExpressCheckoutElement
onConfirm={onConfirm}
onReady={onReady}
options={{
paymentMethods: { googlePay: "always", applePay: "always" },
buttonType: { googlePay: "pay" },
buttonHeight: 50,
layout: { maxColumns: 3 },
}}
className="mb-1"
/>

Question
Hi everyone ! In my checkout i'm using Stripe Elements where I combined multiple payment methods with PaymentElements and ExpressCheckoutElement, I generated the client_secret with a specific price on the initilisation of this component because it's mandatory, but i want for example for paypal to add 5% fees if the user use this payment method.

Can you help me to find a way to add 5% fee in the payment intent or maybe to find another strategy for that ? Thanks

What have you already attempted?
I tried instead of passing the client_secret, put the amount directly in the Elements components inside options property but when i want to pay with stripe.confirmPayment i have to pass a client_secret.

With the method I used to onClick property inside ExpressCheckoutElement and I was able to change the payment amount

What are you working on?
On a checkout on a marketplace

#

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

Question
I had a thread open yesterday that I wanted to continue. Basically we are trying to determine how link payment processing charges in a payment processing stripe account to issuing webhook authorization events in a platform account that does charge card issuing.

Related Request ID(s)
N/A

What have you already attempted?
Read docs over and over, asked on Discord

#

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

Question
Hello, I would like to disable payouts to new connected account for 21 days initially in US. Could you help me with that please ?

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
We are trying to prevent user to payout connected account when first time onboarded

cursive heronBOT
#

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

Question
I need to know whether the EU vat provided by the customer is valid, invalid, or valid and registered in the VIES, or valid but not registered in the VIES. As mentioned in https://docs.stripe.com/invoicing/customer/tax-ids?dashboard-or-api=api#validation, Stripe automatically checks with VIES if the eu vat provided is valid, but I'm not sure how to read the "verification" field of the Tax ID object the API provides. Does "verified" means VIES verified, and unverified means vat is valid but not VIES verified or how does it work?

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

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

Question
I want to lauch a refund in test me but the payment is stuck in The bank is processing this payment's refund, how can I fix this

Related Event ID(s)
none

What have you already attempted?
Tried to check the doc but there is no answer

cursive heronBOT
#

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

Question
I need to get the invoice id from the dispute closed event

Related Request ID(s)
req_qUQ8sYGfQrAfjS

What have you already attempted?
I saw that the payment intent retrieve call can give me the invoice it's related to, but even inserting "invoice" in the extend param i couldnt get the invoice id

What are you working on?
I need to invalidate a commission if a dispute is lost, to that i store the invoice id in my commission object

cursive heronBOT
#

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

Question
I want to convert my trial users to paid plans if they feel like they want to. Previously, we were blocking anyone who's trialing from touching other plans, which can become a trouble for our overall conversion numbers.

But when I create an invoice preview to update a trialing subscription to a paid one, it comes with amount_due as 0 and returns as if the user is going to trial for the other plan as well. It seems weird. I can provide further details if needed, and I attached the reqIds. You can see that for the same parameters (except price) it shows different responses. Help pls

Related Request ID(s)
req_DJbMvHtlKcn1uY, req_xrhKk2dgvW8y3w

What have you already attempted?
I have no clue why this is happening. It seems like a bug on Stripe API.

What are you working on?
I need to convert my trial users to a paid plan if they want to, and show a preview of the invoice.

cursive heronBOT
#

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

Question
I have created a Terminal App (tmda_5300lMD270007nWi1QC11H65uDkojqs) and have a connected account (acct_1PqbEzCRFqLec50A). I would like to deploy the app to one of the readers of the connected account. However, I can't see the reader or locations in my dashboard to deploy the app to. What am I missing?

Related Request ID(s)
0

What have you already attempted?
Tried deploying the app using the instructions available here https://docs.stripe.com/terminal/features/apps-on-devices/deploy-in-Dashboard

#

@sturdy compass pressed 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-during-payment

Question
On the front-of-house purchases we save payment methods at time of payment. This is in case one of our clients (we are a connect/platform account) needs to charge a card on file for say damages of equipment they can. Front of house we allow redirect payments. Back of house we do not. We are running into an issue where redirect payments are being saved and then can't be charged at a later date because the back of house code doesn't allow redirecet payments.

What have you already attempted?
We can support front of house redirect payments today but since back of house the customer is not present we need to be able to charge a saved payment method but not allow a new redirect payment on back of house. Currently we support front of house correctly, back of house doesn't allow them, but a saved redirect payment causes a problem because it's set to not allow redirects.

What are you working on?
Platform connect account

#

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

Question
I would like to pay for a product in installments via credit card using Stripe from Brazil

Related Request ID(s)
payment.[options]

What have you already attempted?
I tried to create a flowchart to fit the installment method, but it doesn't have the installment information right in the Stripe iframe.

What are you working on?
Ecommerce

#

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

What did you expect to happen?
When passing `link: 'auto'` to the express payment options, with the domain whitelisted for Link, in a supported browser

What actually happened?
in the onReady function link came back with false and I do not see Link. I do see link here https://docs.stripe.com/elements/express-checkout-element?locale=en-GB#supported-browsers so it isn't the browser, gotta be teh configuration or code.

Reproduction Steps
See above, I am just not sure what else I can do to troubleshoot.

Question
What can i do to troubleshoot?

What are you working on?
express checkout buttons

cursive heronBOT
#

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

Error Message
Failed to create PaymentIntent offline. This reader is not configured to operate offline.

Question
We are developing an app on the S700 DevKit using Handoff mode and want to implement offline transactions. We are testing by building an app in Android Studio and pushing it directly to our test devices. No matter what settings we try changing, we receive the error message mentioned above.

What have you already attempted?
We tried setting Offline mode to true on the terminal's location in the Stripe dashboard, but this setting does not seem to be used when building directly from Android Studio. We are ollowing these docs: https://docs.stripe.com/terminal/features/operate-offline/collect-card-payments?terminal-sdk-platform=android

Reproduction Steps
Create an Android app in android studio pro that implements offline payment method. Connect an S700 devkit to the computer, and run the app from android studio pro on that device.

What are you working on?
A point-of-sale system for use at music festivals and similar events where internet connection can be unreliable.

cursive heronBOT
#

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

Code
I need to migrate subscription tokens from Nuvei to Stripe payments to be used with Recharge - here is the information I need - we will need Stripe to securely provide their SFTP login credentials. Please follow these steps: Save the SFTP login credentials in a text file. Encrypt the text file using the attached PGP key. Send the encrypted file back to us.

Question
I need to migrate subscription tokens from Nuvei to Stripe payments to be used with Recharge - here is the information I need - we will need Stripe to securely provide their SFTP login credentials. Please follow these steps: Save the SFTP login credentials in a text file. Encrypt the text file using the attached PGP key. Send the encrypted file back to us.

What have you already attempted?
I have Nuvei on the phone they need to talk to stripe dorectly for compliance reasons

cursive heronBOT
#

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

Question
What's the optimal architecture for a subscription marketplace using Stripe Connect with direct payments? I'd like to store products on connected accounts but maintain customers on our platform account to provide a unified payment experience. How can I implement this while ensuring customers have consistent access to their saved payment methods across different vendors, and maintain a unique customer ID in our system?

Doc/Guide Links
I've reviewed the Stripe Connect documentation (https://stripe.com/docs/connect) and Subscription docs (https://stripe.com/docs/billing/subscriptions/overview), but need clarification on implementing a hybrid model where products live on connected accounts while customers remain on the platform account.

What are you working on?
Building a subscription marketplace where users can subscribe to services from multiple vendors.

cursive heronBOT
#

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

Question
hello im looking for test API KEY but i cant find it and i have only live api key. can u give me information where i can find test api key?

Related Request ID(s)
developer>api keys

What have you already attempted?
test api key

cursive heronBOT
#

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

Code
export default {
"id": "com.example.balance-due",
"version": "0.0.1",
"name": "Balance Due",
"icon": "",
"permissions": [],
"connect_permissions": null,
"ui_extension": {
"views": [
{
"viewport": "stripe.dashboard.customer.detail",
"component": "CustomerDetails"
}
],
"content_security_policy": {
"connect-src": null,
"image-src": null,
"purpose": ""
}
}
};

Question
I only have one view (ported on the customer detail page) in my app. However, when I run the app locally, I still see the UI component on each page within the dashboard. I'm not sure why the app is populating on each page when I only have one view specified.

What have you already attempted?
The app did originally have dashboard home page and customer list page views. However, I deleted all configuration related to these views within the project folder. I also looked for any dashboard.drawer.default config in my project and found none.

What are you working on?
Internal app for learning purposes.

cursive heronBOT
#

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

Code
Stripe Embedded Connect component popup error

Question
Similar to some other questions, I'm getting the following error when attempting to initialize the embedded onboarding the first time:
```Uncaught (in promise) SubmerchantAuthError: Popup is blocked by browser.```
When I refresh the page, I'm able to log in

What have you already attempted?
I've refactored my code several times, removed all useEffects to see if loading the account number was the issue. I can't seem to get around this

What are you working on?
Marketplace integration

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

We are currently offline. We will be back on Monday, April 21, 1pm UTC.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/revenue-recovery/customer-emails#renewal-reminders

Question
Does the setting "Send emails about upcoming renewals" in https://dashboard.stripe.com/settings/billing/automatic in the "Prevent failed payments" section send emails for subscriptions with "collection_method: send_invoice"

What have you already attempted?
Searching docs and forums, but since settings are global (you can't separate live vs test settings) I am not sure how to test and verify this.

What are you working on?
Testing the Stripe out of the box email settings for sending emails to pay by invoice customer subscriptions

#

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

Question
We have a use case where we need to merge user accounts on our system that may have subscriptions. These users are mirrored as customers on Stripe's side with their own customer IDs. When we merge a user into another, we basically overwrite one user with the other and with that we'd need to carry over his/her subscriptions as well. If both the old and new user accounts in our system are tied to customers on Stripe, is it possible to carry over subscriptions from one customer to another in a way that Stripe natively supports. What would you recommend in this case?

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

What are you working on?
A Stripe integration heavily using subscriptions

#

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

Code
for item in upcoming_invoice['lines']['data']:

stripe.InvoiceItem.create(customer=cust_id,
amount=item['amount'], currency=item['currency'], description=item['description'], tax_behavior='exclusive')

invoice=stripe.Invoice.create(
customer=cust_id,
subscription=sub_id,
collection_method="send_invoice",
days_until_due=30,
auto_advance=False,
automatic_tax={"enabled": automatic_tax_enabled},
)

finalized_invoice=stripe.Invoice.finalize_invoice(invoice.id)

Question
I am creating a manual invoice, for a user (having an ongoing subscription).

1- I am not sure weather this invoice will affect the ongoing subscription.
2- Weather this invoice will contain the correct tax calculations always?

Also, Is the current approach correct?

Or we can directly pay the upcoming invoice in advance(I didnt find this anywhere)?

What have you already attempted?
With the current method I am able to create invoice payment link.

finalized_invoice.hosted_invoice_url

And I can also pay this direclty, not sure about the tax calculations and how will it effect my ongoing subscription. Since the price_id cant be directly use and I had to use the amount, currency manually here.

What are you working on?
My use case: We want to attempt the advance payment of an annual/monthly sub and update the billing cycle accordingly, in order to achieve that, I am getting

cursive heronBOT
#

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

Question
Problem with express checkout element
expressCheckoutElement.on('shippingratechange', async (event) => {
const response = await fetch('/calculate-and-update-amount', {
data: JSON.stringify({
shippingRate: event.shippingRate
})
});
const result = await response.json();
elements.update({amount: result.amount})
event.resolve({
lineItems: result.updatedLineItems,
});
});
elements.update({amount: result.amount}) is not working

Related Request ID(s)
N/A

What have you already attempted?
I have using const elements = stripe.elements({
clientSecret: clientSecret,
appearance: appearance,
locale: 'en',
});

#

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

Error Message
Please help me with this if possible. I appreciate it

Question
Hey guys, quick question — someone is selling my copyrighted digital products using Stripe, but I don’t have Stripe myself. Where can I report this or contact Stripe support to take action? I just need to reach the right team.

What have you already attempted?
I already contacted stripe via the email I found: abuse@stripe.com.

cursive heronBOT
#

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

Question
Hello,

I want to implement the follow scenario:

Whenever there is an error with creating a new subscription due to card issues, I want to store the error associated with it. This will allow me to engage later with the user, to send them an email containing some type of a guide on how to proceed / retry.

I am using this webhook type to listen for events of failure and while some of the more common ones are recorded, like `insufficient_funds`. I never received one related to 3ds, like `authentication_required` or `payment_intent_authentication_failure`. Should I use extra webhooks or ..?

Doc/Guide Links
https://docs.stripe.com/api/events/types#event_types-payment_intent.payment_failed

https://docs.stripe.com/declines/codes
https://docs.stripe.com/error-codes

What are you working on?
An app where users can connect with psychologists and have sessions online

cursive heronBOT
#

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

Code
.......................

Question
I am using Google Pay with Payment Element which will use Credit Card in Google Pay Wallet how can I differentiate between the payment that I did is from Credit Card from Payment Element or Credit Card via Google Pay..

What have you already attempted?
I can see in Confirm Payment Intent call in response payment_type for both the option is returning as 'card'. How can differentiate between normal credit card or credit card via google pay

#

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

Question
Make a payment directly by calling Apple Pay

Related Request ID(s)
N/A

What have you already attempted?
Currently when I try to make a payment from the client side, I use Stripe elements to create a payment. This provides me with a tabbed section where the user can choose between uploading card details or Apple/Google Pay depending on the case. What we are trying to do with the company, is that the user can choose in advance from our interface in a previous step if he wants to pay with a new card or from Apple/Google Pay, so he can see that he has these options available and in case of selecting them, not show him the form to load a card, but to trigger the payment with Apple/Google Pay.

#

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

Code
return (
<PaymentElement onChange={(e) => setStripeSubPaymentMethod(e.value.type)}
options={{
layout: {
type: layoutType === 'tabs' ? layoutType : 'accordion',
defaultCollapsed: false,
radios: layoutType === 'accordion' && checkRadio,
spacedAccordionItems: layoutType === 'accordion' && !checkRadio
},
paymentMethodOrder: ['apple_pay', 'google_pay', 'card', 'bancontact']
}}/>
);

Question
Previously, when users used safari to pay, applepay would be shown as the default payment. But now the card is shown first, then applepay appears in the selection, why is that?

What have you already attempted?
Nothing

What are you working on?
Developer

#

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

Question
Is there any way to disable payouts while creating stripe account initially? We still want to keep schedule = weekly, automated , but keep the payout disabled until we run specific checks

Related Request ID(s)
na

What have you already attempted?
Couldnt see this in the documentation

What are you working on?
Preventing fraud cases

cursive heronBOT
#

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

Code
........................

Question
I am using Payment Element for Google Pay I want to differentiate between normal credit card and credit card via Google pay transaction. I am having Payment Intent response.

What have you already attempted?
Is there way I can differentiate between these based on payment intent or confirm payment intent

#

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

Link to the Doc/Guide in question
After a webhook is received for an event, how can i know the session ID for which webhook is created

Question
Whenever an event is received from webhook, it does not have corresponding session ID. How can I know the session ID for which webhook event is sent ?

What have you already attempted?
I tried creating multiple checkout sessions, and handled various event like checkout.session.completed, checkout.session.expired, invoice.paid, invoice.payment_succeeded. But how do I map the event of webhook with a Session ID ?

What are you working on?
I am trying to integrate Stripe payment gateway with a web application

cursive heronBOT
#

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

Question
Are FinancialConnections supported for Express Connect accounts?

we create Account for the user and a link to onboard the user to Stripe hosted workflow for adding a Express Connect account.
Is there a way to request permissions for bank transactions etc using Financial Connections?

Related Request ID(s)
none

What have you already attempted?
onboarding users to Connect accounts

#

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

Code
<div
v-if="useIframe"
ref="iframeParent"
class="iframe-container"
>
<iframe
ref="iframe"
:src="`/stripe_checkout/${value.guid}`"
frameborder="0"
scrolling="no"
/>
</div>
<div
v-else
ref="stripe"
/>

Question
At nCino our implementation of Stripe uses an iframe and with regard to ACH payment types we are wondering if we can have more fine tuned control over the banks that get displayed (e.g. only show the banks we choose) or if perhaps we can remove all banks so they cannot direct auth and only have the option to manually enter account/routing details? We are also wondering if it is possible to change these options on an account by account basis or if it is across the board?

What have you already attempted?
Nothing has been tried yet as we are not sure where this configuration would be or if it is even possible.

What are you working on?
Just maintaining our current Stripe implementation.

#

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

Question
Is there any way to set interval for new connected account's payout to 21 days for the first payout and set back to platform default setting. Does API support this ?

Related Request ID(s)
na

What have you already attempted?
Not in the documentation. We are using US sandbox environment for beta versions

#

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

Question
For a US Connected Account with instant payouts, I created the account acct_1RGMWmGdrEssf2o1 and attached a debit card that supports instant payouts. However, every time I create a charge, the "Available to instantly pay out" amount remains at 0.

Is there something I might be missing in the setup?

Related Request ID(s)
acct_1RGMWmGdrEssf2o1

What have you already attempted?
Created US connected accounnt and attached debit card that supports instant payout

cursive heronBOT
#

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

Question
What's the proper way to transfer funds from a Connect account's balance to a treasury account that connected account owns?

Doc/Guide Links
I was thinking an inbound transfer (https://docs.stripe.com/api/treasury/inbound_transfers/create) but doesn't seem like connect balance can be the source and a financial account be the destination

What are you working on?
Our clients have a connected account that has multiple bank accounts (treasury accounts). We process their payments and send the money to the correct financial account they own

cursive heronBOT
#

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

Question
I created a US Connected Account in test mode with the ID: acct_1RGMWmGdrEssf2o1.

I was advised to add a bank account using the test account number 000123456789, which I did. However, it still doesn’t seem to be working as expected.

Problem:
When I create a payment, the payment is successful, and I can see the funds marked as "Available soon", but the "Available to pay out instantly" amount remains at 0.

Related Request ID(s)
acct_1RGMWmGdrEssf2o1

What have you already attempted?
createad bank token `000123456789` and attached it to connected account and external account,

#

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

Question
How do I refund a subscription payment? The checkout webhook even "invoice.payment_succeeded" contains no "payment_intent" or "charge" id. Should I be listening to a different event when listening for subscription payments?

Doc/Guide Links
https://docs.stripe.com/refunds?dashboard-or-api=api&lang=node

What are you working on?
We offer one-off, and subscription. one-offs are refunded using the "payment_intent" in the "checkout_session" object in the "checkout.session.completed" evnt, but dont know what the equivalent is for subscription payments

#

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

Question
I've built out MRR dashboards utilizing the subscription_item_change_events table to calculate MRR as recommended by Stripe docs

However, the data freshness is not up-to-date as directed.
i.e.
as of now
Core tables like charges, subscriptions etc. last "updated April 21, 2025 at 11:00 AM"
Daily tables like exchange_rates_from_usd last "updated April 20, 2025 at 8:00 PM"
but subscription_item_change_events last "April 19, 2025 at 8:00 PM"

Related Request ID(s)
-

What have you already attempted?
https://docs.stripe.com/stripe-data/query-billing-data#subscription-item-change-events
https://docs.stripe.com/stripe-data/available-data

How can I get subscription_item_change_events to also be refreshed every 3 hours and/or hit the API myself to get as real time data as possible to derive MRR components and metrics similar to
https://dashboard.stripe.com/billing/revenue
dashboards

What are you working on?
Building MRR dashboards in Snowflake using Stripe data to derive Daily, Weekly, and Monthly breakdowns of New, Reactivation, Upgrade, Downgrade, and Churn MRR partitioned by our 2 products

cursive heronBOT
#

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

What did you expect to happen?
ExpressCheckout with amazon pay works in chrome and safari

What actually happened?
In safari I get an endless spinner for Order Total and a 500 error on an xhr at URL: https://apay-us.amazon.com/amazonpayMerchantId?ledgerCurrency=USD&externalPartnerId=AFKYH81T7FFHK&externalMerchantDomain=vincent-local.ritual.engineering&isSandbox=true

Reproduction Steps
Check out on safari with express checkout.

Question
I don't know what I might be doing wrong just with safari since it works in chrome. The only thing i can find is the 500 mentioned above

What are you working on?
express checkout flow

#

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

Question
Hey! I am subscribed to receive transactions on financial connections accounts. On one of my financial connections, I am getting duplicate transactions. The transaction appears to have all of the same information, but a duplicate stripe ID. I included an example of IDs below.

Related Request ID(s)
fctxn_1R4xsDITTk8cSwxg67mmGQ0M, fctxn_1R4EybITTk8cSwxgONxHVpT6

What have you already attempted?
I have not attempted to change much, but am about to dig into the subscriptions on the financial connection account.

What are you working on?
I am working on a personal finance budgeting app

#

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

Code
<script async
src="https://js.stripe.com/v3/buy-button.js">
</script>

<stripe-buy-button
buy-button-id="id"
publishable-key="p-key"
client-reference-id={user.id}
customer-email={user.email}
>
</stripe-buy-button>

Question
I'm experiencing some issue on iOS ( Safari ) where if you reload the page where the Stripe Buy Button is shown and immediately click on the Buy Button for that session the E-Mail & Client ID are not passed to the Stripe this last for the whole session until you reload back again and the Stripe Buy Button correctly transfers the E-Mail & Client ID

What have you already attempted?
I have tried to Render the Stripe Button only after i'm sure that E-Mail & User ID are Ready, i have tried adding an additional delay as well.

What are you working on?
I'm working on my website which sells digital products

#

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

Question
Is there a way to import/create historical invoices that I have in a different platform?

Related Request ID(s)
Historical Invoices

What have you already attempted?
Looked for resources online but didn't help. I did see there is a FAQ saying use invoice uploader 3rd party app but couldn't find it. It no longer exists or it's removed by the developer

What are you working on?
Trying to import/create historical invoices that I have in my other platform

cursive heronBOT
#

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

Question
Hi! I created a webhook that listens to invoice.incoming. It would trigger when a subscription is due within 3 days. However, one customer triggered the webhook thrice. It only has one subscription. I want to prevent this from happening

Related Event ID(s)
Developer > Webhooks

What have you already attempted?
I've read how the upcoming invoice webhook works.

What are you working on?
The webhook will send a message in Slack. I created the automation in Make. it is essntial that the webhook will only be triggered once so i don't bombard our clients' Slack channels

#

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

Code
this.elements = this.stripe.elements({ appearance: { theme: 'stripe' }, clientSecret: atob(clientSecret) })
this.elements.create('payment', { layout: 'tabs', terms: { card: 'never', usBankAccount: 'never' } })
this.paymentElement = this.elements.getElement('payment')

Question
In the payment element is it possible to hide the direct auth bank tiles and search and only allow the user to manually enter their bank details for ACH payments? I was previously given the link of https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#web-collect-payment-details but I couldn't see any specifics about this.

What have you already attempted?
Looked through the docs to see if it is possible to hide direct auth bank tiles and only show manual entry option.

cursive heronBOT
#

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

Question
Customer completes payment, Stripe marks payment as successful, but my service does not receive the redirect/webhook. Sometimes this happens, other times it behaves normally. In the bad scenarios, after 20 minutes my service will try to cancel the payment. But Stripe errors with "You cannot cancel this PaymentIntent because it has a status of succeeded". I've searched my logs and see that a payment is created, then nothing until 20 minutes later. How can I figure out where the call went? Why does this work sometimes and sometimes doesn't work?

Related Event ID(s)
n/a

What have you already attempted?
I've read the Stripe help pages, I've tried to reproduce this in my lower env (unsuccessful), I've reached out to the Stripe chat.
I've tried to compare to other payments to find a pattern (none).

What are you working on?
I'm working on a work around so that my payment record matches Stripe's. But knowing the root cause would be great.

cursive heronBOT
#

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

Code
this.elements = this.stripe.elements({ appearance: { theme: 'stripe' }, clientSecret: atob(clientSecret) })
this.elements.create('payment', { layout: 'tabs', terms: { card: 'never', usBankAccount: 'never' } })
this.paymentElement = this.elements.getElement('payment')

Question
I am trying to remove the bank tiles from the payment element UI and was recently suggested this: "When you create your PaymentIntent you can pass payment_method_options.us_bank_account.verification_method: 'microdeposits'"
The issue with this solution is that your docs say "Verification using microdeposits. Cannot be used with Stripe Checkout, Hosted Invoices, or Payment Element." Unfortunately I didn't discover that until the chat was over.

What have you already attempted?
I tried to use the verification method code above but got an error explaining that it was not supported. I am working with the Payment Element.

cursive heronBOT
#

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

Question
Is it possible to create an invoice with the lines items in the same request?

Related Request ID(s)
Norequestid

What have you already attempted?
Looked at docs, attempted creating

What are you working on?
Improving invoice generation time, we have many items to add, it takes a while doing each call separately

cursive heronBOT
#

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

Question
With the release of Partial Invoice Payments there are some breaking changes. It looks like there is no longer a way to get from a charge to an invoice via the API - is this right? We need this in order to get from a payout, back to the invoices associated with that payout.

Related Request ID(s)
n/a

What have you already attempted?
Reading the docs and looking at the API data

What are you working on?
We have an app that syncs invoices from Stripe to Xero

cursive heronBOT
#

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

Code
for item in upcoming_invoice['lines']['data']:

stripe.InvoiceItem.create(customer=cust_id,
amount=item['amount'], currency=item['currency'], description=item['description'], tax_behavior='exclusive')

invoice=stripe.Invoice.create(
customer=cust_id,
subscription=sub_id,
collection_method="send_invoice",
days_until_due=30,
auto_advance=False,
automatic_tax={"enabled": automatic_tax_enabled},
)

finalized_invoice=stripe.Invoice.finalize_invoice(invoice.id)

Question
I am creating a manual invoice, for a user (having an ongoing subscription).

1- I am not sure weather this invoice will affect the ongoing subscription.
2- Weather this invoice will contain the correct tax calculations always?

Also, Is the current approach correct?

Or we can directly pay the upcoming invoice in advance(I didnt find this anywhere)?

What have you already attempted?
With the current method I am able to create invoice payment link.

finalized_invoice.hosted_invoice_url

And I can also pay this direclty, not sure about the tax calculations and how will it effect my ongoing subscription. Since the price_id cant be directly use and I had to use the amount, currency manually here.

What are you working on?
My use case: We want to attempt the advance payment of an annual/monthly sub and update the billing cycle accordingly, in order to achieve that, I am getting

cursive heronBOT
#

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

Error Message
The stripe app does not recognize local development

Question
I raised this question in a previous thread and the team acknowledged that the issue was on your end and you're working to fix that. I was asking if there was any update on that..

What have you already attempted?
This is the old thread id: 1361692798948212736

cursive heronBOT
#

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

Question
I am not receiving any webhook event, earlier i was able to do it

Related Event ID(s)
Webhook ID : we_1RGZBLQwpOr5RFOo5EVFDbsd

What have you already attempted?
I have tried with another url as well but not working , also i am not able to verfiy the signature

What are you working on?
Webhook Implementation

cursive heronBOT
#

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

Question
How do you reorder/choose/remove the stripe express checkout elements while keeping them as valid payment methods?

Doc/Guide Links
https://docs.stripe.com/payments/customize-payment-methods
https://docs.stripe.com/elements/express-checkout-element
https://docs.stripe.com/payments/checkout/payment-methods

What are you working on?
Accepting payments with Stripe

#

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

What did you expect to happen?
Using https://api.stripe.com/v1/subscriptions (with the pagination) I expected to get all subscriptions, past and presents.

What actually happened?
On a specific account, I get 884 subscriptions, except that when I fetch individually the subscriptions from the invoices objects, I get 113 more subscriptions that don't show up in the /subscriptions endpoint.

Reproduction Steps
Not sure how to reproduce as it could be account specific, but simply compare the list of subscriptions from all invoices objects, and the subscriptions from /subscriptions

Question
Is it something expected/known? I've manually refetched the /subscriptions, in case my script was missing something, and I'm sure of my reproduction.

What are you working on?
Custom synchronization tool between Stripe and HubSpot.

#

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

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

Question
We're implementing the OAuth flow for our Stripe Connect integration. We're observing a duplicate redirect from Stripe after a successful authorization.

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
Is there a way to get all information about the client who payed without going into the dashboard and using PHP?

Related Request ID(s)
N/A

What have you already attempted?
I have tried to redirect to a page of my website an tried to get $_POST information stored in https://api.stripe.com/v1/payment_methods or https://api.stripe.com/v1/payment_pages/cs_test_ID/confirm but don't know how to get them.

What are you working on?
I have created a website where people can subscribe or donate money. Through Stripe API, I decided to do it with paymentLinks and trying to get the response informations

cursive heronBOT
#

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

Question
HOw to save payment method for future use while creating payment intent

Related Request ID(s)
HOw to save payment method for future use while creating payment intent

What have you already attempted?
HOw to save payment method for future use while creating payment intent

cursive heronBOT
#

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

Question
Is there a way to use the API to create a subscripiton with `send_invoice` collection method and set the invoices not to contain the payment link in the e-mails. The option to not include the stripe hosted link in the e-mails is present in the Dashboard UI, but I don't see it in the API documentation.

Related Request ID(s)
req_ouj2M2L1YJndH5 (this was made via Dashboard)

What have you already attempted?
I checked the request log when doing this via the Dashboard. I noticed the request body contains `"enable_incomplete_payments": "false"`, which I don't see in the API documentation. Not sure if this is what I'm looking for.

#

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

Code
.......................

Question
Is Google Pay is supported with Payment Element if I have Debit card in my Google Wallet and if yes which are the Supported Debit Card for Google Pay

What have you already attempted?
Added Debit Card in Google Pay Wallet. Enable Google Pay on Stripe Dashboard. Using Chrome browser

cursive heronBOT
#

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

Question
Hello, my question would be if it is possible to pay a subscription invoice prior to the cycle actually ending, for example halfway through the current cycle? Is this something that Stripe can facilitate?

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

What are you working on?
Building an integration heavily using Stripe subscriptions

#

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

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

Question
We're implementing the OAuth flow for our Stripe Connect integration. We're observing a duplicate redirect from Stripe after a successful authorization.

What have you already attempted?
nothing

#

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

Question
When I attempt to pay an open invoice via API, do I really have to create a payment intent manually, attach the invoice_id as metadata, process the payment, await the webhook for "payment_intent.succeeded" and mark the invoice paid out of band or is there any easier solution like:

  1. Load the invoice
  2. Create the intent through the invoice directly
  3. Pay the invoice
  4. Stripe automatically marks it as paid?!

I mean, it's confusing and looks so "procedural" and "manual" with the payment intent way and marking it paid out of band manually.

Related Request ID(s)
-/-

What have you already attempted?
Currently I create a payment intent, attach the invoice_id to the intent and the amount of the open invoice, then I wait for the webhook for succeeded and mark the invoice as paid out of band - which feels very wrong for me and unsecure!

What are you working on?
Letting my customers pay open / uncollectible invoices.

#

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

Question
Is it possible to void Invoices via an API when their payment is disputed?

Related Request ID(s)
I don't have requests

What have you already attempted?
Ive tried to void a subscription via an API call in my sandbox account, but the error states, that my key is incorrect or my Account doesnt exist. But both is incorrect. Ive been looking for an API log in my Sandbox Account but its sill empty.

What are you working on?
I am trying to automatize that disputed Payments get voided and creates a new Invoice which requests the customer to pay manual

#

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

Question
It seems subscription update (ex. to change the subscription item plan) does not work when the subscription is created from a subscription schedule.

Related Request ID(s)
evt_1RGcw3ISm7ug71bbN4JJGLZ2

What have you already attempted?
If the subscription was created with the subscription service, update works. But if created from a paid subscription schedule, it does not work.

What are you working on?
SAAS

#

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

Code
await stripe.subscriptions.create({
expand: [ 'latest_invoice.payment_intent' ],
automatic_tax: { enabled: true },
customer: 'cus_SAywQ4MH2Ff3GG',
items: [ { price: 'price_1PIhdBF8tiMhHfPbOX5uJWG4' } ],
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' }
});

Question
After upgrading Node.js Stripe to version 18.0.0, we started getting the error:

StripeInvalidRequestError: This property cannot be expanded because it doesn't exist: payment_intent.

What have you already attempted?
We downgraded the version to 17.7.0, and it is working as expected.

What are you working on?
Upgrading version to 18.

#

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

Code
const setupIntent = await stripe.setupIntents.create({
customer: customerId,
payment_method_types: ['us_bank_account'],
payment_method_options: {
us_bank_account: {
verification_method: 'instant',
financial_connections: {
permissions: ['payment_method', 'balances'],
},
},
},
});

Question
In above provided code snippet I have set verification_method to instant, now after setting it as instant in modal of adding bank account, the option of add manually instead is gone that's great but I search bar is just stopped working so I am not able to search the banks that listed below so is that expected or there is some bug there?

What have you already attempted?
I have no clue how to proceed further, gone through docs but nothing helpful found.

What are you working on?
storing user's bank account details for future payment

#

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

Error Message
{
"id": "hidden",
"object": "payment_intent",
"last_payment_error": {
"message": "This account cannot create payments.",
"payment_method": {
"id": "hidden",
"object": "payment_method",
"alipay": {},
"allow_redisplay": "limited",
"billing_details": {
"address": {
"city": null,
"country": null,

Question
Starting getting this error on a sandbox account when making payment via Alipay.

What have you already attempted?
This might be related to the error message we see on the Sandbox's Dashboard

Payments and payouts paused until requirements met
Provide some additional required information to resume payments and payouts.

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?
Customers are complaining about Apple Pay payments failure

What actually happened?
Really no idea. We haven't touched the integration in long time. It's probably some update from Stripe.

Reproduction Steps
try to checkout on byminaalsheikhly.com using Apple Pay supported device. The payment fails with error ``An unexpected error occurred``

Question
I really don't know. I'll share a SS from the customer afterwards

cursive heronBOT
#

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

Question
For our current project, we think about using Stripe Radar for Fraud Detection. In case fraud was detected with a certain likelihood, we would like to transfer this information to our order management system. More precisely, the reason(s) why Stripe Radar classified a transaction as fraud should be visible there. In the Stripe API documentation (see: The Charge object | Stripe API Reference), I found the outcome object with a lot of child attributes, however, I am unsure whether I can find the reason for fraud classification in this object? Can you help or provide example responses?

Related Request ID(s)
n/a

What have you already attempted?
I have read further documentations (Abgelehnte Zahlungen | Stripe-Dokumentation), however, my impression was that the attributes (e.g. „reason” and “seller_message”) only contain “high level” information, but not the precise reason for fraud classification.

cursive heronBOT
#

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

Error Message
[log] StripeException(error: LocalizedErrorMessage(code: FailureCode.Failed, localizedMessage: There was an unexpected error -- try again in a few seconds, message: There was an unexpected error -- try again in a few seconds, stripeErrorCode: null, declineCode: null, type: null))

Question
In my Flutter app, the card payment option works fine on iOS, but when switching to PayPal, it doesn't work. On Android, both card and PayPal work perfectly. What could be causing this issue on iOS?

What have you already attempted?
I Have tried the docs, stackoverflow and all AI agents, but issue not solved

Reproduction Steps
When i trigger payment everything goes smoothly and when it goes here:-> await Stripe.instance.presentPaymentSheet();
I can see the sheet and loader in IOS and suddenly it goes to catch and throws this message : StripeException(error: LocalizedErrorMessage(code: FailureCode.Failed, localizedMessage: There was an unexpected error -- try again in a few seconds,

What are you working on?
Iam working on project where i have both paypal and card payment for IOS paypal is not working.

#

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

Question
We are employeers of Soluzioni Informatiche S.p.A. italian company. We are a programmers that manage your Italian customer named RADRAION.
Why after creating an empty sandbox stripe and filling it with invoice elements we are not able to read them from the test API key generated in the sandbox itself?

Related Request ID(s)
req_rctBvQGod9qirr

What have you already attempted?
I changed in the same client code the key sk_Live with the generated sk_test in the sandox.
The first time I receive the invoices the second time I don't

What are you working on?
Integration API

#

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

Question
How can i void finalized invoices?

Related Request ID(s)
req_2A53VdW2bk9Lca

What have you already attempted?
Ive tried to void the disputed invoice via the API(https://api.stripe.com/v1/invoices/${invoiceId}/void) but it led to the error that i can only void open invoices. But when i am doing it manual, it works.

What are you working on?
I try to automatize the cancellation of disputed invoices.

#

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

Question
I can see users can pause payouts from Stripe dashboard

I've check the network calls and saw that you are calling stripe account api
with below params.

{
"risk_controls": {
"payouts": {
"pause_requested": "true"
}
}
}

Can i achive same result from external api calls ?

Related Request ID(s)
req_YKzpC2R4fLoJve

What have you already attempted?
called api

What are you working on?
Trying to pause payout without effecting the schedule

#

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

Question
I want to offer a subscription plan, that offers one product using XX usages er month, but also a second product that would be added to their billing in the next cycle - is this possible?

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

What are you working on?
Digital product platform for physical and digital products as a subscription.

#

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

Question
My account payment methods section shows the sepa debit option, but when I click turn on, then a popup opens for webhook connect, but after all that, the sepa debit is not activated. Why can you help me on this?

Related Event ID(s)
payment intent

What have you already attempted?
sepa debit not activated with wehbook message popup.

#

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

What did you expect to happen?
I have apple pay enabled on stripe, and i expected it to show up on check out

What actually happened?
apply pay option does not display

Reproduction Steps
- check on stripe that apple pay is enable
- go to my product checkout page and view all checkout options
- apply pay is not in the option

Question
what is the reason that this is happening, I would love to have some help diagnosing this issue

What are you working on?
ticketing website

cursive heronBOT
#

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

Question
setupFutureUsage: 'off_session', this is saving same card multiple times

Related Request ID(s)
setupFutureUsage: 'off_session', this is saving same card multiple times

What have you already attempted?
setupFutureUsage: 'off_session', this is saving same card multiple times

cursive heronBOT
#

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

Question
Our SaaS platform allows a user to create a Team that can create up to 5 'Things'. That is represented as a single product/price in a subscription. They are charged monthly. They can add additional Things to their team - which get added prorata as a separate product/price on their subscription. We now want to allow them to pay annually for the Team (with a discount) - however not sure how to handle the additional Things they add during the year; we don't want to want until the next invoice (up to 12mths away) to recognise the revenue. Looking for tips on how to manage a combined monthly/yearly subscription(s) - or examples of where that's done well.

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models?locale=en-GB

What are you working on?
SaaS platform with monthly subscription, looking to add annual billing option.

cursive heronBOT
#

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

Question
Hello,
We don't understand why when we take the charge we have the status failed, and when we search the Balance transaction the status is available.
Is this an error ?

Related Request ID(s)
py_3R5QF4B12PW1kQJp09sXcJTk

What have you already attempted?
Here the balance transaction txn_3R5QF4B12PW1kQJp0sJV6HeK.
As you can see py_3R5QF4B12PW1kQJp09sXcJTk has the status failed, and txn_3R5QF4B12PW1kQJp0sJV6HeK has the status available.
Could you fix this error ? this is an exemple, there is many orders like this.

What are you working on?
We got an system

#

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

Question
I have a further question regarding the outcome object described on this page: https://docs.stripe.com/api/charges/object. Can you specify what "The ID of the Radar rule that matched the payment, if applicable." for "outcome.rule" means and provide a response example?

Related Request ID(s)
n/a

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

cursive heronBOT
#

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

Question
I am using the payment element and have a Stripe Link integration. I wonder how can I control whether or not link is offered to users? I want to A/B test something.

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

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

Question
Trying to set up Stripe checkout in Norway, where there is special auth "Bank ID" required for purchases. I cant find anything about it in the stripe docs. (although all the options for different implementations are overwhelming)
Im creating a payment intent -> return the client secret to the frontend -> use the stripeElements to confirm card Payment. In dev this works fine, but not sure it will in production. Will it prompt me for the extra authentication automatically for verify "BankId", or will i need to setup something more that i havent figure out yet? I want to avoid testing in production, but i am assuming this might be different between dev and prod environments.

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

https://docs.stripe.com/js/payment_intents/payment_method

What are you working on?
A web shop for myself written in Django and Vue.js

cursive heronBOT
#

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

Code
const stripe = new Stripe(prodSecret, {apiVersion: '2022-11-15',});
const subscription = await stripe.subscriptions.update(
agreementId,
{cancel_at_period_end: true }
);

Question
is the agreementId what i get from the webhook:

subscription: "sub_1Pr78s........0xuW"
?

What have you already attempted?
first draft

What are you working on?
backend customer auto cancel sub

cursive heronBOT
#

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

Error Message
{"code":400,"message":"Invalid response body from API:
<html>
\r\n
<head>
<title>
400 Bad Request
</title>
</head>
\r\n
<body>
\r\n
<center>
<h1>
400 Bad Request

Question
We are attempting to detach payment methods and receiving the above error.

The requests don't even show up in our dashboard for some reason. It seems like an error on the Stripe API end such that it's not even giving us a reasonable response.

This was previously working as expected, but it seems like with a particular customer and payment method it doesn't work.

What have you already attempted?
We've tried stripping null-bytes from the payment method before making the delete request. We've discussed this issue with support in a previous thread that can be found here:
#1357405135072137217 message

Reproduction Steps
Attempt to detach payment method pm_1R7sWCIVLuRzysjdP0ijXtvj using https://github.com/stripe/stripe-php/blob/v12.0.0/lib/ApiRequestor.php#L549

What are you working on?
Working on a stripe integration with WHMCS that uses the API to create payment methods and handle recurring payments

cursive heronBOT
#

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

Question
what parameter can be returnet in a checkout session in custom mode in the return url

Related Request ID(s)
custom checkout session

What have you already attempted?
/checkout/success?session_id={CHECKOUT_SESSION_ID}&customer_id={STRIPE_CUSTOMER_ID}&charge_id={STRIPE_CHARGE_ID}&order_amount={ORDER_AMOUNT}`,

What are you working on?
returning parameters in the return_url creating a checkout session

#

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

Code
I am going from embedded checkout to embedded components

Question
I don't feel like completely making the entire checkout from scratch, is there a base i could copy so i can start from how embedded checkout looks

What have you already attempted?
Haven't found anything

#

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

Question
We’ve implemented the “List All Payouts” API and noticed that the response does not include the associated account ID. Could you please guide us on how we can retrieve the account ID in the response?

Related Request ID(s)
NA

What have you already attempted?
Implemented List payouts

What are you working on?
We're implementing a payouts feature where we need to store payout data on our end. To support this, we’d like to establish a mapping between accounts on the Weave side and corresponding accounts on t

cursive heronBOT
cursive heronBOT
#

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

Question
How can I change the version of stripe events the stripe cli is listening to?

It seems to only allow the default or the latest version of stripe.

I am unable to change the default version in my sandbox account.

I want to stay on 2025-02-24.acacia and not be bumped to 2025-03-31.basil which has many breaking changes.

Related Request ID(s)
N/A (CLI)

What have you already attempted?
- I've tried changing all webhook API versions to 2025-02-24.acacia for all event destinations in order to force a different default version.
- I've tried passing the version to the listen command `stripe listen --stripe-version 2025-02-24.acacia`
- I've tried using --use-configured-webhooks option. Not sure how this works, but it still seemed to stick to old version

I'm trying this on platform account: acct_1REFvuLPlbLBJpud

I'm trying to generate events from the connected account: acct_1REY86PsM1zPgAeQ

What are you working on?
Telecom wireless carrier

#

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

What did you expect to happen?
Stripe connect account to persist as apart of the platform parent account

What actually happened?
The connect account detached from the platform account and is now breaking a bunch of code bc platform API keys no longer work for the connect account

Reproduction Steps
Look at the platform account and see the connect account is missing, but still available

Question
How to reattach a stripe connect account that has been detached from platform account?

cursive heronBOT
#

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

Question
Is it possible to separately style the express checkout buttons without also targeting stripe elements?

Doc/Guide Links
https://docs.stripe.com/elements/appearance-api

I merely wish to give the express checkout buttons a nice round border radius while leaving the form elements with their 4px radius.

What are you working on?
a checkout experience with express checkout and a traditional checkout form

#

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

What did you expect to happen?
We expect the user to be able to follow the Stripe React Native financial connections UI to link their american express corporate card - which we subscribe to for a transaction feed. The select to link their account the stripe flow opens up and they login to the bank and connect.

What actually happened?
The user went through the flow selected american express and logged in and then got an error that states

"We're unable to complete your request at this time. Please contact Stripe for more information.
You are now leaving American Express and returning to Stripe."

Reproduction Steps
Through the stripe financial connections embedded UI. React native package 0.37.2

Question
I am trying to determine why they can't link their account and get this error I can also share a screen shot. Can they link their american express corporate card?

What are you working on?
Stripe Financial Connections subscription for transaction events

cursive heronBOT
#

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

What did you expect to happen?
When creating a subscription with a only once coupon, the original invoice should have the discount applied, but any future invoices should not have a discount, as the coupon of only once usage was already applied.

What actually happened?
Upon renewal, the second year subscription still has the discount applied

Reproduction Steps

  1. Create coupon for only once usage
  2. Create a subscription with that coupon
  3. Advance the test clock one year
  4. The renewal invoice will have the discount applied

Question
Shouldnt the coupon that is created as Only Once be used only once? Why is it being applied to future invoices?

Example subscription:
sub_1RGn5lABXG7iwsUNVP4UzwDi

#

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

Question
Using Checkout API. We really want to pass the line items of the order. But we have a loyalty program where a customer can apply their credits to the order. But Stripe does not allow a negative line item. We can't deduct the credits to multiple line items (too sloppy and confusing). Is there anything you can think of short of using elements that we can do to make this work?

Related Request ID(s)
na

What have you already attempted?
Haven't figured out any solution

What are you working on?
Scratch built e-commerce site

#

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

Code
String requestURL = httpHost + '/v1/tax/calculations';
request.setEndpoint(requestURL);
request.setMethod('POST');
request.setHeader('accept', 'application/json');
request.setHeader('Authorization' , 'Basic '+ EncodingUtil.base64Encode(Blob.valueOf('APEX' + ':' + 'sk_test_•••lfQ2')));
request.setBody(reqBody);

Question
I need to make a callout to /v1/tax/calculations from salesforce apex. however, the stripe account we have is managed by salesforce -- does not have an api key -- cant authenticate the callout

What have you already attempted?
tried using test api key from the docs -- does not work.
Stripe for Salesforce Platform Configuration -- this solution needs an app installed in the salesforce org -- we dont want this
tried to find how to execute the default tax calculation method in apex -- i have no idea how to do this
---- the default calculation is built-in within salesforce, using stripe. however when we added new apex class for integration, we now have to calculate the cart -- no idea how 2 call dfault

What are you working on?
custom cart tax calculation logic. when salesforce record field is true, apply 0 tax. else, apply the default calculation

#

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

Error Message
PaymentMethods of type us_bank_account cannot be updated at this time.

Question
payment method updation throwing error saying "PaymentMethods of type us_bank_account cannot be updated at this time." And We dont know why

this is the request id: req_ewakSEowY5qQsr

What have you already attempted?
we tried on sandbox to update us_bank_account payment method and it works there.
this is the requestion id of succesfull update: req_cnJTSRfUtlPbwO

What are you working on?
Stripe API Implementation maintainence

#

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

Error Message
Payments and transfers have been paused until the requirements are met.
Provide additional information needed to resume payments and transfers.

Question
How can I solve the problem of frozen payments in Stripe? If I have clarified, contacted, and shown everything I owed via email to the workers, however, they continue to reject me..

What have you already attempted?
I have contacted them 1 on 1 via chat on Stripe, email... but it doesn't work, they don't give me the attention I really need.

Reproduction Steps
I go to help, open the chat, and contact them.

What are you working on?
I serve as a content creator for brands

cursive heronBOT
#

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

Code
String reqBody = JSON.serialize(requestBody);
String requestURL = httpHost + '/v1/tax/calculations';
request.setEndpoint(requestURL);
request.setMethod('POST');
request.setHeader('accept', 'application/json');
request.setHeader('Authorization' , 'Basic '+ 'pk_test_123');
request.setBody(reqBody);
HttpResponse response = http.send(request);

Question
what could i be doing wrong that i get unauthorized error
System.HttpResponse[Status=Unauthorized, StatusCode=401]

What have you already attempted?
tried switching publishable key and secret key,
no other keys since there is no live instance

What are you working on?
making a callout to /v1/tax/calculations, trying to make the request return a good response

cursive heronBOT
#

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

Question
How to solve "This property cannot be expanded because it doesn't exist: payment_intent." ?

Related Request ID(s)
req_uh5wD1CTebCjXh

What have you already attempted?
i tried to to expand on retrieve, but didn't work either

What are you working on?
stripe premium subscription implementation

#

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

Question
Is there a way to create a credit note via the API for an invoice line item but only partially refund for it?

Related Request ID(s)
in_1RGpVODAWTp2PXOwzaJwq6h7

What have you already attempted?
I have looked through the docs and it is unclear if this is possible. It looks like it's possible through stripe dashboard though.

What are you working on?
Building out a custom refund flow for our app.

cursive heronBOT
#

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

Question
I have a requirement to, upon receiving a new subscription, to programatically set update the subscription `cancel_at` field w/ a set date-time in the future.

When I do that, naturally, I get a `customer.subscription.updated` event w/ the `cancel_at` field reflecting what I set. The `cancellation_details.reason` also gets set to `cancellation_requested`

But when a user, in their Stripe portal requests to cancel their subscription themselves, the same fields are populated w/ the same appropriate values.

I need to send an email to the user when they request cancellation. How 2 tell the diff?

Related Event ID(s)
evt_1RGpoG1taBPnTqn4A2Ma9868, evt_1RGppP1taBPnTqn47f9XiBKp

What have you already attempted?
Right now I'm sending a value in the `metadata` to differentiate the two. But this seems like a hack.

Nevermind.. that persists across the events. So that's not gonna work either.

Why is there not a `customer_requested` value for `cancellation_details.reason`??

What are you working on?
goodparty.org

cursive heronBOT
#

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

Question
We want our merchants to receive an invoice/receipt for their monthly subscription charge.
Context: All subscriptions are set to "charge_automatically" using the payment method on file. I don't believe we can use the account-wide setting to send customer emails for successful payments (Settings > Business > Customer emails) because we don’t want receipts being sent for all the connected destination charges — just the main subscription invoice.
Ideal scenario:
Subscriptions are automatically invoiced and paid
Once payment succeeds, an email with the invoice/receipt is sent to the customer.

Related Request ID(s)
N/A

What have you already attempted?
Checked the Dashboard for automated invoicing and email settings.

Reviewed Customer Emails documentation.

Verified that charge_automatically is active on all subscriptions.

Looked into account-wide customer email options but concerned they will apply to all Connect charges, which we do not want.

No clear solution found in existing documentation.

What are you working on?
Ability to send subscription invoices automatically.

cursive heronBOT
#

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

What did you expect to happen?
We expect the user to be able to follow the Stripe React Native financial connections UI to link their american express corporate card - which we subscribe to for a transaction feed. The select to link their account the stripe flow opens up and they login to the bank and connect. The user selected American Express at Work and we expect them to be able to login.

What actually happened?
They selected American express @ work - and the page just kept spinning and not loading anything.

Reproduction Steps
Our customer said "Then I saw that Stripe lists American Express @ Work, which is the program we are on. So I clicked that link, it opens up the Stripe Auth page and and it is spinning and spinning but nothing is happening."

Question
Is American express @ work down - with Stripes integartion?

What are you working on?
Financial Connections

cursive heronBOT
#

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

Question
I cant figure out how to send a test to my n8n webhook from stripes test dashboard

Related Event ID(s)
evt_1RF43GP93JNlNIwBxRxdi5XK

What have you already attempted?
im following youtube and ai assistance but everything seems to be wrong

What are you working on?
connecting n8n to airtable for account upgrades

cursive heronBOT
#

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

Question
The PaymentIntent requires a payment method at the end of a free trial

I currently have a flow where the user puts in their payment info and completes a $1 payment hold. We then create a free trial with this payment method. At the end of the method I am having a ton of declines and am wondering why this is. If they are not declined originally, how are they declined for $25 more.

Related Request ID(s)
None

What have you already attempted?
I take a frontend js confirmPayment method.
const { error } = await stripe.confirmPayment({
elements,
confirmParams: {
return_url: successUrl.toString(),
payment_method_data: {
billing_details:

Then they go to the successUrl which is my backend where we create the subscription

    subscription = stripe.Subscription.create\(
        customer=customer.id,
        items=\[{"price"\: price\_id}\],
        trial\_period\_days=7,
        discounts=\(
            \[{"promotion\_code"\: promotion\_code\["id"\]}\]
            if promot

What are you working on?
A subscription based service with a $1 hold

cursive heronBOT
#

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

Question
Is it safe to expose the customer id (customer in stripe docs: cus_PO34b57IOUb83c) to the client?

I can only find in the docs that the client_secret cannot be exposed which makes sense.
Though, the customer id seems to be sufficient to access the client portal where a user can cancel/renew subscriptions etc.

Doc/Guide Links
https://docs.stripe.com/api/customer_sessions/object?lang=php
https://docs.stripe.com/payments/payment-intents

What are you working on?
SaaS

cursive heronBOT
#

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

Question
I have stripe hardware device to accept payment using card now how to integrate that hardware with my react native mobile app , My app is in react native

Related Request ID(s)
no ids

What have you already attempted?
I checked out your document but did not find anything for this

What are you working on?
i am creating payment option using strip hardware so that user can pay using card

#

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

Question
My question is for example user create subscription on 2 date of month and cancelled subscription on 20 date of month and after 2 days he renew subscription does his subscription continues and expire after 2 date of next month?

Related Request ID(s)
Nothing

What have you already attempted?
Nothing

What are you working on?
I'm implementing stripe subscriptions in my web app

cursive heronBOT
#

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

What did you expect to happen?
Meter data should be preserved when updating the pricing of a subscription.

What actually happened?
After updating the subscription's pricing, all previously recorded meter usage was lost.

Reproduction Steps
Create a Product catalog that includes two prices, both using the Usage-based / Per Tier / Graduated pricing model.

Create a subscription using one of the prices (the "initial" pricing).

Upload usage data.

Update the subscription to use the other pricing.
Under Proration behavior, enable Prorate changes and select Charge proration amount immediately.

Question
The usage data prior to the subscription update is not counted, and no charges were applied.

What are you working on?
SaaS subscription service

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/tax/tax-codes?tax_code=txcd_10000000

Question
I've uploaded a product and I want to charge tax based on the location of the product.

What have you already attempted?
I understand the current process is based on customer and then company location, I've attempted to set a custom tax customisation but it still defaults to the location of the customer or company. Is it possible to upload product location information and then base the tax on that? Or does there need to be custom tax rates per product before they're uploaded to Stripe?

What are you working on?
Global products and taxes

#

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

What did you expect to happen?
Checkout session use customer_email parameter as pre-filled input and create new customer.

  1. Stripe allows multiple customers with the same email
  2. the `customer` parameter can be used instead to reference an existing customer

What actually happened?
Stripe looked for an existing customer with the same email as customer_email parameter

Reproduction Steps

  1. create a customer with a certain email
  2. `stripe.checkout.sessions.create({})` with `customer_email` parameter set to email used in step 1.

Question
Is this intentional? Because the behavior is quite inconsistent with the other parts of Stripe.

#

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

Error Message
Test clock advancement underway - cannot perform modifications: clock_1RGZnMGOFKxlleFj0gwACDeV

Question
what is the possible cause of the issue above? This happens when we fast forward the subscription.

What have you already attempted?
Fast forward the test clock

Reproduction Steps
{
"error": {
"message":
"Test clock advancement underway - cannot perform modifications: clock_1RGZnMGOFKxlleFj0gwACDeV",
"request_log_url":
"https://dashboard.stripe.com/test/logs/req_ibG1tVTuJ1wBB7?t=1745303383",
"type":
"invalid_request_error",
},
}

#

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

Question
Hello, i have an issue with the Connect feature of Stripe.

Whenever i try to create an account using the API trough the PHP method, i get this message : "You can only create new accounts if you've signed up for Connect, which you can learn how to do at https://stripe.com/docs/connect."

Related Request ID(s)
Connect > Overview

What have you already attempted?
I have completed the form that was asked in the test mode on Stripe.

What are you working on?
I'm trying to put in place a hold system for booking restaurant

cursive heronBOT
#

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

Question
I found that a negative amount in invoice was displayed in two lines.

Related Request ID(s)
in_1RGzGAE2ZZnUHRVWdqFioiFU

What have you already attempted?
I created two invoices, one(in_1RGyw0E2ZZnUHRVWUniaN7wn) has only one item and the negative amount displayed in one line, the other invoice(in_1RGzGAE2ZZnUHRVWdqFioiFU) has two items and the negative amount displayed in two lines.

What are you working on?
I want to show negative amount in invoice

#

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

Question
Hi - Apple Pay now supports third-party browsers on PC, by presenting a code to users that can be scanned with their iPhone - is there a timeline for this to be added to Stripe Elements?

Related Request ID(s)
-

What have you already attempted?
I have tried going through Stripe support but couldn’t find an answer

What are you working on?
A client has asked me to add this feature on a site using Stripe which I maintain

cursive heronBOT
#

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

Question
Customers with default_payment_method that isn't attached to them?

I have a small percentage of Stripe::Customers with a default_payment_method that, if I try to fetch it with `Stripe::Customer.retrieve_payment_method(c.id, c.invoice_settings.default_payment_method)`, raises an InvalidRequestError.

If I inspect the payment method, it has customer=null. Any suggestions how this happens? Is this an expected state to be in?

Related Request ID(s)
req_qlCiwKxChQvNDI

What have you already attempted?
https://docs.stripe.com/api/payment_methods/customer

#

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

Code
$subscription = $stripe->subscriptions->create([
'customer' => $id_stripe,
'items' => [[
'price' => $price_code,
]],
'payment_behavior' => 'default_incomplete',
'payment_settings' => [
'save_default_payment_method' => 'on_subscription',
'payment_method_options' => [
'card' => [
'request_three_d_secure' => 'any'
]
],
'payment_m

Question
Hello, on the subscription API I encounter a lot of payment failures during recurring payments. It's not necessarily during the first payment, but it can happen at any time... how can I block 3dsecure so that the direct debits go through without problems?

What have you already attempted?
that once the 3ds is requested during the subscription, it is no longer requested during recurrences

What are you working on?
subscription with stripe element

#

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

Question
Hello team,
We've now enabled additional verification steps while onboarding new connect accounts for our Stripe account. So we would like to get notified when connect account owner passed all verification steps. This way will be contacting our customer for futher inquiry

I've seen this event is being fired. Can we use this ?
identity.verification_session.verified

Related Request ID(s)
NA

What have you already attempted?
accont.updated event is very generic, but i am happy to extract necessary information for that event

#

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

Question
How do we handle the case where a payment method has successfully completed 3DS for offline session, but when that card is used to pay an invoice from a subscription, Stripe declines it from the customer's bank and creates a webhook event with a `next_action` of "use_stripe_sdk"?

Since this is offline, there is no way to have the user available to complete this AND even if we wanted to there is no documentation on how to handle the next_action of use_stripe_sdk.

Related Event ID(s)
evt_3RFZzNJ6lavNegVM0DY6E2lj

What have you already attempted?
The original setup intent successfully completed 3DS and yet the bank is still declining. We've tried to review all the Stripe documentation and reach out to support. But the person who is answering the support emails is so utterly frustrating and completely useless we have no place left to go. Please help us handle this scenario correctly.

cursive heronBOT
#

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

Question
Hi, urgent questions regarding https://docs.stripe.com/api/payment_intents
We are building the mob app for a start up.
When is money gonna be available inside our balance after we created a payment intent and when they are ready to transfer to different stripe connect account we created? We will have many connected accounts.

Related Request ID(s)
acct_1Qq1OWKKyYlYI1wP

What have you already attempted?
We need to know this as our app needs to work like cashapp and make immediate money transfers

What are you working on?
payment intent

#

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

Question
Can I use partial authorisation feature for credit card payments? If so, can you share test cards of credit card type to test the partial authorisation feature?

Related Request ID(s)
NA

What have you already attempted?
Tested partial auth with debit and prepaid

What are you working on?
Implementing partial authorisation for credit, debit and prepaid cards

#

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

Code
'trial_end' => $timestamp

Question
Hello, when I create a subscription with 'trial_end', I don't get a 'client_secret'. So I can't display my payment module like this with stripe element :
const elements = stripe.elements({
clientSecret: clientSecret,
paymentMethodCreation: 'manual'
});

What have you already attempted?
How can I display a payment module that forces the 3ds with a trial period with the subscription API

What are you working on?
stripe element and subscription api

#

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

Question
We have used for years following code to a create subscription, but lately, it started to throw error.
The error is: "This property cannot be expanded because it doesn't exist: payment_intent."
The python code:
subscription = stripe.Subscription.create(
customer=customer_id,
payment_behavior = 'default_incomplete',
expand = ['latest_invoice.payment_intent'],
items=[
{"price": price_id},
],
)

Related Request ID(s)
req_h81sXWJUjTwsiF

What have you already attempted?
Remove the payment_intent, but then the latest_invoice does not include payment_intent. There is no payment_intent in the whole object returned by API nowadays.

What are you working on?
Subscriptions

cursive heronBOT
#

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

Question
Is there a way to tell if a webhook is a connect webhook via the API? I am looking to automate our webhook creation so that I can remove some complexity and remove the need for doing * on the events. However, it looks like you can create a connect endpoint, but the response object don't contain a connect field? For example, if I return a list of endpoints, is is possible to find which ones are connect?

https://docs.stripe.com/api/webhook_endpoints/object

https://docs.stripe.com/api/webhook_endpoints/list

Related Request ID(s)
N/A

What have you already attempted?
Checking the documentation and the node library

cursive heronBOT
#

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

Question
I want to nodejs subscrption model thing where which webhook is going to b called and next recurring paym

Related Event ID(s)
Nothing

What have you already attempted?
I tried to creae the code

#

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

Question
Is there any issue if I set serialized metadata in base64 format to pass the payload to the destination page after a redirect?

I mean, of course, it would follow these rules
You can add 50 total key-value pairs within these data limits:

key: 40 character limit. Square brackets ([ ]) can’t be included in keys.
value: 500 character limit.

Related Request ID(s)
pi_3RH1pHIWHBAxyscJ2uOjtrTp

What have you already attempted?
Created a serialisation and deserialisation function

What are you working on?
reworking on how we handle bank redirects

#

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

Question
I currently have Stripe in 'sandbox' mode and am trying to test Stripe locally via the Stripe CLI.

My app is built Next JS, I have a local webhook that I am forwarding Stripe requests to. If I trigger stripe via the CLI to send a successful checkout event my webhook receives the request sucessfully.

The issue I have is if I complete the checkout through my regular app workflow locally no events seem to be triggered in the Stripe dashboard and my webhook is not triggered.

Related Request ID(s)
No request ID as no logs or events are present

What have you already attempted?
I have confirmed my api key, webhook secret and price id's match what is shown in sandbox mode.

I have confirmed that when sending a request via the Stripe CLI my webhook triggers succesfully.

I have tried sending requests through ngrok and configured ngrok in the Stripe dashboard. The same thing occurs, it works fine via the Stripe CLI but not during my app flow after a succesful checkout.

What are you working on?
I have built an app that uses OCR to generate ebay listings for trading card collectors. I am close to launch with 15 beta users and am trying to configure Stripe prior to launch.

cursive heronBOT
#

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

Question
When IPhone apple wallet does not have any card. I should use openApplePaySetup right? I use react-native-stripe: 0.2.0

Related Request ID(s)
dont have

What have you already attempted?
using openApplePaySetup

What are you working on?
process payment with apple pay

cursive heronBOT
#

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

Question
How can I reliably get the closing balance of treasury financial accounts every day and save it on my database ?

Related Request ID(s)
No request

What have you already attempted?
Check Stripe doc to retrieve treasury transactions https://docs.stripe.com/api/treasury/transactions/object and balance transactions https://docs.stripe.com/api/balance_transactions/object

But none seem to display the actual balance before/after the transaction was made.

cursive heronBOT
#

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

Question
I am using Stripe Checkout and would like payments made to be reflected on an Invoice in the customer's account. Is this possible automatically? And if not, can I manually create the paid invoice via API?

Related Request ID(s)
none

What have you already attempted?
-

What are you working on?
ERP software

cursive heronBOT
#

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

Question
I am working on an application in which I would need access to a cards BIN number. I want to use Stripe Elements to enter the physical card information so that I am not liable for PCI DSS compliance, but I am currently seeing only last4 digits and other information that we get in return. Is there anyway to get the BIN number in a response from the API?

Related Request ID(s)
N/A

What have you already attempted?
Read Stripe.js Reference, Stripe API PaymentMethods, Stripe API Card Object

cursive heronBOT
#

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

Question
Is there any way to trigger the stripe upcoming trial ending email in test mode?

Related Request ID(s)
N/A

What have you already attempted?
I just want to see what the email looks like when the customer does not have a payment method attached, if they are on a free trial for a subscription.

What are you working on?
SaaS

cursive heronBOT
#

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

Question
I have a question about how Stripe handles the ordering of webhooks. Specifically, when listening for both the session.complete and payment.intent.succeed events, does Stripe follow a specific order in which these webhooks are triggered?

I am concerned that if they are triggered in quick succession (within fractions of a second), it could lead to simultaneous updates in my system, potentially causing conflicts or issues with transaction processing. Could you advise on how Stripe ensures or handles this, and how best to handle such scenarios in my system?

Related Event ID(s)
NA

What have you already attempted?
Not so much

What are you working on?
On my companies hotel booking platform

#

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

Question
I have 2 payments, pi_3RH1mCEgzFUNzGPc12ArAIwS and pi_3RH3WBLzjB3g7c9J0yFjhg4d, across 2 different accounts. With the former, the PI currency is EUR and therefore I can do a transfer of EUR to an express account. With the latter, the PI currency is CAD and when I try and do the transfer it tells me the source_transaction currency is in USD. Why is that?

For some reason it looks like the CAD payment on the second account is automatically coverted to USD but I don't know why.

Related Request ID(s)
req_sHFcNE5x6dMb8i

What have you already attempted?
Created a repeatable example, checked both accounts to see what the difference is between them and can find none.

#

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

Code
foreach ($_SESSION['data'] as $item) {
$line_items[] = [
'quantity' => $item['quantity'],
'price_data' => [
'currency' => 'eur',
'unit_amount' => $item['unit_amount'],
'product_data' => [
'name' => $item['product_name'],
],
],
'tax_rates' => [$tax_rate->id],
];
}

Question
i made php code for my checkout part. The checkout part is connected with my frontend using embed. now i only first tried it with one time payments and that worked. now i tried it with one time payments and subscriptions merged. that doenst work. is there a way i can let that work using embed when its merged.

What have you already attempted?
the only thing i saw was without embed

What are you working on?
website

cursive heronBOT
#

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

Question
What options exist for collecting payments in currencies other than my (native) presentment currency, and settling/doing a payout in currencies other than my (native) settlement currency? E.g., Stripe Checkout is for AUD 45, into my USD-based Stripe account. Stripe processing fees are 2.9% + $0.30 on the equivalent USD amount; it doesn't look like there's a foreign transaction fee in this case. Does the AUD buyer pay any conversion fees via their AUD CC, or is the the entire transaction in AUD (so far as the buyer is concerned)? Is there a way to avoid the automatic conversion to USD?

Related Request ID(s)
N/A

What have you already attempted?
I believe full multi-currency is possible via Stripe Connect, but that's not currently a development option. I've created a Stripe Checkout session in a specific currency, and see that Stripe will auto-convert the presented currency to my Stripe Account's default currency. This might work for the buyer (because the presentment currency is their currency), but my customer seemingly would incur exchange fees twice (I think?).

What are you working on?
A service to collect payments from my customers' customers, then pay those amounts back out.

#

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

Question
Where is the field for API to create a checkout session using the payment method saved as default for the customer??

Related Request ID(s)
req_WaAd9gMrlBjWFR

What have you already attempted?
All Checkout session create doc

cursive heronBOT
#

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

Error Message
PaymentMethods of type us_bank_account cannot be updated at this time.

Question
payment method updation throwing error saying "PaymentMethods of type us_bank_account cannot be updated at this time." And We dont know why

this is the request id: req_ewakSEowY5qQsr

What have you already attempted?
we tried on sandbox to update us_bank_account payment method and it works there.
this is the requestion id of succesfull update: req_cnJTSRfUtlPbwO

We spoke previously and Stripe said the mechanism for creating that failing payment method updation was different and that generated payment method id starting with ba_

What are you working on?
Stripe API Implementation maintainence

cursive heronBOT
#

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

Question
In my stripe console it says that apple pay and google pay are activated but they are not showing up on my node.js checkout page,

Related Request ID(s)
None

What have you already attempted?
I activated the urls (Although they did not ask for much verification, just said active)

What are you working on?
A subscription based service with a $1 hold

cursive heronBOT
#

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

Question
what is future-proof method of making one-time payment (with dynamic custom price)?

Related Request ID(s)
0

What have you already attempted?
I glanced on intent and checkout

What are you working on?
simple shop checkout

cursive heronBOT
#

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

Question
Hello.
I'm trying to build a checkout process very similar to the Airbnb app with Stripe in my mobile app (react native + expo).
Upon reaching the checkout page, before proceeding to the payment, I need to allow the user to select a card (from it's stripe customer user) or, if he doesn't have one, allow him to add a new one.
After he selects a card, then I would like to proceed to the payment with that chosen card.

I'm a bit lost on how to do this with the react native stripe sdk. Does stripe provide an Element UI for the user to insert a new card?
How does it work after he selects a card?

Related Request ID(s)
Couldn't find

What have you already attempted?
I have tried the following: https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet#react-native-flowcontroller

I thought this was first creating and attaching a card to a stripe user and then we could proceed to payment, but from what I see, this just adds a card relative to that payment only.

#

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

Question
Update Account business_type by API

Related Request ID(s)
req_NdCLsPqYn4EwQu

What have you already attempted?
One of my clients wants to change his company type, he no longer has a business entity, he is now self-employed and we need to update that so he can upload his new data into Stripe. But when I try to do that query via API, I get the following error:

This application does not have the required permissions for the parameter 'business_type' on account 'acct_1PpGH3PtDiJhGopK'.

#

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

Question
Hi! I’m using Stripe’s Embedded Pricing Tables to let users pick products directly from the dashboard-managed UI.
For one specific product, I need to attach custom metadata so that my backend can identify or process it properly when a checkout.session.completed webhook fires.

From what I’ve seen, there’s no way to directly attach metadata via the dashboard or embed snippet for pricing tables.

Is there a recommended workaround to pass extra information (like an internal ID or category) through the Pricing Table flow to the webhook?

Related Request ID(s)
req_QETAjUO13sVZif

What have you already attempted?
I’ve reviewed the Pricing Table docs and tried adding metadata to the Product and Price objects via the dashboard.
I’ve also tested customer_email and client_reference_id, but neither seem to provide a flexible way to pass product-level metadata to the webhook.
I considered creating one-off Products programmatically with metadata, but that defeats the purpose of using the Pricing Tables UI.
I want to avoid setting up a full custom Checkout flow if possible.

What are you working on?
A SaaS platform that sells digital reports. Some reports need extra backend processing and logic when paid.

#

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

What did you expect to happen?
My account billing settings are configured to mark the subscription as unpaid in this scenario. I expect subscriptions to be marked unpaid, but not closed when the last payment retry fails.

What actually happened?
I have two subscriptions that were canceled immediately after the last payment attempt failed.

Most of the subscriptions with failed payments are marked unpaid.

Reproduction Steps
I don't know how to reproduce this.

Question
Why were the subscriptions canceled? I don't see anything in the UI that give a reason for the cancellation.

What are you working on?
SaaS

cursive heronBOT
#

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

Question
[23/04, 11:03 pm] Akhtar: We have a platform where customers place orders, and we have stores that are connected accounts (Custom Connected).

After 3 days, we run a queued job to distribute the payments:

The platform fee is paid out to our external bank account.

The store's share is transferred to their respective connected accounts.
Now my query is:
Is there any charge or fee when transferring funds to the connected account?
And is there any fee on payouts to an external bank account?
[23/04, 11:06 pm] Akhtar: We have a US based platform.I did a lot of R&D and found that Stripe may charg

Related Request ID(s)
Connected account

What have you already attempted?
I have attempted that we have to get
Stripe balance and transfer it connected accounts and stripe main external connected accounts. But now I am confused about the charge of transfer and payout to external acount

What are you working on?
We have a US-based platform where customers place orders, and stores are connected using Custom Connected Accounts. After 3 days, a queued job runs to distribute the payments: The platform fee is pa

cursive heronBOT
#

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

Question
How can we get expanded fields in response when using sdk APIs

Related Request ID(s)
NA

What have you already attempted?
SDK use of List Payouts

What are you working on?
We're implementing a payouts feature where we want expanded fields in response

#

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

Question
We have a platform account that hold customer and payment method data, along with several connected accounts. When making a payment intent on the platform account with the intent of transferring the proceeds to a connected account, we would like the connected account to pay any processing fees, rather than the platform account.

Related Request ID(s)
pi_3RH7kgEaVVvuwoDN1Sr8K4up py_1RH7kjJMDKccxs3Kr9GKFFpI

What have you already attempted?
I have tried setting the on_behalf_of parameter in the create payment intents call and I tried changing the controller.fees.payer field for the connected account.

cursive heronBOT
#

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

Question
When updating a customer, how do I update this parameter if I'm using http to make the API call? : invoice_settings.default_payment_method

Related Request ID(s)
NA

What have you already attempted?
NA

#

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

Question
AccountID is empty in payouts expanded destination response

Related Request ID(s)
NA

What have you already attempted?
Implemented List payouts through sdk

What are you working on?
We're implementing a payouts feature where we want get account in the response

cursive heronBOT
#

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

Question
Hi,

Can you help find source for this balance transaction id: txn_1QxVImD043DMGRkhzcSb14hY

When i retrieve it, I get a response back as refund, can you help find the refund id and log/event related to it?
This is the pyr: pyr_1QxVImD043DMGRkhrMvakV7r but can't find the source refund.

Related Request ID(s)
txn_1QxVImD043DMGRkhzcSb14hY and pyr_1QxVImD043DMGRkhrMvakV7r

What have you already attempted?
Searched in my account and connected account, queried for the same info, and couldn't find it.

cursive heronBOT
#

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

Question
How can we support base the destination network with specified wallet_addresses when using onramp product?

Related Request ID(s)
https://dashboard.stripe.com/test/workbench/logs?selected=req_v58W7fYzek079m

What have you already attempted?
We tried bunch of different configurations and seems like currently base network is not supported when we specify wallet_addresses array while creating onramp session on server.

What are you working on?
We want to accept USDC on base network on specified wallet addresses using Onramp.

#

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

Question
I am using subscriptions for members to pay for their memberships. Currently Stripe and my platform (application fee) take a fee from this.

I want a way for the user to be able to optionally contribute towards the fees (it does not need to be an exact amount, lets say 4%).

Is there a way to do this without creating a whole other set of prices?
I don't want to do this as it would double the number of prices to over 100 and the contribution amount may change which means archiving and recreating new prices every time.

Related Request ID(s)
N/A

What have you already attempted?
I thought I may be able to use stripe.invoices.update but it appears I can't change the amount of the invoice.

What are you working on?
Membership management SaaS - member to contribute towards fees

cursive heronBOT
#

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

Question
I'm integrating Stripe into my app’s subscription flow. My process: user signs up (no payment details), a Stripe customer and subscription (with 30-day free trial, missing_payment_method behavior set to "paused") are created. After the trial, access is blocked and the user is prompted to enter payment details via an embedded form using the SetupIntent’s client_secret. After confirming the SetupIntent, I want the subscription to auto-resume, but it stays paused unless I manually resume via API. Is there a way to automate this, so I can rely on the subscription object as the source of truth?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/trials?how=api#create-free-trials-without-payment

https://docs.stripe.com/payments/save-and-reuse#collect-payment-details

What are you working on?
Paid SaaS with a free trial

cursive heronBOT
#

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

Question
I need help fetching the cardholder information given a CC payment method. Every customer is complaining they can't tell whose card it is

Related Request ID(s)
none

What have you already attempted?
Looking through API

cursive heronBOT
#

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

Error Message
{"error":{"message":"Invalid request: Invalid redirect URI 'https://www.pixelmart.dev/api/stripe/oauth/callback'. Ensure this uri exactly matches one of the uris specified in your application settings"}}

Question
I'm developing an ecommerce website where users can sign up to be sellers and accept payment via Stripe. When a test user clicks on "Become a seller", I get the error above. I can't find where in settings I'm supposed to be setting the uri.

What have you already attempted?
I've looked everywhere in the workbench and can't find where I'm supposed to be setting the uri.

cursive heronBOT
#

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

What did you expect to happen?
When you click to link your account to our app through the financial connections react native UI and select American Express @ Work from the institutions list we expect the login screen to appear for American expres @ work.

What actually happened?
Just continuously loads. For some users its fine but one of our customers they just see the loading screen. It just says 'American Express @ work - subaccounts . Hold on, you're almost done...'

Reproduction Steps
Select american express @ work from the select bank screen then it just loads.

Question
What could be different on a specifc users device that would block this from loading vs mine or other users ?

cursive heronBOT
#

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

Question
Is there any guidance around if and how stripe will facilitate the new "affirmative consent" to subscribe requirements of the FTC's “Click-to-Cancel” Rule going into effect on May 14th?

Doc/Guide Links
https://www.federalregister.gov/documents/2024/11/15/2024-25534/negative-option-rule

https://docs.stripe.com/payments/elements

What are you working on?
Consumer SaaS app that leverages stripe subscriptions for monthly and annual plans

#

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

Question
I’m doing some testing of stripe connect. I’m not looking to go live with my developer account, but I would like to test the various endpoints.

My problem is I can’t do things like create transfers (as a part of a separate charges and transfers flow, for example). The API returns “you cannot create transfers until you activate your account”. I don’t know how to activate a sandbox account with test information.

I’ve tried flipping to test mode it’s asking me to complete my profile before I access connect.

Idk how to get past this.

Related Request ID(s)
req_k3w8lu4Twyq0od

What have you already attempted?
I’ve tried flipping between test and sandbox. I’ve tried using the test data to validate my connect account and nothing works.

What are you working on?
I am just testing the stripe connect endpoints and flows.

#

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

Question
Currently trying to use the PaymentElement with SetupIntents however, for Canadian users - they have the option to use Pre-Authorized Debit. Im using automatic_payment_methods: TRUE, so this is all good. When I try to use it in the FE through PaymentElements, Im only prompted to enter Customers name & email - when i try to submit - says it needs more info...but there's no more fields

Related Request ID(s)
Look in Dashboard

What have you already attempted?
Used various different types of setupIntents configs - have prompted specifically for acss_debit, etc

What are you working on?
Ecom app

cursive heronBOT
#

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

Code
import React, { useState, useEffect } from 'react';
import { View, Text, Button, ActivityIndicator, Alert, StyleSheet, PermissionsAndroid, Platform } from 'react-native';
import { useStripeTerminal } from '@stripe/stripe-terminal-react-native';

const CardReaderScreen = ({ navigation }) => {
const [loading, setLoading] = useState(false);
const [error, setError] = useState(null);
const [connectedReader, setConnectedReader] = useState(null);
const [cardDetails, setCardD

Question
i am trying to connect with stripe NFC reader which has bluetooth but i am not able to this code not working what am i missing or do you have any reference to connect that device and read card

What have you already attempted?
i have tried the code provided

cursive heronBOT
#

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

Question
Stripe Express Checkout Element: I believe I was loading the link payment option in Firebase emulator. Then suddenly, it stopped rendering (with a height/at all) today

I guess my question is should the link payment option render locally?

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element

What are you working on?
Portal integration

cursive heronBOT
#

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

Question
As part of an off-session payment renewal, I have a 3DS request on only one card among all, can someone explain to me? and how to finalize this order which is a subscription?

Related Request ID(s)
req_pSbVdAirXNw3gK

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
Hi does switching to testmode in the dashboard actually disable live transactions? I want to test endpoints in testmode but worried switching in dashboard will stop customers being able to checkout on live website while I do it?

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

What are you working on?
ecommerce website

#

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

Error Message
Non-ASCII characters in URLs must be percent-encoded in order for the URL to be valid.

Question
i got this error while using stripe checkout.
the product image contain Non-ASCII characters.

What have you already attempted?
i use urlencode() to percent-encoded the url.

but now am not able to see the product in stripe checkout page.

cursive heronBOT
#

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

Question
Hello :)
I would like to retrieve coupon's data associated with a subscription / subscription item only by using the data provided withe the endpoint stripe.events.list. I could only find in the event's payloads ids such as di_* (on invoices and subscriptions). I also found that there were events there capable of giving me all coupon's data, but was not able to found a way to associate a di_* id with one of these coupons. My question would be if retrieving such link is possible without using the API (it would make my process inefficient) ?

Related Request ID(s)
Not referring to any special request

What have you already attempted?
I tried to get it from invoice events and subscription events but could only find di_* ids (the amount was present in the invoice items too).

What are you working on?
BI system

#

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

Question
I'm currently integrating Tap to Pay using Stripe Terminal in my mobile application, and I’m encountering the following error when attempting to discover readers:

INTEGRATION_ERROR.TAP_TO_PAY_INSECURE_ENVIROMENT

I have confirmed the following:

The app is running on a physical device \(not a simulator\).

Bluetooth, NFC, and location services are enabled.

I'm using the tapToPay discovery method.

The simulated flag is set to false.

My Stripe account and location should be configured for Tap to Pay.

Could you please provide more details on what conditions can trigger t

Related Request ID(s)
req_CLvsylmPwLBveZ

What have you already attempted?
.

#

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

Question
Hi how do I get the customer name/email/shipping address in a webhook?

Related Event ID(s)
evt_3RHLycIDAO7vvncv1BfSZtfp

What have you already attempted?
case 'payment_intent.succeeded':
$paymentIntent = $event->data->object; // contains a \Stripe\PaymentIntent
// Optional: retrieve the customer details

    if \(!empty\($paymentIntent\-\>customer\)\) {
        $customer = \Stripe\Customer\:\:retrieve\($paymentIntent\-\>customer\);

What are you working on?
ecommerce website

cursive heronBOT
#

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

What did you expect to happen?
To create setUpIntent using stripe SDK in Nodejs, I have passed Verification method as instant only, so as expected on UI side, manual verification option got disabled, also search is should working as expected for searching bank account from list.

What actually happened?
instead search bar got disabled and not able to search bank name from the list

Reproduction Steps
Just set verification method to instant only attaching code below.

attached code in your question section

Question
const setupIntent = await stripe.setupIntents.create({
customer: customerId,
payment_method_types: ['us_bank_account'],
payment_method_options: {
us_bank_account: {
verification_method: 'instant',
financial_connections: {
permissions: ['payment_method', 'balances'],
},
},

What are you working on?
I am working on getting users bank account detail and store it to stripe for future payment.

#

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

Question
Hi, I'd like to ask which product is the best fit for using Stripe. We wish to provide a PAAS wherein a shopify store can push an order to us, which we fulfil. When we push to our manufacturing, we want to bill the store owners payment card on file for each order we process.

Doc/Guide Links
https://stripe.com/gb/resources/more/usage-based-billing-models-a-guide-for-businesses

What are you working on?
Print on demand fulfiller for shopify stores.

#

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

What did you expect to happen?
Why can't I find the "InvoiceId" property in response to a chargeService using Stripe.net nuget version 48.0.2?

I find it instead in a nuget version 47.4.0

What actually happened?
Compiling error

Reproduction Steps
n.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Question
Why can't I find the "InvoiceId" property in response to a chargeService using Stripe.net nuget version 48.0.2?

I find it instead in a nuget version 47.4.0

#

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

Question
Stripe Express Checkout: I believe I was loading the Link payment method option in Firebase emulator . It suddenly stopped rendering (with a height) today

I guess my question is: Should the Link payment option render locally (127.0.0.1.5000)

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element

What are you working on?
payment integration

#

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

Code
&stripe.CheckoutSessionShippingOptionParams{
ShippingRateData: &stripe.CheckoutSessionShippingOptionShippingRateDataParams{
Type: stripe.String("fixed_amount"),
FixedAmount: &stripe.CheckoutSessionShippingOptionShippingRateDataFixedAmountParams{
Amount: stripe.Int64(1500),
Currency: stripe.String(string(stripe.CurrencyUSD)),
},
DisplayName: stripe.String("Next day air"),
DeliveryEstimate: &stripe.CheckoutSessio

Question
There is no shipping option structs in the golang libary

What have you already attempted?
stripe docs

cursive heronBOT
#

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

What did you expect to happen?
To be able to create a payment intent in USD and then pay with a card that might be a USD card, and the conversion will be done without losing value

What actually happened?
We set up our application to create payment intent for every transaction, We create the payment intent in USD, but when a card that's not USD is used to pay, the user gets charged the payment intent amount in cents. for example, we create a payment intent of $60 and out client uses a pounds card to pay, when we receive in our stripe account is $0.60 instead of $60

Reproduction Steps
Create a payment intent in USD and use a card in a different currency to pay

Question
How can I fix the issue when we create a payment intent in USD and then pay with a card of different currency

#

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

Question
How can we support base the destination network with specified wallet_addresses when using onramp product?

Related Request ID(s)
https://dashboard.stripe.com/test/workbench/logs?selected=req_v58W7fYzek079m

What have you already attempted?
We tried bunch of different configurations and seems like currently base network is not supported when we specify wallet_addresses array while creating onramp session on server using following link.

https://docs.stripe.com/crypto/onramp/api-reference#prepopulate-transaction-parameters

What are you working on?
We want to accept USDC on base network on specified wallet addresses using Onramp.

cursive heronBOT
#

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

Question
Hi

Our team is migrating to new basil API version.
In the new basil API version billing_threshold has been removed
https://docs.stripe.com/changelog/basil/2025-03-31/deprecate-legacy-usage-based-billing#why-is-this-a-breaking-change

Now all our customer has billing_threshold set in their subscription. What happens to them ?

Is billing_threshold feature removed ?
Or
just the a parameter bill_threshold has been removed from subscription APIs ?

And what happens to the subscription on which billing threshold is already set , after we fully upgrade to Basil API

Related Request ID(s)
sub_1RFDPvHJgsdx4qPxHSRqP5Gp

What have you already attempted?
https://docs.stripe.com/changelog/basil/2025-03-31/deprecate-legacy-usage-based-billing#why-is-this-a-breaking-change

#

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

Code
$intent = $stripe->paymentIntents->create([
'amount' => $order_total,
'currency' => $currency,
'capture_method' => 'manual',
'transfer_data' => array(
'destination' => $connected_account_id,
'amount' => $tx_ammount,
),
'on_behalf_of' => $connected_account_id,
]
);

Question
I want to support connected account in different currency. My platform in AUD, while connected account in GBP.

What have you already attempted?
I tried 'on_behalf_of' attribut to support different connected account currency, but I get this error:
Error message
"message": "The provided on_behalf_of (acct_1PI8fTQ9jtDgzd7T) does not match the expected on_behalf_of (null). Try confirming with the same parameters in both the API and Stripe Elements."
"type": "invalid_request_error"

What are you working on?
payment

cursive heronBOT
#

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

Code
const appearance = {
theme: 'flat',
variables: {
colorPrimary: '#0570de',
colorText: '#30313d',
},
rules: {
'.Tab': {
border: '5px solid #0a372d',
},
}
};

Question
i am using stripe elements, but the rules part isnt working. i dont see the border change

What have you already attempted?
nothing special

#

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

Code
return await this.client.checkout.sessions.create({
...
mode: "subscription",
customer: 'cus_xxx',
line_items: [
{ price: "price_pro_plan", quantity: 1 },
{
price: "price_additional_pro_addon",
quantity: 0, (is not allowed)
},
],

Question
When the monthly pro user tries to buy an extra feature product, I want to create a billing portal session with the "flow.data" type subscription_update_confirm, that the user can confirm his "changed subscription" and the subscription "Extra Room" quantity will be updated from 0 to e.g. 5 and also will be charged directly.
But quantity cannot be 0.
How can i have only one single subscription per user where one item is updated later over checkoutsession or billing session?

What have you already attempted?
- Stripe Checkout Session Created with only the pro plan
- I can update the subscription directly, but i want the user to confirm the "new" price change of the secondly added product in a single subscription.

What are you working on?
PRO Plan Subscription with additional Quantity based Addon proration

cursive heronBOT
#

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

Question
I want to make a checkout session link last 48h how can i achieve that ?

Doc/Guide Links
Checkout session doc guide

What are you working on?
Plateform that collect money of reservation on a diffrent time from the initial payment(off session)

cursive heronBOT
#

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

Code
linkAuthenticationElement.on('change', (event) => {
console.log(`linkAuthenticationElement change event: ${JSON.stringify(event)}`)
if(event.complete) {
//customer logged in Link(?)
this.link_authenticated = true
//sync data to form here
}
if(event.value.email && (event.value.email !== this.additional_data.email)) {
this.$emit('set-email', event.value.email)
}
})

Question
Is there a way to check whether the customer uses Link and sync address details without using the Address component? I would like to update my checkout form with the customer's details (like address, name, phone etc.) so its not required to fill out address details etc.

What have you already attempted?
Use the change event of the link authentication element, but the event.value always contains a single email address, nothing else.

What are you working on?
On a custom checkout page

#

@vagrant bloom pressed 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/ach-direct-debit#microdeposits

Question
Documentation states that "You can expect an email with instructions within 1-2 business days", but this email does not appear to be sent in test mode. Is there a way to trigger this email is test mode?

What have you already attempted?
Entering test bank account details in test mode, along with an email.

What are you working on?
Payments page utilizing SetupIntents and PaymentIntents

#

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

Code
........................

Question
I’ve added a bank account to my Google Pay wallet. Will Stripe’s Payment Element display or support bank account payments via Google Pay, or does it only support cards added to Google Pay?

What have you already attempted?
I’ve already added a card to my Google Pay wallet, and the Payment Element is showing the Google Pay option correctly when I test with that is working fine.Now I’ve also added a bank account to my Google Pay wallet, and I’m trying to check if it can be used as a payment method through the Stripe Payment Element.

What are you working on?
Implementing Google Pay in Stripe Payment Element

cursive heronBOT
#

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

Code
phone_number_collection: {
enabled: true,
},

Question
Can we make phone collection NOT required?

What have you already attempted?
The above

What are you working on?
simple ecommerce website

#

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

What did you expect to happen?
I am using stripe elements for checkout, I have enabled the option Apple pay so I expected apple pay to show up at checkout

What actually happened?
somehow its not displayed on the checkout option for my product, I have tried this on apple pay compatible devices and browsers and its still not displaying

Reproduction Steps
1) go to my product
2) press checkout
3) it should have payments

Question
i need some help to diagnose how i can solve this problem

What are you working on?
ticketing website

#

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

Question
Hi! Please, advise if it is possible to use Stripe Terminal for receiving payment method and using it in Subscription creation?
I am using this manual https://docs.stripe.com/terminal/features/saving-payment-details/save-directly
and JS api doc https://docs.stripe.com/terminal/references/api/js-sdk
I can screate subscription on api side and pass its intent into 'collectPaymentMethod' method and then into 'processPayment' method and subscription will be paid, but I need to get payment method via Terminal. It is possible?

Related Request ID(s)
req_kKNaD37hROFP32, req_gasZcWstdmnFEJ, req_orMXL2EdFsUQ3s, req_vXK7XiTtAMYfr2

What have you already attempted?
Tried to
- create Setup Intent via php api lib (req_gasZcWstdmnFEJ),
- collect payment method from Terminal using this method https://docs.stripe.com/terminal/references/api/js-sdk#collect-setup-intent-payment-method
- confirm it via this method - https://docs.stripe.com/terminal/references/api/js-sdk#confirm-setup-intent
- add this payment method to customer to create subscription for this Stripe customer later.

But all I've faced is error "PaymentMethods of type 'card_present' cannot be saved to customers."

What are you working on?
React app that should allow customers to purchase monthly memberships using Stripe card reader.

#

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

Question
We've observed two customer.deleted events for our test users:

`evt_1RFfnXKk6Qk5jHuWhvAwH16N`

`evt_1R7wfpKk6Qk5jHuWbKiTRquX`

However, we did not explicitly delete these customers via the API.
We're wondering if this behavior could be related to the use of a test clock for these users. Could the test clock have triggered the automatic deletion of the customer records in any way?

Related Event ID(s)
evt_1RFfnXKk6Qk5jHuWhvAwH16N, evt_1R7wfpKk6Qk5jHuWbKiTRquX

What have you already attempted?
N/A

#

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

Code
const elements = stripe.elements({
captureMethod: 'manual',
mode: 'payment',
amount: price_to_play_one + operator_fee_fix + Math.round(operator_fee_percent * price_to_play_one/100),
currency: p.c,
onBehalfOf: p.o,
appearance,
})
const expressCheckoutElement = elements.create(
'expressCheckout',
expressCheckoutOptions
)
expressCheckoutElement.mount('#ece');

Question
Wht the google/apple pay button disapper when onBehalfOf is added?

What have you already attempted?
I remove the onBehalfOf and the button show up correctly

What are you working on?
payment

#

@light 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/checkout/sessions/create

Question
I'm taking payment from user through stripe checkout session. Now, I got a use case that I want similar behavior like user can make purchases of different amounts. And a stripe customer against buyer email is automatically created by stripe. Please let me know what approach should I use

What have you already attempted?
Previously, the max expiry of the session was set to 24 hours.

What are you working on?
I'm allowed users to make payments of different vehicles from my platform

cursive heronBOT
#

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

Question
i my web api I need to create a intent payment for stripe connect account where an host sell a service by my app connected to my web api. The amount paid from customer should not be transferred immediately to the host, I need to transfer the amount after the service sold is completed

Related Request ID(s)
Developer

What have you already attempted?
I cannot find how to do it

What are you working on?
a service that allow to host to sell services to his customers

#

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

What did you expect to happen?
To retry card on file every day

What actually happened?
Random card retries

Reproduction Steps
JPM Card blocks too many transactions and want to be able to manually trigger retries while we have customer on phone and approve funds are there

Question
How can we manually retry a failed payment method for an invoice on subscription?

cursive heronBOT
#

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

Error Message
Les paiements sont suspendus
En retard
Afficher les détails
Contacter le service d'assistance

Question
Je ne comprends pas je m’étais fais pirater. J’ai refais avec ma carte d’identité la vérification et ça marche toujours pas..

What have you already attempted?
Billing / payount

#

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

Code
const getCheckoutUrl = (baseUrl: string, plan: string) => {
const successUrl = encodeURIComponent(
`${window.location.origin}/?success&plan=${plan}`,
);
const cancelUrl = encodeURIComponent(`${window.location.origin}/pricing`);

// If the URL already has parameters, append with &, otherwise with ?
const connector = baseUrl.includes\("?"\) ? "&" \: "?";
const finalUrl = \`${baseUrl}${connector}success\_url=${successUrl}&cancel\_url=${cancelUrl}\`;

Question
I subscribed to the plan but I am not getting redirected to the success url. I am already seeing
Thanks for subscribing
A payment to Stripe will appear on your statement.
This on the stripe buy.stripe.com

What have you already attempted?
...

cursive heronBOT
#

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

Question
I'm trying to test a Payout integration and I was wondering if there is a best practice or way to speed up automated payouts? I started testing using Stripe Sandboxes instead of Test Mode because I read there was a way to speed up time. However, it looks like the Time Clocks functionality is very limited.

It's very difficult to validate payout integration when it takes 3-7 days on average for payouts in Test Mode and Sandbox.

Doc/Guide Links
https://docs.stripe.com/billing/testing/test-clocks
https://docs.stripe.com/payouts
https://docs.stripe.com/api/payouts

What are you working on?
Pull Payouts to ERP to create deposit

#

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

Question
I have customers with active subscriptions. I need to enable them to upsell to other products with different durations. What would be the best practices to handle these cases? I need to be able to let them confirm the payment. At the moment: there is a checkout session for the subscription B, the user pays, and when our API receives the checkout.sessions.completed webhook, it checks for a subscription A, and cancels it = I don't know yet how to handle the refund and if it's the right way to do it.

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/object
https://docs.stripe.com/api/subscriptions
https://docs.stripe.com/api/subscriptions/cancel#cancel_subscription-prorate
https://docs.stripe.com/billing/subscriptions/cancel?dashboard-or-api=api#prorate-for-usage-based-billing

What are you working on?
Managing a bundle of newsletters regarding personal finances

cursive heronBOT
#

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

Question
i am trying to create a subscription for users that we are migrating from Braintree to stripe. since this users already have a local subscription, i want to create a stripe subscription that will start at the end of their local subscription

Related Request ID(s)
Request req_oNPza1gwtWy9aQ

What have you already attempted?
i have attempted to use billing_achor = subscription_time_stamp

#

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

Error Message
OR_BIBED_13,
"OR_BIBED_13 Signing key fingerprints (....) do not match our records for this application."

"The Google Pay API can only be used in production mode if the APK is signed with the correct signing key. For more information, see Sign your application."

Question
Hello, I'm facing a problem involving OR_BIBED_13.

Has anyone had a similar situation?

What have you already attempted?
(I've already activated "Google Pay & Wallet Console")

I've already tested it in test environments and it worked, but when I change "testEnv: false" to production, I get this error.

(I've also implemented it with Apple Pay and it's working without any problems)

What are you working on?
APP - React Native - method: "confirm Platform Pay Payment"

#

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

Code
await stripe.customers.create({
id: String(user._id),
name: user.nickname,
email: user.email,
metadata: {
userId: String(user._id)
}
})

Question
Is it still possible to provide custom ids for customers via the latest Node,js Stripe API wrapper?

I am in the process of migrating my (quite old) stripe implementation to the current API state.

When checking the customer object, I cannot find an id field in the current documentation: https://docs.stripe.com/api/customers/object

As I already have a lot of customers with custom ids, I would be in a bit of trouble.

Thank you very much.

What have you already attempted?
I am currently trying to migrate my stripe code.

cursive heronBOT
#

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

Code
Trying to send metadata to a Subscription using Stripe rails API

Question
Let's say I'm doing this

```Stripe::Subscription.create(
{
customer: "cus_PjQyvjJaXTRWTr",
items: [
{
price: SubscriptionProduct.recurring.last.price_id,
},
],
payment_behavior: "default_incomplete",
payment_settings: {
save_default_payment_method: "on_subscription",
},
metadata: {
test_key: "test_value",
},
}
)
```

API is answering properly with metadata in it.
But metadata are not shown in dashboard

What have you already attempted?
https://docs.stripe.com/api/subscriptions/object

What are you working on?
Maintenance

#

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

Question
I'm trying to use the Golang API to fetch some data from the balance transaction list API but the working of the filters ins't really clear to me

Related Request ID(s)
https://dashboard.stripe.com/acct_1MmdYhC0QD1kttcN/test/logs/req_qAnKtiyXTVeIG7?t=1745522388

What have you already attempted?
func (o *PaginationOptions) AddPaginationStripeFilters(filters stripe.Filters) stripe.Filters {
for _, filter := range o.FieldFilters {
if _, ok := filter.Value.(string); !ok {
continue
}
filters.AddFilter(filter.Field, filter.Operator.toStripeOperator(), filter.Value.(string))
}

return filters

}

#

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

Error Message
at md.akira.payment.CreditCardFomBindingKt$init$$inlined$doAfterTextChanged$1.afterTextChanged(TextView.kt:102)
at android.widget.TextView.sendAfterTextChanged(TextView.java:12749)

Question
Using stripe Android SDK and trying to replace OUR custom edit texts with stripe views and I am getting a crash when i enter numbers in com.stripe.android.view.CardNumberEditText

What have you already attempted?
Tried downloading the example project from the stripe-android repo but am getting gradle sync failures

What are you working on?
Replace custom edit texts with stripe views

cursive heronBOT
#

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

Question
Stripe Terminal, with connected account in Canada, using CAD, and regular credit card (Blue Stripe Test card), and requesting token on payment intent by specifying `"setup_future_usage": "off_session"`, does not return a `generated_card` in confirmation call.

Related Request ID(s)
req_QlKtrsiXoric6X req_UrdXpcNGZPXW2k

What have you already attempted?
terminal API calls

What are you working on?
terminal support in other countries

cursive heronBOT
#

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

Question
Hello Team, I am using :2024.-09-30.acacia" api version for stripe. For Invoice API I have certain attributes ( for eg : "closed") that are visible using postman, vs code but not in glue job. Other attributes are coming as expected. Which version of stripe should we use for Invoice API?

Related Request ID(s)
This is new issue after stripe upgraded to basil

What have you already attempted?
I have tried to use below line in the code
stripe.api_version="2024.-09-30.acacia"
Also tried to upgrade stripe python library to stripe==11.4.0

What are you working on?
building etl pipeline using stripe api

cursive heronBOT
#

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

Question
My application is in ionic Angular. I would like to know if Stripe has an SDK or plugin integration to make payments directly through the App.

Related Request ID(s)
***

What have you already attempted?
***

What are you working on?
***

#

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

Question
Wondering if we can get trace Id on Received Credit webhook event and received credit bank last 4?

Related Event ID(s)
n/a

What have you already attempted?
docs and using our own services

What are you working on?
fintech app

cursive heronBOT
#

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

Question
I have implemented List payouts from stripe through sdk. but not able to get back corresponding stripe account

Related Request ID(s)
NA

What have you already attempted?
List payouts implementation with destination expand

What are you working on?
We're implementing a payouts feature where we want get account in the response

cursive heronBOT
#

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

Question
How can I make sure a webhook is live?

Related Event ID(s)
evt_1RHYUFLcKemy5NBaiN6FNxor

What have you already attempted?
I thought I had my webhook live, but it is not being hit by my code. I double-checked that my endpoint URL is correct, and double-checked that the signing secret is also correct.

What are you working on?
I built an ecommerce website for digital goods, and this webhook is being used for checkout when a user purchases something.

cursive heronBOT
#

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

Question
I have set up a webook in my sandbox account, but the events don't seem to be getting delivered to my endpoint. No events show in the webhook log or my server logs.

Related Event ID(s)
evt_1RHZ12Q3RRcFlRPDSY6wn2Zu

What have you already attempted?
- manually called the endpoint with CURL - I see the logs
- forwarded events with `stripe listen` - I see the logs
- when I trigger a renewal with a test clock, no webhook events seem to get sent.
- when I trigger test events with the stripe CLI, no webhook events seem to get sent.

What are you working on?
subscriptions for a SaaS product

#

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

Error Message
there was a problem with the provided billing address: is required

Question
When im trying to pay with apple pay, it shows this error. Im using Wpfunnels

What have you already attempted?
I tried to turn on and off billing fields, turning off stripe and other plugins

What are you working on?
Business

#

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

Error Message
Connecting sandbox to test mode platform account through connected accounts says "sandbox can only be connected to test mode"

Question
Why can I not connecting sandbox to test mode platform account through connected accounts says "sandbox can only be connected to test mode" even though it says "this is a test mode account"

What have you already attempted?
Everything

Reproduction Steps
Connect sandbox to test mode platform account

cursive heronBOT
#

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

Question
I'm building a Chrome Extension. Can I embed a Stripe Express Checkout Element hosted on my site into the Extension via iframe? Or, what is best practice/typical when integrating payment portals into a Chrome Extension

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element

What are you working on?
Chrome extension payment integration

cursive heronBOT
#

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

Question
Is there a way to get all payouts for connected accounts without passing in account id?

Related Request ID(s)
NA

What have you already attempted?
Tried listing payouts without connected account id but those were fetched for platform account.

#

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

Question
I want to allow my users to upgrade from monthly plans to annual plans right away.

I want to:

  1. Handle the invoice and charge them the difference between the monthly rate and the annual rate.
  2. Setup the annual subscription so it includes the current month. As in, I want to make the new period end date 11 months out from the monthly plan's period end date.
  3. Use the same subscription (if possible).

Example.
* User is on Starter $15/month. 4/1 to 5/1.
* Today is 4/24.
* User upgrades to Starter $165/yr.

Result:
* User is charged $150.
* New annual subscription goes from 4/1/25 to 4/1/26

Related Request ID(s)
None

What have you already attempted?
I've tried subscription schedules.

What are you working on?
SAAS product

cursive heronBOT
#

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

Error Message
There are required actions for your account.

Question
I did everything and I have still paused payments and payouts and I don’t know what to do I connect it to my whop i did everything ?

What have you already attempted?
I did al the task I only didn’t verify with my Id on stripe but i did this when i was connecting to my whop.

What are you working on?
I have an app on whop that i need to conect so people can sedn me money

#

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

Question
What else can I do to resolve a webhook issue of 400 Bad Request?

Related Event ID(s)
I don't know

What have you already attempted?
I need to resolve an issue of Stripe failing to process payment and returning a 400 Bad Request error, together with "Invalid plan selected". I have triple-checked the price ID for the last 10 days, but still saw the same error on DevTools.

What are you working on?
A payment (log-in, Register) for a membership platform.

cursive heronBOT
#

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

Error Message
I have placed an order from magento frontend with stripe payment method after order place we are going to Edit the order with same payment method token but while submit edit order getting error.
Attempt to read property "status" on null in vendor/stripe/module-payments/Helper/PaymentIntent.php line 213

Question
Why we are getting above error during place order ? I want to understand the reason.

What have you already attempted?
I tried to set payment intent manually

Reproduction Steps
I have Place an order From frontend with AEM/Magento.
That order comes to magento 2 (2.4.7) while Edit order from backend with same payment token.
Submit order.
Getting error.

What are you working on?
Edit order should be place successfully from same payment token

cursive heronBOT
#

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

Question
Creating Daily Subscription, I expect to cut money from users account daily, but goes into draft

Related Request ID(s)
sub_1RGfbfAGlCdR56apW8HvF44c

What have you already attempted?
return await this.stripe.subscriptions.create({
        customer: customerId,
        items: [{ price: priceId }],
        payment_behavior: 'default_incomplete',
        expand: ['latest_invoice.payment_intent'],
        collection_method: 'charge_automatically',
        ...(coupon ? { discounts: [{ coupon }] } : {}),
      });

cursive heronBOT
#

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

Question
Hello, I'm wondering why on April 21st, the webhook for this event was sent once more at 9:27:30 PM when it already succeeded at 11:39:15 AM.

Related Event ID(s)
evt_1RFOi1EsLWYRGjLPORcujSfm

What have you already attempted?
I just expect the webhook to be called successfully once. When it's called multiple times, I spam my users with duplicate emails...

What are you working on?
Custom website account.phpstan.com for managing subscriptions for my SaaS (PHPStan Pro).

cursive heronBOT
#

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

Question
Is there any way to have subs with `send_invoice` collection method to use pending updates?

We have monthly/annual subs with charge_auto method using pending updates just fine, but we also allow annual send_invoice subs to make adjustments during the billing cycle and we set invoice collection method to charge_auto for that.

We'd like to be able to allow for pending pendings to work in this case but pending updates is limited by the sub's collection method. Feels like it should be limited by invoice collection method instead?

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

What are you working on?
Stripe Pending Updates support in our custom checkout.

cursive heronBOT
#

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

Question
Why my subscription schedule is set to permanent when specifying an end_date in the modify subscription api call ?

Related Request ID(s)
req_AHn1zZHnyliU7b

What have you already attempted?
I have tried use iterations but my business requirement need using end_date. I also added an other phase after the reduction phase and it worked but I found it too heavy.
Even if the end_date is specified in the subscription edit in the stripe dashboard the reduction phase is set to permanent

What are you working on?
A Referral program where I can set 50% for the next subscription payment

#

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

Link to the Doc/Guide in question
https://stripe.com/en-gr/resources/more/what-is-a-card-account-updater-what-businesses-need-to-know

Question
Is there any way to filter/query all payment methods that have been updated via CAU?

What have you already attempted?
I cannot see any field on the payment_methods table, nor on the events dashboard

What are you working on?
Providing maximum visibility for customers and keeping our database up to date

cursive heronBOT
#

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

Question
Creating Daily Subscription, I expect to cut money from users account daily, but goes into draft

Related Event ID(s)
sub_1RHjYfAGlCdR56ap24J4Hf2s

What have you already attempted?
async createSubscription({ customerId, priceId, coupon }: CreateSubscriptionPrams) {
    try {
      return await this.stripe.subscriptions.create({
        customer: customerId,
        items: [{ price: priceId }],
        payment_behavior: 'default_incomplete',
        expand: ['latest_invoice.payment_intent'],
        collection_method: 'charge_automatically',
        ...(coupon ? { discounts: [{ coupon }] } : {}),
      });
    } catch (error) {
      logger.error('error', error);
      throw new HttpException(500, 'SOMETHING_WRONG', error);
    }
  }

cursive heronBOT
#

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

Question
I use Stripe andorid SDK and need to integrate the google pay. I've already has the approve from Google Pay console and need to know what should I set for merchantName. I only see the merchantID in console.

Related Request ID(s)
Checked the Docs but now foeund how to integrate it

What have you already attempted?
Not sure what to do next

What are you working on?
Integrating Android SDK with google pay

#

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

Question
I have an issue retrieving a Payment Intent using the older style in PHP.

Related Request ID(s)
evt_3RGhstIVVhxSAz7H2JJfUxlN

What have you already attempted?
I had this setup automatically and worked for a while, I didn't realise it was not working until today. I am having a problem with this line:

$payment_intent_object = \Stripe\PaymentIntent::retrieve($payment_intent);

cursive heronBOT
#

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

Code
locale: 'de', // Language German

Question
Hello Team, we're working on our app and encountered an issue where we can not change the language of the stripe checkout on flutter stripe sdk as the "locale: 'de'," seems not be a legit variable for flutter. Is there any way to change the language?

What have you already attempted?
We haven't tested anything yet as we can't find any legit information on this matter.

What are you working on?
Vending Machine - Fresh Meal Reservation App

#

@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/connect/direct-charges?platform=web&ui=elements

Question
I am using Stripe Connect with Direct charges for accepting web payments

Can I initialise the Elements without the client_secret? I have a custom logic in the backend that creates the payment intent when the user clicks the 'Pay now' button, and interacts with my database. I want to use the same approach.

Ideal flow: after the Elements are ready, the user selects payment method, I get the paymentMethodId and call my backend function that also clones the payment method and returns client_secret, and clonedPaymentMethodId to confirm the payment intent

What have you already attempted?
Created an 'intermediate' payment intent so to initialise the Elements and then proceed with my custom logic. It's not convenient and it seems a bad practise.

cursive heronBOT
#

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

Question
Can I disable selection of country in Stripe Checkout if I am passing to checkout customer_id and user has previously selected his address and country in the app and I've added that info on stripe customer

Related Request ID(s)
x

What have you already attempted?
x

cursive heronBOT
#

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

Question
Hi. I would like to ask - how do I test apple pay payment? I have integrated it with JS Elements, it shows up in my website, however do I need to put a fake card in order for the payment to pass or?

Related Request ID(s)
I do not have

What have you already attempted?
Well, I have already tried adding a fake card in my Apple pay wallet and it doesn't allow me to add the "4242....4242" card.

What are you working on?
I am building a fund raising platform.

#

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

Question
Please is there a way to pre-select a specific payment method when creating a checkout element?

Related Request ID(s)
nil

What have you already attempted?
I tried passing the payment methods in preferred order in options.paymentMethodOrder starting with the first payment method would like to pre-select as recommended in https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-paymentMethodOrder.
The payment methods are ordered as expected but the first item is not pre-selected.

cursive heronBOT
#

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

Question
Apologies if this has been answered already.
We are seeing the following issue exclusively on Android (mainly Samsung devices) on our Expo React Native app:

- we launch the flow for auto linking a user's bank account, by calling `collectBankAccountForSetup`
- after a couple of button presses, we encounter a `IllegalStateException: ActiveParent must have a focusedChild`

I saw that there's this release that could potentially fix this:
https://github.com/stripe/stripe-react-native/releases/tag/v0.44.0

But would still appreciate help from anyone who might have encountered this before. Cheers

Related Request ID(s)
don't have a Request ID

What have you already attempted?
- Looked up open & closed Github issues
- Looked at error reports and session recordings of the errors

What are you working on?
An enterprise React Native app

#

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

Error Message
NetworkError: A network error occurred.

Question
I have a problem on my pc. For some reason I tried it on other devices and it works. It works on production. But when I try to test it on my pc it drops to this error right after I redirect from my page to Stripe payment page. Dont know what to do

What have you already attempted?
I tried it on production and other devices and it works. Im using visual studio. I have everything right I suppose if it works on other devices

Reproduction Steps
I tried to redirect to payment page from my page with passing the data about payment. Data loads but I cannot do anything on that page and it drops

What are you working on?
We are building website for tickets on events

cursive heronBOT
#

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

What did you expect to happen?
When someone updates his account and doesn't provide missing informations, I expect Stripe to stop the user from validating.

What actually happened?
When someone updates his account and doesn't provide missing informations, he can still validate.

Reproduction Steps
- Create a new account with missing information
- Get to your update link (`https://connect.stripe.com/d/setup/c/foo/baz/baz`)
- Don't follow instructions and just validate

Question
I don't understand this behavior...
Why would you let user validate his account even tho he didn't provide his information ?
Actually, we have users (aged users) who are lost because they don't see the big red box with "incomplete" written on it and validate, but they don't understand why it's still not good...

I'm not sure how I should handle that.

What are you working on?
See "Your Question"

cursive heronBOT
#

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

What did you expect to happen?
When updating subscription schedule phases that have coupon it doesn't delete the coupon

What actually happened?
The UI dashboard say that the coupon is deleted in the old phase. Only that latest phase has the coupon applied.
The coupon is correctly present in the response body but the dashboard UI say it is deleted

Reproduction Steps
Create a subscription schedule with the API.
Add a phase to it with a coupon, add one again, add one again (all with same coupon id that is a once token with 50% subscription reduction). Then the second phase coupon is deleted

Question
subscription id: sub_1RHnGFAkOifTwFLt9MW28EVE
req id: req_7n9chrCdrUitPi

What are you working on?
Referral program that give 50% on a month PER sponsor code usage

#

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

What did you expect to happen?
When an asynchronous payment is submitted in test mode and should decline (ie using 10-88-00 93333335 test account), but a refund is initiated before the charge has had a chance to process, I would expect the charge to fail since the bank account should respond with `debit_not_authorized` failure code. The refund should be cancelled.

What actually happened?
When an asynchronous payment is submitted in test mode and should decline (ie using 10-88-00 93333335 test account), but a refund is initiated before the charge has had a chance to process, the payment_intent and charge both succeed and the refund succeeds. Example transaction: pi_3RHU43CMpnBh61hX1HVMEfMW

Reproduction Steps
Initiate a payment using payment element with the 10-88-00 93333335 test account. In the few minutes while the transaction is processing, initiate a refund.

Question
Is this just a quirk of working in test mode, or should we expect this in production as well? Our expected results are based on the docs here: https://docs.stripe.com/payments/payment-methods/bacs-debit#:~:text=Refunds are processed,customer’s bank account.

What are you working on?
An app that accepts donations on behalf of customers and allows complete refunds

cursive heronBOT
#

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

Question
I tried to get help before about an error retrieving a Payment intent object, having the payment intent id, I am getting an internal server error, even with try catch, I cannot figure out what the problem is. I please need help with this.

Related Request ID(s)
req_2EmEbVkDRs4xid

What have you already attempted?
I have attempted to print the payment intent id, remove the connected account array argument, inserted try catch on this only function. It just doesn't work

cursive heronBOT
#

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

Question
Hi everyone! My company set up an API key for integration into a site and we are getting an error that the API key is invalid. I'm using pk_live and sk_live. Anything I can do to troubleshoot and resolve? Thank you so much!

Related Request ID(s)
dev help

What have you already attempted?
Making a new Stripe Account. Trying to look up new keys.

What are you working on?
awards website for company

cursive heronBOT
#

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

Question
I'm using The sandbox feature, along with Stripe CLI. My question is, how can I forward connect webhooks to my local machine? With the normal version I usually use `--forward-connect-to` parameter with the default CLI. but when using with the preview version, it is not recognized. example:

```
tripe preview listen --forward-connect-to http://localhost:3000/connect_webhook
```

Related Event ID(s)
None

What have you already attempted?
Looked in official docs and used --help param, but didn't find an valid example

What are you working on?
Connect integration

#

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

What did you expect to happen?
I cant use PayPal with Stripe Connect for my connected accounts

What actually happened?
The is no paypal option in the dashboard and also not in the embedded checkout form

Reproduction Steps
Cant give them exactly

Question
Is PayPal not available for Stripe Connect or did I miss something in the Docs?

#

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

Question
what is the aPI to get list of all connected accounts?

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
Want to fetch all the connected accounts for a platform

#

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

Question
We're using the Stripe API to pipeline subscription data into Azure SQL for Power BI reporting. We've found discrepancies vs. Stripe billing reports, especially further back in time. Some subscription items (often from canceled subscriptions) seem to be missing from our data, though they're visible when querying individual subscriptions. Do list endpoints like /v1/subscription_items exclude items from canceled subs by default? Any params/pagination tips to ensure full data?

Related Request ID(s)
req_0fkbvxQtFee1PB

What have you already attempted?
Subscription and Subscription Item docs, and doublechecking our measures.

What are you working on?
Stripe Reporting

cursive heronBOT
#

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

Question
for an invoice.paid event or whatever the period_end and period_start are the same values

Related Request ID(s)
in_1RHqMuC91TDPsgauzUHUOn42

What have you already attempted?
processing invoice.paid to determine the start of the period and when it ends

What are you working on?
app for reminders

#

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

Question
What will be the best Connect Structure?

Doc/Guide Links
Not relevant for my question

What are you working on?
I am currently working on a booking system for exit rooms and i am trying to figure out how i should set up stripe connect for it. I want to use paypal and also want my customers to pay for the stripe fees.

cursive heronBOT
#

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

Code
I have integrated the api to work on my website,

Question
How will I check my integration is correct and ready to use in live mode. Also I need to know If there will any glitch how will I find and fix?

What have you already attempted?
Integrated getting products, creating subscriptions for users and cancelling subscription apis

What are you working on?
Working for My company website, i.e., Virtual Tech Masters

#

⛔️ Stripe developers aren't currently available on Discord

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

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Question
I have an issue with the Payment Element not showing Klarna.

Related Request ID(s)
req_8jw2ns53c1tQ49

What have you already attempted?
Reloading page, changing connected account settings.

What are you working on?
Stripe Connect Payment Element Integration

#

@thorny slate pressed 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#disable-advanced-fraud-detection

Question
How can I disable advanced fraud detection when using React Stripe.js

What have you already attempted?
pass `{advancedFraudSignals: false}`, `{setAdvancedFraudSignalsEnabled: false}` to `loadStripe`, `<Element>`'s options

cursive heronBOT
#

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

Error Message
Screen error seen on device: "Vista Serve keeps stopping"
Numerous errors in logs, including "couldn't find "libhermes.so"", "nz.co.vista.serve not qualified for android.app.role.HOME due to missing RequiredComponent" (similar errors for DIAL and SMS). I have a copy of the log file

Question
What could be causing this issue? I have installed serve via the .apk file on different android before and haven't had any issues.

What have you already attempted?
Uploaded the .apk to the stripe dashboard account and deployed it to the account

Reproduction Steps
Restarted the device, it automatically tries to load Vista Serve and the error occurs.

What are you working on?
I am with Vista Group, trying to test running the Vista Serve app on a S700 Devkit device.

cursive heronBOT
#

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

Error Message
{
"id": "re_3QgK2GHbR2dvjkd900ckDije",
"payment_intent": "pi_3QgK2GHbR2dvjkd90Jgh0CMk",
"status": "failed",
"amount": 26000,
"charge": "ch_3QgK2GHbR2dvjkd90Oa8cV2E",
"destination_details": {
"card": {
"type": "refund"
},
"type": "card"
},
"failure_balance_transaction": "txn_1RIjmkHbR2dvjkd9OCUumeQ9",
"failure_reason": "declined"
}

Question
Can I initiate a refund on a card that was reported stolen or lost?

Context: A customer on our ecommerce platform reported their card as lost or stolen (presumably to prevent payment). The user now wants a payment to be refunded, however as the card was reported lost or stolen we are unable to refund it.

- Some irrelevant lines removed from error message to fit.

What have you already attempted?
- Creating refund via API
- Creating refund through Stripe dashboard

Reproduction Steps

  1. Customer completes a payment
  2. Customer reports card as lost or stolen
  3. Customer requests refund to original card
  4. Attempt to create refund for the card

What are you working on?
Subscription based ecommerce system

cursive heronBOT
#

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

Question
When creating a checkout session, is there any way to assign a coupon but allow the user to remove it within the checkout UI (eg. if they have a different or better coupon they would prefer to use)??

Related Request ID(s)
req_xxxx

What have you already attempted?
Reviewed docs

What are you working on?
Billing integration

cursive heronBOT
#

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

Question
I have a Joomla form builder extension and want users to accept payments.
I'm using Stripe Connect Standard for easy onboarding without requiring API keys.
I've integrated one-time and subscription payments via Stripe's PHP SDK.

Now, I want to programmatically create a webhook on my users' Stripe accounts to handle events.
However, with Connect Standard, I get:
"You are not permitted to configure webhook endpoints on a connected account. Did you mean to create a Connect webhook on your account instead"

Is there any way to easily create webhooks on their accounts, or a recommended workaround?

Related Event ID(s)
none

What have you already attempted?
Stripe Connect Standard doesn't seem to let me create webhooks.

I've heard of Stripe Connect Express which seems to require me to 1) create an account with type="express" and 2) create an account link to onboard users, but the onboard differs from stripe connect standard.

I've seen popular WordPress form builder plugins (WPForms for example) to seem to us Stripe Connect (maybe standard?) and automatically create the webhook on my account. How do they do that?

What are you working on?
Joomla Form Builder to integrate with Stripe to collect payments

#

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

Question
We use the embedded checkout version and have tax rates for different countries manually set up in Stripe Dashboard. Now we want to open in Switzerland, but when we added the tax rate for Switzerland our checkout failed on all markets with an error saying DynamicTaxRates can´t be used with this country.

Related Request ID(s)
req_Xib4I033hA3S8N

What have you already attempted?
According to documentation DynamicTaxRates can't be used with some countries. But what should I use instead?

What are you working on?
E-commerce.

cursive heronBOT
#

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

Question
when using a setup intent for sepa - is it mandatory to send mandate_data to any payment intent i create afterwards with that payment method?

Related Request ID(s)
-

What have you already attempted?
read documentation

cursive heronBOT
#

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

What did you expect to happen?
Payment provider to be accepted.

What actually happened?
Sofort (payment provider) says ineligble but I don't know what i can do to fix it.

Reproduction Steps
Clicked on 'turn on' in the dashboard

Question
What can I do to fix this? Why isn't it eligible

What are you working on?
Webshop

#

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

Question
In Stripe, the proration calculation depends on cancelling the existing subscription
when a user does not complete the subscription (e.g. exits before completing Stripe Checkout), it brings a few challenges, like Old Subscription Might Already Be Cancelled ,You cannot reactivate the same subscription, User should require moving the free subscription
How can handle this?

Related Request ID(s)
Developer

What have you already attempted?
Tried update update subscription option, but its should not move to checkout page

What are you working on?
Stripe addons

#

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

Question
Help me set up a system to create promo codes. I need a promo code to be used only for certain products. Is it possible to do this when creating a promo code or coupon ?

Related Request ID(s)
req_V10SnUMvybLqDG

What have you already attempted?
User can enter promo code when opening Stripe page to pay for subscription.

#

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

Question
We enabled MobilePay for our system. We are using the PaymentSheet on iOS and Android for payments. The MobilePay button appears and works opening a WebView with the checkout.

We would like to deeplink into the MobilePay app for faster checkout, avoiding the webview. Is that somehow possible or is there a configuration option for this?

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

What are you working on?
EV charging App

#

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

Question
How to get added payment method after success in initPaymentSheet / presentPaymentSheet

Related Request ID(s)
Can't find

What have you already attempted?
I'm using stripe native sdk, and building a process for users to add payment methods to their stripe customer.

The process is working fine, we create a setup intent and afterwards we fire the initPaymentSheet and presentPaymentSheet for the user to add his card details.

This is also works fine, it shows the Stripe sheet for the user to add it's card details.

I just need to, on success, to set that added card as the active one.
Can't seem to find a way to get the onSuccess added card details tho.

cursive heronBOT
#

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

Question
Hi guys, i'm from BridgerPay, having an issue with apple pay payment_intent creation, using the version 2024-09-30.acacia . Sending the request but having error saying " Missing required param: payment_method_data[card][number] though in docs where its written about Processing ApplePay Decrypted Tokens, there is no card.number property there to send, maybe you could check and help me?
We are sending the card number in payment_method_data[card][network_token][number]

Related Request ID(s)
Used a merchant sandbox secret key, so i might not be able to send you request id, but i can send you the request payload

What have you already attempted?
Aligned the object to send with the one we have, compared them, looks the same but getting the error.

What are you working on?
Bridgerpay x Stripe integration

#

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

Error Message
Recurring : Something went wrong. Message: No such PaymentMethod: 'pm_1REv83RqMJsKPpjaNzDiswRJ'; code: resource_missing; request-id: req_Yg6jbXeIoVyHph

Question
Hi, I would like to have some details about this error message. What is it due to?

What have you already attempted?
his is the first time I've come across this error

#

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

Question
I’m running the Stripe CLI v1.26.1 on Linux. Whenever I try to create a coupon with the percent_off or percent-off flag, I get: unknown flag: --percent_off. I’ve also tried --percent-off, but it still reports “unknown flag”. CLI command used: stripe coupons create --currency="usd" --name="Test" --percent-off=22

Related Request ID(s)
NA

What have you already attempted?
CLI version: 1.26.1

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#managing

Question
Are phases[0].start_date and subscription. current_period_start not the same?

I created a scheduled subscription from existing subscription.

What have you already attempted?
Subscription ID: sub_1RIn9fKvdDIK064PoYPCOTFd
Scheduled ID: sub_sched_1RInAKKvdDIK064PTtSIK2WZ

I retrieve the values of subscription.current_period_start and phases[0].start_date and it turns out that the start_date and current_period_start has 4 minutes difference

cursive heronBOT
#

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

Question
i have setup strip connect in node js , and set up a webhook endpoint , listening for account.updated event but when a user complete accountLink flow i am not recieving any event or even error on dashboard(stripe) its look like nothing happening with webhooks on stripe

Related Event ID(s)
33333333

What have you already attempted?
i have tested by creating different endpoints still webhooks not firing from stripe

#

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

Question
We are integrating the stripe with our PHP backend and Cocos frontend application.

currently we are using Embed Mode for the payment to work.

but we are facing issue.

This is the error we are getting.

{
  "error": {
    "code": "resource_missing",
    "doc_url": "https://stripe.com/docs/error-codes/resource-missing",
    "message": "No such payment_page: 'cs_test_XXXXXXXXXXXXXXXXXXXXXXX2n'",
    "param": "payment_page",
    "type": "invalid_request_error"
  }
}

Related Request ID(s)
logs are not registering into the platform

What have you already attempted?
updating api keys, updating the fetch secret function,

I am unable to understand where to look, can someone please guide me?

What are you working on?
Game payment interface

cursive heronBOT
#

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

Code
$paymentIntent = \Stripe\PaymentIntent::create([
'customer' => $customer->id,
'amount' => $totalAmount,
'currency' => 'eur',
'setup_future_usage' => 'off_session',
'automatic_payment_methods' => ['enabled' => true],
]);

Question
for some reason the default payment methods wont get saved. what can i do to fix that. i also got frontend code because i use stripe elements

What have you already attempted?
tried using 'payment_method_types' => ['card'], to test but also doenst work

cursive heronBOT
#

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

Question
Hi there, I'm trying to get information about the three_d_secure field to study authorization behavior for anti-fraud applications. However, I am only able to retrieve three values from the one available for the charge.payment_method_details.card.three_d_secure.result field(None, attempt_aknwoldged, authenticated). How can I retrieve all values? Is there a webhook to listen to for this?

Related Request ID(s)
pi_3RInQ5G0HkO3ZPnp07UMi4H8

What have you already attempted?
I can see from the Stripe Dashboard that the information when 3DS fails is actually present. So except for some trivial cases I am able to infer the failure of 3DS, but otherwise it's very difficult to understand.

What are you working on?
I am building a behavior-analyzer for anti-fraud applications.

cursive heronBOT
#

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

What did you expect to happen?
I expected the SDK to connect to the Stripe Terminal device (WP3) while offline for store-and-forward payments.

What actually happened?
The SDK threw an error when connecting to the terminal:

ERROR [Application] Error occured in connecting to reader. Code: 5002 - Description: Error Domain=com.stripe-terminal Code=5002 “Encryption key failed to initialize. Offline payments not available.” UserInfo={NSLocalizedDescription=Encryption key failed to initialize. Offline payments not available., com.stripe

Reproduction Steps
[On some devices in production] We released our B2B app last year and made our first update this year. After the update, some terminal devices are failing to connect offline after handing it a Stripe token from our/Stripe's API.

Question
Why is this happening and how can we prevent it? Why is it only affecting some devices and not others? Stripe's documentation for this error suggests this happens when backing up one iPad and restoring the backup on another iPad but this did not happen.

What are you working on?
POS iPad app

cursive heronBOT
#

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

Question
I am not able to connect my stripe account to my local website for testing. I am not able to connect it.

Related Request ID(s)
req_IA382GsaxZIDbL

What have you already attempted?
I have connected the stripe apis successfully, able to register the client to generate stripe customer id. But unable to fetch the packages details in backend code.

What are you working on?
Implementing stripe account to my company virtual tech masters

#

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

Question
Hello,
I previously had a thread with a Stripe Dev who advised me that Apple Pay was available on Windows and third-party browsers using the express checkout element. My client is asking for this feature as iOS 18 made Apple Pay available on these platforms via scanning a sort of QR code. I am able to get Google Pay to show, but not Apple Pay, and I’m concerned that perhaps the previous dev was mistaken - I am in the UK, if that makes any difference

Related Request ID(s)
-

What have you already attempted?
Passing in ‘card’ to the paymentMethods option on the elements object, passing applePay:”always” to the elements.create call

What are you working on?
I am trying to add Apple Pay on Windows to nee site as was made available with iOS 18

#

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

Question
Replying here to my previous thread, since it's been closed. I would like to have the 3ds failure info in my charge objects as it is stated in the documentation: https://docs.stripe.com/api/charges. I would like to have all of those values available for the result and result_reason field in the three_d_secure field of the charge object. Is there a way to do it?

Related Request ID(s)
pi_3RInQ5G0HkO3ZPnp07UMi4H8

What have you already attempted?
Same as previous thread

What are you working on?
anti-fraud application

#

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

What did you expect to happen?
Stripe to allow a payment method retry on a customers card for an "open" status invoice

What actually happened?
Stripe blocked the payment

Reproduction Steps
try to pay invoice id using API code below:

stripe.invoices.pay("in_1R8utCIG0PHzRMlgmOFNI9OF")

Question
How can we retry the invoice to pay it? Is that possible by using a new default card on file for the customer?

cursive heronBOT
#

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

Question
Hi dear Stripe team. I recently upgraded to the new stripe package because I noticed in local development that some of the data was missing. After upgrading I have a few questions
- Is there anything I need to do in order to make sure my production environment also starts using the new stripe objects?
- Where do I get updates if I need to update my code so significantly?
- How is my production code affected by this? will it still get updates according to the previous api version?
- Invoice objects used to have a subscription id. Where can I find that now?
- This used to be possible stripe.in

Related Request ID(s)
No ids

What have you already attempted?
I looked at the docs for things I was unsure about

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

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

Error Message
InvalidLink

Question
When i am constantly trying to login, i get only invalid link as end result

What have you already attempted?
Different wifi, different browser, different laptop/phone nothong works

#

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

Question
I am currently working with Forminator. I added the API keys for both test and live payments, but the payments are set to be captured automatically. I really need to capture them manually before the payment is processed.
I tried a few code snippets, but they didn’t work.
Could you advise me on what I could do?

Related Request ID(s)
no sure

What have you already attempted?
I tried a few code snippets, but they didn’t work.

What are you working on?
i need to add capture them manually

#

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

Question
in-transit payouts were previously showing. Now, since you changed to payouts-issued-in-the-same-day we dont get the estimated payout amount. Yet in stripe dashboard you can see an "estimated" amount. Were can i access this value from API?

Related Request ID(s)
no related queries

What have you already attempted?
api docs

What are you working on?
stripe connect system

#

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

Question

  1. In general, do you have any recommended best practices for tracking discounts and their lifecycles? What solutions have proven most successful for other customers?

  2. Could you clarify the scenarios when each of these discount scenarios are triggered (customer.discount.created, customer.discount.deleted, customer.discount.updated)? In particular, does discount expiration trigger the deleted event? If there isn't a webhook to notify on coupon expiry, what other methods are available?

Doc/Guide Links
https://docs.stripe.com/api/coupons
https://docs.stripe.com/api/events/types

What are you working on?
Billing for a SaaS platform

#

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

Question
I'd like to embed the stripe interface into an existing webpage on juntosbelize.org, versus re-route the donor to a different website. That would enable a donor in context to read more information about us (including some justification for why they would even want to make a contribution), and then provide the relevant information within a familiar context and submit with a single click. To date, I have invested hours searching but yet to find any information about embedding the Stripe interface into an existing webpage.

Doc/Guide Links
Too many to list ...

What are you working on?
juntosbelize.org

cursive heronBOT
#

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

Question
How to set up stripe accounts/connect accounts for franchisees. Here's a quick Loom video about what i'm trying to do:
https://www.loom.com/share/76ade9372dd24738b42a077bd6548fea?sid=d94ed36d-84e0-4e5d-90f4-9d2b2df80553

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

What are you working on?
Assisting a consulting client with franchise expansion for their software platform

#

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

Question
Hello, per my previous discussion I did set the stripe api version to "2018-02-28" and it worked fine in our lower env. I am still seeing this issue in higher env. Certain attributes like "livemode", "lines has more" are coming as null. Could you please assist with this issue?

Related Request ID(s)
This is new issue after stripe upgraded to basil

What have you already attempted?
stripe api version was set to "2018-02-28". Tried updating the stripe library

What are you working on?
building etl pipeline using stripe api

cursive heronBOT
#

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

Question
We are an agency integratingw ith Stripe.js and elements, integrating with a few systems but mainly a website. They accept a variety of currencies and require money taken in each currency to go to its own respective bank account. Through all the documentation, we can see this is possible when each bank account is set up with a unique default currency. We would then expect with a single API key to take a payment, and depending on which currency we specify to the integration we would hope to see that currency correctly funnelled to its respective international bank account. Is this possible?

Related Request ID(s)
N/A

What have you already attempted?
Being able to send any currency, but it currently is processed by a single bank account. We would like to achieve this using a single API key if possible.

What are you working on?
Third-party web payment integration

cursive heronBOT
#

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

Question
Why is it not possible to update a payment intent with `payment_method_configuration` if it was created by Invoicing?

Related Request ID(s)
https://dashboard.stripe.com/acct_1Iq9PYQOlQ0bobLE/test/logs/req_dMgZwMCiH9FAgW

What have you already attempted?
When we load Stripe Elements with a specific payment method configuration ID, it fails to confirm payment intents created by Invoicing. See sample request: https://dashboard.stripe.com/acct_1Iq9PYQOlQ0bobLE/test/logs/req_73N8Gae1Gh4GKZ.

We've tried to set the payment method configuration for payment intent but that also fails. See sample request: https://dashboard.stripe.com/acct_1Iq9PYQOlQ0bobLE/test/logs/req_dMgZwMCiH9FAgW.

What are you working on?
We are working on enabling our users to control which payment methods they offer to their customers using payment method configurations.

cursive heronBOT
#

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

Question
We just upgraded from to the latest Stripe.net 48.0.2 and noticed that the subscription object coming back from SubscriptionService no longer has CurrentPeriodStart and I am unable to find anything similar.

Related Request ID(s)
None.

What have you already attempted?
I've searched the new object and I am unable to find where this might have gone?

#

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

Question
I'm not understanding how Stripe link interacts with Stripe Connect. In particular, there are a few questions I have:

  1. When I call stripe.Customer.list_payment_methods(type=['card']), my customers are not getting their "link" payment methods back.

  2. How do "link" payment methods differ compared to typical card payments? I'm looking to understand *all* the edge cases here - If I sign up with a new payment processor, can "link" payment methods be transferred out?

  3. How do I disable customers from attaching "link" payment methods?

Related Request ID(s)
cus_SCIz5kBqbRFzO4

What have you already attempted?
reading the docs doesn't help - this offering is super confusing

cursive heronBOT
#

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

Code
import React, { useEffect, useState } from 'react';
import { View, Button, Text, StyleSheet, Alert } from 'react-native';
import { useStripeTerminal, DiscoveryMethod } from '@stripe/stripe-terminal-react-native';
import { PermissionsAndroid, Platform } from 'react-native';

Question
I bought Sunmi V2S today where I build my POS app and I want to handle card payments. Is this the latest sdk that I need?

"@stripe/stripe-terminal-react-native": "^0.0.1-beta.24",

I install it with the command npm install @stripe/stripe-terminal-react-native@latest

What have you already attempted?
stripe docs

cursive heronBOT
#

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

Question
Are you able to change the amount of a payment intent after the invoice has been finalized, if you are using auth and capture?

Related Request ID(s)
None

What have you already attempted?
I use a free trial with an auth and capture method. So the free trial amount is authenticated but only captured if the user does not cancel. I also have multiple tiers so users can toggle between them. So this "Hold" amount has to change based on when they change their tier.

What are you working on?
A subscription service with a trial hold

#

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

Question
Hi,
Our site has its own GUI to show and update customers' billing addresses, which can be used in multiple Stripe Card Payment Methods. Your documentation explicitly states, “The Stripe API doesn’t support bulk updates. You can work on only one object per request.” Does this mean there is no standard way to roll back all card billing address updates if any one of them fails? Can you recommend the most reliable way to update billing addresses in multiple cards using Stripe API with ability to roll back in case of any API errors?

Doc/Guide Links
https://docs.stripe.com/api/payment_methods/update?api-version=2025-02-24.acacia

What are you working on?
Update of Billing Address that can be used in multiple Stripe Card Payment Methods

cursive heronBOT
#

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

Code
how can i add stripe to save customers credit card on file when they purchsse on my website?

Question
how can i add stripe to save customers credit card on file when they purchsse on my website?

What have you already attempted?
everything

What are you working on?
payments

#

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

Error Message
This property cannot be expanded because it doesn't exist: subscription. (Stripe::InvalidRequestError

Question
After upgrading to 2025-03-31.basil I get an error when trying to expand a charge object to include invoice.subscription.

This property cannot be expanded because it doesn't exist: subscription

I can't find documentation explaining why this was removed or what to replace it with.

What have you already attempted?
Reviewed the Basil API documentation changes
https://docs.stripe.com/changelog/basil

Reproduction Steps
Fetch a charge object and request to expand invoice.subscription

What are you working on?
a SaaS application that uses Stripe for payments

cursive heronBOT
#

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

Code
Cancel subscription option is not available for subscriptions that has phases attached

Question
We are using phases for some of our subscriptions but when a member is on a subscription with at least one future phase then user does not see cancel subscription option on customer portal

What have you already attempted?
NA

#

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

Code
const handlePayment = async () => {
if (!reader) {
Alert.alert('Najpierw połącz czytnik.');
return;
}
try {
const response = await fetch('http://192.168.1.117:4244/create_payment_intent', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ amount: 500 }), // 5 PLN
});

      const { clientSecret } = await response.json\(\);

Question
You must provide a paymentIntent that was returned from either createPaymentIntent or retrievePaymentIntent."

What have you already attempted?
https://docs.stripe.com/terminal/payments/collect-card-payment#collect-payment

#

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

Code
checkout.php : https://pastebin.com/LizRiXwp
index javascript: https://pastebin.com/XqnkNd2A
succes.php (return_url): https://pastebin.com/NWgS6F5k

Question
for some reason i can only set the default payment method for card and paypal, but i also want that for ideal and bancontact.

so when i try card or paypal i get a succes message and they are set as default but when i try ideal and bancontact i get this:

The customer does not have a payment method with the ID pm_1RIxqFGdKuVLvOxUwrO7yR3l. The payment method must be attached to the customer.

What have you already attempted?
couldnt find solutions

#

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

Code
Stripe::Subscription.update(
stripe_subscription_id,
{
trial_end: "now",
metadata: { upgraded: true }
}
)

Question
How can I verify that the payment will go through before actually updating their subscription?

What have you already attempted?
This works fine if the customer already has sufficient funds to process the transaction. But when the user does not, it'll just end their trial and set them to "incomplete".

cursive heronBOT
#

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

Question
I am looking to set up "Business Pricing". I want to make monthly subcriptions with a different price for each customer. The price will depend on various factors so I do not feels like the available pricing models of Stripe will fits my needs (I might be wrong). Can this be done? If so, what is the best practice?

Thanks!

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

What are you working on?
Enterprise level pricing for a subscription system

#

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

Error Message
You can't disable two-step authentication because it's not enabled on your account.

Question
Hi! I think I'm in a loop hole! I encountered a bug from X and Stripe and I can't recover my account, talking to the support is also impossible, because it's stuck in a loop hole.

What have you already attempted?
- Email 24h Stripe support
- Talk to X support
- Set up a phone call with support, unable because they are trying to reach me out by my old phone number
- Tried to sent an ID photo on Stripe Website, unable because I need to confirm my account verification
- Cannot unlink my stripe account from X account

Reproduction Steps
Set up a Stripe/X account with a miss typed email and old unreachable phone number in 2023.
Tried to recover by emailing Stripe support
They asked me to go to X support
Tried to talk to X support and they said they are unable to help.
Emailed back support, and they can only change my email if we have a support call on my unreachable old phone number.

What are you working on?
I tried to talk to all supports possible, can't fix my issue.

cursive heronBOT
#

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

Question
hello a few days ago we ask to have klarna in our account, nay we do but we don´t know how to let the Client select the number of payments that he/she wants to get their product

Related Request ID(s)
no

What have you already attempted?
no

What are you working on?
hello a few days ago we ask to have klarna in our account, nay we do but we don´t know how to let the Client select the number of payments that he/she wants to get their product

cursive heronBOT
#

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

Question
I am getting invoice.payment_succeeded webhooks for $0 invoices. The invoices are for failed payments and I think are not supposed to be sent at all.

The is triggered when a subscription update happens that requires payment, but the card has insufficient funds.

Related Event ID(s)
evt_1RGJKSCIehNKujQT5JVDkhoj

What have you already attempted?
I have tried to reproduce the issue using test cards, but non of the test cards cause the issue, they all fail to charge and do not create paid invoices or sent webhooks.

What are you working on?
billing system for ControlD.com

#

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

Question
I'm currently trying to make stripe send the information of a payment to a web hook however I'm not getting the product information (name) just getting price paid, buyers name, email, and amount, is there a way I can send that information to from stripe to my webhook I've been looking around on the web and it seems there's not a way to do that without coding it somehow. Thanks for your understanding.

Related Event ID(s)
Evt_1RJ0WfG2wxFb7tg6h9VQGI3J

What have you already attempted?
I've been doing tests sending the webhook but the product information won't arrive although I've chosen most of the objects available to send to the webhook.

What are you working on?
I'm trying to achieve automatization one customer pays in stripe then that information arrives to my webhook with that data my wati software should send the product paid to the customer.

cursive heronBOT
#

@dense saddle pressed 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=setup

Question
The embedded element does not include a submit button. I assume then I need to add that myself, but how can my page know is the user has filled in all the required fields?

What have you already attempted?
I have the element displayed, see screenshot, just not sure how to submit

#

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

Question
I have a webhook configured to listen to events from Stripe which has been fairly stable until this morning when I saw the error code `lock_timeout` with no relevant logs that I can find. I want to understand what went wrong ?

Related Event ID(s)
req_X5Kq95n7fMfDcu

What have you already attempted?
I have read the docs but it is not helpful in pin-pointing the error. I want a better understand of the circumstances under which this happens ?

cursive heronBOT
#

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

Question
Can you please share the Stripe Integration flow through API with 3DS manual payment flow

Related Request ID(s)
Dashboard

What have you already attempted?
Verified few documents but don't get clear answer

What are you working on?
Stripe Payment integration through API

cursive heronBOT
#

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

Code
const handleCheckout = async () => {
const stripe = await stripePromise;

// Redirect to Stripe Checkout page
const { error } = await stripe.redirectToCheckout\({
  sessionId,
}\);

if \(error\) {
  console.error\('Error redirecting to checkout\:', error\);
}

};

if (!sessionId) {
return <div>Loading checkout...</div>;
}

return (
<div>
<h2 className="text-center">Express Checkout</h2>
<button
onClick={handleCheckou

Question
i am trying to implement apple pay using stripe session checkout without ui_mode : embedded still neither apple pay is showing nor google pay

What have you already attempted?
no

What are you working on?
working on integrating apple and google pay

#

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

Code
I am using an approach like this https://docs.stripe.com/sdks/stripejs-react?ui=elements#useelements-hook. But I find that the stripe PaymentElement shows some error messages in the embedded iframe, but not others. This means that if we don't show returned errors outside the iframe, some errors go unreported, but if we do show them, some errors are duplicated.

For example, test card 4000000000000002 has an error handled in the iframe, whereas 4000000000000119 is not.

Question
How can PaymentElement be used in a way that ensures every error is reported on the UI once? Can we prevent them showing in the embedded iframe? Or detect which errors will be shown in the iframe to avoid double-handling them?

What have you already attempted?
I have tried inspecting the returned error payloads to look for some indication that the error will or will not be presented in the iframe, and I have checked the docs for more details on how to handle errors.

What are you working on?
A simple payment website

cursive heronBOT
#

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

Question
Set currency for pricing table

Related Request ID(s)
Dashboard -> Products -> Pricing table

What have you already attempted?
I'm working on a Stripe integration using the Pricing Table to let users purchase plans. I want to display the prices in the user's local currency (e.g. AUD for Australia, SGD for Singapore), and I've already set up multi-currency prices for each product.

According to Stripe's documentation, you can pass a customer_email like test+location_AU@example.com, and Stripe will infer the appropriate currency-specific price. This works — but it creates a new customer every time, which I want to avoid.

Instead, I'm using the customer_session_client_secret to associate the pricing table with an existi

What are you working on?
Building a CRM system

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://github.com/stripe/stripe-ios

Question
Hi, my iOS app is currently at [pod ‘Stripe’, ‘23.27.0’], I want to update to latest v24.12.0 however I’m not sure if I have to use the new PaymentSheet. Currently I’m using STPPaymentCardTextField in my own UI and would prefer to keep it that way, is it ok if I continue to do that on v24? For ApplePay I’m creating the paymentRequest using StripeAPI.paymentRequest(_:) function and passing it on to PKPaymentAuthorizationViewController.

What have you already attempted?
Looked at the docs related to migrating to v24 but not sure if it affects my integration.

cursive heronBOT
#

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

Question
Can we create subscription items along with trial period. As per documentation, I could only see examples of subscription creation with trial period

Related Request ID(s)
null

What have you already attempted?
I am able to create subscription with trial period, but i want to create subscription item with trial period

What are you working on?
I have one single subscription and multiple subscription items for each module. So I want to have different trial period for different subscription items

#

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

Question
Our use case:

  1. We have custom tax rules, where we need to apply tax based on product location (not customer location)
  2. We've decided to use the /tax/calculations API to get the tax rate for the location of the product by overriding the customer address in the request to be the product address
  3. We get the correct tax rate, now we want to pass it down to the checkout session and show the tax rate they are being charged i.e if it's NY they will see 8% in the checkout form + invoice - how/where do we pass this when calling session.create?

Related Request ID(s)
0

What have you already attempted?
We've tried to follow this guide https://docs.stripe.com/tax/custom#integration-examples

but our use case needs us to show the tax rate we're charging at the product location on checkout + invoice :(

cursive heronBOT
#

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

Question
I'm currently integrating Tap to Pay using Stripe Terminal in my mobile application, and I’m encountering the following error when attempting to discover readers:

INTEGRATION_ERROR.TAP_TO_PAY_INSECURE_ENVIROMENT

I have confirmed the following:
The app is running on a physical device (not a simulator).
Bluetooth, NFC, and location services are enabled.
I'm using the tapToPay discovery method.
The simulated flag is set to false.
My Stripe account and location should be configured for Tap to Pay.
The Phone is: Xiaomi Redmi Note 13 pro

Related Request ID(s)
req_CLvsylmPwLBveZ

What have you already attempted?
In a previous thread, I was advised to check a section of the documentation related to the error mentioned above.
The section of the documentation: PIN error handling

The issue is that the error does not occur when I try to enter the PIN (I don't even get to that part yet); the error appears when I try to search for readers.

cursive heronBOT
#

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

Error Message
{
code: incorrect_number,
doc_url: https://stripe.com/docs/error-codes/incorrect-number,
message: Your card number is incorrect.,
param: number,
request_log_url: https://dashboard.stripe.com/logs/***,
shouldRetry: false,
type: card_error
}

Question
Hey guys 👋 We constantly receive this error while users pay via Stripe Payment Element. This error is not documented as part of the errors that are automatically handled by the Payment Element here https://docs.stripe.com/payments/payment-element#errors.

  1. Is it possible to reproduce this error in dev env?
  2. Does Payment Element handle it automatically?
  3. if not

What have you already attempted?
we are trying to handle it outside of Stripe Payment Elements

cursive heronBOT
#

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

Code
<form id="payment-form" onSubmit={handleSubmit}>
<LinkAuthenticationElement
id="link-authentication-element"
onChange={(e) => setEmail(e.target.value)}
/>
<PaymentElement id="payment-element" options={paymentElementOptions} />
<button disabled={isLoading || !stripe || !elements} id="submit">
<span id="button-text">
{isLoading ? <div className="spinner" id="spinner"></div> : "Pay now"}
</span>

Question
i can see in my preview that
apple_pay_preference
:
"enabled" but still iam not able to see the apple pay button added the code above

What have you already attempted?
no

#

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

Question
Our client does not have access to Connect, they just have Stripe payments and have an existing Elements integrated checkout accepting money in 3 different currencies. At the moment these transactions are taken and processed into a single bank account, but the client would like each paid for currency to go to a separate international bank account. We are currently restricted to only being able to use one API key. Is it possible through a single integrated payment page to process multiple currencies into multiple bank accounts. The product is B2C

Related Request ID(s)
n/a

What have you already attempted?
We know we can set up multiple accounts and use 3 API keys but this is not fit-for-purpose. We have also taken each currency through one account but they are paid out and settled into one account which is also not fit-for-purpose.

What are you working on?
Public facing B2C ecommerce platform

#

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

Link to the Doc/Guide in question
https://stripe.com/payments/apple-pay

Question
We have reached the merchant ID limit for registering apple pay merchants on app store connect, post which apple recommends using the web merchant registration API/Mass enablement API, which uses identifiers such as "payment platform integrator ID" instead of the standard merchant ID, this ID allows us to register merchants over and above the 100 merchant ID limit, which requires mTLS authentication on the server.

What have you already attempted?
We've tried to attempt calling the API through our servers, however, since stripe is handling domain verification on their end, we wanted to know how this will work with stripe.

What are you working on?
We are trying to create new apps for our clients and apple is preventing us from creating additional merchant IDs through directly through app store connect.

#

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

Question
I need to apply a discount during a subscription update. We use the pending updates feature when updating a subscription that does not support adding discounts during update. How can I achieve this? Noticed that if we just apply the discount to the subscription beforehand, the invoice that is produced, does not include the discount amount and is subtracked from the subscription item's list price beforehand (e.g. in_1RJ9niD8MRRUQEjfaru3THq0)

Related Request ID(s)
req_ZTiW5PwZeQlxm5, req_HMLCy9pt1ZZQ7L

What have you already attempted?
Add the discount to the subscription before updating the subscription, but it does not work as the invoice produced has no mention of the applied discount.

What are you working on?
Apply discounts to an active subscription when upgrading a subscription item

cursive heronBOT
#

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

What did you expect to happen?
When changing the price of the subscription item, I'd expect the usage reported via Meter to remain the same, or at least the invoice will be created to charge the customer for the amount reported.

What actually happened?
In sandbox mode, I see the invoice for the usage has been created.
In live mode - the usage just disappears.

Reproduction Steps
- Create a subscription with price metered and attached meter
- Report usage to the meter
- Update subscription item with a new price
- See different behaviors in live and sandbox

Question
Should we expect sandbox behavior to be transferred to live at some point? Currently, we are migrating previous usage to a new price, but this discrepancy makes me worried Stripe will deploy sandbox behavior to live and we will end up over-reporting

What are you working on?
Billing management platform

#

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

Code
useEffect(() => {
(async function () {
const isPlatformPaySupport = await isPlatformPaySupported();
ConsoleLog('isPlatformPaySupport : ', isPlatformPaySupport);
if (!isPlatformPaySupport) {
ConsoleLog(`${platform} Pay is not supported.`);
// Alert.alert(`${platform} Pay is not supported.`);
AddAppLog('isPlatformPaySupport', `${platform} Pay is not supported.`);
return;
}
})();
}, []);

Question
We would appreciate your guidance on the following points:

  1. What are the necessary conditions for the isPlatformPaySupport function to return true?

  2. When testing a build distributed via Google Play Console's internal testing track in South Korea (prior to full Google Play Store review and release), are there any location or country-specific restrictions that might affect the behavior of the isReadyToPay function?

What have you already attempted?
accepted google pay submission

What are you working on?
building react native app with react native stripe sdk

#

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

Question
How can i get my account id? Where can i found it?

Related Request ID(s)
N/A

What have you already attempted?
I have a doubt, my customers who have their accounts connected to my Stripe account, have an acc_id associated, but I as owner have an acc_id?

#

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

Question
I am building a component based onboarding mechanism in my platform by using the new sandbox feature. It is working and I am getting a confirmation response on a new account that the following points are fulfilled:
- Details submitted
- Payouts enabled
- Charges enabled
- New requirements (currently_due): none

When checking the Stripe dashboard I see that there will be a new requirement "soon" (id verification). How can I test/enforce the future change to "currently due" and how my onboarding setup will behave?

Doc/Guide Links
https://docs.stripe.com/acceptable-verification-documents

What are you working on?
A platform with Connect accounts

cursive heronBOT
#

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

Question
I am trying to implement a PaymentIntent on behalf of a connected account, which I want to charge “application_fee_amount”, but I get an error.

'Can only apply an application_fee_amount when the PaymentIntent is attempting a direct payment (using an OAuth key or Stripe-Account header) or destination payment (using `transfer_data[destination]`)

Related Request ID(s)
req_ccuhFnmWt1jh7Q

What have you already attempted?
I am implementing the following:

this.stripeConnect = new Stripe(this._config.get('STRIPE_SECRET_KEY'), {
apiVersion: '2025-03-31.basil',
})

let payload = {
customer: user.stripeAccount, // User ID in Stripe
amount,
currency,
statement_descriptor_suffix: statement_descriptor,
application_fee_amount: commisionPromotty,
on_behalf_of: paymentIntent.destination, // ACC del Destinatario (Comercio o Evento)
} as Stripe.PaymentIntentCreateParams

const stripePaymentIntent = await this.stripeConnect.paymentIntents.create(payload)

cursive heronBOT
#

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

Code
if (collectError?.code === 'USER_ERROR.CANCELED') {
console.warn('Użytkownik anulował płatność, anuluję PaymentIntent...');

await fetch('http://192.168.1.117:4244/cancel_payment_intent', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ paymentIntentId: paymentIntent.id }),
});

Alert.alert('Anulowano płatność', 'Płatność została anulowana.');
return;
}

Question
What is the correct way to if the user changes their mind from the penalty application screen and does not want to apply the card so I click X to return to the application and cancel the payment. How do I notify Stripe that the payment has been canceled and the status is not Incomplete

What have you already attempted?
my code

#

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

Question
To respond to the previous questions: according to the requestId you've shared, you are making live mode requests, are you using a release apk or a debug APK? I am using a build intended for use in the Play Console test environment. I'm not using simulators or dev-client by Expo

Related Request ID(s)
req_CLvsylmPwLBveZ

What have you already attempted?
-

cursive heronBOT
#

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

Question
I'm using Stripe API for creating a new subscription. I'm trying to expand "latest_invoice.payment_intent" but I keep getting error ```StripeInvalidRequestError: This property cannot be expanded because it doesn't exist: payment_intent.```. My subscription plan is greater than $1 and when I used sdk from terminal I get payment intent. But when I use it in my Node project I don't get payment intent on subscription response. Can anyone help me with it?

Related Request ID(s)
1

What have you already attempted?
I attempted to expand latest_invoice and also create a payment intent and include it too invoice. I also tried static JS code which I got from API explorer in stripe API docs.

What are you working on?
I'm working on creating a subscription on a product which I've created in Stripe and make a payment for that subscription.

#

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

Question
When we create a SetupIntent, the user completes any required 3DS step.
The webhook has 3DS information saved as below:
"payment_method_options": {
"card": {
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},

When we capture the payment at a later date, we create a new PaymentIntent. The webhook shows:
"three_d_secure": null

We need to make sure this flow qualifies us to shift chargeback liability, even though the customer isn’t present at the moment of capture.

Related Request ID(s)
Not applicable

What have you already attempted?
This requires Stripe to answer

cursive heronBOT
#

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

Code
const payment_intents = await stripe.paymentIntents.search({
query: `customer:'${this.stripeId}' AND status:'canceled'`,
expand: ['data.invoice'],
limit: 100
});

Question
After upgrading Stripe to v18, getting this error:

StripeInvalidRequestError: This property cannot be expanded because it doesn't exist: invoice.

What have you already attempted?
Tried fetching using, but still not sure
const invoices = await stripe.invoices.list({
customer: this.stripeId,
limit: 100
});

What are you working on?
Upgrading version to 18.

#

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

Code
useEffect(() => {
(async () => {
const { error } = await discoverReaders({
discoveryMethod: 'internet',
simulated: false,
});

        if \(error\) {
            console.error\('Error discovering readers\:', error\);
        }
    }\)\(\);
}, \[discoverReaders\]\);

Question
I bought sunmi v2s and I want my app to be able to receive payments by bringing the card close to the sunmi. but after issuing realase I can't find the reader. as simulated I could go through the entire payment

What have you already attempted?
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=tap-to-pay

cursive heronBOT
#

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

Question
Can stripe calculate tax rate by county, I am using the stripe tax calculation API

Related Request ID(s)
req_uqxiJc6iYDiobj

What have you already attempted?
I have utilized Stripe Calculation API and passed county information. But it calculates the stripe tax rate by City and State not county

What are you working on?
I am building an automatic tax rate calculator for an invoice using flutter, firebase and typescript

#

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

Question
I added an inclusive custom tax on an invoice, along with an exclusive vat tax, but the vat (22%) is being calculated on the amount excluiding the inclusive custom tax I added. How do I make it work?

Related Request ID(s)
in_1RFYrtEv6RqipoTEVgcEJ6yf

What have you already attempted?
-

#

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

Question
Stripe Billing Meters - midcycle price increase on a product

Related Request ID(s)
none

What have you already attempted?
We need to do a mid-billing cycle price increase for a product P on May 1, which has a price A associated with a billing meter, this is attached to a customer subscription that bills on May 16. Can I verify:

  1. If I deactivate product P's price A and meter A, can I create a new price B on product P, and then attach a meter B with meter A's event_name? And then add this Price B as a subscription line item to the subscription's invocie?
  2. If I do so, will previous usage events still be recorded and billed at price A's price and I can continue recording events in code with the same event name?

What are you working on?
Subscription product billing event

#

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

What did you expect to happen?
New user start trial on subscription. It should be able to switch between any product and its prices during trial without charging them during trial.

What actually happened?
When user switch to some other product by swapping subscription it charge user and trial ends.

Reproduction Steps
Start trial of subscription of "Plan A" "Price 1" with 14 days trial.
Change subscription (swap) before 14 days to "Plan B" "Price 1". It charge user for that price and trial ends.

Question
It this normal behaviour of stripe or any recent update of stripe?
As its been running with same code from 10/10/2023 and in last few days users reported this issue. it was working fine till now.

What are you working on?
Laravel project. Using Stripe cashier. and for changing subscription during trial, simply using swap(new_price_id)

cursive heronBOT
#

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

Question
Is it possible to transfer payment methods between different Stripe Customers?

Related Request ID(s)
pm_1RJF1OGXtcqHgDW84aHsxlAb, cus_OvRt9QPBVHv9De, cus_PfBDUParvZzbr0, req_D36KW8rhrPzgIs, req_hE6ISeqkOgnrnW

What have you already attempted?
- Reading documentation
- Attaching payment method 1 from customer A to B without detaching it first
- Detaching from customer A and attaching from customer B, which doesn't work

What are you working on?
We're building a new product, which will end up merging two different Stripe customers into a single one. We're looking for ways to migrate payment methods without the need to ask the customer.

cursive heronBOT
#

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

Question
Why does stripe allow card testers to sign up for a free trial (with a credit card required). Can't these also be screened even though the transaction only happens after the trial ends?

Related Request ID(s)
ch_3RE28dJbPfCJyc411MGm1Oyf

What have you already attempted?
adding radar rules, but they seem to only work after the trial ends, and I want to prevent a user altogether from adding a fraudulent card. I don't want to wait for a payment to be created.

#

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

Code
Loading the Stripe Payment Element javascript control into our web-based IOS app throwing an error when trying to do test bank authorization:

Refused to load https://connections-auth.stripe.com/auth?state=bcsess_1RJFcCHAuKxNQma4FC8WUhK9&api_key=pk_test_CqxgDulALEPJ5wN4AqXIT0uZ&stripe_version=2019-05-16 because it does not appear in the frame-ancestors directive of the Content Security Policy.

Question
Trying to get around these CSP issues without breaking a bunch of other things; am I setting up the CSP directive correctly?

What have you already attempted?
added this line into the appropriate place in our IIS config file:

<add name="Content-Security-Policy" value="frame-ancestors 'self' wodify.com *.wodify.com connections-auth.stripe.com;" />

cursive heronBOT
#

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

Question
How can I properly track promotion code redemptions for one-time purchases in Stripe?

In my app, I create the Payment Intent, validate the promo code, adjust the amount accordingly, and then use stripe.confirmPayment on the client. I’m also storing the discount code in the Payment Intent’s metadata.

However, in Stripe, the actual promotion code still shows 0 redemptions. What am I missing to have redemptions tracked correctly?

Related Request ID(s)
pi_3RJFm72fcErBBdQk0f2xA3Ap

What have you already attempted?
Searched the docs. I see this: https://support.stripe.com/questions/support-for-coupons-using-payment-intents-api

I'm just wondering if I'm doing this the right way or if there's another preferred approach? Is using Payment Intents a good move here or should I be using something else?

#

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

Question
In test mode we are able to retrive fees and card holder name. However in live mode, these fields are not coming. Someone mentioned that these fields need to be enabled by stripe to fetch in live mode. How do I get it sorted.

Related Event ID(s)
API Call

What have you already attempted?
In test mode we are able to retrive fees and card holder name. However in live mode, these fields are not coming. Someone mentioned that these fields need to be enabled by stripe to fetch in live mode. How do I get it sorted.

What are you working on?
Response from webhook

cursive heronBOT
#

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

Code
chargeParams := &stripe.ChargeParams{}
chargeParams.SetStripeAccount(string(orgID))
chargeParams.AddExpand("balance_transaction")

chargeWithBT, err \:= charge.Get\(lc.ID, chargeParams\)
if err != nil {
	return nil, fmt.Errorf\("failed to retrieve charge %s\: %w", lc.ID, err\)
}

if chargeWithBT.BalanceTransaction == nil {
	return nil, fmt.Errorf\("no balance transaction found for charge\: %s", lc.ID\)
}

Question
How to get balance transaction from charge object in go lang with official stripe-go package ?

What have you already attempted?
I get charge object successfully, but balance_transaction is NIL even with expanded parameter. I cannot get the ID of the of the balance_transaction either. I assume it's some error in the package itself trying to get object balance_transaction instead of just ID as described in API doc https://docs.stripe.com/api/charges/object.
However, is there a way to not use the raw API, and find a way around with the package itself.

Note: I am using v81, could that be a problem ?

What are you working on?
Donations

cursive heronBOT
#

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

Question
do we have to send a separate API call for payment_method and payment intent call when we are using a manual capture option

Related Request ID(s)
Dashboard

What have you already attempted?
Read few documents

What are you working on?
Java Payment integration with API

cursive heronBOT
cursive heronBOT
#

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

Question
I'm confused about some of the nomenclature regarding payouts and transfers.

I'm building a sales platform where we want to periodically pay our users commissions using Stripe. We have them create a connected account using the embedded component, and then I want to be able to manually send them money using an internal admin tool. What confuses me is, would this be considered a payout or a transfer? If I'm reading the docs correctly, this is a transfer, and then then subsequent sending of money from Stripe to their bank is the payout.

Related Request ID(s)
This is a conceptual question.

What have you already attempted?
This is a conceptual question.

What are you working on?
A sales platform where we want to pay our users comissions using Stripe

#

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

What did you expect to happen?
When I register a reader to a location, the reader should exist for the location and I should be able to process transactions with the reader.

What actually happened?
In my production environment, when I register a reader to a location, the reader does not seem to exist or doesn't have livemode set to true and I am unable to process transactions.

Reproduction Steps
In my account (acct_1Qgs4GDIvrxmoBCg), I tried to register a reader to my location(tml_GAyLLgONVDf22G). The action does succeed and returns me a reader ID (tmr_GAywNwtbx9YdTJ) but im unable to process charges.

Question
Please help me figure out why the readers I'm registering are not actually working in production?

What are you working on?
stripe integration

#

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

Question
We are using stripe to do post-billing of a SAAS cloud platform where users get machines. We are seeing a lot of fraud/abuse from users where they sign up with a credit card and the payment never goes through. Can we place a hold on the card to make sure their card has some funds before we give out our machines ?

Doc/Guide Links
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

What are you working on?
We are using stripe to do post-billing of a SAAS cloud platform where users get machines.

#

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

Question
ApplicationFeePercent is not on SessionCreateOptions, or SessinoPaymentIntentDataOptions, SessionSubcriptionDataOptions, SessionPaymentIntentDataOptions. Original Code used creating a PaymentLink is what "Already Attempted" Also added option for Trial period (the other reason to go to Session instead of Payment Link to support this dynamically)

Related Request ID(s)
n/a

What have you already attempted?
Original Code to create Payment Link:
decimal applicationFeePercent = Math.Round((_goPremiumPrice - commissionRate) / _goPremiumPrice * 100, 2);

// create the payment link
string paymentLinkUrl = await CreatePaymentLink(_stripeGoPremiumPriceId, applicationFeePercent, affiliateStripeAccountId, _appUri);

// set paymentLinkCode = paymentLinkUrl trimming off the stripePaymentBaseUrl
var paymentLinkCode = paymentLinkUrl.Substring(_stripePaymentBaseUrl.Length);

What are you working on?
Trying to migrate code to handle affiliate referral commissions for Subscription products from Payment Links to SessionCreate

#

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

Question
Trying to understand what the best way to get meter-related usage data.
I have set some meters and will use them to bill email usage, with 1000 free for the billing period and each additional for a price like 1 cent/each. I want to know what's the best way to get the number of events for a billing period given a customer id. Is there no way other than having to:
- get subscription (to know billing period from current_period_start/end)
- get meter event summaries (passing the customer id and start and end from the previous endpoint)
- summing the aggregate values to know if under < 1000, etc?

Related Request ID(s)
No related request id

What have you already attempted?
Tried getting subscription by id and event meter summaries, but I couldn't find if there's a better way to get the related data without multiple API calls.

cursive heronBOT
cursive heronBOT
#

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

Question
After cancelling a subscription at a specific date/time using the subscription service update method, the phases of the subscription (create with the subscription service) no longer apply. For example, the billing anchor date is set to an earlier time than the current time. Phase 0 starts from the current time. Phase 1 will start at an interval with the billing anchor time. When cancel (through subscription update) is executed, Phase 1 no longer starts at intervals of the billing anchor time but rather intervals of the subscription creation time.

Related Request ID(s)
req_aZyTpFNT1QbTzj

What have you already attempted?
Also tried not releasing the subscription schedule so that this issue does not occur. However, the following error occurs: The subscription is managed by the subscription schedule, and updating any cancelation behavior directly is not allowed. Please update the schedule instead. How do you cancel at a specific date using a subscription schedule?

What are you working on?
SAAS

#

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

Question
The platform I work on is on a regrettably old version of Stripe API ("2020-08-27").

On Apr 23, 2025 7:27:28 PM UTC, our webhook handler code encountered a change to the the object returned by

```
stripe.Webhook.construct_event(request.body, ...)
```

Specifically, a new "context" key started appearing in the constructed event. That caused a bug in some downstream code.

I'm just trying to find out what if any changes might have happened on Stripe's end around this time that would have caused the return value of stripe.Webhook.construct_event(request.body...) to change.

Related Event ID(s)
https://dashboard.stripe.com/workbench/events/evt_1RJJLvLrJT50XMeFy9IxLMdP

What have you already attempted?
We solved the bug, but this is part of a root cause analysis.

What are you working on?
Payment processing for contributors to independent news rooms

#

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

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

Question
I have an app setup with react, I currently followed this implementation here: https://docs.stripe.com/payments/accept-a-payment-deferred?client=react

Where we have the payment intents and the elements with the same configuration.

My problem is that my checkbox to save credit cards when it is checked and unchecked, the element options always retain: off_session.

What have you already attempted?
Sending the setup_future_usage on the confirmation step, sending it inside the confirmation payment methods card and many other things.

Reproduction Steps
const stripeOptions = useMemo(() => stripeOptionsFn(
priceDetails?.total,
camp,
undefined,
userParams.is_saving_payment_method ? 'off_session' : undefined
), [priceDetails?.total, camp, userParams.is_saving_payment_method]);

  <Elements stripe={stripePromise} options={stripeOptions}\>

When the userParams updates the stripeOptions does not

What are you working on?
Saving credit cards for future usages

cursive heronBOT
#

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

Code
# First verify if the customer exists in Stripe
try:
customer = stripe.Customer.retrieve(account.customer_id)
if not customer:
print(f"Warning: Customer {account.customer_id} not found in Stripe, skipping")
not_found_count += 1
continue
except stripe.error.InvalidRequestError:
print(f"Warning: Customer {account.customer_id} not found in Stripe, skipping")
not_found_count += 1
continue

# Create new email format using a different for

Question
I want to update the email of the customer.

What have you already attempted?
I want to update the customer email but the modify function is creating a new customer with the given new email.

What are you working on?
Health related project for therapy sessions.

#

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

Question
I am trying to determine what happened to an invoice after the payment attempt failed on it. I see the invoice being created in the logs then an attempt to pay it (I think) returned a 400. After that it disappeared. I'm trying to figure out how it disappeared. The invoice ID is in_1RHEEmGgCPlrhTbaIVqyg0rQ and I attached the 400 request ID in this message.

Related Request ID(s)
req_MvOMmLTDPNdb52

What have you already attempted?
I read through the logs and searched for the invoice in the stripe dashboard.

What are you working on?
SaaS platform for organizing after school programs for kids

#

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

Question
I'm getting the following error:
The PaymentMethod provided (us_bank_account) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card.

I’d like to understand why the PaymentIntent doesn't accept us_bank_account payments, even though I have this payment method enabled in my settings. Additionally, I’d like to locate the specific PaymentIntent object related to this request so I can check whether an incorrect parameter is being sent, which might be causing the issue.

Related Request ID(s)
req_Q73GszXPLem2dS

What have you already attempted?
I previously encountered a similar issue with the Stripe JS client SDK, which I resolved by replacing the confirmCardPayment method with confirmPayment. The issue I'm currently facing is on the Node SDK, specifically when using the createPaymentIntent method (POST v1/payment_intents). I'm not explicitly specifying any payment_method_types during the creation of the PaymentIntent, so I assume that all payment methods configured in my Stripe dashboard will be considered as valid options.

cursive heronBOT
#

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

Question
How to get balance transaction object for subscriptions after payment succeeded ? I had a question earlier today about this, where we concluded there is a delay in setting BT object, so it might not be available just after payment_intent_succeeded event.
However it seems like the solution works only for one-off payments, because I don't see charge.update event after recurring payment is done ?

Related Event ID(s)
evt_3RJKp8GSblWe99ue3F6EOnXS

What have you already attempted?
Link to the previous thread:

https://discord.com/channels/841573134531821608/1366803196667891744

What are you working on?
Donations

#

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

What did you expect to happen?
I am trying to open the test mode, but unable to get the option.

What actually happened?
I have set upped my account on stripe, and used testing keys to test the integration but not able to find the test mode.

Reproduction Steps
Can you help me to find the test mode button for checking the integration of stripe api.

Question
Cannot find the test mode button to on it.

#

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

Question
I have a subscription for a digital product. I want to offer a few different things, bulk discounts, discounts based on frequency (monthly, quarterly etc) and addons for those products.

What is the best way to achieve this, is it making each addon it's own product as you shouldn't be able to buy a product without the base product and in theory that'd be possible?

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

What are you working on?
Subscriptions for a digital product

cursive heronBOT
#

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

Question
I am trying to mimic the behavior of the dashboard's handling of Cancel Subscription, where the admin has the ability to cancel immediately and then issue a refund as either none/full/prorated.

It's fair to presume that setting `prorate` to true in the cancel call would prorate a refund, and I'm assuming setting to false would be no refund?

If this is true, how do I do a full refund in the cancel transaction? Or would I have to to cancel it with no refund, and then do a full refund on the associated subscription invoice?

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

What are you working on?
SaaS for a task/project management app

cursive heronBOT
#

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

Code
https://codeshare.io/5O8xga

Question
I don't want to let the user to subscribe again if they have already subscribed for the product. I have made api such that user can't re subscribe but still it's getting subscribed for the same product.

What have you already attempted?
I am getting the packages on the Ui, after selecting the package it will fetch the user has already subscribed for the product or not, if not then payment intent will created and client secret is getting saved to make subscription after payment is successfully done.

What are you working on?
I am integrating the stripe account for my company Virtual Tech Masters.

#

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

Question
Trying to figure out how to bring the subscription of our staging environment to "Active" status

Related Request ID(s)
None

What have you already attempted?
I added a 100% off forever coupon

What are you working on?
SaaS

cursive heronBOT
#

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

What did you expect to happen?
Checkout page from a Pricing Table not localised

What actually happened?
I added products, a pricing table, and extra information to the payout page.
When going to checkout page, it is not localised to the users locale. It remains english.

Reproduction Steps
Create Product, Create pricing table, embed pricing table to your site.

Question
From the docs it sounds like the payment/checkout pages should be localised. For me they are always english. The pricing table itself is set to english which i can understand, as we put non-localised product information there.
But the checkout page after choosing a product (which is a subscription), how can i have it localised for the user?

cursive heronBOT
#

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

Code
const payment_intents = await stripe.paymentIntents.search({
query: `customer:'${this.stripeId}' AND status:'canceled'`,
expand: ['data.invoice'],
limit: 100
});

Question
Previously, we were fetching payment_intents.invoice and calculating the total paid_out_of_band payment using payment.invoice.paid_out_of_band.

After updating to Stripe 18, we started receiving the following error:
StripeInvalidRequestError: This property cannot be expanded because it doesn't exist: invoice.

Is there a better way to calculate it? Please provide an example.

What have you already attempted?
Tried reviewing stripe.invoices.list, stripe.paymentIntents.search , and stripe.invoicePayments.list response. Its all confusing and need to make multiple API calls.

cursive heronBOT
#

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

Question
Got an error when trying to create a connection token with stripe_account param got the error {
"error": "There is no OAuth Connection between your platform and acct_xxxxxx in test mode. See https://stripe.com/docs/connect/standard-accounts for details on how to establish a connection."
}. We are transitioning from using the M2 reader over to the Wise BBPOS e and use Direct Charges instead of Destination Charges.

Related Request ID(s)
N/A (don't have access to Stripe Account)

What have you already attempted?
I've tried looking at the docs provided by the error but it doesn't explicitly say on how to create an OAuth Connection between the platform. Is there a different link for this?

What are you working on?
Trying to transition our POS system to now use the Wise BBPOS e Terminal Reader instead of the M2.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/declines/card#card-restrictions

Question
For our set up, below are the different scenarios we need to test for as it pertains to reasons a card for recurring payments is declined are:

1) Insufficient Funds
2) Expired or Inactive
3) Fraud Prevention - We probably can't test for this one since it would mean the bank has flagged the charges as fraudulent and the card owner would have to "accept" or "clear" them.
4) Exceeds Daily or Monthly Limites
5) System Error
6) Customer Cancelled Subscription/Auto Renewal
7) New Card or Account - We probably can't test for this one since it would require us to set up a new account and then try to

What have you already attempted?
we need the guide for all above 7 failed scenarios, please help me for guide.

cursive heronBOT
#

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

Question
I have facing issue on customer id change after the run future simulator on stripe

Related Request ID(s)
https://discord.com/channels/841573134531821608/841573134531821616

What have you already attempted?
I have create customer usign Email ID, and if i buy sub for that customer than stripe genrate new customer for that user so any way to stop generate new customer for same email id

What are you working on?
I have developing subscription module and there is issue with client secret due to this customer change issue.

cursive heronBOT
#

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

Question
Payment method id created by terminal cannot be associated with customer, how to use it for recurring payments?

Related Request ID(s)
req_VfpMSQf4EsK2x4

What have you already attempted?
no

What are you working on?
Creating terminal support for subscriptions by accepting payments.

cursive heronBOT
#

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

Code
let stripePercent = 0.039
let stripeFlat = 2.35
let stripeFee = subtotal * stripePercent + stripeFlat

    let total = stripeFee + subtotal

Question
I want to calculate the Stripe fee so we always get the correct net amount the same as the price of the product after Stripe processed the payment. However we realised that if we increased the price, the Stripe fee is also increased, is there anyway we can do this to get the correct net amount?

What have you already attempted?
I have tried to recalculate the stripe fee in other approaches but it was still not correct

What are you working on?
I'm working on calculate the Stripe fee to add to the total product cost

cursive heronBOT
#

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

Question
I want some ideas on how to implement something
i want a single click checkout in my wordpress website
which also has to be pci compliant and should not navigate to stripe hosted as well . currently i am using fluent forms and i am trying to do payments i want to know if it's pci compliant and is there something i want to do in my wordpress site

Doc/Guide Links
https://fluentforms.com/integrate-stripe-with-wordpress/

What are you working on?
one click checkout without navigation

cursive heronBOT
cursive heronBOT
#

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

Question
To preview an upcoming invoice as if the subscription is marked to not renew after the current period ends.

Since my subscription is managed by a subscription schedule, when i preview Invoice::upcoming, I don't set "subscription_cancel_at_period_end" => true, else stripe throw me an error "The subscription is managed by the subscription schedule"

But I need to preview the upcoming invoice as if the subscription is marked to not renew after the current period ends. So that I able to see what the final invoice would be.

Is there a way to solve a subscription is managed by a subscription schedule and able to see what the final invoice would be after the period ends?

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

What are you working on?
I'm working on preview an upcoming invoice when a subscription upgrade with new prices

cursive heronBOT
#

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

Question
When I export csv file from https://dashboard.stripe.com/tax/registrations -> “Export transactions”, the table presents me with multiple columns.
One of which is filing_exchange_rate.

The question is how can I retrieve this csv data by stripe API?

If I can’t, where this value filing_exchange_rate is coming from?

Related Request ID(s)
https://dashboard.stripe.com/tax/registrations -> “Export transactions”

What have you already attempted?
I tried to retrieve from "data.ecb.europa.eu" api exchange rate from that day, and value does not match the ine in Stripe's csv file

#

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

Question
When i download invoice there pay online in the file which i don't want to be there, is there any way to remove that ?

Related Request ID(s)
Invoice

What have you already attempted?
Read the docs.

What are you working on?
stripe subscription in our system

#

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

Question
How to include stripe fee in Checkout Session?

Related Request ID(s)
n/a

What have you already attempted?
Tried to google search, AI chat-bots and some research on official docs. Unfortunately I didn't found anything reliable to do this.

What are you working on?
I'm working on a project for a charity. They take donations. They want to provide an option to donors to cover processing fees? But I don't know how to charge customers the fee as the fee can vary.

cursive heronBOT
#

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

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

Question
Hey guys I hope you are well. just wondering where is the documentation to implement a subscription flow using the PaymentElement and paying with iDEAL specifically. when I set the mode to 'subscription' in the PaymentElement options parameter, the iDEAL payment method disappears. it only appears for setup or one time payments.

What have you already attempted?
The documentation I shared above does not explain how to do this using the PaymentElement. it just explains how to do it with a checkout session. I have used this documentation:
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements
to build our subscription integration but iDEAL cannot be used unfortunately

What are you working on?
Set up a subscription with iDEAL

cursive heronBOT
#

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

Question
Where does Stripe obtain "filing_exchange_rate" I want to calculate the taxes on my app side. I want to keep it in sync with Stripe

Related Request ID(s)
https://dashboard.stripe.com/tax/registrations -> Export transactions

What have you already attempted?
https://data.ecb.europa.eu/help/api/data api, but the tax rates do not match with the ones Stripe provide

cursive heronBOT
#

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

Question
NB this is all in the sandbox:

I've received some events with the Java API but the event object isn't deserialised when calling `event.getDataObjectDeserializer.getObject`. Specifically, `invoice.payment_succeeded` is failing to give me the invoice, and `customer.subscription.updated` is failing to give me the customer.

I have recently updated the API version, and also updated the SDK to 28.4.0. Is there something i need to do so that the objects are correctly deserialised?

It was all working prior to the updates.

Related Event ID(s)
evt_1RJDkbBQ2N0HjYTVv9dzl3p0

What have you already attempted?
Construct the event with `val event = Webhook.constructEvent(payload, sigHeader, endpointSecret)`

val maybeStripeObject = event.getDataObjectDeserializer.getObject

`event.getType` gives me the type, but the object isn't there

What are you working on?
A subscription service in a mobile app. I need to update the customer's record to an active subscription when the payment is successful etc

cursive heronBOT
#

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

Question
Missing error code in InvalidRequestError.

Related Request ID(s)
req_ysFgVgUE3ZSyVD

What have you already attempted?
Creating connected account with wrong ''individual[dob][year]' im getting right user_message("'Must be at least 13 years of age to use Stripe'") but no error code is present. In my case im sending 2015 as 'dob_year' and expecting error code 'invalid_dob_age_under_minimum'

cursive heronBOT
#

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

What did you expect to happen?
Payouts to be initiated at least 3 days business days before being paid

What actually happened?
Payouts are now initiated and paid the same day

Reproduction Steps
1- setup a connected account with daily payouts
2- make a payment to that custom connected account
2- wait for the payment to be paid out

Question
Did something change recently (around 04/22) in regard of payouts initiation ?

cursive heronBOT
#

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

Code
Hi there I am trying to create a code to waive off the fee for clients - I can create it but its not working

Question
Hi there I am trying to create a code to waive off the fee for clients - I can create it but its not working

What have you already attempted?
creating it

#

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

Question
Why has Google Pay suddenly stopped appearing on our checkout page?

Related Request ID(s)
req_Xnoy8QNj1jeD1x, req_VACr6AV3pzfMr0, req_nSc0c8m6BJryct

What have you already attempted?
Since yesterday, only Apple Pay is appearing on our checkout page. We don’t understand why Google Pay is no longer showing. We’re using Vanilla JavaScript on the frontend, and the checkout session is generated by our PHP backend.

#

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

Question
Applying a discount to an active subscription mid-cycle and then perform a prorated upgrade on that subscription, creates mixed invoice results based on the subscription's original billing cycle.

Related Request ID(s)
req_FpIabDu8QBGTPo, req_P4VoPtw3Okiv3W

What have you already attempted?
I asked a similar question yesterday and I was left with the answer of this doc: https://docs.stripe.com/billing/subscriptions/prorations#prorations-and-discounts

What this doc suggests is that if the discount applies to the prorated invoice item, no discount amount is visible on the invoice. But this is not correct. If the original subscription is a monthly one and I prorate to an annual with discount, the discount amount is visible on the invoice, as can be seen here: req_FpIabDu8QBGTPo. If the original invoice has the same cycle with the prorated, no discount amount is seen. Why is that?

What are you working on?
Discounts on prorated subscription updates

#

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

Code
checkout.php: https://pastebin.com/78KNxJ68
webhook.php: https://pastebin.com/XkJT4Lt4
index.php (js): https://pastebin.com/KZpuc6Yx

Question
okay so in my checkout.php i got the function that creates a customer. but for some reason when i checkout 2 customers are created. idk how but i only have one function that creates a customer. maybe it is because i got the customer update in the webhook or something.

What have you already attempted?
cant find what the problem is

#

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

Question
Custom roles for team members.

Why does an developer need so many of the actions in an account? I just need a developer to connect my app to Stripe to set-up subscriptions and accept payments.

The Admin should be able to control API keys, why does the dev need to delete or even create keys?

View? Sure.

Add and edit bank account details of connected accounts? Admin's role.

Create, view, download financial reports? Admin role.

If a developer needs to create a custom financial report, or make sure it's working, then the Admin should be able to either do that themselves, or give just the permissions necessary to get the job done.

What am I missing? Thanks.

Doc/Guide Links
https://docs.stripe.com/get-started/account/teams/roles

What are you working on?
I'm trying to step back from day-to-day coding, so I'm having a hired dev to a lot of coding, specifically allowing customers to join a subscription product, setting up recurring payments.

#

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

Question
Using a payment method configuration object when creating a payment intent results in No such payment_method_configuration: pmc_ regardless of which pmc I use or how I set it or if I toggle between test/prod mode.

The PI id is not relevant because it does not work to create the PI.

Related Request ID(s)
pi_3RJZYmHujl8GFxJC15vUwxKE

What have you already attempted?
using an existing pmc id
creating a new pmc
switching from test to prod and viceversa

What are you working on?
Hiding Link in PaymentSheet by setting the pmc when creating the payment intent from backend

#

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

Error Message
invalid_request_error

You cannot perform this action on PaymentIntents created by Checkout. Try expiring the Checkout Session instead. See https://stripe.com/docs/api/checkout/sessions/expire for more details.

Question
It seems that when using the latest SDK with custom-ui express checkout and using manual-capture method, i get a bogus error when canceling the HOLD on the card - in reality, the payment-intent is canceled as instructed, but the LOGS on stripe-dashboard shows this error

What have you already attempted?
Nothing, I just want to avoid this bogus errors flooding my stripe-dashboard in production

Reproduction Steps

  1. use CHECKOUT with `ui_mode` set to "custom"
  2. assign `payment_intent_data` with `capture_method: "manual"`
  3. submit (used TEST visa on test-mode)
  4. listen on WEBHOOK for "payment_intent.amount_capturable_updated"
  5. inside the WEBHOOK, call for `paymentIntents.cancel` on this payment-intent

What are you working on?
Startup company in the SPORTS industry

#

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

Code
Symfony 4 (Eventic fork) using Payum/Stripe 1.5.1 + stripe-php 1.x

Question
All cards fail with authentication_required (legacy 3-D Secure 1).

What have you already attempted?
Smallest patch to migrate to either
A) Stripe Checkout Session + webhook, or
B) Payum 2.x + flux-se/payum-stripe-bundle 3.x.

402 ERR
ID: req_RweTYp6agCyOcY
Time
30/04/2025, 13:04:17

What are you working on?
customised version of eventic

cursive heronBOT
#

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

Question
We randomly seem to be getting webhook timeout issues and have followed the guide here: https://support.stripe.com/questions/webhooks-how-to-investigate-and-fix-timed-out?locale=en-GB

Related Event ID(s)
evt_3RIwyNGOqhvaCDWm1QgvyUUa, evt_3REwOcGOqhvaCDWm1iBBtb4Y

What have you already attempted?
Moved further up the http_response_code(200) to straight after the executed script.

What are you working on?
Payment page

cursive heronBOT
#

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

Code
Undefined symbol: _EmbeddedPaymentElementViewCls

Undefined symbol: _GooglePayButtonCls

Question
I am using React Native CLI and i have installed @stripe/stripe-react-native lib. so i am getting above errors i am using React Native 0.76

What have you already attempted?
I did not find any solutions.

What are you working on?
I am integreating strip payment gateway in my React native app

cursive heronBOT
#

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

Question
Hi! I asked for help with triggering new onboarding requirements yesterday and was directed to the trigger cards (link below).
I was expecting to see the account's next requirement (id verification) to change from "eventually_due" to "currently_due" when purchasing an item with the card no. 4000000000004202

The requirements did not change after the sandbox purchase and account retrieval.

Doc/Guide Links
https://docs.stripe.com/connect/testing#trigger-cards

What are you working on?
Marketplace payment

cursive heronBOT
#

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

Question
We have this flow: Users (Connected Accounts) receive Transfers after finishing a deal.

Sometimes they can finish a deal before connecting Stripe.

Of course, at this point they cannot receive Transfer.

We listen to account.updated webhook to, once they connect their Stripe, they receive all their pending deals as Transfers.

After connecting their account, and have both
"charges_enabled": "true"
"capabilities": "transfer"

SOMETIMES when I Transfer.create I receive

insufficient_capabilities_for_transfer

AND SOMETIMES

it works, is created

Which I think it's weird. What is happening here.

Related Request ID(s)
req_3elKcca4nQ1gRw, req_1ybYIuvOYjHkGA

What have you already attempted?
I have the Transfer.create after we receive the account.updated in the connected webhook

What are you working on?
Pay pending deals with Transfer after connect Accounts

cursive heronBOT
#

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

Question
how can I ontegrate the strip payment gatway for in a local host Vite+ React front end and then we need to deploy that how can i do that

Related Request ID(s)
Payment gat way integration

What have you already attempted?
I need exact step by step details

What are you working on?
working on a Gen AI product UI

cursive heronBOT
#

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

Code
const express = require('express');
const stripe = require('stripe')(`sk_test_key`);
const router = express.Router();

router.post('/', async (req, res) => {
try {
const session = await stripe.checkout.sessions.create({
line_items: [
{
price_data: {
currency: 'usd',
product_data: {
name: 'Six Flags

Question
How exactly do I accept PayPal / Venmo as a payment method here? I have added it as a custom payment method.

What have you already attempted?
I added paypal / venmo in the list, but neither work. I've tried removing the payment_method_types property to see if it would show without me specifying the valid payment method types as 'card'.

What are you working on?
Payment processor for a school event.

#

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

Code
this.stripe.invoices.create

Question
How do I have invoice creation with a checkout link?

What have you already attempted?
I have tried creating an invoice and using the payment link for that invoice as my checkout process. however I am pretty sure this would not make it work with stripe tax? tried just using a simple checkout but this only creates a receipt and not an invoice. which is necessary for my company as it is based out of Germany so for compliance and Tax purposes. need invoices + tax + checkout basically.

What are you working on?
A SAAS platform, based out of germany

#

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

Question
How to pass in Customer ZIP Code when creating a payment intent.

Related Request ID(s)
n/a

What have you already attempted?
Not seeing how to do it in the docs

What are you working on?
Paw Partner Payments

#

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

What did you expect to happen?
Both discounted subscriptions with equal invoice line items

What actually happened?
Having a Backdate start date and billing cycle anchor causes the invoice to be different than usual when using discounts

Reproduction Steps

  1. Create subscription without backdate/cycle anchor
  2. Check invoice, should be regular invoice
  3. Create subscription with backdate/cycle anchor
  4. Check invoice, single line item says Time on <PRODUCT> (with $<AMOUNT> off) from 30 Apr 2025 until 30 Apr 2026
  5. Invoice also says the discount is zero

Question
I have been testing adding discounts to our subscriptions, we have built a system to support multiple subscriptions per customer, and we need them to be in sync. So we use Backdate and cycle anchor to ensure all subscriptions are renewing at the same time.

But the invoice with a discount is not rendered as expected. Trying to figure out what is happening here

cursive heronBOT
#

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

Question
I'm trying to test a webhook handler for the `radar.early_fraud_warning` object https://docs.stripe.com/api/radar/early_fraud_warnings/object

I wanting to trigger this locally via Stripe CLI

Related Event ID(s)
None?

What have you already attempted?
I tried following instructions linked in the API reference via this doc page https://docs.stripe.com/stripe-cli/triggers

  1. Create fixture (fails) -- I see how to call api endpoints via fixtures, but tried to hit the events api and it is giving an issue Unrecognized request URL (POST: /v1/events)

  2. Call fixture file via `stripe trigger - -- raw` - same error.

cursive heronBOT
#

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

Question
When trying to create a new issuing card, I'm getting the following error:

"/app/vendor/bundle/ruby/3.2.0/gems/stripe-12.3.0/lib/stripe/stripe_client.rb:723:in `handle_error_response': The financial account id must be specified. (Stripe::InvalidRequestError)"

Related Request ID(s)
I tried looking for request from Issuing and couldn't find them

What have you already attempted?
Looking at Stripe API docs. Looking at request logs

#

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

Question
Getting this for stripe 20.24.0
Process: com.RentRedi.RentRedi2, PID: 23545
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/ui/platform/LocalSoftwareKeyboardController;
at com.stripe.android.paymentsheet.ui.PaymentSheetScreenKt.DismissKeyboardOnProcessing(PaymentSheetScreen.kt:61)

Related Request ID(s)
I dont have it

What have you already attempted?
This is for presenting paymentsheet

cursive heronBOT
#

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

Question
2025, Basil API version. Charge object doesn't have invoice property anymore.
What is the shortest way to get a possible invoice for charge?

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
I am building team onboarding in stripe. Right now 1 customer = 1 subscriptions. We want to be able to add seats for other users, but have the primary customer be the billing person.

To achieve this should we:
1) Use one customer but add multiple subscriptions for the other users
or
2) Create 1 customer per user and somehow share the billing method?

Doc/Guide Links
I have tried looking through docs but can only find information about sharing billing methods across stripe accounts

https://docs.stripe.com/connect/direct-charges-multiple-accounts

What are you working on?
godelterminal.com

#

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

Question
I have an app on Stripe that we use to manage our customers billing. We have the permissions for billing_meter_read and billing_meter_write and we are able to create billing meters no problem. However we get 403 when trying to call billing.MeterEvent.create saying we do not have the required permissions. From looking at the docs I don't see any separate permissions for billing_meter_event read or write. Is this currently not supported? Or am I missing something?

Related Request ID(s)
req_nlDGzThPRNqddZ

What have you already attempted?
We have ensured the billing_meter_write works as expected, looked around in docs for anything specific on permissions for meter events and did not see any.

We are on api version 2025-02-24.acacia and python sdk 11.6.0

cursive heronBOT
#

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

Code
// Create a billing portal session
const session = await stripe.billingPortal.sessions.create({
customer: customerId,
return_url: `${request.headers.get('origin')}/account`,
});

return NextResponse.json\({ url\: session.url }\);

} catch (error) {
console.error('Error creating portal session:', error);
return NextResponse.json(
{ error: 'Failed to create portal session' },
{ status: 500 }
);

Question
When making a custom billing portal I am wondering if I can disable the option to cancel subscription within it. I still want to use it to be able to change plan and add payment methods but I have a separate cancel button with some retention flows so I do not want you to be able to cancel in the portal.

What have you already attempted?
I tried passing in subscription_cancel false but that was arbitrary from claude

const configuration = await stripe.billingPortal.configurations.create({
features: {
subscription_cancel: {
enabled: false
}
}

What are you working on?
A subscription based service with a $1 hold

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/issuing/purchases/authorizations

Question
Is it possible to get IIAS data in issuing_authorization.network_data.raw?

What have you already attempted?
I was only able to find this https://support.stripe.com/questions/process-health-savings-account-(hsa)-or-flexible-spending-account-(fsa)-cards

What are you working on?
I am trying to create a Stripe virtual card that accepts HSA payments and fallbacks to regular credit card. I need to determine the eligible and ineligible amounts.

cursive heronBOT
#

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

Question
I need to create a webhook for automated payments to communicate back to my wordpress site that is using geodirectory. I'm completely new to using webhook and the documentation assumes the user has some level of understanding to the terminology being used, however I do not.

Related Event ID(s)
I don't have an events tab under >Developer

What have you already attempted?
I've tried getting my head around the beginner guides to create a webhook but I'm just going round in circles

What are you working on?
Directory website that takes recurring payments/subscriptions

#

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

Question
Using Stripe sandbox works on localhost but not that I'm in CPanel I am getting an error pulling the API key apparently

Related Request ID(s)
stripe._error.AuthenticationError: No API key provided.

What have you already attempted?
I've looked over my .env file, ensured the keys are working, and tested locally again

cursive heronBOT
cursive heronBOT
#

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

Question
We switched to a server-driven Stripe implementation to fix hardware network issues but now occasionally miss recognizing successful payments. This seems to happen when a user takes over 1 minute to tap their card—our Angular app’s AJAX request times out, missing the result. So we're going to cancel the payment on card reader after 45 seconds. On the backend, we poll the reader every 2 seconds. We’re wondering if this polling approach is best practice or if there’s a better method. We considered webhooks but weren’t sure they return the paymentIntentID.

Doc/Guide Links
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#webhooks

What are you working on?
explained above

#

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

Error Message
Locked out of whatnot selling account

Question
I submitted a seller verification I'd and got kicked out of selling on live and payouts

What have you already attempted?
Tried contacting whatnot sent me here

#

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

What did you expect to happen?
We are creating a custom form with Stripe Elements for our customers to add credit card info. The fields we want are only cc #, cvc, expiration, country, zipcode but we are struggling to get the only the country and zipcode to show up using AddressElement.

What actually happened?
We've tried multiple configurations such as setting other fields like billing address 1, billing address 2, etc to "never" but they are not hidden. Also, if we don't set a default value for postal code, the field doesn't show up at all.

Reproduction Steps
We are using react. This is a piece of our jsx

<AddressElement
options={{
mode: "billing",
fields: {
phone: "never",
},
defaultValues: {
address: {
postal_code: "-",
country: "US

Question
How can we create a form with cc #, cvc, expiration, country, zipcode and nothing extra? Perhaps AddressElement isn't the right direction (we are mostly interested in using it because it has the country dropdown)

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

We'll be back at 09:00 EST on May 1st - see you then!

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
We are currently offering one time discounts on some of our subscriptions. The issue we are hitting is for someone who upgrades today, but has a product ending at the end of this month will pay a small amount of the change to a discounted $75/yr product, and then have to pay the full $150 when their subscription renews at the end of the month.

What we would like is to reset the customer's end date to be a year out when they upgrade but still prorate them for used time on their previous subscription.

We are using the customer billing portal.

Related Request ID(s)
NA

What have you already attempted?
I've looked at the docs for creating billing portal configurations but don't see a way to reset the timer on the subscription while still prorating for time used. Is there a configuration I'm missing?

What are you working on?
A SAAS product.

#

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

Question
Getting issues for com.stripe:stripe-android:20.24.0

Related Request ID(s)
i dont have

What have you already attempted?
FATAL EXCEPTION: main
Process: com.RentRedi.RentRedi2, PID: 21995
java.lang.IncompatibleClassChangeError: Found interface androidx.compose.ui.graphics.drawscope.DrawScope, but class was expected (declaration of 'androidx.compose.ui.graphics.drawscope.DrawScope follow the link from yesterday: #dev-help message

cursive heronBOT
#

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

What did you expect to happen?
Stripe Express Checkout Element Apple Pay button should show the full button border on Chrome browsers.

What actually happened?
Stripe Express Checkout Element Apple Pay button does not show the full button border on Chrome browsers, but appears normal on Safari.

Reproduction Steps
Enable Apple Pay with the Express Checkout element in Chrome by setting `applePay: "always"` in the `StripeExpressCheckoutElementOptions`.

Question
When we enabled Apple Pay on Chrome, our Apple Pay button only shows a top border, the rest of the button border seems cropped out? Also, we cannot view the Apple Pay button in Chrome on staging. It is only showing up on production, making this harder to troubleshoot.

What are you working on?
Ability for our customers to checkout with Apple Pay on Chrome browsers.

#

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

Code
const { error } = await initPaymentSheet({
paymentIntentClientSecret: paymentResponse.secret!,
customFlow: true,
merchantDisplayName: "My company.",
style: "automatic",
returnURL: returnUrl,
defaultBillingDetails: billingDetails,
});

const { error, paymentOption } = await presentPaymentSheet(presentOptions);

React Native + Expo in mobile app

Question
Using "CustomFlow: true" casues this error:

The error code is "Failed" and the message is "FlowController must be successfully initialized using configureWithPaymentIntent(), configureWithSetupIntent() or configureWithIntentConfiguration() before calling presentPaymentOptions()."

customFlow: false works - but when I update everything to use a custom flow it wont open the payment sheet and I get the above message

What have you already attempted?
Using a non custom work flow, following these docs:
https://docs.stripe.com/payments/mobile/accept-payment?platform=react-native&type=payment

https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-collect-payment-details

What are you working on?
Mobile app using Expo and react Native. I need to confirm payment using an API which is why I want to use the custom work flow

cursive heronBOT
#

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

Question
I have a customer asking our store if they get chargeback protections when paying with stablecoins through the stripe checkout page. I honestly have no idea and told them I don’t but now I’m curious if that’s a risk for us.

Doc/Guide Links
https://docs.stripe.com/crypto/stablecoin-payments

What are you working on?
E-commerce checkout crypto enabled

cursive heronBOT
#

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

Question
I'm getting 500 errors today on a very basic API call to list balance transactions. In the Node.js API, I'm calling: `await stripe.balanceTransactions.list()`. That returns JSON like this:

```
{
"object": "list",
"count": 88123,
"data": [ "// ten transactions"],
"has_more": true,
"url": "/v1/balance_transactions"
}
```

Then, I pull the last transaction ID off the list and run this:

```
let starting_after = balanceTransactions.data.at(-1).id;
balanceTransactions = await stripe.balanceTransactions.list({ starting_after });
```

That fails with a 500 error.

Related Request ID(s)
req_yoq5XNkYlkNSYt

What have you already attempted?
The 500 error says "We ran out of time while trying to count the objects you requested. To avoid this issue, omit include[]=total_count from your API request parameters."

It's impossible to "omit" `include[]=total_count` because I never included it. I reviewed https://docs.stripe.com/api/balance_transactions/list?lang=node and saw no mention of an `include[]` parameter on this call at all.

What are you working on?
Online ecommerce site

cursive heronBOT
#

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

Question
We recently upgraded our webhook (to 2025-01-27.acacia) and java mvn version (to 28.2.0). However, we noticed that one of our payment_intents had a status of 'requires_source' which was deprecated in 2019. On investigation, we discovered our actual Stripe Account default version is 2017. We are looking to upgrade this, however we want to do it on test first, as its actively processing lots of payments. How can we do so?

Related Request ID(s)
pi_3RHSblDVO7ktfsmE0kI4ZKVG, req_G1cFs9WGrvXqwr

What have you already attempted?
In question above

#

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

Link to the Doc/Guide in question
https://stripe.com/payments/apple-pay

Question
We have reached the merchant ID limit for registering apple pay merchants on app store connect, post which apple recommends using the web merchant registration API/Mass enablement API, which uses identifiers such as "payment platform integrator ID" instead of the standard merchant ID, this ID allows us to register merchants over and above the 100 merchant ID limit, which requires mTLS authentication on the server.

What have you already attempted?
We've tried to attempt calling the API through our servers, however, since stripe is handling domain verification on their end, we wanted to know how this will work with stripe.

What are you working on?
We are trying to create new apps for our clients and apple is preventing us from creating additional merchant IDs through directly through app store connect.

#

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

Code
<ConnectAccountOnboarding />

Question
In the connected account onboarding, it prompts my connected account users for "Business details" such as their industry and website or product. This isn't really relevant to my users (and it seems that they can just enter nothing on this step and still proceed). Is there a way to omit this step from the onboarding process, or autofill it with default options?

What have you already attempted?
This is a conceptual question

What are you working on?
I'm building a sales platform where we pay out commissions to freelancers using Stripe connected accounts

cursive heronBOT
#

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

Code
const paymentMethodTypes: StripePaymentMethod[] = isKlarnaEnabled ? ['card', 'klarna'] : ['card']

const options: StripeElementsOptions = {
mode: basket.pay_now_amount === 0 ? 'setup' : 'payment',
amount: basket.pay_now_amount,
currency: basket.currency,
setupFutureUsage: 'off_session',
paymentMethodTypes,
appearance: paymentElementAppearance,
}

return (
<Elements stripe={stripePromise} options={options}>

Question
Hi stripe team,

We noticed recently the payment method orders are not forced when there are multiple payment method specified (didn't notice this before).

We cannot use the StripePaymentElement directly because we sometimes need to use setup mode.

Is there any change recently about the order enforcement, and is there anyway to enforce the order?

Thanks!

What have you already attempted?
I have checked the source code of the stripe-js package. The `paymentMethodOrder` is only in StripePaymentElement but not in Elements.

What are you working on?
We would like to enforce the order of payment method in the stripe element.

#

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

Question
Help with error "Custom payment methods are not supported on invoices.pay" for a new invoice for a legacy out-of-band paid Subscription. They recently added a custom payment method to their customer in Stripe for a 2nd subscription, but now it's affecting their old non-custom Subscription. Ideas on how to resolve and mark this invoice paid?

Related Request ID(s)
in_1RJoKkEkTO8kaKcKQxszqBta

What have you already attempted?
Retrying doesn't help. Looking at docs. I've never seen this particular error for as long as I've worked with Stripe integrations.

#

@fossil plank pressed 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

Question
I recently started working as an intern in an LMS startup. We have Razorpay and PayU as our payment gateway, and recently we got a feature request from our client to integrate Stripe. It's been 6 months since I joined and now I gotta do the whole task of integrating Stripe.

Our tech stack is mainly Django. I checked Checkout Session APIs of stripe. But what we want is more customised gateway integration where we could store the payment initiated key in model and later use it to fetch the status if sometimes the payment takes longer.

What have you already attempted?
I checked Checkout Session doesn't let us do what payment intent allows us to do. OR I AM WRONG.

I read docs of payment intent but what I don't get is what we have to do after we create a payment intent for a customer purchasing a course.

Basically I need a rough steps or understanding on how to implement payment intent and what are the parts. I'm an intern and they have gave me a deadline to complete the stripe integration before may 12. help me.

What are you working on?
An LMS startup where we sell our software to coaching institutes to sell their courses and give them a platform where students can join and attend classes.

cursive heronBOT
#

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

Question
I received a customer.subscription.created webhook, even if the payment was not done.

It says the status was incomplete.

And one day after the invoice was voided, and the subscriptions got expired.

I want to know why this happened.
Because I assumed i have configured that payment has to be done, for a subscription to be created from checkout session.

Related Event ID(s)
evt_1RJD0EAWDWbiBybiSNc6VQva

What have you already attempted?
I am trying to find a cause of it, but not able to get any info from the docs.

What are you working on?
Integrating with SaaS

#

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

Question
Is it possible to override the trial duration limits on Checkout, such as setting it to time stamp to less than 48 hours?

Related Request ID(s)
req_PyiDn81YxPk0yI

What have you already attempted?
i have attempted to end trial at a specific time greater than 24 hours and less than 48 hours

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/bbpos-wisepad3

Question
Hi, I'm wondering if there is a specific android version required to use a card reader such as the BBPOS WisePad 3. As I've seen android 11 + is required for things like tap to pay, I'm wondering if it's the same to be able to use a card reader with your phone. The documentation doesn't quite specify and therefore I'm confused.

What have you already attempted?
Nothing yet, I just need help clearing this up with anyone else who may know. As I tried using tap-to-pay on my phone and realized it required a secure execution environment or something. I'm wondering if my phone would need that for using an external card reader as well or not.

What are you working on?
I'm planning on accepting in-person payments for my Photography company using a stripe card reader, BBPOS WisePad 3.

cursive heronBOT
#

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

Question
hi i am trying to connect stripe terminal with odoo pos
We've successfully generated the API keys and established a connection with Stripe.

The account name is Fitz's Fish Ponds, LLC, and the reader is already linked to this account.

However, when we open Odoo POS and click "Send" we receive the following error message: STRIPE READERS UNDEFINED NOT YOUR ccount

Related Request ID(s)
/v1/terminal/connection_tokens

What have you already attempted?
i am trying to connect stripe BBPOS WisePOS E with odoo the device is successfully connected and online showing at stripe dashboard i have added the

#

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

Question
I want to be able to charge a monthly subscription to a client, and have them automatically receive a monthly invoice to their email for their payment, how do I set this up?

Doc/Guide Links
I was creating a subscription here: https://dashboard.stripe.com/subscriptions but I don't yet know how to make sure they receive a monthly invoice

What are you working on?
I am building a subscription service

#

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

Error Message
Error: This PaymentIntent's amount could not be updated because it has a status of requires_capture. You may only update the amount of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action.

Question
Hey, I see that it's impossible to update the payment intent when the status is required_capture even if the amount is less than the original one.

What is the best practise if I want to capture less money so the rest is return to my customer?

For example, initially I make a payment intent of $10. But then I want to capture 7£ and the rest $3 should go to customer

What have you already attempted?
I tried to capture the whole amount and then refund but that's not optimal. It will create two separate charges to my customers account. Plus the Stripe fees will correspond to the original amount and they will be higher.

cursive heronBOT
#

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

Question
Is there a way to create a customer and a subscription for them in a single API call? Or do I need to create the customer first, then create a subscription?

Related Request ID(s)
None

What have you already attempted?
Looked through the API docs

What are you working on?
SaaS

cursive heronBOT
#

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

Error Message
"Received unknown parameter: additional_verifications",
req_TFDlTa7b3ASLaK

Question
Started randomly getting this error with no integration changes or API version changes. Is it possible that a breaking change was inadvertently shipped?

What have you already attempted?
Looking at error logs and API docs.

Reproduction Steps
Create a Custom ConnectedAccount with the additional_verifications parameter in the request body.

#

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

Question
Once I create a subscription, with the option "Email invoice to the customer to pay manually", and click "creat subscription", shouldn't an email be sent out? I did a test run and no email is sent out to the customer. How do they pay? Also, will they later be charged month to month or do we have to send them a new invoice every month manually?

Doc/Guide Links
Wokring here https://dashboard.stripe.com/subscriptions

What are you working on?
subscription services

#

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

What did you expect to happen?
That the user could register

What actually happened?
Some of my users are getting an error: "Country codes must be uppercase strings with two characters" when trying to register an account. This happens sometimes only, not always an not for all of the users. And there is no way that they can enter

Reproduction Steps
I could not reproduce it

Question
Is there a possibility that sometimes it takes my business account country by default and sometimes it does not?

What are you working on?
A form form my users to register

cursive heronBOT
#

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

Question
How do I connect stripe for checkout payment options

Related Event ID(s)
NA

What have you already attempted?
I have enabled under payment links and its not showing up at check out

What are you working on?
New product check out

cursive heronBOT
#

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

Error Message
Wrong payment

Question
A customer was supposed to icky pay down payment for 25% but paid while invoice in full. How can I refund his payment and correct
his postmen to the required 25%

What have you already attempted?
Asking for help

Reproduction Steps
Not sure what to do next

What are you working on?
Correcting payment

cursive heronBOT
#

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

What did you expect to happen?
Expected to not see the link button shown in payment sheets on iOS and Android

What actually happened?
Buttons are still visible on payment sheets

Reproduction Steps
Disabled Link on the dashboard for both prod and test mode. Setup the Stripe Payments SDK with intents

Question
How do i get the link buttons to not show up?

cursive heronBOT
#

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

Question
Change API version back to 2024-09-30.acacia as basil is causing breaking changes

Related Request ID(s)
req_1IOyWwTLFT8qB6

What have you already attempted?
Nothing. Breaking changes due to version update

#

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

Question
Version update to
2025-04-30.basil is causing breaks, please can you revert back to
2024-09-30.acacia for this account.

Related Request ID(s)
req_BoiiPlmDf4HbuD

What have you already attempted?
Nothing, breaking changes due to version update

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

We'll be back at 08:00 UTC on May 2 - see you then!

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
Related to #1366849722844708917 message. It seems using end_date to end a subscription at the future does not cancel the subscription.

Related Request ID(s)
req_ExbNriKnfZm3Fc

What have you already attempted?
var phaseOptions = new SubscriptionSchedulePhaseOptions
{
StartDate = phase.StartDate,
Items = CreateUpdatedPhaseItems(phase.Items[0].PlanId),
Coupon = phase.CouponId,
Metadata = phase.Metadata,
ProrationBehavior = phase.ProrationBehavior,
BillingCycleAnchor = phase.BillingCycleAnchor,
EndDate = endDate,
TrialEnd = phase.TrialEnd
};

What are you working on?
SAAS

#

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

Question
I currently offer two products: Product A and Product C.
* Product A originally costs $100 (referred to as Price A).
* Product C costs $300 (referred to as Price C).
A user is on a yearly subscription to Product A at the original price of $100.
Midway through the year, the price of Product A increases to $150, now referred to as Price A-a.
* I create a subscription schedule so that at the end of the current billing cycle, the user will be charged the new price of $150 for the next cycle.
In the meantime, the user decides to upgrade to Product C.

How can i preview the upcoming invoice that the final cost user should pay?

I will attached my code later

Doc/Guide Links
https://docs.stripe.com/api/invoices/create_preview

What are you working on?
A subscription with schedule upgrade to another product

#

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

Question
We recently upgraded our webhook (to 2025-01-27.acacia) and java mvn version (to 28.2.0). On investigation, we discovered our actual Stripe Account default version is 2017. We are looking to upgrade this, however we want to do it on test first, as its actively processing lots of payments. How can we do so?
Following advice from the stripe team, I have created a sandbox environment, but am struggling to see how this will help, and could perhaps do with some assistance on proper setup. Is there a way to copy over test mode details to the sand box?

Related Request ID(s)
pi_3RHSblDVO7ktfsmE0kI4ZKVG, req_G1cFs9WGrvXqwr

What have you already attempted?
above

#

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

Question
Hi can I send a custom ID (order reference number) to an express checkout like google/apple pay, and get this returned by the webhook so I can update the database on the client end with the order details?

Related Event ID(s)
evt_3RHLycIDAO7vvncv1BfSZtfp

What have you already attempted?
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#ready-event

What are you working on?
ecommerce website

cursive heronBOT
#

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

What did you expect to happen?
Payment stripe to initial ios in app purchase

What actually happened?
Our app are using react native and stripe react native library older version seems crash when we integrate. below are the version we use.

react-native: 0.64.4
@stripe/stripe-react-native: 0.18.1

Reproduction Steps
initPaymentSheet dont have error, which return success after presentPaymentSheet then app crash before throw any error.

Question
which stripe version recommend? and
any extra configuration?

What are you working on?
working on ios in app purhcase

cursive heronBOT
#

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

Question
How can I fetch the address data from connected accounts? We are listening to the invoice.finalized events. but the Invoice object only contains address and shipping data for the customer. Not for the connected account.
Even fetching data from the accounts api does not contain the address information.
They are just printed on the pdf. Where can i fetch this information?

Our setup is:
- destination charge
- with on_behalf_of
- the used connected account is of type individual

Doc/Guide Links
https://docs.stripe.com/api/invoices/object
https://docs.stripe.com/api/accounts/object

What are you working on?
a marketplace where user can sell extentions of a larger system

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/coupons?dashboard-or-api=api#set-a-minimum-amount

Question
Is it possible to require a minimum amount when applying a coupon on a subscription?

What have you already attempted?
I'm hoping for an extension of the built-in feature above explained in the docs.

Is there any upcoming feature on applying a minimum amount on coupons for subsequent recurring invoices? I would like a discount code to be applied to a subscription only if it exceeds the minimum threshold. While the subscription value may vary each month, the minimum amount must always be maintained.

Or is it advised to develop the logic myself on subscriptions?

What are you working on?
I'm trying to charge a customer a minimum amount on a subscription. If the customer is below the minimum amount for his subscription, then a minimum amount applied.

cursive heronBOT
#

@glossy dawn pressed 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/supported-languages-for-stripe-checkout-and-payment-links

Question
I would like to know if it is possible to add Catalan as a supported language.
I offer myself to translate the literals if this is the stopper.

What have you already attempted?
Implement the whole checkout in catalan

What are you working on?
Integrate payments into webpages in catalan language

#

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

Question
Hi how can I access meta information through the webhook please?

Related Event ID(s)
123

What have you already attempted?
$paymentIntent = $stripe->paymentIntents->create([
'amount' => get_cart_total()*100,
'currency' => 'gbp',
'automatic_payment_methods' => ['enabled' => true],
'description' => 'Purchase of Item XYZ', // Optional description of the payment
'metadata' => [
'order_id' => '123456789',
],
]);

What are you working on?
ecommerce website

#

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

Question
I'm using stripe connect and use the embedded stripe account onboarding components.

I now have an account with a requirement.eventually_due that is person_1xxx.verification.document

my idea was to show the embedded onboarding component to my users when there is a requirement (now or eventually) due so that the onboarding component would handle whatever is required.

however, I'm not being prompted to upload a verification document...

Related Request ID(s)
acct_1RKF5b4Z1oQXU06p

What have you already attempted?
reading documentation

What are you working on?
onboarding stripe connect

cursive heronBOT
cursive heronBOT
#

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

Question
Sorry to open this up again from 1367795517609873448
I was afk during lunch break.

"How can I fetch the address data from connected accounts? We are listening to the invoice.finalized events. but the Invoice object only contains address and shipping data for the customer. Not for the connected account.
Even fetching data from the accounts api does not contain the address information.
They are just printed on the pdf. Where can i fetch this information?

Our setup is:
- destination charge
- with on_behalf_of
- the used connected account is of type individual"

Doc/Guide Links
https://docs.stripe.com/api/invoices/object
https://docs.stripe.com/api/accounts/object

What are you working on?
a marketplace where user can sell extentions of a larger system

#

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

Question
We're currently trying to switch over to Stripes Payment Element feature. Previously we would create a payment intent and then confirm it with the payment method the customer wanted to use.

However with the payment element, I'm setting it up with the client secret from the payment intent but am unable to see any of the customers saved payment methods, only the ability to type in details even though the payment intent has automatic_payment_methods={'enabled': True}.

Related Request ID(s)
pi_3RKHQQAyaQeh2nqy4EG2oxHx

What have you already attempted?
I haven't attempted too much yet because I'm not sure where to start.

What are you working on?
Switching over to the Stripe payment element

#

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

Question
Is it possible to confirm a card payment using a confirmation token and only attach the PM to the customer if the customer ticked `Save payment details for future purchases`?

Related Request ID(s)
n/a

What have you already attempted?
Testing to confirm that the card does get attached in either case, looking at docs.

What are you working on?
Looking into making a cron job to detach all cards without `allow_redisplay` from customer as we have no reason to keep them attached afaik

cursive heronBOT
#

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

Question
There is one subscription whose draft invoice is created but it will be finalized on May 4. Why ?

Related Event ID(s)
evt_1RJoIyCPNFWzQIezJtmgtshB

What have you already attempted?
Generally the invoice finalized on same day. We are confused for this case . Please help me

#

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

Question
I'm trying to cancel all subscriptions on our product and issue refunds based off of a historic cancelation date.

Is there a way this can be done automatically? I don't believe so.

I've been working on a script to iterate through subscriptions -> invoices to manually calculate this. Is there a way to query Charges or PaymentIntents based off of the Invoice to then create a Refund?

Also is there a way to send the user a custom message when the subscription cancels?

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

What are you working on?
A SAAS application

cursive heronBOT
#

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

Question
I have a platform account in PLN and GBP. I also have test mode funds in PLN and GBP.

I want to execute a transfer to a connected account using POST /v1/transfers in EUR. When I try to do that, I get an error "You have insufficient funds in your Stripe account for this transfer. Your card balance is too low.".

I'm guessing that it's because I don't have platform funds in EUR. Is there a way to execute a transfer so that my platform currency (PLN) is converted to connected account's currency (EUR), or so that I don't have to create a bank account for EUR the way I have for PLN and GBP?

Related Request ID(s)
req_5mspOvtelWAGw7

What have you already attempted?
I tried a transfer in PLN, which worked.

I found in the docs: https://docs.stripe.com/connect/currencies that "On transfers, FX occurs when the balance of the platform sending the transfer is in a different currency than the balance of the connected account receiving it.", but it does not to be the case here?

#

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

Question
i have create a subscription for month. and I canceled it for stopping next month auto renew, then after 10 days I have purchase new subscription for 1 month . so is it possible to start a subscription after my old subscription end date

Related Request ID(s)
req_0leKPuH667MUxd, req_SUvmbYXgY6SFBi

What have you already attempted?
https://docs.stripe.com/api/subscriptions/create

What are you working on?
Creating subscription

cursive heronBOT
cursive heronBOT
#

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

Question
I have a subscription schedule which was scheduled for start of the day today.
Account ID: acct_1Ihw53CScnf89tZo
Link to schedule: https://dashboard.stripe.com/acct_1Ihw53CScnf89tZo/test/subscription_schedules/sub_sched_1RJwyPCScnf89tZoqfOI7wQI

The subscription wasn't started yet. Please have a look and let me know.

Related Request ID(s)
sub_sched_1RJwyPCScnf89tZoqfOI7wQI

What have you already attempted?
Checked the timestamp for start time. It says as May 2nd 00:00 in epoch format

#

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

Question
Is there anything I can do about this error? I tried deleting the pricing first and that didn't seem to help.

Related Request ID(s)
NA

What have you already attempted?
Stripe\Exception\InvalidRequestException [message] => This product cannot be deleted because it has one or more user-created prices.

#

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

Question
I need to know if it is possible to make a payment from the Front having a client_secret + payment_method_id

Related Request ID(s)
N/A

What have you already attempted?
Currently in my Front, my clients, once their shopping cart is completed, access the checkout process, in which I generate a server-side payment_intent that returns the client_secret. This I return it to the Front and give the possibility to pay with Apple Pay / Loading a new card manually / A stored card (payment_method_id), Apple Pay and New card I have it solved in the Front, but I do not know how to do so that from the Front, confirm the choice of payment method with a stored card. Is this possible? Is it possible to confirm from the Front a payment with a client_secret + payment_method_id

cursive heronBOT
#

@scenic galleon pressed 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/enable-payment-acceptance-guide?platform=ios

Question
Getting two conflicting answers from the documentation.

On the docs, it mentions: "You can set up a universal link to enable iOS to redirect to your app automatically." (
https://docs.stripe.com/connect/enable-payment-acceptance-guide?platform=ios&mobile-ui=payment-element#handle-user)

but if we proceed with the page, we get something absolutely different: "Stripe doesn’t support universal links." (https://docs.stripe.com/connect/enable-payment-acceptance-guide?platform=ios&mobile-ui=payment-element#ios-set-up-return-url)

What have you already attempted?
Well since the documentation is unclear, I am unable to proceed.

What are you working on?
Accepting payments through stripe via iOS app.

cursive heronBOT
#

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

Question
Our website https://thepoolhousepattaya.rentmyhome.net/ failed to charge when the booking is confirm and your Stripe system show that the customer has not entered their payment method. How can i fix it?

Related Event ID(s)
evt_3RKI5PJngMhKyyBT1ZP3CktI

What have you already attempted?
Our website https://thepoolhousepattaya.rentmyhome.net/ failed to charge when the booking is confirm and your Stripe system show that the customer has not entered their payment method. How can i fix it?

What are you working on?
User.

cursive heronBOT
#

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

Question
I am setting up a payment that goes as the following:

There's a base price for rental lets say 100 dollars that we want to deduct immediately. Rentals are generally 7 days, any extra days or extra miles cost extra. We want to bill customer for those upon return. How would i set this up?

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

What are you working on?
I am working on a mobile app both Android and IOS. I have a Node JS backend.

cursive heronBOT
cursive heronBOT
#

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

Code
Confirm: stripe.Bool(true),
Amount: stripe.Int64(StripePaymentMethodHoldAmountCents),
Currency: stripe.String("usd"),
CaptureMethod: stripe.String("manual"),
AutomaticPaymentMethods: &stripe.PaymentIntentAutomaticPaymentMethodsParams{
Enabled: stripe.Bool(true),
AllowRedirects: stripe.String("never"),
},
})

Question
We are trying to add support for placing a hold on the card to validate users before we give out services, what are the downsides of setting AllowRedirects to never, and how does it affect users from different part of the world ?

What have you already attempted?
concerns about AllowRedirects

#

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

Question
When I try to attach a payment method to a customer, occasionally I get this message: "The payment method you provided has already been attached to a customer."

I am using the python api - is there a more robust way to catch this specific type of exception rather than saying:

except stripe.error.InvalidRequestError as e\:
    \# Check if the error is because it's already attached
    if "already been attached" in str\(e\)\:

Related Request ID(s)
none

What have you already attempted?
see above

cursive heronBOT
#

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

Question
Today I went to add a new webhook in our prod environment to match our sandbox environment. The production webhook endpoint API version lists:

Your current version (2019-05-16)
Latest version (2025-04-30.basil)
Public preview version (2025-03-31.preview)

The sandbox webhook endpoint API version lists:

Your current version (2019-05-16)
Public preview version (2025-03-31.preview)
2025-03-31.basil

In prod, shouldn't Latest version be 2025-03-31.basil and Public preview version 2025-04-30.preview ?

Related Request ID(s)
None

What have you already attempted?
I've attempted to set the webhook API version ,for a new endpoint, to 2025-03-31.basil in prod, but it does not exist.

What are you working on?
Upgrading our Stripe webhook processor and got confused.

#

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

Question
We're hoping to get as much detail as possible about the events that fire when a pending BACS (or other asynchronous payment method) payment is refunded. In test mode, when we refund a pending payment, we receive the `refund.updated` and `charge.succeeded` events essentially simultaneously within seconds of submitting the refund API call, but due to the asynchronous nature of bank approvals etc (real BACS payments can take 3-7 days to process), we're assuming this is not how it actually works in production.

Related Event ID(s)
pi_3RJySOCMpnBh61hX0V5q23b8

What have you already attempted?
We're running into race conditions where we need to update the status of a donation in our app, but we may receive the `refund.updated` event before the `charge.succeeded` event, which can lead to incorrect data. We'd like to understand how likely these race conditions are in live mode, and/or if there is a happy path recommendation for how to handle these events. (https://docs.stripe.com/refunds#refund-events) (https://docs.stripe.com/payments/payment-methods/bacs-debit#refunds)

What are you working on?
App to allow customers to accept donations with BACS payments

#

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

Question
I'm trying to enable autocomplete in the Stripe Address Element, but it's not working.

Related Request ID(s)
6908c8c4-bb91-4d51-98f4-48d3108dfb35

What have you already attempted?
In the element option, I set the autocomplete properly like so:
autocomplete: {
mode: 'google_maps_api',
apiKey: 'AIzaSyCQnlisVwSQiGo1-
8XA4wadUS_I_4ZAoo8',
},

What are you working on?
An ecommerce website

#

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

Question
I am designing a one time payment flow for credit cards. I need to collect clients’ card information for one single payment. Are there any concerns with best practices/pci compliance if I send the payment method id to my backend and confirming a payment intent on my backend? I am not linking it to a customer so the payment method will not be reusable.

Doc/Guide Links
I read the Stripe website

What are you working on?
Credit card one time payment

cursive heronBOT
#

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

Question
Were using a webhook to send purchase data to revenuecat in a sandbox stripe account. Is this possible? Getting error message from RevCat.

Related Event ID(s)
evt_1RKORSP4tJlKUlkjLHm1LuF3

What have you already attempted?
We have attempted to set up a sandbox stripe account and a test revenue cat app and have pointed them at each other.

What are you working on?
There must be a way of testing with apps in production to debug transactions for subscripitons, etc.

cursive heronBOT
#

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

Question
Hello, I'm building a subscription system with Stripe. Does Stripe allows creation of new subscription items in past_due subscriptions (or unpaid)? Is that behavior ideal?

More context:
I'm migrating an in-house billing system to Stripe, my current implementation allows to create new subscription items in past due subscriptions. I want my new implementation to follow Stripe's best practices. For this I need to figure out:

  1. Does Stripe's API allows that?
  2. Is that encouraged behavior?
  3. If not, which would be the ideal behavior?

Related Request ID(s)
-

What have you already attempted?
Search the docs

What are you working on?
Migrating an in-house billing system to Stripe

cursive heronBOT
#

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

Question
I am using the CheckoutSessions API to create a checkout session to collect and store a BACS Debit payment method. This is only available in the UK, but the hosted Stripe checkout screen defaults to the US for the billing address and I would like it to default to the UK.

Related Request ID(s)
req_v4RWV5bk87uxy7

What have you already attempted?
The call basically looks like this:
curl https://api.stripe.com/v1/checkout/sessions
-u sk_test_[redacted]:
-d "payment_method_types[]"="bacs_debit"
-d mode=setup
-d customer="cus_[redacted]"
-d "setup_intent_data[on_behalf_of]"="acct_[redacted]"
-d success_url="https://example.com/success?session_id={CHECKOUT_SESSION_ID}"
-d cancel_url="https://example.com/cancel"

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Question
Unable apply coupon to future schedules

Related Request ID(s)
req_pXTnTCk0gd3DrP

What have you already attempted?
Coupon applined on the subscription is added to the schedule's current phase, but when we try to apply the coupon to the future phases, it is throwing error.

#

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

Question
Upgrading to srripe node sdk 18.1.0 from 17.7.-0 and I am running into couple of issues.

Related Request ID(s)
NA

What have you already attempted?
I am trying to access the invoice from the charge object which seems to have been removed. What is the workaround for that?

#

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

Question
webhook fail log from yesterday

Related Event ID(s)
evt_3RLEAjPn6jYvxQwq1f4w0k9I

What have you already attempted?
I've already sent a enquiry to support@stripe.com.
Our service didn't changed,
Checked our service and infra.

What are you working on?
We buildt a online shops and integrated with POS system for hospitality.

cursive heronBOT
#

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

Error Message
Stripe Tax isn't yet supported for your country. Please contact stripe-tax-support@stripe.com to register your interest or if you want to collect tax in a supported market.

Question
i am from malaysia and i check stripe tax is supported for malaysia, but i still getting this message when calling const taxSettings = await stripe.tax.settings.retrieve();

What have you already attempted?
const taxSettings = await stripe.tax.settings.retrieve();

What are you working on?
trying to enable automatic taxing for digital product

cursive heronBOT
#

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

Question
I have a platform account in PLN and GBP. I also have test mode funds in PLN and GBP.

I want to execute a transfer to a connected account using POST /v1/transfers in EUR. When I try to do that, I get an error "You have insufficient funds in your Stripe account for this transfer. Your card balance is too low.".

I'm guessing that it's because I don't have platform funds in EUR. Is there a way to execute a transfer so that my platform currency (PLN) is converted to connected account's currency (EUR), or so that I don't have to create a bank account for EUR the way I have for PLN and GBP?

Related Request ID(s)
req_5mspOvtelWAGw7

What have you already attempted?
https://discord.com/channels/841573134531821608/1367841191038681140. In the meantime I tried to pass the fx_quote to the transfer, but with no luck.

When I request it like this:

$fxQuoteId = $this->stripe->fxQuotes->create([
'to_currency' => 'eur',
'from_currencies' => ['pln'],
'lock_duration' => 'five_minutes',
'usage' => [
'type' => 'transfer',
'transfer' => ['destination' => 'acct_1RIprKQwh34hodVx']
]
])->id;

I get: The transfer currency: "eur" must be present in the from_currencies of the FX Quote provided.

#

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

Question
Draft suppose to go in paid but insted it goes to Open

Related Event ID(s)
sub_1RKGChAGlCdR56apavkaoQmu

What have you already attempted?
if (data?.type === 'invoice.created') {
const isSubscriptionExist = await this.subscriptionRepo.isSubscriptionExist(data, transaction);

      if \(isSubscriptionExist\) {
        await this.stripeService.finalizeInvoice\(data?.data?.object?.id\);
      }
    }

async finalizeInvoice(invoiceId: string) {
try {
return await this.stripe.invoices.finalizeInvoice(invoiceId);
} catch (error) {
logger.error('error', error);
throw new HttpException(500, 'SOMETHING_WRONG', error);
}
}

cursive heronBOT
#

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

Question
I'm trying create a subscription schedule through API on an active subscription. After successfully created, where can i check the subscription schedule details on stripe dashboard?

Related Request ID(s)
subscription schedule ID sub_sched_1RLIqIArTeYcLw6y7M5WiJdd

What have you already attempted?
https://docs.stripe.com/api/subscription_schedules/create
I've created successfully

#

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

Code
CVC hidden CVC user like password

Question
I used Elements component of stripe in React with libary @stripe/react-stripe-js. My boss want to hidden CVC of user when they typing like password, how we can do that

What have you already attempted?
try to read docs but don't see anything to help

What are you working on?
booking for salon

#

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

What did you expect to happen?
Billing threshold of subscription not work

What actually happened?
Subscription sub_1OJt9VCYIYr4SWC9Ud00CWxv now has upcoming invoice https://dashboard.stripe.com/customers/cus_M3S4BmAaAYOA40/upcoming_invoice/sub_1OJt9VCYIYr4SWC9Ud00CWxv with 96370 usage records of USD 47.22. But bililing threshold for this subscription is "amount_gte => integer 2450", USD 24.5

Reproduction Steps
View subscription sub_1OJt9VCYIYr4SWC9Ud00CWxv

Question
Why Stripe did not automatically add invoice for usage records when billing threshold USD 24.5 is reached

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/payouts#payout-failures

Question
"When a payout fails, it’s possible that its state initially shows as paid but then changes to failed (within 5 business days)."

Does this mean that after I get payout.paid event it could still mean that payout fails and triggers payout.failed event within 5 days?

What have you already attempted?
(Please see above)

What are you working on?
Donations

cursive heronBOT
#

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

Code
I can't passed all the code. Will paste inside the thread

Question
I’ve an active subscription on Price A ($1200) that runs from May 5, 2025, to May 5, 2026.
Now today May 5, I’ve increased the price to Price B ($1300).
I’ve create subscription schedule that on May 5 , 2026. to automatically switch to Price B when they renew.

Then the active subscription try to update to Price C ($2700)
When I create preview invoices, the response show that the amount get charged is $4199.77

My expected amount is less than $1500 (proration and unused time)

What have you already attempted?
I've read through the doc and try on this endpoint \Stripe\Invoice::upcoming($payload);

What are you working on?
Preview the amount when a subscription is upgraded

#

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

Question
Draft suppose to go in paid but insted it goes to Open

Related Event ID(s)
sub_1RKGChAGlCdR56apavkaoQmu

What have you already attempted?
if (data?.type === 'invoice.created') {
const isSubscriptionExist = await this.subscriptionRepo.isSubscriptionExist(data, transaction);

      if \(isSubscriptionExist\) {
        await this.stripeService.finalizeInvoice\(data?.data?.object?.id\);
      }
    }

async finalizeInvoice(invoiceId: string) {
try {
return await this.stripe.invoices.finalizeInvoice(invoiceId);
} catch (error) {
logger.error('error', error);
throw new HttpException(500, 'SOMETHING_WRONG', error);
}
}

cursive heronBOT
#

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

Question
Is is possible to create and connect an invoice with a transaction that was made? Right now we are using Stripe elements with a credit card window and create a payment intent that later on success creates a transaction within Stripe. Right now we have to create invoices manually and set it to payed and they can not be connected to the transaction that has been made - so revenue is twice as high which is wrong.

Related Request ID(s)
?

What have you already attempted?
Searched through the docs and asked ChatGPT...

What are you working on?
Checkout for a product website (ecdb.com)

#

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

What did you expect to happen?
Schedule_update would apply prorata on 2nd invoice instead on the 1st invoice

What actually happened?
Schedule_update applied prorata on the 1st invoice

Reproduction Steps
The difference between the two examples is that one is an API call, the second is a dashboard action.

Question
I'd like to understand what we did wrong in our API call for the prorated amount to not apply on the first invoice

cursive heronBOT
#

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

Code
guard let creditCard = payment.card,
let cardNumber = creditCard.number,
let cvcNumber = creditCard.cvc,
STPCardValidator.validationState(forNumber: cardNumber, validatingCardBrand: true) == .valid,
STPCardValidator.validationState(forExpirationYear: "\(creditCard.expYear)", inMonth: "\(creditCard.expMonth)") == .valid,
STPCardValidator.validationState(forCVC: cvcNumber, cardBrand: STPCardValidator.brand(forNumber: cardNumber)) == .valid

Question
I want to test a UnionPay (19-digit card) card. According to the card number provided in the documentation, it is 6205500000000000004. However, when I call the `STPCardValidator`'s `validationState`, it returns "invalid". After checking the code, I found that the card number does not match with the 621598 range in `STPBINRangeInitialRanges`.
Do you have any other UnionPay (19-digit card) test card numbers?
Or how should I configure it?
Thank you!

What have you already attempted?
When I try to skip the `validationState` and directly enter the test card number 6205500000000000004, the payment goes through successfully.

What are you working on?
Travel e-commerce platform

cursive heronBOT
#

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

Code
public Map<String, BigDecimal> getAllRates(String baseCurrency) throws StripeException {
ExchangeRate ex = ExchangeRate.retrieve(baseCurrency.toLowerCase());
return ex.getRates();
}

Question
I test with http://localhost:8080/api/exchange-rate/EUR in postman and i get
{
"error": "Stripe API error: Unrecognized request URL (GET: /v1/exchange_rates/eur). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.; request-id: req_ilzXXYPSVg9v32"
}

What have you already attempted?
I've seen that it might be a version problem so I tried to switch it but it doesn't work
<dependency>
<groupId>com.stripe</groupId>
<artifactId>stripe-java</artifactId>
<version>29.0.0</version>
</dependency>
@Configuration
public class StripeConfig {

@Value\("${stripe.secret.key}"\)
private String secretKey;

@PostConstruct
public void init\(\) {
    Stripe.apiKey = secretKey;

}

}

cursive heronBOT
#

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

Question
I have trouble understanding Bacs payment processing for one of live account customers. When I attempt Bacs payment in test mode, I receive `charge.pending` event - that's how I know that payment processing started. But for one of live mode customers I didn't receive such event. I got subscription.created, then subscription.updated (transitioned to active status), but no charge related event. Also, it's been almost a week since subscription was created, and corresponding invoice/payment intent objects don't have any info about any charge associated with them.

Related Event ID(s)
evt_1RIpp4AfeA2DsZPucckyzNls, evt_1RIpp5AfeA2DsZPuRJZemAoK, evt_3RIpp1AfeA2DsZPu03ZnwOar

What have you already attempted?
I tried to reproduce the behavior in test mode, but I receive the necessary event

cursive heronBOT
#

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

Code
```js
const elementsCB = stripe.elements({
clientSecret: '{{ clientSecretCB }}',
appearance: appearance,
fonts: [
{
family: 'Montserrat',
weight: '400',
src: 'url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format("woff2")',
},
],
});
```

Question
I want to use a custom font in my Stripe Element.

What have you already attempted?
I have read the documentation...
https://docs.stripe.com/elements/appearance-api
https://docs.stripe.com/js/elements_object/create#stripe_elements-options-fonts

What are you working on?
Symfony PHP

cursive heronBOT
#

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

Error Message
> Task :stripe_stripe-react-native:compileDebugKotlin FAILED
e: This version (1.3.2) of the Compose Compiler requires Kotlin version 1.7.20 but you appear to be using Kotlin version 1.9.25 which is not known to be compatible. Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).

Question
is it possible to get stripe react native .45 with new arch to work for expo 52 for android?

What have you already attempted?
looked into github but no one seems to have a solution. upgrading do expo 53 is not a trivial/fast task so not an option and i want to new arch so i need at least stripe .45

Reproduction Steps
create an expo app in 52 and add .45 stripe version

What are you working on?
expo app, for banking

#

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

Error Message
bancontact not acceptablehttps://app.screencast.com/7YuzB5RGjZQ0u?conversation=z2vRgUPV0dzELGabdhmwmv

Question
why it show like this?
in stripe dash board it show like above given screenshot

What have you already attempted?
nothing

cursive heronBOT
#

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

Question
Provide me detail how to Implement ACH in nodejs
I already implemented but i that is not the right way

Related Request ID(s)
myfirstquestion

What have you already attempted?
Already implement API for this

What are you working on?
ACH payment integration in nodejs and angular

cursive heronBOT
#

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

Question
When creating a Setup Intent for a connected account, is it possible to use an existing external account by specifying its ID with payment_method, instead of providing the bank account details manually via payment_method_data?

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

What are you working on?
We have a billing flow for our customer where we create setup intent using customer bank account details.

cursive heronBOT
#

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

Question
I do not understand the refund process and why it failed.

Related Request ID(s)
req_9Sn4VfXvWmGQ24

What have you already attempted?
I am testing so that customers can request refunds for purchases they have made. But the following flow has puzzled me, how can it go from pending > accepted > rejected status. Is this possible? Can you give me more visibility on how this works to prepare my system well for these scenarios?

#

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

Question
We have a customer who is trying to use a promo code and it's telling them it's invalid. We did reuse the promo code UPGRADE20 when creating some new coupons. We haven't had anyone else run into issues using it.

Do you have any ideas why they'd be having issues? We had them clear their cache, but they said that didn't fix the issue.

Related Request ID(s)
NA

What have you already attempted?
We had them clear their browser cache. I've asked them what browser they are using.

What are you working on?
A SAAS product

cursive heronBOT
#

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

Question
I am integrating the embeded checkout into my app and when I try to pass the customer id to the checkout session create, it doesn't load the form. Documentation says that we can pass. If this is not passed, a new customer account is created ever time. How to solve this?

Related Request ID(s)
No request id as the page didn't load

What have you already attempted?
Adding the customer's stripe id to the create checkout session prevents the checkout form from loading.

What are you working on?
Building the checkout function to enable subscription for the customer.

cursive heronBOT
#

@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/apple-pay?platform=web#verify-domain

Question
Do we need to do anything with Apple Pay on the Apple side of things to make sure Apple Pay on Web continues to function via Stripe?

Things like renewing the payment processing certificate, merchant id certificate, and domain association verification. The documentation seems to imply Stripe handles the work for these renewals.

What have you already attempted?
Nothing yet. Trying to see if there is anything required from our end.

#

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

Code
payment_method = stripe.PaymentMethod.create(
type="us_bank_account",
us_bank_account={
"account_holder_type": account_holder_type,
"account_number": account_number,
"routing_number": routing_number,
},
billing_details={
"name": account_holder_name,
"email": user.email,

Question
Hi! The platform account for my Stripe Connect setup is registered in Canada, but I want to enable users in the United States to authorize future debit bank payments.

Since I need to use microdeposit verification, I’ve implemented that flow — but I’m not sure it’s working correctly. It has been over 3 business days, and I don’t see the ACH charge in my bank account.

I believe the only webhook events for microdeposit verification happen after the process succeeds or fails

What have you already attempted?
I have tried several solutions and do not see the microdeposit amounts on my bank account so i can not verify

What are you working on?
I want users to authorize future payments for US and Canadian users on my connected platform account registered in Canada

#

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

Question
How do I pass an fx_quote when creating a checkout session?

Related Request ID(s)
API Docs > Checkout Sessions > Create a Checkout Session

What have you already attempted?
`payment_intent_data` does not allow for an `fx_quote` parameter, so I'm out of ideas.

What are you working on?
Multi-currency, multi-vendor marketplace for digital products

#

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

Question
Stripe Identity for Connected Accounts

Related Request ID(s)
make calls to collections customers identity details on behalf of a connected account

What have you already attempted?
I have set this up using standard platform connected accounts, however i get an error saying i don’t have permission to make this call on their account. how do i request / setup support for our platform the make identity requests on behalf of our platform connected accounts

cursive heronBOT
#

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

What did you expect to happen?
I am getting negative balance in my UI, I want to know more about it.

What actually happened?
I am sharing the screen shot of message it is showing on the UI for negative balance.

Reproduction Steps
Please consider the screenshot for the further problem.

Question
Getting negative balance on my UI.

What are you working on?
Working to integrate stripe account to my company's website.

#

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

Question
I had created a thread in the morning and now it has been closed. The issue hasn't been resolved. How do I get the thread opened again?

Related Request ID(s)
No request id as the page didn't load

What have you already attempted?
tried opening the thread but it doesn't let me. Only moderators can reopen the thread it seems like.

cursive heronBOT
#

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

Code
I am trying to retrieve the subscription datails from customer id generated for the user, using the doc provided by you.

Question
I am getting the wrong plan name even which is not created on the account.

What have you already attempted?
I am using the customer stripe id to get the subscriptin details.

What are you working on?
Working on integration of apis to make subscription payments and get subcription details for the user of my company.

cursive heronBOT
#

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

Question
How can I pass the zipcode data for Apple pay transaction. We can see transaction downgrades because of missing the zipcode. We would like to optimize it to reduce the interchange cost.

Related Request ID(s)
ch_3R89DkA1KmcXQec817xZ93lz,ch_3R89DcA1KmcXQec81B2fjSrC,ch_3R89BSA1KmcXQec80IHB126W

What have you already attempted?
Try to pass the zipcode through the shipping address information but it still shows the zipcode is missing

cursive heronBOT
cursive heronBOT
#

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

Question
It's possible to trigger payouts through API on dev enviroment?
I need to trigger a automatic payout to test my flow. I can't use the manual payout because I need the balance details for my integration to work.
I read something about the instant payouts but I understand that this is a different type of payouts and I didn't know if this would have a different flow for my application.

Related Request ID(s)
N/A

What have you already attempted?
I tried to run manual payouts, to retrigger past payouts (work, but I need to ensure that new payouts work well too) .

What are you working on?
CRM that send proposals to customers and after they accept the proposal, we schedule the payments .

#

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

Question
While we are testing an upgrade to a newer version of the API we moved to v2022-08-01 to do some tests. After switching back (in test mode) to an older version now we are getting this error:

You cannot perform this action on PaymentIntents created by Checkout. Try expiring the Checkout Session instead. See https://stripe.com/docs/api/checkout/sessions/expire for more details.

This happens when trying to cancel a payment intent, which is supposed to be an operation supported prior to v2022-08-01 and that we are actually doing in production.

Why is test mode not allowing it anymore?

Related Request ID(s)
req_IEUHr8GJ0dACIt

What have you already attempted?
Just downgraded the API version that is sent through each request as we were doing before but we still get the error.

What are you working on?
API integration (with Ruby bindings) for our customers that charge their services through Stripe

cursive heronBOT
#

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

Question
When sending a payment link. It will automatically convert to the local language of your client, correct? Do we have an option to turn this feature off?

Related Request ID(s)
N/A

What have you already attempted?
I just want to confirm if this applicable only for Checkout? Or will this affect if I send Payment Links as well?

What are you working on?
Checkout page/Payment Links

#

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

Question
Hi, I'd like to add rate limiting to some of my endpoints in order to prevent card testing fraud. Specifically the endpoint which is responsible for calling `stripe.checkout.sessions.create()`. The issue is, once a checkout session is created, an attacker can keep trying new cards using the same session as long as the cards keep failing, so I have no way of incrementing a counter for rate limiting. What is the recommended way to deal with this? Or is it generally ok to just not bother and let stripe checkout deal with fraud prevention?

Related Request ID(s)
pi_3RLUGaInjg0JXg3S0ztORMV9

What have you already attempted?
I enabled most radar rules, but we don't have a Radar for Fraud Teams subscription so we don't have access to rules like :card_count_for_ip_address_daily:

What are you working on?
A subscription service for https://pelicanparty.games/

cursive heronBOT
#

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

Question
How can I pass zipcode information for Apple Pay transaction. There are some transactions missing the zipocde, which results in downgrades and the interchange cost increases. I would like to optimize it to reduce the cost

Related Request ID(s)
ch_3R89DkA1KmcXQec817xZ93lz,ch_3R89DcA1KmcXQec81B2fjSrC,ch_3R89BSA1KmcXQec80IHB126W

What have you already attempted?
I am using the Stripe iOS SDK and try to pass the zipcode information with shipping address. However, it still shows zipcode information is missing.

cursive heronBOT
#

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

Error Message
Something went wrong
We were unable to establish a secure session. If you need help, please

Question
I don't have any questions, just help me verify my identity.

What have you already attempted?
It just gives an error and I can't verify my identity.

Reproduction Steps
There is a problem, please support

What are you working on?
Bot

cursive heronBOT
#

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

Question
Can I please confirm that my plan for having people sign up for subscriptions will work? I want to have the processed divided into seperate steps -> payment, confirm, complete.

Related Request ID(s)
NA

What have you already attempted?
First product + price are setup already. Then I create subscription with payment_behavior=default_incomplete. That will return latest_invoice, which I can lookup the invoice with expanding confirmation_secret. This will get me the paymentIntent client secret. I then can do confirmation on the paymentIntent. Is this all correct? Is there a way to get the paymentIntent code for my database?

cursive heronBOT
#

@dense saddle pressed 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=setup

Question
The order of events is not clear to me. I've completed Step 3 and have the payment form displayed along with my Submit button. What should I be doing once the user clicks Submit? Is that when I create the Customer and Setup Intent on my server? Do I need to access the payment info entered by the Customer to do that and if so how do I access that? How do I trigger Stripe to validate what the user has entered? Thanks.

What have you already attempted?
See above

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment-deferred

Question
I'm trying to determine if Submit() is actually needed if a setup intent client secret has already been created. I get this error, even though I have instantiated stripe with the client secret..

Unhandled exception rendering component: elements.submit() must be called before stripe.confirmSetup(). Call elements.submit() as soon as your customer presses pay, prior to any asynchronous work.

What have you already attempted?
I've tried calling Submit but then I get errors after

What are you working on?
New integration

cursive heronBOT
#

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

Error Message
You cannot create transfers until you activate your account. Visit https://dashboard.stripe.com/account/onboarding to submit your account application.; code: transfers_not_allowed; request-id: req_D8jKdlH8ouExY1

Question
Hi Team,

So I am on my personal sand box exercising Stripe Connect.
I connected to my Test Credentials and using a Test Connect Account.

I am able to exercise Transfers using
payment_intents api, but this errors while using transfers api.

Can you point me to what I am doing wrong or what I am missing.

What have you already attempted?
Stripe/v1 JavaBindings/27.1.1

I tried the TransferObject via
PaymentIntentCreateParams.TransferData.builder
This is working as expected.

When I try to exercise using
TransferCreateParams
I just keep on getting the highlighted error.

I double checked my sandbox credentials.
I am using valid Test Stripe Account Connect as destination.
I am using a valid charge i

What are you working on?
Stripe Connect Adoption

#

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

Question
When making an api call with the ruby gem to create a charge, has it always been the case that the application fee gets subtracted from the amount passed in as "amount" vs you passing in the amount that the connected account would receive with the "amount" field and the application fee the platform would receive separately?
ex:
Stripe::Charge.create({
:amount => order.amount_for_connected,
:currency => "USD",
:source => params[:stripeToken],
:application_fee => order.application_fee,
:description => "business" })

Related Request ID(s)
req_Dm9m9b1uMIQ1DT

What have you already attempted?
I've tried looking for documentation from older versions of the api - I updated laster year after being on the same gem version for 6+ years

What are you working on?
store with connected accounts

cursive heronBOT
#

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

Code
$price = $stripe->prices->create([
'currency' => $currency,
'unit_amount' => $amount,
'product_data' => ['name' => $order->code],
]);
$invoiceItem = $stripe->invoiceItems->create([
'customer' => $stripeCustomer->id,
'price' => $price->id,
]);
$invoice = $stripe->invoices->create([
'customer' => $stripeCustomer->id,
'collection_method' => "send_invoice",
'currency' => $currency,
]);
$stripe->invoices->finalizeInvoice($invoice->id, []);

Question
I want to create an invoice for a customer, but the invoice shows a 0 amount.

What have you already attempted?
This code works for other Stripe accounts, but it does not work for the new account I created.

cursive heronBOT
#

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

Code
my.init = function (cardNumberId, cardExpiryId, cardCvcId, zipCodeId, style) {

    function createElements\(\) {
        lelements = stripe.elements\(\);
        /\*\*
         \* @type {{
         \*      mount\: \(any\) =\> void;
         \*      on\: \(
         \*          type\: string,
         \*          event\: \(params\: { brand\: 'visa' \| 'mastercard' \| string } & Event\) =\> void
         \*      \) =\> void
         \* }}
         \*/

Question
I am using express checkout element and the google pay popup is not updating the amount. What can i do. When i add the code in click function, the popup is not being opened

What have you already attempted?
added it to init

cursive heronBOT
#

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

Question
Weird stripe element glitches ever since switching from test mode to sandbox.

  1. "No customer session with that client secret was found" Error on the dev server but not on dev localhost?

  2. On stg environment, the component doesn't load at all.

I've never had an issue with these components until i switched to sandboxes two days ago.

I don't know how to debug this, to be honest

Related Request ID(s)
na

What have you already attempted?
Checking i'm hitting the same endpoint in localhost and server

cursive heronBOT
cursive heronBOT
#

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

Code
I want to change transaction description for charges triggered by subscription

Question
My goal - refine and expand Stripe transaction tracking by introducing more specific statuses in the description field to improve clarity and categorization. Need to apply for initial transactions and rebill charges

What have you already attempted?
tried to use description field in create subscription request
https://docs.stripe.com/api/subscriptions/create

What are you working on?
We use stripe subscriptions for monetization

cursive heronBOT
#

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

Question
When invoice is created I want to finalize it and pay the invoice immediately

Related Request ID(s)
N/A

What have you already attempted?
On catching the invoice.created event i finalize the invoice, but sometimes it goes to open an not paid

#

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

Code
guard let creditCard = payment.card,
let cardNumber = creditCard.number,
let cvcNumber = creditCard.cvc,
STPCardValidator.validationState(forNumber: cardNumber, validatingCardBrand: true) == .valid,
STPCardValidator.validationState(forExpirationYear: "\(creditCard.expYear)", inMonth: "\(creditCard.expMonth)") == .valid,
STPCardValidator.validationState(forCVC: cvcNumber, cardBrand: STPCardValidator.brand(forNumber: cardNumber)) == .valid

Question
I want to test a UnionPay (19-digit card) card. According to the card number provided in the documentation, it is 6205500000000000004. However, when I call the `STPCardValidator`'s `validationState`, it returns "invalid". After checking the code, I found that the card number does not match with the 621598 range in `STPBINRangeInitialRanges`.
Do you have any other UnionPay (19-digit card) test card numbers?
Or how should I configure it?
Thank you!

What have you already attempted?
When I try to skip the `validationState` and directly enter the test card number 6205500000000000004, the payment goes through successfully.

Hi, sorry my previous thread was closed because I wasn’t able to respond in time due to other commitments.
conversation here.
#1368885566375985267 message

Thank

What are you working on?
Travel e-commerce platform

cursive heronBOT
#

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

Question
We are integrating Stripe with our own e-commerce platform. Each product is linked to a Stripe price ID. However, we need the ability to dynamically adjust the price at the time of checkout, due to internal credits and referral bonuses applied on our platform.

Scenario:

A product costs $500

A user applies $200 worth of internal credits

We want to charge only $300 via Stripe
Is there a way to dynamically adjust the payment amount via API?

If not, can we implement a prepaid "top-up" flow:

Users pay via Stripe (e.g. $100)

Once we receive the webhook, we credit $100 worth of points to their

Related Request ID(s)
req_f4fW0V9CbNg7Ow

What have you already attempted?
We are using price_id with PaymentIntent and checkout session. But since the amount is fixed, it doesn’t reflect dynamic calculations based on points and bonuses. We've checked Stripe Docs but cannot find a way to dynamically change price.

What are you working on?
A custom e-commerce platform that uses Stripe Checkout to collect payments, with internal point and reward logic.

#

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

Code
This is my request req_a0ANqMrZpZs2o8

Question
When i create schedule subscription, the phase2 i define start_date = 1778049610 and iterations = 1.
On my stripe dashboard, i saw the schedule phase2 i start from 1778049610 until forever.
Is this correct?

What have you already attempted?
I couldn't find anything related to my question

What are you working on?
Create subscription schedule

#

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

Error Message
message: 'An error occurred with our connection to Stripe. Request was retried 2 times.',
detail: Error: getaddrinfo EBUSY api.stripe.com
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
errno: -16,
code: 'EBUSY',
syscall: 'getaddrinfo',
hostname: 'api.stripe.com'

Question
We're trying to update/create meterEvents. We are probably running around 500++ requests at *once*

What have you already attempted?
Nothing yet, might try a normal for loop

Reproduction Steps
const results = await Promise.allSettled(
usages.map(async ({ totalStorage, customerId }) => {
const totalSizeGB = (totalStorage / 1024 ** 3) | 0; // bitwise OR 0 for int truncation
if (totalSizeGB <= 0) return;

    try {
      await stripe.billing.meterEvents.create\({
        event\_name\: "storage",
        timestamp\: now,

What are you working on?
SaaS

cursive heronBOT
#

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

Question
I have a partner I want to provide a separately branded Stripe hosted checkout session, Stripe sent invoice and subscription schedule.

Is this best done through a Stripe connect account (unsure whether Express or None, we want to control it on their behalf)

The connect part is confusing me.

When capturing a checkout session payment with parameters
payment_intent_data.on_behalf_of
and
payment_intent_data.transfer_data.destination
set to the same connect account ID.

Does this now mean the account will pay additional fees on top as its a connect account payout?
e.g., if I do on_behalf_of but no destination, would the payout now be feeless?

Doc/Guide Links
https://docs.stripe.com/invoicing/connect
https://docs.stripe.com/connect/direct-charges
https://docs.stripe.com/connect/onboarding/quickstart

What are you working on?
Whitelabelled solar quote and install pipeline

cursive heronBOT
cursive heronBOT
#

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

Question
I try to preview upcoming invoice from an active subscription that having subscription schedule.

I try to send two request with two different payload (schedule_details.phases), the amount i get is the same.

Can help me to understand why is that?

Related Request ID(s)
req_I9HhoFwkggzcHD, req_49XDnqRV1TwJPb,

What have you already attempted?
Based on the doc https://docs.stripe.com/api/invoices/create_preview

I not really understand why different phases defined will get the same result amount

What are you working on?
preview invoice

#

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

Question
The issue: when I create subscription on a second payment, a new payment method (PM) is added to a customer in Stripe Dashboard no matter what arguments I provide in subscription create API (Node SDK).

Tried:
1) Saving PM as a default customer payment during first payment and reuse it on a second payment by passing manually default payment method in subscription create arguments;
2) Saving PM as a default customer payment and then create subscription without passing explicitly PM;

However PM still adds...

Q: What I am doing wrong? What are the beast practices to avoid adding PM in Dashboard in Apple/Google Pay on each payment?

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

What are you working on?
I want to integrate subscriptions in my app. I am using only Apple and Google Pay. Each payment is a new subscription

cursive heronBOT
#

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

Code
terminalInstance.getInstance().retrievePaymentIntent(
clientSecret,
object : PaymentIntentCallback {

Question
The retrieve payment intent function is very inconsistent. Sometimes it adds a client secret query param to the api request, and other times it doesn't. The function returns an error when the api call is made in this format:
`https://api.stripe.com/v1/payment_intents/pi_....?client_secret=pi...`, when it works the request does not have the query param.

What have you already attempted?
I have tried looking at the stripe logs in my dashboard
And i see two different get requests types.
The passing one has a pst_live api key and the other one uses an sk_live key

cursive heronBOT
#

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

What did you expect to happen?
I'm working on connect account embedded on boarding. I've got embedded component loading and I was expecting the onboarding form to display (name, business, etc, etc.)

What actually happened?
The embedded component loads but it simply displays a message Add information to start accepting money and then shows a blue button that says Add information. When I click the button it launches a new browser window and takes the user through the non embedded onboarding flow.

Reproduction Steps
I make this call to get account session
const session = await stripe.accountSessions.create({
account: stripeAccountId,
components: {
account_onboarding: {
enabled: true
},
}}
a client_secret is sent to the html page and the embedded form is intialized and loaded.

Question
I want to know how to make it so the actual embedded form displays rather than just a button that launches the non embedded form.

What are you working on?
We are building a payment system to payout worker at high school sporting events.

cursive heronBOT
#

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

Question
Considering recent developments in terms of Apple allowing subscribtion payments from differnt providers, can we integrate Stripe payments directly into mobile apps on Apple and Androind without using some other solutions like RevenueCat?

Related Request ID(s)
no_id

What have you already attempted?
used RevenueCat

What are you working on?
Mobile app with paid subscribtions

#

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

Code
stripe with ach issue

Question
{
error: {
message: "The 'on_behalf_of' param cannot be set to your own account.",
param: 'on_behalf_of',
request_log_url: 'https://dashboard.stripe.com/acct_1PbaxeJRoJfA1S16/test/logs/req_ycn9MQglFzR1jI?t=1746534693',
type: 'invalid_request_error'
}
} StripeRequestWithApplicationFee

What have you already attempted?
stripe with ach issue

What are you working on?
stripe with ach issue

cursive heronBOT
#

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

Question
I am trying to make payment refunds.

Related Request ID(s)
req_uFSde49cq4EO0T

What have you already attempted?
I am testing returns, and I am testing with the card that accepts the return and then rejects it. In the first test it worked fine, now when I try to make another return of another item of that purchase, it has thrown me an error that I do not understand why it is. Can you help me understand why this happened? So I can prepare the API for it.

#

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

Question
Using Python SDK 12.1 and Python 3.12.10, From the docs I am expecting to get back proper event related stripe classes (stripe.Invoice...) using stripe.Webhook.construct_event(...).data.object.

However, VSCode hints are saying that the result is a dict, and Pyright is giving me an attribute error trying to access say .id.

Am I misunderstanding the functionality here, and I really need to cast or use some converting function to get the Stripe object?

Related Event ID(s)
None

What have you already attempted?
Looking at the docs I could find

What are you working on?
Webhook for SaaS product

#

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

Question
I have a subscription scheduled created which should have ended at start of the day today. But it's still active. Please check

Related Request ID(s)
sub_1RKkp9DmBV82bgp2QjUP7SJq, req_H0aqPwEQ7UDiON

What have you already attempted?
Checked it. Subscription should have been canceled by now

cursive heronBOT
#

@ebon oar pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
M2 readers continue working after 1st May.

What actually happened?
M2 reader stopped working on 1st May.
Multiple working readers stopped working without any apparent reason.
It is not global, only 30-50% of the registered M2 readers are experiencing this issue.

Reproduction Steps
Delegate a payment to Bluetooth reader.

Question
Was there a software update pushed by Stripe around that date that could have caused this?

What are you working on?
no active development in the payments area

#

@iron solar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, getting an error for period_start and period_end while trying to create an invoice.

Not sure what i am doing wrong, appreciate help!

Related Request ID(s)
none

What have you already attempted?
checked invoice api

#

@gentle summit pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi is it possible to create a one time payment with an application_fee_percent when creating a checkout session using direct charge on stripe connect? it's available here for subscription data

```ts
subscription_data: {
application_fee_percent: currentAppPlan.transactionFeePercent
},
```
But how does it works for a one time payment? thanks!

Related Request ID(s)
none

What have you already attempted?
checked: https://dev.to/stripe/taking-a-cut-with-stripe-connect-1kjk and the api ref but i'm not sure what's the best way to achieve it

#

@uneven crag pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using Custom Payment Method Types. What is the correct way to create a payment intent and if the user chooses the custom type, I confirm it in my backend manually?

Related Request ID(s)
req_Ax4t39SmudZZTG

What have you already attempted?
Tryied different ways to use the custom id, during the creation or during the confirmation.

All good with the payment elements thou.

#

@summer bluff pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
[2025-04-21 17:06:26] local.ERROR: Could not connect to Stripe (https://api.stripe.com/v1/subscriptions/sub_1OUaPjL0LGx3KG7eXH7n8onq). Please check your internet connection and try again. If this problem persists, you should check Stripe's service status at https://twitter.com/stripestatus, or let us know at support@stripe.com.

(Network error [errno 6]: Could not

Question
when trying to login and visit the stripe related pages, the connection error pops out. This site is developed in laravel 5.
Screenshot: https://prnt.sc/dTCSxfCgqZQN

https://academy.picbe.de/login

What have you already attempted?
We have tried to restart the server and firewall once. when doing this this issue will be fixed and again after 4 to 5 days it will start to re-occur again

What are you working on?
We are still trying to figure put but no permanent solution

#

@lime bear pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Stripe provide or will you provide surcharge support on token based transactions? At this time it looks like you only provide support for terminal based transactions (according to https://docs.stripe.com/terminal/features/surcharges)

Related Request ID(s)
N/A

What have you already attempted?
Initial exploration

What are you working on?
surcharging for our merchants

cursive heronBOT
#

@steady oriole pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working in stripe payment intent api and with client secret it is showing payment element on front end and I want to block AMEX card my payment method is only card

Related Request ID(s)
no

What have you already attempted?
not yet

What are you working on?
Full stack web development

cursive heronBOT
#

@unkempt zephyr pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
We had the following error during checkout for an exam: {"status":404,"message":"Unrecognized request URL (GET: /v1/checkout/sessions/). ","type":"invalid_request_error"}

Question
I’m encountering an intermittent issue where our checkout success redirect does not include the session_id query parameter. Even though our success_url is configured as: https://ardanlabs.training/checkout-success?session_id={CHECKOUT_SESSION_ID}. What would cause Stripe to redirect to the success_url without including the session_id?

What have you already attempted?
Confirmed there are no overrides of query parameters on our end.
Added server-side logging and error-catching for missing session_id, to be alerted when it occurs.

Reproduction Steps
We have not been able to reproduce this yet.

What are you working on?
I’m integrating Stripe’s Hosted Checkout Page into my web service.

#

@silver rose pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to handle a subscription with 2 items, where one of the items get increased from quantity 1 to 5 (proration invoice immediately). After that the user then wants to decrease to quantity 3 (marked for the end of the billing period / no refund)

and then increases the quantity back to 4 (no charges made until period, because already invoiced).

How is this process to be handled?

Related Request ID(s)
sub_1RLMkTI0QT6ifN922UWwr6VQ

What have you already attempted?

  1. Checkout Session for initial subscrip.
  2. previewUpcoming to show change in subscription payments
  3. subscription update to meet new quantity

now im planing to use subscription schedule but its not clear for me how to use properly, when quantity is changed back and forth.

The next approach might be:

  1. subscription.update only in case of "increasing the quantity"
  2. subscription schedule create for existing subscription with changed quantity?
  3. update on schedule?

What are you working on?
subscription model for license and additional per_unit good

#

@willow holly pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/what-is-a-non-card-payment-method-or-a-local-payment-method-(lpm)#:~:text=Stripe offers many non-card,to use cash or card.

Question
Does Stripe allow a required credit card to be on file when they select "mail in a check" ?

What have you already attempted?
Searching the web

What are you working on?
Payment dashboard

cursive heronBOT
#

@hexed cloak pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Apple Pay and Google Pay (using express checkout element) should behave the same when an address or shipping rate is changed.

What actually happened?
onShippingRateChange is not triggering when changing the address option for Google Pay.

Reproduction Steps
Use Google Pay to checkout, change the shipping rate, change the shipping address and observe how it doesn't trigger the onShippingRateChange as it does for Apple Pay.

Question
I would like to confirm that this is happening for others and if there's a reason why the behaviour is different for both integrations.

#

@left pendant pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Cannot reuse customer payment method from Apple Pay for subsequent payments without avoiding creating a new payment method in a customer object. How I can do this?

Related Request ID(s)
req_eA3F3pQmJYfFup, req_XE3KH9NIBCpPaq , req_ETiO19W2wvoLDF, req_YByfYJDjXOyL5R

What have you already attempted?
Tries to put default_payment_method in a create subscription API and put there payment method from a fist payment

What are you working on?
I am tryin to reuse payment methods with Apple Pay

#

@devout basalt pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
So there's been a lot of breaking changes introduced in recent API versions and if I use new account, stripe CLI sends events in a new format and my application crashes. I have no problem using old account with older api version that works well with my application. The problem is that when a new dev joins a team and creates new stripe account - I don't see an option for them to downgrade api to the version the team uses. So, is it possible to set older api version when creating new account? Or what are my other options?

Related Event ID(s)
-

What have you already attempted?
I tried running stripe cli with --stripe-version, as described here - https://docs.stripe.com/stripe-cli/overview#specify-an-api-version-while-running-requests. But apparently it doesn't work with listen subcommand

#

@tame tendon pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expected to not see the link button shown in payment sheets on iOS and Android

What actually happened?
Link Buttons are still visible on payment sheets

Reproduction Steps
Disabled Link on the dashboard for both prod and test mode. Setup the Stripe Payments SDK with intents

Question
How do i get the link buttons to not show up?

#

@dapper totem pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Charges and payouts are paused
Contact support for more information.

Question
Dear Stripe Support,

My account has been paused, and I have already submitted all the requested information for verification. I kindly ask you to review my account and reactivate it as soon as possible.

If any further documentation or action is required from my side, please let me know.

Thank you in advance for your help.

Best regards,

What have you already attempted?
I have already tried to contact support by email, but no response.

What are you working on?
We are working on a gaming server hosting site

#

@candid crypt pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have connected test Stripe to test RevenueCat App, it should have created a webhook but didn't. Payments and products from Stripe do not go through to RevenueCat.

Related Event ID(s)
evt_1RLo8eKuOZlfLiod1zbD6ZqG

What have you already attempted?
Tried to disconnect and reconnect apps

What are you working on?
Web billing with RevenueCat + Stripe

cursive heronBOT
#

@rapid siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating a SetupIntent to collect the customer's payment method and then perform the charge. And I want to enable card payments, sepa debit and bank transfer.

Related Request ID(s)
N/A

What have you already attempted?
The following code is mine, but I don't know what to put in payment_method_types, currently I have ‘card’ and ‘sepa_debit’, but what should I put for bank transfers?

cursive heronBOT
#

@safe notch pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I understand that after an initial successful subscription, a `checkout.session.completed` event is triggered. Now I want to handle only the subsequent successful recurring payments, which I believe are associated with the `invoice.payment_succeeded` event.

I noticed the example repository I'm referencing is still using Stripe API version 72, whereas my app is using version 82. Is there an updated example that demonstrates handling this with version 82?

Also, am I correct in thinking that:

  1. `invoice.pay...` containsthe metadata I attached initially for said subscription?
  2. A new subscription is created for every successful `invoice.pay...`

Doc/Guide Links
https://github.com/stripe-samples/subscription-use-cases/blob/main/fixed-price-subscriptions/server/go/server.go#L316

What are you working on?
web application that manages subscriptions

cursive heronBOT
#

@bleak arch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are looking at using Radar for Fraud Teams. We are looking at using the API to run checks against transactions that are flagged as Early Fraud Detection. We are seeing an uptick in disputes and would like to prevent or catch these before they become disputes.

Is Radar for Fraud teams needed?

Related Request ID(s)
Radar for Fraud Teams

What have you already attempted?
This is exploratory. We have set up basic Radar rules already using our basic Radar account.
From our understanding Radar for Fraud Teams has more functionality

What are you working on?
Webstre

cursive heronBOT
#

@winged ridge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can the user error messages returned by the webhook events be localized?
I was expecting that it would respect the locale the confirmation token was created with.

Related Request ID(s)
req_vtVEgNeg9IEoo7

What have you already attempted?
Changing the locale when configuring the Elements object.

What are you working on?
Website with manual capture flow

#

@warped crest pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're suddenly seeing test clocks fail to advance under certain circumstances. Creating a trivial clock works: it advances in under a second. But I have a self-contained reproduction script where the clock never actually advances.

Related Request ID(s)
req_XDv6uOcdKw8JsQ

What have you already attempted?
An integration test that worked for over a year has started failing because a test clock stays in "advancing" status forever. A self-contained repro script confirms the behavior on multiple machines. Prior to today, this integration test passed without issue for over a year. No code in the system has changed since it last passed in CI, so this is not the result of a code change. Now it fails 100% of the time both in CI and on local dev machines, mirroring the behavior in my repro script.

What are you working on?
A subscription-based interactive education product.

cursive heronBOT
#

@deft python pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Would it be possible to create Dispute testing card numbers (https://docs.stripe.com/testing#disputes) for the following scenarios?

- A Dispute's outcome is changed after being closed i.e. Going from Won to Lost or Lost to Won
- A Dispute has been resolved due to Visa's RDR
- A Dispute which has been resolved via Visa's RDR has been reversed

Related Request ID(s)
N/A

What have you already attempted?
Given that this can happen in Production environments, it would really help us if we could test these scenarios in our non-prod environments, thanks!

What are you working on?
Tracking money movements within Stripe

cursive heronBOT
#

@uneven crag pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm not finding the way to get a payment intent ID from a finalized invoice.

Related Request ID(s)
N/A

What have you already attempted?
Via dashboard, everything works as expected. But not sure how to get the PI via API.

cursive heronBOT
#

@clever olive pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```
const { error: submitError, paymentIntent } = await stripe.confirmPayment(
{
elements,
redirect: "if_required",
confirmParams: {
return_url: window.location.href,
},
}
);
```

Question
When using react-stripe-js and stripe-js and trying to process an apple pay payment, I get an error of "Please fill in your card details" before apple wallet opens up.

What have you already attempted?
Read the docs, checked out examples

What are you working on?
Website accepting subscriptions

cursive heronBOT
#

@low shell pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
being able to add monetization to my discord bot

What actually happened?
this error on the discord development page "After reviewing your payout information, we determined that we need to collect additional information to make a sound decision. Edit by clicking the button below."

Reproduction Steps
just trying to add payout information

Question
discord is asking me this "We need to collect information on how to pay you before you can sell on Discord. This is securely collected by a third-party company." and below it says "STRIPE" (edit payout info) when i do get there, all i get is the STRIPE website page but nothing to do, and i cant change my info bc they are correct so what should i do?

What are you working on?
Discord bot

cursive heronBOT
#

@lime bear pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Stripe provide or will you provide surcharge support on token based transactions? At this time it looks like you only provide support for terminal based transactions (according to https://docs.stripe.com/terminal/features/surcharges) We are interested in the information you make available via the terminal APIs, like surcharge.status and .maximum_amount that you provide in the reader object, but for payment intents using tokens

Related Request ID(s)
N/A

What have you already attempted?
Exploring surcharges

What are you working on?
Surcharges for our merchants

cursive heronBOT
#

@karmic root pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to retrieve date of birth of connected acount after verification information (by KYC for example) to update my plateforme ?

Related Request ID(s)
Don't know

What have you already attempted?
I have tried stripe.accounts.retrieve, but there is not the date of birth.

#

@minor ferry pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using direct charge to express account, how to get stripe processing fee based on paymentIntent or charge?

Related Event ID(s)
payment looks success

What have you already attempted?
I've done all things that I can

#

@grand mist pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does setting the collection method as "send_invoice" make the customer eligible for a bank transfer payment?

The customer is a credit card paying customer but instead of the invoice having a collection method of "charge_automatically" it has a collection method of "send_invoice" from the start. The customer did not link a credit card and now we the "USD cash balance" on them which makes them eligible for bank transfers.

Related Request ID(s)
req_iOimuHxXualgyP

What have you already attempted?
Looked at documentation

What are you working on?
PaymentIntent API.

cursive heronBOT
#

@trail quarry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to hide th 1-link account creation form in the stripe elements for react, it automatically appears when I input the card details. I don't want this option on my platform. thanks

Related Request ID(s)
-

What have you already attempted?
tried paymentMethodOrder but no luck

cursive heronBOT
#

@ivory olive pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Payment_intent responding as successful in Elements and the charge occurs

What actually happened?
I have two payment intents that appear to have been returned with a status of succeeded but then looking into the event logs for both of them the PI is created but then there's no subsequent POST to confirm payment.

Reproduction Steps
Can't replicate this as every other transaction appears to have gone through as expected

Question
Let me know if it's safe to provide the payment intent IDs in question here. Want to understand how it's possible for the element to seemingly return a successful message but no charge actually occurs.

cursive heronBOT
#

@abstract cliff pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```jsx
<EmbeddedCheckoutProvider stripe={loadStripePromise} options={{ fetchClientSecret, onComplete }}>
<EmbeddedCheckout />
</EmbeddedCheckoutProvider>
```

Question
When using the Stripe embedded checkout and the payment succeeds, there is the green tick animation, then the onComplete fires, followed by the "Thanks for your payment
A payment to X will appear on your statement." screen.

I can listen to the "onComplete" to move onto our own confirmation step, but I'd ideally like to skip the green tick animation as well. Is this possible?

What have you already attempted?
Read through the api docs for creating a checkout session, checked the props I can pass to EmbeddedCheckoutProvider and EmbeddedCheckout components.

cursive heronBOT
#

@atomic mountain pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Contact support payout and charges paused

Question
Why did I have to wait for my funds for over a week and no my payouts have paused

What have you already attempted?
I have already verified to my identity and also already tried to refund client and it is paused

Reproduction Steps
I have verified my identity like you guys first asked and then it made my account to pause

What are you working on?
Im working on hopefully refunding or being able to payout to my account it's like a glitch

cursive heronBOT
#

@heavy jasper pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe payment element doesn't display a zip field for India, but it's one of a select few countries that requires it for taxes.

What actually happened?
Using a payment element, with an indian card specifically, causes tax calculations to fail (no other country has this issue)

Reproduction Steps
Use a payment element and select india.

Question
How can I work around this? I could conditionally render an address element if the customer selects india on the payment element, but I don't think I can detect which country the user selects in the iframe.

cursive heronBOT
#

@crystal atlas pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Since few times, my customer tell me about onboarding connected account that you need to fill business type section without possibility to put "individual" whereas all my customers are individuals. Before I was not ask for this (1 year), so why now people have to fill this section.
I put the line "business_type : individual" in my code.

Related Request ID(s)
pk_live_51OEvvZGrcRQyBjQ4ZhUVfUQBI6IdMDiW6bPyFJTPjrbyJnzEo4UARi0nLQkS0iNCOUoWOW2trV5Rva5l9v8Gscmk00z80X7316

What have you already attempted?
I tried to look what changed or something else but i don't find anything

What are you working on?
Peer to peer rentals bicycle website, bicycle owner needs to connect with Stripe to add their bank details

#

@subtle jewel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you confirm the flow is correct?
1) Create Payment Method Id
2) Send Payment Intent request with capture=manual and confirm = true
3) Received response as action_required
4) We will redirect to 3DS page
5) receive the call back on successful 3ds complete
6) Do we need to send the paymentIntent request again?

Related Request ID(s)
Dashboard

What have you already attempted?
Tried documents but not clear

cursive heronBOT
#

@mystic roost pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are enabling the apple Pay and google pay in out checkout pages which is built using Payment Elements. it there way to test it from India. found the reference in docs which say Stripe doesn’t display Apple Pay or Google Pay for IP addresses in India.

Question
is there alternative way to test these integrations from india

What have you already attempted?
Changes region in mac system and tried checkout still the apple pay does not come up

What are you working on?
We are enabling the apple Pay and google pay in out checkout pages which is built using Payment Elements.

#

@alpine jay pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
my.initExpressCheckoutElement = function (options = {}) {
const APMEnabled = process.env.MIX_APM_ENABLED === 'true';
this.resetAPM();

    if \(!APMEnabled\) {
        console.warn\('APM is not enabled'\);
        return Promise.reject\('APM is not enabled'\);
    }
    console.log\('Initializing Express Checkout Element', options\);

    options = {
        mode\: 'setup',
        currency\: 'usd',
        appearance\: {

Question
I am using express checkout element. Why is my safari not showing the amazon pay button? Previously it was showing but it is showing. But now it is not

What have you already attempted?
Nothingg

#

@stoic totem pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using Stripe for issuing cards to pay our partners.
We would like to be able to retrieve card information (pan, CVC/CVV, expiry date) through API to be able to send it to our partners. They're are PCI-DSS certified and we're currently working on the certification.
Is there an API to do that?

Related Request ID(s)
Issuing

What have you already attempted?
Went through all the documentation I could find but I didn't find a way to do what we want.

#

@tranquil sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to add a secondary email (Billing Email) to a stripe customer account through api or sdk

Related Request ID(s)
NA

What have you already attempted?
I have gone through the api and sdk but no luck finding any such parameter that can be used to set the billing email to the customer. However this can easily be updated through the stripe dashboard.

What are you working on?
I am working on a custom customer dashboard for our platform where we are in need to update billing and mailing information regarding customer.

cursive heronBOT
#

@boreal star pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
try {
const updatedSubscription =
await this.stripeService.stripe.subscriptions.update(
currentUserSubscription.stripeSubscriptionId,
{
items: [
{
id: subscriptionItemId,
price: newSubscription.stripePriceId,
},
],
proration_behavior: 'none', // No immediate proration; change applies at next billing cycle
metad

Question
In my app's current scenario, a user is already subscribed to a plan (let's say the "Pro" plan), and I want to upgrade their subscription to the "Gold" plan. However, this change should only take effect after the current billing cycle, so the plan is updated with the next cycle once the payment is settled.

The subscription update API, however, immediately changes the subscription item, which doesn't align with my expectations.

What have you already attempted?
I tried using Stripe Scheduler, but it creates a new subscription object, which isn't what I want.

Also, the update API for subscriptions immediately updates the subscription, which doesn't match my requirement.

#

@worldly merlin pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I need to test apple pay and google pay as payment instrument in the checkout.

What actually happened?
I am not enable apple pay or google pay from location India.

Reproduction Steps
Apple pay and google pay are added as valid payment method in stripe dashboard for stripe checkout.
When trying to do check from location India not able to see those as valid payment option.

Question
Looking to test apple pay and google pay working from location India, added shipping and Billing address to US but still not able to see those as valid option. Appreicate any help.

cursive heronBOT
#

@fathom comet pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I have an app that is using stripe payment for subscriptions. I use webhooks for updatig the user.

Now I'm implementing the Trial subscription and there are these webhooks:

## customer.subscription.updated
In this webhook I get the status if the user has activated his trial subscription, or if the payment is past_due and with that I can activate or deactivate the user in my application.

## customer.subscription.deleted
Sent when a subscription ends and I can deactivate the user here.

And I'm interested is customer.subscription.updated enough to follow for the trial ?

Related Event ID(s)
I don't have It. It is just a best practice question

What have you already attempted?
I have read the documentation and I didn't attempted anything.

What are you working on?
An subscription based app and I'm integrating Trial for our app now.

#

@ruby oracle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to record usage to one determined subscription_item, but I dont see anywhere how to do it. All I find is recording usage to the customer. Any workaround?

Related Request ID(s)
N

What have you already attempted?
I have tried creating a customer mapping to a subscription_id or subscription_item_id.

What are you working on?
Marketplace type app

#

@alpine jay pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am using express checkout element for integrating APM as payment method. In mac safari, currently the amazon pay button is not being displayed which was previously being displayed.

Question
I am using express checkout element for integrating APM as payment method. In mac safari, currently the amazon pay button is not being displayed which was previously being displayed.

What have you already attempted?
N/A

cursive heronBOT
#

@winged ermine pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Retrieve Item Name from a payment.

What actually happened?
It wasnt listed in the GET data

Reproduction Steps
Used a Zap to retreive payment details such as client email and phone, paid amount

Question
From where do i exactly do i extract a product from a specific payment using a payment ID or charge ID

What are you working on?
Zapier automation with Stripe

#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How stripe deducts the payment while scheduling the subscription

Related Request ID(s)
const stripe = require('stripe')( 'sk_test_•••VaG8', {apiVersion: '2025-03-31.basil'} ); const subscrip

What have you already attempted?
i have scheduled the subscription for next month but I status false

What are you working on?
Stripe schedule subscription

cursive heronBOT
#

@topaz plover pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe. We'd like to know if a retry for a failed payment was manually invoked, e.g. by one of our staff members in the Stripe dashboard, vs an automatic retry by Stripe. Is there any way we can access this information in the webhook event?

Related Event ID(s)
evt_1RM3gPHZLNwo79RqyNtGXejU

What have you already attempted?
I cannot see anything in the event that pertains to this.

cursive heronBOT
#

@sour breach pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We noticed that your livemode Stripe integration is experiencing payment failures because you’re not providing the return_url parameter in your PaymentIntent. The return URL is where your customer is directed after they complete their payment, and is required at PaymentIntent confirmation.

Question
How do add a return URL to accept payments

What have you already attempted?
Whe have tried changing the Return URL but it keeps going back to example.com

#

@alpine jay pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am using express checkout button to integrate APM in my application. Currently, when using google pay, the popup is not being opened and the issue is only in safari.

Question
I am using express checkout button to integrate APM in my application. Currently, when using google pay, the popup is not being opened and the issue is only in safari.

What have you already attempted?
N/A

#

@marble maple pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are running Payout Reconciliation Report through REST API of type - ending_balance_reconciliation.itemized.4, we are getting the data we expected, but this report api interval_end as parameter our data increases every day we need to run this Report with interval_start and interval_end as parameters.

Related Request ID(s)
NA

What have you already attempted?
NA

#

@gentle summit pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<form onSubmit={handleSubmit}>
<div>
<LinkAuthenticationElement id="link-authentication-element" />
</div>
<div>
<AddressElement options={{ mode: "billing" }} />{" "}
</div>
<div>
<PaymentElement id="payment-element" />{" "}
</div>

  <button disabled={isLoading} id="submit" type="submit"\>
    {isLoading ? <div className="spinner" /\> \: \`Pay ${checkout.total.total.amount} now\`}
  </button\>
</form\>

Question
Hi, i get this error while trying to use LinkAuthenticationElement Invalid Element type LinkAuthenticationElement. You must use either the <PaymentElement />, <AddressElement options={{mode: 'shipping'}} />, <AddressElement options={{mode: 'billing'}} />, or <ExpressCheckoutElement />. even if they're already on my component, so I don't know what's wrong

What have you already attempted?
Checked some docs and examples on github

cursive heronBOT
#

@karmic root pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a C2C marketplace of service on my website. I'd like to handle the payment (the buyer of service pay, the platform asks to the seller to confirm to accept doing the service before capturing the payment. After, the buyer confirm the service is complete, so the payment is transfered to the seller after retrieving the commission (20% for example). How to do that with yours solutions (for C2C not for companies) ? Thanks

Related Request ID(s)
Don't know

What have you already attempted?
I've tried to use stripe connect and created express account for my connected accounts with (business_type:"individual") but when the user has to create a stripe account, Stripe asks the information of company (no place to choose that it's the consumer not a company nor enterprise). What solution for individual persons not companies ?

#

@echo pebble pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are trying to create invoices in stripe but prevent the automated invoice mails from being created.

Related Request ID(s)
req_yLrsGeEBvmdVQl

What have you already attempted?
tried to deactivate emails in dashboard

What are you working on?
Ticketing tool for an Event

cursive heronBOT
#

@languid folio pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are using the Payment Request Button.

Question
When we tried to register the domain for Apple Pay on Stripe, we were asked to download the domain association file and host the same earlier, but the same is not shown now? So, if we are still using the Payment request button, then is the domain association file still required?

What have you already attempted?
Example: https://social-boost-test.chargebee.com/.well-known/apple-developer-merchantid-domain-association works well as this is hosted by Chargebee.

https://socialboost.co/.well-known/apple-developer-merchantid-domain-association. This one gives 404, as the merchant might not have hosted the file. But the question where should they download the domain association file from?

What are you working on?
Apple Pay via the Stripe

#

@safe notch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
case "invoice.payment_succeeded":
var invoice stripe.Invoice
if err := json.Unmarshal(event.Data.Raw, &invoice); err != nil {
dep.log.Error(ctx, "error parsing InvoicePaid", err.Error())
return nil, &log.BadRequestError{}
}
...

Question
How do I retrieve the subscription from a webhook `invoice.paid` or `invoice.payment_succeeded` using stripe v82?

What have you already attempted?
I looked at the sample but it is using v72

What are you working on?
subscription application

cursive heronBOT
#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We implemented Bancontact card in Stripe Bank Redirect. We have enabled `recurring` as well. When we try to do an MIT (recurring) payment, we're getting below error:

```
The provided bancontact PaymentMethod cannot be used again. It was used in a previous PaymentIntent or SetupIntent to set up a sepa_debit PaymentMethod, which can be used for multiple payments. To find the ID of the sepa_debit PaymentMethod, list the sepa_debit PaymentMethods associated with the Customer used to set up this PaymentMethod.
```

Any help is greatly appreciated!

Related Request ID(s)
req_Gf5x84WsQpxDd4

What have you already attempted?
checked the code and implementation. tried to reproduce, checked logs.

What are you working on?
Building Hyperswitch.

cursive heronBOT
#

@night cape pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Callback disconnectCallback = new Callback() {
@Override
public void onSuccess() {
String connectLocationId = Define.STRIPE_LOCATION_ID; //test_mode
DiscoveryConfiguration config = new DiscoveryConfiguration(30,DiscoveryMethod.USB,false,connectLocationId);
viewModel.discoveryTask = Terminal.getInstance().discoverReaders(config, new DiscoveryListener() {
@Override
public void onUpdateDiscoveredReaders(@NonNull List

Question
Hello all,

**Questions for the community:**

  1. Has anyone integrated WisePAD 3 on a Sunmi V2 (or s

What have you already attempted?
**My setup:**

Android: compileSdk 33 / minSdk 26 / targetSdk 33

Stripe Terminal SDK: 2.23.4

Reader: WisePAD 3 (WPC32, S/N WPC323127003826)

What are you working on?
I’m working on an Android app on a Sunmi V2 device and can’t get the Stripe WisePAD 3 reader to show up in discovery. I can connect Sunmi’s native card reader n

cursive heronBOT
#

@balmy yacht pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I cannot continue the payout step in embedded onboarding component as the continue button is grayed out - clicking on the instution doens't do anything,. I've tried in test and live mode

Related Request ID(s)
n/a

What have you already attempted?
const connectedAccount = await stripe.accounts.create({
controller: {
stripe_dashboard: {
type: 'express',
},
fees: {
payer: 'application',
},
losses: {
payments: 'application',
},
},
});

What are you working on?
an embedded onboarding experience to link stripe express

cursive heronBOT
#

@languid folio pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Payment Button Request (Apple Pay payment method)

Question
Hi team, one of our customers is trying to implement Apple Pay via Stripe using Chargebee SDK. Chargebee inbuilt uses Stripe JS to mount the Apple Pay button. They are facing below error:

Blocked a frame with origin "https://socialboost.co" from accessing a frame with origin "https://js.stripe.com". Protocols, domains, and ports must match.

I am able to replicate the same on their site on my Safari browser. MY safari browser version is 17.6.

What have you already attempted?
We suspected this was happening because they are using an Iframe, but it seems like they are not using any iframe. Could you please let us know how to resolve this issue?

What are you working on?
Apple Pay via the Stripe

#

@devout basalt pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
So yesterday I asked about the ways to downgrade default API version for newly created account. Two suggestions were - to write to Support so they set it to some explicit version and to use `stripe listen` with `--use-configured-webhooks` flag meanwhile. Unfortunately, neither worked for me. After chatting with support for a while they said they aren't able to set custom default api version for account. I tried using stripe cli with `--use-configured-webhooks` with dubious success. It definitely uses some webhook configuration (namely from `we_1RM4mGGaHopMncvavg766rAS` webhook)

Related Event ID(s)
evt_1RM63RQ6fBOCZGVnzPgQPZhz

What have you already attempted?
It definitely uses some webhook configuration, because from 12 events generated only 2 reached my backend. The problem is - those events are formatted with account api version, not webhook version. My account uses 2025-04-30 and webhook is set to use 2022-08-01, but events I get via stripe cli are using 2025 version. e.g. when starting cli it said `Ready! You are using Stripe API Version [2025-04-30.basil]. Your webhook signing secret is ...` and in event body it has `{"api_version": "2025-04-30.basil"}`. So how do I make it work with API version from webhook settings?

#

@ancient tusk pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Billing portal subscription upgrade failed, coupon applied with upgrade is changed back.

What actually happened?
Billing portal subscription upgrade failed, coupon applied with upgrade gets applied to ongoing sub.

Reproduction Steps

  1. Purchase Sub
  2. Upgrade sub with coupon via billing portal deep links
  3. Payment + upgrade fails

Question
Is this intended behavior? Why is the coupon still being applied

cursive heronBOT
#

@alpine jay pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am using express checkout element for integrating stripe payment method in my application. All the payment methods were working fine previously but currently we noticed that the google pay popup is not being opened in mac safari. While checking google pay in safari ios it works and also is working in chrome. The issue is only in mac safari.

Question
What can be the problem for this?

What have you already attempted?
N/A

What are you working on?
Stripe's Express checkout element

#

@sand rock pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am having trouble getting the actions on the Stripe UI to register on my server.js. I have connected the API, downloaded and run live the Stripe CLI, added the endpoints to server... I have run the manual triggers on the Stripe CLI and the server picks them up, and when I change a value on my app's UI, it updates successfully in Stripe, but I can't get the updates in Stripe to land back on the server so I can update my UI. I was wondering if there are any common mistakes that might lead to this?

Related Event ID(s)
evt_1RM8s6EBwSjyueqKymH6Jsum

What have you already attempted?
I've tried restarting server, making sure everything isn't in test mode, checked .env variables and ID's are correct, restarted the Stripe CLI... and others

What are you working on?
I'm building a platform with 3 subscription levels (setup as 3 products), I'm trying to allow admin on the back end to change product/make inactive on Stripe and have it update on my db.

#

@tame tendon pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Find link configuration parameters in android sdk

What actually happened?
No link configuration parameters

Reproduction Steps
Attempt to init a payment sheet configuaration

Question
How do i pass the link configuration into the initializer

cursive heronBOT
#

@sleek ruin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need more details about the expiration time for initiating a transaction. For example, if I use your API and start calling the endpoint, but still in the step of adding card details, what is the expiry time or session time in this case?
Kindly share the docs if available.

Furthermore, is the expiry type the same for all integration types?

Waiting for your kind response
Thank

Related Request ID(s)
dont have

What have you already attempted?
i am a payment orchestrator who needs to know about your session expiry time

What are you working on?
API integration

#

@ruby oracle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Usage recording on specific subscriptions or subscription items

Related Request ID(s)
N

What have you already attempted?
I want to record usage on subscription items, not the customer object.

What are you working on?
marketplace platform

#

@marble maple pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When we are running Payout Reconciliation Report of type ending_balance_reconciliation.itemized.4, when we run this Report for first 2 or 3 times its completing quickly and giving us the Output. From the 4th or 5th time its taking 2 hours to complete. Please help us fix this issue.

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

@daring silo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, Stripe migration tool gives us the pm and mandate to me for particular source id, but when ever i tried to create a payment intent with the data it is giving 400 error.

Customer Id : cus_QDBe6XAQ0PN7QU
Gateway Id :: acct_1IYT2PQb7hrtUZt5
Mandate data for id mandate_1RBAa1HF0VMkBzj0IyfQwO7D

{
"error": {
"message": "The provided mandate has a different `on_behalf_of` () than the one provided on the PaymentIntent.",
"request_log_url": "https://dashboard.stripe.com/logs/req_nGoUHx8vsfRasr?t=1746626299",
"type": "invalid_request_error"
}
}

Related Request ID(s)
https://dashboard.stripe.com/workbench/logs/req_l72vdZ9I6rRJrl

What have you already attempted?
Request Body
{
"amount": 100,
"currency": "EUR",
"application_fee_amount": 35,
"confirm": true,
"confirmation_method": "automatic",
"customer": "cus_QDBe6XAQ0PN7QU",
"mandate": "mandate_1RBAa1HF0VMkBzj0IyfQwO7D",
"on_behalf_of": "acct_1IYT2PQb7hrtUZt5",
"payment_method": "pm_1RBAa1HF0VMkBzj02hbSG8Yc",
"payment_method_types": ["sepa_debit"],
“metadata”:{
“tenant” : “tenant name”,
“OrderId”: “orderId”,
“CustomerId”: “customer id”
"transfer_data": {
"destination": "acct_1IYT2PQb7hrtUZt5"
}
}

cursive heronBOT
#

@tranquil sand pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits#credit-grant-eligibility

Question
I'm trying to implement prepaid credits for my AI platform. I want to have a base subscription price (monthly), and then users pay me money before using my API - usage based. Stripe seem to be offering this with their blog posts, but there's conflicting information in the documents on how to go about this - credit grants, burndown etc. Is there a best practice or guide on how to implement pre-paid credits with a checkout - NOT a pdf invoice?

What have you already attempted?
Browsed all of the documentation, but would like to use the latest stripe/optimal method before building a manual system myself.

#

@sharp siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
FX Quotes API - not available on our EU account?

Hey, I know this is probably a question for the other Stripe team - but are we doing anything wrong with the new FX quote API?

In the linked request, we can create an FX quote just fine, but we can't assign it to a payment intent.

This only happens for our Ireland-based account, and not for our US-based account. Thanks!

Related Request ID(s)
req_DJcFYnLaFFY7la

What have you already attempted?
n/a

#

@twin thicket pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to set a custom billing cycle anchor on subscription creation, but NOT prorate the first invoice? That is, when a price is $100, the first invoice should be full price and created immediately, for the first billing cycle, regardless of the billing cycle anchor.

Related Request ID(s)
req_7XrDfC9EdkIv8K

What have you already attempted?
I tried passing `proration_behavior=none`, but this results in not creating an invoice at all, the first invoice would be on the second billing cycle start.

cursive heronBOT
#

@brazen pier pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have installed app samcart in our account . But revoke access button is disabled. we raised a ticket but SamCart is also not answering our email.

Related Event ID(s)
evt_1RLzA5CPNFWzQIezX3z6siEs, evt_1RL3S8CPNFWzQIezNniZh1Wu

What have you already attempted?
evt_1RL3S8CPNFWzQIezNniZh1Wu this payment went through successfully

but this payment evt_1RLzA5CPNFWzQIezX3z6siEs invoice was only drafted and not fnialised.

What are you working on?
SamCart Webhook

cursive heronBOT
#

@grand crater pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I can retrieve a Received Debit through the API, but when I make a request to create an issuing dispute for that RD, I get a resource not found error.

Related Request ID(s)
req_1FUTAsgJZ1PaWl (successful rd GET) req_ZQZTpjjodhI33F (failed disputePOST)

What have you already attempted?
I've inspected the requests and re-tried them using the same API key and Stripe-Account header. I duplicated the successful GET in my API client and simply changed the route, but still get an error

What are you working on?
Implementing disputes for Treasury received debits. The issuing dispute API has an optional parameter for a treasury received debit

cursive heronBOT
#

@pine lance pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have Applicable Products in the coupons when try to fetch the coupon using the coupon Id i am expecting to get these product Id in the "AppliesTo"
but i am getting the object null.

What actually happened?
not getting the applicable products of a coupon when i retrieve the coupon i am getting the object null for AppliesTo What can be the issue here

Reproduction Steps
create a coupon from dashboard
restrict this coupon to desired products
fetch the coupon from code using the api using the couponId
getting the AppliesTo object null

Question
Is something i am missing when creating or retrieving the coupon i want to validate the coupon for the subscription if the coupon is valid for this package or not.

cursive heronBOT
#

@elfin elk pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Stripe Workflow ID: autocfg*AZarx_ix_gAAAKgV#EhcKFWFjY3RfMVFmUDVzRlpNaFVjZjd3YQ

Question
In workflow editor, I cannot enter a negative amount in Amount field despite help text saying: The integer amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. Passing in a negative amount will reduce the amount_due on the invoice.

What have you already attempted?
I've tried entering a negative amount in the field

What are you working on?
Automation of a negative invoice line on a created invoice

cursive heronBOT
#

@jaunty wadi pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does the retrieveUpcoming function/api route for invoices not exist as per v18 of stripes sdk? If so, is there anything else we can use perhaps? Would love feedback on what you personally use, thanks.

(I'm using stripe's node sdk for the moment)

Related Request ID(s)
There are none

What have you already attempted?
Look through Stripe's documentation
Look through stripe-node's source
Look through online forums

cursive heronBOT
#

@eager solar pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Couldn't read the CSV file. Download the CSV template from the Resources panel and add your transaction data. See Importing data for data format details.

Question
I am trying perform exclusion import in Stripe rev rec. I uploaded csv successfully but then had to delete and open prior periods. With all periods open, I am now uploading same exclusion data but getting error message.

What have you already attempted?
I used downloaded template from Stripe. It is single column of invoice IDs.

What are you working on?
We are trialing Stripe Rec to see if this tool will meet our needs

cursive heronBOT
#

@sick ivy pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
LOG [Error: The current action is not yet completed. STPPaymentHandler does not support concurrent calls to its API.]

Question
why does this occur its the first time ive seen it (i am building the payment flow )
could it be because of trying it multiple time and if yes what we do in production

What have you already attempted?
no i haven't just searched for it

#

@crimson bone pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an insanely high rate of declines in my account as opposed to what seems to be the industry norm.
https://www.reddit.com/r/stripe/comments/1fapvlr/high_failed_payment_rate_is_this_normal/

Related Request ID(s)
None

What have you already attempted?
https://www.reddit.com/r/stripe/comments/1fapvlr/high_failed_payment_rate_is_this_normal/

I saw this reddit account with no solution but I am seeing a crazy high amount of failures. I added a trial hold but many are still failing.

#

@tawny gale pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm querying the activity_report table in our Snowflake instance that is exported via Stripe data connect product. I'm told that balance_transaction_id should be unique id of this table, but there are many duplicates:

SELECT balance_transaction_id, count(1) from activity_report_itemized
group by 1
having count(1) > 1
order by 2 desc;

Related Request ID(s)
NA

What have you already attempted?
I've looked at every possible set of columns to find a unique identifier and have not found it.

cursive heronBOT
#

@dense idol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am getting a lot of user frustration with connect refunds

Related Request ID(s)
none

What have you already attempted?
I have to manually intervene every time - there should be a default to revert the last payout

#

@vital brook pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We were using Test env across local development, staging and review apps (isolated staging-based environments). We want to migrate to Sandboxes, but have existing data for Connect with existing payment intent references to the testing environemnt. What's the recommend approach for migrating to sandboxes without breaking old links?

Related Request ID(s)
n/a

What have you already attempted?
We already added a Sandbox environemnt for local development, but my links to payment intents are going to the wrong connected account and turning up as a 404 (because the connected account is for the sandbox, not the testing environment where the intent was originally created).

What are you working on?
B2B Campground software.

cursive heronBOT
#

@celest edge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I have two questions, separated into two posts for length reasons:

(1/2): I would like to know why for some payouts I can retrieve all invoices associated with the payout, but for some I can't.
Successful example in my test account: po_1RLCVuIRkshBsWgAwfqQ368h
Unsuccessful example: po_1QFQJ0IRkshBsWgAkmozAkB1

In the UI, I can see that some of the charges are displayed with a different description, e.g. 'Payment for invoice' vs 'Subscription update' - is this related? I would expect all of the payments I'm looking at in these two payouts to be payments for invoices.

Thank you

Related Request ID(s)
Successful example: 'req_tsq9Ke1C6FkksL', Unsuccessful example: 'req_lNII9w6GzmV4O8'

What have you already attempted?
(Using 2024-09-30.acacia)

  1. Get balance_transactions with the body: {
    'payout': 'po_1QFQJ0IRkshBsWgAkmozAkB1',
    'expand[]': 'data.source.payment_intent.invoice'
    } (this works for po_1RLCVuIRkshBsWgAwfqQ368h)

  2. Get balance_transactions without expand property and getting data manually via transaction -> charge -> payment_method, but the invoice property is null (using ch_3QCyRXIRkshBsWgA1TVDYlEK as an example).

(Using 2025-03-31.basil)
3. Tried to get data manually via balance_transaction -> charge -> payment_method -> invoice_payments, but there's only an empty array.

What are you working on?
I'm building an integration that shows all of the transactions associated with a payout in detail. If the payment is associated with an invoice, we would show the products and tax rates involved.

cursive heronBOT
cursive heronBOT
#

@alpine jay pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am using express checkout element for integrating payment methods in my system. I am currently using google pay. apple pay and amazon pay. Currently I am having an issue with google pay popup not being opened in only mac safari.

Question
Do you know why is it happening?

What have you already attempted?
NA

cursive heronBOT
#

@spiral basin pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What would be the best way to allow creators on our platform to start selling digital items without needing to go first through all of Stripe's onboarding? Meaning - could I potentially create a "holding" Stripe Connect account & then whenever they onboard to Stripe, transfer it into their Stripe Connect account?

Doc/Guide Links
Couldn't find anything in the docs.

What are you working on?
1m user application, setting up digital product creation for our creators through Stripe Connect

#

@distant dome pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I currently have a system where the mobile app calls an API to perform fee and cost calculations on the backend. Once the calculations are complete, the app calls another API to create a transaction, which internally creates a PaymentIntent on Stripe.

Now, I want to add a service fee depending on whether the user’s card is domestic or international. However, the problem is that I can only determine the card type after the payment is completed because Stripe doesn’t expose full card details (like whether it’s domestic or international) before the payment is processed.

Given that, I’m trying to figure out how I can implement this fee logic, even though the card type is only

Doc/Guide Links
https://support.stripe.com/questions/find-the-type-of-card-a-customer-is-using

What are you working on?
I'm building system

cursive heronBOT
#

@halcyon shale pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to support a flow where stripe connect(ed) businesses log in our platform app, and accept payments towards other platform connected businesses via the TapToPay Terminal SDK, all using Direct Charges

From docs below, it seems we could achieve this creating a terminal token in the context of the platform and creating server intents towards connected accounts.

The issue below tho seems to suggest otherwise. Can you please advise?

https://docs.stripe.com/terminal/features/connect
https://github.com/stripe/stripe-terminal-react-native/issues/819

Related Request ID(s)
no ids for now

What have you already attempted?
For the time being we only managed to:

  1. Create "platform" terminal tokens, and route payments via destination charges, using client side intents
  2. Create "connected accounts" terminal tokens, and send "direct charges" payments to the connected account using client intents.

What we'd need is to create "platform" tokens (single terminal) and create intents (server or client side) to connected accounts for direct charges

What are you working on?
We are creating a tipping and donation platform

cursive heronBOT
#

@tight sparrow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe exchange_rates list

Question
{
"error": {
"message"
:
"Unrecognized request URL (GET: /v1/exchange_rates). Please see https://stripe.com/docs or we can help at https://support.stripe.com/."
,
"request_log_url"
:
"https://dashboard.stripe.com/test/logs/req_IWYYiceyNceNP3?t=1746684421"
,
"type"
:
"invalid_request_error"
,
},
}

What have you already attempted?
https://docs.stripe.com/

What are you working on?
getting currency exchange rate because i am working on integration with stripe and can't make the total revenue on the deafult currency

cursive heronBOT
#

@fresh crag pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=server-driven&reader-type=internet

Question
Where can i see the complete list of terminal reader which works like wisepos e , which is a server driven that works through the internet

What have you already attempted?
Gone through the document but couldnt find the complete list

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#subscription-schedule-sub-updates

Question
It says in the docs that if there is subscription schedule attach to a subscription. It is recommended to update the subscription schedule.

How to update payment_settings.payment_method_types and payment_settings.save_default_payment_method on subscription schedule if these properties are not present in subscription schedule?

What have you already attempted?
Update it directly throug subscription. I just wanted to ask if this should be done on properties that are not present in scheduled subscription.

#

@rapid stratus pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=react-native

Question
I tested simulated testing by connecting terminal reader by choosing the available reader from the list of available readers

but can we auto connect when the device switched on when using bluetooth device in real world scenario.

or if i use USB cable, will it auto connect ?

My references

https://github.com/stripe/stripe-terminal-react-native

https://github.com/stripe/stripe-terminal-react-native/tree/main/example-app

https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=react-native

What have you already attempted?
None

#

@smoky pagoda pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
We're currently investigating an issue.
Our engineering team is looking into an error on this page. Your data is safe, and we should have this page up and running again soon. If you have any questions in the meantime, please contact Stripe support.

Question
i get this error since Friday, i need to submit some documents. when will it be solved?

What have you already attempted?
loged in in different days but no success
its on uk mp

What are you working on?
i need to submit some docuements on disputes

cursive heronBOT
#

@gleaming patio pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're migrating over to the Stripe Payments element and I've followed the guide linked below which uses a payment intent and a customer session. For our current workflow, we create one payment intent per item. But with this new payments element it seems if I want to save the users card details to their account, I need to pass setup_future_usage=True on the Payment Intent creation. However we then can't use this one PI for our autocharge feature as it doesn't allow use to pay with saved cards when the PI is created with that field. So is there a different way to add the option to the user to save card details on the payment element, or should I just create a new PI?

Doc/Guide Links
https://docs.stripe.com/payments/existing-customers?platform=web&ui=elements#submit-payment

What are you working on?
Migrating over to the Stripe Payment Element

cursive heronBOT
#

@kind trench pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We're using the Checkout sessions API. The checkout sessions are in "subscription" mode.

In development:

  1. Choose Paypal on the checkout
  2. Click authorise test payment on the Paypal placeholder screen
  3. Stripe redirects to our checkout session `redirect_url`
  4. Look up checkout session by ID
  5. checkout_session.payment_status should be 'paid'
  6. Redirect user

What actually happened?
Starting at 4:
4. Look up checkout session by ID
5. checkout_session.payment_status is 'unpaid'
6. Can't continue because status is unpaid

When I look up the status after 5-10 more seconds it has transitioned to 'paid'.

Reproduction Steps
Check payment_status on checkout session straight after Paypal subscription payment

Question
Is it to be expected that there will be a delay for Paypal and any other payments to transition to 'paid'?

Ideally what we want is no delay so that we can decide where to redirect the user. If in 'paid' redirect to order processing page. If 'unpaid' redirect back to checkout with Paypal payment error.

This issue doesn't occur for single payment, only subscriptions.

What are you working on?
Subscription checkout

cursive heronBOT
#

@night cape pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected the Stripe WisePAD 3 reader (WPC32) to appear in discovery and connect—just like the Sunmi native reader does—when using either Bluetooth or USB.

What actually happened?
No WisePAD 3 devices were ever returned in onUpdateDiscoveredReaders. The native Sunmi reader shows up and connects fine, but the WisePAD 3 never appears via Bluetooth scan (even unpaired) or USB-OTG.

Reproduction Steps

  1. SunmiV2(compileSdk 33,minSdk 26,targetSdk 33) with StripeTerminalSDK v2.23.4
  2. WisePAD3(Model:WPC32,S/N: WPC323127003826)
  3. USB or Bluetooth
  4. DiscoveryConfiguration c = new DiscoveryConfiguration(0,DiscoveryMethod.BLUETOOTH_SCAN,false,LOCATIONID)
    Terminal.getInstance().discoverReaders(c,l,b)
  5. l.onUpdateDiscoveredReaders() is never called with WisePAD3

Question

  1. Has anyone integrated WisePAD 3 on Sunmi V2 (or similar industrial Android device)?
  2. Are extra Android permissions or USB host flags required?
  3. Any hidden configuration steps for non-standard Android builds?

What are you working on?
An Android POS application on industrial Sunmi V2 hardware, integrating Stripe Terminal readers to process in-person card p

cursive heronBOT
#

@spring star pressed 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/agents

Question
Hi, is there a way to automate the payment to a merchant through APIs

As we can create payment links through APIs, agentic workflows like MCP is also possible but making payment lets say i'm building an MCP server that authneticates the user, the user provides the card details and we make the payment

What have you already attempted?
I was able to use the Stripe MCP server to create payment links from an MCP client like cursor, but I didn't find any relevant resource in the docs to automate the payment, if not through the payment link, either by the payment intent APIs, please let me know how this can be done

What are you working on?
I want to automate the payment on stripe through an LLM, (MCP Server)

cursive heronBOT
#

@dull hare pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Don't have access since it is on mobile sdk

Question
How can I see if one of our connected account (standard) have terminal capabilities

What have you already attempted?
fetch account by api

What are you working on?
Card present integration

#

@zinc ingot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to use a PaymentIntent with card_present for the first payment of a Subscription. It's returning an error saying I must use type `card`

Related Request ID(s)
req_utYLCnhNsegYvb

What have you already attempted?
I've tried swiping a card with type='card' (doesn't work with terminal). I've tried setting the payment type to `card_present` (not allowed for subscriptions)

What are you working on?
Stripe Terminal integration. Our cart supports both subscriptions on Stripe Billing and one-off charges

cursive heronBOT
#

@topaz belfry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i setup a new webhook with latest api version, but the events sent to it are stil using old version(which is still default). how to make it send the events with the version of the webhook?

Related Request ID(s)
developers -> webhooks -> web url -> events

What have you already attempted?
only upgrade works but we dont want that

What are you working on?
stripe api version upgrade

cursive heronBOT
#

@west vault pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to implement PayPal in a Payment Element, but it gives an error about our "Stripe account currently does not support Connect payments", while from the Stripe Support they said my MCC should be supported

How can we make our Stripe account supported?

Related Request ID(s)
req_7bXSlbKO5oaGEx (connect, not working) - pi_3RLn54D5S3Ge4mVN1YLFijgA (without connect, working)

What have you already attempted?
changed platform account's MCC to 7399

paypal transactions without transfer_data parameter, were working both before the MCC change and now

cursive heronBOT
#

@rough burrow pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe to connect my bank accounts to apartments.com to seamlessly link my checking account to my apartments.com account to set up payments for my rent at a new apartment.

What actually happened?
Went through the set up process but it doesn’t connect and refreshes the process over again with no errors or reasons.

Reproduction Steps
-clicked on the apartment.com add account through stripe link
-followed stripe’s instructions step by step
-verified sharing my bank data with Stripe
-stripe confirms everything went through
-the page reloads and starts the process over again

Question
How to fix when Stripe does not add bank account to apartments.com and reloads the process once it says it’s complete?

What are you working on?
Trying to set up payments for downpayment andrent in a new house that’s due tomorrow

#

@hidden moss pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I exempted a customer in the taxable juridisction from tax and changed the subscription expecting the customer to not be charged tax

What actually happened?
The customer was still charged tax

Reproduction Steps
I made the customer tax exempt by setting the `tax_exempt` field on the customer to `exempt`. And then i changed the subscription where I passed `default_tax_rates` that apply on the taxable address

Question
If I mark the customer as exempt, will he not be exempted from tax transactions?

#

@solar radish pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async createAccount(token: string) {
const acct = await this.stripe.accounts.create({
type: 'custom', country: 'FR',
account_token: token,
capabilities: { card_payments: { requested: true }, transfers: { requested: true } },
settings: { payouts: { schedule: { interval: 'manual' } } }
// Where do I set fee_billing or pricing_scheme so that
// Stripe bills processing fees to the connected acct?
});
return acct.id;

Question
We built a C2C marketplace in France with Custom Connect accounts and assumed sellers would be on the “Stripe handles pricing” plan—only paying 1.4%+€0.25 themselves, with no €2/mo or €0.10+0.25% payout fees. After creating dozens of accounts via the SDK above, we still see extra Connect fees. Is there a hidden API flag we’re missing, or is this truly a private feature only unlocked by Stripe?

What have you already attempted?
• Tried Dashboard → Support but need >€100K ARR to open a ticket.
• Scoured Connect docs & SDK for any pricing_scheme or fee_billing—nothing.

What are you working on?
A peer-to-peer rental marketplace in France. Individuals list gear, we collect 15% via application_fee_amount, and handle white-label onboarding & payouts with

#

@candid pulsar pressed 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-status

Question
About the statuses 'pending' and 'in_transit' for a payout, I've looked into the Stripe dashboard, in a certain account's Balances and under the Payouts section, and I've seen that there are payouts marked as 'Upcoming'. In relation to the statuses described in the documentation linked, in what status do these 'Upcoming' payouts fall under? 'pending' or 'in_transit'?

What have you already attempted?
Reached out to support team and they said that they do not fall under 'pending' or 'in_transit'. I wanted to confirm this and if that is the case, then is it correct that these 'Upcoming' payouts will not appear in the results if we query for any status of payouts for our account?

#

@rancid pivot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I got an error while creating credit grant for a customer that "you cannot create more than 20 unused credit grant for a customer ".

That customer had 6 credit grant active and other 14 in expired state.

What should I do to avoid this error ?

Our customer can buy credits every month to be used on our service, if customer does not use that credits in 4 months, it gets expired. Customer keeps buying credits every month and 4 months old credits gets expired. its a subscription model.

Related Request ID(s)
req_1rkjfOKPFeHQwC

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits

What are you working on?
Our customer can buy credits every month to be used on our service, if customer does not use that credits in 4 months, it gets expired.

cursive heronBOT
#

@tacit prism pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
SDK php para parcelar pagamentos no cartão de credito como eu consigo essas informações?

Related Request ID(s)
SDK php

What have you already attempted?
estou tentando habilitar o parcelamento da venda no cartão de credito.

cursive heronBOT
#

@timid glen pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected my `billing_cycle_anchor` to preserve the day

What actually happened?
Instead of staying on the 29th of each month its using the last day of each month

Reproduction Steps
create a subscription with a billing_cycle_anchor of feb 29 2024

Question
Shouldn't this subscription be paying on the 29th of each month? https://dashboard.stripe.com/subscriptions/sub_1OjbcMLZ1kEeNsfjS1BPaoTX

#

@karmic dagger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can someone tell me where I can find a list of the available payment method types?

payment_method_types

Related Request ID(s)
NA

What have you already attempted?
I've added "card", "card_present", and "link", but haven't been able to find a list of all of the available payment method type names.

cursive heronBOT
#

@wary sapphire pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Too many unsuccessful login attempts. Please try again in a few minutes, or contact https://support.stripe.com/contact/email.

Question
I provided a picture over an hour ago, but have not received any email from Stripe to verify. And I am still locked out of my account

What have you already attempted?
I tried to re-sign in. Then went to the help page which brought me here

#

@twilit dagger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, my organization is using Stripe, and our Backend SDK is 2024-11-20.acacia. We noticed our Stripe dashboard is pointing to 2018-05-21 as our default (it was previously pointing to acacia), which is causing our existing functionality to break. We don't know how our API version on Stripe got downgraded. Looking at the Workbench, I can see an option to upgrade - but it looks like it will upgrade us to the most recent version (2025-04-30.basil) - but that will cause things to break because our backend SDK is pointing to acacia. How can we upgrade our Stripe API to specifically acacia?

Related Request ID(s)
req_Wv5wLH4BCWdcxK

What have you already attempted?
I have looked at Workbench and under Overview there is option to upgraded only to latest. I have looked at Stripe docs and don't see anything about upgrading to specific version: https://www.paidmembershipspro.com/gateway/stripe/api/

What are you working on?
We build a business phone system, also known as a VoIP (Voice over Internet Protocol) service, that provides a virtual phone number for calling and texting.

#

@magic lance pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have cron job in my application that needs to send to users on email payment links and that is reminder for payment X days before reservation.

What API call should I make and it is important for me to have that link working for 7days

Related Request ID(s)
x

What have you already attempted?
x

What are you working on?
Cron job email reminders for payments

cursive heronBOT
#

@jaunty wadi pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Relating to <#1369762347920527514>, I'm implementing viewing the upcoming invoice for a suscription in our dashboard.

What is the best practice for ensuring that the data we are viewing is always up to date?

Should we just always be creating a new preview invoice, or does the one we have already created get updated if there were to be forexample a plan upgrade or downgrade which effects the upcoming price?
And, when that preview invoice actually becomes a real invoice, how should we recognize that in our systems? To make sure we do not try to fetch an old upcoming invoice

Related Request ID(s)
N/A

What have you already attempted?
Looking at documentation

#

@bright summit pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I’m setting up Stripe and running into an issue. When creating a subscription with payment_behavior: 'default_incomplete' and expand: ['latest_invoice.payment_intent'], the payment_intent comes back undefined—even though the invoice is created and has an amount due.

Related Request ID(s)
No related requests

What have you already attempted?
Tried creating a separate PaymentIntent, but it caused double charges. Setting it to $0 feels hacky.

What are you working on?
Making a slack like app

#

@ember turtle pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When handling payment intent confirmation via browser for an online payment via Stripe elements, the 3DS2 challenge modal popup should appear to allow you to authenticate the request. In this case, it is a prepaid card that should have a ReCAPTCHA style authentication within the challenge modal.

What actually happened?
No challenge modal is displayed and therefore the payment fails due to not being authenticated by 3DS2.

Reproduction Steps
Appears to be localised to VISA prepaid cards from Pathward. Attempting to take payment via Stripe's own hosted payment links works as expected, with the challenge modal appearing and therefore payment is not failing.

Question
Are there known edge cases where the challenge modal popup is blocked, and how can we get around this issue?

What are you working on?
Building a custom payment link flow.

#

@torn halo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to know if Stripe offers this... Adyen has a "payout to cards" feature, see https://docs.adyen.com/classic-platforms/payouts/manual-payout/payout-to-cards/ where once can take a raw credit card and tokenize it and then use as a destination. So this would enable me to send funds to a customer on their credit card. Does stripe offer a similar feature?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
How to send funds back to a customer in an ad-hoc basis

cursive heronBOT
#

@slender birch pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello Stripe team!
We are planning to put a hold on client's card for each trip(uber/lyft like) ordered, then the next day, after all the trips are added to the invoice, cancel the hold on the card, and capture the same amount but via one transaction for the invoice.
Is this okay thing to do, and maybe there is a better way to go about it? Per documentation, there is no way to "combine" hold together, so at the moment we do not see another way to do so.
And is creating multiple holds and never charging them okay to do? We do not want to violate any policies or raise suspicions; therefore reaching out.
Thanks!

Doc/Guide Links
https://docs.stripe.com/charges/placing-a-hold
https://docs.stripe.com/invoicing/overview

What are you working on?
We are working on implementing billing system for uber analogue

#

@torn shell pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import { AddressElement, useCheckout } from "@stripe/react-stripe-js";<AddressElement
options={{
defaultValues: {
name: "Test" // Added other billing details earlier from const checkout = useCheckout(); but still won't work even with a test name
},
mode: 'billing',
}}
onChange={(event) => {
setBillingCountry(event.value?.addres
}}
/>

Question
I'm using Embedded Checkouts with Checkout Sessions API. I'm trying to pass in the customer's address already saved in the Checkout so that GST tax can be calculated automatically when they use a saved payment card (as it currently only shows the GST after they manually put an address in). But the error is "IntegrationError: Invalid createBillingAddressElement() parameter: options.defaultValues is not an accepted parameter."

What have you already attempted?
I have tried passing in options to defaultValues in various forms but nothing works. The checkout session: cs_test_a1hkpo6RiEdNBTfxKsvGu3NOgyLnnqMFRIaPLWhrc1nXQwhu31H0AtOn1u_secret_•••eCUl

What are you working on?
Building a website with a store.

#

@wary lintel pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the recommended way to provide our customers the ability to update their subscription created that was created using PaymentElement?

In GiveWP, we have a "Donor Dashboard" where recurring donors can update their payment method for subscription. Previously before PaymentElement they would supply a credit card field they can use to update their credit card.

However, since PaymentElement uses dynamic payment methods what should we surface to them? Could we use the PaymentElement for this? I noticed in the Stripe dashboard I was just given credit card fields even though I used GoCardless as payment method.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/subscriptions/update-payment-details

What are you working on?
An update to our existing donor dashboard in GiveWP

cursive heronBOT
#

@west otter pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
elements
.submit().then(result => {
if (result.error) {
console.log(result);
return;
}
void createIntent(
createIntentData,
currentPackageId,
true,
function onSuccess(createIntentResult) {
if (createIntentResult. paymentIntentClientSecret) {
stripe.confirmPayment({

Question
Apple pay fails to run after api call to create payment intent. How to make it work for case when payment element is initialized without paymentIntent ?

IntegrationError: The code that shows the Apple Pay payment sheet must be invoked directly by a user activation event, like a click or a touch gesture. To prevent this error make sure the code that shows the payment sheet is at or near the top of your user gesture event handler, before any async or long-running code.

What have you already attempted?
elements
.submit().then(result => {
if (result.error) {
console.log(result);
return;
}
void createIntent(
createIntentData,
currentPackageId,
true,
function onSuccess(createIntentResult) {
if (createIntentResult. paymentIntentClientSecret) {
stripe.confirmPayment({

What are you working on?
Integration error with Apple pay on Payment element with no payment intent

cursive heronBOT
#

@shrewd crater pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I am trying to get the information about a refund I perform but I don't know how, I need assistant

Related Request ID(s)
N/A

What have you already attempted?
I tried checking the information when I created the refund, but the amount is not the final amount on the account

cursive heronBOT
#

@magic pulsar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
[BUG] Stripe two-step checkout promises an optional review page after a user enters their payment details, but when paying with Link via Express Checkout, the user encounters a Payment Complete screen that's shown before the review page is rendered or confirmPayment is fired.

Related Request ID(s)
N/A

What have you already attempted?
Reviewing the Express Checkout Element Stripe API docs for optionality with how the Link pop-up appears for users. Looking through the SDK on ways to change this.

What are you working on?
Integrating Link via Express Checkout Element as a payment option in an existing checkout flow while maintaining a Review and Pay page before users complete their payment.

#

@oblique pebble pressed 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/use-manual-tax-rates

Question
I have a client that is building their ecommerce site in Webflow. They have specific tax collection needs in some markets at the county or city level. Webflow only collects taxes at the state level. Is it possible to configure manual tax rates in Stripe for the markets where they require the county and city granularity?

What have you already attempted?
I've looked at documentation and watched some Stripe tax videos and didn't see anything specifically about county or city tax.

What are you working on?
Website for a B2B cold storage clothing company.

cursive heronBOT
#

@uneven olive pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, im trying to allow our users to make a pay frequency upgrade, monthly -> yearly, but there are some cases that our customers have more than 1 item and the upgrade must be to 1 item but i dont get the correct behavior, this request is from tests that im making rn, im trying to preview this change, remove all monthly items and add the new yearly item but i want to keep the period as it was, from 6 may 2025 to 6 may 2026, instead i get from 20 may 2026 (testclock) to 20 may 2026 its like cycle is reset, is there any way to get my expected behavior?

Related Request ID(s)
req_6d3HLwEgqEt5jC

What have you already attempted?
I was trying setting up the start_date, but i cannot.
I tried with billingcycleanchor = unchanged but that doesnt worked for me

What are you working on?
Im trying to give support to customers to upgrade their frequencies month -> year but keeping the cycle

#

@void nimbus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In working with a us_bank_account payment method type specifically.. if I have one of these PMs that had a mandate attached to it that was single-use/expired, should I request a new one in the PaymentIntent create request? I can't remember if there's special rules around mandates for US-based ACH payments.

Related Request ID(s)
req_yxo4yHkrRoovWP

What have you already attempted?
I am able to either request a new mandate in the Payment Intent with "setup for future use" enabled, or if there's something else I should be doing I can change my calls.

cursive heronBOT
#

@wide sedge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When a subscription is cancelled, any outstanding invoices should be void.

What actually happened?
After a customer cancelled their subscription, a previously failed invoice charged successfully,.

Reproduction Steps
Not sure how this happened, since we've never seen this before.

Question
This would be fine if the webhook event had the subscription ID in it, but without it we are unable to apply the purchased product, since we do not have the required metadata.

cursive heronBOT
#

@tranquil sand pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide#create-pricing-model

Question
I'm building a SaaS where there is a monthly subscription and then users are able to add 'credits' on top (credit burndown). Is best practice to have 1 product with two prices - monthly recurring subscription, and then a one off payment (1$ which they pay 100 quantity to buy 100 credits), OR is it best practice to have two products with two prices?

What have you already attempted?
Tried both methods, but wondering if there is a clear limitation or issue with one over the other.

What are you working on?
AI SaaS app.

cursive heronBOT
#

@desert rain pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In API version `acacia` the invoice object had the attribute `amount_excluding_tax`. What is the equivalent attribute in `basil`?

Related Request ID(s)
req_0wME23luigTlOg

What have you already attempted?
I reviewed the API documentation between 2025-04-30.basil and the last acacia version. I also reviewed the breaking changes in the basil changelog. I couldn't find any of the changes noted about the dropping of `amount_excluding_tax` and the alternative. Closest I found was this: https://docs.stripe.com/changelog/basil/2025-03-31/invoice-tax-configurations

What are you working on?
Calculating amount needed to create a credit note for the line item.

cursive heronBOT
#

@robust meteor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
With the new dispute countered fees coming, will these be handled in a new balance transaction under the dispute object? Or will it be handled some other way?

Related Request ID(s)
N/A

What have you already attempted?
I have created a dispute using a test card and submitted evidence, but I have not seen a dispute countered fee associated to the dispute I created in my test environment. I can grab the specific dispute id if needed, but I think the question is general enough to start without

What are you working on?
I am working on preparing for the dispute counter fees and trying to figure out the flow so that we can integrate smoothly and give the appropriate information to our end users

cursive heronBOT
#

@lone adder pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
.......................

Question
I've implemented the Payment Element for Google Pay, but I'm looking for a way to prevent Google Pay from appearing in the Payment Element iframe for certain customers—without disabling it globally from the Stripe Dashboard. Since I use the same Stripe account for multiple customers, I want to enable Google Pay for some and disable it for others.

What have you already attempted?
.....

cursive heronBOT
#

@mystic nacelle pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Dear Stripe Support Team,

I have multiple payment methods configured in our Stripe dashboard, including:

PayPal
Apple Pay
Google Pay
TWINT
Bank transfer
Credit cards

We have also enabled multi-currency/adaptive currency support according to Stripe's documentation, as some methods (e.g., TWINT) only work with CHF, while our subscriptions are priced in USD.

Despite this setup, only credit card is showing during the checkout process.

Could you please assist in identifying why the other methods are not appearing in the checkout?

Related Event ID(s)
??

What have you already attempted?
All setup in the dashboard

What are you working on?
Crypto Plattform (in Education and Savingsplan)

#

@languid folio pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi team, my question is regarding the payment_method_options[card][mandate_options][description] param in the create a payment intent API. We are passing 232 characters in the description. For the last month, we have been getting:

Invalid string: .... must be at most 200 characters. Validation error.

The question is, could you please let me know when the character limit validation was added to this API? This was working with the same description earlier.

Related Request ID(s)
req_tCP51btCgjGwJC, req_a7xJ7iJlfO1N4O

What have you already attempted?
We are looking for the answer on when was the validation added to the param?

What are you working on?
This is for INR payments where the mandate options are passed in the payment intent API.

cursive heronBOT
#

@bronze orchid pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
This PaymentIntent requires an on-session action. Please get your customer back on session and re-confirm the PaymentIntent with a payment method when the customer is on session.

Question
We have migrated the API from chargeAPI to Payment Intent. We have set off_session=true. One of our customers' payments failed. I want to confirm whether this issue is related to the customer's card or due to our settings.

What have you already attempted?
I have checked with test card, but I think it works properly.

cursive heronBOT
#

@tranquil sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to display metadata in transactions for a checkout session that is created.

Related Request ID(s)
NA

What have you already attempted?
I have sent the meta data while creating the checkout session but it is not appearing in the transaction's meta data.

#

@ripe juniper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm using stripe.checkout.sessions.retrieve to the status of a payment, is possible to retrieve also email and name inserted in the checkout form by the user?

this is the code and settings used

stripe.checkout.sessions.retrieve(stripeID, { expand: ['payment_intent']}, { stripeAccount: stripeAccount }).

Related Request ID(s)
-

What have you already attempted?
Looked at the doc but didn't saw infos about this

What are you working on?
NodeJS with Stripe SDK

#

@magic lance pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have on legacy project in node.js stripe 8.69.0

Api version in node js is apiVersion: '2020-03-02',
On stripe dashboard webhook is 2019-03-14

My client wants to use on stripe checkout automatic_tax: {enabled: true}

I don't have automatic_tax: {enabled: true} on 8.69.0

I want to enable that, but I am afraid that forceful update of my package will change my webhook response.

Since this app has subscriptions and one-time payments that will require a lot of refactoring

Related Event ID(s)
x

What have you already attempted?
x

#

@boreal scarab pressed 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?payment-ui=elements&country=US&testing=stripe-cli&integration=pm-manual&client=js&invoices=without

Question
Hi Stripe team,
found in a mentioned doc that there are limits on the number of virtual bank account numbers

We are designing integration with this payment method.
Could you give more details on this for our US Stripe account, what are the limits for this country?
Our account id - acct_1Q5MSvDiq3RR4NVp

What have you already attempted?
check with AI bot, which answered that there is no limits, but recommended to consult with support.

What are you working on?
Integrating wire transfer payments with Stripe in our app.

#

@dusky jasper pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription

Question
iDEAL does not appear in the <PaymentElement /> component when mode is set to 'subscription'

What have you already attempted?
I have tried many things, enabled the capability in the stripe dashboard of the connected account and still not able to get it to work.

What are you working on?
Subscription flow

cursive heronBOT
#

@rapid wave pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm trying to create an AccountSession for an embedded component for the payment_method_settings but I receive:
Received unknown parameter: components[payment_method_settings]

Related Request ID(s)
req_uG8XLXitlmIg3u

What have you already attempted?
I can see that the payment_method_settings param is supported as if I inspect the components type i can see it in the python SDK

I have installed the 12.1.0b2 and specified the version as in the doc:
stripe.api_key = get_env_var("STRIPE_API_KEY")
stripe.api_version = "2025-01-27.acacia;embedded_connect_beta=v2;"

cursive heronBOT
#

@vagrant citrus pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We have some code that uses the stripe .net sdk that takes a setup intent. We have a few businesses against our stripe account. We setup the intent with the moto flag as true and off session. This works for one our businesses currently but when pointing at a new one, with the correct keys, we get an error back. We expect the setup intent not to error.

What actually happened?
We got an error on a setup intent request with the moto flag as true and off session.

Error returned in our logs:
SetupIntent failed for customer cus_... with response Type: invalid_request_error; Code: parameter_unknown; Message: Received unknown parameter: payment_method_options[card][moto]

Reproduction Steps
We have one business working fine at the moment and does not error at all.
New business is pointed at with different keys but same request.
The request is setup with usage as off session and moto set as true.
We get the error back of. response Type: invalid_request_error; Code: parameter_unknown; Message: Received unknown parameter: payment_method_options[card][moto]

Question
We suspect something against the business is setup wrong on the account itself. Is there any ideas what might not be setup?

What are you working on?
Creating setup intent

#

@loud zinc pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Unexpected Redirect Response During OAuth Integration on AWS

Question
I have been following the official documentation for Stripe’s OAuth integration.

What have you already attempted?
nothing

cursive heronBOT
cursive heronBOT
#

@drowsy hamlet pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Creating a coupon for "100% off for 1 month" would offer one free month at checkout

What actually happened?
At checkout, the 100% off is instead applied to "1 billing period" - so when the billing period is changed to annual, its a 12 month discount

Reproduction Steps
Create coupon for subscription:
Percentage discount: 100%
Duration: 1 month
Apply coupon at checkout.

Question
At checkout, a discount is applied to the entire billing period, instead of applying to the value of 1 month. Could you please investigate this issue? Seems this issue has been around for at least 5 months. https://www.reddit.com/r/stripe/comments/1h7m5n5/coupon_hell_with_monthly_vs_annual/

What are you working on?
Tutoring platform

#

@sharp osprey pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
in our flow we save a SetupIntent with a payment method (card) authorized for offline payments. There is a customer who is trying to buy a product and this operation relay to PaymentIntent with confirm but the payment is failing, like there is a need for a 3D payment

Related Request ID(s)
req_9uyqhpPUpxO0z8

What have you already attempted?
I am confused about it, didn't try something as of now