#dev-help

1 messages · Page 90 of 1

cursive heronBOT
#

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

Question
Hello,
I have modified my subscription flow with this:
- create user
- Create setupIntent
- Confirm setupIntent on client side with "confirmSetup".

I have tested this flow in test mode and seems to work fine with these test cards:
- 424242424242424242
- 4000002500003155 (Authenticate unless set up)

But In the Live mode with this new flow ConfirmSetup fails:
For some cards its says
"An attempt to set up pm_1PxpwEED5xkfDv2cLwXHt3mz via SetupIntent seti_1PxpwDED5xkfDv2cMu61fFO2 has failed"

And for some cards:
SetIntent confirms but later requires 3DS for off-sion payments.

Related Request ID(s)
req_sRJqCoRW4BCVtG

What have you already attempted?
req_6UhSQsN9hSPsbg

cursive heronBOT
#

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

Question
We have a subscription set at £2 per day. However, in the invoice section, I noticed a deduction of £2 for one day and £0.46 for another day.

Related Request ID(s)
sub_1PxS7UJKyfLg4PX0VpBxnSWk

What have you already attempted?
checking the subscriptions

#

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

Question
These are following scenarios for that i need to handle webhook separately.
- Update Payment of all subscriptions of customer.
- generate customer subscription
- handle customer recurring subscription
- handle customer's failed recurring subscription
- direct transfer amount

what events should i add to handle this situation properly.

Related Event ID(s)
product Id: price_1PqVPnS4f9sxCRXIxogbFY72

What have you already attempted?
I have attempted almost all but webhook events type do not distinguish between these webhook calls. and receiving same calls again and again. like for one subscription receiving 2 succeeded calls and one failed while it should be one failed webhook call.

#

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

Question
Hello everyone,

I need the app to send usage metrics directly to my Stripe account. The app is hosted on my client's infrastructure. Based on my understanding, in order to report usage, I need to provide my client with a Client ID and an API token (refer to the attached link). However, this approach introduces a potential vulnerability: when I create an API key with the "Usage Records: WRITE" permission, it grants access to write usage records for all customer IDs. This means if I share this API key with my client, they could potentially submit usage data for not only their own client ID but also for other client IDs, assuming those are known.

Is there a better approach?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide#report-usage

What are you working on?
The application will be deployed on my clients' side. It needs to collect usage metrics and send them to my Stripe account. I want to ensure the usage data is transmitted securely.

#

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

Question
Hi. How can I capture a new customer's email address (who just signed up) via your API? I couldnt find any solution to this.

Related Request ID(s)
N/A

What have you already attempted?
I tried all sensible events but I just cant grab their email, which is nonsense?

cursive heronBOT
#

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

Question
Hi! We want to integrate our mobile app with Stripe.
Our initial idea was to use PaymentIntents, as described in the documentation (see link). This seem to be ok in the first iteration, as we are not modeling baskets, or line items. However, in the future, we want to be able to add line items, with different quantities.

My question is, how would we model this in the most correct way? From what I understand, PaymentIntents do not know about quantities, only the total amount.

I see using Checkouts is an option, but what I don’t understand is how the whole flow then is supposed to be, with regards to iOS. Do we return PaymentIntent, or do we do something different then?

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=ios&ui=payment-sheet&lang=node&uikit-swiftui=swiftui

https://docs.stripe.com/checkout/quickstart

https://docs.stripe.com/payments/checkout/how-checkout-works

What are you working on?
Marketplace for products

#

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

Question
Hi, Is there a way to show a saved default payment when opening the invoice payment page?

  1. I have an existing customer in Stripe
  2. The customer has a default payment method (card)
  3. I create a subscription and get the payment link from the invoice

When I open the payment page, the default card is not shown. I have to enter the card details again.

Doc/Guide Links
https://docs.stripe.com/invoicing/hosted-invoice-page

What are you working on?
Stripe subscriptions integration

#

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

Question
I am trying to use stripe.net dll 41.4 and 45.9 in the same application, but as a different plugin, some of our old customers also using stripe webhook version 2022 and newly onboarded customers want to use webhook version 2024. The plugin with the stripe version 41.4 is working fine but 45.9 is not. If i try to use 45.9 alone it works. How can i address this ?

Related Event ID(s)
Its not re-directing to stripe

What have you already attempted?
none

#

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

Question
Webhook not workin properly
Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? https://github.com/stripe/stripe-node#webhook-signing
Request
{
"id": "evt_1PyUsxBbKup2smY6Hb4JQv92",
"object": "event",
"api_version": "2023-10-16",
"created": 1726216187,
"data": {
"object": {
"id": "cs_test_a1IW708YVckNPGk4uHZBPQAEhZCyUb4uVDbpptjtfZFC5dJvYWDu2daBgY",
"object": "checkout.session",
"after_expiration": null,
"allow_promotion_codes": null,
"amount_subtotal": 2100,

Related Event ID(s)
evt_1PyUsxBbKup2smY6Hb4JQv92

What have you already attempted?
change the global midware

What are you working on?
ecommercee

#

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

Code
const session = await this.stripe.checkout.sessions.create({
currency: currency,
mode: "payment",
line_items: lineItems,
payment_intent_data: {
transfer_group: transferGroup,
},
metadata: {
transferGroup,
orderId: order.id,
},
automatic_tax: {
enabled: true
},
success_url:
"example",
cancel_url: "example",
});

Question
I'm creating line items by myself like below
const lineItem = {
price_data: {
currency: checkoutSessionCurrency,
product_data: {
name: variantDetails.title,
},
unit_amount: lineItemPrice,
},
quantity: quantity,
};
lineItems.push(lineItem);
}

since now we are calculating automatic tax

i want to include the customer details which i already have.

What have you already attempted?
nothing just trying to reasearch

cursive heronBOT
#

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

Question
i have user stripe java-sdk version is 24.12.0, when i receiver the sanbox's subscription webhook, the sanbox's subscription object filed is different.

Related Event ID(s)
webhook request id is req_pn1gxNVQG8jW9G

What have you already attempted?
search the doc

#

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

Question
I configured my product and usage-based price in the Dashboard and I am currently implementing my custom pricing table to integrate Stripe Checkout using Stripe hosted page.

I ran some tests using Stripe low code pricing table and noticed the customer is not requested to pay the amount of the first tier in checkout page but will be charged on the first invoice.

This does not suit my pricing model as I wish to charge the customer the first tier upfront and later apply the remaining fees based on usage. Is it possible using a Stripe Checkout Session?

I also explored Tiered pricing (which charge the tier upfront) but I understand the usage won't be mesured (and invoiced)

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models
https://docs.stripe.com/payments/checkout
https://docs.stripe.com/payments/checkout/how-checkout-works
https://docs.stripe.com/billing/subscriptions/designing-integration

What are you working on?
I sell a service with recurring subscription using graduated tier usage-based pricing.

#

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

Question
How can I edit my payment link so that it includes some text with a hyperlink?

Doc/Guide Links
How can I edit my payment link so that it includes some text with a hyperlink?

What are you working on?
How can I edit my payment link so that it includes some text with a hyperlink?

#

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

Question
I am trying to see which events do I have under a certain metric. Is that even possible?

Related Request ID(s)
I don't have any requests

What have you already attempted?
I was trying to find in the documentation, but seems like there are no endpoints available?

What are you working on?
I want to display the events that are part of the metric, so I can double check the identifier that was being used there, since I need to back-track some things using that ID

#

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

Question
We enabled paypal as payment method and now we would like to test charges/refunds....

In our case customers first add new payment method then they place an order and later on we charge them extra if needed (we are in laundry service).

What is the best approach to test paypal payments in our sandbox stripe account or even on production before our customers?

Doc/Guide Links
haven't found any good documentation yet

What are you working on?
Working on laundryheap and stripe integration

#

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

Question
Hey there, is it possible to create an annual subscription that is paid monthly? I'm using the Java SDK for this and have only found the option to define the payment interval by price, but not the cycle on the subscription object.

Related Request ID(s)
...

What have you already attempted?
https://docs.stripe.com/api/subscriptions/create?lang=java

https://docs.stripe.com/api/prices/create?lang=java

#

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

Question
I have modified my subscription flow with this:
- create user
- Create setupIntent
- Confirm setupIntent on client side with "confirmSetup".

In Live mode SetIntent succeeds but later requires 3DS for off-session payments.

Related Request ID(s)
req_p6IE1UF2lHLLIL

What have you already attempted?
I have tested this flow in test mode and seems to work fine with these test cards:
- 424242424242424242
- 4000002500003155 (Authenticate unless set up)

#

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

Question
Hello there, We are facing an issue that we don't understand with Apple Pay paiement from mobile integration.
We've got an "{{product->name}}" message out of nowhere. Product are not used in our stripe platform

Related Request ID(s)
NONE

What have you already attempted?
I've try to check on Stripe if a product were create with no name or something like that but can't find anything.

What are you working on?
E-commerce application

#

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

Question
We encountered a problem with the following error in Test mode.

The statement_descriptor parameter is not supported for the payment_method_type card. To continue supporting payment_method_type card, please pass in statement_descriptor_suffix or remove the statement_descriptor parameter altogether. Please see https://support.stripe.com/questions/use-of-the-statement-descriptor-parameter-on-paymentintents-for-card-charges for additional details.

Related Request ID(s)
Transaction ID: req_z6EHECpCXojhk1

What have you already attempted?
After investigating our code, we noticed that we indeed were using the deprecated statement_descriptor parameter. We then changed our code and started using statement_descriptor_suffix. That is also what this document attached in error is saying.
Can you confirm that statement_descriptor is indeed deprecated, and we should remove it from our code? If yes, can you explain to us why we don't receive errors under our another organization account, where we are still using statement_descriptor parameter?

cursive heronBOT
#

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

Code
const paymentOptions = {
clientSecret: clientSecret,
locale: "cs-cz",
appearance: {/*...*/},
layout: {
type: 'accordion',
radios: true,
},
};
const elements = stripe.elements(paymentOptions);
const paymentElement = elements.create('payment', {
fields: {
billingDetails: {
address: {
country: 'never', // We don't want show country field.
}

Question
Hello, I'm trying to exclude card brands (Amex, Unionpay, ..) from the payment element because we want support just Visa and Mastercard. But I'm not really successful and the documentation is really stingy about this. It just say: "Add custom client-side code that checks the brand of a card." But how can I make these client side checks and hide unwanted card brands?

What have you already attempted?
I tried to find how can I do it in documentation but unsuccessfully.
https://docs.stripe.com/payments/cards#exclude-card-brands
https://docs.stripe.com/js/elements_object/create_payment_element

What are you working on?
payments

#

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

Question
For payment_methods.automatically_updated events which trigger new mandate being requested from new bank/branch, what is causing the delay in new mandate approval due to bank switch, and how long in days does the approval take? because charges are failing in between.

Related Event ID(s)
evt_1PpTFGCFE1KEriEVyRaub6lm evt_1PpTFKCFE1KEriEVtQ24JD3c

What have you already attempted?
Reached out previously here which helped clarify why the new mandate was created, but stakeholder did not understand why bank switching would not also just switch the mandate without delay

What are you working on?
webhook for stripe events

cursive heronBOT
#

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

Code
Why all my customers created after sept,6 got deleted on test mode ?

Question
Why all my customers created after sept,6 got deleted on test mode ?

What have you already attempted?
Attempted so whole customers but they got deleted suddenly

#

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

What did you expect to happen?
how do we change By providing your card information, you allow CMP Windy Front Booking to charge your card for future payments in accordance with their terms.

What actually happened?
change the defefult text

Reproduction Steps
change the defefult text

Question
how do we change By providing your card information, you allow CMP Windy Front Booking to charge your card for future payments in accordance with their terms.

cursive heronBOT
#

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

Question
Hey, how can I find the last *paid* period of a subscription?

For example, a monthly subscription was created on January 1st, first payment charged fine. But the payment on February 1st fails. Today is February 5th, for example, and I want to programmatically find that January 31st is the last paid day. Checking subscription current_period_end gives Feb 28 in this case.

Related Request ID(s)
-

What have you already attempted?
The paid invoice line has its own period that returns Jan 31st and seemingly can be found by `Stripe::Invoice.retrieve('in_...')[:lines][:data].find {|x| x[:id] == 'sub_...'}[:period]`

So I can find the last paid invoice (note that subscription's latest_invoice is not paid) by fetching all invoices for the subscription, and then the above code snippet for getting the period.

But that sounds quite complex, is there a better way?

#

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

Question
I'm listening to invoice payment failed for my dunning process. The first event in the list says next payment attempt is some date in the future, but the next that came up for that invoice, is an invoice updated which sets the next payment attempt to null. But why wasnt there a invoice payment failed with next payment attempt to null?

Related Event ID(s)
evt_1PuniBBedPgr0Zv2Bia87zZ9, evt_1PuqcuBedPgr0Zv2sZNfJqWG

What have you already attempted?
Nothing really, I don't understand why it just updates the invoice on its own. This way I cant process it in my dunning process

What are you working on?
mo.pla

#

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

Question
A Stripe Connect account has their invoice being paid. The invoice includes a application_fee that goes to me. Stripe Connect account is also deducated the Stripe processing fees from the payment.

Right now we only have the invoice between the Stripe Connect Account and the buyer. How do we generate or fetch the required documentation (like a invoice/receipt) for the processing fee and application_fee?

We wish to provide these to the Stripe Connect Account, ideally fetching it from the API.

Doc/Guide Links
Nothing so far. sorry.

What are you working on?
A service marketplace, where gusts can buy services from our members. The members sends a offer out, that the guest can accept and then a invoice is generated between the buyer and the connect account.

#

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

Question
How to get the user's email and provided phone number from stripe.confirmPayment()

Related Request ID(s)
pi_3PyTsVHp1fshk1Zy0LSeuG4U

What have you already attempted?
<ExpressCheckoutElement onClick={handleexpressclick} onConfirm={handleexpresssubmit}/>

const handleexpresssubmit = async () => {
const {error, paymentIntent} = await stripe.confirmPayment({
elements,
clientSecret,
confirmParams:{
return_url: `example`
},
redirect: "if_required"
})
if (error) {
console.error(error);

    } else if \(paymentIntent && paymentIntent.status === "succeeded"\) {
  console.log\(paymentIntent\)

}
}
In the paymentintent, I am not getting user's email and phone num

What are you working on?
ecommerce Next js website

#

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

Question
I have an entity in the project that will have a Subscription with platform_account and that same entity will be a Connect account. Should I handle these as separate things? Or can I reuse some Connect account information to manage the subscription?

resume:
An entity will subscribe to my product and at the same time receive payments, what is the best practice here?

Doc/Guide Links
I have some connect docs but nothing related to the question.

What are you working on?
An entity will subscribe to my product and at the same time receive payments.

#

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

Question
We are getting the following error in test mode

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

Each transaction is evidenced but left in Incomplete status (payment ID pi_3Pxr60AYdCchAGRR1jPO6WKc for example).

Does this mean we need additional account setup for extended authorisation implementation? If yes, can you tell us how to do this setup? If not, do you maybe have an idea why this payment is failing?

Related Request ID(s)
req_bh1nJRslUPYYbQ

What have you already attempted?
We do implement extented authorization by defining capture_method as manual when creating the PaymentIntent. When we set capture_method to automatic, and removed the part of the code related to extended authorization

'payment_method_options' => [
'card' => [
'request_extended_authorization' => 'if_available',
'request_incremental_authorization' => 'if_available',
],
],

the transaction passed successfully (payment ID pi_3Pxr8aAYdCchAGRR0EybXlwW).

cursive heronBOT
#

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

Question
I've developed a Tap to Pay app using React Native Terminal, how can I get Terminal Id, Application Id, Auth Code and send a receipt to a customer's email

Related Request ID(s)
a

What have you already attempted?
I've developed a Tap to Pay app using React Native Terminal, how can I get Terminal Id, Application Id, Auth Code and send a receipt to a customer's email

#

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

What did you expect to happen?
When an invoice states transitions from "open" to "past_due", an "invoice.updated" event/webhook is sent reporting the change of status

What actually happened?
A "customer.updated" is sent instead, with "delinquent": true. No event for the invoice is sent, even if the invoice object has been updated.

Reproduction Steps

  1. Create a test clock, add a customer
  2. Create an invoice with 3 due days, send_email
  3. Advance the clock 1 week
  4. Check the event

Question
I need to track the status of an invoice, and I'd like to report promptly if an invoice becomes past due. But I don't receive any event, am I missing something?

cursive heronBOT
#

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

Question
Suppose the initial plan price is $100, and a user subscribes at that price. Later, the price of the plan is increased to $200. Currently, existing subscriptions still charge the old price, and I want to know how to update this for future billing cycles. I tested using a test clock where a customer subscribed at $100, and after the price was changed to $200, I ran the test clock for the next billing cycle. However, the customer's subscription was renewed at the old price of $100. How can I ensure that the subscription automatically updates to the new $200 price during the next billing cycle for existing subscribers?

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

What are you working on?
Subscription based application

cursive heronBOT
#

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

Question
I'm having trouble taking moto payment using the payment element.

Related Request ID(s)
N/A

What have you already attempted?
When registering the payment intent I am unable to set ['payment_method_options']['card']['moto'] to true because I need a payment method first.

I am using stripe.js to confirm the intent, which then stores the payment method from the payment element in my intent.

If I try setting ['payment_method_options']['card']['moto'] to true after I have the payment method from the payment element, I get an error message saying that I cannot update the payment intent after it's confirmed.

What are you working on?
Payment Element MOTO Payments

cursive heronBOT
#

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

Question
Usually when a user provides works with a payment method its referenced to an ID. Is this ID sensitive?
For example:
User want to delete his saved payment method. This is working with the ID.
Can I provide the ID from stripe to the frontend or should I have an own technical ID which reference is on the payment method ID. So the frontend just receives my own created id. My backend get then from the database the stripe id which relates to the own id and pass this to stripe?

Related Request ID(s)
no ids

What have you already attempted?
Looking in documentation

#

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

Code
RECOVERABLE: Please update the name in the Source owner hash to be between 3 and 100 alphanumeric characters and then re-run the tooling. See https://docs.stripe.com/api/sources/update#update_source-owner-name for reference.

Question
Getting this error when running the migrations script to migrate away from sources to payment methods

What have you already attempted?
I checked the docs, but can seem to find what the issue is with "Source owner hash"

cursive heronBOT
#

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

Code
<PaymentElement
options={{
defaultValues: {
billingDetails: {
address: {
country: "US",
},
},
},
layout: {
type: "tabs",
defaultCollapsed: false,
radios: true,
spacedAccordionItems: false,

Question
We're currently using Stripe Financial Connections to link user bank account. We use a modal to show PaymentElement. When user adds bank account, we noticed that it persists. For example, if user adds one bank account and tries to add another one they still see old bank account. When page is reloaded and open modal again, they don't see linked bank account. I want to disconnect any bank connection once modal is closed w/o needing user to reload the page.

What have you already attempted?
I've tried unmounting and resetting the PaymentElement in the frontend but this still persists the linked bank account

#

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

Question
Can you please tell me what API I can use when trying to create a subscription but that allows me to have a discount now but after a year it can go to regular price?

Related Request ID(s)
I currently can't provide as i don't have this built yet

What have you already attempted?
I currently have Create a checkout using subscription, and although this charge an amount it doesn't allow me to give a discount for the 1st year and then charge its regular price at the year end cycle.

What are you working on?
creating subscriptions

cursive heronBOT
cursive heronBOT
#

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

Question
Using Stripe Connect, In the Account object, what is the one field that indicates whether the connected account is cleared to receive payments? And what is a scenario where the refresh url would be needed in onboarding process?

Related Request ID(s)
req_s0bDYYEb8DjQSj

What have you already attempted?
In test mode, I've looked through the docs and compared Account.retrieve results for accounts that have a status marked as "enabled" and "restricted" in the dashboard. I see that the "restricted" account has a number of requirements in the api response that the "enabled" one does not have, but there is also an "eventually_due" property that does not seem to be holding it back. There is no "status" field in the Account JSON, so I am wondering if there are a couple of fields that the status is derived from. "charges_enabled" and "payouts_enabled", perhaps?

What are you working on?
Stripe integration with connected accounts and Stripe-hosted dashboard.

cursive heronBOT
#

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

Question
Yesterday, all calls to /v1/customers/search were not returning any customers. These are calls we were sure worked before. This morning, these same calls started working again. We did not make any changes to our code between last night and this morning. I'm looking for any possible reason this could happen. We are passing these search options to the search endpoint:

query: `metadata['${InvoiceMetadataTokens.BxGuardianId}']:'${guardianId}'`,

expand: ['data.invoice_settings.default_payment_method', 'data.default_source']

Related Request ID(s)
req_tb5REZk5e26pQO

What have you already attempted?
We just tried the same thing this morning that failed last night and it worked.

What are you working on?
We are working on a platform allowing families to purchase after school sessions for their kids.

#

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

Question
I working with payment intents. I want to know if the payment intent description has a limit of characters

Related Request ID(s)
1

What have you already attempted?
Test

What are you working on?
API

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/customers/object

Question
So I'm trying to find what product the customer has bought from the subscriptions. However the ID of items from the subscriptions are not what I'm expecting. What is the correct way to obtain the items?

What have you already attempted?
I've attempted to go through the customer object, go to subscriptions, and for each subscriptions go through the item, but when I log the item ID, the code starts with 'si' instead of 'prod'

#

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

What did you expect to happen?
using react native with stripe payment sheet. On smaller devices. 14 pro on my development build the sheet should animate from the bottom to the top. same for all devices

What actually happened?
using iphone 14 pro, dev build. even using minified version what prod would look like, the sheet goes up as it should but on exiting the the animation seems to break and it staggers up down up again and bugs out

Reproduction Steps
use a development build of the payment sheet for stripe in React native. Test on devices 13 pro , the single pro series rather than the pro max versions.

Question
I could be closing it too soon, or maybe something to where it doesnt properly show on smaller devices. Is this a common issue?

What are you working on?
building a marketplace app

#

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

Question
I want to split a payment but the data to decide how to split it only comes at a later time from the end-customer purchase. How can I decouple the split from the payment intent?

Related Request ID(s)
req_436iPZEXczRzIo

What have you already attempted?
could not find anything in the API documentation

What are you working on?
checkout integration

#

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

Question
Where to set amount? frontend or backend?
I am using ExpressCheckoutElement and payment intent.

I wanna just render the pay with google and apple button, not form are anything.

I want this for web and mobile (react native)

Looking at web guide it has set it on frontend but when i read mobile guides it is setting on backend side. i am confuse.

Related Request ID(s)
.

What have you already attempted?
ExpressCheckoutElement + payment Intent

cursive heronBOT
#

@gleaming sluice pressed the 📚 Doc or 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
Hi Folks,

I am trying to move from the stripe charge API to payment Intent. I noticed that the payment intent creates an invoice charge and the charge webhook is fired along with the Payment Intent webhook.

Is it safe to assume after moving to the paymentIntent API, all the charge webhooks will still be fired as with the charge API?

What have you already attempted?
I have noticed the charge webhook being fired but I didn't find in the docs that state that all the charge webhooks will be fired with the payment intent API

What are you working on?
Migrating from using stripe charge to payment Intent api.

#

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

Link to the Doc/Guide in question
docs.stripe.com/payments/checkout/customization/policies

Question
is it possible to change the external payment page for stripe to add customization such as different colors for stripe text, as well as changing the name and/or title to make it seem more secure for our users? additionally is there methods to display a badge that stripe is safe to use? we keep getting a lot of complaints that stripe seems like fraud

What have you already attempted?
I have attempted to change text but I cannot find the right document

What are you working on?
I’m working on a custom web application e-commerce where users checkout to purchase a product and our gateway we are using stripe

cursive heronBOT
cursive heronBOT
#

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

Code
Test Automation question

Question
Hello! I wanted to ask if there is a ways to automate stripe supported checkout - payment UI credit card elements with something like playwright? Are there test IDs that we can use or have you seen people do this before?

What have you already attempted?
I tried to locate elements from iframe but it is not working. I am wondering if this is possible at all?

What are you working on?
Web automation for e commerce website

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Question
i have one connected account and create stripe.accountLinks.create using this but when user click on this lick which is given by this event and also that time call the webhook which event is put in this webhook ???

Related Request ID(s)
connect account id is acct_1PyXSjGhu91MNezT

What have you already attempted?
i have put this event in stripe webhook account.updated

What are you working on?
make webhook

cursive heronBOT
#

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

Question
I want to integrate stipe payment link method

Related Request ID(s)
I don't have request id

What have you already attempted?
I've follow standard doc but it's asking to enter whole payment details.

cursive heronBOT
#

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

Question
For creating a subscription, firstly I am creating a payment intent and then creating subscription,

So when payment intent is created I can see it in customer detail page in stripe with incomplete status then after subscription is created then another invoice has been created. So my question is why two payments are created for one subscription creation

Related Request ID(s)
123

What have you already attempted?
I have created payment intent and then created a scheduled subscription

What are you working on?
creating subscription

cursive heronBOT
#

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

Code
const stripeInstance = this.s.using_stripe_connect === 'CONNECT' ? window.stripeConnect! : window.stripe!;

const { paymentIntent, error } = await stripeInstance.confirmPayment({
elements: window.stripeProcessingPaymentElements!,
confirmParams: {
return_url: `${window.location.origin}/payment/completed`,
payment_method_data: {
billing_details: { name, email, phone },
},
},
redirect: 'if_required',
});

Question
I created a function inside the button.addEventListener()

In that function, I call 2 APIs: check and createDraft
check make nearly 1s and createDraft make nearly 3s
After 2 APIs finish, then I call stripe.confirmPayment.
Sometimes I get error: Failed to execute 'postMessage' on 'Window': Delegation is not allowed without transient

How can I fix it?

What have you already attempted?
I tried to find out the issue on stack over flow, seems like stripe or browser use user activation flag to check if human.

But I don't really understand the mechanism of this flag. Could stripe team explain more about it?

What are you working on?
I'm bulding payment flow via stripe payment element

cursive heronBOT
#

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

Question
I am using stripe connected account to payouts,
Can I make payouts for connected accounts if the bank status is "new"?
then when its status is changed?

Related Request ID(s)
dot have

What have you already attempted?
i attempt payout in bank status is "new", its properly working on test mode.

cursive heronBOT
#

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

Code
I am trying to get info related to lemonsqueezy- do you offer help on lemonsqueeze yet?

Question
I am trying to get info related to lemonsqueezy- do you offer help on lemonsqueeze yet?

What have you already attempted?
Tried to get in touch with lemonsqueezey support- mission impossible.

What are you working on?
Agricultural website payments with specific requests

#

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

Question
Payment method created with cartes_bancaires network specified as preferred. However after payment succeed, in charge.succeeded event network is visa. The question is why the network is visa if cartes_bancaires was specified as preffered?

Related Request ID(s)
Payment method: pm_1Pye75KHntq3zfImlQQCm2cG Payment intent: pi_3Py8w9KHntq3zfIm1CKaoJeY charge event: evt_3Pye76KHntq3zfIm0Fnzi13o

What have you already attempted?
Tried updating stripe SDK version, no luck

What are you working on?
Mobile app payments

cursive heronBOT
#

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

Code
import {
StripeProvider,
CardField,
useConfirmPayment,
} from '@stripe/stripe-react-native';

Question
im using "@stripe/stripe-react-native" in my react native app. is throwing error in running the app. can someone help me on this

What have you already attempted?
i've installed the package and now my app is not running in react-native run-android.

#

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

What did you expect to happen?
Stripe payment integration on shadow root

What actually happened?
Stripe is not mounted, this error appear →

We could not retrieve data from the specified Element.
Please make sure the Element you are attempting to use is still mounted.

Reproduction Steps
SImply mount stripe payment element in microfrontend using shadow root

Question
It is possible to use Stripe payment integration in a shadow root, or a PR is needed on the js lib ?

What are you working on?
Subsciption module of SAAS Agicap

#

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

Question
When a payment fails from the checkout session, payment_intent.payment_failed event is sent.

Is there any way to know which checkout session did the payment intent belong to? Because i have a metadata on checkout, which i want to know from the payment failed event as well.

Related Event ID(s)
evt_3PzaVPAWDWbiBybi3cPocuvP

What have you already attempted?
None

What are you working on?
Integrating backend with my system

#

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

Question
HTTP status code
500 (Internal Server Error)
iam facing this error. and the payment in the webhooks says internal error . i dont know where the bug . i have been trying to fix it for days . pls hepl. if we can open a zoom it will be great

Related Event ID(s)
we_1PysvZAcO1eKClr1CTFY2tyb

What have you already attempted?
i had another error . i re-order the cors and the express.json and its sollved. but now i have this error .

#

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

Question
We are implementing stripe connect and have express account, Whenever there is a transaction payment or refund, stripe fees is not being shown there, why is it so?

Related Request ID(s)
req_5Nq4BZuhjgwMAM

What have you already attempted?
I contacted support and they said express or custom accounts do not have a stripe fee

What are you working on?
We are working on implementing stripe connect with destination charges

#

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

Question
I have 2 question:
- I have a free subscription (without cc) and I want to let the user move to a paid subscription, as I didn't take any cc in the free subs when I try to update the subs to a paid one I get: `This customer has no attached payment source or default payment method. Please consider adding a default payment method.` how should I let the user add the payment method? can I create a checkout session for this?
- if I use the portal to update the subscription, is there a way to "block" the update process and do some check on my side before complete the update?

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

What are you working on?
saas application with subscriptions

cursive heronBOT
#

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

Question
What is the best practice to make a discount on changing a plan via customer portal?

I have two prices in a product: monthly and annual. When users are switching from monthly to annual via a customer portal I want to give them a $100 discount. But only then.

I decided to make a promo code and limit its redemption to some minimum price that is over a monthly price.

But that does not work because this:
https://docs.stripe.com/billing/subscriptions/coupons#restrictions

What is the best way of actions here? I want to both keep users updating subscription via customer portal and limit coupon/promo only to upgrading to an annual price, if it is possible.

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

https://docs.stripe.com/customer-management

https://docs.stripe.com/billing/subscriptions/coupons#restrictions

What are you working on?
An educational platform with subscription

cursive heronBOT
#

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

Question
I want to preview an upcoming invoice for a prorated one-off invoice. I can successfully create the invoice with proration but the unused time is returned as a positive amount. I want the unused time to be substracted from the total amount as if I was previewing an upcoming invoice for a subscription proration

Related Request ID(s)
req_2RieYqc2TT7esb

What have you already attempted?
If I set the subscription_details.start_date, the upcoming invoice has 2 line items, one with the unused time on the item and one with the list item price. I want the unused time to be a negative amount as the user shouldn't pay for that unused time

What are you working on?
Previewing prorations for one-off invoice items

cursive heronBOT
#

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

Question
I am currently testing Stripe using the CLI sandbox, following the instructions provided in your documentation:
https://outlook.office.com/mail/safelink.html?url=https://docs.stripe.com/stripe-cli#install&corid=8e09a058-b92c-6d66-d059-b4751fa0f2ca

Related Request ID(s)
s

What have you already attempted?
stripe trigger payment_method.attached --override metadata:GREANLANE_USER_ID="2342342"

#

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

Code
payment_intent_data: { // Add metadata to the payment intent
metadata: {
order_id: req.body.orderId,
type: "myProduct",
userId: req.body.userId }
},

Question
Error saving order to database: Order validation failed: userId: Path `userId` is required.

What have you already attempted?
alot of solutions.

What are you working on?
checkout session

cursive heronBOT
#

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

Question
So I use a provider that manages transactions & billing, Stripe is not an option so I am unable to just add my secret and id. I can add a custom gateway, but I don't know what to input.

Related Request ID(s)
N/A

What have you already attempted?
I have looked at the API docs, but I've haven't found anything that suits me.

What are you working on?
Im building a hosting provider (not using WHMCS so dont bother sending me a Stripe Plugin)

#

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

Question
i use stripe checkout. Can i save an array of string in metadata? Is there any limits regarding length of strings?

Related Request ID(s)
-

What have you already attempted?
I can save one string

#

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

Code
const paymentMethod = await stripe.paymentMethods.create({
type: 'bacs_debit',
bacs_debit: {
sort_code: '108800', // Example sort code
account_number: '00012345', // Example account number
},
billing_details: {
name: 'John Doe',
email: 'johndoe@example.com',
address: {
line1: '123 Main Street',
city: 'Anytown',

Question
I am adding bacs direct debit payment so i have added payment method when i am create a payment it gives an error This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter.

What have you already attempted?
first i try from my checkout page to try this payment it gives same error now i have collect their details and added in stripe from stripe i will make a payment

#

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

Code
$subscriptionCancel = $this->stripe->subscriptions->update($order->subscription_id, [
'cancel_at' => strtotime($request['return_date']),
'proration_behavior' => 'always_invoice', // Invoice any prorated charges immediately
]);

Question
This is the error

{"success":false,"message":"The subscription is managed by the subscription schedule `sub_sched_1PzbAMIE5Vvk0efG7Tjfnkhz`, and updating any cancelation behavior directly is not allowed. Please update the schedule instead."}

What have you already attempted?
$subscriptionCancel = $this->stripe->subscriptions->update($order->subscription_id, [
'cancel_at' => strtotime($request['return_date']),
'proration_behavior' => 'always_invoice', // Invoice any prorated charges immediately
]);

What are you working on?
cancel subscription

#

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

Question
Hello, I use stripe connect, with payment elements. Everything works, but I would like to hide the ‘country’ field that I fill in/modify dynamically via the ‘country’ field on my billing form (billing address).

Is this possible? Thanks in advance

Doc/Guide Links
https://docs.stripe.com/elements/appearance-api?platform=web

What are you working on?
Customize Payment Element

#

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

Question
We are implementing stripe connect with destination charges, whenever customer pays, it first goes to platform account and then connected account, and we collect application fee of lets say 10%. As stripe charges an amount as stripe fees from platform account. Now if a refund happens, we reverse the transfer and application fee. So platform account is in loss as the stripe fees is deducted from platform account. How can we charge the connected account after the full refund/reversal?

Related Request ID(s)
req_5ztgrmZGMM6Gjf

What have you already attempted?
I tried creating https://docs.stripe.com/api/transfers/create, but is taking only connected id as destination, I want destination to be platform account

cursive heronBOT
#

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

Question
How can I track sales made with Stripe for Meta Conversion API? I am using Google Tag Manager

Related Request ID(s)
req_loPA7LaeU1GJeG

What have you already attempted?
I've done some research but can't figure it out

What are you working on?
I am using WHMCS, a billing software with native Stripe support, and I want to track WHMCS sales made through Stripe

cursive heronBOT
#

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

Question
When fetching "Charges" (via list or search) how can I get information on what that charge was for? EG the line item (product) or a subscription?

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

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

Question
Hello Stripe Team! I have question regarding new Stripe POS SDK (version 3.0). Will previous version (2.0) still work, but will not be maintained on your side? We have an old project, that sadly we can't afford maintaining (unless necessary). We are wondering whether we have to do anything about upcoming Stripe SDK 3.0 deadline, or we are safe to leave app as it is right now, assuming we don't plan to develop it further.

Cheers!

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Payment application, that uses Stripe (Card payments and POS payments).

#

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

What did you expect to happen?
Could you please assist me in resolving this issue, or help me cancel the upgrade order? I sincerely apologize for the inconvenience, but I would greatly appreciate your help or any guidance on how to resolve this.

What actually happened?
Hello,

I am the account holder of @Btc_Crush. A few days ago, I attempted to upgrade my Premium subscription to Premium+, but the subscription was not successful. During my previous Premium subscription, I was traveling in Turkey, which changed my payment method to TRY. This now prevents me from making payments successfully.

At present, this chain of events has cau

Reproduction Steps
I am the account holder of @Btc_Crush. A few days ago, I attempted to upgrade my Premium subscription to Premium+, but the subscription was not successful. During my previous Premium subscription, I was traveling in Turkey, which changed my payment method to TRY. This now prevents me from making payments successfully.

Question
At present, this chain of events has caused my Twitter Blue verification (Blue check) to disappear, and I am unable to subscribe to Premium again. This has already affected both my work and personal life. I sincerely request your assistance in resolving this issue as soon as possible.

#

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

Code
const { error, paymentMethod } = await createPlatformPayPaymentMethod({
googlePay: {
amount: 100,
currencyCode: 'GBP',
testEnv: true, merchantName: ‘Test’,
merchantCountryCode: 'GB',
//other details
});
if (error) {
this.setState({ error });
} else {
this.setState({ paymentMethod });
}

Question
I'm done with GooglePay in android side but How can i integrate GooglePay in ios side in my react native app?

What have you already attempted?
i'm done with google pay integration in android side but not sure about ios side because when i click on google pay on ios side then nothing heppens.

What are you working on?
I want to integrate google pay on both platform android and ios. i'm done with android but fot ios i need help

#

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

Question
case 'payment_intent.succeeded':
const paymentIntent = event.data.object;
console.log('PaymentIntent was successful!', paymentIntent);
break;

Related Event ID(s)
we_1PysvZAcO1eKClr1CTFY2tyb

What have you already attempted?
move the create order to payment succeded.

cursive heronBOT
#

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

Question
Can I create a subscription where items are defined by their lookup_keys?

Related Request ID(s)
-

What have you already attempted?
I have tried to use that but it seems to not find the price. On the other side seems that the purpose of lookup_keys is that

What are you working on?
Creating a subscription

#

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

Code
We are using stripe old sources and want must switch to new variant. We are creating a setup intent trough the api and finalise it in the browser

Question
We only want the card and sepa debit but we also get 2 options other that we use for one time payment.

What have you already attempted?
https://dashboard.stripe.com/test/settings/payment_methods here we switched of the check for recurring payment but we still get the options that we dont want

#

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

Question
how can I retrieve charges from a payout?

Related Request ID(s)
N/A

What have you already attempted?
charges = client.stripe.BalanceTransaction.list(
payout="po_1Pz6vRR0CU5Ba1iiFFR5EMQt", type="charge", expand=["data.source"],
stripe_account="acct_1PyXy9R0CU5Ba1ii"
)

What are you working on?
Getting charges of a payout

#

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

Question
Test API Key keeps giving me an expiration error

Related Request ID(s)
Not sure what to put here

What have you already attempted?
I have rerolled a new api key and I am still having the same problem

#

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

Question
Opposite to expand? Remove fields?

We are listing out charges, and don't want the "source" object, and to also trim down some of the customer and invoice data (which are expanded).

Is there a built in option to strip out fields from the request so they do not appear in the response?

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
I'm trying to build an automated test of the ACH Payment method using Payment Intents for my Stripe integration.

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

What have you already attempted?
The closest I got was to:
1) Create a payment method using the Stripe test bank account credentials
2) Create a payment intent using that payment method

I get a Payment Intent with:
next_action: verify_with_microdeposits

How do I create a us_bank_account payment method with real-time verification to mimic what happens in the Client Stripe.js using the Bank Login?

What are you working on?
building automated tests.

#

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

Question
Hi team!
We are using the Invoice API and getting 429 lock_timeout errors in our tests even though we perform all the operation on the created invoice sequentially.
Our usage (with java library sdk) is esentially:
Invoice.create(...)
.addLines(...)
.finalize()

Related Request ID(s)
req_M0CexBgEmj1Lqx

What have you already attempted?
We are already using retries as suggested by the docs, by setting it globally using Stripe.setMaxNetworkRetries(3), not sure if it is working or not as we don't see the retry attempts in the dashboard (maybe they are filtered??).

What are you working on?
A payment service integration supporting multiple clients.

#

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

Question
We are trying to make use of the 'Future refunds or disputes or negative balance' that is available in the dashboard. Is there an API which retrieves this balance as we could not find one in the documentation.

Related Request ID(s)
N/A

What have you already attempted?
Looked for the balance in the API documentation.

What are you working on?
Attempting to make use of the balance in order to handle refunds

#

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

Question
I'm hoping to pass an existing customer to a pricing grid - which seems to be easy. I expect that customer's existing credit cards to be available in checkout for use. Is this possible?

Related Request ID(s)
ppage_1Pyh1N4rOnkhckTrULj5Jasj

What have you already attempted?
I've tried a couple different components when creating the CustomerSession. Both "pricing_table" and "payment_element". I'm guessing I want "pricing_table".

What are you working on?
Switching to Stripe pricing grids, checkout, and customer portal

cursive heronBOT
#

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

Question
How can I get Charges associated with a Terminal Reader via the API?

I'm trying to get Charges from the API for analytic purposes, I want to be able to identify the Terminal Reader that was involved, specifically I want the 'tmr_abc123' id. I can do this through the Dashboard with the `terminal_reader` filter however I can't figure out how to do this via the API.

Related Request ID(s)
N/A

What have you already attempted?
I've tried looking at Charges, Payment Methods and Payment Intents documentation and I cannot find any reference to the Reader Id.

What are you working on?
Trying to get Charges per Reader for analytics.

#

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

Question
I am wondering if my frontend can use and send directly stripe resource ids like price_id or subscription_id or maybe they should use my own database IDs and then I should reference to stripe IDs on my backend? Do you think there is any security compromised if frontend can consume and send me back those IDs?

Doc/Guide Links
I just want to know about best practice

What are you working on?
Creating stripe subscription

#

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

Code
const { collectPaymentMethod } = useStripeTerminal(...);

...

await collectPaymentMethod({ paymentIntent });

// throws "Contactless transaction failed com.stripe.core.aidIrpc.AidIRpcException: Failed to send request to AIDL server."

Question
Repeatably on Android, after calling collectPaymentMethod to present the Tap to Pay card reader, the reader screen dismisses and this error in thrown. The full text in the alert body is the entirety of the error message:

Contactless transaction failed com.stripe.core.aidIrpc.AidIRpcException: Failed to send request to AIDL server.

Library:
@stripe/stripe-terminal-react-native 0.0.1-beta.21

targetSdkVersion: 34
compileSdkVersion: 34
minSdkVersion: 26
buildToolsVersion: 34

What have you already attempted?
Debugging on beta 19, 20, and 21 all give this error. We have narrowed it down to when a card "mis-reads" on the TTP sheet and says "Try again" with a loud beep. After several mis-reads the TTP sheet dismisses and the error is thrown.

Serial number of the reader triggering these errors: `3f80cfc2-2753-4560-b481-6553b8373326`.

We already filed a GitHub issue + tried to directly reach out to the maintainer of the Terminal lib but have not had any acknowledgement. Please help!

What are you working on?
An implementation of Stripe Tap to Pay on Android. This error is happening in production and is blocking us from shipping new versions of our Android app.

#

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

Question
We have a multiple partner branch is same connect account. We have the customer to school branch mapping on our side. Since we have multiple branch under the same account, we want to load the customers only for that branch as we dont want to show the invoices from other branches. This is causing us loading issues as we have around 50 branches and total 1500 invoices to load and show every month on the whole account and we have to enrich this data with our own data.

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

What have you already attempted?
We have tried using search query language to load the invoices for all customer it seems to be not working as it exceeds the query limit. Is there any other way to load these invoices for us or as we have to show all the invoices for the school branch.

What are you working on?
We are building invoicing system for schools with each activity or program they have. We are using invoices list to load the invoices currently.

#

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

Question
Hi, i have two questions regarding promo codes on payment links that start a subscription.

1) Is the promo code on subscription or customer level?
2) Whats the best practice for promo codes on monthly vs. annual subscriptions? We use proration thus when a yearly subscription starts mid month, the first invoice is a smaller prorated invoice versus the big yearly invoice that follows at the beginning of the next month. We'd like to have one-time coupons for that second invoice (first big invoice). Is there a way to make that work?

Related Request ID(s)
None

What have you already attempted?
https://docs.stripe.com/api/payment-link/create

cursive heronBOT
#

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

Question
I am not getting the payment_intent information

Related Request ID(s)
req_AjsYXuVtYPptuU

What have you already attempted?
client = StripeClient("DEV", version=StripeClientVersion.V2024_04_10)
charges = client.stripe.BalanceTransaction.list(
payout="po_1Pz6vRR0CU5Ba1iiFFR5EMQt", expand=["data.source"],
stripe_account="acct_1PyXy9R0CU5Ba1ii"
)

#

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

Question
Why is my invoice.payment_succeeded not firing after my customer purchases?

Related Event ID(s)
invoice.payment_succeeded

What have you already attempted?
I have already tried to enable all invoice events to see if any worked, but after an approved sale, only payment_intent.succeeded and payment_intent.created are being triggered, which do not send user data for account creation.
I need the name and email information that comes with the invoice succeeded.

What are you working on?
I'm working on an integration with the members area

#

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

Question
I am encountering an issue where too many Payment Intents are being created, leading to performance problems and unnecessary resource usage. I would like to reuse incomplete Payment Intents instead of creating new ones each time.

Related Request ID(s)
pi_3PzfsMAkotOdm1XK0O86M2mD

What have you already attempted?
I have tried to check for existing Payment Intents with the status 'requires_source' using the Stripe API, but I am unable to reuse them effectively. I have also tried to update the existing Payment Intents with new information, but the issue persists.

What are you working on?
I am working on a payment integration using Stripe. The goal is to optimize the payment process by reusing incomplete Payment Intents instead of creating new ones each time a user initiates a payment.

cursive heronBOT
#

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

Question
I am creating a billing portal to configure a subscription. I would like to give the person the choice if he want to subscribe monthly or yearly. If yearly, they should also get a 25% discount. How can I archive that. I will share the relevant code how I creating the billing portal session

Related Request ID(s)
-

What have you already attempted?
I am looking for ideas right now

What are you working on?
Subscription based CMS

#

@carmine flame pressed 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/reusable-object-migration-from-sources-to-payment-intents

Question
Bonjour,

Je souhaite avoir de l'aide pour convertir des sources de paiement SEPA en PaymentMethod. Le problème que j'ai est ce que cette migration doit être faite sur plus de 326 comptes Connect Custom, et lorsque j'utilise l'outil Workbench en étant connecté au Dashboard d'un compte Connect, je ne vois pas l'onglet "Insight" qui m'affiche les étapes pour migrer les données.

Merci de votre aide.

What have you already attempted?
Migrer des données pour mon compte principal en mode test.

#

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

Question
I am creating a backdated subscription. How can I record usage for metered billing before creating a subscription? For example, let’s say it’s September 16. We have a subscription that started on July 1, and the next billing date is October 1. We want to immediately issue an invoice for the metered usage covering the time between July 1 and October 1.

Related Request ID(s)
req_COuVqmfpWSVgSI

What have you already attempted?
I have attempted to backdate the subscription to report on usage, as described here: https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#backdating-subscription-creation. However, the invoice was automatically marked as paid because the amount due was $0.00

cursive heronBOT
#

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

Question
I have an account with connected subaccounts. How do I process payment directly to these subaccounts via API?

Related Request ID(s)
req_A3x0ed8HAlhNZX

What have you already attempted?
I want the processed amount to be sent directly to a connect account instead of the parent account

What are you working on?
We are building an external payment processor and processing it with Stripe

#

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

Code
https://discord.com/channels/841573134531821608/1285245446662393918

Question
Hello, I was supposed to provide some follow-up information on this thread but it has been locked. Could you please re-open it?

What have you already attempted?
Tried to DM @hanzo to re-open but that's not allowed

What are you working on?
Trying to debug an error in Stripe Terminal Android

#

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

Code
session = stripe.checkout.Session.create(
mode='subscription',
ui_mode = 'embedded',
line_items=[{ 'price': sw_price_id, 'quantity': 1 }, { 'price': hw_price_id, 'quantity': 1 }],
shipping_options={'shipping_rate': 'shr_1...K'},
billing_address_collection='required',
shipping_address_collection={ 'allowed_countries': ['US', 'CA'] },
automatic_tax={'enabled': True},
)

Question
Selling SaaS, with piece of hardware at initial sale. HW must be shipped, and so we'd like to collect shipping. I've created a shipping rate, but when I pass that value in `shipping_options` I get the error "`shipping_options` cannot be used in setup or subscription mode."

What have you already attempted?
There's no mention of subscriptions on the shipping docs, and no mention of shipping on the subscription docs. I've been googling, and searching on StackOverflow.

What are you working on?
Building a SaaS portal

cursive heronBOT
#

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

Question
hi, one of our customers were deleted on test environment by
StripeBatchAPI/1.0

Related Request ID(s)
req_eP5g9fjjSnFqW8

What have you already attempted?
does stripe delete resources on pre prod - how often doe this happen?

#

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

Code
```
return auth()->user()->newSubscription('default', config('packages.farm-savvy.stripe_id'))
->allowPromotionCodes()
->checkout([
'line_items' => [
[
'price' => 'price_1PzcdnIyct5zvF7hnLiNzMyy',
'quantity' => 2,
],
],
'success_url' => route('payment-success'),
'cancel_url' => route('payment'),
]);
```

Question
Here i have manage as you advised in previous chat today, and i added my Add On as line item.
I have creared main subscrition prroduct, and i created "Add on " product in stripe dashboard, and then added Add On product as line item. Got nice output and i got two subscrition items in my datbase.

Now how do i downgrade Add Ons? For example, i added quantity of two in line item when subscribe. Now user wants to remove one, and i ask how do i do that? :)

What have you already attempted?
Reading document on https://docs.stripe.com/billing/subscriptions/upgrade-downgrade but not understand how to do it. I need to update user subscriition for PRODUCT_ID="prod_QrLJNPgvCSBOn2" by reducing number of additional countries (Add On)

What are you working on?
PAyment subscrioition for agri4all

#

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

Question
Stripe Apps API - getting the error {message: "install_reauth_required"} from Stripe's internal backend if my manifest contains `user_email_read`. I need to retrieve user info after OAuth installation, and that scope (user_email_read) seemed to be it, but there is this bug.

Related Request ID(s)
req_PwHUgJF8c0NKaX req_L852esblKGdDyB

What have you already attempted?
Removing that scope user_email_read from my app manifest solves the problem, but unfortunately I still need to retrieve the user info in a Stripe app with OAuth.

The error itself is internal on the OAuth page not letting the user complete the Stripe's interaction.

What are you working on?
PricingWidget - a tool for highly customizable pricing tables

#

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

Code
Migrate SEPA Direct Debit Sources

Question
Hi, as requested on dashboard, we are migrating our SEPA Direct Debit Sources, and before clicking on "Convert Sources", we want to be sure it's not migrating all of our Sources but only the sepa_debit one, can you confirm ?

What have you already attempted?
Replace all new create source with payment method

#

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

Question
We have a multiple partner branch is same connect account. We have the customer to school branch mapping on our side. Since we have multiple branch under the same account, we want to load the customers only for that branch as we dont want to show the invoices from other branches. This is causing us loading issues as we have around 50 branches and total 1500 invoices to load and show every month on the whole account and we have to enrich this data with our own data.

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

What have you already attempted?
We have tried using search query language to load the invoices for all customer it seems to be not working as it exceeds the query limit. Is there any other way to load these invoices for us or as we have to show all the invoices for the school branch.

What are you working on?
We are building invoicing system for schools which are as connect accounts with each activity or program as productthey have. We are using invoices list to load the invoices currently.

#

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

Question
We want to send an email/slack whenever a new connected account completes onboarding and/or updates their connected account config. We haven't seen any webhook events to key off of for this. What's the best way to accomplish this?

Related Event ID(s)
n/a

What have you already attempted?
read through all of the stripe events

#

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

Question
I create a subscription on sept 10. When the invoice is paid in sept 15, i want the subscription cycle to start from sept 15 instead of sept 10. So, that the customer who paid gets a full month, and his cycle starts from sept 15.

How can I update the billing_cycle_anchor without creating the first invoice again because its already paid?

After a month, the 2nd invoice should be drafted.

Related Request ID(s)
None

What have you already attempted?
I tried to update billing_cycle_anchor to now, but a new invoice is drafted again.

What are you working on?
Integrating backend with stripe

#

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

Question
Using invoice.paid webhook to obtain card brand and last4 works except for subscription upgrade/downgrade when amount is zero.

Seeking a property that can be relied on to always contain card brand and last4 when invoice.paid webhook is received.

Related Event ID(s)
in_1Pzi1cP1RfWclRKNZHXZygRS

What have you already attempted?
Using payment_intent from invoice.paid payload to retrieve paymentIntent which contains paymentMethod which contains the card brand and last4

What are you working on?
Trying to always get the card details during invoice.paid event

cursive heronBOT
#

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

Question
Hi Team, We would like to build a custom payment flow. First, when user register, they can purchase product (our service). Then we would like to recharge auto when credits run out on our end.

Related Request ID(s)
Nothing

What have you already attempted?
We'd like to use a solution like checkout session for recharge, but I believe the checkout isnt available on backend. Is this any way to recharge as well?

#

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

What did you expect to happen?
We expected Stripe issued virtual cards to go through the frictionless flow, without requiring 3D Secure (3DS) authentication, similar to the behavior on another Stripe account.

What actually happened?
Instead, the Stripe API required a 3DS authentication step for the same virtual cards. This did not happen on another Stripe account where the virtual Stripe issued cards were processed without 3DS.

Reproduction Steps
Set up a new Stripe account.
Use Stripe's issued virtual cards to process a real payment.
The Stripe API prompts for a 3DS authentication step, even though the card should follow the frictionless flow(this happen without any popup).
Repeat the same steps on another Stripe account – no 3DS authentication is required.

Question
Why is the 3D Secure (3DS) authentication step being triggered for Stripe's issued virtual cards on this account, while the same cards are processed without 3DS on another Stripe account? Could this be related to a notification we saw about mandatory 3DS for our users?
real payment intent with problem https://dashboard.stripe.com/payments/pi_3PziGYFFNCZvAMgv13sxBvhx

cursive heronBOT
#

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

Question
I'm trying to understand how we can process a payment refund and corresponding transfer reversal for a cardholder in one of connect accounts who we have invoiced for a reconciliation, has successfully paid that invoice, but then has their original expense refunded by a merchant so we need to pay it back. In testing, it seems using the 'payment refund & reverse associated transfer' pulls from the connect account's available balance which is causing issues since we transfer all funds to the connect account's issuing balance (so it's pulling from a 0 balance and going into the negatives).

Related Request ID(s)
From test acct: req_zFMfu49YXAanrh, from prod: req_ZXXvhGiCjniDCH

What have you already attempted?
I've attempted to test this functionalityy out in our test account by going to a paid invoice that we've generated, navigating to its paymentIntent page, then using the 'refund' button along with checking the 'reverse associated transfer'. This pulls from the connect account's available balance when returning the funds to our platform account which is...not what we want.

What are you working on?
Internal documentation and features on how to refund paid invoices for cardholders.

cursive heronBOT
#

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

Question
I want to create a connected account that has the following features:
- Dashboard: Full or Express (preferably full)
- Charge type: Direct
- Stripe fees: Paid by my platform (not the connected account)
- Negative balance liability: Stripe.
Essentially I need a Standard Connected Account, but have my platform pay for Stripe fees and not the Connected account. So that my clients have a unified, simple and transparent fee via the 'application_fee'.
Thank you in advance.

Related Request ID(s)
req_1Oi9hzQ2gink89

What have you already attempted?
According to the Connect integration guide (https://docs.stripe.com/connect/design-an-integration), this should be possible. Although, it prompts me to contact sales to request access. Even after having contacted sales, and they confirming it is possible by saying "Although the Stripe fees are typically debited from the connected account's balance, you can adjust the settings so that these fees are instead paid by your platform". I've created multiple connected test accounts, either via the dashboard, or via API, with the controller and with types. It has not been possible at all.

#

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

Question
how do I cancel duplicate ACH payments that are already in a "processing" status?

Related Request ID(s)
not found

What have you already attempted?
tried cancelling using stripe cli, but get an error that it is not possible. tried expiring but that didn't work.

What are you working on?
some clients are invoking multiple duplicate payments via ACH and I'm trying to fix that

cursive heronBOT
#

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

Question
I'm trying to add a credit balance of 2 months (for a 2 months free promotion) on a subscription/customer. So I need to know how much a "month" is, as some of our customers have forever discounts applied. Is there a way to get that? Or do I have to manually calculate it based on the discounts attached to the subscription?

Related Request ID(s)
N/A

What have you already attempted?
I've looked through the docs and searched

#

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

Code
const { businessType, country } = form.data;

	const account = await stripe.accounts.create\({
		type\: 'express',
		business\_type\: businessType, 
		country\: country,
		email\: user.email,
		capabilities\: {
			transfers\: {
				requested\: true
			},
			card\_payments\: {
				requested\: true
			}
		}
	}\);

Question
How can I create a stripe connected account for an individual ? Even when business_type = "individual" the

const accountLink = await stripe.accountLinks.create({
account: account.id,
refresh_url: `${ORIGIN}/auth/login`,
return_url: `${ORIGIN}/app/profile/${user.id}`,
type: 'account_onboarding',
collection_options: {
fields: 'currently_due'
}
});

is asking me informations about my company

What have you already attempted?
I've read all the docs, tried to set manually the business_type but nothing really works

What are you working on?
I'm building a marketplace that allows indirect payments between sellers and buyers, so i have to make the sellers create a Stripe account.

cursive heronBOT
#

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

Question
I am using stripe Payment Element. When attempting to create a payment method, we are intermittently seeing 415 request failures related to captcha.

Related Request ID(s)
None

What have you already attempted?
Not sure how we are supposed to present captcha. We are using the payment element in payment mode, and are not attaching a payment intent client side

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/trials#send-an-email-reminder-before-the-trial-ends

Question
We simply want to **require** users enter a payment method when starting a subscription that includes a free trial period.

What have you already attempted?
Usually your docs are awesome, but this doc doesn't have detail on how we'd go about this; there's a lot of detail on *not* requiring a payment method, but we want to require a payment method. Questions include:

  1. What's the basic workflow/best practice on how to do this?

  2. Will Stripe stop spammers from creating multiple subscriptions that use the same payment method?

  3. Will entitlements work as expected?

cursive heronBOT
#

@dapper 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
https://docs.stripe.com/terminal/readers/stripe-m2

Question
When using debit card with Stripe M2 reader, how can we get debit card fees? Because even when we used debit card, stripe still charges credit card processing charges

What have you already attempted?
We have explored the documentation and there no way to tell us how to initiate a debit card transaction.

#

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

Question
I am having trouble creating a CheckoutSession in 'payment' mode to use the payment methods already available to the current customer.

Related Request ID(s)
req_zDodxAqUeXRyH4

What have you already attempted?
I can confirm the pi is setup for future use: pi_3PzlcmFfwZHCUIou0YirCG0N

cursive heronBOT
#

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

Question
Does Stripe Elements have the ability include attaching of documents of pdf file to check out experience?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Check out page

cursive heronBOT
#

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

Question
stripe checkout currency - question

Related Request ID(s)
checkout > create session

What have you already attempted?
Hello, I have a question about handling currencies for card stripe payments. Only thing to handle every currency is to set currency in checkout.sessions.create to user currency? Or maybe there are some law requirments ?

I'm am trying connect this in stripe connect and wanted to ask to be sure. Every my user before creating payment will be choosing currency

#

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

Question
What is the difference between a subscription that got cancelled after a few failed payment attempts (managed by retry rules) and a subscription that got created went into incomplete and then expired.

Related Request ID(s)
req_DBhQS9IPV3Lny3

What have you already attempted?
read docs about sub lifecycle

cursive heronBOT
#

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

Question
Is there any way to renew a subscription in advance? For example, suppose we have a yearly subscription that is created on Sept 16, 2024. How could we charge them on August 16, 2025, so that on Sept 16, 2025 we can definitively decide whether to keep/cancel their subscription?

Related Request ID(s)
None

What have you already attempted?
Looked through docs but found nothing

cursive heronBOT
#

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

Question
I have a SwiftUI app that in testing is currently accepting payments correctly via paymentSheet/paymentIntent however I need to now add the user to enter a shipping address. I've added the AddressViewController and AddressViewController+Configuration but Xcode is giving a lot of errors in these files like Cannot find PaymentSheetUI, ConfirmButton in scope also a bunch of errors like 'save_address', 'shipping_address' is inaccessible due to internal/@_spi protection level

Related Request ID(s)
req_dY0P2p1KhvC68F

What have you already attempted?
I've searched the internet/stackoverflow for solutions with no luck

cursive heronBOT
#

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

Question
Hi Stripe, we are trying to move away from Sources APi and going towards PaymentIntent API OR Setup Intent API. I followed this doc - https://docs.stripe.com/payments/quickstart and was able to create a page with card elements and charged a guest user. But this does not work well with if you want to charge people for subscriptions.

What do we follow to make sure, that we charge customers for recurring subscriptions using Payment Elements. Payment element is requiring us to use PaymentIntent API - to client secret and I am not sure what to follow for subscriptions payments?

Related Request ID(s)
NO Request ids

What have you already attempted?

  1. Create a backend route to get client secret with off_sesssion params. setup_future_usage: 'off_session'
  2. Then passed client secret to client stripe card element.
  3. This thing triggers a one-time payment.
  4. How do we charge a customer for a subscription and start subscription after this?

What are you working on?
Deprecating Sources API and moving Payment INtent API

cursive heronBOT
#

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

Code
```
params := &stripe.CheckoutSessionParams{
UIMode: stripe.String("embedded"),
ReturnURL: stripe.String(domain + "/success?session_id={CHECKOUT_SESSION_ID}"),
LineItems: []*stripe.CheckoutSessionLineItemParams{
{
Price: stripe.String((lineItems.ItemID)),
Quantity: stripe.Int64(1),
},
},
ShippingOptions: []*stripe.CheckoutSessionShippingOptionParams{
{
ShippingRate: "",
},
},
```

Question
How can I dynamically set shipping rates? e.g. I want to be able to POST to my backend with a price ID and a shipping rate ID and essentially tie a price and a shipping rate together.

What have you already attempted?
I've tried setting the shipping ID as a line item.

cursive heronBOT
#

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

Question
When I change the price on a subscription from $0 to >$0 it bills the customer immediately rather than keeping the same billing interval date.

Related Request ID(s)
req_gcsF38RdP5udCR

What have you already attempted?
To the best of my knowledge, this used to keep the same billing date. but now this is changing the billing date to bill immediately. When you go from >$0 to another price, it doesn't bill immediately, it keeps the same billing interval

What are you working on?
saas application

#

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

Question
Hello,
Our Stripe Issuing webhook will receive an issuing_authorization.request event where there is a merchant_category_code (MCC).

Next we will need to post a charge to a card we have access to via Plaid, using the Payment Intent API.

In the PaymentIntent API I'm not seeing a way to pass along the MCC we originally received from the issuing_authorization.request. Instead it seems the PaymentIntent flow will assume the MCC as my own. Is there a way we can specify the MCC in the Payment Intent? Or any other solutions to post a charge to the Plaid card using the MCC from the auth.request?

Related Request ID(s)
req_2GHaJQ0QOBffle

What have you already attempted?
Mostly reading the API docs, asking friends who have some familiarity, and inspecting the python client.

What are you working on?
A credit card app using Stripe Issuing

cursive heronBOT
#

@dusky flax 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 an account in Test or Sandbox for development purposes without having to supply real company details, photos etc.

What actually happened?
It asks for real details and switches me out of Test mode.

Reproduction Steps
Select Test mode. (or a Sandbox)
Connect on left hand menu -> Connected accounts
Continue the process. End up with Activate you account or Try out your integration

Question
I am always being asked for real details. Is there a way to use test data?

cursive heronBOT
#

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

Question
Hi! I am wondering if anyone can assist me on deleting a bank account payment method from a customer? We tried to retrieve the id of the bank account but unable to do so. (The only id we can get is the one starting with "pm_" not the "ba_" one as referenced in the https://docs.stripe.com/api/external_account_bank_accounts/delete page. One thing we tried is "detaching" the payment method, which works. But, when users add the same bank account again via bank login, they can see that it was not deleted (since it still shows that Stripe has access to it)

Related Request ID(s)
n/a

What have you already attempted?
We tried retrieving the id starting with "ba_" but does not seem like we can do so. It looks like it is due to the fact that we are adding the bank accounts in a different way (will add screenshot below)

What are you working on?
A fee payment portal

cursive heronBOT
#

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

Question
From an invoice object, is there a way to figure out what items were purchased?

Related Request ID(s)
N/A

What have you already attempted?
I've tried looking at the docs but I don't see any way that I'd be able to use

#

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

Question
How do I fetch the payment invoice url for a draft invoice, when the subscriptions is created.

Related Request ID(s)
None

What have you already attempted?
In UI test mode, we can create the payment apge, and the invoice payment url is created even when draft.
I want to do similar with API, and fetch the invoice payment url.

For not, the invoice has hosted_invoice_url as null when on draft.

What are you working on?
Integrating backend with stripe

#

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

Question
Does Stripe offer an API that supports POS terminals like the PAX IM30, running Android OS, and can read credit cards?

Related Request ID(s)
-

What have you already attempted?
I contact CS and she give me a discord like for ask dev directly

cursive heronBOT
cursive heronBOT
#

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

Question
hi, I see multiple customers getting created -- a question: if I have a customer with email abc@xyz.com created and their subscription payment fails I am sharing the invoice and then they are using hosted invoice page to do the payment -- and now I see 2 customers with abc@xyz.com

I don't want multiple customers with same email address - how can I fix/ avoid this?

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

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

Question
I am trying to figure out how to model Stripe Subscriptions for following use case:
I have a business selling multiple weekly newsletters. Customers can subscribe for a monthly subscription for any amount of newsletters they want. How could I model this using Stripe Subscriptions, Subscription Items and/or Subscription Schedules?

Related Request ID(s)
No IDS

What have you already attempted?

  1. Subscription with multiple subscription items seem obvious choice. However problem with that is that when they cancel one newsletter but want to keep the others, there is no built-in way to keep track that they are still entitled to the that newsletter until the end of the period. I would have to build some annoying logic with metadata.
  2. Create multiple subscriptions one for each product. Here the problem lies in starting the subscriptions. There is no way to create one payment that activates all subscriptions.

What are you working on?
Subscription service that sends out weekly newsletters about different topics.

#

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

Question
I would like to know the amount deducted before a subscription update on Stripe. For example, what was the deduction amount before the update if a product quantity is 1 and then updated to 2?

Related Request ID(s)
Dev123

What have you already attempted?
I have used invoices for upcoming

#

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

Question
In our system the registrations are made and it will be done from different locations. Based on their location the stripe localized payment methods should get displayed. While creating a payment intent for localized payment method it is required to pass currency, based on currency localized payment methods gets displayed.
But what we want to achieve is based on user location(Country) localized payment methods should get displayed and payment should get initiated in only one currency which we have setup.
If user country is germany then localized payment methods should be displayed for germany.

Related Request ID(s)
stripe localized payment

What have you already attempted?
What we are trying to achieve? The payment should happen is event currency(INR) but localized payment methods should be displayed as per users country selection. If user country is germany then localized payment methods should be displayed for germany. But payment should be done in INR. If user country is united states then localized payment methods should be displayed for germany. But payment should be done in INR.

#

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

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

Question
I am using stripe payment element for checkout in which i am creating customer session to show the checkbox for stripe to save payment and I am able to save the payment for customer.

now i Want to show the the saved payment / card for the customer in checkout using stripe payment element built in feature how can i do can you please guide

What have you already attempted?
Not getting resources to understand

What are you working on?
for my e-commerce site i want to implement the feature

cursive heronBOT
#

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

Question
Hello, I'm trying to test platform payouts in Test mode. But it always fail that I don't have filled external accounts. How can I fill some test external account in Test mode? In test dashboard (https://dashboard.stripeHello, I'm trying to test platform payouts in Test mode. But it always fail that I don't have filled external accounts. How can I fill some test external account in Test mode? In test dashboard (https://dashboard.stripe.com/test/dashboard ) when I click on Complete profile it moves me to production version of profile completion (https://dashboard.stripe.com/account/onboarding)..

Related Request ID(s)
req_SIS9srkPXTZC8z

What have you already attempted?
Payout over the API

What are you working on?
testing

#

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

Question
Billing address is not being saved through checkout sessions.

I have a customer who is subscribed to a subscription. The first invoice has been paid, so now the card is attached to the customer and subscription is set to auto collection from the card.

Now when i am using to use that customer_id, to create a checkout session of certain amount. It prmopts me to add all the cards and addresses.

Even after adding, the card gets attached but the address is not updated on customer.

Related Event ID(s)
evt_1PzvALAWDWbiBybiS5wHyJsu

What have you already attempted?
Here are my session params:
```idempotency_key = str(uuid.uuid4())

    session\_params = {
        "mode"\: "payment",
        "line\_items"\: \[{"price"\: price\_id, "quantity"\: 1}\],
        "invoice\_creation"\: {"enabled"\: True},
        "metadata"\: {
            "org\_id"\: org\_id,
            "user\_id"\: user\_id,
            "plan\_type"\: plan\_type,
            "account\_plan"\: PLANTYPE\_TO\_ACCOUNTPLAN\_MAP.get\(plan\_type\),
            "action"\: action,
            "idempotency\_key"\: idempotency\_key,
            "subscription\_name"\: subscription,

What are you working on?
Integraitng with my backend

#

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

Question
I want to display the Google and Apple Pay Payment Methods in my Payment Element, added domains, and other configurations described in the stripe documentation.

Related Request ID(s)
Look in https://docs.stripe.com/ > Payments > Payment Element

What have you already attempted?
I added Payment Element to display in the iframe in React JS.

What are you working on?
Payment Element with Google Pay and Apple Pay Payment Method Support.

cursive heronBOT
#

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

Question
Hi, I'm trying to emulate the behavior available on subscription with the payment_behavior="error_if_incomplete" setting, but for single invoices. Basically, I want to create an invoice and try an immediate payment with the default payment method on the customer, and receive an immediate response with a success or error state. I'm not sure how to achieve that for invoices. Thanks!

Doc/Guide Links
https://docs.stripe.com/invoicing/integration/automatic-advancement-collection

What are you working on?
Create payment invoice with immediate response of the result.

#

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

Question
Hi,I am currently struggling with create payment intent API.
While actually running the operation, I have found something that is bothering me in the response of one payment intent.
The parameter “next_action” had a value “use_stripe_sdk”, but I couldn't figure out what this was.
Is there a document that details how to solve this problem?
And what does it mean when this is returned?

Related Request ID(s)
req_fA2TLsrcQNuWwB

What have you already attempted?
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment&locale=ja-JP#next-actions

I'm looking at this, am I right?

cursive heronBOT
#

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

Question
my channel DanielMagical on kick, need to get unlocked for buying subscribers, i dont own the phone number on which i registered my kick account. It was my brother number, we dont have it anymore, i want to earn money from subs and i cant because of the phone number, my @mail is still with me but i cant receive my account back.

Related Request ID(s)
I dont know

What have you already attempted?
I tried every step that your site provide, i tried to get my phone number back at ORANGE (phone company)

What are you working on?
KICK

#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/know-your-customer-(kyc)-requirements-for-connected-accounts

Question
Hi everyone,

I have a question regarding the KYC functionality. I hope the category of the question is right

So i have a standard Stripe account that is not bound to any platform account. And also i have a separate platform account on which i generated an onboarding link. I expected that when i open the onboarding link, even my existing account is not a connected one, that i still can use KYC and prefill most of the required information, but in my testing that is not the case.

Is that expected or i am doing something wrong?

What have you already attempted?
Already described in the question

What are you working on?
Enabling stripe payments for meeting scheduling

#

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

Question
On 8th Sep we made an API call to update our customer's product (evt_1PwgHcHZLNwo79Rq7sch8XjO). However 5 days later this got reversed by an 'Automatic' call (evt_1PyZFEHZLNwo79RqpFEcY2Jd). Can anyone help me determine why that might be?

Related Request ID(s)
evt_1PwgHcHZLNwo79Rq7sch8XjO / evt_1PyZFEHZLNwo79RqpFEcY2Jd

What have you already attempted?
I've looked through Workbench events but there's no indication of why this might have happened.

#

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

Question
I want to display the Google and Apple Pay Payment Methods in my Payment Element, added domains, and other configurations described in the stripe documentation.

Related Request ID(s)
Look in https://docs.stripe.com/ > Payments > Payment Element

What have you already attempted?
I added Payment Element to display in the iframe in React JS.

What are you working on?
Payment Element with Google Pay and Apple Pay Payment Method Support.

#

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

Code
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", apiKey);

            using \(var content = new MultipartFormDataContent\(\)\)
            {
                content.Add\(new StringContent\(purpose\), "purpose"\);

                // Read the file as a stream
                using \(var fileStream = System.IO.File.OpenRead\(filePath\)\)
                {

Question
I am trying to create a file and using this code. But i am getting error message as " Unauthorised request url". Please help me on this.

What have you already attempted?
using (var client = new HttpClient())
{
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", apiKey);

            using \(var content = new MultipartFormDataContent\(\)\)
            {
                content.Add\(new StringContent\(purpose\), "purpose"\);

                // Read the file as a stream
                using \(var fileStream = System.IO.File.OpenRead\(filePath\)\)
                {
cursive heronBOT
#

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

Question
payment method for ACH account in multiple time in the future
Api Request using postman collection

Related Request ID(s)
acct_1PsIUi2KmEgiewTQ

What have you already attempted?
First Approache :create payment intent based on ACH Payment method using postman collection:
Created the customer in Postman. -
Created the payment method in Postman.
Created the payment intent in Postman.
Verified the payment intent using micro deposits in Postman.However, when I try to reuse the above payment method ID, I encounter an error.
The provided Payment Method cannot be attached. To reuse a Payment method, you must attach it to a Customer first.
second Approach :As per stripe support suggestion create the payment method and customer . when i am create the setup intent then error

What are you working on?
step 1 : I have done the payment method and create the customer , when I go to create the setup intent then showing an error The provided PaymentMethod was previously used with a PaymentIntent with

cursive heronBOT
#

@young plover 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 test mode with connect. I want to send a test-invoice. I expect it to get sent

What actually happened?
I get an error saying that i need to verify my account before i can do that. Even requiring a scan of my passport.

Reproduction Steps
Create stripe connect account
Use it for about a month, sending lot of test invoices
Randomly it stops working and requires real identity verification.

Question
Is this intended behavior? Is there something i can do to avoid having to scan my passport just to use the test mode of stripe?

What are you working on?
Stripe connect, sending invoices in test mode

#

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

Code
I have a back and a front end

Question
I am integrating Stripe for payments on a WordPress site. My checkout page is freezing after the Stripe payment form is loaded. I suspect the issue is with the payment form or the way Stripe's JavaScript is interacting with WordPress.

I would appreciate your help in identifying what might be causing these issues, especially the freezing and the error message. How can I resolve this to ensure smooth payment processing?

What have you already attempted?
I commented out the Stripe payment form, and the page works fine without it, confirming that Stripe is the issue.
I attempted debugging using the network and console tools, but I can't pinpoint the exact issue with the Stripe integration.

What are you working on?
I am building an client registration service where users pay fees through Stripe.

#

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

Question
Can you please provide me the docs describing the `Google Pay requires Chrome and a Google account, Apple Pay requires Safari on a Mac/iPhone and an Apple account`

Related Request ID(s)
Look in https://docs.stripe.com/ > Payments > Payment Element

What have you already attempted?
I added a Payment Element to display in the iframe in React JS.

What are you working on?
Payment Element with Google Pay and Apple Pay Payment Method Support.

#

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

Code
// Only apple pay button show
const localStripePromise = loadStripe(publishableKey, { stripeAccount: connectedAccountId });

// Apple pay and google pay button show
const localStripePromise = loadStripe\(publishableKey\);

Question
How I enable google pay button on chrome(desktop). It work well for platform account but doesn't on connected account.

I am following there documents:

https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=api#register-your-domain-while-using-connect
https://docs.stripe.com/elements/express-checkout-element/migration

What have you already attempted?
Express Checkout Element and Stripe connect.

I try to enable Express Checkout Element for connected accounts and enable apple pay and google pay buttons. But it only show apple pay on safari browser and doesn't on chrome browser (Desktop).

What are you working on?
I am migrating stripe from Payment Request Button to Express Checkout Element and using React and Go

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/worksheets/payments?shell=true&api=true#refunds

Question
How to pass second step of refunds task? I reopening this question because its closed earlier,

What have you already attempted?
I created customer and payment intent. Also i attached customer to payment intent.

What are you working on?
Learning Stripe fundamentals and API

#

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

Code
npm i @stripe/stripe-react-native@0.37.0

Question
will downgrading the version work?

What have you already attempted?
the package needs a compiledSdkVersion of a value of more than 34. but few other packages are not built for the latest and fail to run.

cursive heronBOT
#

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

Question
payment method is not attached

Related Request ID(s)
req_CgWec0ymD8QG0F

What have you already attempted?
I have create the payment method based on ach method and customer ,After that i have attached the payment method to customer they shown an error here is the curl request
curl --location 'https://api.stripe.com/v1/payment_methods/pm_1PzyQa2KmEgiewTQ9VhdEuAZ/attach'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Basic c2tfdGVzdF81MVBzSVVpMkttRWdpZXdUUXNjdzNQUEVUdVJBRHdjTG1TR05kV3ZEMjdaV0EzSGkwVWhoVk41Nlp5YTFrSHZNdUdBUm1RblYxNE5iRnFHVG9zT0I3SU9TVjAwZVBKT2tLTHo6'
--data-urlencode 'customer=cus_QrhrJ7pmdtR0xG'

What are you working on?
I have want to attach the payment method with customer ,Please provide the above update curl request

#

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

Question
I am trying to create a payment dialog box, where I need to show 5 different payment options: US Bank account, Card, Apple Pay, Google Pay, and "affirm".

With card and US bank account, I need to create the elements in setup mode with setup_future_usage as "off-session".

Now with my understanding, to show "affirm" on the payment dialog box, I need to create the payment element with mode as "payment" and I need to pass "amount" parameter as well.

But when I do this, and select card for payment, it throws me an error implying that the payment element has not been created with mode "setup" .

Related Request ID(s)
req_C4etCOlybBVKZO

What have you already attempted?
I have tried updating the payment element using elements.update() api, passing mode as "setup" and removing "affirm" from paymentMethodTypes, however I am not sure how to remove "amount" from the elements, which seems like a mandatory thing to do if I am changing mode to "setup".

What are you working on?
Its a platform for enabling subscriptions for dental treatments.

cursive heronBOT
#

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

Question
I want to create a subscription with
1 no trail_period
2 At once charged

Related Request ID(s)
1

What have you already attempted?
async createStripeSubscription(
customerId: any,
): Promise<Stripe.Charge | any> {
try {
const subscription = await this.stripe.subscriptions.create({
customer: customerId,
items: [{ price: 'price_1JejcNFrwl37tCGijYmb0GU8' }],
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' },
expand: ['pending_setup_intent'],
trial_end: Math.floor(Date.now() / 1000) + 300, // 5 Minute trial
});

What are you working on?
to create subscription 1 no trail_period 2 At once charged

cursive heronBOT
#

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

Question
I want to get the total count of all transactions,disputed transactions,failed transactions,refund transactions of a connected account
How can I do it.
If I fetch all transactions and check than it will take very much time

Related Request ID(s)
req_yzSARIl23l1yQD

What have you already attempted?
I want to get the total count of all transactions,disputed transactions,failed transactions,refund transactions of a connected account
How can I do it.
If I fetch all transactions and check than it will take very much time

What are you working on?
I want to get the total count of all transactions,disputed transactions,failed transactions,refund transactions of a connected account How can I do it. If I fetch all transactions and check than it w

#

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

What did you expect to happen?
Didn't expect to receive invoice.payment_failed webhook while making paying via checkout session

What actually happened?
Received invoice.payment_failed webhook event, even if payment was successfully made with checkout session

Reproduction Steps

  1. Turn on test mode
  2. Subscribe to invoice.paid, invoice.created, invoice.finalized and invoice.payment_failed webhook event
  3. Create checkout session using stripe-python api
  4. Redirect to stripe hosted checkout session
  5. Make the payment using test card
  6. Receive invoice.created, invoice.finalized, invoice.paid and invoice.payment_failed webhook event

Question
Why invoice.payment_failed webhook is sent even if payment succeeds? I'm receiving both invoice.paid and invoice.payment_failed webhook with the same timestamp. How it can be possible?

What are you working on?
Trying to handle payment failures for a custom stripe integration for recurring subscriptions

cursive heronBOT
#

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

What did you expect to happen?
Hi everyone,

I have a platform account that i want to create connected accounts for it.

When i generate an onboarding link, when i open it and login with existing email and password, i would expect Stripe to give me an option to prefill the information from my existing account (not a connected one).

What actually happened?
What happened is that i did not get that option to prefill the info and i needed to go through the whole onboarding process filling the information which is already present in my individual account.

Reproduction Steps
Create a platform account, generate a onboarding link and when accessing it, Stripe will not give an option to reuse info from the account (it is required for it to be standalone and not connected one).

Question
Is this expected? Is there a settings that would enable this behavior or OAuth is the only option? The problem i have with OAuth is that in the docs in multiple places it says not to use it.

cursive heronBOT
#

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

Code
no code yet. i just fetch stripe for products, populate default price and send to client directly. no filtering of data

Question
I need to display products and prices to users. can i fetch products and prices from my server and display this product and price data directly to the client without filtering away data? any sensitive data in products or prices data? do you guys also recommend me creating a sql table for products and prices and instead display this to client? however then i need to make sure product always is in sync

What have you already attempted?
i just fetch stripe for products, populate default price and send to client directly. no filtering of data

#

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

Question
I am working on my thesis which is "Real-Time Detection of Deepfake Videos Using Double Fusion of Audio and Video Features in Finance" at the Cybersecurity department of the University of Wolverhampton, UK. This research project is aimed at building resilience against deepfake videos in the financial industry.

However, to complete this research, I need access to Recorded video calls and presentations involving financial professionals. This will help to train models on domain-specific data and understand typical communication patterns in financial settings.

Related Request ID(s)
videos

What have you already attempted?
I have checked online and I have found some old datas ets but I need industry tested data. Thank you.

What are you working on?
Face Verification for use in the finance industry.

#

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

Question
We need to provide an invoice to our connected accounts for the `platform_fees` that we have charged. We use Direct Charges.

Ideally we would like to add this amount to their monthly invoice of their subscription plan with us. Kind of like a "usage" item.

I was not able to find how to do this, but given that this must be a common requirement, I wanted to check what the recommend way to do this is?

One way I see to do this, is to create an invoice with one lineItem set to the platformFee amount and mark this invoice as paid. But I think that this will result in our platformFee revenue to be double counted on the Stripe Dashboard. Which is not ideal...

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges?platform=web

What are you working on?
B2B SaaS product

#

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

Code
"use client"

import { twMerge } from "tailwind-merge"
import { CiCreditCard1 } from "react-icons/ci"

import { Button } from "@/components/ui"
import { usePayWithCardModal } from "@/store/ui/payWithCardModal"

import { Elements, PaymentElement, useElements, useStripe } from "@stripe/react-stripe-js"
import useUserStore from "@/store/user/userStore"
import useCartStore from "@/store/user/cartStore"
import { getURL } from "@/utils/getURL"
import { StripeElementsOptions, Stripe

Question
How to fix error

IntegrationError: Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Express Checkout Element.
const { error } = await stripe.confirmPayment({
| ^
51 | elements,
52 | confirmParams: {

What have you already attempted?
ask ChatGPT-4o
Check stackoverflow and github issue that was closed

What are you working on?
hot delivery - restaurant that allows you to order any food you want

cursive heronBOT
#

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

Question
Question 1: If I use this pricing model (https://docs.stripe.com/products-prices/pricing-models#inline-pricing) for subscriptions, will I still have data for MRR (Monthly Recurring Revenue)? I noticed that these prices are immediately archived, and when I open the product in the Dashboard that had inline prices, there’s no data available. How does this affect MRR tracking?
Question 2: Can having both one-time payments and recurring prices under the same product create issues for MRR calculations?

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models#inline-pricing

What are you working on?
Reccuring inline price model

#

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

Question
Stripe will retry with exponential backoff webhooks if I raise an exception when handling the event. However, I wanted to know more details about whats the time between retries maybe the delay in the backoff.

Related Event ID(s)
evt_3PzhQSH2wLHuCKJp1MW0r2Xa

What have you already attempted?
I've been handling the second event but concerned wit the possibility of receiving the third event, in case is needed, way too late (< 15 mins)

What are you working on?
Handling successful charges before processing orders and send them to fulfillment

cursive heronBOT
#

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

Question
Using the Stripe java api version 23.8.0 is there a way to an extended hold on an online card payment/PaymentIntent of exactly 14 days? I see there is a way to request the max a Card Network may provide (e.g., 30) but that is too long. Thank you

Related Request ID(s)
N/A

What have you already attempted?
Read and reviewed https://docs.stripe.com/payments/extended-authorization

What are you working on?
maintaining an online reservation service

#

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

Question
I've created a webhook inside stripe for a wordpress website. On there, I am using a plugin for content restriction. I have configured the webhook according to their instructions and tested it successfully from wordpress. when trying to process a membership payment from my site, a stripe error comes up. no error logs within stripe.

Related Request ID(s)
req_Mo7skzYRfQUrOB

What have you already attempted?
I have followed and refollowed their instructions, contacted the plugin support, read their and stripe documentation, tried to get the actual error message from stripe but it flashed up too quickly to read

What are you working on?
a film festival site with paid access to supporting materials

#

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

Question
If I'm resending a stripe webhook in our live environment, will there be any property on this webhook for me to know programatically that this is a resend?

Doc/Guide Links
https://docs.stripe.com/cli/events/resend

Anyway to do this just via the stripe dashboard? Looks like I may need to pass in data?

What are you working on?
I want to re-send an invoice.paid event to a customer, but I dont want to trigger the marketing comms in the code. So I want to add some 'check' that it's not a resend before sending the marketing comms

cursive heronBOT
#

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

Question
React native provider giving error

Related Request ID(s)
.

What have you already attempted?
So I am trying to add adding the stripe provider to my layout. So as u can see in the first pic I am trying to make a custom provide for stripe but that giving me some error related to children prop. In my second approach I am trying to just add the provider directly to my root layout but than the app breaks.

What are you working on?
.

#

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

Question
We are doing guest checkouts in our app (for users we do not know). We want to let them put in a gift card number and then discount the invoice (after tax). So if the amount was 10 and a 5 dollar gift card was used the taxable amount should be 10 and not 5. How can we apply a discount/credit in this manner for a guest

Doc/Guide Links
I looked at credits, negative invoice line items and coupons

What are you working on?
Checkout

#

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

Question
How we can use Stripe with an Apple Pay token decrypted?

Related Request ID(s)
-

What have you already attempted?
We checked the documentation and only see the option to use Apple Pay through Stripe, where Stripe decrypt the token.

#

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

Question
I am trying to pull customer information via the Stripe API. I can set an invoice email and cc in the Stripe dashboard, however this does not appear to be available via API. I can see the `invoicing` field in the network tab responses, but this is not returned when I make API calls and is not in the SDK.
Please could this be exposed for use?

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

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

Code
const customer = await stripe.customers.create();
const ephemeralKey = await
stripe.ephemeralKeys.create(
{ customer: customer.id },
{ apiVersion: "2024-06-20" }
);
const paymentIntent = await
stripe.paymentIntents.create(
{
amount: body.amount,
currency: body.currency,
customer: customer.id,
application_fee_amount: Math.ceil(body.amount * 0.05),
},
{ stripeAccount: body.accountId, }
);

Question
When trying to create a payment intent i am faced with an error stating the following "No such customer: 'cus_Qxxxxxxxxxx".

Is there something im missing which is causing it to break?

What have you already attempted?
I've tried using different parameters, excluding the Customer (Which causes the payment sheet in my app to fail).

I've tried using both the Stripe SDK and API, but still fails.

I've tried writing exactly as it is done in Stripe docs, still does not work.

I've also verified that the customers are indeed created, but still the SDK can not seem to find them.

What are you working on?
A payment gateway for my mobile application.

#

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

Code
Stripe JS
`CardCvcElement, CardExpiryElement, CardNumberElement`

Stripe React-Native `CardField`

Question
Hello, product team of my company wants that when user enter a credit card, the user should have 3 inputs, one input per line, so this works fine in React.js because I can use these components `CardCvcElement, CardExpiryElement, CardNumberElement`

But for mobile app in React-Native, I'm currently using `CardField` component and all is in one line

What have you already attempted?
I'm currently using "@stripe/stripe-react-native": "~0.37.1"

Do you agree that it's not possible to do the card field multi line? I can't find this information in the documentation :)

#

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

Question
Do the Invoice and Subscription APIs allow for supplying a custom `statement_descriptor_suffix`? I do not see this in the API docs but was wondering if I missed something or if there's an alternate solution for setting the suffix.

Related Request ID(s)
n/a

What have you already attempted?
Read the docs. I located the field in the Intents APIs, but do not see it in the higher level invoice or subscription APIs.

#

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

Question
I was wondering if it possible to integrate Stripe Connect with Flutter. And how is this possible? Since the documentation is for other front-ends

Related Request ID(s)
None

What have you already attempted?
Normal stripe integeration, but i want to receive platform fee and then payout the sellers through my app.

What are you working on?
I am building a community app where users can subscribe to communitys

#

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

Question
The uncaptured payment is successful, but I want to save the card used as a payment method of the customer.

Related Request ID(s)
req_qXyxX69cGM947v

What have you already attempted?
The uncaptured payment is successful, but I want to save the card used as a payment method of the customer. But the card is not save to the customer payment method.

What are you working on?
A parking space app on bubble.io

cursive heronBOT
#

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

Question
looking to work with a developer to integrate stripe

Related Request ID(s)
Developer

What have you already attempted?
just getting started

What are you working on?
I am building a web based application that I am wanting to use Stripe to create / update a customers billing profile and charge them monthly based on their use

#

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

Code
invoice_data: {
description: 'Custom Invoice for Purchase', // Add a description
custom_fields: [
{ name: 'Order ID', value: req.body.orderId }, // Custom field for Order ID
{ name: 'Business Registration', value: '1234567890' }, // Required in some EU countries
],
footer: 'Thank you for your business!', // Custom footer
metadata: {
userId: req.body.userId,
orderId: req.body.

Question
it didnt work. i applied the backend code to the stripe session.

What have you already attempted?
####

#

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

Code
We have added the support google pay and apple pay on web for our payment links, google pay showing however apple pay not showing, confirmed and validated the domains on both stripe and apple still not working, inside apple platforms completing all the steps still not working. What we need to do? The developer will ask his questions too.

Question
We have added the support google pay and apple pay on web for our payment links, google pay showing however apple pay not showing, confirmed and validated the domains on both stripe and apple still not working, inside apple platforms completing all the steps still not working. What we need to do? The developer will ask his questions too.

What have you already attempted?
We have added the support google pay and apple pay on web for our payment links, google pay showing however apple pay not showing, confirmed and validated the domains on both stripe and apple still not working, inside apple platforms completing all the steps still not working. What we need to do? The developer will ask his questions too.

What are you working on?
Apple pay icons on the web when accessing from mobile device

cursive heronBOT
#

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

Question
React native provider giving error

Related Request ID(s)
.

What have you already attempted?
So I am trying to add adding the stripe provider to my layout. So as u can see in the first pic I am trying to make a custom provide for stripe but that giving me some error related to children prop. In my second approach I am trying to just add the provider directly to my root layout but than the app breaks.

What are you working on?
.

cursive heronBOT
#

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

Code
I am looking for the pin number to access my stripe card reader.

Question
We have changed internet providers so I needed to change the network on the stripe card reader but I do not have the pin to do so.

What have you already attempted?
I have tried multiple pin numbers and have looked for the pin number

What are you working on?
Trying to set up card reader

cursive heronBOT
cursive heronBOT
#

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

Question
I'm trying to convert my "normal" integration to Stripe Connect.

I used to have normal checkout sessions with subscriptions, as well as payments.

With payments, it's easy - I just set payment data, define destination and fee and I'm done.

However, with Subscriptions, I know I cannot use PaymentIntentData and I didn't find any documentation on how to handle my case. (Using prices from platform, but money being given to the connected account)

Because of my specific scenario and the lack of documentation for it, I decided to ask here, just to be sure.

Related Request ID(s)
None

What have you already attempted?
Basically, I think that this should work, but I haven't yet tested it, so before I break something/waste time, I decided to ask here first.

Basically I've added

subscription_data.transfer_data.destination
and
subscription_data.transfer_data.amount_percent

to my SessionCreateParams

Will this then automatically send the money based on this configuration to the connected account, even for reocurring charges?

What are you working on?
Platform for Creators

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-intents?lang=node

Question
How to chose a flow using React Elements and thus the Intents API. There are several options, I don't know if I've found them all, and I want to understand their strengths and weaknesses. I would like to see all the options laid out in one place with the pros/cons/recommendations discussed (if you need x, choose y, etc.).

Currently I'm aware of
• Create intent (server) -> fetch secret from server (client) -> use secret to create Elements(client)
• SSR version
• Element before intent
• Element before intent and confirm on server

(Not enough space to detail full flows of the last 3 options.)

What have you already attempted?
Searching the docs and Discord. Found so far:
https://docs.stripe.com/stripe-js/react
https://docs.stripe.com/payments/payment-intents?lang=node
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment
https://docs.stripe.com/payments/finalize-payments-on-the-server

What are you working on?
A rental platform. Want to use React Elements provider, adjust charge based on rental dates selected, and allow customer to pay. React/Node, no SSR currently.

cursive heronBOT
#

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

Code
const options = {
clientSecret: client secret,
onComplete: handleComplete,
};
<EmbeddedCheckoutProvider stripe={stripePromise} options={options}>
<EmbeddedCheckout />
</EmbeddedCheckoutProvider>
</div>
BE:
const session = await stripe.checkout.sessions.create({
ui_mode: 'embedded',
line_items: [
{
price: priceId, // (for example,[starting from pr_******

Question
on complete session i am calling retrieve api but it showing unpaid after successful payment as well .and webhook calls taking time at that time how to handle this scenario.

What have you already attempted?
I’m updating the database using webhooks, and while it's sometimes acceptable to show users an "in progress" state, I want to ensure that this status is handled correctly to avoid negative perceptions. It's important that "in progress" doesn’t always come across as a bad experience for users.

What are you working on?
Implementing subscriptions and one-time purchases using Checkout Sessions with embedded UI mode.

cursive heronBOT
#

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

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: 1099,
currency: 'usd',
payment_method: 'pm_card_visa',
capture_method: 'manual',
confirmation_method: 'automatic',
confirm: true,
payment_method_options: {
card: {
request_extended_authorization: 'if_available' // Request extended authorization if available
}
},
return_url: 'https://yourdomain.com/return-url'
});

Question
Hello Stripe Support Team,

I am currently implementing a payment flow where I need to hold payments for more than 7 days, and after a certain period, I need to capture a portion of the held amount and release the rest. Additionally, I need to be able to update the held amount during the authorization period if necessary.
However, I noticed that the "extended_authorization" feature is currently disabled in my account, as shown in the response

What have you already attempted?
"extended_authorization": {
"status": "disabled"
}

#

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

Question
We need a solution to handle mixed carts with custom amounts, rather than using predefined Price IDs, due to our dynamic pricing. Could you advise on the best way to implement this with Stripe Checkout?

We want to allow users to purchase a monthly subscription and additional service credits in a single transaction.

Related Request ID(s)
NA

What have you already attempted?
We've already tried separate transactions, and they work. However, we want to combine both into a single payment. Could you help with that?

cursive heronBOT
#

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

Code
const { error } = await confirmPayment({
elements,
clientSecret: data?.clientSecret ?? "",
confirmParams: {
return_url: window.location.href,
payment_method_data: {
billing_details: {
name: props.name,
email: props.email,
},
},
},
});

Question
When setting up an ACH transaction, a customer received the following error: parameter_missing - payment_details_id. I don't see anything in the documentation about sending a payment details id to the confirmPayment endpoint, what am I missing?

What have you already attempted?
(Successfully) used test ACH numbers found here: https://docs.stripe.com/testing#non-card-payments

Unsuccessfully attempted to find anyone else who experience this issue.

What are you working on?
A Saas subscription portal that has been live in production for more than a year. We did not have a live customer attempt to set up ACH transactions before.

#

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

Question
I am saving payment info via setup intent. I then need to attach line items to my payment intent. I want to then send the client a reciept via email of how much they were charged.

Related Request ID(s)
N/A

What have you already attempted?
I have looked through the docs and API info and cannot find this.

What are you working on?
I am working on a bidding platform.

#

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

Question
I am facing an issue, I am exporting refund data from connected account date range (1 Jan 2023 to 31 Dec 2023) and the total amount is $14,238 but when I am fetching data via API the total is $20,126 there is huge difference between both data (5,888), Please help which one is correct?

Related Request ID(s)
There is no req ID here related to the report.

What have you already attempted?
I have tried different methods to fetch refund data I always shows the total refund is $20,126.

What are you working on?
I am trying to make a internal profit & loss report which will display the total income as well as total refunds with our expenses.

#

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

Code
if (event.type === "checkout.session.completed") {
if (metadata) {
db.trip.update({
where: {
id: metadata.tripId,
},
data: {
status: Status.BOOKED,
},
});
}
}

Question
I am trying to update the stored data once the payment has completed but im not sure how to test if the webhook is working

What have you already attempted?
I tried adding console logs inside the post request but nothing happens when i trigger the webhook

cursive heronBOT
#

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

Code
if ((selectType.value?.value as string) === "card") {
const cardElement = elements.create("card");
cardElement.mount(paymentElement?.value);
} else if ((selectType.value?.value as string) === "paypal") {
const paypalElement = elements.create('paypal');
paypalElement.mount(paymentElement?.value);
}

Question
I would like to give the customer the possibility to pay for their subscription with PayPal but the 'paypal' type does not exist in elements.create()

What have you already attempted?
IntegrationError: A valid Element name must be provided. Valid Elements are:
card, cardNumber, cardExpiry, cardCvc, postalCode, paymentRequestButton, iban, idealBank, p24Bank, auBankAccount, fpxBank, affirmMessage, afterpayClearpayMessage, paymentMethodMessaging; you passed: paypal.

What are you working on?
I'm making a subscription-based discord bot management app

cursive heronBOT
#

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

Question
I am thinking about the customer's Stripe invoice after they make a payment, and I need to express that a charge consists of a booking fee, and confirm the percentage and the amount. I have organised payments using your API's paymentIntent object. What should I add to a paymentIntent in order to amend the regular Stripe invoice to include further information please?

With thanks.

Related Request ID(s)
N/A

What have you already attempted?
My regular paymentIntent call works fine, but because the customer needs more info, I'd like to know what I should add.

#

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

Question
I am saving payment info via setup intent. I then need to attach line items to my payment intent. I want to then send the client a reciept via email of how much they were charged.
(Resubmitting because I was locked out of the last thread before I could read it and respond)

If I need to create a cart for the customer and then submit it to payment intents, I need to do so off session as bids come in and will be complete in 8-12 weeks.

Related Request ID(s)
N/A

What have you already attempted?
Already read through the docs etc.

What are you working on?
A Bidding platform

cursive heronBOT
#

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

Question
We have about 4,000 customers in our test environment that we use for testing a scaling feature. Recently our test cards all expired because we had put the expiration year at 2024 several years ago and I'm looking for a way to update all of these.

Related Request ID(s)
None

What have you already attempted?
I'm weighing using the card update API vs Using some browser automation like selenium to roll through these through our application. But is there an easier method? Could CAU be used for this?

What are you working on?
A scaling solution that processes many orders in parallel.

#

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

Question
I am thinking about the customer's Stripe invoice after they make a payment, and I need to express that a charge includes a booking fee, and confirm the percentage and the amount. I have organised payments using your API's paymentIntent object. What should I add when constructing a paymentIntent in order to add details/data to the default Stripe invoice please?

With thanks.

Related Request ID(s)
N/A

What have you already attempted?
My regular paymentIntent call works fine, but because the customer needs more info, I'd like to know what I should add.

cursive heronBOT
cursive heronBOT
#

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

Question
we're currently using stripe financial connection to connect us bank accounts. We were granted skip so we don't do micro deposit. However the iframe still says "Enter bank details manually instead (takes 1-2 business days)" Is there way to remove takes 1-2 business days and any other places that says microdepost?

Related Request ID(s)
stripe financial connect with skip verification

What have you already attempted?
reading through our doc - https://docs.stripe.com/payments/automatic-bank-account-validation#using-automatic-validation-with-the-paymentintents-api

cursive heronBOT
#

@keen gulch pressed the 📚 Doc or 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/affirm

Question
We are running a subscription based business where customers can choose a plan and frequency (monthly or annually) and then start their subscription.
We use Payment element with mode as "setup" to show the payment options (Card, ACH, Apple Pay and Google Pay) .
Now we want to provide our customers with an option to pay with "Affirm" in installments. Of course that would be a one-time payment only and not a subscription.
However, we want that customers should be able to choose whether they want to go for a subscription, using card/ACH etc. or one time payment using Affirm. How do we do that?

What have you already attempted?
We have tried to change our payment element's mode from "setup" to "payment" to show affirm, with success, however we are not able to create subscription for other methods (existing ones).
Then we tried to update the payment element on change of the payment method but with card, when we set futureUsageType to "off_session" and remove affirm from paymentMethodTypes, Affirm disappears from the checkout UI as well.
We also thought of creating 2 different payment elements, one with mode "setup" and one with mode "payment", to no avail.
Is there any way to achieve this w/o moving to only 1-time pay

What are you working on?
Its a platform for enabling subscriptions for dental treatments.

#

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

Question
How can i create an embedded form that give the user the possibility to pay the product in installments?

Related Request ID(s)
Embedded From

What have you already attempted?
I dont find any documentation to create something like this, i saw that some services like "surecart" is able to do something like this.

What are you working on?
A course platform

cursive heronBOT
#

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

Code
object(Stripe\Tax\Calculation)#16 (14) {
["id"]=>
string(32) "taxcalc_1Q0FO4BcbAvaXC1cRY7xcYWB"
["object"]=>
string(15) "tax.calculation"
["amount_total"]=>
int(100000)
["currency"]=>
string(3) "usd"
["customer"]=>
NULL
["customer_details"]=>
object(Stripe\StripeObject)#21 (5) {
["address"]=>
object(Stripe\StripeObject)#26 (6) {
["city"]=>
string(7) "Chicago"
["country"]=>
string(2) "US"
["line1"]=>
string(15

Question
how to get the correct amount of tax

What have you already attempted?
collect tax on your payments

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

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

Code
async function collectPaymentByCreatingPaymentIntent() {
const {error, paymentIntent} = await createPaymentIntent({
amount: selectedDonationAmt * 100,
currency: 'aud',
onBehalfOf: 'acct_xxxxxxxxxxxxx',
});
if (error) {console.log('Failed to create payment intent...', error);
} else { paymentIntentCreated.current = paymentIntent;
collectThePaymentMethod();
} }

Question
Created PaymentIntent using createPaymentIntent(). OnSucess response passed the paymentIntent to collectPaymentMethod() method but it gives below error -

{"code": "InvalidRequiredParameter", "message": "A required parameter was invalid or missing."}

What have you already attempted?
Tried changing the SDK version.

What are you working on?
React Native - Tap to pay

#

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

Question
I am trying to use embed stripe payment to my website. I am following the guide and docs.stripe.com but all I get is an error message "Something went wrong. Try again later or contact the merchant"
I wonder why that happens.
I have no real business activated yet. Is that an issue? TBH I just wanted to test for now before I am doing anything "real".

Related Request ID(s)
200

What have you already attempted?
https://docs.stripe.com/checkout/embedded/quickstart

What are you working on?
It is an online community that hosts tennis tournaments for online games for players all across the world

#

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

Question
I have a subscription. When I run simulation, the invoice gets paid instantly before finalising. Why is that?

Related Request ID(s)
https://dashboard.stripe.com/acct_1HyM9RA2ulLQR3A9/test/invoices/in_1Q086PA2ulLQR3A9MskJslYX

What have you already attempted?
Tried again it's the same
https://dashboard.stripe.com/acct_1HyM9RA2ulLQR3A9/test/invoices/in_1Q08A0A2ulLQR3A9zbZ0J9Vg

cursive heronBOT
#

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

Question
I want create the payment method using test card

Related Request ID(s)
req_e8S3wSVKzMibz8

What have you already attempted?
curl --location 'https://api.stripe.com/v1/payment_methods'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Bearer sk_test_•••9glO'
--header 'Cookie: cid=26afc7eb-37f0-4818-adb8-2cee3fcd5163'
--data-urlencode 'type=card'
--data-urlencode 'card%5Bnumber%5D=4242424242424242'
--data-urlencode 'card%5Bexp_month%5D=8'
--data-urlencode 'card%5Bexp_year%5D=2026'
--data-urlencode 'card%5Bcvc%5D=314'

What are you working on?
can you checked why this issue occurring how can resolved so if it comes in the future then i will resolved

#

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

Code
const succeededCharges = await stripe.charges.list(
{
limit: 100,
},

\).autoPagingEach\(function \(item\) {
    count++
    console.log\(item.status, "item"\)

}\)

Question
I want to integrate total transactions,failed transactions,refund transactions,disputed transactions count in my code
i am using stripe api to do this but it is taking very much time for 1000 transactions it is taking 30 seconds so my server will break
how can i do this ?

What have you already attempted?
I want to integrate total transactions,failed transactions,refund transactions,disputed transactions count in my code
i am using stripe api to do this but it is taking very much time for 1000 transactions it is taking 30 seconds so my server will break
how can i do this ?

cursive heronBOT
#

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

Question
used the payment method based on the card they shown an error

Related Request ID(s)
req_e8S3wSVKzMibz8

What have you already attempted?
curl --location 'https://api.stripe.com/v1/payment_methods'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Bearer sk_test_•••9glO'
--header 'Cookie: cid=26afc7eb-37f0-4818-adb8-2cee3fcd5163'
--data-urlencode 'type=card'
--data-urlencode 'card%5Bnumber%5D=4242424242424242'
--data-urlencode 'card%5Bexp_month%5D=8'
--data-urlencode 'card%5Bexp_year%5D=2026'
--data-urlencode 'card%5Bcvc%5D=314'

What are you working on?
can you checked why this issue occurring. how can resolved so if it comes in the future then i will resolved

#

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

Question
I integrated express elements and tested gpay, link those are working fine, however the amazon pay is not working. Found an error in console
"An error occurred while retrieving the merchant baseUrl: TypeError: Failed to construct 'URL': Invalid URL
"

Related Request ID(s)
req_52b8S72SKPzE9v

What have you already attempted?
Followed this doc
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment

#

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

Question
Is there a way to control what google pay display when buying subscription with trial?

Related Request ID(s)
N/A

What have you already attempted?
We switch to use checkouts and apparently with this there is a option to choose apple pay and google pay as a payment method.
While on Apple devices the process works nicely with the proper indication to the customer that he gets 7 days free and then pays with the amount and frequency, on Google there is no such information (i.e. there is only information about US$0.00 and 'Pay' button, but no information that after 7 days there will be charge e.g $20 per month)

cursive heronBOT
#

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

Question
How can enable API account to deploy an app to my reader S7000? I want to build an deploy an app and additionally I want to build an app that could used my many small businesses and beneficial to Stripe as well.

Related Request ID(s)
req_8QcpG8AwylVpC0

What have you already attempted?
I have connected my Stripe reader S7000 to a location Office_test in my account

What are you working on?
I'm building an app that would link to my ecommerce store, fetch inventories into the device and reader can act as standalone POS.

#

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

Code
import { usePaymentSheet} from '@stripe/stripe-react-native';
const {initPaymentSheet, presentPaymentSheet, loading} = usePaymentSheet();

Question
I'm using the payment screen which works fine with compiledSdkversion 34 and targetSdkVersion 34. How will I make this work on all real devices with Android 13 or 12, with SDK version 33 or 32?

What have you already attempted?
I build an apk with target SDK version 34 and the app is not opening. but it works fine in the emulator.

#

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

Question
We're using paypal through stripe. We're using payment-intents in order to trigger the payment. Unfortunately on the paypal receipt we do not see proper line-items for the sold products.

Related Request ID(s)
req_9CsbjcDaHUDlOz

What have you already attempted?
As the behaviour can only be tested in the productive system with real payments we didn't fool around so far. Besides this I do not have a good approach as payment-intents do not allow to add line-items for a payment

What are you working on?
We're offering a ticket-sales shop for our customers.

cursive heronBOT
#

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

Code
<div id="address-element"></div>
<button id="save">save</button>

<script src="https://js.stripe.com/v3/"></script>
<script>
const stripe = Stripe('pk_test_...');
const options = {mode: 'billing'};
const elements = stripe.elements({ customerSessionClientSecret: '...' });
const addressElement = elements.create('address', options);
addressElement.mount('#address-element');
$('#save').click(function() { /* ... ? */ });
</script>

Question
We'd like to allow our users to modify their billing address on our website outside of any checkout context, ideally using Stripe JS Address Element. Is it possible to build it with Stripe JS only? Do we have to use Stripe javascript API? Is it possible to prefill Address Element with current billing address?

What have you already attempted?
So far I've been able to include Address Element on my test page. I'm unsure how to proceed with implementation.

What are you working on?
We're using Stripe Subscriptions and we'd like to have more control over user details and move some functionality from Billing Portal to our site.

cursive heronBOT
#

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

Question
how implement ACSS payment in " stripe.checkout.sessions.create" method ??

Related Request ID(s)
N/A

What have you already attempted?
this is my currrent code
const session = await stripe.checkout.sessions.create({
mode: "payment",
line_items: stripe_product_price_ids,
customer: existUser[0].stripe_customer_id,
payment_method_types: ["card", "acss_debit"],
payment_method_options: {
acss_debit: {
mandate_options: {
payment_schedule: "fixed",
customer_accepts: true, // Required option
},
},
}})
return session;

What are you working on?
integration ACSS payment

#

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

Question
I am using custom integration with Rails and React and I want to know what is the best way to create a new card for the customer. I want them to he able to add new cards if they want and switch between them. What is the best flow to do that server + client side?

Doc/Guide Links
I have looked over server and client docs but here seem to be a lot of ways ti do that

What are you working on?
Add new cards

#

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

Code
ase 'checkout.session.completed':
const session = event.data.object;

    // Log information when session is completed
    console.log\('Checkout Session was completed!', session.id\);

    // Check if the session was recovered and payment is completed
    if \(session.recovered && session.payment\_status === 'paid'\) {
        // Retrieve the payment intent to access metadata
        const paymentIntent = await stripe.paymentIntents.retrieve\(sessio

Question
iam trying to send an email to Recover abandoned carts. with the url to activate the new session. but iam facing an error. and in every test i need to wait 30 minutes to re-test it. can you help me to figure out what did i done wrong?

What have you already attempted?
remove all the res.send and leave only one respone for the try catch block of the switch (event.type) .and i removed the consent from the stripe . and added a checkbox to catch the consent and sent it to the backend and save it oin the customer metadata

What are you working on?
Recover abandoned carts.

cursive heronBOT
#

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

Code
https://docs.stripe.com/connect/integrate-express-dashboard

Question
I would like to know, if there is an equivalent for this code using the StripeClient, instead of static calls.

What have you already attempted?
I've tried to look through the client to find a method that consumes the same params, but couldn't.

What are you working on?
Platform for Creators

cursive heronBOT
#

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

Question
Hi,

I am interested about the redirections that happen after successful checkout for example. I know that if a checkout is successfully completed i can catch the checkout.session.completed event. I'm just curious when does the redirect happen.

Does the redirect and event sending happen in parallel or does redirect happen when event sending is completed?

I'm asking this because when i redirect the user to the success page, it can happen i guess that the event is delayed and that when the user lands on the page, data is still not updated.

Asking this so i know how to handle the interaction,

Related Event ID(s)
/

What have you already attempted?
/

#

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

Question
How to create multiple subscriptions at once via API. User should have only one charge but there should be multiple subscriptions created.

Related Request ID(s)
We have not found such a method in API

What have you already attempted?
this dont help
https://docs.stripe.com/billing/subscriptions/multiple-products#multiple-subscriptions-for-a-custome

What are you working on?
Last year, customers purchased multipack subscription packages from us, typically containing 4-8 subscriptions. The issue is that our system now tries to process 8 identical transactions (since each s

#

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

Question
Hi, I'm wondering what the best practice is around shipping rates. I'm using the Stripe Checkout Session to captures the customers shipping destination. I have a list of all possible destinations the seller sells to, but I'm not 100% sure how to pass this to Checkout Session API.

What I initially thought of doing was passing a `shipping_options.shipping_rate_data` to the checkout API but it looks like I have to either create a `shipping_options.shipping_rate_data` for each possible destination, or I can use the `shipping_options.shipping_rate_data.fixed_amount.currency_options`

I'm not sure which one is best practice.

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create?lang=node#create_checkout_session-shipping_address_collection

What are you working on?
a way for musicians to sell merch to customers

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?
3ds screen to not show up for non-3ds cards

What actually happened?
3ds screen is being showed for some time even if the card doesn't have 3ds

Reproduction Steps
make a payment using payment shet in react native with 3ds card.

Question
in react native we are always showing the secure checkout screen, even if the card doesn’t require 3DS authentication. See video attached. In web, we skip this secure page when 3DS authentication not required and don’t have to show it at all, so wondering if that option is available for RN?

What are you working on?
stripe integration

cursive heronBOT
#

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

Question
For the 24-hour TTL on idempotency key, does it measure from first attempt or latest attempt?

Related Request ID(s)
n/a

What have you already attempted?
I've read the docs on idempotency keys and retries, of course.

#

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

What did you expect to happen?
3ds not to show up for non-3ds cards

What actually happened?
3ds is being showed in react native even if the the card doesn't require 3ds

Reproduction Steps
checkout using payment sheep or platform pay button

Question
is there a reason why on web we're not required to present a placeholder screen like this but on RN we are?

#

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

Code
private async Task<Session> CreateCheckoutSession(List<CartItem> _cartItems)
{

    var lineItems = new List<SessionLineItemOptions\>\(\);

    foreach \(var product in \_cartItems\)
    {
        lineItems.Add\(new SessionLineItemOptions
            {
                PriceData = new SessionLineItemPriceDataOptions
                {
                    UnitAmount = \(long\)\(product.SalePrice \* 100\),
                    Currency = "sek",

Question
I am using .NET Blazor Server for stripe. I want to add google and apple pay to it. I have already verified my domain. I just don't know how to add the apple and google pay payment method just like we do the klarna or card

What have you already attempted?
I have verified the domain, I tried to add applepay in the code but it throw an error

What are you working on?
I am developing a small candy shop

#

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

Link to the Doc/Guide in question
I have a mobile app that uses subscriptions and I want my customers to be able to subscribe to my services.

Question
I dont know if I can use stripe for my subscriptions on mobile app or if I must use native subscriptions managed by phone providers like Apple or Android.

What have you already attempted?
I have done the logic on my backend thinking it will work for both mobile and web but now I am thinking if that is possible to fully use Stripe subscriptions on mobile

What are you working on?
Creating subscriptions for my customers

#

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

Code
In europe we use the , for decimal numbers. So in my sigma export i change the numeric values. For example
REPLACE(CAST((disputes.amount / 100.00) AS varchar), '.', ',')

Question
This solution worked, but that seems to change for i think 2 months ago. The result is now for example (-1,2E3)

What have you already attempted?
I can change all the queries, but dont know what is the best solution for this and with it is broken since some time

#

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

Question
I have a Checkout Setup and a PaymentIndent, how do i automatically use the payment method which the user gave me in the checkout without using webhook

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
marketplace

#

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

Question
to create custom receipts we must add application name, application id and account type but account type is not available on our charge object

Related Request ID(s)
a

What have you already attempted?
Custom Receipts

#

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

Question
We are setting up a system where customers first pay by card for immediate order confirmation and later by direct debit for monthly installments over 2-3 years. Is it possible to authorize a direct debit without charging the customer immediately, similar to authorizing a card and capturing the payment later? We want to collect the IBAN during order placement and debit the first installment one month after order confirmation.

Related Request ID(s)
py_3Q0LV5GYCiVpifDT1gHbBbsZ

What have you already attempted?
We tried using a direct debit mandate, but it requires a non-zero amount to validate. We could not create a mandate with a 0 amount, so we had to use a small charge to make it work. We are looking for a way to authorize the mandate without any initial charge.

cursive heronBOT
#

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

Question
When was the `Stripe.subscription.trial_settings` object added to the API? My linter is showing it as a non-existant value, which is preventing the app from building

Related Request ID(s)
none

What have you already attempted?
Looked through the changelogs. The app I inherited is set to use `2020-08-27` but the changelogs only go back to `2020-11-18`. Should I take that as a sign that our version is no longer recommended for use?

What are you working on?
subscription based app

#

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

Code
const responseConfirmPayment = await confirmPayment(getIntentByInvoice[0].stripeClientSecret, {
paymentMethodType: 'Card',
paymentMethodData: {
paymentMethodId: selectedPaymentMethod.stripeId,
mandateData: {
customerAcceptance: {
online: {
userAgent: userAgent,
ipAddress: ipAddress!,
},
},
},
},
}, {
setupFutureUsage: 'OffSession',
});

Question
I’m generating payments using saved payment methods. With Card, it works perfectly on Android and iOS, but with USBankAccount it only works on iOS, and on Android, the mandateData never comes through. The code is the same as the one I posted here. Is the code correct? Should it be done differently for Android?

What have you already attempted?
I tried changing the format of the mandateData, hardcoding the userAgent and ipAddress, and I added the setupFutureUsage, but it still doesn’t work on Android.

#

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

Question
Is there a way to turn on more ACH direct debit accounts for users to log in and make payments through there? for example one of our users uses BMO but they will like to use commercial client account login to make payments

Related Request ID(s)
none

What have you already attempted?
I have tried to look for the us_bank_account capability but unsure how this will tie into the stripe js checkout page we have using .net

What are you working on?
building a custom web application to sell products to our users

#

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

Question
I'm working on creating and onboarding connect accounts through API and I take all the required information on my web app's frontend. My users are based in US. The issue I'm facing is that although I provided last 4 digits of SSN while onboarding users, stripe pauses payouts after some time and asks for complete SSN to be provided?

Is there a way to securely ask user for SSN and send it to stripe for verification instead of having to deal with compliance issues with dealing with SSN.

Related Request ID(s)
none

What have you already attempted?
The account gets approved for a short time and transfers work but in stripe dashboard it shows a warning that: This account may have more requirements due in the future.
If it processes enough volume, more information will be required to avoid an interruption in service.

and its essentially asking for complete SSN number. and account gets restricted after few weeks.

I'm working in test environment right now.

What are you working on?
A custom onboarding flow for the users to send them payments when they complete a gig. Much like a freelance platform.

#

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

Code
let sessionData = {
'currency': 'eur',
'expires_at': Math.floor(Date.now() / 1000) + (3600/2),
'mode': 'subscription',
'return_url': `${successUrl}`,
'ui_mode': 'embedded',
'allow_promotion_codes': true,
'consent_collection': {
'payment_method_reuse_agreement': {
'position': 'hidden',
}
},
};

Question
Exists any way to customize the text of submit button of checkout session? I need set the text "Pagar" always

What have you already attempted?
I have tried with the custom texts and changing the sybmit_type field

What are you working on?
I am building a landing page with checkout

#

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

Question
what is the best practice for testing in production? we developers test our staging environment with the staging credentials, but when we want other staff to test our production environment, they have to use real cards. currently we give them discount coupons of 98% but they still have to pay 2% of the charge to test. wondering what the best practice is to test stripe in production without having to pay or use real cards

Doc/Guide Links
https://docs.stripe.com/test-mode#:~:text=In test mode%2C you can,go live with actual payments

What are you working on?
production testing for our shop. connected account flow

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-customer-payment-methods#collect-consent-to-reuse-a-payment-method-outside-of-the-payment-element

Question
Is it possible to change copy or avoid the word "purchases" when collecting consent to re-use a card? The payment element shows "Save payment details for future purchase" but our website is for donations, not purchases.

What have you already attempted?
Looked for docs about how to do this. I understand that setting the "components.payment_element.features.payment_method_save" can turn or off this checkbox but I don't think we can change the copy. Can you confirm?

What are you working on?
Site that lets donors choose from one of many charities and make a donation

#

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

Question
We’re encountering a technical issue with user authorization to connect their Stripe accounts.

We created a Test App and shared the installation link with a test user, when the User tries to install the app, he sees the Installation message with Installation details, but the Install App button is greyed out.

Related Request ID(s)
123

What have you already attempted?
- We reviewed the logs and confirmed the app permissions were granted via OAuth.
- We’ve attempted reinstalling the app and re-authenticating the user, but the issue persists with the “Install App” button being grayed out.
- We also checked the Stripe API documentation for any recent changes that might affect the OAuth process but couldn’t find anything that explains this behavior.

What are you working on?
We are developing an application that integrates with Stripe to help users manage their accounts and invoices. The app requires OAuth authorization to access user account information, transactions,etc

cursive heronBOT
#

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

Question
A payment server could not be found. I want to use Apple Pay as a payment method, but when it is processed with that method in the Stripe "transactions" console, it appears as null because a method is missing. with the specified host name.

Related Request ID(s)
pi_3Q0QSsAZJHGoU7Pr18Kqq0FX

What have you already attempted?
I put the "apple_pay" parameter in payment_methods_types in addition to "card" but it doesn't work. If I remove it and process the payment with apple_pay directly, the payment is made but it arrives incomplete to the Stripe dashboard.

What are you working on?
Building

#

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

Question
I need help with subscriptions API. Can you assist me? I can explain the details to you.

Related Request ID(s)
I need help with subscriptions API. Can you assist me? I can explain the details to you.

What have you already attempted?
I need help with subscriptions API. Can you assist me? I can explain the details to you.

What are you working on?
I need help with subscriptions API. Can you assist me? I can explain the details to you.

#

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

Question
Hi, we have a challenge when trying to create Stripe standard connected accounts on our platform account using Stripe connect. We are using onboarding hosted on Stripe. We are also using latest version of stripe-java library. Note: currently we are testing connect in test mode so we are using test API key. Connect works well until certain point when we receive following error: "Connect platforms cannot create new accounts on behalf of their connected accounts.".When I go to logs on Stripe dashboard I see that 403 is status code and I see the same API key which succeeded may times before

Related Request ID(s)
req_Ucwoy5gFMqe8wl

What have you already attempted?
When we receive this error "Connect platforms cannot create new accounts on behalf of their connected accounts." we no longer can create Stripe connected accounts. We fix this by restarting our Spring Boot service responsible for Stripe integration (it's using stripe-java lib) . Is it possible that we hit some kind of limit since the same code works until we receive first error? Is it maybe related to stripe-java library holding too many connections so it's fixed by service restart? Any help would be highly appreciated

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://stripe.com/resources/more/what-is-micro-deposit-verification-here-is-how-it-works

Question
how are micro deposits handled if people use a stripe payment via ach direct debit? Will the user get emailed where they need to verify their micro deposits or will they have to verify it through a custom built checkout?

What have you already attempted?
I have attempted micro deposits but users kept voiding the payment saying the bank is fraudulent

What are you working on?
I am building a custom e commerce full stack application where we sell products to users

#

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

Question
React native payment sheet not opening

Related Request ID(s)
.

What have you already attempted?
So I am following the guide here https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet to set up payments sheet for my react native application. Now I followed exactly the guide but its giving me error that "call initPaymentSheet'
before 'presentPaymentSheet "but its doing that.

What are you working on?
.

#

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

Question
I successfully connected my app to Stripe Connect, I'm able to create a new account, onboard it and redirect the associated user to the dashboard.

However, I'm struggling to understand, how exactly am I supposed to know, when user has completed the onboard process.

Related Request ID(s)
No ids

What have you already attempted?
I've created a new webhook event for `account.updated`, I first check that the retrieved json body contains the "account" key, to make sure that it is indeed a Connected account.

Then I retrieve the `id` property of that account and check if `detailsSubmitted` is true, if yes, I would expect that the onboarding process has finished successfully and I can now always redirect user to Express Dashboard and all future requirements should be handled by Stripe.

However, this doesn't work, because the `account.updated` event doesn't get triggered, even after going to the onboarding link again.

What are you working on?
Platform for Creators

#

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

What did you expect to happen?
We have a process that queries the Stripe API to grab the price on an upcoming invoice given subscription items. We expect the invoice price to not have proration applied.

What actually happened?
The price we received from the response was a value that didn't make sense. the dollar value didn't match any item that we have saved in Stripe

Reproduction Steps
reproduction is not possible on my end, I can provide more information such as customer id and vendor id later

Question
I'm requesting if the we can retrieve the GET logs of that specific request in question. They occurred on Aug 5th, 2024 and I can't find GET logs going back that far on the stripe log dashboard

#

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

Question
How to remove/delete exisiting publicly distributed app

Related Request ID(s)
123

What have you already attempted?
Find uninstall/remove button to remove existing public app

What are you working on?
create a OAuth2 app, which will let me pull data for users who installed the app

cursive heronBOT
#

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

Question
I have a User ID (e.g. usr_JHxxxx) for a Connect-ed account (connected through a Stripe App). I would like to retrieve the email address for the User with that ID.

Related Request ID(s)
No request ID

What have you already attempted?
I've looked at the accounts person API and some of the docs about user management in Stripe Apps. https://docs.stripe.com/stripe-apps/using-roles-in-ui-extensions

What are you working on?
I am recording actions made by users in my Stripe App. In my DB I want to store the user ID, not the email address (so I'm not storing end user email addresses).

#

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

Question
Currently the prices that we have defined on Stripe have tax_behavior as inclusive.
We have a project underway through which we calculate the sales tax rate for a customer based on their address. When we try to create a tax object with the rate and inclusive field set to False (primarily indicating Stripe to add taxes to the predefined prices) and then try adding this to Stripe Subscription create call, it fails as the tax behavior on Price object and Tax Rate object is differing.
I see on the dashboard and API doc that tax_behavior on price objects cannot be edited.
Solution?

Related Request ID(s)
NA

What have you already attempted?
Not able to change tax behavior on price objects

What are you working on?
Project to start collecting taxes. Calculate tax rate through third party services

cursive heronBOT
#

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

Question
I have an error with cli and can't authenticate it says the code are not the same but they are

Your pairing code is: joyful-easy-uphold-jolly
This pairing code verifies your authentication with Stripe.
Press Enter to open the browser or visit https://dashboard.stripe.com/stripecli/confirm_auth?t=1YMzznfRs8dDrdvXZFsqoZqiv3DerUW0 (^C to quit)
. Waiting for confirmation...unexpected http status code: 400 {"error":{"message":"The livemode of the authorization key you provided does not match that of the key provided in the Stripe-Account header.","message_code":"stripe_account_livemode_mismatch"}}

Related Event ID(s)
req_7jmF9q4sAgOTph

What have you already attempted?
I tested to delete cache. Restarted the coimputer. Changed the stripe.exe location. Restart a new command but nothing works

#

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

Question
We recently changed how we handle our stripe subscriptions and utilize usage based prices. We are using the pay as you go per unit model, where we increment the usage count for each instance. For our use case, this may cause the usage to increment 20k independent times. Wanted to ask if the usage model can support incrementing this many times, and it's built to handle this. I'd like to provide a screenshot after getting a response to provide more context.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models

What are you working on?
We are a text marketing platform that sends text messages to X number of recipients. The subscription plan works such that once the user sends above a certain amount of messages, they will be charged for overflow,.

cursive heronBOT
#

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

Code
const { error } = await connectLocalMobileReader({
locationId: location.data?.data.stripe_id,
reader: reader || (mobileReader as Reader.Type),
});

Question
tap to pay reader not connecting on production(testflight builds). When i run the app through xcode in production mode, tap to pay only works if the device is connected to xcode debugger, unplugging the debugger results in infinite loading of tap to pay

What have you already attempted?
none

#

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

Question
Is there a way to query for all the events of a particular Stripe object like a Customer?

I know that there is an API to query for all the events, but I do not see want to filter by customer or other object.

Related Request ID(s)
req_SfMbQaKTvbRVNy

What have you already attempted?
Tried listing all events across the entire Stripe and filtering to the last 5 minutes.

This works but seems ineffecient / complex.

What are you working on?
Building a telecom company!

#

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

Code
let customerSheet = CustomerSheet(configuration: configuration, customer: customerAdapter)
customerSheet.present(from: parent, completion: ...

(I only have a simple, working prototype implementation presently.)

Question
I'm using stripe-ios and trying to migrate our application to the new Mobile Payment Element UI from Card Element UI. Our need is to show an 'Add Card'-type UI. We don't want to present a payment methods management screen before doing so. I got a `CustomerSheet` working, but that presents a management UI with an 'Add Card'-type button, requiring an additional tap to get to that form.

Is there any way to directly present an 'Add Card' form?

What have you already attempted?
Presenting a `CustomerSheet`

#

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

What did you expect to happen?
When user tries to install our app - the install button is grayed out when it shouldn't.

What actually happened?
Stripe app install button is grayed out.

Reproduction Steps
Try to install our Stripe all

Question
How can we resolve this? We don't know what to do

#

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

Question
I am creating a platform where payment need to be split between platform and seller. I am using AccountCreateParams API to create a seller account id. With this account id i am doing split payment. Now I am need to provide a way for seller to be able to see his individual dashboard for all his transactions. Which API do i use. I tried to use AccountLinkCreateParams API but this is returning only setup URL, it does not take to dashboard

Related Request ID(s)
the account link url is going to setup and not dashboard

What have you already attempted?
I am using AccountCreateParams API to create a seller account id. With this account id i am doing split payment. Now I am need to provide a way for seller to be able to see his individual dashboard for all his transactions. Which API do i use. I tried to use AccountLinkCreateParams API but this is returning only setup URL, it does not take to dashboard

#

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

Question
I have added the apple-developer-merchantid-domain-association to my domain and the response is a 200, but for some reason the stripe dashbord tells me something else and Im not able to confirm the domain

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

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

Question
I have two ways a user can get paid, using direct charges and transfers, and subscription fees where we transfer 90% of the money. How do i fetch the users balance and display it in the app?

Related Request ID(s)
acct_1PXzSYPhGdKHtuQw

What have you already attempted?
Im fetching the balance using the API and displaying it in my swiftui app

What are you working on?
a marketplace connecting videographers and freelancers

#

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

Code
PaymentSheet.FlowController.PaymentOptionsButton(
paymentSheetFlowController: paymentSheetFlowController,
onSheetDismissed: model.onOptionsCompletionFlow
) {

                PaymentOptionView\(
                    paymentOptionDisplayData\: paymentSheetFlowController.paymentOption
                \)
                
            }

Question
I have successfully implemented PaymentSheet for my native iOS app but the payment is not processed correctly either with Apple Pay or with a new card entered. When the keyboard is opened to enter the card details, the back screen goes white and does not behave normally.

What have you already attempted?
The result works but the payment is not processed and if the data is not entered correctly the screen remains white and does not act normally.

What are you working on?
Building

cursive heronBOT
#

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

Code
IdentityVerificationSheet

Question
I'm looking into using Stripe Identity with Ionic Capacitor. I'm seeing that theres a IdentityVerificationSheet that provides a UI for the process. How customizable is that and how can I skin it to match my app? If this can't be skinned does Stripe support the use of a custom flow utilizing a API to pass along the data?

What have you already attempted?
I've looked though the docs and can't seem to find anything that describes what I'm looking for.

What are you working on?
I'm building an app in Ionic Capacitor and using the plugin for Stripe Identity.

#

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

Question
i have activated e events in my app .'checkout.session.completed' + checkout.session.expired'+payment_intent.succeeded but on stripe when checking if all the events were ok, i only see the checkout.session.expired event . is this ok? or i have done sth wrong?

Related Event ID(s)
we_1PysvZAcO1eKClr1CTFY2tyb

What have you already attempted?
########

cursive heronBOT
#

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

Question
How can I add metadata to an upcoming invoice that still doesn't have an ID, without finalizing it?

Related Request ID(s)
N/A

What have you already attempted?
await this.stripe.invoices.update(stripeInvoice.id, {...})

What are you working on?
I want to add a metadata to an upcoming invoice, so when I make a request to get a list of invoices from a customer, I can show an information to the user based on that specific metadata

cursive heronBOT
#

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

Question
Can we make the subscription price dynamic based on prices in our database.

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
I have tried to create subscriptions but i am bound to create its price constant at time of creatation.

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

#

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

Code
I just need to talk to someone that is familiar with setting up tipping on receipt options. I’ve never coded before and I have no idea what I’m doing.

Question
I just need to talk to someone that is familiar with setting up tipping on receipt options. I’ve never coded before and I have no idea what I’m doing

What have you already attempted?
I just need to talk to someone that is familiar with setting up tipping on receipt options. I’ve never coded before and I have no idea what I’m doing

What are you working on?
I need to be able to accept tipping and then tipping on receipt option and add to Apple Tap To Pay

#

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

Question
You have recommended that I use invoices and invoiceItems and a hosted invoice page, which seem okay for my purpose, however, I also need information about the status of a payment, for example, whether the card-payment was authorised or declined. How should I go about this where the prompt to pay is within a smartphone application please?

Related Request ID(s)
N/A

What have you already attempted?
I haven't got this far yet. I am thinking ahead and remembering how I intended to use your paymentIntent object.

#

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

Question
I'm really unclear on how to tackle a billing period change when users are upgrading or downgrading their subscriptions.

Can you clarify a few things:
What is the default behavior if I modify a subscription halfway through a yearly subscription, to a monthly?

Is there a suggested way to handle these situations? I know they're a bit edge case, but i want to make sure a user can move off a yearly plan, either to the same subscription tier or to a higher or lower one.

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

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

What did you expect to happen?
I was expecting to do a trade and the money to be able to be used or even withdrawn

What actually happened?
I put 120 nzd into my wallet and then it locked my account because I am 17 and unable to verify with id I have contacted support many times I would like to get my money sent back to my card and close my account

Reproduction Steps
………………:…………………………llllll

Question
I don’t have screenshots currently once I’m home I will be able to send more information

What are you working on?
nothing I wanted to trade for a I game object but instead my money is being held hostage

#

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

Question
I can't use a customer's default payment method for a subscription checkout session. I'm using a stripe-hosted checkout session, initiating it in subscription mode with no `payment_method_collection` value set, and a customer that I've verified has a default payment method that is a card. It still requires the credit card to be entered even though the customer already has a default card on file. According to the docs, I would expect the default payment method to be used here.

Related Request ID(s)
None

What have you already attempted?
I've tried upgrading the sdk to the latest version, checking out with a different product and customer.

What are you working on?
An SAT-prep web app

#

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

Question
We received a payment intent without a payment method and it caused some problems on our webhook handler. We dont understand which scenario we can expect to receive a payment intent without a payment method.

The invoice that used that payment intent has succeeded, but our webhook handler keeps trying to get the payment method from that payment intent and it always returns null. How can we get the payment method id in that scenario?

Related Event ID(s)
pi_3Psq3XABXG7iwsUN0zQqZsc5

What have you already attempted?
Try to get the payment intent again

cursive heronBOT
#

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

Question
we want to integrate stripe connect webhook and listen when the connected account need KYC, where this be located? in account.updated?

Related Event ID(s)
NA yet

What have you already attempted?
we want to integrate stripe connect webhook and listen when the connected account need KYC, where this be located? in account.updated?

What are you working on?
we want to integrate stripe connect webhook and listen when the connected account need KYC, where this be located? in account.updated?

cursive heronBOT
#

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

Code
im trying to sub on X | Card has been declined.

Question
why does it say card has been declined on stripe when I try to sub on x.com

What have you already attempted?
different proxy, without proxy, generate a new card, etc. I’ve tried everything possible. Also I tried multiple bank cards, etc (even tried AMEX card). Cards have funds in them and it’s my personal cards so I would know for certain. im sure im putting in the right name, billing addy, etc z and im not exceeding pay limits.

What are you working on?
I’m trying to get this fixed, I will literally pay $1000 as a tip to whichever dev helps me find a solution. I need the payment to through for my organization.

#

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

Question
I am integrating with Stripe to create subscriptions for my app. For my use case I only can calculate the subscription usage (metered usage) after the month ends, but I need the calculated usage to be submitted for the last month. However, I know with Stripe record usage Api I only can submit the metered values within subscription period or month.
This is a problem for me, what is your recommendation to resolve this?

Related Request ID(s)
--

What have you already attempted?
1) Pausing invoices and submit usage, but the usage would go for next month

cursive heronBOT
#

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

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

Question
Currently we changed our integration to create cards and SEPA payments in the PaymentMethods API. In the migration guide you provided us, it is described how to go from Sources to PaymentMethods, but nowhere does it say how to migrate the cards from Cards API to PaymentMethods API.
Since the documentation recommends to transition cards to payment methods as well how will the cards be migrated to payment methods? Will there be a migration guide prepared for them?

What have you already attempted?
With our recent changes, all new cards and SEPA payment methods are created through the SetupIntent and PaymentMethods API. But the migration guide says that only SEPA sources will be migrated, and nothing about Cards.

What are you working on?
Migrating Cards and SEPA payments to PaymentMethods.

cursive heronBOT
#

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

Question
Hey,
i am facing through the problem that when the connected account is created and after some time user updates his details, i have called the connected account updated webhook, if the user filled the wrong information or skip any information, i also want to call the webhook

Related Event ID(s)
n/a

What have you already attempted?
still doing RnD but didn"t found anything

What are you working on?
tes

cursive heronBOT
#

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

Question
I would like someone to review how we are creating payment intent via api when using paypal as a payment method

Related Request ID(s)
/

What have you already attempted?
With our flow we would like to avoid users to be redirected to paypal page in our checkout process if they are using paypal payment method and how to test different scenarios.

cursive heronBOT
#

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

Code
Tax calculation You must have a place of registration to calculate local sales tax

Question
There is no way to calculate taxes without having to apply for registration in every place.

What have you already attempted?
We tried several places that required registration in order to calculate local taxes

#

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

Code
<PaymentElement
options={{
terms: { card: "never" },
defaultValues: {
billingDetails: {
address: {
country: "US",
},
email: "",
},
},

Question
talked with stripe team and found out we don't need to collect email for us bank account. how can i configure that email field doesn't display?

What have you already attempted?
added email:"" like above

cursive heronBOT
#

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

Question
Is it possible to charge customer monthly for yearly subscription?
Let say the subscription starts in january and by the end of the month the customer already reached tier2. I would like may customer to pay the $250 by the end of the month not the year. Again in february the customer reaches tier3, I wish to charge $200 by the end of the month.

Doc/Guide Links
https://docs.stripe.com/products-prices/getting-started
https://docs.stripe.com/products-prices/pricing-models
https://docs.stripe.com/billing/subscriptions/overview#invoice-lifecycle
https://docs.stripe.com/invoicing/overview

What are you working on?
We offer a yearly recurring usage-based subscription with graduated tiers. Tier 1: $0, tier 2: $250, tier3: $200...

#

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

Question
stripe.billingPortal.sessions.create({
customer: stripeCustomerId,
return_url: `${process.env.NEXT_PUBLIC_BASE_URL}${returnPath || ''}`,
},
});

this is a code to update user plan with subscription id and stripe customer id.
I have one problem with this. our platform has 2 plan for each user. each plan has different subscription id. but we have static billing page when we try to upgrade user plan with session.url. I wanna create different product for each subscription id on billing page

Related Request ID(s)
N/A

What have you already attempted?
one billing page contain two plans. if I try to upgrade one plan with session.url, it will goes to billing portal that has two plan products.
forexample:
A plan: basic, advanced, premium,
B plan: basic, advanced, premium.
user plan: basic(A), premium(B).
try to upgrade A plan. will go to billing portal with seesion.url. that billing portal has plans for only A plan but now it has two plans(a-basic, a-advanced.. b-basic... b-premium).
I want dynamic products on billing page based on subscription id.

What are you working on?
there is only on billing page configuration on stripe dashboard.

#

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

Question
Is there a method to use a alternative way like Stripe Connect to pay out users and get a fee for each payment on a flutter mobile? Is this something you can do manual in Stripe or automated without using Connect?

Related Request ID(s)
.

What have you already attempted?
Stripe Connect but there is not a plugin for flutter

cursive heronBOT
#

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

Code
Not enough room to paste code

Question
Randomly getting `invalid_grant` error for API calls on connected account

What have you already attempted?
Unsure of how to proceed.

What are you working on?
Embeddable pricing tables app

#

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

Question
After getting a pending webhook event via event->all with relevant parameters, how can I trigger those events programmatically in Laravel or PHP?

There are many pending webhooks in the list due to some permission issues in my server.

Related Event ID(s)
there are tons of ids

What have you already attempted?
used this code to retrieve field event

// Fetch events from Stripe
$params = [
'limit' => 100, // limit the number of events returned per page
'created' => [
'gte' => strtotime("-$getDaysOldData days"), // events from the past month
],
'delivery_success' => false, // filter by failed delivery
];

        if \($startingAfter\) {
            $params\['starting\_after'\] = $startingAfter;
        }

        $events = $this\-\>stripe\-\>events\-\>all\($params\);

What are you working on?
subscription

cursive heronBOT
#

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

Question
i have implement ACSS payment method in my website so i used recussing payment now so i used subscription mode in this payment so give error
Error adding product price or creating session: StripeInvalidRequestError: The payment method `acss_debit` cannot be used in `subscription` mode.

Related Request ID(s)
N/A

What have you already attempted?
const session = await stripe.checkout.sessions.create({
mode: "subscription",
line_items: stripe_product_price_ids,
payment_method_types: ["acss_debit"],
payment_method_options: {
acss_debit: {
mandate_options: {
payment_schedule: "interval",
interval_description: "On ",
transaction_type: "personal",
},
verification_method: "automatic",
},
}})

What are you working on?
integration ACSS payment

#

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

Question
Hello, where could I find the Direct API documentation (we are PCI DSS compliant, provided our document to our dashboard and want to integrate directly with Stripe by providing card details that we collect)

Related Request ID(s)
NA

What have you already attempted?
Our account manager told us to contact Stripe support but Support team always redirects us to Checkout or Elements documentation.

#

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

Question
After getting a pending webhook event via event->all with relevant parameters, how can I trigger those events programmatically in Laravel or PHP?

There are many pending webhooks in the list due to some permission issues in my server.

Programatically means not executed from stripe dashboard but getting all event ids and run it through API.

Related Event ID(s)
there are tons of ids

What have you already attempted?
used this code to retrieve field event

// Fetch events from Stripe
$params = [
'limit' => 100, // limit the number of events returned per page
'created' => [
'gte' => strtotime("-$getDaysOldData days"), // events from the past month
],
'delivery_success' => false, // filter by failed delivery
];

        if \($startingAfter\) {
            $params\['starting\_after'\] = $startingAfter;
        }

        $events = $this\-\>stripe\-\>events\-\>all\($params\);

What are you working on?
Subscription

#

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

Code
let paymentSheet = PaymentSheet(intentConfiguration: intentConfig, configuration: configuration)

Question
Whenever I try to present the PaymentSheet my app crashes in the StripeSDK with an error:

Thread 21: EXC_BAD_ACCESS (code=1, address=0x4)

It happens in PaymentSheetLoader -> loadMiscellaneousSingletons(), but I have had it crash with a similar error in another part of the sdk

What have you already attempted?
Updated to the latest Stripe SDK

What are you working on?
An event app that sells ticket

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/create_without_intent

Question
Is it possible to set up a paid trial for a subscription product? For example, I want to offer a 10-day trial for $10, after which the subscription renews at the regular price of $100 per month. How can this be implemented?

What have you already attempted?
I checked the button itself on the mobile device. I looked in the documentation for how to connect a subscription using Apple Pay Express Payment.

What are you working on?
Possibility to add payment for subscription on the site via Express Checkout

cursive heronBOT
#

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

Question
I am looking for a way to detect if a subscription was cancelled via the dashboard or an API request, and not an internal Stripe process.

For example, if a stripe subscription is cancelled due to after X failed payment attempts, I do not want this logic to trigger.

However, if the user has requested the subscription is cancelled after the current billing term, I do want this logic to trigger.

I have a webhook configured which listens for customer.subscription.deleted events and triggers processes within my application.

Related Event ID(s)
customer.subscription.deleted

What have you already attempted?
I have found a few potential solutions, but I haven't found anything in the documentation that supports these:

https://stackoverflow.com/questions/40755353/detect-if-subscription-is-cancelled-automatically

This question/answer suggests looking at the request param, but if the user cancels manually, `"cancel_at_period_end": true,` is set, so even if the request object is null, i'm assuming it will look the same as a automated process?

I've also found suggestions to look at `cancellation_reason` or `latest_invoice`. Does Stripe set a `cancellation_reason` if billing fails?

What are you working on?
Email marketing tool

cursive heronBOT
#

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

Code
stripe connect checkout payment issue

Question
in stripe payment checkout, entries of fees and main payment to main account and connected account but main payment entries added to main account as well

What have you already attempted?
I have followed code as suggested

#

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

Question
After my customer was paid $1500, you close my account immediately. Why?

Related Request ID(s)
nyaarea

What have you already attempted?
After my customer was paid $1500, you close my account immediately. Why? Now 2 weeks passed, you keep my customer’s money into your pocket???

What are you working on?
please pay outs my money $1500, or refund to my customer ASAP.

#

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

Question
Hey guys! On my website, there is a button with a URL redirect to a stripe payment link. Now, I'd like to pass an affiliate ID as a UTM parameter and get it back to the CRM system after the purchase.

  1. Can I use only these >> https://docs.stripe.com/payment-links/url-parameters << parameters, or set up custom ones like ?affiliate_id={{variable}} too?
  2. Does Stripe send the UTM parameters back over the Webhooks? Is that independent of the event type?

Related Event ID(s)
no particular

What have you already attempted?
didn't find any documentation on that

What are you working on?
GoHighLevel's native checkout forms are not usable in Germany, so I need a CRM -> Stripe -> CRM setup including Affiliation

#

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

What did you expect to happen?
apple pay button to render.

What actually happened?
not getting rendered

Reproduction Steps
iam using the latest integration, migrating form payment request button.

Question
is it getting rendered for you or not. Possible reason why its not getting rendered for me

cursive heronBOT
#

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

Question
Hi team, we want to send some of transaction's amount to a different bank account for same connected account. Is it possible to divide amount with same payment intent ?

Related Request ID(s)
na

What have you already attempted?
read api doc

#

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

Code
Customer customer=Customer.retrieve(user.getStripeCustomerId());

		Map<String, Object\> bankAccountParams = new HashMap<\>\(\);
		bankAccountParams.put\("country", "US"\);
		bankAccountParams.put\("currency", "usd"\);
		bankAccountParams.put\("account\_holder\_name", requestProfileDetails.getAccountName\(\)\);
		bankAccountParams.put\("account\_holder\_type", "individual"\);
		bankAccountParams.put\("routing\_number", requestProfileDetails.getAbaNumber\(\)\);
		bankAccountParams.put\("acc

Question
i am getting error while getSources on customer to create that account params

What have you already attempted?
//Generate payment source
PaymentSourceCollectionCreateParams params =
PaymentSourceCollectionCreateParams.builder()
.setSource(token.getId())
.build();
PaymentSource paymentSource = customer.getSources().create(params);

also gets error

What are you working on?
Creating bank account and verify it

#

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

Question
Is it possible to create a payment_intent for an existing past_due subscription with a failed payment using PaymentItent API ?

Related Request ID(s)
NA

What have you already attempted?
I can't find any parameter to pass when creatin payment intent to attach the payment to the subscription invoice

What are you working on?
I wan to give my user the ability to retry a failed subscription payment on my site

#

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

Question
How to check meter usage for reconciliation on our end when the credits are finished?

Related Request ID(s)
NA

What have you already attempted?
I have been going through the meter docs for usage based billing and in the case of stripe billing the client for more tokens, and the payment fails, or the payment is taking time and in the meanwhile tokens are exhausted.

How do we handle this case? do we have to poll stripe for summary (https://docs.stripe.com/api/billing/meter-event-summary) and stop services on our end? or will stripe send an event for it?

cursive heronBOT
#

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

Question
When using the metaData field with a paymentIntent object, would text/data appear on the customer's invoice after making a payment? I have around 30 characters to add to an invoice to explain a single payment.

Related Request ID(s)
N/A

What have you already attempted?
I would prefer not to work with invoices because there is only a tiny difference to be made.

cursive heronBOT
#

@opal 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/connect/direct-charges-multiple-accounts

Question
We are building a market place where multiple customers and sellers are present. We identified Stripe Connect as a solution. But a specific use case require us to share same card by multiple customers.
Now this doc explains that we can do that but it says to save payment method on our platform. I am not sure if I understand this. Does that mean we dont save the card on stripe? Also do we have to be PCI compliant in order to save cards on our platform?

What have you already attempted?
Right now we are just figuring out the solution and have not implemented anything

#

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

Question
stripe login --api-key sk_.....

this always connect to my team test account.

My client gave me administrator access but still no luck.

Related Request ID(s)
cli

What have you already attempted?
stripe login --api-key sk_.....

What are you working on?
CLI

cursive heronBOT
#

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

Question
I want to make an API to search Payment Intents by the date the payment is made not the payment intent record is created. I have checked the query fields for payments intent and this is not one the 6 fields we can use. How would you suggest we work around this? An idea i had was to have a webhook that on payment it would update the metadata section with the data it was paid and then use that as my search. However I wanted to check to see if there was an easier way to do this.

Related Request ID(s)
No related record.

What have you already attempted?
No attempts yet. I wanted to check what is the best method to resolve this and if what I suggested is the best method.

What are you working on?
A payment intent sync to a 3rd party system only for payments intents that have been paid and not just created.

#

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

Question
I wanto to create a webhook using metadata, but by CLI it does not allow me.
Is there any easy way to trigger a webhook with this information?

Related Event ID(s)
11

What have you already attempted?
-

What are you working on?
-

cursive heronBOT
#

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

Question
Where i can find details on how to create a Webhook when user uninstall the app, so i can remove oauth tokens and any db related entries

Related Request ID(s)
123

What have you already attempted?
Looked up through docs. Didnt find anyhthing related

What are you working on?
Create OAuth 2.0 app to pull data for users

#

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

Question
I have to set up a workflow with Stripe for a customer, it's about one-off payments. These should automatically generate an invoice after payment and send it to the customer. I just can't find a real solution for this. We using stripe checkout via vue-stripe

Doc/Guide Links
https://docs.stripe.com/billing
https://docs.vuestripe.com/vue-stripe/stripe-checkout

What are you working on?
A process for paying a fee during an abstract submission.

#

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

Question
Can one payment intent have more than one successful charge?

Related Request ID(s)
N/A

What have you already attempted?
I tried asking Stripe AI, which says yes. But looking at this reddit post (https://www.reddit.com/r/stripe/comments/j28rgf/comment/g741e5n/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button), it seems like it is not possible to have more than one successful charge per payment intent.

#

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

Code
PaymentMethodCreateParams paymentMethodParams = PaymentMethodCreateParams.builder()
.setType(PaymentMethodCreateParams.Type.US_BANK_ACCOUNT)
.setUsBankAccount(
PaymentMethodCreateParams.UsBankAccount.builder()
.setRoutingNumber("110000000")
.setAccountNumber("000123456789")
.setAccountHolderType(PaymentMethodCreateParams.UsBankAccount.AccountHolderType.INDIVIDUAL)

Question
Unable to verify the user bank account to stripe

What have you already attempted?
Can't call PaymentMethodVerifyParams class
Created BankAccount and passed it then it's showing getSources is null
Also added expand in soruces

What are you working on?
i want to verify the user bank account by stripe

#

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

Question
Hello!
I'm trying to create Stripe App directly on the Dashboard but there is not "Create an App" option available? Do you know why?

The plan is to create Stripe App and use it like "proxy" between Stripe Webhooks and our system. Is that good idea, since we aren't allowing anonymous access directly to our system?

Related Event ID(s)
evt_1PjDDU02Eb1sVOaRX5q4uRnz

What have you already attempted?
-Red documentation and tried to create Stripe App via command CLI but it seems a bit complex, and it should be easy integration

What are you working on?
Stripe Webhook integration using Stripe Apps

#

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

Question
After making a transfer to a Connected account - how can I edit the `destination_payment` to include some metadata and a description on the Connected account side.

Related Request ID(s)
req_mRHdMieI6m3LPy

What have you already attempted?
Not much - the `py_` id is odd - I dont know which resource endpoint to hit

#

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

Question
Forgot from where STRIPE_WEBHOOK_SECRET_LOCAL field I took.

Related Event ID(s)
Look in Developer > Webhooks > Endpoints

What have you already attempted?
Already have the STRIPE_WEBHOOK_SECRET, but I want this as well: STRIPE_WEBHOOK_SECRET_LOCAL.

#

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

Code
I've created "pi_3Q0kERGUavQZ0B3i33ojjZZu" with "setup_future_usage": "off_session" using code:

await paymentIntentService.UpdateAsync(
invoice.PaymentIntentId,
new PaymentIntentUpdateOptions
{
SetupFutureUsage = "off_session",
});

Question
Hello again, I am trying to add "setup_future_usage":
"off_session" to my PI. If I understand correctly, this should setup the card for off_session operations, in particular setup the card for 3DS after payment. When I pay the invoice with hosted page and card "4000002500003155" the card is added to the customer. But after this, if I try to make an off_session payment, it fails with "This payment requires additional user action before it can be completed successfully."

What have you already attempted?

  1. Create an Invoice
  2. Finalize it, so that the PI is created
  3. Update the PI for adding SetupFutureUsage = "off_session"
  4. Pay the invoice with the hosted link and accepting the 3DS test page.
  5. Creating a new invoice and paying it via API.
#

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

Code
const stripe = require('stripe')('xxx');

const accountSession = await stripe.accountSessions.create({
account: 'xxx',
components: {
account_onboarding: {
enabled: true,
features: {
ext

Question
With Connect embedded components, is there a way to limit account onboarding to a specific person?

Use case: One person starts onboarding the account and then hands it over to a specific person (e.g. managing director) to upload their details.

What have you already attempted?
Read the docs; Tried to pass in random parameters :-)

#

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

What did you expect to happen?
I have a subscription in status `trialing` which includes a subscription item with `usage_type` set to `metered` and want to set `trial_settings.end_behavior.missing_payment_method` to `pause`.

What actually happened?
When trying to change `missing_payment_method` in the Stripe dashboard, I receive the following error message:
> Subscriptions with a subscription item price using `usage_type` set to `metered` can’t be configured to pause at trial end.

Reproduction Steps
Stripe CLI
```
# stripe subscriptions create --trial-settings.end-behavior.missing-payment-method=pause --trial-period-days=7 --customer=cus_xxxxx -d "items[0][price]"=price_xxxxx
{
"error": {
"message": "Subscriptions that are configured to pause at trial end can’t contain subscription items with a price using …"
}
}
```

Question
Please point me to the documentation in which this behavior/requirement is described so that I can refer to it internally when implementing our subscription status workflow.

#

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

Code
$stripe->invoices->create([
'customer' => $customerId,
'auto_advance' => false,
'metadata' => [
'event' => 'application_fee_commission',
'parent_invoice' => $firstInvoice->id,
'franchise' => $franchise->id ?? '',
'order_id' => $order->id ?? '',
'booking_reference' => $order->booking_reference ?? '',

Question
How to set customer to connect account id so that created invoice show the bill to details of connect account

What have you already attempted?
I am not sure how to do it

What are you working on?
Creating invoices

cursive heronBOT
#

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

Question
hey guys,

  1. do I get it right, that I can only return UTM parameters, when using checkout sessions?
  2. I use payment links, here the checkout sessions won't be created automatically, correct?
  3. To create a payment session it requires an API call?

Related Event ID(s)
none

What have you already attempted?
read the documentation

cursive heronBOT
#

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

What did you expect to happen?
I have a partially filled payment intent. I decrease (with an update on it) the amount related to the payment intent. I expect that the amount already filled by the user remains within the payment intent.

What actually happened?
When the payment intent is modified, a customer_cash_balance_transaction is generated and the funds go into the user's cash balance. These do not return to the initial payment intent.

Reproduction Steps
Create a payment intent with bank transfer as a payment method of 100 euros.

simulate funding to the payment intent with 30 euros.

Modify the payment intent to match the amount to 30 euros

Question
Why does the amount not remain in the initial payment intent?

The problem arises from the fact that a refund cannot be generated starting from an uncompleted payment intent. I therefore tried to decrease the amount of the payment intent with the expectation of seeing the payment intent completed and therefore refundable

#

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

What did you expect to happen?
In elements, when selecting the iDEAL payment method, we used to get a bank selection, which no longer shows up.

What actually happened?
Bank selection no longer exists.

Reproduction Steps
Create a payment element with iDEAL enabled

Question
Is there an option to re-add the bank selection?

cursive heronBOT
#

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

Code
Trying to get more information on Events data.

Question
What should I filter to when a subscription moves from active > canceled (voluntary churn)? Do I need to reference the type ?

What have you already attempted?
`data_object_status` = 'unpaid' AND `data_previous_attributes_status` = 'past_due'

What are you working on?
Working on building out Churn, both voluntary and involuntary based on when subscriptions moved to either pastdue > unpaid and then active > canceled

cursive heronBOT
#

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

Question
i'm setting up a subscription with the python sdk.

i'm trying to get subsequent payments to use the same payment method as the first payment.

the initial payment has been taken ok

the next payment doesn't have the customer's payment method associated ??

do i have to do this manually on the customer or is this a property of the initial subscription creation?

Related Request ID(s)
pi_3PzcEe1su8aU7KIQ1KUCqxoC

What have you already attempted?
i've created the subscription and used the payment intent id to render the js payment form..

i then update the payment intent subscription metadata to include all the metadata

```python
subscription = stripe.Subscription.create(
customer=stripe_customer_id,
items=[{
'price': stripe_price_id,
}],
payment_behavior='default_incomplete',
expand=['latest_invoice.payment_intent'],
metadata=metadata,
)
self.update_payment_intent_metadata(subscription.latest_invoice.payment_intent.id, metadata)

```

What are you working on?
membership subscription service integrated into a django backend.

#

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

Question
Is my endpoint secret "whsec_..." (to use stripe CLI locally) sensitive and should be stored in .env, or would it not matter since it's not applicable to prod? Is there anything bad someone could do if I push it to source control? To be clear I'm not talking about my stripe api key. Thanks!

Doc/Guide Links
https://docs.stripe.com/webhooks#verify-official-libraries

What are you working on?
SaaS website (using subscriptions)

#

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

Question
I have an active subscription, that I wish to update with payment behavior pending_if_incomplete. I also want to apply a coupon to the subscription update's invoice

Related Request ID(s)
req_qiefn9oBl79aMA

What have you already attempted?
I have tried this but invoice was already paid
List<Map<String, String>> discountObject = ...
Map<String, Object> params = new HashMap<>();
params.put("items", subscriptionItems);
params.put("payment_behavior", "pending_if_incomplete");
params.put("proration_behavior", "always_invoice");
subscription.update(params);
Invoice invoice = subscription.getLatestInvoiceObject();

    Map<String, Object\> invoiceUpdateParams = new HashMap<\>\(\);
    invoiceUpdateParams.put\("discounts", discount\)
   invoice.update\(invoiceUpdateParams\);
#

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

Question
We have a hosted payment page implementation, our payment intent is created at a time where we do not know how much the splits will be between delivery driver, connected account and platform. Can we specify the splits at capture? if yes, how long is the payment intent valid for? Can we have a conversation over the phone to discuss this please as well?

Related Request ID(s)
N/a

What have you already attempted?
n/a

What are you working on?
working on delivery app which provide delivery via third party.

#

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

Question
I'm using stripe connect and our customers can connect multiple stripe accounts to one of their accounts in our system. In our system an account is an organization. Organizations can have multiple subsidiaries and a stripe account can be connected to each subsidiary. The user is logged into the context of an organization but can configure subsidiaries.

Initially I wanted to add a dynamic component to the redirect_uri to identify the subsidiary but according to the docs those redirect uris are fixed and must match exactly.

Do you have any advice on how to achieve this? Ideally I'd like to pass some information in the redirect uri that stripe can send back to our system.

Doc/Guide Links
https://docs.stripe.com/connect/oauth-reference#get-authorize

What are you working on?
An accounting platform

cursive heronBOT
#

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

Code
React native payment sheet
const { initPaymentSheet, presentPaymentSheet } = useStripe();

const { error } = await presentPaymentSheet();

Question
the sheet does not animate out properly

What have you already attempted?
Tested both physical devices and simulators, simulators work, actual devices dont

What are you working on?
building a marketplace

cursive heronBOT
#

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

Question
I'm setting up a new business that sells cloud compute. New users are able to create separate organizations. Each organization needs to have billing information.

How do I collect billing information when a new organization is created to bill at the end of the month?

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred

What are you working on?
Selling cloud compute

#

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

Question
Moving from Stripe Test to Live and my PHP code that creates a session and redirects the user isn't working the same way. If user already has an account they see a link to have stripe email them a login link.

Related Request ID(s)
req_PJPSL3hy7fCBl9, req_yL7Ym9fEFNmvlI, req_LHcHmRjTQWbjyc, req_4ixxcpZAjhMLtf

What have you already attempted?
This seems like a stripe configuration issue rather than a code issue because the code is identical and works one way in test but another way in live.

What are you working on?
A PHP stripe integration that allows users to have multiple subscriptions. They are buying an additional subscription when presented with this issue.

#

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

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

When I open dashboard account or business name is already set. What do I have to do to rectify this?

Related Request ID(s)
0HN6OI52SUA72

What have you already attempted?
Looked into documentation

What are you working on?
Stripe integration

cursive heronBOT
#

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

Question
How would I go about getting the bought product from payment_intent.succeeded?

Related Event ID(s)
evt_3Q0oTqKtCZR5n9840Ny6yG5p

What have you already attempted?
I've tried passing in metadata containing the product id from the initial purchase, but that doesn't seem to get passed onto the succeeded intent. Also can't retrieve the id of the succeeded intent and therefore can't reference other data.

What are you working on?
A small application to buy digital cards (used within a scouting hobby group)

#

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

Question
How do I prefill test credit card info when creating checkout session using stripe api

Related Request ID(s)
N/a

What have you already attempted?
I tried creating a customer with the following code and passing it into \Stripe\Checkout\Session::create( but it does not prefill the credit card info for that user

```
$customer = \Stripe\Customer::create([
'description' => 'Test Customer',
'email' => 'test_email@test.com',
'payment_method' => 'pm_card_visa', // Stripe test payment method ID
'invoice_settings' => [
'default_payment_method' => 'pm_card_visa',
],
], ['stripe_account' => $stripe_connect_id]);
```

#

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

Question
How do I catch the error codes in php like i see here:
https://docs.stripe.com/error-codes

When I attempt to run a transaction with a bad cvc code/bad zip code
I get the message
Fatal error: Uncaught (Status 402) (Request req_Qr3PaXEQ3fw9he) Your card has insufficient funds. thrown in /homepages/7/d762472547/htdocs/kpss/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php on line 38

It does not appear to enter any of the branches that are described in the docs. In this case I would expect it to be the card exception error.

What am I missing? The code works on a good card

Related Request ID(s)
req_mdxZzaegZCJrMk

What have you already attempted?
I am trying to print out the errors in the various branches as described in docs so that I can handle each individually

What are you working on?
payment gateway

cursive heronBOT
#

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

Question
Working on Apple pay & Google Pay the problem is coming integration Apple pay there is a bug that dont let us add card

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Apple Pay & Google Pay

cursive heronBOT
#

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

Question
In my current system, I have the feature of subscription through Stripe. I created a customer portal where I can update their subscription. Now, I have added a feature of group users in which the the admin adds different people. I want to charge a subscription according to the number of users in the group. How can I do that through the customer portal?

Related Request ID(s)
No related ids

What have you already attempted?
I didn't find any solution yet.

#

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

Question
I am trying to filter out payments on a certain product only within my stripe account in order to send notifications of that product being purchased to an internal team slack channel as well as send data to a google sheets finance tracker. I am currently doing this through zapier but cannot find a way to filter for only purchases of a certain product... please help

Related Request ID(s)
none

What have you already attempted?
I've tried putting statement descriptors, filtering by certain amounts, putting certain descriptions on every single "description" box I see on payment links and product info but none if it shows up in API that zapier pulls

What are you working on?
a zapier automation to send notifications to an internal slack channel as well as update rows on a google sheets finance tracker

#

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

Question
Hi Stripe Team, I have ruby backend and a react client.

  1. My ruby gemfile has version gem 'stripe', '~> 5.55.0'2, stripe-ruby-mock is not allowing us to go to the next version here.

  2. Also, we have Stripe.api_version = '2019-02-19' variable set in one of the configs on the backend.

  3. If I look at webhooks in developer tab on stripe, it says API version: 2015-06-15. Will this start sending differently structured objects to us in webhooks.

  4. My client has stripe-v3 script in it. This seems to be latest.

I want to move to the latest version on each of these. I am not sure in what order, and the documentation is not super clear. We need you assistance on this.

Doc/Guide Links
https://docs.stripe.com/api/versioning?lang=ruby

What are you working on?
Maintaining/upgrading stripe in all environments.

cursive heronBOT
#

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

Question
I am using checkout embedded component how can i handle success and failure of payment.

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
I have tried with return url as embedded mode does not support success url.
read the documentation of checkout session, webhook for event, and session creation.

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

cursive heronBOT
#

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

Question
I did a bunch of refunds via the API, and they don't show up in the "Refunded" transactions

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

What have you already attempted?
I did a batch of refunds for my client and now they're asking for some kind of Report from Stripe that shows all those refunds. The refunds all show up in the Log, but not in the "Refunded" transactions. Is there a Stripe-branded report I can access of refunds done via API?

What are you working on?
Refunds on an e-comm site for food

#

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

Question
custom dashboard with statistics for onboarding account

Related Request ID(s)
statistics calculation

What have you already attempted?
Hi, im creating dashboard and need some informations to onboarding account

  1. Total ballance on the account
  2. Total amount on the way to your bank
    3.Estimated amount to next payoute

I found that api stripe has balance.retrieve()
and in response are available, instant_available, pending

Do you think that
- for point (1) the answer is available balance
- for point (2) is pending balance
- any ide what for point (3) "Estimated amount to next payoute"

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-data/access-data-in-warehouse

Question
Does data pipeline provide information about Meter Events? What type of data is exposed, and available?

What have you already attempted?
Saw https://docs.stripe.com/api/billing/meter-event-summary/list on how to do this programatically, but would like to know if it's available via the pipelines intended for analytics

What are you working on?
Validating how much we can use stripe as part of our analytics pipeline.

cursive heronBOT
#

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

Question
Payment method (ACH) not appearing in Stripe after successfully adding via API

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
adding a store payment method (ACH)

#

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

Question
Earlier this week, we had a HUGE spike in capability.updated and account.updated webhooks where many connected accounts suddenly gained new requirements, almost all business profile url. Did we miss something? Most of these organizations haven't done business with us in a long while.

Related Event ID(s)
evt_1Q0ES32UTD3y5osCX457LQsf

What have you already attempted?
Looking through the dashboard at the events and accounts

What are you working on?
Supporting our customer base

cursive heronBOT
#

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

Question
Hi
Your docs say "Billing thresholds aren’t evaluated during the 24 hours leading up to the end of a subscription" (in the Limitations section at https://docs.stripe.com/billing/subscriptions/usage-based/alerts-and-thresholds).

Does this mean that thresholds aren't evaluated at the end of a subscription (like when the subscription itself is over)? Or does it mean that thresholds aren't evaluated at the end of a subscription period?

So, if we have a recurring monthly subscription and our anchor date is July 3 midnight UTC, will thresholds be evaluated on Aug 2 or not? We're doing this as fraud mitigation and so we're slightly concerned about a gap here.

Thanks!

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/alerts-and-thresholds

What are you working on?
Cloud AI tools

cursive heronBOT
#

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

Question
When creating an Account using Account API, how to configure Capabilities (set enabled to Transfers and Card Payments both) ?

Related Request ID(s)
not have anything right now

What have you already attempted?
AccountCreateParams accountCreateParams =
AccountCreateParams.builder()
.setCountry("US")
.setMetadata(clientMetadata)
.setType(AccountCreateParams.Type.EXPRESS)
.setCapabilities(
AccountCreateParams.Capabilities.builder()
.setCardPayments(
AccountCreateParams.Capabilities.CardPayments.builder().setRequested(true).build()

cursive heronBOT
#

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

Question
We are looking to do a data migration to another account (which involves migrating subscriptions).
I am looking at this doc here: https://support.stripe.com/questions/recreate-subscriptions-and-plans-after-moving-customer-data-to-a-new-stripe-account (which seems like it might be a bit outdated (mentions plans not prices))

It mentions creating products and plans with the same id as your old account - which we can do with products, but there doesn't seem to be a way to do this with prices.
Is there a way to achieve this with prices? Or does this not matter anyway because we have to re-create the subscription? Is this id parity required for migration or just a convenience?

Doc/Guide Links
ttps://support.stripe.com/questions/recreate-subscriptions-and-plans-after-moving-customer-data-to-a-new-stripe-account

What are you working on?
Subscription-based property management software

cursive heronBOT
#

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

Code
```public function stripeCreatePaymentIntent(array $params = [], array $options = []): \Stripe\PaymentIntent
{
return Cashier::stripe()->paymentIntents->create($params, $options);
}```

```$options['stripe_account'] = $expert->company->stripe_user_id;```

Question
To create a direct charge on a connected account, I am following the doc. But when I try to create a PaymentIntent for that, I get this error... No such customer: 'cus_QiPfdIZSK.....'. The customer exists on the platform account but not on the connected account. So what should I do next? Do I need to clone the customer or PaymentMethod to the connected account?

What have you already attempted?
I have used multiple customer to create the PaymentIntent but no avail...

What are you working on?
SaaS application where customer will transact with connected account directly.

cursive heronBOT
#

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

Question
If the customer change their IBAN the SEPA mandate have to updated. how can I update the SEPA mandate on STRIPE in this case?

Does Stripe support directly updating an existing SEPA mandate in code?
If it is impossible, how can I do?

And how can I remove the existing SEPA mandate?

Related Request ID(s)
Coding

What have you already attempted?
I am not sure, can I update the IBAN directly on Stripe.

What are you working on?
I am working on the Nestjs Project to implement the SEPA with Stripe.

#

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

Question
I use `setupIntent` on the backend together with `paymentElement` on the frontend. I enabled Card and both Google Pay and Apple Pay methods on the dashboard. When I mount payment element I see UI for cards but nothing for the wallets (Google Pay and Apple Pay).

I tried to add "ExpressCheckoutElement" to the same "elements" group. When deployed the frontend app to my hosting platform (Render) with and registered custom domain in Stripe I started seeing Google Pay and Apple Pay in that ExpressCheckoutElement but still not in the PaymentElement.

Related Request ID(s)
req_PPOzSvpIbYDlEK

What have you already attempted?
I tried to use PaymentElement to display Google Pay and Apple Pay but that didn't work, only when I added ExpressCheckoutElement I started seeing those payment methods in the UI

PS: Domain is registered, HTTPs is used

What are you working on?
A marketplace app that allows charging one customer on behalf of multiple vendors who provide the goods. The charged amount is distributed among them based on the content of the shopping cart.

#

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

Code
try
{
var session = await service.CreateAsync(options);
Response.Headers.Add("Location", session.Url);

return Ok\(new CreateCheckoutSessionResponse
{
	//SessionId = session.Id,
	SessionUrl = session.Url
}\);

//return new StatusCodeResult\(303\);

}

Question
An error is generated when a blazor webassembly navigates to the checkout session url. How to resolve the error? Says empty challenge and error is related to https://newassets.hcaptcha.com

What have you already attempted?
I am following the payment checkout docs for .NET. I have tried to access the url through Blazor Navigation Manager and thru javascript window.open function. The checkout page opens, you can enter information then hangs and generates above error

What are you working on?
SaaS with Stripe subscription

#

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

Question
For my app I need Minimum Monthly Fees, this means if the usage cost of a period was less than a certain amount, the customers should be invoiced with the usage fee plus the difference. So the total should be at least the minimum monthly fee.

Related Request ID(s)
---

What have you already attempted?
- Fixed fee and using a webhook to manually add items to the invoice

cursive heronBOT
cursive heronBOT
#

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

Code
const { reader, error } = await connectInternetReader({
reader: readers[0],
});

Question
When attempting to connect to the Stripe S700 reader through connectInternetReader it throws this error:
{"code": "Unknown", "message": "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “192.168. (redacted local IP)” which could put your confidential information at risk."}

What have you already attempted?
I have tried using different wifi networks as well as hotspot and the issue seems to persist.

What are you working on?
Stripe Terminal React Native SDK for mobile app

cursive heronBOT
#

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

Question
How to add payment description to Stripe Checkout, and show description on Stripe dashboard

Related Request ID(s)
req_ZF4cyxBvKVOtSB

What have you already attempted?
I tried to add the description field to the payment_intent_data

What are you working on?
WCV Stripe connect using stripephp

cursive heronBOT
#

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

Code
// SetupIntentCreateParams params = SetupIntentCreateParams.builder()
// .addPaymentMethodType("us_bank_account")
// .setCustomer(customer.getId())
// .setPaymentMethod(paymentMethod.getId())
// .setConfirm(true)
// .build()
// )
// .bui

Question
I am verifiying the bank account of user through stripe but getting error , in above code its saying that mandate data is null

What have you already attempted?
I have attemp by using BankAccount also still getting error

What are you working on?
i want to verify the user bank account by stripe only

cursive heronBOT
cursive heronBOT
#

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

Code
com.stripe.exception.RateLimitException: You are updating the subscription too frequently. Please slow down and try again or visit https://support.stripe.com/contact for help.; code: rate_limit;

Question
We are currently in testing mode and have encountered an error. We are developing a payment system that allows admin users to purchase seats and assign them to other users. Specifically, on our payment web platform, the admin can click on a user’s profile and select "Upgrade" to purchase a seat. This process is used to upgrade team members individually.

Could you please clarify how many purchase or seat update actions can be triggered within a few minutes?

What have you already attempted?
https://docs.stripe.com/rate-limits

What are you working on?
product development

#

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

Code
What percentage of order tax is based on the customer's information?

Question
Does this registration place specifically refer to the place of company registration, or is it simply an authorization to collect taxes in that area, and registration is solely for tax purposes.

What have you already attempted?
No, I just came to learn!

cursive heronBOT
#

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

Question
We are developers integrating Stripe PG. We understand the 'Stripe Checkout' and know how to use... as its a 1 step process, show payment choices, get payment, transaction complete, all in one go.

Our question is related to taking payments when the amount is not known upfront, but is dependent on how long the customer used our service (1hr, 2hr.. etc). Ideally we would want to take their payment info (CC, Debit, etc) upfront and Verify for authenticity.. and then the actual payment/transaction will happen later (in few hrs).

Please let us know what API's to use for above usecase. Thanks.

Related Request ID(s)
Not Applicable

What have you already attempted?
We know the standard 'Stripe Checkout' and how to integrated it.

What are you working on?
This is a web application to provide services for fixed durations like 1hr, 2hr, 3hr.. etc.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element

Question
on that express-checkout-element, I can see the G Pay button with my google testing account. However, when I tested the app on stripe checkout form(https://checkout.stripe.com/c/pay/cs_test_.........), I can't see the G Pay. Do you use the legacy Element described on this page https://docs.stripe.com/stripe-js/elements/payment-request-button? As I can't see G Pay button on this page. Can you use the Express Checkout Element instead? My testing google account with Test card set following the instruction https://developers.google.com/pay/api/web/guides/resources/test-card-suite

What have you already attempted?
I'm testing on Chrome with my google test account logged in

What are you working on?
Sage Accounting App

#

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

Question
Assuming while making the payment, if there is an internet connectivity issue, then what does Stripe send in response to the payment request made?

Related Request ID(s)
NA

What have you already attempted?
Unable to test this. Need some inputs to handle the success and errors accordingly.

What are you working on?
I am analysing the process for my project to build the backend structure.

#

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

Link to the Doc/Guide in question
Anyone has knowledge of stripe marketplace app?

Question
I'm developing stripe marketplace app. But app is rejected in app review and stripe suggested to use "call to action" drop-down along with "contact sales to install" option selected . please tell me how to achive call to action

What have you already attempted?
app review feedback

What are you working on?
lead generation form in stripe marketplace app

cursive heronBOT
#

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

Code
Hello Team,

We are in the middle of testing. Just want to ask for your help because the stripe library is not rendering suddenly on our end. May I ask if there is a known issue on your end right now?

Your guidance will be so much appreciated.

Question
Hello Team,

We are in the middle of testing. Just want to ask for your help because the stripe library is not rendering suddenly on our end. May I ask if there is a known issue on your end right now?

Your guidance will be so much appreciated.

What have you already attempted?
Hello Team,

We are in the middle of testing. Just want to ask for your help because the stripe library is not rendering suddenly on our end. May I ask if there is a known issue on your end right now?

Your guidance will be so much appreciated.

What are you working on?
Stripe elements

cursive heronBOT
#

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

What did you expect to happen?
When I increment the quantity of an item in an already started subscription, I don't expect to pay more than the price of that item.

What actually happened?
If I've applied a discount to the subscription, and the quantity increment is done early in the subscription cycle, I end up paying back the discount.

Reproduction Steps
- Start a subscription with a product applying a 10% discount via promo code.
- Now, if the product was 10 euro, you paid 8.
- Immediately update the subscription quantity of the product to 2 and invoice
- You're going to pay 12 euro instead of 10

Question
Is there a way to adjust proration so it does not consider the discount?

What are you working on?
Laravel with cashier

cursive heronBOT
#

@slate quarry pressed the 📚 Doc or 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/merchant-tokens?pay-element=ece&mpan=recurring

Question
I followed the documentation, but the subsequent payment that I scheduled for 10 minutes later (in the code) does not go through.

What have you already attempted?
I wrote the same code as in the documentation and created a 'create-intent' handler. The test payment goes through successfully.

What are you working on?
I am working on enabling users to purchase subscriptions using Apple Pay and Google Pay through fast payments.

#

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

What did you expect to happen?
We are using stripe checkout session for the payments for our connected accounts. We are using the dynamic payment methods like in the following article
https://docs.stripe.com/connect/dynamic-payment-methods
But our connected accounts cannot see the bancontact on checkout.
I have also tried this on test accounts, it doesn't work there as well.

What actually happened?
We (the platform account) and the connected accounts have enabled bancontact. And on preview link we can see the payment methods like bancontact but it doesn't show up for customers for our connected account with id acct_1PSyrwQTMkiBLWzF which is located in Belgium. It also doesn't work with our test account acct_1PqBGGQSQWqMMH1b as well

Reproduction Steps
After activating the bancontact payment method, users can't see the bancontact payment method on the checkout page.

Question
How do we resolve this issue? We couldn't find anything on the stripe docs regarding this issue

#

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

What did you expect to happen?
When using `Elements` & `PaymentElement` I expect the `useStripe` or `useElements` to return null in order to disable my "Submit" button.

What actually happened?
Using `Elements` & `PaymentElement` on slow networks are not being rendered but the hooks `useStripe` & `useElements` are not returning null even though the UI is still null or show the skeleton loader from stripe.
This results in "IntegrationError: We could not retrieve data from the specified Element."

Reproduction Steps
* Setup from https://docs.stripe.com/payments/quickstart?client=react&lang=node
* Open developer tools and on network tab select a slower network (i.e. Good 2G)

Question
How can I know if stripe UI has been fully rendered in order to disable the "Submit" button of my form?

#

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

Question
Hi, i'm having differences between Report Payouts export (for a month), and list payouts (/v1/payouts) for the same date interval. it's seems Report export is filtering with a different date property "effective_at" I don't found in payout object given by API. we only have created_at and arrival_date, which is not the real date but the estimation of arrival

Related Request ID(s)
req_ZvfTpxmLgDcsBR

What have you already attempted?
compare the results

What are you working on?
accounting

#

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

Question
I'm using the Stripe Connect embedded components. Styling basic elements is easy enough for Dark mode but the InlineProgressBar component at the top of the embedded component doesn't appear to be style-able!? In Dark mode it almost disappears on the dark background. Can anyone help?

Related Request ID(s)
1

What have you already attempted?
Tried different styling in the appearance object but to no avail!

What are you working on?
Embedded Connect account component in a SaaS application I'm helping to build.

cursive heronBOT
#

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

Question
My app has a subscription feature with a wallet system where users can top up their balance. We use Google Pay and Apple Pay via Stripe, creating and confirming payment intents. The issue is that when a user purchases a subscription, we check if their wallet has enough balance to cover it. If so, we proceed. To handle this, I set the subscription price to 0 since they've already topped up. However, if I don't set it to 0, Stripe charges them again.
Also, how can I ensure that the subscription doesn’t automatically renew? also handling webhook event but because the price is 0 it auto renew

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
subscription

#

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

Question
Please let me know the endpoint to create SEPA Mandate on Stripe. And I need the mandate id starting with "mandate_". how can I get this id when create the new SEPA Mandate

Related Request ID(s)
Developer

What have you already attempted?
I don't know exactly what is the endpoint for creating new SEPA mandate.

#

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

Question
I will create a monthly subscription, valid from August 1st, 2024 to September 10th, 2024. If I cancel this subscription on August 15, 2024, but regret it and want to restore it. Does the current subscription support this feature?

Related Request ID(s)
no

What have you already attempted?
read the doc

cursive heronBOT
#

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

Question
Problem with TWINT integration on Stripe.
I'm working for Odoo and we are developping ERP software. I'm in charge of Switzerland and a lot of my customer are using TWINT as method of payment. Apparently you are proposing TWINT as method of payment in Stripe. But it's not working. Do you have any idea why and if you are aware of this ?

Related Request ID(s)
Not user, but i have customer who are user of stripe

What have you already attempted?
Try tried to contact the support, but nobody came back to them with a solution

#

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

Question
i have one connected using express method but when i transfer the amount that time stripe palteform duduct the some charges.so please tell me this charge is why diduct ??

Related Request ID(s)
N/A

What have you already attempted?
na

What are you working on?
make connected account and their payment intent

cursive heronBOT
#

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

Question
We're setting the "description" field on a Transfer to be our internal OrderNumber, so our clients can tally this up. However this number isn't being shown on the Payment description, is it possible to carry over the description field from Transfer to Payment?

Related Request ID(s)
none

What have you already attempted?
Setting the description field on creating a Transfer

cursive heronBOT
#

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

Question
I'm onboarding connect account but its asking too much information. Is it possible to make the onboarding not collect any business information (like url or business type)

Related Request ID(s)
What is this?

What have you already attempted?
https://docs.stripe.com/connect/onboarding/quickstart?client=next#init-stripe

What are you working on?
Airbnb type of app

cursive heronBOT
#

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

Question
Hi i want to make brokers account connected to one main account, and be able to send invoices on behalf of main account. And is there any way to show user on invoice that's it is on behalf of that account? i need to show it to user

Related Request ID(s)
account's ID

What have you already attempted?
I have connected those accounts i even send from main account invoices on behalf of broker but there was no information about it

What are you working on?
On behalf of invoices

cursive heronBOT
#

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

Code
```
const { error } = await stripe?.paymentRequest({
elements,
clientSecret,
confirmParams: {
return_url: "https://example.com/order/123/complete",
},
});
```

Question
How can I associate this payment request with a specific customer ID ? I want to use elements to keep UI development simple and create all stripe user data (subscription and user) via API on the backend.

What have you already attempted?
I have read the 'Build a subscriptions integration' guide (https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements#collect-payment) as well as the stripe-react-js example guide on their homepage (https://www.npmjs.com/package/@stripe/react-stripe-js)
in order to implement a new flow using the Elements components as well as creating the user and subscription programmatically via API calls.

What are you working on?
I am attempting to implement the Elements UI flow for adding and charging a payment for our users.

#

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

Question
I'm working with Stripe in test mode and would like to enable email notifications (such as payment or subscription confirmation emails) for customers after they complete a subscription checkout session. However, I cannot find an option in the test mode settings to enable these email notifications. Are email notifications supported in test mode, and if so, how can I configure them?

Related Request ID(s)
req_G8fwt45Hk8fAIi

What have you already attempted?
I have checked the settings in the Stripe dashboard, but I was unable to find the option to enable email notifications for the test mode. I have also reviewed the documentation regarding checkout sessions and email receipts, but it's unclear if test mode supports email notifications.

What are you working on?
I am integrating Stripe subscriptions into my application and want customers to receive confirmation emails after completing a subscription checkout. I am currently testing everything in Stripe's test

#

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

Question
When an invoice is paid through a hosted url the card is marked default to customer. Whereas doing the payment through paymentIntenet does not. Why is this different?

Related Request ID(s)
-

What have you already attempted?
Paying a subscription. I have tried creating a stubscription and paying it on my frontend code through payment intent and the first card is not marked default. When paying it through hosted url it becomes default.

I am always refering to first payment method.

What are you working on?
Creating and paying subscriptions

#

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

Code
stripeConnectInstance = loadConnectAndInitialize({
publishableKey: PUBLIC_STRIPE_PUBLISHABLE_KEY,
fetchClientSecret,
appearance: {
overlays: 'dialog',
variables: {
colorPrimary: PUBLIC_BUTTON_PRIMARY_BG_COLOR,
buttonSecondaryColorBackground: PUBLIC_BUTTON_SECONDARY_BG_COLOR,
buttonSecondaryColorText: PUBLIC_BUTTON_SECONDARY_TEXT_COLOR,
},

			},
		}\);

		const container = document.getElementById\('embedded\-onboarding\-cont

Question
Industry select on onboarding is rendered outside modal.

What have you already attempted?
all

What are you working on?
integrate connect for marketplace

#

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

Question
The issue of subscription renewal timing

Related Request ID(s)
null

What have you already attempted?
For example, if a monthly subscription is initiated on August 1st (with the next payment due on September 1st), and the user cancels the subscription on August 15th (meaning the subscription is still valid until September 1st and the user continues to have access to the service), then the user resubscribes to the same product on August 16th. My question is: will the user be charged on August 16th? I want the subscription to remain valid until September 1st, with the charge only being made after that date. How can I achieve this?

#

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

Question
How the event data send to web hooks if I configured none test mode web hook - http://example.com/webhoook and also configure test mode web hook - http://example.com/webhook ?

Related Event ID(s)
None

What have you already attempted?
I had two environment - testing and production. So I wonder if I can use two different web hooks for testing and production.

What are you working on?
payment function for my website

cursive heronBOT
#

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

Question
I have disabled all the charges events to migrate the outdated APIs of charges API and Sources API to PaymentIntent API, but still the charges events are triggered

Related Event ID(s)
evt_3Q165bRrdTkOmFTj1Bhfhfo6

What have you already attempted?
I have disabled all the charges events to migrate the outdated APIs of charges API and Sources API to PaymentIntent API, but still the charges events are triggered

What are you working on?
Migration from Sources & charges API to PaymentIntent API for our 6Storage product

cursive heronBOT
#

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

Code
I'll send it in the chat

Question
I'm having issues with my website to create a payment depending on which product they choose to then signal this to the stripe API to then take the payment confirm it back and generate an order ID connected to the order that then will be displayed back at my site.

What have you already attempted?
I've searched the internet, Used chatgpt, used your guides, even tried a new tool Cursor.

What are you working on?
I'm working on a new startup but we are having increasing difficulities with the payment systems.

cursive heronBOT
cursive heronBOT
#

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

Code
Something went wrong
The specified Checkout Session could not be found. This error is usually caused by using the wrong API key or visiting an expired Checkout Session. Please make sure the Session is not expired and that the API keys used to initialize Stripe.js and create the Checkout Session are test mode keys from the same account.

Question
I implemented direct charge but still getting above error

What have you already attempted?
I have implemented code as stated by you earlier

#

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

What did you expect to happen?
on a payment method on a payment intent, name to be blank or something meaningful

What actually happened?
On or around Sept 11th, payment methods have started showing the word "auto" in the owner/name field. We're getting questions from our customers about what this is.

Reproduction Steps
compare pm_1PzvQTS5wYI1BloaskXOLRSs with pm_1PwteDS5wYI1BloaLnKyBODz

Question
Something appears to have change on Stripe's side? What does a name/owner of "auto" mean and where is this getting set?

#

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

Question
I'm implementing a per seat subscription in my app. I have added webhook to listen to events. I'm using :

  1. stripe.checkout.sessions.create - To create the initial subscription checkout
  2. stripe.billingPortal.sessions.create - To further update/cancel/manage the user subscriptions

I need to know the events that I should be listening to if I want to:

  1. If the user successfully subscribed to a subscription or not (payment failed etc)
  2. If the user updated the subscription (added more seats to their plan)
  3. If the user upgraded the plan (moved to another price itself)
  4. Cancellation

Related Event ID(s)
No event Ids as such

What have you already attempted?
I'm currently listening to:

customer.subscription.deleted
customer.subscription.updated
invoice.payment_failed
invoice.paid

I need to know if these are enough or do I need to add more such events to completely develop the subscription according to my use case.

What are you working on?
I'm building an SEO agency of AI expert agents as a service

#

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

Question
Hi, i have a issue with setupIntents for a user connect , i successfully retrieive code_secret for that user but when i call "confirmSepaDebitSetup" with code_secret i receiver error : No such setupintent: 'xxxx' ,
i create setupIntest as follow :

$setupIntent = $stripe->setupIntents->create([
'payment_method_types' => ['sepa_debit'],
],
[
'stripe_account' => $user->stripe_account_id
]);

Related Request ID(s)
SetupIntents Issue

What have you already attempted?
i think was a problem of stripe_account_id but i i force it with random char the api return error, also i check logs on your dashboard and che SetupIntent was corretly created for connect user

What are you working on?
I build a dashboard to help some user (defined as A ) to buy odontoiatric service from other user (Define B) so A buy service using stripe the when service is delivered i pay B from stripe

cursive heronBOT
#

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

Question
We want to implement integration testing of our Stripe API code by calling Stripe API endpoints in Test Mode. Is there a defined way to do this? Our issue is that it doesn't seem like we can delete data from Test Mode via the CLI or API, so we can't teardown our tests.

Related Request ID(s)
req_r0scOHuToXYwKE

What have you already attempted?
Have looked into stripe-mock, which doesn't seem to meet our needs of calling the real Stripe API. Looking into using sandboxes, but don't know if those can be controlled via CLI/API.

What are you working on?
Implementing testing for Stripe API integration

#

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

Question
Is there an API that can be used to calculate potential fees for moving money cross boarder using Stripe connect? It seems like there's a certain amount of guessing that happens right now in calculating fees on our end if a currency conversion is needed etc. Although as soon as a payment is sent Stripe knows exactly the fees it'll take. Therefore, I was wondering if there's an API that we can send the request params to of the transfer and be fed back the total fee amount?

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

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

Code
I work for a SaaS product whereby a user go throughs a checkout in order to pay for their base subscription.

After this subscription is created, we use the checkout.session.completed webhook to trigger the creation of a second subscription which contains all the usage prices for the customer. When we attempt to charge this usage it fails as missing payment method.

The exact issue it gets is: PaymentIntent status:
requires_payment_method

Question
How do I attach the payment method from the first subscription to the second subscription when it is created?

Is the customer required to opt into this, or can it be done automatically? We signal to them that is normal behavior and in most cases they will be invoiced for $0.

What have you already attempted?
I've looked over the subscription create docs but can't find anything in there about attaching an existing payment method.

What are you working on?
A SaaS product in which users pay for a base monthly/annual subscription and are then charged overages for usage on a monthly basis.

#

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

Question
I want the redirect URL that my payment link is pointing to, to carry through the first name and email and hit the signup button, so the customer doesn't have to, is this possible, through API?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
n/a

cursive heronBOT
#

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

Question
How to get the last four digits of a payment type if the user uses Link payment type

Related Request ID(s)
N/A

What have you already attempted?
Retrieving the payment intent object but the last 4 digits of the payment method is missing

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element

Question
hello! hope you're doing well!

expressCheckoutElement.on('confirm', async (event) => {
// how get selected payment method here?
})

What have you already attempted?
expressCheckoutElement.on('confirm', async (event) => {
// how get selected payment method here?
})

cursive heronBOT
#

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

Question
Should I create payment transaction without creating a customer? (asking for best practices) This is for one time payment only. Trying to simplify the flow.

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-customer
https://docs.stripe.com/api/refunds/create#create_refund-charge

What are you working on?
Creating one time payment charge

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

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

Question
We are creating a subscription checkout session using Stripe checkout and we have to include the shipping charge as a line item to make it work (as far as I can tell). We also need to apply a 5% discount to the remaining items in the order. Is there any way of preventing the 5% discount from applying to the shipping line item?

Related Request ID(s)
req_LjB4KQVMQ4fzIw

What have you already attempted?
The API appears to be refusing any attempts at applying discounts at a per item level for a subscription session.
If I apply a discount coupon to the entire order, it generates a discount that includes the shipping charges, which is not what we want. Thanks!

What are you working on?
Ecommerce website

#

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

Question
I want to trigger an invalid zip code or postal code according to this error list here
https://docs.stripe.com/error-codes#postal-code-invalid

https://docs.stripe.com/error-codes#incorrect-zip

I don't see a way to do it according to the documentation. Even putting nonsensical values it doesn't trigger. This is the api I'm calling
https://docs.stripe.com/api/payment_methods/create

Related Request ID(s)
N/A

What have you already attempted?
I've attempted putting nonsensical values with letters and even tried to send in null

What are you working on?
Integration with the payment methods api.

#

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

What did you expect to happen?
Sent another user a link to a Stripe checkout page, thinking this would bring them to the product page.

...While that may not have been a reasonable expectation, what I would *expect* to happen is them receiving an error page.

What actually happened?
Anyone with the link (on other devices/IPs, not logged in to my account) was able to view my email, the last 4 digits of my credit card, and execute a purchase for me/without my input.

Reproduction Steps
Copy/paste link from Stripe checkout and open on another computer

Question
Hello. This isn't really a question so not sure if this is the right place, but couldn't find anywhere else to submit - more so a bug report I think?

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element

Question
hello, as you see we use paymentMethodCreation: 'manual', but in this case amazon pay button not renders. Is it not supported if paymentMethodCreation: 'manual'?

What have you already attempted?
hello, as you see we use paymentMethodCreation: 'manual', but in this case amazon pay button not renders. Is it not supported if paymentMethodCreation: 'manual'?

cursive heronBOT
#

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

Question
Cannot export payments from stripe connect account

Related Request ID(s)
none

What have you already attempted?
click export --> getting message: We couldn’t find any data to export based on your selections. Please adjust your filters and try again.
--> I dont have any filters on the payments and can also see them in the dashboard...

What are you working on?
I want to export all payments of a connect account

#

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

Question
i want to create a subscription link that only has a 2 month billing cycle. this will be for any of my clients that need to do a split payment for my items since they are a bit more expensive and i want to offer a 2 month period only. how can i do this?

Related Request ID(s)
none

What have you already attempted?
i've honestly looked through almost everything inside of stripe and advanced options and i cant see any way to make a 2 month billing cycle only. i only see long term subscriptions or one-off payments

What are you working on?
a way to create split payments for my clients

cursive heronBOT
#

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

Question
Hi Stripe Team, I have a question about the billing portal update payment method/setup payment method if you don't have one.

Related Request ID(s)
<Stripe::BillingPortal::Session:0x555577549210 id=bps_1Q1BdTKWfSycpO9EUydyxSth> JSON: { "id": "bps_1Q1BdTKWfSycpO9EUydyxSth", "object": "billing_portal.session", "configuration": "bpc_1Q1BUkKWfS

What have you already attempted?
I want to create a billing portal or a different session where we could setup alipay payment for a customer.
We used stripe.createSource({
type: 'alipay',
usage: 'reusable',
currency: 'usd',
redirect: {
return_url: window.location.href
}
}) on the client side to do this. What is the equivalent to this?

What are you working on?
Updating Old Way of Attaching Alipay payment to customer.

cursive heronBOT
#

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

Question
I have an export of payments of a connect account with the respective payment id py_xxxx, what request do I need to run to get the payment intent or charge id in python?

Related Request ID(s)
na

What have you already attempted?
tried the same id but just with pi_ or ch_ but that doesnt work as apparently the ids differ

What are you working on?
I want to issue refunds based on selected payments, the export only gets me the ppayment id py_xxx

#

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

Question
I would like to know if its possible to change a currency of Subscription.

Related Request ID(s)
req_F2YBY2ZmW45hoV

What have you already attempted?
I tried to iterate through existing Subscriptions and add a new price to items, which contains the new, desired currency.

I'm getting
```
invalid_request_error - items[0][price]

The price specified supports currencies of usd which doesn't include the expected currency of czk.
```

What are you working on?
Platform for creators

#

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

Question
Hello, I want to add a pricing table to my React/Next.js page. I inserted the generated HTML/JS code from the pricing table into my website and everything works without any problems. But since I already collect the customer data before showing the pricing table, I wanted to ask if there is any way to e.g. specify a Stripe customer ID, which will just fill out the form by itself (except the payment method, or even that if it exists). Or maybe just a way to prefill the forms with the data I have (so not via Stripe customer ID).

Related Request ID(s)
req_qHkvoDGFK7Gngg

What have you already attempted?
I already tried to use the ?prefilled_email=testemail@test.de in the url, but it does not work.

What are you working on?
SaaS

cursive heronBOT
#

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

Question
I don't know if you can answer this, I just need a quick opinion. How much a dev should be payed for integrating stripe subscriptions for a NextJs project (create-checkout, webhooks, stripe portal). This in europe.

Doc/Guide Links
What would be a reasonable estimate for that? Something within a typical range.
Thanks a lot.

What are you working on?
NextJS Stripe Integration

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#web-collect-payment-details

Question
Perhaps I misread something, but this section of the docs appears to be false:

The checkout page address must start with https:// rather than http:// for your integration to work. You can test your integration without using HTTPS, but remember to enable it when you’re ready to accept live payments.

I was just charged for a payment I made from localhost (http, not https). I am using this flow: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment&lang=node&client=react

Will add screenshots to show more clearly.

What have you already attempted?
Making a request without https

What are you working on?
Making a payment using this flow: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment&lang=node&client=react

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/direct-charges-multiple-accounts

Question
Hi, how can I share customer and payment method with a connected account that already exist on the platform account?

What have you already attempted?
No such PaymentMethod: 'pm_1XXXXXXX'; OAuth key or Stripe-Account header was used but API request was provided with a platform-owned payment method ID. Please ensure that the provided payment method matches the specified account.

What are you working on?
I am trying to create direct charge on the connected account but can't figure out how to share the customer and payment method with each of the connected account.

#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
Hi, we've enabled Stripe Link in our Payment Elements setup. The flow is finalised via server.

For existing payment methods (CC), I'm able to create a customer and charge for a purchase and future purchases (off_session)

When enabling Link, I'm unable to charge for a subsequent purchase for a customer with a Link payment method attached.

Stripe is returning "Payment method payload missing for user XYZ. Ensure they have an attached card".
The customers attached payment method is there with Link.

I'm charging using the payment intents API. Charging via Dashboard works.

Related Request ID(s)
N/A

What have you already attempted?
Charging via Stripe Dashboard works

cursive heronBOT
#

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

Question
When I create a new connect link to update details it say Stripe partners with a different business name in my example it's saying Seasmiths but my stripe account is called Useful POS

Related Request ID(s)
req_9LmIzr8Kgf6D8K

What have you already attempted?
I've tried looking through the dashboard to see if I set this name?

What are you working on?
A point of sale system

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-redirect

Question
Hello!

I have a question regarding `next_action.redirect_to_url.url` of a Payment Intent. When payment intent transitions to `requires_action` state upon server side confirmation, does the `next_action.redirect_to_url.url` returned have an expiration? If so, does the countdown happen before user navigates to the link or after?

Or is the expiration controlled entirely by the bank?

What have you already attempted?
- Inspecting API response from create/confirm payment intent
- Looking through stripe docs

cursive heronBOT
#

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

Code
I am utilizing initPaymentSheet & presentPaymentSheet within the React Native SDK.
The error I am seeing is:

"An error occurred in PaymentSheet. Your PaymentIntent confirmationMethod (manual) can only be used with PaymentSheet.FlowController."

I don't see documentation regarding "FlowController" for React Native. My server generates a payment intent that requires manual confirmation. This is because the intent should remain in "Incomplete" until the service is approved.

Question
Is there any way I can use the PaymentSheet if the payment intent that is created requires manual confirmation? The desired flow here is:
1) Select reservation, present payment sheet
2) Send payment info (with card or apple/android pay)
3) Server generates payment intent with manual confirmation set
4) User providing reservation gets a notification that they have a service request, and approves it. When they approve it, we manually validate the payment intent on the server

What have you already attempted?
Currently, I have everything working except for when I pass the clientSecret back to intentCreationCallback. That is when the error is presented, and it is because the confirmation method is manual. I tried switching the confirmation method to automatic, and the payment processed perfectly as expected. However, I don't want it to be immediate.

What are you working on?
I am building a React Native application that allows users to reserve services from different service providers (also using the same application.

#

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

Code
'currency' =>
'amount' =>
'customer' =>
'payment_method' =>
'confirm' => true,
'payment_method_options' => [
'card' => [],
'link' => [],
]

Question
Hi, earlier today I posted this thread:
#dev-help message

I figured it out, I'm now trying to create a PI with Link disabled in dashboard.

This customer has a Link payment method. I've removed the automatic_payment_methods code
'automatic_payment_methods' => [
'enabled' => true,
'allow_redirects' => 'never',
],

What have you already attempted?
Tried creating a PI and received:
The API is erroring out with the message:
"The PaymentMethod provided (link) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "link"."

cursive heronBOT
#

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

Question
Is there any way to update the user subscription through the subscription schedule without instantly updating the membership plan instead of paying through an invoice? I mean the current subscription will still remain until a user is not paying for the new subscription.

Related Request ID(s)
https://docs.stripe.com/api/subscription_schedules/update

What have you already attempted?
I tried to set the collection method to send_invoice but it is still updating the subscription without even paying for a new subscription. I tried to handle the plan update through webhook using invoice.paid event. but it's updating the plan before paying for the new plan.

What are you working on?
I'm working on a subscription upgrade and downgrade with specific requirements. so for upgrade plan, user must have to pay through the stripe invoice then the subscription upgrade other keep the crnt

cursive heronBOT
#

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

Code
for my stripe Integration I am Using Stripe Elements to Show The Cradit Card Form and We Have Integrated it Sucessfully.

Now I Want to Save the Card during Checkout and i want to show Saved card for that customer in checkout.

for that I am Taking Below Document Reference
https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#save-payment-methods

Question
https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#save-payment-methods

As per the document

Creating the customer session and passing the customerSessionClientSecret in Elements component as Options Show the CheckBox to save the Card from Stripe End

Using above pproach i am able to see the checkbox provided by stripe and i am able to save the payment as well

What have you already attempted?
Please Help me how to show the saved card from stripe end without calling the paymentMethodList

#

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

Question
I tried to use failing bank account deatil {bsb:000000, account number: 111111113} and it triggered that provided webhook but its attempt_count is 0 and shows incomplete as status with tooltip saying the customer has not attempted to pay invoice

Related Event ID(s)
evt_1Q23oYIhAlYoUFFb0aRpHp2Z

What have you already attempted?
I tried to pay the invoice manually and some internet search for the case

#

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

What did you expect to happen?
Using Test India card ****0263 that "Simulates a cardholder canceling a mandate of any amount." cause off-session payment to be declined

What actually happened?
Payment successed

Reproduction Steps
Create payment intent with the said card with immediate confirmation.

Question
Did I misunderstood how this scenario supposed to play out. I was using this card to simulate off-session payment with India card where the user cancel the mandate.

What are you working on?
Off session payment with card on file.

#

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

Code
as-is:
prices = stripe.Price.list(
lookup_keys=[lookup_key],
expand=['data.product']
)

to-be:
payloads = {
"lookup_keys": [lookup_key],
"expand[]": "data.product"
}
prices = await async_request_get(STRIPE_URL + '/prices', headers=STRIPE_HEADERS, data=json.dumps(payloads))

Question
I'm trying to replace As-is > to-be, but expand doesn't seem to work properly when called. Can you please check if there is an error in the code?

What have you already attempted?
https://docs.stripe.com/api/expanding_objects?lang=curl

cursive heronBOT
#

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

Question
What is the usual time difference between a completed session and a succeeded charge?
Also, if the payment fails but the checkout session has been completed, when does this usually occur (when is the event sent) and which event is sent - if this is even possible?

Related Event ID(s)
`checkout.session.completed` `charge.succeeded`

What have you already attempted?
-

What are you working on?
A webhook integration for my Discord bot that receives the stripe events and keeps my DB up-to-date about subscriptions

#

@lavish lava pressed the 📚 Doc or 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/migrate-subscriptions

Question
We are planning to move our account data to a new account in another country. Do you have any new tools or documentation that could assist with this process? 🙏

What have you already attempted?
for migrate subscriptions:
https://docs.stripe.com/billing/subscriptions/migrate-subscriptions
for customers data
https://docs.stripe.com/get-started/data-migrations/pan-copy-self-serve

What are you working on?
Migrate data to new account in another country

cursive heronBOT
#

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

Question
I have monthly recurring subscription.
I used customer portal link for manage subscription. I expect that the customer can not create subscription in portal link when customer has active subscription.
how can manage this?

Doc/Guide Links
I have monthly recurring subscription.
I used customer portal link for manage subscription. I expect that the customer can not create subscription in portal link when customer has active subscription.
how can manage this?

What are you working on?
startup

#

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

Code
const expressPaymentElement = this.elements.create('expressCheckout')
expressPaymentElement.mount("#express-payment-element");
expressPaymentElement.on('confirm', () => this.processExpressPayment());

Question
Is there a way to check if any express checkout element payment method is available for a customer?

What have you already attempted?
I've read the docs, but is seems there is not related information for this.

#

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

Question
Question on setupintent.

I was creating setupintent, when the invoice is paid by the customer.
I want the payment method to be attached to the customer as well, and whenever i want to create checkout sessions for the customer, i want that attached card to be present without needing the customer to again fill the card details.

Related Request ID(s)
req_gAS6iMktFwg5fL

What have you already attempted?
stripe.SetupIntent.create(
customer=subscription_obj.customer,
payment_method=payment_intent.payment_method,
usage="off_session",
confirm=True,
automatic_payment_methods={
"enabled": True,
"allow_redirects": "never"
}
)

    stripe.PaymentMethod.attach\(
        payment\_method=payment\_intent.payment\_method,
        customer=subscription\_obj.customer,
    \)

What are you working on?
integrating backend with stripe

#

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

Question
Got error when updating the webhook url in the stripe console

Related Event ID(s)
evt_3PayTJEtzJLzN4Bf1eCZHQ6h

What have you already attempted?
Got error when updating the webhook url in the stripe console

What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product

#

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

Question
When creating scheduled subscription, I have passed application_fee_amount and transfer_data destination details. When the recurring invoice created for the subscription on its renewal then it have not charged for application_fee_amount and transfer details.

Related Request ID(s)
123

What have you already attempted?
When creating scheduled subscription, I have passed application_fee_amount and transfer_data destination details. When the recurring invoice created for the subscription on its renewal then it have not charged for application_fee_amount and transfer details.

What are you working on?
Renewal of subscription invoice

#

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

What did you expect to happen?
payment not to be canceled

What actually happened?
payment be canceled

Reproduction Steps
- update subscription card to 3ds card
- advance time to next paid period
- use 3ds card to pay that invoice and failed several times
- invoice state is retrying but payment inside is canceled

Question
Want to confirm when will payment be canceled. Seems use 3ds and failed several times will cause payment become failed. But didn't find related docs about this. Want to know if this expected behavior
invoice id: in_1Q26LTHvACJF9tb8P7NOhELn

cursive heronBOT
#

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

Question
Hi, I need some advice regarding how we should charge our customers. So we are building a Sass application that right now uses SCT. We provide payment intent and the customer provides the card information and then if everything all right, we create separate transfers to the connected accounts. But now, we are thinking of some sort of white labelling, for that we are thinking of creating direct charge on the connected account. But to do that we need to share the platform customer and payment method with the connected account. So, how should we do this? Previously the customer only gave their card info once but now I think they need to do it twice for setup & payment intent?

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges-multiple-accounts#save-on-platform

What are you working on?
I am trying to setup payment method of the customer and clone that to a connected account and charge the customer in a single attempt..

cursive heronBOT
#

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

Question
Question on Subscriptions
HI everyone, I have a subscription with two products: one tiered and one with a fixed price billed monthly, with the billing anchor set to the 1st of the month.

Regardless of when the subscription starts e.g. on September 22nd, the tiered product is billed correctly (Sep 22–30), but the fixed price product states on the invoice that it charges for October 1–31. How can I align both products to charge from Sep 22–30 on Oct 1 and then for Oct 1–31 on Nov 1?

Proration isn't used since I apply a discount next month.

Thank you in advance!

Related Request ID(s)
none

What have you already attempted?
Tried to create this subscription configuration in the Dashboard and API, with multiple configurations:

  1. Start the subscription immediately
  2. Start a scheduled subscription that charges on the first of each month for the previous month

The simulations always resulted it this product date miss-alignment regardless if the subscription started immediately or it was scheduled (e.g. on the Oct 1).

Dates always miss-align on these products

What are you working on?
Integrating Stripe subscriptions on existing system that charges users for usages on the first of the month, for the previous month

#

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

Question
Need the request header for req_8JpdrkmYfCBB3d

Related Request ID(s)
req_8JpdrkmYfCBB3d

What have you already attempted?
Reviewed developer logs

What are you working on?
Creating a payment intent

#

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

What did you expect to happen?
I expected to receive emails at:
- subscription
- invoice generated at the end of billing cycle
- failed or successful payments

What actually happened?
My test customer does not receive any email

Reproduction Steps
I implemented a checkout page and created subscriptions. Using Advance time in the Dashboard, I was able to generate invoices and recurring payments.

Question
How to test invoice and payment receipt or failure emails in Stripe test mode ?

What are you working on?
Pricing page, checkout, subscription, invoice, recurring payment and mailing pipeline

#

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

Question
Hi, i have created a customer portal configuration but do not know where i can save that in my stripe account. When i go to billing > cusotmer portal i can't see configuration or add configuration

Related Request ID(s)
none

What have you already attempted?
Google, Stripe docs

#

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

Question
We need help for setting up recurring paiement on Prestashop solution

Related Request ID(s)
Prestashop

What have you already attempted?
Install it, setting up subscribed products for a week
Waiting for a week to pass,
The amount is payed but the prestashop solution doesn't know the bill is pay, and don't edit a second bill

#

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

Link to the Doc/Guide in question
https://stripe.com/in/resources/more/prorated-billing-101-what-it-is-how-it-works-and-how-to-use-it

Question
I want to show the prorated amount in cart before customer purchased the subscription. I cannot use upcoming invoice api, since while in cart i haven't created a subscription yet.

What have you already attempted?
Based on above doc formula while calculating the proration for particular period, it resulted in a diff of what stripe was showing me on test dashboard and the value calculated from the formula above.

cursive heronBOT
#

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

Question
Hello, I'm trying to use Strip API to make payments from pro to customer. How can I do that ? I can do payments from customer to pro but I don't know how to do it the other way around.

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

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

Code
<form id="payment-form" onSubmit={handleSubmit}>
{/* <PaymentElement id="payment-element" /> */}
{/* <PaymentElement /> */}
<CardElement />
<button className="pay-btn" disabled={isProcessing || !stripe || !elements} id="submit">
<span id="button-text">
{isProcessing ? "Processing ... " : "Pay now"}
</span>
</button>
{/* Show any error or success messages */}
{message && <div id="pa

Question
I have 2 questions. For the first one, for some reason when we make the payment (using a test card), it gets stuck on processing indefinitely, but in the backend the payment gets processed just fine, why could this be? My second question is that after switching to a subscription model, I have been unable to use the PaymentElement which had more features and I can only use the CardElement for it to load. How can I customise the payment then?

What have you already attempted?
I have tried to make it work with the PaymentElement and but it never loaded. For the loading issue I have no clue where to start trying to fix it...

What are you working on?
A SaaS that processes monthly payments.

#

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

Question
How we can use Stripe with an Apple Pay token decrypted?

Related Request ID(s)
-

What have you already attempted?
We checked the documentation and only see the option to use Apple Pay through Stripe, where Stripe decrypt the token.
We have an integration done with Apple Pay and Google Pay where we have the token decrypted, we manage everything to decrypt the information. Normally, with other processors we send the DPAN and cryptogram indicating if is Apple Pay or Google Pay but with Stripe we don`t see any option to send this information.

#

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

What did you expect to happen?
I should be able to enter card on payment sheet on android number starting with
63xx xxxx xxxx xxxx

What actually happened?
When I try to enter my card information through stripe payment sheets using setup intent secret. The card number gets doesn't accept new characters after characters 63

Reproduction Steps
1- Use real android device
2- Open stripe payment sheet using a setup intent secret
3- try to enter a card number value starting with 63
4- UI validation says card is invalid and won't allow further characters

Question
I want to understand why this is happening?
Is this an expected behaviour?
The card exists in real life and couldn't be added.
Is this kind of a configuration that is being read by setup intent. If so, where can i find this configuration through stripe panel?

What are you working on?
A mobile application using flutter_stripe which is using stripe-react-native code for Android native implementation.

#

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

Question
QR Code Payment ใช้ร่วมกับ Splynx ได้ไหมครับ?
ถ้าสามารถทำได้ ฝั่งผมต้องตรวจข้อมูลอะไรบ้างครับ

Related Request ID(s)
QR Code Payment

What have you already attempted?
ผมชื่อกิ่ง จากเคเบิลคอนเนค นะครับ
สอบถามเกี่ยวกับ Stripe สามารถทำ QR Code Payment ใช้ร่วมกับ Splynx ได้ไหมครับ?
ถ้าสามารถทำได้ ฝั่งผมต้องตรวจข้อมูลอะไรบ้างครับ

What are you working on?
CableConnect Co., Ltd.

#

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

Question
I would like to establish a one-year subscription commitment with monthly billing.

Doc/Guide Links
I don't have any, i read some articles.

What are you working on?
same as the question

#

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

Question
I have a stripe app built in one account, this account registers a "connect" Webhook to capture events from accounts with the app installed. I have a second account with the app installed but I'm not seeing webhook events hit the connect endpoint.

Related Event ID(s)
evt_1Q29QQC1cjgvLQaLnIHToFr9

What have you already attempted?
I've tried firing the event from the account with the app installed via the workbench shell.

What are you working on?
We need to capture invoice.payment_succeeded events from accounts with our app installed, so we can calculate commission payouts

cursive heronBOT
#

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

Question
trying to connect stripe and netfliy however the site seems not connected yet

Related Request ID(s)
342da2fe-c55b-409e-a278-fb418d6ac02b

What have you already attempted?
put the emviorment value

#

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

Question
Is it possible to prorate when a user upgrades a subscription, but update the subscription at period end when downgrading a subscription?

My current code looks like this:
response = stripe.Subscription.modify(
subscription_obj.subscription,
items=items,
proration_behavior='always_invoice',
payment_behavior='allow_incomplete',
expand=['items.data.price.product', 'latest_invoice.payment_intent']
)

This prorates on downgrade and upgrade. A customer can have 3 subscription products.

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

What are you working on?
Trying to improve the bottom line by limiting downgrade/upgrades during subscription period.

#

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

What did you expect to happen?
I should be able to enter card on payment sheet on android number starting with
63xx xxxx xxxx xxxx

What actually happened?
When I try to enter my card information through stripe payment sheets using setup intent secret. The card number gets doesn't accept new characters after characters 63

Reproduction Steps
1- Use real android device
2- Open stripe payment sheet using a setup intent secret
3- try to enter a card number value starting with 63
4- UI validation says card is invalid and won't allow further characters

Question
I want to understand why this is happening?
Is this an expected behaviour?
The card exists in real life and couldn't be added.
Is this kind of a configuration that is being read by setup intent. If so, where can i find this configuration through stripe panel?

What are you working on?
A mobile application using flutter_stripe which is using stripe-react-native code for Android native implementation.

#

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

Question
My company already has a Stripe account that is live and working. We now want to use that account to do an API integration with another part of the business. How can we set up a development API environment with this account already being live?

Related Request ID(s)
Not sure how to test API in live account

What have you already attempted?
We haven't' started yet

What are you working on?
It would be PHP

cursive heronBOT
#

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

What did you expect to happen?
account status should be complete.

What actually happened?
currently account status is `restricted` when I onboard a standard connect account.

Reproduction Steps
simple create an account with type= standard
and create an onboarding link and fill all requirements with test data.

Question
How to successfully on-board a connect account?

What are you working on?
i m working on a web app which requires a connect account to payout

#

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

Question
What will be the message shown to users on live mode if a checkout session expires? Following is the message I see on test mode:
Test
Something went wrong
The specified Checkout Session could not be found. This error is usually caused by using the wrong API key or visiting an expired Checkout Session. Please make sure the Session is not expired and that the API keys used to initialize Stripe.js and create the Checkout Session are test mode keys from the same account.

Related Request ID(s)
req_4x6GuMAyf4lpVS

What have you already attempted?
Attempted session expiry through test mode

#

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

What did you expect to happen?
Hello, I made a mistake and instead of blocking only US in the Radar rules, I blocked all payments other than US and all my payments were blocked and that's why Stripe is asking for information from me. I noticed this problem now and fixed it. I apologize to you for this problem and from now on, I will make such a mistake and block my account. I won't risk it.

What actually happened?
Hello, I made a mistake and instead of blocking only US in the Radar rules, I blocked all payments other than US and all my payments were blocked and that's why Stripe is asking for information from me. I noticed this problem now and fixed it. I apologize to you for this problem and from now on, I will make such a mistake and block my account. I won't risk it.

Reproduction Steps
Hello, I made a mistake and instead of blocking only US in the Radar rules, I blocked all payments other than US and all my payments were blocked and that's why Stripe is asking for information from me. I noticed this problem now and fixed it. I apologize to you for this problem and from now on, I will make such a mistake and block my account. I won't risk it. I woul

Question
Hello, I made a mistake and instead of blocking only US in the Radar rules, I blocked all payments other than US and all my payments were blocked and that's why Stripe is asking for information from me. I noticed this problem now and fixed it. I apologize to you for this problem and from now on, I will make such a mistake and block my account. I won't risk it. I woul

#

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

Code
$account_token = $stripe->tokens->create([
'account' => [
'individual' => [....]
'tos_shown_and_accepted' => true,
],
]);

$account = $stripe->accounts->create([
'type' => "express",
'capabilities' => [
'transfers' => ['requested' => true],
],
'country' => "FR",
'account_token' => $account_token->id,

Question
Hi, I'm trying to implement the sign in part of stripe connect using the code i provided but I have a try/catch that return me this error : You can only provide `individual` parameters for accounts with `business_type` of 'individual' and the account is not created. I can't find what is triggering this error since all the data I use in the token seems to be related to an "individual" business type. Am I doing something wrong with the way I use the token ?

What have you already attempted?
I've tried to comment each line of the data individually and the error is still getting triggered. I've tried to put the bare minimum in terms of data and its not working. When I try to create an account without using the token (but i have to since it's a french plateform) it works.

What are you working on?
I'm working on a platform that allows yard sale organizers to create ads and allow users to reserve a place in the yard sale by paying.

#

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

Question
I've a laravel project where i create new Connect account, then i add for that account a payement method via setupIntent successfully, but when i try to retreive PayementMethods with Account::allExternalAccounts the returned array value is empty..

this is the code when i retreive :

StripeGateway::setApiKey(config('app.stipe_secret_key'));

        try {
            // Recupera l'account connesso
            $externalAccounts = Account\:\:allExternalAccounts\($user\-\>stripe\_account\_id, \[
                'limit' =\> 100
            \]\);

            return response\(\)\-\>json

Related Request ID(s)
SetupIntent connect account

What have you already attempted?
Nothing.

What are you working on?
A Dashboard for dentalservice where dentist buy service like projects or resource and pay for it.. then part of revenue will payed via stripe connect to resources.

#

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

Question
is there a way to add the pro ration to a customer portal session without using the bcp_configuration?

Related Request ID(s)
none

What have you already attempted?
Tried adding the bcp_configuration i created but Zapier doesnt accept that for some reason, thats why i need a workaround

cursive heronBOT
#

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

Question
How Do I go about verifiy domain Ownership to activate apple pay as a payment option on shopify checkout+

Related Request ID(s)
domain id: pmd_1Q2B9kFOeYKCsyHs0TaMEe8g

What have you already attempted?
I cant add the "verification file" to the store / Im not sure how to.

What are you working on?
Adding Apple Pay as a payment method via Stripe

cursive heronBOT
#

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

Question
I have problem with my invoices. I use Checkout session for payments in Stripe and I would like to show tax id (vat code) of my company in invoices - I added this information to Invoicing settings as Invoice tax information in setting of my account but I don't see this in invoice (only name of company. country and adress). I use default invoice

Related Request ID(s)
tax id

What have you already attempted?
I added this information to Invoicing settings as Invoice tax information in setting of my account but I don't see this in invoice (only name of company. country and adress).

What are you working on?
Invoices

#

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

Code
going to attach the text file with code on it

Question
using stripe in my sign up so user has to sign up for a subscription to sign up for the site itself tested the payment part and it wont charge the card there

What have you already attempted?
tried refactoring looked at the stripe extension itself and read the stripe doc

What are you working on?
website that has a suscripton of 5.99

#

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

Question
When handling `charge.refunded` events, the included object is a `Charge` instead of a `Refund`. Since a charge can include multiple partial refunds, and refunds won't necessarily complete in the order they're created, how can I determine which refund actually triggered the event?

For reference, our platform mainly sells digital goods and we track our own internal `RefundRequest` entities. When a Stripe `Refund` succeeds, we need to update our associated `RefundRequest`, and remove the associated digital item(s) from the user's inventory.

How can I determine which `RefundRequest` to update?

Related Event ID(s)
n/a

What have you already attempted?
I've started building the webhook handler and have consulted the following Stripe docs:

https://docs.stripe.com/api/events/types

https://docs.stripe.com/api/charges/object

https://docs.stripe.com/refunds?dashboard-or-api=api

What are you working on?
A Stripe Connect platform on which merchants can sell digital goods such as games

#

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

Question
Good morning!

I'm watching this video https://www.youtube.com/watch?v=7z8mncrjq24

To split a subscription with schedules, I have already created the checkout and the subscription, but when I implement the schedule in the webhook I receive this error:
StripeInvalidRequestError: You cannot migrate a subscription that is already attached to a schedule: `sub_sched_1Q2C0JRx522Tv10mrReIO6Nx`.

can you help me?

Related Event ID(s)
1

What have you already attempted?
I already looked in the documentation and followed the video but I always get this error

What are you working on?
subscription-schedule

#

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

What did you expect to happen?
Stripe React Native is saving duplicate payment methods when Apple Pay is used., when it should not be.

What actually happened?
I am using the paymentSheet from the React Native Stripe SDK. Any time a payment is made with apple pay, a new card is saved for that user after the transaction.

Reproduction Steps
Follow documentation to set up paymentSheet in React Native. Attempt to make a payment with Apple Pay. Notice that a new card is saved each time apple pay is used.

Question
This seems to be a bug or I am doing something wrong. There are references to the same issue in GitHub that are unresolved: https://github.com/stripe/stripe-react-native/issues/693

What are you working on?
React Native application for reserving client services

cursive heronBOT
#

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

Question
Greetings when managing subscriptions what are the webhooks for ONLY when a subscription is created ONLY when a subscription is billed and ONLY when a subscription is deleted

Related Event ID(s)
Invoice created evt_1Q2CvGP35cTGtYcycHudDJae customer subscription created evt_1Q2CvGP35cTGtYcyR8EyA4bg

What have you already attempted?
I subscribed to the customer.subscription.created and invoice.created but when a subscription is created both endpoints get triggered

What are you working on?
im working on an app where users must have a subscription to use the app

#

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

Code
data_object_status in events data

Question
Where is there documentation to find out what different status' mean. Ex: open, void, expired, etc.

What have you already attempted?
Looked all over to find specific documentation

What are you working on?
Understanding Churn

#

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

Question
I asked earlier about the test mode and live mode and was adviced that they both live in parallel. But I have just got access to our live account dasthboard and I can see the toggle for "test mode". If I enable that, does it means the live account is switched to test mode? Also, were do I generate the API keys for the testing?

Related Request ID(s)
Developers -> API Keys

What have you already attempted?
Nothing

What are you working on?
Building a service in PHP that will use the API

#

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

Question
Do you know when Stripe Terminal SDK Tap to Pay is going to be ready for iOS devices on Germany?

Related Request ID(s)
Dashboard -> Terminal

What have you already attempted?
I've tried to build an Tap to Pay app on iOS with a terminal ID pointing to Germany

What are you working on?
Working on Givestar, the app which provides payment systems for charities.

#

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

What did you expect to happen?
The icon slider for different payment methods on the CardNumber input field in the React Stripe.js module (v2.8.0) should work correctly on mobile, displaying all icons and sliding without needing to change the screen width.

What actually happened?
When the page is loaded on a mobile device, only the VISA logo appears on the CardNumber input. If I reduce the screen width from desktop to mobile, only one logo is shown, but the icons slide like a slider. If the page is reloaded on mobile, the icons remain fixed, and only the VISA logo is visible. I have to increase the screen width to unlock the slider.

Reproduction Steps
Go to https://docs.stripe.com/elements/appearance-api
Test on a mobile device: only the VISA logo appears on the input.
On desktop, reduce the screen width to mobile size: the icons slide, but only one logo is visible at a time.
Reload the page on mobile: the slider no longer works, and only one logo is visible.
Increasing the screen width reactivates the slider

Question
Why does the payment method icon slider not work correctly on mobile, remaining stuck with only one logo visible, and how can I fix this behavior without changing the screen width?

#

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

Question
Does stripe api have field level permissions? For instance, my app is currently using the permission "customer_read", which gives me access to all customer fields. However, there are some personal fields I don't want access to.

Related Request ID(s)
permissions

What have you already attempted?
Looked into docs.

cursive heronBOT
#

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

Code
try:
schedule = stripe.SubscriptionSchedule.retrieve(stripe_subscription['schedule'])
except stripe.error.InvalidRequestError:
# If no schedule exists, create one from the current subscription
schedule = stripe.SubscriptionSchedule.create(
from_subscription=subscription_id
)

    updated\_schedule = stripe.SubscriptionSchedule.modify\(
        schedule.id,
        phases=phases
    \)

Question
I can't update a subscription schedule if a subscription schedule already exists.

Error:
stripe.error.InvalidRequestError: Request req_3IrbhFuIYyfxXO: You can not update a phase that has already ended. Trying to update phase 0.

How can I change an existing schedule?

What have you already attempted?
Looking at examples in the documentation:
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases

What are you working on?
Downgrade subscription at period end

#

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

Question

  1. How to get the last4 property which is missing in payment_intent object
  2. why charge.succeeded event is also triggered even if I'm using the payment intent API calls

Related Request ID(s)
evt_3Q24r8RrdTkOmFTj16KsBM7q

What have you already attempted?

  1. How to get the last4 property which is missing in payment_intent object
  2. why charge.succeed event is also triggerred even if Im using the payment intent API calls

What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product

#

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

Question
Hello, I'm trying to create connected account as CUSTOM and type INDIVIDUAL for a typical customer (who is not a professional) from API, but from onboarding account to finish registration I'm always required to provide a sector of activity and a web URL. There a way to skip this required fields to register my customer ?

Related Request ID(s)
req_99XkETQX2l7Ugw (create account token) then req_MOmtqlYmZyWm0T (create account) then req_M4PGCw276MP9ER (create account link)

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
running into a bug that is "Error: billing_cycle_anchor cannot be later than next natural billing date (xxxxxxxxx) for plan". why when I create a new subscription (after updating the current one and removing a product), does the new `billing_cycle_anchor` being set error sometimes even if I am passing current_period_end as the max date to reschedule to.

Related Request ID(s)
req_aLG9HPy1yWLpsG, req_5ItADpPkPwyYfj

What have you already attempted?
setting the reschedule date to be max allowed of the `current_period_end` of the subscription they are moving the product away from. this works but then when customers want to remove another product, the date can fall out. Haven't really tried anything for the pause scenario BUT it is odd since pausing basically sets the new subscription billing_cycle_anchor to the same one as the subscription currently moving product away from.

What are you working on?
I am trying to allow our customers to split out products from their subscription which creates a new subscription (this can either reschedule in the future [90 days max past current sub next recurrenc

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/billing/subscriptions/trials#:~:text=When creating a subscription with a trial period%2C no payment method is required for the customer

Question
It says that customers can start a trial without putting in a CC number. However, I am not able to do that on test mode.

What have you already attempted?
I have tried to use a checkout session link which sets up a trial. Its not letting me proceed without a CC.

What are you working on?
I want to enforce the CC number requirement, which seems to be the case. But I am confused with the Stripe documentation as it says that CC is not required for a trial.

#

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

Question
Hi, I’m working with Stripe Connect and using "Custom" connected accounts. I’ve successfully created customers, products, prices, and subscriptions in the connected accounts. Now, I’m trying to capture a customer’s card through a custom HTML form on my frontend and create a Setup Intent to manage my customers' future subscriptions.

The Setup Intent is being successfully generated in the connected test account

Related Request ID(s)
SetupIntent Created req_IaFf0Am0OCswfq , Not Found req_hi9AkdkK3Nrmo0

What have you already attempted?
I’ve followed the documentation for Setup Intents in connected accounts, and I’ve confirmed that I’m passing the correct client_secret to the confirmCardSetup method. I’ve also reviewed the documentation for the resource_missing error, but it doesn’t seem to be an authentication or permission issue since the Setup Intent is being created successfully.

What are you working on?
Platform like a services marketplace

#

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

Question
We use usage-based products to charge our customers, due to that we cannot see MRR reports corretly. How can we adjust reports to get all MRR coming from usage-based products?

Related Request ID(s)
Billing > Overview

What have you already attempted?
I tried to change the sigma code using assistant but it doesnt work well.

What are you working on?
MRR reports usage-based products

cursive heronBOT
#

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

Question
Under checkout sessions for connected account, Paypal doesn't appear neither apple pay.
Apple pay comes up when creating a stripe invoice, but not a checkout session.

Related Request ID(s)
req_CvmJ42RQvy5nG6

What have you already attempted?
I need to know if I should enable a specific flag.

cursive heronBOT
#

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

Question
I'm integrating payment elements in my application. I'm getting the following error while testing payments with clearpay, 'Missing required param: shipping[address][line1].'

Related Request ID(s)
req_aRHpZ1vojkrc0Z

What have you already attempted?
I've added address element along with payment element to fetch shipping address. I've also given the parameter 'shipping_address_collection' as follows: shipping_address_collection : {
// Specify which shipping countries Checkout should provide as options for shipping locations
allowed_countries : ['AU', 'GB', 'NZ', 'US', 'CA'],
}

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/overview#unpaid-subscriptions

Question
I would like to clarify the behavior of subscriptions after an unpaid invoice is paid after a few days after the creation/first attempt of the invoice.

What have you already attempted?
I've searched a few pages related to billing cycles and subscriptions. Seems to me like the only update done on Stripe side is setting the subscription back to active (from 'past_due').

What are you working on?
I'm checking default behavior on Stripe to adapt our logic accordingly.

#

@scenic cradle pressed the ❌ An Error 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_cuuut"
publishable-key="pk_live_cuuut">
</stripe-pricing-table>

Question
I get lots of these errors in console.log in Vivaldi and FF: 8433-3961a1106f7ce6b…57f70f18f172b4.js:1
POST https://errors.stripe.com/api/1029/store/?sentry_key=54b3179…&sentry_version=7 net::ERR_BLOCKED_BY_CLIENT

8433-3961a1106f7ce6b…57f70f18f172b4.js:1
POST https://r.stripe.com/b net::ERR_BLOCKED_BY_CLIENT
pricing-table-app-33…c1451117d4dbec.js:1 Uncaught FetchError: Error fetching

https://r.stripe.com/b: Failed to fetch
at pricing-table-app-33…7d4dbec.js:1:260523

What have you already attempted?
I tried rewriting creation of this script using JS to be able to wrap it in try-catch, but it didn't help, since the error happens not on load, but during execution. At the same time I believe that these errors break some of my custom JS scripts.

What are you working on?
just a simple page with pricing plans displayed through Stripe API

cursive heronBOT
#

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

Question
I think I may have discovered a bug in the stripe API, specifically the webhook payload for the "checkout session completed" event.

On the e-commerce platform I am building, we have some cases where we are storing customer data from this webhook payload. I noticed that these orders are always missing the shipping address, and I figured out why today.

The data object in the payload is specified as a "checkout.session", but the shipping address is contained in a property called "shipping" instead of "shipping_details" as the API specifies: https://docs.stripe.com/api/checkout/sessions/object

Related Request ID(s)
evt_1Q2DhBJSiRuU36mzfBByFqvF

What have you already attempted?
I double checked the typescript types and API docs to make sure I wasn't mistaken. I coded a workaround to check for both "shipping_details" and "shipping" and default to whatever contains data.

What are you working on?
A payment platform for people to easily ship themselves items which get confiscated by airport security (flippit.com)

#

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

What did you expect to happen?
I expected the first and last name to reflect in Active Campaign

What actually happened?
Credit card holder name is what's reflecting.

Reproduction Steps
I've created a custom field of first and last name. I had it mapped in Active Campaign

Question
How can I have the custom field I created in Stripe to reflect correctly in Active Campaign and not the credit card name?

What are you working on?
Mapping fields.

#

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

Question
I am trying to disable the Google Pay option on my Stripe Elements form. I've defined "card" and "us_bank_account" as the payment_method_types when creating a SetupIntent; however, I still see the Google Pay option on the Stripe Element form. Is there a way to disable it programmatically or does it have to be disabled via the Dashboard?

Related Request ID(s)
req_XgN2HwHrDR38GO

What have you already attempted?
I have tried to disable automatic_payment_methods, but logs are telling me I cannot have both automatic_payment_methods and payment_method_types included as params

What are you working on?
I am working on enabling just card and ACH payment method types on the Stripe Elements form

#

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

What did you expect to happen?
I expected to be able to go through the Stripe Identity flow in a Capacitor native app.

What actually happened?
The flow worked fine until I got to the selfie portion where I got StripeIdentity.VerificationSheetFlowControllerError error 3. If I bail out of the Stripe Identity flow and go through it a second time I am able to complete it without issue. At this point camera permissions have already been granted.

Reproduction Steps
Using the online instructions for the capacitor plugin and having my backend send me the 3 key values needed to instanciate the Identity dialog, use your test key and select the "preview user experience" continue button. Proceed through the flow. You should get the error on the selfie stage.

Question
Basically what causes error 3? have I set something up wrong? Why does it work fine the second time?

What are you working on?
I'm migrating our current app from the web SDK to the capacitor one for a better native experience.

cursive heronBOT
#

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

What did you expect to happen?
I'm using a payment link in test mode with prefilled_email and a client_reference_id. When I click the submit button, I'm expecting it to go somewhere.

What actually happened?
Nothing happens on the page. I see a network event that has this as part of the payload: payment_pages.submit_payment.validation_error

But no actual errors

Reproduction Steps
Click payment link button that opens the test mode checkout page

Question
How do I fix this problem? How can I even tell what's going on?

What are you working on?
A website where I would like users to be able to subscribe to the content

cursive heronBOT
#

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

Question
- I'm currently part of the Custom Checkout Beta program, yet this isn't a beta-related question.
- I've been told by my internal contact at Stripe that CardNumberElement, CardExpiryElement and CardCvcElement are part of the Legacy Card Element.
What would be the way to have custom-looking inputs like we were able to do using the legacy elements components (for example like I did with wrapping a CardNumberElement component in a MUI TextField)

Doc/Guide Links
https://docs.stripe.com/stripe-js/react#available-element-components

What are you working on?
Seamless integration with Elements in my Checkout flow (using Custom Checkout)

cursive heronBOT
#

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

Question
Hi guys! I am working with payment method API and trying to list customer's payment methods. Using payment_method = Stripe::Customer.list_payment_methods('cus_Qsbee4MRo9dPxb', {limit: 3})

I want to know how I would know if any of these is the default payment method. If we grab, the Customer object using customer API - then invoice default settings will have the pm_XXXX id then I could know that this is the default payment method. Also, this would mean two calls to stripe. I wanted to do it one call. Please let me know if there is a way for this.

Related Request ID(s)
pm_1Q1FucKWfSycpO9ExlWH323p

What have you already attempted?
payment_method = Stripe::Customer.list_payment_methods('cus_Qsbee4MRo9dPxb', {limit: 3})

What are you working on?
Payment Method API

#

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

Question
I need to integrate an escrow solution. We have both sellers who have connected an account with Stripe connect and customers who can rent their listings. I have seen that Stripe does not have such a solution integrated, and therefore need tips on how I can best solve this on my own.

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

What have you already attempted?
I have planned to create a paymentIntent with endDate as a field when a customer has ordered a listing, in order to caputre intent and transfer funds to the right user using, for example, a cron job. I am still unsure whether my plan will work well in practice, and am wondering if anyone has a recipe for the most secure escrow solution. It seems like cron jobs are overcomplicated, but understand if that's what it takes. Thanks in advance!

What are you working on?
I'm working on a product similar to AirBnb where you can rent listings.

#

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

Question
I have integrated Klarna into my sign up flow using Stripe elements. The country form field is not editable and stuck on USA. Is this a feature of test mode, or does my config need to address this?

Related Request ID(s)
na

What have you already attempted?
Implemented Klarna using Stripe Elements

What are you working on?
Payment flow using Klarna

#

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

Question
Stripe Connect creating a Payment Link for a one-time charge and we have to hard-code an application_fee_amount. End customer uses a coupon code reducing the price and is still charged the application fee amount. Is there a way to end up with a clearer Invoice. I am told i need to refund after Stripe overcharges the customer in this use case. Our customer gets a really bad Invoice.

Related Request ID(s)
pi_3Q1HeiCH1InG3if90FE5zjw9

What have you already attempted?
Looking at payment link redirect controller and where to determine if a coupon was used and write some code to refund every time anyone uses a coupon for a one-time charge with a Payment Link.

What are you working on?
Membership plugin

#

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

Code
this comes up when he tries to add me. **"This account may have more requirements due in the future."**
**"If it processes enough volume, more information will be required to avoid an interruption in service."**

Question
my friend tried autosplitting with me but this comes up? my account if fully verified and the pop-op is still there

What have you already attempted?
tried going through all the emails and get verified but I already am.

What are you working on?
a website for selling a Saas.

#

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

Question
Does SubscriptionSchedule coupons get nulled out after the fact?

I am testing coupons and subscriptions for our application billing. We have a fixture that records http requests during a test run. I am updating these and coupons that we're previously returned as part of a subscriptionschedule phase are no longer there.

Related Request ID(s)
req_Mkgfgggkx99bPe

What have you already attempted?
I've tried using different versions of the stripe python sdk and ensured that I am passing the correct API version

What are you working on?
Our application billing page

#

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

Question
I am working on testing downgrades for monthly subscriptions that happen at the end of the billing period. Subscription Schedule is being created via the API. I am using a test clock in the dashboard to advance the customer's subscription time. Once that's finished, I am expecting a subscription_schedule released event to be fired. The dashboard still shows that there's an update scheduled, but it doesn't show the phase anymore. It seems like this isn't functioning properly with test clocks, but is there something I'm misunderstanding? Thanks!

Related Request ID(s)
req_49cDpo5RHMiq27, req_vNT4BFFmLXTTSO

What have you already attempted?
Setting up the test clock for an existing subscription and advancing, but also then starting a new subscription with that test clock already on the customer. Doesn't appear to resolve the issue.

What are you working on?
Subscriptions using Stripe's pre-built checkout page with webhook monitoring in our backend and additional api calls for functionality.

cursive heronBOT
#

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

Question
When using the Products > get checkout code Snippet what is the proper way to pass 'allow_promotion_codes:true' as a parameter?

Related Request ID(s)
req_QNmGFKK0O00B0O

What have you already attempted?
https://stackoverflow.com/questions/57424354/how-to-add-coupons-to-stripes-checkout

What are you working on?
A new Checkout funnel, with Stripe Checkout as it's third step

#

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

Question
If I pre-fill the merchant category code when using Connect with Hosted Onboarding, can the merchant change it back themselves when onboarding?

Related Request ID(s)
acct_1PvmA4Q4lMFhPooI

What have you already attempted?
I read the docs - they did say explicitly that countries can't get change by merchants but it's not clear to me if it applies to the merchant category code

What are you working on?
Custom Connect - Hosted Onboarding

#

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

Question
How do I get Stripe Financials Account authentication popup window to display a Stripe Connect account's business name instead of the platform account name? When I tried to to this, it only shows the name when you get to the last screen in the modal where it shows "Back to [Company Name] "

Related Request ID(s)
n/a

What have you already attempted?
We've attempted to pass in the clientSecret to the React Elements component, including passing on_behalf_of as an option.

What are you working on?
Stripe Connect Integration using Financial Connections with Destination Charges.

#

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

Code
<ExpressCheckoutElement
options={expressOptions}
onConfirm={onConfirm}
onClick={onClick}
onShippingAddressChange={onShippingAddressChange}
onCancel={onCancel}
/>

const onClick = (event) => {
// pull customer's address out, call internal tax API, update ExpressCheckoutElement with new total to charge
console.log(event);
}

Question
I'm using ExpressCheckoutElement to allow a customer to pay for a subscription to my product using Google/Apple pay, but I'm not using Stripe Taxes and instead using my own tax service. How can I pull out their address when they click on Google Pay for example to call our internal tax API and pass that value back into the ExpressCheckoutElement so it appears correctly on the modal?

What have you already attempted?
onConfirm gives access to the billing details, but onClick does not

What are you working on?
New single page/step checkout where we load PaymentElement without a PaymentIntent

#

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

Question
how can I ask for the Id when Im doing the onboarding embedded?, becuase every time I get all the info but when the connected account get a restricted Tag

Related Request ID(s)
Onboarding embedded

What have you already attempted?
I use eventually _due on the CollectionOptions when I create the embedded component

What are you working on?
An accounting site, where each accountant can get payments from their clients directly

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#web-collect-payment-details

Question
Perhaps I misread something, but this section of the docs appears to be false:

The checkout page address must start with https:// rather than http:// for your integration to work. You can test your integration without using HTTPS, but remember to enable it when you’re ready to accept live payments. I was charged Friday for a payment I made from localhost (http, not https). The PaymentIntent ID was pi_3Q1CCaHUbcyPjxRf0cSMYumV.

I am using this flow: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment&lang=node&client=react

What have you already attempted?
Making a request without https

What are you working on?
Making a payment using this flow: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment&lang=node&client=react

cursive heronBOT
#

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

Code
<Elements>
<PaymentElement/>
<AddressElement/>
<ExpressCheckoutElement
options={expressOptions}
onConfirm={onConfirm}
onClick={onClick}
onShippingAddressChange={onShippingAddressChange}
onCancel={onCancel}
/\>
</Elements>

const onClick = \(event\) =\> {
// HERE is where I want to pull customer's address out, call internal tax API, update ExpressCheckoutElement with new total to charge
}

Question
I'm using ExpressCheckoutElement to allow a customer to pay for a subscription to my product using Google/Apple pay, but I'm not using Stripe Taxes and instead using my own tax service.

How can I pull out their address when they click on Google Pay, for example, to call our internal tax API and pass that value back into the ExpressCheckoutElement so it appears correctly on the modal?

This is functionality I use in AddressElement.

What have you already attempted?
ExpressCheckoutElement "onConfirm" gives access to the billing details, but "onClick" does not. I need to be able to retrieve the address on element load, not when the customer clicks submit to trigger payment

I'm using this to build the one page checkout with all elements displayed on page load:
https://docs.stripe.com/payments/accept-a-payment-deferred
And using this feature of AddressElement:
https://docs.stripe.com/elements/address-element/collect-addresses

What are you working on?
New single page/step checkout where we load PaymentElement without a PaymentIntent

#

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

Question
Now I'm using SubscriptionSchedule API.
https://docs.stripe.com/billing/subscriptions/subscription-schedules

I thought if the schedule is completed, "status" will change to "completed", but in my case, even after schedule executed, it seems like the "status" is still "active".

Why is it still active?

If you need i will send you the screenshot of something. Thanks.

Related Request ID(s)
POST /v1/subscription_schedules

What have you already attempted?
I think the "status" is supposed to be "completed" after the subscription actually changed, so I implemented my code as so.

What are you working on?
Running a subsciription product.

#

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

Question
Im trying to implement a feature where we give a 30 day free trial based on a coupon/promo code for yearly subscriptions. i have seen the api docs do not offer this option. is there an alternate method to do this or did i miss something

Related Request ID(s)
NA

What have you already attempted?
I created a coupon with a duration of 1 month and 100% off and applied it to a yearly subscription. the subscription was not not charged immediately which is a good sign but it didnt charge after on month. i understand there is a trial_days param in the subscription create object but i want this to work off of the coupon. this is a requirement because we want to give our sales/customer succes teams to create/apply coupons to customers without coming to engineering

cursive heronBOT
#

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

Question
Hey, right now we are handling usage based pricing and credits ourselves then bill via Stripe. We wanted to migrate to Stripe for the usage based pricing, but the problem is that we also have a Pro tier and credits.

It is possible to have usage based pricing for compute we provide and report to Stripe meters (GB/s + vCPU/s) together with having a flat fee Pro tier that users must pay every month on top of the usage, while also giving users starting credits that are valid only for the usage and not for the pro tier flat fee?

It seems that this is not possible and it prevents us from migrating this whole thing to Stripe.

Thank you

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

What are you working on?
https://github.com/e2b-dev/infra — we bill users for the usage of compute resources

cursive heronBOT
#

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

Code
Here is the link:
https://dashboard.stripe.com/identity-verification

Question
I have been given the opportunity to verify my identity by submitting a document. However, when I click the button to go to the document verification page, I get the following error:

{"error":{"message":"Multi region routing target not found.","code":"multi_region_routing_target_not_found"}} with status_code: 400 bad request

Here is the link:
https://dashboard.stripe.com/identity-verification

Please help me resolve this issue or allow me to submit my documents via email, a

What have you already attempted?
docs

#

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

What did you expect to happen?
Hcaptcha should be triggered on a payment element using cc number 4000000000001208

What actually happened?
The hcaptcha was not triggered.

Reproduction Steps
I set up a payment element using stripe.js

Question
I read that captcha is automatically integrated with stripe's solutions, so I haven't configured my hcaptcha key on the developer page, is that the problem? I just want to protect myself with card testing, on the payment element.

cursive heronBOT
#

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

Code
stripe.checkout.Session.create(
customer=customer.id,
mode="setup",
success_url=success_url,
cancel_url=cancel_url,
metadata=metadata,
client_reference_id=1,
currency="usd",
payment_method_types=["card"],
)

Question
I am trying to disable the Link support in particular checkout session, but unable to do so.

What have you already attempted?
I tried to pass the `payment_method_types` parameters with `card` value only, but the checkout page is still showing option to save info as link.

What are you working on?
Trying to use stripe checkout session to create payment method for future use

cursive heronBOT
#

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

Question
I'm integrating payment elements in my application. I'm getting the following error while testing payments with clearpay, 'payment_intent_invalid_parameter:
The shipping information on this PaymentIntent was last set with a secret key and therefore cannot be changed with a publishable key. Please use your secret key instead.' Also I couldn't understand what this error message says. Can you please help?

Related Request ID(s)
req_aRMmiSGRlkWb72

What have you already attempted?
I'm creating payment intent in server side and confirming it in client side as follows:
stripe.stripe.confirmPayment(
{
clientSecret: pi_client_secret,
elements: elements,
confirmParams: {
// Enroll user to course after payment completion
return_url: return_url,//"http://localhost:4242/checkout.html",
},
});

What are you working on?
I'm integrating payment elements in my application.

#

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

Code
export const PaymentMethodInput = ({ stripe }) => {
const appearance = {
theme: "stripe" as const,
labels: "floating" as const,
variables: {
colorPrimary: "#4F46E5",
},
};

const options = {
mode: "payment" as const,
amount: 100,
currency: "usd",
paymentMethodCreation: "manual" as const,
appearance: appearance,
};
return (
// <Elements stripe={stripe} options={options}>
<form className="mt-1">
<PaymentElement i

Question
I'm building a healthcare payments solution using stripe connect. Providers want to be able to manually enter customers card info so they can save it for later.. I'm using the PaymentElement but I want to be able to hide the need of a postal code so providers dont need to ask for it each time.

I know this element is mostly customer facing. Is there a way to disable postal code or do I need to use CardElement?

What have you already attempted?
Looking at docs, forums, applying hidePostalCode=true

cursive heronBOT
#

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

Question
How to create a fully functional stripe connect account with type standard?

Related Request ID(s)
req_E4rZHFH8PeehFg

What have you already attempted?
I tried using the following code snippet

    const account = await stripe.accounts.create\({
        type\: 'standard', // Choose the account type\: 'express', 'custom', or 'standard'
        country\: 'AE', // Country code
        email\: 'hammadali6096@gmail.com', // Email address for the account
        capabilities\: {
            card\_payments\: { requested\: true },
            transfers\: { requested\: true },
        },

})
and then get a onboarding link.
After submitting all details using that link, the connect account status is unchanged.

What are you working on?
I am working on a web app where we integrated stripe for payments and now we need a connect accounts for organizer users to get payouts.

#

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

Question
Is it possible to retrieve the charges associated with a payout from a payout report in the Connected Stripe account? We use Destination Charges for the connected account, and I want to confirm if the payout report the connected account receives will include all charges associated with those Destination Charges made on the platform account.

Related Request ID(s)
N/A

What have you already attempted?
Tired using the balance_transactions API call to list all balance transactions associated with the payout report, but it's only returning transfers and not the charges made via the destination charges.

What are you working on?
Currently building a page where the Main Admin is able to see the associated charges made on the payout report they receive on their connected account.

#

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

Question
How to refund credit balance without charge or paymentattempt?

Related Request ID(s)
i couldn't find my case

What have you already attempted?
My case is multiple subscription.
When subscription quantity was decreased, it makes customer credit balance.
My subscription update option's proration behavior is always invoice.

Then check customer balance and if there is balance for refund, create refund. At this point i want to make credit balance refund without charge or paymentAttempt.

when i test refund in stripe test mode with origin option (Origin.CUSTOMER_BALANCE)

i got error below :
Failed to refund charge: Insufficient funds in your Stripe balance to refund this amount.

What are you working on?
I'm working on making refund to customer

cursive heronBOT
#

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

Question
Can I fetch country wise taxrates applied? Like if i select india then related the tax rates are in response.

Related Request ID(s)
no

What have you already attempted?
I have created custom tax rates using stripe.create.taxRates. But my requirements is like I give country name or code based on that I will receive the tax applied in that country and that tax will be applied when I am creating any payment intent.

What are you working on?
Creating payment intent and want to apply that tax on the payment intent.

cursive heronBOT
#

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

Question
I want to know if stripe payment has refunded how can i get its Refund ARN number

Related Request ID(s)
121

What have you already attempted?
I want to know if stripe payment has refunded how can i get its Refund ARN number

What are you working on?
I want to know if stripe payment has refunded how can i get its Refund ARN number

#

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

Question
I want to secure the users of my app by verifying them with Stripe Identity. I want to be able to exclude users from using my app and be sure that they cannot bypass the block.
Is there any way to do this, either manually via the Dashboard or via the API + Webhook?

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

What are you working on?
Discord Security Bot that has some feaures that can be abused

cursive heronBOT
#

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

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

Question
I wanted to check my current sandbox in stripe cli and change to a new one, but stripe preview is an unkown command. Although the guide states that I should use the preview command to use a new sandbox

What have you already attempted?
I upgraded to latest cli version 1.21.5 but still I get this error when I try to run stripe preview whoami:

Unknown command "preview" for "stripe". Did you mean "reviews"?

What are you working on?
Testing out Stripe Sandboxes functionality

cursive heronBOT
#

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

What did you expect to happen?
That the confirmation screen on the iOS side shows the same amount as provided to the payment intent on the backend.

What actually happened?
The confirmation screen on the iOS side shows one cent less than what was provided to the payment intent, after performing tax calculation (through Stripe's tax calculation).

However, in the stripe dashboard and in the backend, we always see the correct amount, it is only wrong in the actual confirmation screen.

Reproduction Steps
Create payment intent on backend, with taxes applied. For example, if you calculate tax on clothing in NY city on an item of value 275, stripe tax calculation returns 29941 cents, which is 299.41 USD.
Return this payment intent to the iOS app, and display it in the confirmation screen.
This will display 299.40 USD, instead of 299.41.

Question
What is the reason for this, I can't see this being documented anywhere, and seems like an error? Do note this is in test mode

What are you working on?
Marketplace for second hand products

#

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

Code
elements = createElementsInstance(stripe, setupIntentData.value.client_secret);

const expressCheckoutElement = createExpressCheckoutElementInstance(elements);
expressCheckoutElement.mount(stripeExpressCheckoutElementContainer.value);

expressCheckoutElement.on("ready", () => {
isLoadingExpressCheckout.value = false;
});

Question
Hi there, we're using Stripe Elements for our web payments. We're successfully using the "Stripe Payment Element" in combination with Setup Intents.

Now we're trying to additionally add the "Express Checkout Element" in combination with Setup Intents. Google Pay shows up, but PayPal does not. PayPal is enabled in the settings.

I'm developing locally with a local SSL cert on https://localhost:3000.

Why is PayPal not shown. Are there limitations I'm not aware of?

What have you already attempted?
I've read the docs on the "Stripe Payment Element" and the "Express Checkout Element".

What are you working on?
Web Payment using "Express Checkout Element" in combination with SetupIntent

#

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

Question
When integrating the Payment Intent API with the Payment Request Button, how can I find out which network is available for an apple_pay payment (e.g. cartes_bancaires)?

Related Request ID(s)
none

What have you already attempted?
nothing

cursive heronBOT
#

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

Code
const options = {
mode: 'payment',
currency: crs_currency_code,
amount: selected_plan_price * 100,
paymentMethodCreation: 'manual',
paymentMethodTypes: ['link', 'card', 'afterpay_clearpay', 'klarna'],
};

Question
The payment element form is not displaying Link option. I'm using a UK Stripe account for testing. Earlier I was using a US Stripe account for testing and Link used to be displayed then. But after connecting the new account it's not shown. What could be the reason? For testing purpose I've explicitly given the payment methods now.

What have you already attempted?
I've explicitly added Link in paymentMethodTypes parameter.

What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode.

cursive heronBOT
cursive heronBOT
#

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

Question
I want to implement Stripe Identity verification and I got two questions.

  1. Can I provide more than one verification check? For example document and selfie?
  2. When I access the selfie image after a successful selfie identification, what is the best way to turn that selfie into a unique identifier so I can check if a person is in a "banned" list?
    Related Question (closed): #dev-help message
    Current state: I've read many articles in the docs but I want to inform myself better before I start.

Doc/Guide Links
https://docs.stripe.com/identity/verification-checks
https://docs.stripe.com/api/identity/verification_sessions/object#identity_verification_session_object-type

What are you working on?
Making sure that I can permanently ban users and persons from. using by app upon abuse.

#

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

Code
Map<String, Object> paymentMethodOptions = new HashMap<>();
paymentMethodOptions.put("allow_redisplay_filters", Arrays.asList("always"));
paymentMethodOptions.put("payment_method_save", "enabled");

	params.put\("saved\_payment\_method\_options", paymentMethodOptions\);

Question
every payment intent is created new payment method even though the account details are same

What have you already attempted?
paymentMethodOptions.put("payment_method_save", "enabled"); used this code to save payments, but it is saving only card and not payment method

What are you working on?
stripe one time payments

cursive heronBOT
#

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

Question
What is the webhook event I have to look in for connected accounts, when status getting change

Related Event ID(s)
1

What have you already attempted?
I go through with the document and the event account.updated

What are you working on?
I am working on either connected account is completed or is there any issue with the account so i can set my function accordingly.

#

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

Code
stripeConnectInstance = loadConnectAndInitialize({
publishableKey: environment.stripePublicKey,
fetchClientSecret,
appearance: {
overlays: 'dialog',
variables: {
colorPrimary: '#635BFF',
},
},
});

const container = document.getElementById(
'embedded-onboarding-container',
);
const embeddedOnboardingComponent =
stripeConnectInstance.create('account-onboarding');
container.appendChild(embeddedOnboardingComponent);

Question
We have been trying to implement the creation and onboarding of Stripe connected accounts using embedded elements, according to these docs:
https://docs.stripe.com/connect/onboarding/quickstart#init-stripe

The elements render as expected, but once I click the 'Add information' button, a popup opens, requiring me to continue there. This defeats the purpose of embedding and harms the user experience.
We would like to embed the entire onboarding process. Is that possible?

What have you already attempted?
Configuring the accountSession on our Nestjs server and the rendered elements in our Vue app, but without success.

What are you working on?
Stripe Connect integration

#

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

Question
I need help setting up a STRIPE webhook URL to confirm payment completion on our CRS which we are integrating with Stripe.

Related Event ID(s)
N/A

What have you already attempted?
I have tried going onto the dashboard and creating the webhook but I am not sure what options to select.

What are you working on?
Integrating Stripe with AeroCRS

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#save-payment-methods

Question
We Have Implemented Stripe Using Payment Elements now i want to save the Card in Checkout using stripe prebuild Functionality in which checkbox is coming from stripe and saved card also so I am facing one Issue to show the saved card

What have you already attempted?
after Clicking the checkbox i am able to save the payment but its not showing in saved cards

What are you working on?
E-commerce Site Based on react

#

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

Code
https://www.yazio.com/express-checkout-example-setup-intent.html

Question
Hi, this is a follow up to my thread from this morning, which has been closed. I wanted to provide my minimal example for reproduction.

The Express Checkout Element is not showing PayPal in combination with Setup Intent, even though recurring payments via PayPal are enabled:
https://www.yazio.com/express-checkout-example-setup-intent.html

With Payment Intent it works fine:
https://www.yazio.com/express-checkout-example-payment-intent.html

Why is PayPal now showing with SI?

What have you already attempted?
- Enable recurring payments for PayPal
- Reading the Docs

What are you working on?
Express Checkout Element in combination with SetupIntent and PayPal

#

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

Question
I need to know if after a user is making a payment via Link if I can attach the payment method he paid with to his customer id

Related Request ID(s)
I have this payment pi_3Q2VyaBzUh71rcTF0bSdEkJ9, with this customer cus_QuKdvw0eMNXQjG and with this payment pm_1Q2VyZBzUh71rcTFyMeh2umm

What have you already attempted?
I have managed to make the payment I have implemented the payment hook which I receive but then I am using that to extract payment intent id and from there I am collecting the payment method id and customer id trying to attach but I get the error "This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again."

What are you working on?
payment system

#

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

Question
Hello,
I am trying to add integration to BACS payment method to our application. And I cannot find documentation how I can do it with using Stripe Elements or checkout.
I am searching for similar API that was used with ach. for example stripe.confirmUsBankAccountPayment.
Is there a similar function for BACs?

Related Request ID(s)
none

What have you already attempted?
Not attempted, im currently reading the documentation and creating engineering doc

What are you working on?
Adding BACs payment method

#

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

Code
if (!empty($this->connectedAccount) && $applicationFeeAmount > 0) {
$intentData['application_fee_amount'] = $applicationFeeAmount;
$intentData['transfer_data'] = [
'destination' => $this->connectedAccount,
];
}

        if \(!empty\($param\['customer'\]\)\)
            $intentData\['customer'\] = $param\['customer'\];


        $intent = PaymentIntent\:\:create\($intentData\);

Question
I am creating this payment intent. but always showing the error
" The 'transfer_data[destination]' param cannot be set to your own account"

i am sure i have passed the connected account(stripe_user_id) (that i get from
$response = \Stripe\OAuth::token([
'grant_type' => 'authorization_code',
'code' => $code
]);

What have you already attempted?
I already checked multiple account.

What are you working on?
I work on a ecommerce. my system is working okay. but now need to setup platform charge.

#

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

Question
Hi, is it necessary to clone payment method to create direct charge on connected account? I was getting an error that said no customer found :id... Then I tried to share customer with connected account and then came across the payment method cloning. I assumed that I needed to share something from the platform account but after cloning, the still was there. So I reviewed the doc again and saw no customer_id in the payment intent create params while creating direct charge. So I too omitted that and the everything works. So, to create the payment intent all I need is to omit customer id?

Related Request ID(s)
https://docs.stripe.com/connect/direct-charges?platform=web&ui=elements#create-payment-intent

What have you already attempted?
I have cloned the payment method that I got from setup intent to the connected account. But, when I pass the customer_id it says there is no customer on the connected account.

#

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

Question
Sending metadata, the product has a sku, I am curious how I could add that metadata to the charge.succeeded event.

Related Event ID(s)
charge.succeeded

What have you already attempted?
I tested other methods and tried to add an meta data onto the product and on the checkout. The checkout one works only with checkout succeeded.

What are you working on?
An little stripe integration between woocommerece and stripe (request from a friend)

cursive heronBOT
#

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

Question
How can I add a pay button and pay through it once, using Payment Element in React JS, and what will be required for back-end code in Node JS?

Related Request ID(s)
Look in https://docs.stripe.com/ > Payments > Payment Element

What have you already attempted?
I have added stripe.confirmPayment in the react JS side on the pay button, what are the further requirements for payment?

What are you working on?
pay one time via selecting different methods given in the Payment Element in React JS and back-end support of Node JS

#

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

Question
Hello !
I want to listen to a webhook event that will be triggered when my customers complete paiement both for a subscription and for a 1-time-paiement product.
I looked in the doc, and it told me "To listen to webhooks for both subscription payments and one-time payments, you should listen for the
invoice.paid
event." I tried, but no invoice is generated for 1 time paiement, so I don't get notified.
Is their another webhook event that I could listen to ?

Related Event ID(s)
invoice.paid

What have you already attempted?
We have tried listenning to invoice.paid - it does not cover one time paiement

#

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

Code
Stripe SubscriptonSchedule phase start and end dates are incorrect.

schedule = stripe.SubscriptionSchedule.retrieve(
stripe_subscription['schedule'],
expand=['phases.items.price']
)

for phase in schedule.phases:
new_phases.append({
"items": [{"price": item.price, "quantity": item.quantity} for item in items],
"start_date": phase.start_date,
"end_date": phase.end_date

Question
The end date is 5 months from now. Even though the current subscription is a year subscription that goes from 24 september 2024 to 24 september 2025.

If I take the end_date from the subscription schedule, I get a date 5 months from now instead of 12 months from now.

I use the subscriptionSchedule to manage downgrades at the end of the billing period. Changing year to month subscription should change the subscription at the end of the year billing cycle.

What have you already attempted?
Checking examples on stripe doc, using claude and checking the results of the subscription schedule object.

What are you working on?
Implementing downgrades at end of billing cycle.

cursive heronBOT
#

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

Code
StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;

var requestOptions = new RequestOptions
{
StripeAccount = stripePaymentRequestViewModel.AccountKey
};
var options = new CustomerCreateOptions
{
Name = stripePaymentRequestViewModel.FullName,
Email = stripePaymentRequestViewModel.EmailId,

};
var service = new CustomerService();
var customer = await service.CreateAsync(options, requestOptions);

var productService = new ProductService();
var

Question
getting exception
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such customer: 'cus_QuMkndR71Vbc0b'",
"param": "customer",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_SlViIlrNfiM4RR?t=1727181546",
"type": "invalid_request_error"
}
}

What have you already attempted?
create a monthly subscription

#

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

Question
Is it possible to implement a meter-based usage trial instead of a time-based trial? I'd like for customers to get a certain amount of value via consumption of a unit before ending the trail period. For example, I want a customer to consume 1000 units of a meter as part of their trial and then transition to a paid subscription. I'm happy to set that transition in 8 days to comply with 7-day notification requirement.

From reading the docs, it doesn't seem like there is a defined path for this. Is there a way to monitor the number of consumed units (of a meter) in a subscription and then update the trial end date?

Doc/Guide Links
https://support.stripe.com/questions/2020-visa-trial-subscription-requirement-changes-faq; https://docs.stripe.com/billing/subscriptions/trials

What are you working on?
AI based lead conversion SaaS that uses usage-based billing.

cursive heronBOT
#

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

Question
Hello,

I’m creating SEPA payments using invoices for accounting purposes. I use an IBAN with a 3-minute delay between processing and succeeded, but I receive all webhooks (invoice.payment_succeeded, charge.succeeded, payment_intent.succeeded, payment_intent.processing) at the same time after 1 hour. Why is processing simultaneous with payment_succeeded, and how can I test without waiting 1 hour? Also, can I receive the exchange rate in invoice.payment_succeeded?

Thanks a lot

Related Request ID(s)
req_gUOHjB7BiZodPj

What have you already attempted?
invoice = await stripe.invoices.create({
customer: userInfo.stripeCustomer,
collection_method: 'charge_automatically',
default_payment_method: userInfo.stripePaymentID,
metadata: {
client_reference_id: process.env.ENV_NAME + '_' + userInfo.id,
payment_method: 'sepa_debit'
},
pending_invoice_items_behavior: 'include',
payment_settings: { payment_method_types: ['sepa_debit'] },
auto_advance: true,
currency: currency,
});

finalizeInvoice = await stripe.invoices.finalizeInvoice(invoice.id, { auto_advance: true });

What are you working on?
Payment with SEPA and generating an invoice

#

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

Code
var paymentElement = elements.create('payment');

Question
Can i customize the payment methods allowed for this element.

We're using connect, and store on our backend which merchants can accept which methods

We're using confirmation token to confirm and create payment intents server side

What have you already attempted?
I can't find it in the docs. Before we stored it on payment intent, but we have to migrate to server side confirmation with confirmation tokens.

What are you working on?
Connect ticketing marketplace where organizers can build their own storefront

cursive heronBOT
#

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

Question
I am trying to pass the billing address to the payment for Stripe radar rules. I was told we need to pass the billing address to setup intent. Is it during creating setup intent? Or should it be confirm setup intent?
https://docs.stripe.com/api/setup_intents/create

Thank you!

Related Request ID(s)
N/A

What have you already attempted?
We have tried adding billing details as described here when creating the setup intent https://docs.stripe.com/api/setup_intents/create but I am getting below error when loading the Stripe payment element/iframe even before entering credit card info:
parameter_missing - payment_method_data[card]
Missing required param: payment_method_data[card].

What are you working on?
We are trying to implement Radar rules to limit the credit card usage to be unique per customer.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/create_without_intent

Question
hello!
i am using Express Checkout Element to create a payment method, https://docs.stripe.com/js/elements_object/create_without_intent

may problem is paymentMethodCreation
'manual' is not rendering amazon pay button.
could you please create me a ticket if this is a but followup?

What have you already attempted?
paymentMethodCreation
'manual' is not rendering amazon pay button.

cursive heronBOT
#

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

Code
{"error":{"message":"Multi region routing target not found.","code":"multi_region_routing_target_not_found"}}

Question
Good afternoon. Today I saw a request for account verification. When I click on the link in the control panel, I am redirected to another page with an error "{"error":{"message":"Multi region routing target not found.","code":"multi_region_routing_target_not_found"}}”

What have you already attempted?
I tried to follow the link from the letter, directly to the address https://dashboard.stripe.com/identity-verification

cursive heronBOT
#

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

Question
I need to integrate an escrow solution. We have both sellers who have connected an account with Stripe connect and customers who can rent their listings. I have seen that Stripe does not have such a solution integrated, and therefore need tips on how I can best solve this on my own.

Related Request ID(s)
N/A

What have you already attempted?
I have planned to create a paymentIntent with endDate as a field when a customer has ordered a listing, in order to caputre intent and transfer funds to the right user using, for example, a cron job. I am still unsure whether my plan will work well in practice, and am wondering if anyone has a recipe for the most secure escrow solution. It seems like cron jobs are overcomplicated, but understand if that's what it takes. Thanks in advance!

What are you working on?
I'm working on a product similar to AirBnb

cursive heronBOT
#

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

Code
<PaymentElement
options={{
terms: { card: "never" },
defaultValues: {
billingDetails: {
address: {
country: "US",
},
},
},
layout: {
type: "tabs",
defaultCollapsed: false,
radios: true,
spacedAccordionItems: false,
},
paymentMethodO

Question
We have skip enabled meaning we skip verification needed for bank account. we were told we don't need email anymore and only need name. I needed help not showing email field.

What have you already attempted?
tried email with "" and "never"

#

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

Question
I use Stripe connect to connect sellers to our platform, and I need to create a solution where customers can pay when they make a reservation, before the money is transferred to the sellers only after the reservation is over.

Related Request ID(s)
N/A

What have you already attempted?
I will attach the code I am currently using

What are you working on?
I'm working on a product similar to AirBnb

#

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

Question
I'm not seeing events hit my test mode webhook endpoint we_1Q2aToDoajEjXKFvE5WfeJEL

Related Event ID(s)
evt_1Q2amLC1cjgvLQaLx1sEEUI4

What have you already attempted?
I'm firing the event in test mode in one account with our app installed, I'm expecting the connect webhook endpoints in test mode on the app author account to be hit.

What are you working on?
Commission payments app

#

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

Question
When creating a checkout session via the api, is there a way to pass metadata that would be present in the customer.created event object? I'm currently listening to checkout_session.completed to link our db user record with the stripe customer record, but when a payment requires action on checkout, that event doesn't happen (at that time). Was thinking I could move it to customer.created, but not seeing how I can populate that metadata.

Related Request ID(s)
req_ToOTYf08mTgxeA

What have you already attempted?
I'm passing SubscriptionData Metadata, and Metadata on the SessionCreateOptions itself.

What are you working on?
Implementing subscriptions using the pre-built checkout page with webhooks and api calls to supplement functionality

#

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

Question
How do I link Connect accounts to my main Stripe account?

Related Request ID(s)
acct_1Pubk1AckCsxxcQH

What have you already attempted?
I created and verified the primary account, but I can't link it to the secondary accounts.

What are you working on?
Building

#

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

Question
I asked you guys the same question before when I did migration, I want to grab the Stripe fee in webhook, you guys let me monitor the charge.updated event and check paymentIntent.latest_charge.balance_transaction for the fee, it worked with Stripe Client Test, but in the real transaction, it happened w/o payment.success

Related Event ID(s)
pi_3Q0ZsAH4UK1ezOVR1q8sO79T

What have you already attempted?
It was working with StripeCli

What are you working on?
After accept payment, I want to deduct Stripe fee, then take out the commission before sending the rest of money to the connect account

cursive heronBOT
#

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

Question
What happens if someone creates a subscription that has trial but then upgrades to a higher plan with more price, does the trial get cancelled

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Bot

#

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

Question
Promo Code Auto-Deletes from Invoice

Related Request ID(s)
N/A

What have you already attempted?
When we make our POST invoices call, a promotional code is applied, but when we make the POST call to pay that invoice using the API, the promotional code is removed, making the promotion code redemptions remain at 0. The associated coupon does track redemptions correctly, but for increased rollout, we'd prefer that the promotion code redemptions are tracked.

What are you working on?
Promotion code rollout.

#

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

Question
We have a few duplicates where the email has different casing, but are the same email, and we already wrote the code for our database to merge the two users but I need a way programatically to merge the two stripe users, and then update our database with the correct stripe id for the merged user.

Related Request ID(s)
n/a

What have you already attempted?
nothing because I cant infer a way to do this but surely there should be

#

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

Question
I'm having trouble displaying to the customer the active payment method types from the dashboard. I was pointed that manually defining the payment method types should help me with this but could not found the type for apple pay, google pay, mexican installments and bank transfer

Related Request ID(s)
evt_3Q2btAAouxLMz2wG0Ioec4KK

What have you already attempted?
Enabling automatic payment methods

What are you working on?
Provide more payment methods to our customers

#

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

What did you expect to happen?
We expected to see that an approved authorization for an issued card would result in a charged transaction. If the card was not charged, we expect to be able to see that and to know why the charge did not go through.

What actually happened?
We approved an authorization via the webhook.

The customer saw that their charge failed on the merchant side.

There is no failed charge associated with the authorization.

The authorization was reversed.

Reproduction Steps
Approve the authorization via webhook response

Authorization reversed

No transaction is in the Stripe dashboard

Customer experiences failed charge

https://dashboard.stripe.com/acct_1N9WvPR55blrZn8x/issuing/authorizations/iauth_1Q0BFiR55blrZn8xWbtfZsE5

https://dashboard.stripe.com/acct_1LVfjSQxEZZBtsqH/issuing/authorizations/iauth_1PucRnQxEZZBtsqHgecs9POK

Question
Can you help us understand what is happening in these scenarios? Is there anything we can tell our customer about why the charges fail?

What are you working on?
Issued cards for clients on our connected platform

cursive heronBOT
#

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

Code
const account = await stripe.accounts.create({
type: "custom",
country: "US",
email: email,
business_type: isIndividual ? "individual" : "company",
company: isIndividual ? undefined : { name: companyName },
business_profile: isIndividual ? undefined : { name: companyName },
...(isIndividual && {
individual: {
first_name: firstName,
last_name: lastName,
},
}),
capabilities: {

Question
Hi - I have added these capabilities for the Stripe Connected account, which enabled Issuing. So that works, but when I go on the Stripe dashboard, I can't find a way to top up the issuing balance at all. I can only top up the Stripe balance. Am I missing any capabilities here (we don't need treasury)?

What have you already attempted?
Looked at every screen on the dashboard.

What are you working on?
We're building a financial product based around cards that are connected to external accounts. No treasury, just issuing.

#

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

Question
Since the sources api is now deprecated, is there a way to make the user go straight to the iDeal bank selection/QR page instead of having to fill in their name in the checkout page?

Related Request ID(s)
_

What have you already attempted?
configuring a user just seems to prefill the name, doesn't skip the checkout page.

What are you working on?
iDeal checkout for a billing system

cursive heronBOT
#

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

Code
appearance.rules[ '.Input' ].fontSize = '16px';
appearance.rules[ '.Input' ].lineHeight = '16px';

Question
How to make the floating label .Input from the Payment Element use the correct line-height? When I set it to 16px, it is rendered with 20px.

What have you already attempted?
If I set the fontSize to 12px it is rendered as 15.5px, which is close enough, but then the font is smaller than what I need.

#

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

What did you expect to happen?
The business name to be updated on the customer portal and invoices.

What actually happened?
business name remains same as old one.

Reproduction Steps
Change the business name in public settings.

Question
I have changed the business name in public settings but still old name is shown on customer portal and invoices how to change that name?

What are you working on?
Building payment system for chrome extension

cursive heronBOT
#

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

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

Question
Is it possible to send renewal notification emails only to users with specific subscriptions?
Right now we have free tier and pro tier. The free tier has no flat fee, the pro tier has.

We need a monthly recurring invoice for all users because we bill per-usage, but we don't want to send emails to users who are not charged anything for the tier.

Is there a way to send emails to only users on specific tiers/products or to have automatic monthly ocuring invoices without subscriptions?

What have you already attempted?
We accidentally send email to all users even though the free tier users got nothing to pay.

#

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

Question
I'm getting an API error I don't understand. I'm using a stored payment method (ACH) to create a payment intent. However I receive an error that says "The currency provided (usd) is invalid for one or more payment method types on this PaymentIntent. The payment method type sepa_debit only supports the following currencies: eur. Either correct the provided currency, or use a different PaymentIntent to accept this payment method type."

This error doesn't make sense to me because the stored payment method is ACH.

Related Request ID(s)
req_1fWuKxAvbXsVRm

What have you already attempted?
n/a

cursive heronBOT
#

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

Question
What is the best away to set a default payment method for a customer.

Related Request ID(s)
NA

What have you already attempted?
await stripe.customers.update(member.customerId, { default_source: paymentMethods.data[0].id }, { stripeAccount: stripeAccount.stripeId });

#

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

Question
As far as I can tell there isn't a way to make the Stripe CLI send events for connected accounts to a separate endpoint than platform account events. Is that correct? So we will have to send both types of events to the same endpoint and then check the event for the presence of the account attribute to know how to handle it.

Related Event ID(s)
evt_1Q2aUABYN9GHJYxlpG5y55us,

What have you already attempted?
I thought something like this might work
stripe listen --forward-to http://localhost:3000/webhooks/connected --stripe-account acct_1234ABC

but --stripe-account isn't a flag for the CLI.

What are you working on?
An integration that needs to listen for platform account events and connected account events

cursive heronBOT
#

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

Question
I am trying to use a newly created sandbox and I can not get payments to go through. I keep seeing errors that say the payment method is not associated with the account. I have added the new account id for the sandbox, and switched out the api keys but the requests are not going to the right place.

Related Request ID(s)
I dont have request ids but I have payment methods that have been created on the wrong account: pm_1Q2dpgRxasZGr5jVq3RPnoLC

What have you already attempted?
I have tried switching the api keys and account ids.

What are you working on?
using a new sandbox environment locally.

#

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

What did you expect to happen?
No error and no exception

What actually happened?
I created an paymentIntent, accepted $2 payment, after payment succeed, my code try to transfer partial ($1.55) to the connect account, when I create transfer, it throws a exception of insufficient amount

Reproduction Steps

  1. Create PaymentIntent with $2
  2. In webhook paymentIntent succeed, query PI again for the latest transaction, take out stripe fee ($0.36) and netamount $1.64
  3. Create transfer to tranfer $1.55 to the connect

Question
The whole incoming amount is sufficient for $1.55, and the total transaction duration were less than minute, how come the fund insufficient?

#

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

Question
When are stripe fees deducted when splitting and paying. We have Payers with stored back accounts (think ACH) that we're debiting. After that transaction clears we will split and pay multiple Payees. This is all done via Stripe Connect. These payees could be cross-boarder / currency exchange.

My question is when does stripe extract fees? I believe this would happen twice, 1st when we confirm the payment intent and then again when payout out the funds to our connected accounts.

Is my understanding correct?

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

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

What did you expect to happen?
User would be charged once or charged would fail / cancel completely.

What actually happened?
User was charged twice.

Reproduction Steps
"Once I entered my card details I hit submit and I received a prompt from my bank to enter the second factor code that was sent to my phone. I didn't have my phone in hand so I hit cancel and was redirected back to the site with the transaction cancelled or expired error message. I tried again hoping it would go through without my phone nearby and this time it did"

Question
The user sent the above for what happened and I have had a few other users mention getting this in the last couple of weeks. It seems as though maybe bypassing the 2 factor code (using Stripe elements), they get sent back to the beginning for a new transaction, the 2nd goes through and then the first one that was set up in the Stripe system then gets the all clear to

What are you working on?
Using the Stripe element

#

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

Question
We're a platform with 100+ connected Stripe accounts. I want to be able to get aggregate data about these accounts via the API. What's the best way for me to do this?

Some of the stats I'm looking to see are:
- Peak MRR
- Current MRR
- Total Payment volume

I see the volume for connected accounts in the dashboard, but don't see a way to access this number via the API. Thanks!

Related Request ID(s)
N/A

What have you already attempted?
I've searched through the docs and don't see API endpoint available for aggregated data

cursive heronBOT
#

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

Question
We have a case where users might have invoices with failing payment methods (sometimes failing more than once). We then have a user flow that allows the user to update their payment method or switch to an alternate payment method (ACH or Bacs). After they update or switch we manually trigger payment on the invoice. It seems it can then take a day or two for the the invoice to actually attempt payment again. Is there a way we can determine when this payment attempt occurs? We'd like to record the date/time of when the attempt occurs and not necessarily when the payment is processed.

Related Request ID(s)
evt_1Pyf40FMuyZwj3nImUShXJ9k, evt_3PrLuBFMuyZwj3nI1JCfpJWG, evt_3PrLuBFMuyZwj3nI1UeUGlNw

What have you already attempted?
I've tried poking around at event data and the charge/invoice object.

#

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

Question
The Payment Intent's Payment Method is not always updating when using 3D Secure. We just implemented 3D Secure via the Payment Intent API and the React Native SDK, and some of our payment are being charged to a different card than expected. Timeline:

  1. A user attempts a payment using Card A, which fails with `requires_action`
  2. The user tries more times
  3. The user switches to Card B and charges again
  4. The user completes 3D Secure
  5. The charge is complete, but still lists Card A

I'm having a really hard time debugging this since some of the logs are missing from Stripe.

Related Request ID(s)
N/A, see question

What have you already attempted?
I've tried going through the Payment Intent's logs, both in the Dashboard page and in the new Workbench. Both are missing about half of the payment intent's requests, including, crucially, the request that changes the Payment Method attached to the Payment Intent. Despite this our system logs clearly show the Stripe requests going out, and tracing through what the system did in these cases I can clearly see it would have called `stripe.paymentIntents.update()` (Node SDK) with the new Payment Method before attempting to `confirm` it.

cursive heronBOT
#

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

Question
Does Stripe split the payment processing fees between different card providers? For example: Visa - fee $1 Mastercard - fee $1.5

Related Request ID(s)
card fee

What have you already attempted?
I'm implementing Stripe Connect and allowing my sellers to create payments through Stripe Checkout. I'm curious if Stripe has different fees for different card brands.

#

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

Code
<script>

var elements;
// Function to initialize Stripe Elements
function initializeElements\(\) {
	if \(!stripe\) return;
	console.log\("stripe elements initialized."\);
	
	elements = stripe.elements\(options\);
	
	window.elements = elements;
	window.stripe = stripe;
}

</script>

Question
Is there a way that we can clear the payment element (that was initialized previously) and re initialize the element again ?

What have you already attempted?
tried to clear the element values ( elements.clear() )

cursive heronBOT
#

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

Question
When dealing with fee's does stripe round fees up? For example I tested an $11 ACH transfer to a stripe connect account and see a fee of .09 which would make be believe the .8% fee rounds up.

Am I correct in this understanding?

If so, is this the same logic for cross-boarder and currency fees as well?

Doc/Guide Links
I don't have any docs to reference for this - n/a

What are you working on?
n/a

cursive heronBOT
#

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

Code
<PaymentElement
id="payment"
// options={{hidePostalCode: true}}
options={{
fields: { billingDetails: { address: { postalCode: "never" } } },
wallets: {
applePay: "never",
googlePay: "never"
},

    }}
  /\>

Question
This is on behalf of stripe connect. My providers are supposed to put their customers card info into the payment element as the card will be in person. Is there any way I can remove postal code entirely? Do I have to setup a payment intent instead of creating a payment method?

IntegrationError: You specified "never" for fields.billing_details.address.postal_code when creating the payment Element, but did not pass params.billing_details.address.pos

What have you already attempted?
NA

#

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

Question
Can products/prices in test mode have the same IDs as sandboxes?

Setting up a Stripe Sandbox for usage and realized we don't have our products and prices there. Our code in the test environment recognizes the IDs from Stripe Test Mode... but if we use sandboxes, would that need separate sets of IDs to manage?

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

What are you working on?
Setting up a Stripe Sandbox

#

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

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

Question
I need to create a way for customers on my platform to pay my company via ACH. I would like to use Plaid's Auth Flow integrated with Stripe's Payment Intent API. My confusion is around what happens when a bank account can't be instantly authorized with Plaid. Does Stripe then initiate the micro deposits, or does Plaid? Where does the customer enter the micro deposit verification details?

What have you already attempted?
I'm still in the discovery phase before making a recommendation to leadership at my company, so I've searched all over the internet and haven't found an answer to this question.

#

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

Question
I want to create a schedule and passing it the line items and relevant data. but it is creating issue.

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
https://docs.stripe.com/api/subscription_schedules/create

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

cursive heronBOT
cursive heronBOT
#

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

Code
i will paste both code files when this starts

Question
using stripe in my sign up process and it taking payment

What have you already attempted?
fixed the issue where i didn,t have a subscrition object and where it was not displaying properly

What are you working on?
a website that has a monthly subscription of 5.99

cursive heronBOT
#

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

What did you expect to happen?
I expected absolutely nothing to happen

What actually happened?
Money randomly appeared in my bank account from stripe but I have no record of a payment

Reproduction Steps
I do not understand this question

Question
Am I allowed to use any of this money? Was this an error? is there any way to see where the money came from?

#

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

Question
Is the Apple Pay iOS certificate needed for web app or just for iOS app? Right now I don't have it on my stripe dashboard.

Related Request ID(s)
None

What have you already attempted?
https://docs.stripe.com/payments/save-and-reuse?platform=react-native&mobile-ui=payment-element&lang=node#apple-pay
Just trying to follow this guide

What are you working on?
Trying to set up future payments of apply pay in web app

cursive heronBOT
#

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

Question
is it possible to retrieve multiple customer subscriptions in one API call? (i mean subscriptions from multiple customers, not multiple subscriptions for one customer)

Related Request ID(s)
n/a

What have you already attempted?
$subscriptions = $stripe->subscriptions->all([
'customer' => $customerIds, // Pass customerIds as a flat array (corrected line)
'status' => 'all',
]);

cursive heronBOT
#

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

Code
<a type="submit" class="button alt" id

Question
There is an issue with the place order button on checkout, Stripe in injecting their own button on checkout. Is this the usual behaviour? And also the click on the button sometimes don't work if you don't add the CC details. Users can still place an order but just wondering if its a known issue and how we can fix that? We really need to use our own button

What have you already attempted?
NA - we need to know if its ruining the functionality on our website

cursive heronBOT
#

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

Question
i have created one connected account and when i create checout.session.create using subscription mode that time i add payment intent data in this but give error this error
Error adding product price or creating session: StripeInvalidRequestError: You can not pass `payment_intent_data` in
`subscription` mode.

so how i impalement payment intent ??

Related Request ID(s)
no

What have you already attempted?
const session = await stripe.checkout.sessions.create({
mode: "subscription",
line_items: stripe_product_price_ids,
customer: existUser[0].stripe_customer_id,
payment_intent_data: {
application_fee_amount: (processing_fee + platform_fee) * 100, // Amount in cents ($5.00) to your platform
transfer_data: {
destination: stripe_account_id, // The connected account ID
},
},
})

What are you working on?
implement payment in chechout.session.create using subscription mode

cursive heronBOT
#

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

Question
I am using create payment intent in two ways

  1. using stripe element
  2. using payment intent api
    If I use stripe element it create with uncatured state with charge data
    If I use payment intent api it is in "incomplete" state with no charge data.
    What is the differnet?

Related Request ID(s)
Payment intent API: https://dashboard.stripe.com/test/payments/pi_3Q2nvIGRhgpj4WEi1NpmTM69

What have you already attempted?
Payment intent API: https://dashboard.stripe.com/test/payments/pi_3Q2nvIGRhgpj4WEi1NpmTM69
Stripe Element API: https://dashboard.stripe.com/test/payments/pi_3Q2ng1GRhgpj4WEi1QFHZDuE

#

@scenic 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/api/checkout/sessions/create

Question
How do I add metadata for each line item when creating a subscription with a checkout session?

What have you already attempted?
I looked into the docs but couldn't find anything, the subscription API allows adding metadata.

What are you working on?
We're creating a subscription with multiple price items. We need to map each subscription item with our internal ID.

cursive heronBOT
#

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

Code
Refer to DiscoverReadersActivity.kt on https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=tap-to-pay&lang-android=kotlin

Question
How do i implement tap to pay on an Android device with flutter / on flutterflow? All the documentations are in Kotlin / Java.

What have you already attempted?

  1. Tried using the flutter packages mek_stripe_terminal and stripe_terminal but it only supports Stripe official terminals.

What are you working on?
Working with an android powered terminal (not from stripe)

cursive heronBOT
#

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

Question
How can I add a URL for failed payment status with the iDEAL Payment Method in the Payment Element?

Related Request ID(s)
Look in https://docs.stripe.com/ > Payments > Payment Element

What have you already attempted?
Added handleSubmit to confirm the stripe payment, and passed the return_url to my success payment page.

What are you working on?
redirect to the pages as per the stripe confirm payment status.

cursive heronBOT
#

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

Question
How to update the price of a particular product on a subscription and the price should be updated at the end of current term cycle and not immediately.

I have used scheduled subscription that have phases so after subscription phases completed and there are no more phases left so should the subscription scheduled need to be updated or just subscription update can be done to update prices

Related Request ID(s)
123

What have you already attempted?
How to update the price of a particular product on a subscription and the price should be updated at the end of current term cycle and not immediately.

I have used scheduled subscription that have phases so after subscription phases completed and there are no more phases left so should the subscription scheduled need to be updated or just subscription update can be done to update prices

What are you working on?
Updating subscriptions

#

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

Question
The customer usage must be counted yearly but the billing should occur monthly according to reached tier.
For example:
Tier 1 : 200 learners over the year = 500€
Tier 1 : 300 learners over the year = 250€
Tier 1 : 400 learners over the year = 200€

- Month 1 the customer issues certificates to 0 learners at the end of the month the bill is 0€
- Month 2 he consumes issues certificates to 200 learners at the end of the month the bill is 500€
- Month 3 he issues certificates to 200 learners at the end of the month the bill is 0€
- Month 4 he issue certificates to 300 learners at the end of the month the bill is 250€

How can I implement this model using Stripe?

Doc/Guide Links
I have been looking at a lot of documentation about product/prices/subscriptions and asking a lot of support here

What are you working on?
I am working on a subscription plan for customers that allow them to issue certificates to a number of learners per year. The subscription plan is usage-based and graduated per tiers.

#

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

Code
I have no code implementation

Question
i zm integrating google pay with stripe using express checkout button ,is there any way to get paymentmethod detail before confirm payment ?

What have you already attempted?
i did not find any way

cursive heronBOT
cursive heronBOT
#

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

Question
I'm trying to figure out if there's a way to pull data from connect accounts connected a connect account I have?

Account x- connect acct y - connect acct z
I would be trying to make API call from connect account x to acct z? can't find anything in the docs thought someone might have an idea.

Related Request ID(s)
none

What have you already attempted?
checking stripe api docs

cursive heronBOT
#

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

Question
I want to trigger a payment_intent.succeeded using cli with metadata, is this possible?
If yes, could you give me the command line?

Related Event ID(s)
11

What have you already attempted?
I want to trigger a payment_intent.succeeded using cli with metadata, is this possible?
If yes, could you give me the command line?

#

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

Question
I didn't receive the email notification when SEPA failed payment but I got the email noti when Card failed

Related Event ID(s)
-

What have you already attempted?
I've checked the setting on my dashboard about the email and they are enabled

What are you working on?
I'm building a website to support 2 payment method that are SEPA and credit card

#

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

Question
Hey. I'd like to get another person's sucesfull payment infos. I would only like to read the customer's name and email. What is the best way to do that, pref. via a webhook?

Related Request ID(s)
n/A

What have you already attempted?
Read through the docs but could not find a good answer to my specific question.

What are you working on?
A simple integration that sends a user a feedback form 3 days after their initial payment. It will have interactional components etc. to gather info/ feedback on the customers. For that I'd need this.

#

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

Question
Can I specify that the fee will be deducted immediately upon the renewal time when creating a subscription? Instead of choosing to wait for an hour

Related Request ID(s)
sub_1Q2UvWHiYvn8ZIkeCADebdXO

What have you already attempted?
no

#

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

Question
Hi ,I would like to integrate payment from bank account for UK ,I am using laravel as a back-end technology and react for front-end.
Please help me the flow of working for achieving this goal.

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

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

Code
if (response.success === true) {
event.resolve();
} else {
event.reject({
shippingRate: [],
});
}

Question
When we receive back an address we validate to see if we support it within express elements. However, we want to be able to update the rates incase they decided to use scotland.

What have you already attempted?
Looked to send an updated shipping array back in resolve method but not supported.

What are you working on?
Building a one page checkout

#

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

Question
I think I might have discovered a bug. In our app we're using Stripe Connect. We have a customer who is trying to onboard a Stripe Connect Express account, but they get an error "an account with this email already exists", even though they haven't signed up on our product before, but use Stripe Connect elsewhere. This would appear as a major issue, since if we get customers that already use Stripe Connect through another app, we cannot onboard them?

Related Request ID(s)
-

What have you already attempted?
Bug og do we need to add something to our API call when calling \Stripe\AccountLink::create()

What are you working on?
Stripe Connect

#

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

Question
I need to communicate with my stripe cli I stripe listen --forward-to
https://localhost:7217/Checkout/webhook
--skip-verify
> Ready! You are using Stripe API Version [2024-06-20]. I added the whec secret to my controller..The I executed command stripe trigger payment_intent.succeeded but in my dotnet backend I didnot get any logs.Also I checked on adding breakpoints but they did not hit properly.

Related Event ID(s)
sd989

What have you already attempted?
I read the stripe documentation and watched a youtube video

What are you working on?
Webhooks integration for our company application

cursive heronBOT
#

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

Question
We are listening two events via webhook for connected account checkout.session.completed ,
payment_intent.succeeded. We want to enable anonymous checkout session where customer email , is captured in stripe checkout form, from our tests we can see the customer data is only available in checkout.session.completed and not in payment_intent.succeeded.

Related Request ID(s)
https://dashboard.stripe.com/acct_1P6poOCmy7Y9JsVS/test/events/evt_1Q2sHQCmy7Y9JsVSOIU4wNfD

What have you already attempted?
I wonder is it enough to enable premium access only based on webhook event of checkout.session.completed and not wait for payment_intent.succeeded. Event order is that guarantied (i don't think so) for example payment_intent.succeeded will only happen after ses complete.

What are you working on?
Anonymous users should be able to buy content and we need to enable content by checkout session id the first time, then store the mail and enable view by mail

#

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

Code
val config2 =
ConnectionConfiguration.LocalMobileConnectionConfiguration(
ticket!!.locationId.toString(),
autoReconnectOnUnexpectedDisconnect = true
)

                    Terminal.getInstance\(\).connectLocalMobileReader\(
                        reader,
                        config2,
                        object \: ReaderCallback {

Question
I'm trying to test tap to pay with a real contactless transaction. I was able to test tap to pay simulating the contactless transaction, but when I change the parameter of this function to false ( val config: DiscoveryConfiguration =
DiscoveryConfiguration.LocalMobileDiscoveryConfiguration(false), I get this error: com.stripe.stripeterminal.external.models.TerminalException: No such location: '136147'

What have you already attempted?
I've tried to switch the parameter of this function DiscoveryConfiguration.LocalMobileDiscoveryConfiguration and only works if it's true. I'm also trying to build the app with a release variant.

What are you working on?
I'm implementing the Tap to Pay solution using the Android app

#

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

Question
I'm experimenting stripe connect and following error was received when creating a payment intent with `payment_method_types=["card", "afterpay_clearpay" ],

Error message: stripe._error.InvalidRequestError: Request req_qOj5LvOkcfUrhK: The currency provided (aud) is invalid for one or more payment method types on this PaymentIntent. The payment method type afterpay_clearpay only supports the following currencies: nzd. Either correct the provided currency, or use a different PaymentIntent to accept this payment method type.

Related Request ID(s)
req_qOj5LvOkcfUrhK

What have you already attempted?
For nzd it works fine. But with aud I'm getting this error.

cursive heronBOT
#

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

Question
What is the best practice to give some free-days to an an active subscription with prorations.

I had looked into using subscription schedule with two phases with the initial phase giving trial and the next phase resuming the active subscription plan and releasing the subscription post-phase two.

Doc/Guide Links
- https://docs.stripe.com/api/subscription_schedules
- https://docs.stripe.com/billing/subscriptions/subscription-schedules

What are you working on?
Building a user re-engagement engine

#

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

Question
I am working in Java Spring.
I'm trying to Retrieve a Payout Object for a Stripe connect account. I am calling Payout.retrieve(payoutId, requestOptions), where I have set the StripeAccount field of requestOptions to the correct stripe connect account id. However, when i run this, it returns no payout found.

However, When i run Payout.list, the payout object does exist, and when i run it in Postman with the payoutId and Stripe-Account field set, it returns the payout object,

Related Request ID(s)
-

What have you already attempted?
I've already attempted to use all overloaded methods of Payout.retrieve

#

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

Code
stripe.customers.listTaxIds(customerId!)

Question
Is there anyway to fetch the customer Tax Id which will be on invoices ?

What have you already attempted?
I checked out tjhe customer object

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

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

Code
we user direct charge api code, we have screen shot for it.

Question
collected fees is not coming in payment information section for connected account

What have you already attempted?
We didn't find anything related to it in stripe documet.

#

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

Question
I have two queries

  1. I am using checkout session api with `payment_intent_data.capture_method : "automatic_async"` and using webhook event checkout.session.async_payment_succeeded to fulfill payments on our system. But I in stripe dashboard checkout.session.async_payment_succeeded events are not triggered.

  2. We have subscriptions for our connected accounts. And their first payment happened on September 1st and we are using invoice webhook events. they work in test mode but not in live mode.

Related Event ID(s)
for query 1, evt_1Q2tlNQSQWqMMH1bPpEU1PFp in test mode. It only triggers event for session.completed not async_payment_succeeded

What have you already attempted?
We have enabled the webhook events on stripe dashboard

#

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

Question
Link Express checkout button doesnt show up

Related Request ID(s)
N/A

What have you already attempted?
const expressCheckoutOptions = {
layout: {
overflow: "never"
},
paymentMethods: {
applePay: "always",
link : "auto"
},
buttonHeight: 45,
paymentMethodOrder: ["google_pay", "apple_pay", "link"]
};

#

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

Question
Im trying to add BACs payments to my application, I have added it to a test connected account, and when creating payment intent automatic_payment_methods : {enabled: true}
but the available payment methods is still only card

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

What have you already attempted?
Added the BACs capability to connected account

#

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

Question
How can I track when a month has passed and renew user quotas if they pay annually for a subscription? They only pay once a year, but the quotas need to reset monthly. What would be the best approach to implement this logic?

Related Event ID(s)
don't have now

What have you already attempted?
ask chat gpt 😄

What are you working on?
SaaS boilerplate with subscription handling

#

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

Question
How can I test for payment failure in card and other payment methods like iDEAL, Bancontact, and EPS of the Payment Element?

Related Request ID(s)
Test for paymentIntent failure status

What have you already attempted?
I have added the redirection to success and failure according to the paymentIntent status.

What are you working on?
Testing for paymentIntenet with failure status

#

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

Question
How can I test the auto retry credit card failed payment

Related Request ID(s)
-

What have you already attempted?
reading the doc but couldn't find the answer

What are you working on?
would like to change the status in firestore to inactive if attempt_count is 2 so would like to know how to test the auto retry credit card failed payment

cursive heronBOT
#

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

What did you expect to happen?
We utilise Stripe React Native SDK Payment Sheet - up until yesterday the Google Pay button worked perfectly. However, from today (25th Sept) the Google Pay button is press-able, but doesn't do anything. We'd expect the Google Pay popover to appear.

https://pasteboard.co/2ELc3K31L6pT.jpg

What actually happened?
Nothing, the Google Pay popover fails to appear.

Reproduction Steps
N/A, nothing has changed within our application. Our PaymentSheet config is simply:

      googlePay\: {
        merchantCountryCode\: 'GB',
        testEnv\: false, // use test environment
      },

Question
Why would Google Pay suddenly stop functioning on React Native SDK.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://plaid.com/docs/auth/partnerships/stripe/

Question
Follow-up question to the thread here:

#dev-help message

In the Plaid / Stripe integration doc that I linked, Plaid claims to be able to support authorization for the PaymentIntent API. But in the thread from yesterday, I was told the Plaid Auth for ACH is deprecated/legacy and will not be supported at some point in the future. Is the Plaid doc wrong about the Stripe integration?

What have you already attempted?
I read a lot of documentation on both Stripe and Plaid about ACH verification / charges.

cursive heronBOT
#

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

Question
I wanted to know what the difference is between creating a subscription using Checkout.Session and Mode = "subscription" or using the Subscription object and SubscriptionService

Related Request ID(s)
It is not a specific request

What have you already attempted?
I tried to create it with Checkout.Session, but I don't know if it's the right way and if it will be an active recurring subscription

What are you working on?
I'm migrating to stripe so that customers can enter their payment details in onboarding and create a recurring subscription right away

#

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

Question
How to handle retry SEPA failed payment

Related Request ID(s)
-

What have you already attempted?
reading document and found that there is the auto-retry payment only for credit card

What are you working on?
want to implement the retry SEPA failed payment after 3 days

cursive heronBOT
#

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

Code
class=TerminalSession (Ask Gemini)
com.stripe.stripeterminal.external.models.TerminalException: com.google.firebase.perf.config.RemoteConfigManager
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.checkAndThrowCotsError(CotsAdapter.kt:464)

Question
I'm getting this exception and I don't know why. I'm trying to test Tap to Pay on Android with the live mode. I think the exeception is from this method: Terminal.getInstance().discoverReaders

What have you already attempted?
I don't know what to try. I tried using release version of the app.

#

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

Question
I am looking to enable just microdeposits (e.g. have user manually enter bank account info). The tech stack is React and Springboot. Our current setup is that our frontend calls our backend which creates a SetupIntent. On the SetupIntent I am setting the verfication_method to be microdeposits. Once the SetupIntent has been created successfully, the client secret is sent back to the frontend. The client secret is then passed to the Elements wrapper via the options prop. Now when I open the form it shows up banks, where as before the form displayed card and us bank account payment methods.

Related Request ID(s)
req_UuiLJyOTjCiiEk

What have you already attempted?
I followed the Enable Financial Connections docs https://docs.stripe.com/financial-connections/ach-direct-debit-payments#enable. Using this space to provide additional context. We're using the Payment Element, and upon submit I am confirming the SetupIntent and then handling the statuses.

What are you working on?
Enabling just microdeposits for ACH payment method

cursive heronBOT
#

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

Code
https://jsfiddle.net/rt5kgcha/

Question
How to make the floating label .Input from the Payment Element use the correct line-height? When I set it to 16px, it is rendered with 20px.

What have you already attempted?
If I set the fontSize to 12px it is rendered as 15.5px, which is close enough, but then the font is smaller than what I need. In another thread that was closed, devs from Stripe said using `fontLineHeight: '1'` would fix it, but it doesn't. Even in the example they sent (the code above) it doesn't work.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/customers/create?lang=curl#create_customer-tax_id_data-type

Question
I want to add the tax ID, but I can't find a key-value list of tax_id_data.type to add it to the front end of our site so that our clients can provide this information.

What have you already attempted?
So far, I have only found the list of values.

#

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

Question
I am creating memberships, in the 1st yr the cost of any of the plans is 50% off, and this is working just fine. I want the user to be able to upgrade within that year & be able to prorate, & this is also working fine but i'm not having any luck in charging the user the correct amount when upgrading to the next membership. Example a user wants to enroll in a plan that normally cost $1000 / yr but the 1st yr this will cost $500, now lets say that within the yr that user wants to upgrade to the next plan up which is a custom plan & the user has the flexibility to add users, admins & locations

Related Request ID(s)
req_970WzsNA9fMx1n

What have you already attempted?
I have tried using a checkout session for subscriptions, also tried it with discount, update a subscription item

What are you working on?
I am working on creating memberships.

#

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

Question
I am trying to calculate LTV of customer using the API. Is the correct object to use charges or invoices? After a charrge object is paid, can it be refunded or does a new charge object get created for the refund? There is no updated_at value that I can find.

Related Request ID(s)
N/A

What have you already attempted?
I've read the docs for charges and for invoices. My approach is to use the charge search API to get the charges that have not failed and use those to calculate.

What are you working on?
I am a developer at Canny. We would like to surface this data to our marketing team.

#

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

Question
Is it possible to remove fields from the hosted onboarding? It asks for both company registration number and VAT-number, but in Denmark this is the same number.

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Building a marketplace app

#

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

Question
I want to know if an intent from a user for updating their subscription plan (quantity/price) was successful or not. I'm using

stripe.billingPortal.sessions.create

and it currently allows only return_url. But, just like in checkout API, I need success/cancel urls as well. How else can I configure this myself?

Related Request ID(s)
configuration ID: bpc_1Q1tgRIroE9a6cxWlI77Aibr

What have you already attempted?
I just tried to configure the return_url using my own database and webhooks. But, somehow it's not optimal and reliable

cursive heronBOT
#

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

Question
How do I avoid link being used by default when stripe checkout page is prefilled with an email address?

Related Request ID(s)
n/a

What have you already attempted?
If you prefill the user's stripe email in the checkout page it tries to use link right away, so if someone knows someone else's email they can use that and then that person gets a text.

#

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

Question
im trying to change my old phone number to my new phone number but I cannot access my account without my old phone number?
please help

Related Request ID(s)
account

What have you already attempted?
everything, I've even talked with someone on the phone and they said someone would email me but no one has and no one is responding to my emails anymore.

What are you working on?
trying to stream on kick again

#

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

Question
Good morning. I would like to create a quarterly subscription plan where the 2nd quarter is free, eg:

So the payment schedule would be
1st Q - $287
2nd Q - free
3rd Q - $287
4th Q - $287
5th Q - $287
6th Q - $287
etc....

Is this possible with trial periods? The best I can think of would be to have a separate one time payment product, then a 2 quarter trial period on a quarterly subscription, but this would send confusing customer receipts. Is there a better way to achieve this?

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

What are you working on?
Digital product subscription service on HubSpot

#

@polar hedge pressed 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-terminal-react-native

Question

  1. The docs say RN Terminal SDK supports iOS 13 and higher, but are there any phone restrictions, or just strictly iOS version based
  2. Does this version also support iPads on v13 or above

What have you already attempted?
Looked for clarity in the docs

What are you working on?
react native terminal build in iphone and ipad

#

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

What did you expect to happen?
While testing in the test environment, we use address_line1_no_match token when creating a Stripe Connect Account to test verification failure cases. We expect charges and payouts to be disabled on the account

What actually happened?
Charges and Payouts were enabled on the account

Reproduction Steps
Create a Stripe Connected Account with the following address for the business and legal representative:

Line1: address_line1_no_match
City: San Francisco
State: CA
Zip: 94107

Question
This seems like unexpected behavior, based on documentation: https://docs.stripe.com/connect/testing#test-validation-addresses

What are you working on?
We were running regression tests on our Stripe Verification integration

cursive heronBOT
#

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

Code
latest_charge = intent.latest_charge
if latest_charge and latest_charge.balance_transaction:
balance_transaction = stripe.BalanceTransaction.retrieve(
latest_charge.balance_transaction, stripe_account=account_id
)
balance_transaction_status = balance_transaction.status
available_on = datetime.datetime.fromtimestamp(
balance_transaction.available_on
)

Question
The documentation around payout seems to state that the funds for a payout from my payments balance to a stripe treasury account should be available on n+1 or n+2 days from charge capture. When running this code the available on is 6 days from now. Is this a test mode oddity or what is to be expected?

What have you already attempted?
N/A

#

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

Code
{
"id": "com.disputes.safe-charges",
"version": "0.0.9.1",
"name": "safe-charges",
// ...
"stripe_api_access_type": "oauth",
"distribution_type": "public"
}

Question
I have made a Stripe App and uploaded with a public distribution. How do I update it after? Running `stripe apps upload` again fails since you can't upload two identical app IDs. Or is there a way to delete it and re-upload it?

I might be missing something here since I am not the original developer who built the current version of the app. Any help is appreciated!

What have you already attempted?
Tried re-uploading it with the same id but failed.
Tried looking for a way to delete the app and re-upload it but couldn't find an option.

#

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

Question
Facing issues in updating a scheule

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
https://docs.stripe.com/api/subscription_schedules/update

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

#

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

Question
Got the error when trying to edit the webhook
Invalid enabled_events[145]: must be one of account.application.authorized, account.application.deauthorized, account.external_account.created, ...failed, topup.reversed, topup.succeeded, transfer.created, transfer.reversed, transfer.updated, or

Related Event ID(s)
we_1LrjOSEtzJLzN4BfxsQqqUkk

What have you already attempted?
Got the error when trying to edit the webhook

What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment

Question
We are using Stripe's Payment Element and want to add the Express Checkout but part of our checkout has custom questions that the Express Checkout will never collect. What is the right way to deal with that? Ideally we'd collect all the details that the Express Checkout doesn't provide prior to starting that process.

What have you already attempted?
I did a POC locally to see how the process worked. It answered one of my questions (requiring certain fields).

What are you working on?
We're a ticketing platform that already uses the Payment Element with Connect.

#

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

Question
I was on a previous thread earlier with Pompey and basically I am trying to get the user to be able to Subscribe to memberships using a 50% discount within the 1st 12 months. If the user has a membership and paid $500 (regular price $1000) and then later within the year wants to upgrade to another plan using prorations i want the user to pay for the proration.

Related Request ID(s)
req_QI3HIZy0aCgSrg

What have you already attempted?
i created a coupon where it applies a 50% discount and it can be used within 12 month. Using a checkout session with the discount applied to it.

What are you working on?
creating memberships

cursive heronBOT
#

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

Code
$eltoken=$stripe->tokens->create([
'card' => [
'number' => $creditcard,
'exp_month' => $month,
'exp_year' =>$year ,
'cvc' => $cvc
],
]);

     $customer = $stripe\-\>customers\-\>create\(\[
         'description' =\> $nombte,
         'email' =\> $email,
         'source'=\> $eltoken
         //'payment\_method' =\> 'pm\_card\_visa',

]);

Question
I have a question about Stripe. It is asking me for account tokenization, and I'm not sure how to do it in my code. It says the following: 'Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing, use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. If you are qualified to handle card data directly, see https://support.stripe.com/questions/

What have you already attempted?
3

What are you working on?
I'm trying to integrate another stripe account but doesn't work

cursive heronBOT
#

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

Question
Your card was declined. Your request was in live mode, but used a known test card.

Related Event ID(s)
none

What have you already attempted?
Create new webform for Legal Ads

What are you working on?
Building Gravity Form Payment

#

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

Question
I'm trying to figure out if some behavior I'm seeing is expected. I'm trying to create a subscription with collection method "charge_automatically" while also preventing invoice auto advancement.

Immediately after creating the subscription, I get the latest invoice and set auto_advance = false, but Stripe goes on to create a payment intent and finalize the invoice anyway, so auto_advance does not seem to have any effect.

Related Request ID(s)
req_ss9i5EKioQvB8b

What have you already attempted?
subscription.payment_behavior = "default_incomplete"

subscription.collection_method = "charge_automatically"

invoice.auto_advance = false

What are you working on?
Managing subscription payments outside of Stripe.

#

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

Question
Should I be providing an amount when creating an application fee refund or does it implicitly refund the remainder using the ruby sdk. Unclear from the docs

Related Request ID(s)
none

What have you already attempted?
Docs give the example Stripe::ApplicationFee.create_refund('fee_1B73DOKbnvuxQXGuhY8Aw0TN')

https://docs.stripe.com/api/fee_refunds/create?lang=ruby

Params provided don't match those provided in the ruby example so it's unclear what the actual expected params/behavior is.

cursive heronBOT
#

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

What did you expect to happen?
We're trying to charge a saved payment method (which happens to be saved using Apple Pay)

What actually happened?
Stripe returns error "invalid_cvc" provided and displayed incorrect expiration date than what's displayed in the Apple wallet.

Reproduction Steps
fetch setup intent from the server > render payment flow controller > authorize apple pay > save payment method object to customer > charge the saved payment method > throws an error "The bank returned the decline code invalid_cvc"

Question
Is our approach bad? Saving an Apple Pay payment method to use for later. We use this for manual card input and this works perfectly fine.

What are you working on?
Bubbl.so - ticketing platform processing more than $1.6M per month in purchases using Stripe

#

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

Question
I want to automate the pulling of a report (in this case `payout_reconciliation.itemized.5` ) using the .NET SDK. I'm using the ReportRunService and can select the columns I need in the `ReportRunParametersOptions` object, except that I don't know how to include metadata keys. In my case I only need to pull a specific one of these, but pulling all of them is OK. Does the method support this somehow or do I have to pull the metadata fields separately such as by using the ChargeService?

Related Request ID(s)
N/A

What have you already attempted?
Reviewed doc https://docs.stripe.com/api/reporting/report_run/object#reporting_report_run_object-parameters

#

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

Question
Created an OAuth for 3rd party to tie their Stripe acounts to mine, so I can create Checkout sessions on behalf of the users while retaining a application_fee_amount, now Stripe is treatening to close my account b/c of "cannot receive payment by aggregation or funds grouping" and suggesting me to use Stripe Connect. I am already using Stripe Connect and creating checkout sessions on the Connect Accounts, whats going on? How should I be creating the checkout sessions?

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges

What are you working on?
A marketplace for communities on Telegram

#

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

Question
Why does collect_payment_method return Unrecognized request url

Related Request ID(s)
req_JPFzieCfibl2Gu

What have you already attempted?
Test vs live accounts
different API versions

What are you working on?
Handoff payment intent to reader

#

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

Code
customer = stripe.Customer.retrieve(charge.customer)
province = customer.address['state']

Question
The stripe API (accessed via python) sometimes doesn't have the province/state for my customers. I can see the information under automatic tax calculation on the stripe dashboard so I know it's somewhere.

What have you already attempted?
I've tried getting the province/state from invoices the customer has paid, but it is not there either. So far my work around is to use the postal code and match it to the province that uses that postal code prefix.

What are you working on?
Trying to generate a CSV report for quickbooks tax filing.

#

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

Question
Created an OAuth for 3rd party to tie their Stripe acounts to mine, so I can create Checkout sessions on behalf of the users while retaining a application_fee_amount, now Stripe is treatening to close my account b/c of "cannot receive payment by aggregation or funds grouping" and suggesting me to use Stripe Connect. I am already using Stripe Connect and creating checkout sessions on the Connect Accounts, whats going on? How should I be creating the checkout sessions?

Related Request ID(s)
ch_3Q31HWANib3aDdaA086l7s6c

What have you already attempted?
Currently creating a checkout with \Stripe\Checkout\Session::create on the Connect Account behalf and specifying a application_fee_amount. How should I do it to create it with Connect?

What are you working on?
A marketplace

#

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

Question
I'm looking to implement a Payment Link, however, it's set as "Customer Chooses" for the amount. I'd like to prefill the amount value for this payment link based on a URL parameter or something similar, but that doesn't seem possible. What's the best practice for something like this? It's a donation system so the pricing will vary constantly. I don't mind implementing something around the API if this could simplify it, however, just having the payment link would be nice for this use case.

Doc/Guide Links
https://docs.stripe.com/payment-links/customize

What are you working on?
Website wedding registry

cursive heronBOT
#

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

Question
API call failing for customer object creation because a `+` appears in the email address. How should I format the request for it to work?

Related Request ID(s)
req_loITfSXSq9T8nB

What have you already attempted?
n/a

#

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

Question
I need help in updating schedules.

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
https://docs.stripe.com/api/subscription_schedules/create

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

#

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

Question
One can specify 'payment_behavior' when creating a Subscription via API but that's not possible when creating a Subscription Schedule. Why?

Related Request ID(s)
N/A

What have you already attempted?
When you create a Subscription via API using `payment_behavior="default_incomplete"`, the Subscription starts in "incomplete" status if the first Invoice requires a payment.

The Subscription Schedule API does not support that parameter. When you create a Subscription Schedule via the API, it also creates a Subscription and an Invoice. The Subscription starts in "active" status even though the Invoice requires a payment.

I have attempted to pass `payment_behavior="default_incomplete"` as a parameter when creating the Subscription Schedule, but the request fails.

What are you working on?
Collecting payments on behalf of customers.

#

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

Question
I have a product with starter package and it has these requirements. What's the correct way to implement it in stripe?
Platform Cost: X USD (billed at the start of the month)
Per User: X USD (billed at the end of month)
Environment Cost: depend on the number of units. per unit X USD (billed at the start of the month)

Related Request ID(s)
Dashboard > Products

What have you already attempted?
If I create a single product with multiple prices - on the checkout and billing portal the product name is repeated which can confuse the users.

If I create multiple products for each of the part (platform, per-user), then again it will all show up as different products (not a single package).

Ideally I want to a single starter package where it has the above breakdown so the user knows that they are a subscribing to a single package with the given breakdown.

Does stripe provide any way to achieve this?

#

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

Question

  1. I need to append the data from a custom field to the automatically generated receipt. Is there an event type I can respond to with a webhook? What object that upon updating, will display the new information on the receipt?

  2. I need to add a single custom field which holds a person's name. This is stored in the Checkout Session. Is the "checkout.session.completed" event the correct one to respond to with a webhook?

Related Request ID(s)
req_ypR4yfMm1JmcFb

What have you already attempted?
From the documentation it states that the description of a charge can be updated to display information on the receipt. However, when updating the charge's description, there is no change to the generated receipt.

What are you working on?
A donation payment link for Makami College's Educational Foundation

cursive heronBOT
#

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

Code
I am trying to test payments with Klarna using the test values provided on the docs and I am getting a country mismatch error

Question
I am trying to test payments with Klarna using the test values provided on the docs and I am getting a country mismatch error

What have you already attempted?
I tried different test values but got the same error

What are you working on?
Custom Connect - On behalf of - Destination charges

#

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

Question
I accidentally rolled our production stripe key in production when trying to set up a new developer account in Stripe's dashboard. I thought I was rolling his key, not the production one.

My team would like to prevent this from accidentally happening again since it took down our production, users could not checkout a product.

Developers still need to be able to hook up their local machines to stripe to receive events in the test environment, so they need access to the test api keys (I think).

What's the best practice for restricting access to the production API key? We don't need all developers to have access to it.

Doc/Guide Links
https://docs.stripe.com/keys-best-practices

What are you working on?
Telecom Company (Mobile Phone carrier)

#

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

Question
We've started noticing that some invoices will fail for different reasons and different webhooks are triggered.

For example, `charge.failed` is triggered sometimes but not all the time, `payment_intent.canceled` seems to be triggered sometimes, maybe all the time?

I'm trying to figure out which webhook(s) I should listen to in order to catch as many failure cases as possible.

Related Event ID(s)
evt_3PzVEIE3c9sWyeru04DssbEj, evt_3PzVEIE3c9sWyeru032t1oXR

What have you already attempted?
I'm currently listening for `charge.failed`

What are you working on?
Working on a subscription sync feature that will keep our subscriptions up to date with data in Stripe.

cursive heronBOT
#

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

Code
Trying to design a subscription with the first month free, is this the best way to calculate the timestamp for 1 month in the future or does the Stripe SDK have a function I can use?

const afterOneMonth = new Date(); afterOneMonth.setMonth(afterOneMonth.getMonth() + 1);

Question
is this the best way to calculate the timestamp for 1 month in the future? Does the api have a way to specify 1 month in the future?

What have you already attempted?
Reading the docs

cursive heronBOT
#

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

Question
Hi All,
I am trying to look for webhook failures, so am using
/v1/events?delivery_success=false&limit=100
but the account has more than one webhook on it.
I can not find a way to find which webhook has had the failure/pending event. Does any one know what property to expand to get the related webhook for the failure?
Thanks
Tim

Related Request ID(s)
none

What have you already attempted?
Read the documents, looked through the postman collection got stuck.

What are you working on?
A stripe integration with NetSuite

#

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

Question
Is there a way to be able to specify the charge description on an invoice or payment intent, before the charge has been created?

Related Request ID(s)
N/A

What have you already attempted?
We have some of our users trying to use the Xero reconcilitation integration with Stripe complaining because the charge descriptions are generic, yet we do update them after they have been created, but they don't get sent though to Xero in most cases (I believe this maybe to do with the race condition of whether we can update the charge description before it is sent to Xero by Stripe)

What are you working on?
B2B eCommerce Marketplace

cursive heronBOT
#

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

Question
During Session Checkout
before it we are able to pass all countries when we are using affirm but after 2 days ago I did new deployment on server, and throwing error you can pass only allowed country

Related Request ID(s)
https://dashboard.stripe.com/settings/payment_methods?

What have you already attempted?
After 2-3 attempt, for same code it is automatically creating the session checkout

What are you working on?
We are using multiple countries and multiple payment method types

#

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

Question
Is it possible to pass the cc processing fee to the customer?

Related Request ID(s)
payment api

What have you already attempted?
Im not sure where to look on stripe.com to change it.

What are you working on?
Transiting to CC only payments for my business

cursive heronBOT
#

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

Question
Should you use:

A. Stripe-Should-Retry header
B. Catch 429 exceptions

to determine whether to retry a stripe call in your backend?

Doc/Guide Links
https://docs.stripe.com/rate-limits#handling-limiting-gracefully

https://docs.stripe.com/error-low-level

What are you working on?
Looking to make essential payment calls (which should never fail, in theory) robust to intermittent failure

cursive heronBOT
#

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

Code
{
"object": {
"id": "pi_3Q31SaJtLVBwQzys061HZDn2",
"object": "payment_intent",
"amount": 9600,
"amount_capturable": 0,
"amount_details": {
"tip": {
}
},
"amount_received": 0,
"application": "ca_OQ76XiOw2bvQprcp6uQt0bmFEZPs1BCU",
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3Q31SaJtLVBw

Question
Recently I have had multiple transactions that were not completed, and the timeline shows:
3DS authentication attempt not completed
The cardholder started 3DS authentication but did not complete it.

PaymentIntent status:
requires_action

Shown in abandoned checkout in Shopify:
Error from Stripe Card Payments - The 3-D Secure authentication failed. Please contact Stripe Card Payments for more information.

What have you already attempted?
I didn't attempt anything since I have no idea how to resolve this problem

What are you working on?
I am using stripe for my shopify store

cursive heronBOT
#

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

Question
We have a couple of questions about enabling 3D Secure on our platform.

- You can specify optional `return_url` on Payment Intent which changes 3DS behaviour (popup vs redirect). Is it ok not specify the url if we plan on using the Stripe JS to handle the payment intent next action (using `stripe.handleCardAction(clientSecret)`)?
- The `request_three_d_secure` param supports `any` or `challenge`. If we use the `any` as opposed to `challenge` does that have any sort of impact on the liability shift during disputes?

Doc/Guide Links
Flow we are implementing: https://docs.stripe.com/payments/payment-intents/upgrade-to-handle-actions

What are you working on?
We are working on enabling 3D secure on our platform.

cursive heronBOT
#

@sacred 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
Stripe checkout with selecting different country

Question
We have integrated stripe payment gateway now we are trying to add localized payment methods.While creating a payment intent it is required to pass amount & currency, based on currency localized payment methods are getting decided. We have an interface where event has single curreny, it can be any currency. Whereas while doing a event registrations, as per registrants country the payment methods should be listed.If event has set its currency as INR & registrant has selected country as US then payment methods should be listed as per regiistrant country but payment should happen is INR.

What have you already attempted?
I tried to pass automatic_payment_methods , currency and amount to creating payment intent.

cursive heronBOT
#

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

Code
https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#save-payment-methods

Question
I am Able to See Saved Payment but not able to Detect the saved Card

What have you already attempted?
As Given In doc I tried But Not Working

Detect the selection of a saved payment method
To control dynamic content when a saved payment method is selected, listen to the Payment Element change event, which is populated with the selected payment method.

checkout.js

paymentElement.on('change', function(event) {
if (event.value.payment_method) {
// Control dynamic content if a saved payment method is selected
}
})

#

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

Code
const configuration = stripe.billingPortal.configurations.create({});
const session = await this.stripe.billingPortal.sessions.create({});

Question
I want to update the user subscription amount using session. Subscription Update Successfully. I want to update the metadata of the existing subscription.

What have you already attempted?
I search bit found nothing

cursive heronBOT
#

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

Question
I have to restricted keys with the prefix `pk_live` - what is this one for?
"CLI Key" is written. What does this mean?

Related Request ID(s)
-

What have you already attempted?
Looking through the docs, but didn't find anything

#

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

Question
Urgent Request for Solution to Multiple Subscriptions Issue

Dear Stripe Team,

I hope this message finds you well. I'm reaching out to seek your urgent assistance in resolving a significant problem we've encountered with our subscription model.

Our Business Context

We are on the verge of a venture capital investment from a firm that exclusively invests in B2B SaaS companies. Our investment rounds range from $10 million to $80 million for companies planning global expansion. Addressing this issue is critical for us, and we believe it affects many other SaaS companies as well.

...

Related Request ID(s)
none

What have you already attempted?
no function

What are you working on?
NO MAN Venture Capital

cursive heronBOT
#

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

Question
What are best practices for payment links? Can they be updated? Or should I inactivate and create a new one when an order is updated? Another question would be... is there a "limit" on how many payment links we can create? Would it be ok for every order in our system to have a payment link attached to it which we'd update every time the order is updated?

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

What are you working on?
Property Management System

cursive heronBOT
#

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

Question
I created invoice, added required parametres to them, add invoiceItem, and i paidIt with out_of_band parameter and then sended it to customer. Ivoice said that this is paid, but amount to paid said diffrent, how to change this

Related Request ID(s)
Invoices

What have you already attempted?
Everything about invoices

What are you working on?
Mobile application

cursive heronBOT
#

@arctic oxide pressed the 📚 Doc or 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/invoice-rendering-template

Question
Hi,
I am trying to put a tax ID below the address of the "Bill to" in the invoice.

What have you already attempted?
I tried with custom invoice templates, I added custom fields but the position of the filed is on the top left and I would rather like it below the Bill to address. Can you help me please and is it possible at all? Thank you

#

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

Question
In a test, I am using a test clock with
```
clock = TestClock.create(frozen_time=now_dt)

# attaching clock to customer
...

advancing_clock = clock.advance(frozen_time=now_dt + timedelta(days=15))

while advancing_clock["status"] == "advancing":
time.sleep(1)
```
but this runs forever... How can I wait for the clock to advance to a certain point in time?

Related Request ID(s)
clock_1Q3DLlH2GG3UYmlxDoOBt2Fp

What have you already attempted?
If I remove the time sleep loop an go straight ahead to do my testing ops (`stripe.SubscriptionSchedule.modify`), the Stripe API complains with
```
E stripe._error.RateLimitError: Request req_k7ci8QI6cnMMnR: Test clock advancement underway - cannot perform modifications: clock_1Q3DbbH2GG3UYmlxGjsIr5g3

```

What are you working on?
integration testing with schedules

#

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

Question
I have created the connected account in stripe, with capabilities enabled, after that i made changes to the connected account details such as update phone number, still transfers: active, "requirements": {
"currently_due": [],
"errors": [],
"past_due": [],
"pending_verification": []
},
but when i make payout it send me the error
This account requires further intervention to perform certain actions. Stripe will have recently reached out to resolve this.

Related Request ID(s)
n/a

What have you already attempted?
tried accounts.retrieve method.

What are you working on?
stripe connected account

#

@sacred 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
Stripe checkout with selecting different country

Question
We have integrated stripe payment gateway now we are trying to add localized payment methods.While creating a payment intent it is required to pass amount & currency, based on currency localized payment methods are getting decided. We have an interface where event has single curreny, it can be any currency. Whereas while doing a event registrations, as per registrants country the payment methods should be listed.If event has set its currency as INR & registrant has selected country as US then payment methods should be listed as per regiistrant country but payment should happen is INR.

What have you already attempted?
I tried to pass automatic_payment_methods , currency and amount to creating payment intent.

What are you working on?
I tried to pass automatic_payment_methods , currency and amount to creating payment intent.

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/api/checkout/sessions

Question
How to collect customer's name on Stripe checkout?

What have you already attempted?
https://stackoverflow.com/a/63985082

What are you working on?
I want to collect customer's email and name from the checkout.session.completed webhook. I am able to collect the email but not then name.

#

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

Question
I am trying to update the payment_method_types of a payment intent. Specifically, I would like to include google_pay and apple_pay. However, when I attempt this, I encounter the following error:

"The payment method type 'apple_pay' is invalid. Please ensure the provided type is activated in your dashboard."

Is it possible to update the payment intent with either of these methods? If so, could you provide guidance on how to resolve this issue?

Related Request ID(s)
req_lQItjqtFXJyZ2u req_7s4MYZIL4R244O req_89olUkjf4Ug70V req_XOj457OVRABR7o

What have you already attempted?
As described in the question, I have been trying to pass google_pay and apple_pay to the payment intent, but it is not working.

We have tested this with both my account and the production account (where users are already successfully making payments using these methods, and automatic_payment_methods is enabled), but we are still encountering the same issue.

What are you working on?
I'm using TypeScript with the Stripe library. The idea was to remove the payment method selection buttons from Elements, so that regardless of the available options, users always see the same buttons

#

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

Question
In the web dashboard, I see the transactions that are related to this payout. But how can I get to this, by API?

Related Request ID(s)
po_1Q36GXLduVV48b8gx4G6tYse

What have you already attempted?
The payout and balance transcation don't include the references, but that are the single object id's I receive...?

What are you working on?
I created a webhook for payout.paid to be able to mark the invoice paid, within the payout, in our system. As we are not using the bills in stripe.

#

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

Question
Hi. I’m using a setup intent to add a card for a customer (customer of Connected acc). On the backend, I create the following:

await this.stripe.setupIntents.create(parameters, { stripeAccount: stripeAccountId })

and return the clientSecret to the frontend. The frontend uses this secret to render the payment element and add the card. After the card is added in Stripe, our API receives the card metadata through Stripe’s webhook and saves it in the database.
For this flow, I need to restrict the card brands that can be added, for example, to prevent adding Discover cards.

What is the best way to achieve this?

Doc/Guide Links
https://docs.stripe.com/api/setup_intents
https://docs.stripe.com/payments/payment-method-rules

What are you working on?
SaaS platform. We use platform account and related Standard Connected accounts

cursive heronBOT
#

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

Question
The stripe dashboard shows the billing method for a subscription as `Charge default payment method` however, the subscription object has `default_payment_method` as `null`. Im using the subscription object to charge the customer via the default payment method for payment intents.

Related Request ID(s)
no

What have you already attempted?
```
await stripeClient.paymentIntents.create({
customer: customer_id,
amount: costOfChangingSubscription,
currency: subscription.currency,
confirm: true,
payment_method: subscription.default_payment_method as string,
automatic_payment_methods: {
enabled: true,
allow_redirects: 'always',
},
return_url: `${process.env.WEB_APP_ROOT_URL}/payment/success`,
metadata: {
prices: newPlans.join(';'),
},
})
```

This is the logic I am talking about

#

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

What did you expect to happen?
I am being charged twice when I try to update the plan.

What actually happened?
Subscription ID: `sub_1Q3EV3CahU6XTxIIgfSRuQ78`. I am trying to change the subscrption from `prod_QsSNI9JW7oXD0X` to `prod_QKB4ZpcwaxZQb5`. Why am I getting charged the prorated charge + the subcription charge?

Reproduction Steps
Go here to update the customer's plan: https://billing.stripe.com/p/session/test_YWNjdF8xTmYxdGdDYWhVNlhUeElJLF9RdjRwcTRJVEt4NXZBS1lJcTFFeldMeWV6a1RkYW130100p8uULy76/subscriptions/sub_1Q3EV3CahU6XTxIIgfSRuQ78/update

Question
How do I fix the proration here?

#

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

Question
In the javascript library, is there a type which lists the possible subcription status?

Related Request ID(s)
None

What have you already attempted?
Looking in GitHub repo, it seems not to be present

#

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

Question
Has something recently changed with the invoice auto_advanced default value? I can see in the changelog the addition of the invoice_finalises_at field and I'm unsure if this could have caused the change.

To our knowledge we have made no changes with our process for raising manual invoices through the API, however it appears they are no longer sending emails automatically to the customer. How would we be able to ensure these emails are sending once again based on our API request.

Related Request ID(s)
in_1Q2JuQAaUXuXv6pvYOBHi6WI

What have you already attempted?
Invoice ID above is an example of us creating it through the API. We have made no changes and the behaviour appears to have changed. I suspect we may need to explicitly pass auto_advance: true. However if there are any settings in stripe which could fix this that would be preferred.

#

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

Question
I am cancelling a subscription on a custom date, suppose billing cycle is like 1 sep - 1 oct and i am setting a cancellation date to 15th oct. So how can i take the charges upto 15oct when setting cancel_at date to 15 oct.

Related Request ID(s)
123

What have you already attempted?
I am cancelling a subscription on a custom date, suppose billing cycle is like 1 sep - 1 oct and i am setting a cancellation date to 15th oct. So how can i take the charges upto 15oct when setting cancel_at date to 15 oct.

What are you working on?
cancel subscription

#

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

Question
I would like to know how to get the link obtained on the stripe dashboard for updating payment details about a specific subscription, so that further charges are made to that payment method.

Related Request ID(s)
none

What have you already attempted?
I already have a webhook function which on invoice.payment.failed event, it sends an email about failed payment and it includes a link for the invoice to be paid manually and updates default payment method, but I suspect this is not the best way of doing this.

#

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

Code
I can't add the code here since it's longer than the limit.

Question
I don't understand what's causing this because it was working perfectly just a few months ago but now it's started giving an error. I did not make any changes to the code since it was working last time.

What have you already attempted?
For the payment to process without an error for Connect account with ServiceAgreement as "recipient". The thing I don't understand is that just a month ago, the same code was working perfectly for "recipient" connect account but now it's giving this error: "You cannot create a charge with the on_behalf_of parameter set to a connected account with transfers but without the card_payments capability enabled."

What are you working on?
We are working on a donation module so users can donate money to a user with stripe connect account with ServiceAgreement as "recipient"

#

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

Code
server.js and checkout.html

Question
How to Embed the Stripe Payment Form in shopify ?

What have you already attempted?
Created the payment form and made it live and did most of the customizations

What are you working on?
I am Trying to know how to embed the stripe payment form in my shopify website

#

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

Code
```js
{
...
metadata: {"region" : "EU"}
}
```

Question
I want to include metadata on my price objects for different regions example above

What have you already attempted?
I have tried including the metadata using the stripe cli, but it says that --metadata is an unknown flag

cursive heronBOT
#

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

Question
Does stripe has any api for currency conversion?

Related Request ID(s)
Does stripe has any api for currency conversion?

What have you already attempted?
Does stripe has any api for currency conversion?

#

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

Code
Some customer is getting this error when he tries to pay fro a subscription.
This is the id of the request: req_4t6UE9DylnYQu0

Question
I am getting this error in subscription request:
invalid_request_error
One or more prices has a tax_behavior that conflicts with the tax rates that apply to the corresponding line item

What have you already attempted?
I want to know the reason of getting that error

#

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

Question
Support for the digital sales in iOS app (built with React Native) (where apple takes a 30% cut) how would I go about implementing this and does Stripe?

What I'm looking to implement is In-App payments for digital products. It seems that Stripe is primarily geared towards physical sales of products, hence my question.

Related Request ID(s)
No request ids.

What have you already attempted?
Apple docs read, Stripe docs read (only mentions ecommerce stuff)

What are you working on?
payment walled, digital content, yoga app

#

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

Question
I am updating the subscription and setting the cancel_at date custom date. Getting this error -

"The subscription is managed by the subscription schedule `sub_sched_1Q2Z4wIE5Vvk0efGaPFbdD5v`, and updating any cancelation behavior directly is not allowed. Please update the schedule instead."

Related Request ID(s)
123

What have you already attempted?
I am updating the subscription and setting the cancel_at date custom date. Getting this error -

"The subscription is managed by the subscription schedule `sub_sched_1Q2Z4wIE5Vvk0efGaPFbdD5v`, and updating any cancelation behavior directly is not allowed. Please update the schedule instead."

What are you working on?
cancel subscription

cursive heronBOT
#

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

Code
card reader wisepos E shows code wr2

Question
brand new card reader wisepos E, connected it to a wifi, tried to update it, but immediately showed: update failed. check your network and try again. code WR2

What have you already attempted?
tried different wifi, restart the card reader

#

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

Question
Why does my connected Standard account not allow negative balance? I am trying to refund a charge with transfer reversal, and it's not going through.

Related Request ID(s)
req_HJ0mVNsyt3j0EL

What have you already attempted?
I have tried the same with an express account, and it works. I have checked, and my Standard account has `settings.payouts.debit_negative_balances` set to `true`, and it seems that the `controller` equivalent of Standard has `losses: %{payments: "stripe"}`

#

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

Code
Problemas en la cuenta de Stripe.

Question
Cambié el nombre que quiero que aparezca en los extractos bancarios y en las facturas pero sigue apareciendo el mismo.

What have you already attempted?
Intenté varias veces corregirlo y es imposible.

#

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

Question
Hello,

I will need help with the configuration of the "webhook", by the way I want to test my webhook online from my hosting at hostinger but I get a 403 error.

I used "laravel cashier" for the interconnection with the stripe api and I typed the command "php artisan cashier:webhook --url="https://xxxxxx.xxx/stripe/webhook" to create the webhook in the stripe dashboard, when I check the command works because I can see that the webhook is created but it doesn't work.

when I try on my local machine with "stripe listen --forward-to localhost:8000/stripe/webhook", the payments work but online it

Related Event ID(s)
checkout.session.completed

What have you already attempted?
https://laravel.com/docs/11.x/billing
https://docs.stripe.com/webhooks

What are you working on?
online subscriptions

#

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

Code
<iframe id="fancybox-frame" name="fancybox-frame1727355095942" style="border:0;margin:0;overflow:auto" src="link to my page with Payment Element" allowfullscreen="" allow="payment" tabindex="999" allowpaymentrequest="true"></iframe>

Question
Errors: [Violation] Permissions policy violation: payment is not allowed in this document. Is this an issue from Stripe or WordPress?

What have you already attempted?
I'm using the default list of payment methods.
I've tried adding allow='payment *' to the iframe -> no change.
Tried limiting to a set of payment methods: ['card', 'sepa_debit', 'paypal'] and the error did not show up.

What are you working on?
I am trying to add an iframe containing payment element to a WordPress page.

cursive heronBOT
#

@onyx mantle pressed the 📚 Doc or 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/pricing-models?dashboard-or-api=dashboard#fixed-fee-and-overage-model

Question
In the usage based billing guide, it mentions that proration is not available for usage based billing. Does this apply also to the fixed price for the "Fixed fee and overage model"?

What have you already attempted?
I have looked at both the docs on usage billing + prorations, and it wasn't clear to me how the fixed price attached to this method is classified.

What are you working on?
We recover money for eCommerce sellers whos 3PL has lost their inventory. The billing is fixed + overage (commision on $ recovered)

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://frenchtooth.fr/

Question
Do discount vouchers last even if I don't enter anything? Some no longer work and I created them a year ago

What have you already attempted?
A discount voucher created 28/07/2023 => it doesn't work
and discount voucher created today => it works fine

#

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

Question
I am trying to set up our api for a specific use case that I can't seem to find a good answer for.

Scenario: We have a company with many stores that are distinct business entities, we want a platform account for the parent company and many connected accounts for the individual stores. The connected accounts need to handle invoicing and payment processing. The customer data and associated payment methods needs to be stored centrally on the platform account so the users do not need to re-register at each store the visit (many in our metro area).

Related Request ID(s)
N/A

What have you already attempted?
I've explored destination charges but that invoices on the platform account and transfers the funds to the connected account, that's not how we want things.

I have banged my head on direct charges but I can't seem to get it figured out.

What are you working on?
A mobile auction/store application for a company with many stores in our area that run multiple auctions a week and use Stripe as the payment processor and PCI compliance.

#

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

Question
I'm trying to see the payload that was sent as a webhook for an invoice.payment_succeeded event, but I'm unable to find the payload anymore with the new "workbench" feature flag turned on. any ideas on where to find this now?

Related Event ID(s)
evt_1PtCuRBsYzIqHjobH45YAwEg

What have you already attempted?
Tried finding a way to see the old way where you could see a list of delivered webhooks. couldn't find a way to that view in the dashboard

What are you working on?
debugging webhook events

#

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

Question
We are using stripe checkout session for creating payment for our connected accounts. If the end customer apply a discount on the checkout, we use transfer api to give the extra application fee back to the connected account.

Related Request ID(s)
req_yo8zfVII9PARrN

What have you already attempted?
Once, I receive the checkout.session.completed event, I check the session status if it is paid. then use the transfer api

It gives an error No such charge

#

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

Question
On behalf of my company, we have implemented Stripe Connect Accounts in our application platform. We do splits on subscription fees and use Payouts to disburse the funds the beneficiary parties. Based on how we want to implement our refund policy, we would want engage you in a meeting to ask further questions and also consider the feasibility of what we want to do.

Related Request ID(s)
123

What have you already attempted?
We have the Stripe Connect Accounts working already. And disbursing funds is functional as well.

What are you working on?
Refund Policy and Tax Calculation for people in the UK

#

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

Question
Problem: Default payment method not being used during checkout when passing a customer that has a default payment method. Using checkout and PHP API. Checkout is in subscription mode.

Related Request ID(s)
req_i8XF73pww9uO2H

What have you already attempted?
There's a specific part of the session creation API doc that says: "In subscription mode, the customer’s default payment method will be used if it’s a card, otherwise the most recently saved card will be used." for the `customer` field when creating a session. Seems like it's supposed to just use the customer's default PM but it just doesn't show during checkout.

What are you working on?
Subscription setup flow for business software.

#

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

Question
I am not getting iteratoins information in respnonse. like how many iterations have passed and how many are remaining. and which iteratiion is coming up.

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
https://docs.stripe.com/api/subscription_schedules/update

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

cursive heronBOT
#

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

Question
Using a connected account, we cannot write to the Shipping Rate API. We have a published app available publicly, the Stripe Apps Marketplace. Our users become connected accounts in relation to our app. Since our app creates shipping labels in the Stripe Dashboard (see https://marketplace.stripe.com/apps/parcelcraft-shipping), our app must write additional metadata using the Stripe Shipping Rate API through our connected accounts. We can read our connected account’s shipping rates but not write to them. The complete details of the bug are here: https://github.com/stripe/stripe-apps/issues/983

Related Request ID(s)
req_HQPZF55v2RceGh

What have you already attempted?
We've reached out to the Stripe Apps and Stripe API team, but we haven't received a direct response. We've done several tests through PostMan: we can read but not write Shipping Rates on connected accounts.

What are you working on?
https://marketplace.stripe.com/apps/parcelcraft-shipping

#

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

What did you expect to happen?
The terminal to connect successfuly

What actually happened?
The connection fails

Reproduction Steps
Put the app in background on iOS during the connection to the reader.

Question
The terminal sync is failing on iOS if the app is put in background. Is there a way to prevent that ?

#

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

Code
```
stripe = Stripe(stripePublishableKey, stripeOptions);

elements = stripe.elements({
clientSecret: response.client_secret,
});

paymentElement = elements.create('payment', paymentElementOptions);

stripe.confirmPayment({
elements: elements,
confirmParams: {
return_url: 'https://mysite/myreturnpage'
},
})
```

Question
We sometime embed our payment page in an iframe (so stripe is an iframe inside an iframe) but we're noticing that when people are being returned to our return_url they are breaking out to the top level, is there a way to control this behavior?

What have you already attempted?
Cant see any reference to this in stripe docs

#

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

Question
Hello, I'm trying to create a product on Stripe through the api. I want to create the product and connect it to a connected account. The product gets created, but it doesn't seem to be linked to the connected account.

Related Request ID(s)
req_QFtIJKijCE8W2B

What have you already attempted?
Tried going of this guide https://docs.stripe.com/connect/authentication?create-client=react-native and spent hours googling the problem afterwards.

What are you working on?
Working on a mobile app that let's companies post their food waste offerings and users to buy them. The flow of money goes like this: user -> platform -> company.

#

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

Question
How to get tax rates for one invoice?

Related Request ID(s)
Invoices API

What have you already attempted?
stripe invoice_line_items list in_1Q31rmG3S8fFq7IgvuECvhL3 -d "expand[0]=data.tax_rates"

cursive heronBOT
#

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

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

Question
PCI DSS certification (PCI-PTS and PCI PA-DSS where relevant to the solution
configuration).
▪ EMC certification/documentation (where applicable).
▪ UK Finance Common Criteria Evaluation (EAL4+) certification/documentation,
or; Common.SECC certification.
▪ EMVCo. Type Approval certification/documentation.
▪ Confirmation of registration on the public register of data controllers maintained
by the Information Commissioner’s Office (where applicable)

What have you already attempted?
Where can i have access to all these docs

cursive heronBOT
#

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

Question
At the CLI how can I fire an event with metada with intent?

stripe trigger payment_intent.succeeded --override customer:"metadata[id]"=UUID

Related Event ID(s)
--

What have you already attempted?
stripe trigger setup_intent.succeeded --override customer:"metadata[id]"=123456

#

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

Code
def confirm_update_subscription(customer_id, new_price):
#Fetch the user's subscription:
subscriptions = stripe.Subscription.list(customer=customer_id)
if subscriptions.data:
# Sort subscriptions by the 'created' timestamp in descending order (most recent first)
subscription = max(subscriptions.data, key=lambda s: s.created)
#subscription_id = subscription.id
item_id = subscription['items']['data']
# Create a checkout sessio

Question
I'm trying to find a way to open a billing portal session allowing the customer to confirm a switch to a new product subscription. I know I can modify the subscription directly, but I want to take them right to the page where they can see a summary of the change themselves.

What have you already attempted?
I get this error for the flow:
{'statusCode': 500, 'body': '{"message": "Stripe Error: This PortalSession cannot update subscription `sub_1PyFU1GQKZJikh7ND3a68ysx` because it is managed by a subscription schedule."}'}

#

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

Code
Issue with Klarna in Test mode. I am getting an error stating that there is a country mismatch between the platform and the billing country

Question
Issue with Klarna in Test mode. I am getting an error stating that there is a country mismatch between the platform and the billing country

What have you already attempted?
I tired different test values but I am still getting the same error.

What are you working on?
Custom Connect - Destination charges - On behalf of

cursive heronBOT
#

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

Question
In re: https://discord.com/channels/841573134531821608/1288867889629237299

I had a morning full of meetings but now have a question.

How can I use the paymentIntent created on the connected account to pay an invoice created? I need to be able to have invoices to send to customers.

Related Request ID(s)
N/A

What have you already attempted?
Add it to the invoice creation function, but it isn't an accepted parameter.

What are you working on?
An auction/store mobile application for a company that has a parent company and several child companies where the child companies need to be able to track and manage their own invoices.

#

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

Question
I need to create a payment system that will bill a customer in 3 phases.

  1. One month rent + security deposit (1 time)
  2. One month rent (0-11 times monthly)
  3. Last month's rent which may be partial and thus lower price (1 time)

Reading the docs it looks like `stripe.subscriptionSchedules.create` with 3 phases is the correct way to do this. However, I see that I cannot pass a price, I have to create a price object. Then, to create a price object I need to create a product.

Price and product will not be re-used in my case so creating them is unnecessary overhead, and is making me question if this is the right Stripe system to use. What is best practice for my use case?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules?dashboard-or-api=api
https://docs.stripe.com/api/prices
https://docs.stripe.com/products-prices/how-products-and-prices-work
And a few others

What are you working on?
Billing for mid term rentals

cursive heronBOT
#

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

Code
this vs is from browser: vs_1Q3LR8Jh7d3K88tiF9rkmLX2

this vs is from phone:
vs_1Q3LTXJh7d3K88tiaQHBWXMg

I finished both of them

Question
I'm working on identity verification, and everything works fine when I start and complete the verification process on a browser. However, when I start the process on a mobile device and finish it, the verification never completes. This has been happening for an entire day now. Can someone please help me? Stripe support hasn't been able to assist.

What have you already attempted?
I tried everything

#

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

Question
For invoice items. What are "pending invoice items". It says that they're not yet attached to any invoices. How does an invoice item end up in this state? Is this just for upcoming invoices?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Working to clear up duplicate invoice items on upcoming invoices

cursive heronBOT
#

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

Question
In the CLI I'm seeing setup_intent.succeeded and payment_method.attached happen at the same time or a second apart. In prod, do you know how far apart they will typically be?

Related Event ID(s)
evt_1Q3M5tBYN9GHJYxltezIP6Fn, evt_1Q3M5tBYN9GHJYxlOLWjAbEb

What have you already attempted?
I've just been watching these events come through in the CLI

What are you working on?
An integration using Stripe Elements to let customers add a credit card

#

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

Question
I've just had a user seemingly attempt to cancel their already cancelled account, and i need to figure out more information to determine if this is a frontend issue.

Related Request ID(s)
req_gSlBvktE17lIg5

What have you already attempted?
I tried looking up the request on the workbench, but I can't see very much info at all.

#

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

Question
I am encountering an issue when attempting to update subscription schedules in my application. Specifically, when I try to update the first phase (phase[0]), I receive an error indicating that some attributes are empty strings. This occurs for attributes that I did not set during the initial creation of the phase.

Additionally, when I attempt to set these attributes while updating, I receive a different error stating that I cannot update a phase that has already ended.

Could you please clarify the following for me?

Handling Empty Attributes: How should I manage attributes that were not set

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
schedule docs for creation and updation.

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

cursive heronBOT
#

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

Question
What is Stripe expecting in terms of how an s700 app can connect to our admin? Our app is consistently getting rejected in review. Very little reason for why.

Our assumption is that entering a registration code in our admin is still an acceptable way of connecting a device - but the testers seem unwilling to take this step.

If there is a better thread to ask this in, please direct me there.

Doc/Guide Links
https://docs.stripe.com/terminal/features/apps-on-devices/app-review

What are you working on?
App for processing high school sports ticketing transactions.

#

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

Question
I'm helping a client who received a notification that in the last 90 days, they accepted payments in the past using Basic Integration instead of the Mobile Payment Element. I'm trying to track down for them what payments triggered this notification as they're not sure--the main thing they use are web-based Stripe Elements. Is there any way to query for payments created through the Basic Integration using the API?

Related Request ID(s)
n/a

What have you already attempted?
Looked in the dashboard a lot for payments that stuck out :-/

What are you working on?
Assisting a client who uses Stripe

#

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

What did you expect to happen?
Unused credits not being charged properly.

What actually happened?
We are configuring our subscriptions and we have monthly and annual plans. Right now if a customer switches from annual to monthly it credits them for the first month but it charges them in full for the second. As an example, our annual plan is $96 and monthly is $10. Right now a user pays the $96 and decides they actually want monthly billing they would be able to m

Reproduction Steps
First get a higher plan, then switch to a lower plan (in terms on cost)

Question
Is there a configuration in Stripe that I can update to modify this behaviour?

cursive heronBOT
#

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

What did you expect to happen?
Checkout page with installment field available on the checkout screen.

What actually happened?
Installment field does not appear on the installment payment screen.

Reproduction Steps
Several code attempts were made, but without success, using Django for payments using the Stripe plugin.

Question
I can't enable Installments, could you help me?

cursive heronBOT
#

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

Question
Can I list dupsutes for onboarding account?

Related Request ID(s)
disputes -> onboarding

What have you already attempted?
I was trying receive list disputes for this list but list is empty. When i remove stripeAccountFilter i have one test item from stripe test cards.

I have item becasue generated stripe checkout payment connected with account, so i thought that dipsute also will be connected with

async getDisputes( accountId: string,
created?: Stripe.RangeQueryParam,

): Promise<Stripe.ApiListPromise<Stripe.Dispute>> {
console.log(accountId)
return this.stripeClient.disputes.list({created: created || undefined},
{stripeAccount:accountId}
);
}

#

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

Question
Will customer.deleted webhook be sent when a test mode subscription with clock is automatically deleted after 30 days?

Related Event ID(s)
evt_1PvPHuBoPT69D2q9pJkXd8h0

What have you already attempted?
I could not see this event in the dashboard customer page, but it was in the events log. However, I did not have a webhook currently setup for customer.deleted, so I need to confirm if it would really send or not. I read in the docs that webhooks will not be sent when non-exempt subscriptions are auto-deleted, but i don't know if this also applies to the customer.deleted event, or just subscription events.

What are you working on?
Online store

cursive heronBOT
#

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

Question
I have a few questions about embedded subscriptions:

  1. We are using the return_url parameter, and in the callback request, we check the Checkout Session status to determine if the user successfully subscribed. Is this the correct approach, or should we instead check the subscription.status (or both?)
  2. Is it guaranteed that the Checkout::Session complete at the same time the subscription status is updated? (I understand that webhook events may come out of order).
  3. We want to handle webhooks to ensure we record successful subscribes (and ignore incomplete subscriptions). Should we handle checkout.session.completed or subscription.created / updated webhooks, or both?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/webhooks
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=embedded-form
https://docs.stripe.com/billing/subscriptions/designing-integration#subscription-models

What are you working on?
We're migrating an existing integration from the Subscriptions API with a custom payments form to Stripe Checkout.

#

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

Question
Is there a Stripe API Balance option that allows me to check the "Future refunds or disputes or negative balance" balance?

We use this to fund our refunds and would be nice to programatically build into our internal refunds app for our agents.

Related Request ID(s)
-

What have you already attempted?
Tried using the normal balance API and balance transactions API, but didn't show the current balance I needed/ref'd.

What are you working on?
Building a refunds app that will check this balance before proceeding. Purpose built so we can remove our BPO team out of Stripe because trust ;/

#

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

Code
account = stripe.Account.create(
controller={
"fees": {
"payer": "application"
},
},
)

Question
Im writing a marketplace site using stripe connect and rn i have some questions regarding how the account system works but mainly why and how i can fix this error when trying to create an account:
fees[payer]=application` is not supported when creating an account with the full dashboard.

What have you already attempted?
Ive read some post on stackoverflow about that my api key is not for testing however it is and ive confirmed it.

What are you working on?
Marketplace site using stripe as payment gateway

cursive heronBOT
#

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

Code
Not a coder, but def a issue with it.

Question
Customer made a purchase with SEPA, which takes some time, then asked for a refund and purchased again with CC. All good, we shipped the product.
We then received a payment dispute and resolution 2 minutes later. This is WooCommerce. But it resolved in 2 minutes which is a merchant thing.

What have you already attempted?
Contacted Woo but they said; sorry, go figure it out yourself. So here I am.

What are you working on?
Trying to make sure this doesn't happen again or to other merchants.

#

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

Code
```js
const paymentIntent = await this.stripe.paymentIntents.confirm(
paymentIntentId,
{
capture_method: 'automatic',
off_session: false,
},
{ maxNetworkRetries: 2 },
);
```

Question
It seems that passing `capture_method` at when a payment is in the `requires_action` state throws an error, even i the `capture_method` isn't being changed. Can that be made more sensible?

What have you already attempted?
Calling `confirm` multiple times with the same value of `capture_method`

cursive heronBOT
#

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

Question
Is it possible to anchor a subscription to the last day of the month, with the next billing period starting on the 1st of the following month? For example, billing periods would be: 26.09 - 30.09, 01.10 - 31.10, and so on. Currently, invoices generated before midnight UTC start the next period on the same day (30.09 - 31.10). Is there a way to control this, possibly by finalizing the invoice on 30.09 at 23:00h and finalizing it at 01.10 00:00h, or is this behavior set and cannot be changed?

Related Request ID(s)
none

What have you already attempted?
Generated invoices and test clocks with multiple finalization and billing cycle anchor settings

What are you working on?
Migrating existing custom subscription system to Stripe

#

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

Question
In a sandbox using the decline after attaching card with usage based subscriptions when I cancel a subscription mid cycle using `invoice_now=true` the API call succeeds but the invoice is set to uncollectable. How should I go about revenue recovery in this situation? Is there a better way to charge for outstanding usage before canceling a subscription?

Related Request ID(s)
req_r6zHCKly3hNMc2

What have you already attempted?
I have read everything I could find that seemed related to invoices and subscriptions.

What are you working on?
Allow users to cancel a subscription and close there account after settling their debt.

#

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

What did you expect to happen?
I'm using the stripe.js api to build a payment element. Normally it returns a form with cc #, expiration, ccv, and postal code. Clicking pay after entering all this information will charge.

What actually happened?
Just today with no code changes I can tell, the element returned is acting differently. It now hides the postalCode field and clicking the pay button does nothing.

Reproduction Steps
This is the code used to create the element

let appearance = {
  theme\: 'stripe'
 };
let elements = this.stripe.elements\({ appearance, clientSecret }\);
let paymentElementOptions = {
  layout\: 'tabs',
  fields\: {
    billingDetails\: {
      address\: {
        country\: 'never'
      }
    }
  }
};
let payment

Question
What would cause the element to start behaving differently and how can we fix it.

What are you working on?
Checkout flow for an ecommerce site

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payment-links/create

Question
We have a SAAS application. We create a stripe customer account when a user signs up in our app. So, we have normal users and paid users. Users can subscribe to any plan using our web-based application. We want to send a marketing email with the stripe payment link to convert them to paid users. The problem is every time it creates a new stripe customer with payment link. I would love to find any solution that can map stripe payment link to an existing customer account.

What have you already attempted?
I am trying to use customer.subscription.updated webhook and from that data retrieve the stripe customer and product id and find out whether the subscription change is based on the stripe payment link or not. If it's from the stripe payment link, then I will make an API request to delete the old stripe customer account and update in our app with the new customer account details.

What are you working on?
I maintain a saas application. User can pay using stripe for a monthly / yearly package in our web-application to unlock premium features.

#

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

Code
import {loadConnectAndInitialize} from '@stripe/connect-js';

const stripeConnectInstance = loadConnectAndInitialize({
publishableKey: "key",
fetchClientSecret: fetchClientSecret,
});
const paymentComponent = stripeConnectInstance.create('payment-details');
paymentComponent.setPayment(id);
paymentComponent.setOnClose(() => {
paymentComponent.remove();
});
const container = document.getElementById("container");
container.appendChild(paymentComponent);

Question
I'm using stripe/connect-js and 'payment-details' embedded component to display an overlay with payment details in my app. When clicking a button to display this component, it appears empty, then disappears and re-appears again. How can I avoid this flickering?

What have you already attempted?
Called fetchClientSecret first to ensure client secret exists before passing it to loadConnectAndInitialize.
Checked that paymentComponent exist before calling setPayment.
The same issue from other users: https://github.com/stripe/connect-js/issues/148

cursive heronBOT
#

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

Question
If an adhoc invoice is created for a customer and the customer is delete, is it expected that the invoice is not marked uncollectible if the invoice is still in draft? If it is an invoice subscription, the invoice is marked uncollectible, but it doesn't seem to be the case for adhoc invoice.

Related Request ID(s)
NA

What have you already attempted?
Behavior of both subscription and adhoc invoice

What are you working on?
SAAS

cursive heronBOT
#

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

Question
Hi,
Just want to confirm if we create a payment intent with `{ "confirm": true, "confirmation_method":
"manual", "payment_method_types": ["card"] }` then when the PI is created if it does not transition into `requires_action` status it will be confirmed and not transition into a `requires_confirmation` status?
Cheers

Related Request ID(s)
req_p7qUUlxnRR9TbS

What have you already attempted?
This is the behaviour we are seeing but wanted to confirm that it will always be the case.

cursive heronBOT
#

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

What did you expect to happen?
@thiago.nobre pressed the 🤨 Unexpected button in ⁠help to ask a question:

What actually happened?
Gonan help, thiago.nobre and i, are on the same team.

Reproduction Steps
I think the problem isn't exacly about country.

Question
Can i answer in the same topic as his topic?

What are you working on?
integrade stripe with our system.

#

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

Code
stripe.tax.calculations.create // pass in address
stripe.paymentIntents.create
stripe.tax.transactions.createFromCalculation

Question
The above is the flow i use to process taxes for a one-time payment. How do I do it for subscriptions? I don't see a place to add an address or a taxCalculationId, so I'm not sure how taxes are being determined.

What have you already attempted?
nothing as of yet.

cursive heronBOT
#

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

What did you expect to happen?
PaymentIntent.create to produce single request.

What actually happened?
Created Payment intent from code with already saved payment method but stripe dashboard shows two requests with just 3s difference and this should not be possible

Reproduction Steps
Called stripe.Paymetintent.create with already saved customer and payment method id .Two requests were created in stripe

Question
Reason for this happening ,as this is the first time experiencing this issue

cursive heronBOT
#

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

Question
Is there a way i can mark specific payments, that are added to payouts with a delay, or requires manual approval? for stripe connect.

Related Request ID(s)
n/a

What have you already attempted?
Haven't attempted yet

What are you working on?
Marketplace using stripe connect

cursive heronBOT
#

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

Question
Stripe localized payment methods with selecting different country

Related Request ID(s)
Stripe localized payment methods with selecting different country

What have you already attempted?
We have integrated stripe payment gateway now we are trying to add localized payment methods.While creating a payment intent it is required to pass amount & currency, based on currency localized payment methods are getting decided. We have an interface where event has single curreny, it can be any currency. Whereas while doing a event registrations, as per registrants country the payment methods should be listed.If event has set its currency as EUR & registrant has selected country as US then payment methods should be listed as per regiistrant country but payment should happen is EUR.

What are you working on?
I tried to pass automatic_payment_methods , currency and amount to creating payment intent.

cursive heronBOT
#

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

Question
Hey, I can't change the version of my webhook in the dashboard's test mode. I can't change it in live mode either. I think that to change the version of the webhook, i need to change the version of the default api.

Related Event ID(s)
Dashboard > Developers > Test mode > Webhooks > Add endpoint

What have you already attempted?
I've read docs of my CMS - https://docs.stripe.com/api/webhook_endpoints/create#create_webhook_endpoint-api_version - https://docs.stripe.com/libraries/set-version

cursive heronBOT
#

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

Question
I would like to create subscription schedule for bank payment.

getting error "Received unknown parameter: default_settings[payment_method_types]"

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

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

Code
POST /v1/payment_intents

request body:
{"payment_method_types":["card"],"metadata":{"lang":"en","pmch_oid":"484","currency":"USD","member_uuid":"08a31130-d5f9-44ea-be36-e21652547b1b","country_cd":null,"email":"activities_supplier@agoda.com","platform":"B2D","is_hrp":"N"},"description":"24MM290325011-PMGW046348206","customer":"cus_*****","payment_method":"pm_******","capture_method":"manual","confirmation_method":"manual","amount":2898,"currency":"usd","confirm":true}

Question
why does lock timeout error occurs when charging the customer many times.
Is the reason that charge the same customer using the same card before the previous charge has not yet finished?

What have you already attempted?
We can't use "description":"24MM290325011-PMGW046348206" to find request log and req_id in the console.

cursive heronBOT
#

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

Question
Hi

I just use checkout.session.expired webhook, but it doesn't work when i expire a session manually by API.

Thanks

Related Event ID(s)
Dashboard > Developpers > Webhook > id webhook : we_1Q3Yq2KnmtkSW4GdpE5vZJxp

What have you already attempted?
I tried to expire a session by API and trigger the checkout.session.expire webhook

What are you working on?
An delivery APP

cursive heronBOT
#

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

What did you expect to happen?
When creating a prorated subscription update for a subscription with an applied discount, I expect the proration to be calculated with the discounted subscription price I have paid for. e.g. The subscription costs 300 and I have an active 50% discount. I have paid 150. If I perform a prorated subscription update I expect the proration to be done for 300-150 = 150 + X

What actually happened?
When I create a subscription and apply a discount coupon during a subscription update, if I perform a prorated subscription update before the first recurring invoice (after the discount was applied), the proration is calculated for the whole subscription price and not for the discounted price I have paid for.

Reproduction Steps
Create a subscription with a price of 150. Update the discount price to 300 and apply a 50% discount coupon. The subscription price is again 150 but now it has an active 50% discount on it. If I preview an upcoming invoice for a prorated upgrade, stripe prorates based on my having paid 300 and not 150.

Question
This only happens till the first recurring invoice. Afterwards, stripe calculates correctly the proration based on the discounted price I paid. Why is that? The same scenario if I create a subscription with a discount from the start without waiting for a recurring invoice, works as expected.

What are you working on?
We are migratiing our systems to use stripe discounts instead of our inhouse solution.

#

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

Code
```
const stripe = useStripe()
const elements = useElements()
...
const { error, paymentMethod } = await stripe.createPaymentMethod({
type: 'card',
card,
billing_details: { name: props.paymentPlans.name },
})

```

Question
How can I add 3DS authentication on frontend payment methods ?

What have you already attempted?
We used to be on a very old version of stripe API which did not support 3DS, we have since upgraded all our versions to the latest.

What are you working on?
I am trying to upgrade our current payment flow to support 3DS authentication on payment methods

#

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

Question
does stripe has any API by which I can do currency conversion from USD to EUR or vice versa

Related Request ID(s)
does stripe has any API by which I can do currency conversion from USD to EUR or vice versa

What have you already attempted?
does stripe has any API by which I can do currency conversion from USD to EUR or vice versa

#

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

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

Question
How can I update mandate (in test mode) to be inactive so I can test my workflow?

What have you already attempted?
Looking at the docs to see if there was a setup update or a mandate update API I could use to make a mandate inactive

What are you working on?
I am working on a feature where I set up a mandate to trigger recurring payments. I am trying to test a scenario where the mandate becomes inactive after a successfull usage in the past

#

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

Question
We're using api version 2022-11-15. Now we want to upgrade client side (frontend) dependencies to latest version. Is that safe to do with consideration that we're not on latest API version? Are client side libraries backwards compatible fully?

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

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

Question
Characteristics of Parallel Sending. When a large number of payments occur and webhooks are sent simultaneously, what are the typical number of threads and timing patterns that Stripe uses?

Related Event ID(s)
payment_intent.succeeded

What have you already attempted?
Background: We are planning to conduct load testing on our company's application using JMeter. Specifically, we aim to simulate a scenario where webhook requests (listening for payment_intent.succeeded) are sent concurrently by Stripe when multiple payments occur simultaneously. In this context, we want to evaluate how many requests our application server can handle. We intend to use this information to configure the number of threads and the ramp-up period in JMeter effectively.

cursive heronBOT
#

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

Code
stripe.confirmSepaDebitSetup(
clientSecret,
{
payment_method: {
sepa_debit: iban,
billing_details: {
name: tenantName,
email: tenantEmail,
//addressInfo: addressInfo,
},
},
}
)
.then(function (result) {
// Handle result.error or result.setupIntent

Question
I would need to get the last4 property of the iban number which is given in the sepa auth form

kindly let me know how can I get it

What have you already attempted?
kindly let me know how can I get it

What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product

#

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

What did you expect to happen?
See an Apple Pay button

What actually happened?
There's no Apple Pay button when running iOS 18

Reproduction Steps

  1. Open https://buy.stripe.com/6oE3g0dGHgpwb5e288 on iOS 18.

  2. Check if the Apple Pay button appears.

Question
Is this a bug in Stripe, especially related to iOS 18 compatibility? The Apple Pay button works correctly on iOS 17 and earlier, as well as on macOS with Safari versions below 18.

This issue occurs only when using Stripe Connect (Standard account)

What are you working on?
An innovative platform for instant contactless fundraising (NFC + QR + web)

#

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

Question
I've integrated stripe payments, and have a worker handling the webhook from Stripe. I need to verify the webhook through the signature provided int he headers but I canæt get it to work.

Related Event ID(s)
Not sure...

What have you already attempted?
I've referenced the stripe docs, and also some articles and stack overflows. I do exactly the same as they do, but I get this:
Error verifying webhook signature: No signatures found matching the expected signature for payload

I can provide my code if nescessary.

#

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

Question
Hi, just got a charge declined with `transaction_not_allowed` for a user's payment
The customer states that he could use the same card for other subscription-related services on the same day.

Is there anything I can do here?

Related Request ID(s)
pi_3PsOnrIYOry9WQXw2IO0vdVj

What have you already attempted?
Nothing atm

cursive heronBOT
#

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

Question
How to use apply pay for setupintent

Related Request ID(s)
req_U6jWQGUH5n6oxb

What have you already attempted?
Using node.js react . Trying to use apple pay to set up future payment. API version: 2022-11-15,

Using

    automatic\_payment\_methods\: {
      enabled\: true,
    },

Only give credit card and bancontact option. Apple pay is actived in stripe dashboard. Testing in iphone Safari

What are you working on?
Trying to set up future payments usingapply pay , website

#

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

Question
Why does my payment intent with capture method set to "manual" cause the entire authorisation amount to be charged and then a refund triggered for the difference?

Related Request ID(s)
acct_1PGehJB12PqLvwp9, pi_3Q087xB12PqLvwp919y4y90k

What have you already attempted?
The event log is odd, as the payment goes through all the stages I would expect for a delayed manual payment intent capture, but then for some reason, the full amount was charged to the customer's bank account, and they recieved a refund for the difference later on (they informed us of this appearing on their bank statement).

I have implemented the payment intent and capture logic in line with the Stripe docs here: https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

What are you working on?
An electric car charging platform, which allows customers to set a maximum cost for their charge, but bills a partial amount if they stop charging their car before reaching the max

cursive heronBOT
#

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

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

Question
We have been using this API to create new connected accounts for our customers.
Now they have a requirement to support multiple connected account but with the account they alreday have in stripe for any other product.
Example Brand-1 AUD, Brand-1 NZD these are existing accounts and they have to linked to our platform account

What have you already attempted?
Didn't find api to use existing account id

What are you working on?
Payment integration using checkout session api to connected accounts

cursive heronBOT
#

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

Question
We have a client that wants to reuse a customers card for a new subscription. The card is expired but seems to be working (because of whatever Stripe does to tranisition in the new card). By default, in our app, we hide expired card - but I'm now wordering should we be making them available to use? ...and how do we know if they're ok to use or if they are actually expired and unusable?

Doc/Guide Links
https://support.stripe.com/questions/can-an-expired-card-still-be-charged-on-stripe

What are you working on?
Stripe connect app for self storage software

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/send-email#send-secure-emails

Question
Hi! I would like to clarify the email flow in Stripe. We attempt preauthorization by a customer associated with a Standard Connected account using the following code:

return this.stripe.paymentIntents.create(
{ ...someData, capture_method: StripeCaptureMethodsEnum.MANUAL },
{ stripeAccount: stripeAccountId }
);
If the transaction requires 3D Secure (3DS), the setting "Send a Stripe-hosted link" is enabled. However, when testing in test mode, no emails are sent to either platform or connected account customers. Is it possible to test this flow in test mode, and are there any limitations?

What have you already attempted?
Enable "Send a Stripe-hosted link" setting

#

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

Question
Hi! We’re using Stripe Elements for payments and Stripe Tax for automated tax calculation. We want to disable the ZIP code from being used for payment verification (using hidePostalCode: true), but still collect it for tax purposes with Stripe Tax. Is it possible to separate the use of ZIP code for payment verification and tax calculation, and if so, what’s the best approach to implement this in the checkout flow?

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

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

What did you expect to happen?
When trying to create a payment link, it doesn't let me click on the create link.

What actually happened?
It's not clickable.

Reproduction Steps
I tried to create a payment link, but doesnt let me.

Question
Someone on a reddit forum said I have to wait 48 hours after creating my account to be able to create a payment link, but this info cannot be down on the site. Is that true?

#

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

What did you expect to happen?
We were shipping physical cards to Guadeloupe using Standard Delivery and it stopped working asking to use express delivery

What actually happened?
We have a new error asking for Express or Priority shipping when we want to ship to Guadeloupe, making the delivery 4x as expensive

Reproduction Steps
See https://dashboard.stripe.com/acct_1OD0JaQnLo1OzBpG/logs/req_w7tphku4PBFRwK

Question
We were not alerted by Stripe that the behaviour was changing. Could you refer to us to the right documentation about this behaviour ?

What are you working on?
We are issuing cards for around 160k persons in France and outermost regions

#

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

Question
When using the Address Element with Setup Intent and a Customer Session or the LinkAuthentication Element the Address is not auto filled with the data the customer has o file.

Related Request ID(s)
req_PrWGKTksXJDXvI

What have you already attempted?
I tried a lot of configurations already

What are you working on?
Stripe integration for Clickfunnels 2.0 Checkout

#

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

Question
We have a payment method but there's no card attached to it
We allow people to add their payment methods through billing portal session
And we only allow card today

Related Request ID(s)
req_3wDQcO8vMdj2sI

What have you already attempted?
Checked all the API response but don't see a card

#

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

Question
We are interested in integrating Stripe with Datadog, and are interested specifically in receiving all the activity data that we can see in the Stripe Dashboard on the portal under: https://dashboard.stripe.com/settings/security_history. We were hoping to capture these activities within the Stripe portal for internal security measures. When filtering by Action, there is a comprehensive list of the type of activities that we expected would be captured as events and sent to Datadog, but they were missing from the log stream (a few important ones being: User Security)

Related Event ID(s)
Account Activity

What have you already attempted?
We did set up a Datadog webhook in Stripe and opted to receive all event types offered during the process listed here: Stripe Event Types. The webhook was successfully delivering data to Datadog, and we could view logs. However, after explicitly triggering a few actions via the Stripe account portal, we did not observe any specific account activity logs flowing into Datadog.

What are you working on?
Internal Security Measures

#

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

Code
allow_promotion_codes: true,

Question
Hello, we are trying to add a promotion code to the checkout process. We successfully added the promo code in the dashboard and updated our code to include the promo code field in the checkout window. However, when we enter the promo code, we receive the following message: 'This code is valid, but your order doesn't qualify.' Could this issue be caused by missing code or something?

What have you already attempted?
adding new promo codes, checked code itsef,

cursive heronBOT
#

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

Link to the Doc/Guide in question
Onboarding completion in webhook

Question
How to figure out from webhook, connected account onboarding was completed?

What have you already attempted?
I'm getting account:updated webhook, but I can't see anything which would say, onboarding process was completed.

cursive heronBOT
#

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

Question
Is it possible to make invoice and pay them with paymentIntent?

Related Request ID(s)
Invoices

What have you already attempted?
I tried it other way, i created paymentIntetnt and paid it, then created invoice and paid it wiht paid_out_of_band parameter but that does not worked

What are you working on?
mobile app

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment

Question
Hello!
Could you please correct if any mistake?

Creating a PaymentIntent:
create a PaymentIntent to ensure the payment method is ready for subscription billing.

Using the Express Checkout Element:
Use the Express Checkout Element to collect payment details and confirm the PaymentIntent.

Creating a Subscription:
Once you have confirmed the PaymentIntent and collected payment details, i can create a subscription.

What have you already attempted?
..

#

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

Question
Is there any way I can do a Setup Intent Verification without using microdeposits for `acss_debit` in Canada? We have our custom mandate and the user needs to actively confirm everything when adding a payment method already, so I wanted to skip the microdeposits and also didn't wanted to use stripe.js confirmAcssDebitSetup since we already have that in our interface.

Related Request ID(s)
req_gC8aNQ81TmJeoT

What have you already attempted?
I set payment_method_options -> acss_debit -> verification_method = instant
Tried calling setup intents confirm in the backend after creating the setup intent without the instant verification_method but it still returns status as "requires_action"

What are you working on?
Adding a bank account as a payment method to a customer

#

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

Question
What does the External Account object look like when it is blocked through the dashboard? This can only be performed in live so its challenging to develop for this use case.

Related Request ID(s)
req_m1J9Z7upFb5PHv

What have you already attempted?
https://support.stripe.com/questions/managing-connect-payout-failures#:~:text=You can block an external,it on your entire platform.

I have added a real bank account and blocked it. The Stripe Dashboard toasts a message that its blocked, but the object doesnt change and there is no blocked icon for the external account. The object status still shows "new" , no other params indicate its blocked

#

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

Question
I am updating the subscription and setting the cancel_at date custom date. Getting this error -

"The subscription is managed by the subscription schedule `sub_sched_1Q2Z4wIE5Vvk0efGaPFbdD5v`, and updating any cancelation behavior directly is not allowed. Please update the schedule instead."

Related Request ID(s)
123

What have you already attempted?
I am updating the subscription and setting the cancel_at custom date. Getting this error -
"The subscription is managed by the subscription schedule `sub_sched_1Q2Z4wIE5Vvk0efGaPFbdD5v`, and updating any cancelation behavior directly is not allowed. Please update the schedule instead."
I have discussed the issue previously but chat was not completed and thread was closed so need to continue on it.
You have suggested to remove schedule first then cancel the subscription.
But how to remove the schedule of a subscription.
and so that it can be later reactivated if i remove cancel of subscription

What are you working on?
cancel subscription

#

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

Question
when I enrich the source property of a balance transaction with the expand property, can I then filter out or include only some properties instead of all?

Related Request ID(s)
list all balance transactions

What have you already attempted?
expand source

cursive heronBOT
#

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

Question
How can we prevent multiple StripeIDs from being created for a single UserID when a user does not complete the Stripe Connect process? Currently, the system saves the StripeID to the database upon clicking "Set Up Payment," but if the user doesn’t finish the process and tries again, another StripeID is created. Even after completing the process, the system fails to recognize the Stripe account. We tried checking for an existing StripeID but faced issues with redirection and verification. How can we resolve this?

Related Request ID(s)
We dont have this (or atleast dont know where to find it)

What have you already attempted?
we attempted to copy and past the url with the stripeID in it but it only directs us to our homepage and not to the stripe connect page. so this led me to believe that you need a different stripeID to enter the connect page (i initially made a lambda function but this didnt work). And we had the idea to save the stripeID to the database only if you finish the whole connect process. But our issue with this is that we don’t know where or how to do this since it’s not within our reach (since its done within stripe connect itself)

What are you working on?
we are maintaining Domits.com (our webiste) and stripe connection

#

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

Code
This is regarding the stripe-react-native package.

On android devices, the 3d secure browser that stripe pops up seems to crash and stall the entire app when dismissed. Error received in LogCat is [ERROR:aw_browser_terminator.cc(166)] Renderer process (31545) crash detected (code -1).

I've managed to reproduce in a fresh react-native 0.74.5 install with the latest version of stripe-react-native (0.38.6).

Question
Are you aware of this issue or how I can resolve it? It seems quite major to be affecting all Android SCA processes and I can't find anything about it on the internet so hoping I'm missing something.

What have you already attempted?
Outline here: https://github.com/stripe/stripe-react-native/issues/1738

I have created a fresh react native project with only stripe-react-native installed and managed to replicate the issue:

https://github.com/ivo-digital/stripe-react-native-android-issue-example

What are you working on?
I'm building an app for a client that is ready to launch except for this issue with Stripe. We've submitted to iOS already but Android is still an issue.

cursive heronBOT
#

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

Question
Using Checkout Sessions with invoice creation enabled, is it possible to attach metadata to the Checkout Session line items that would also get attached to the Invoice line items?

Related Request ID(s)
req_1zrj7yKx4gMlvq

What have you already attempted?
Tried passing in metadata but API errors. Workaround is to update invoice line item metadata in the `checkout.session.completed` webhook?

What are you working on?
Custom checkout for online education company that tracks student enrollments into our classes on an invoice. Each line item is attached to an invoice ID. Line Item ID metadata maps to our database PK.

#

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

Question
I want to identify the transfers or payments that are made in a Stripe connect account which are not yet paid out .

Related Request ID(s)
N/A

What have you already attempted?
I used the balance transactions API and the balance API and tried to add the balance transactions to match the balance thats existing to be paid out in the next payout.

What are you working on?
I'm trying to build a dashboard for the connected account user to use the dashboard of my website to check the future payout and all the transfers that are related to that payout

cursive heronBOT
#

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

Code
try {
const accountSession = await stripe.accountSessions.create({
account: req.body.accountId,
components: {
account_onboarding: { enabled: true },
},
});

return res.send\({
  clientSecret\: accountSession.client\_secret,
}\);

} catch (error) {
console.error(
"An error occurred when calling the Stripe API to create an account session",
error
);
}

Question
The stripe.accountSessions.create request above is erroring out and error is {}. I would like to know more info about the error. I suppose Stripe Connect onboarding selected on my account is not Embedded and I would like to change that and test again but in any case I should be able to see more logs to know about the error. I see nothing in the logs in Dashboard too. Thanks in advance!

What have you already attempted?
I tried passing various payloads like components: {
account_onboarding: { enabled: true },
}, to the stripe.accountSessions.create call to no avail. Tried looking up the logs on the Dashboard.
AccountId is the correct one.

What are you working on?
I'm trying to integrate Stripe Connect in a simple way - create customers and use transfers, building up on the existing Stripe integration in our app.

#

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

Question
When closing an invoice via the API, I want to add some info about why it was automatically closed (i.e. an arbitrary sting). I can't use `invoice.description` because that's already used for another purpose.

Ideally, I would like to achieve the same behavior that happens when you click the "Add Note" button in the web UI.

![Add Note](https://s3.amazonaws.com/development.scholastica/tmp/stripe-question-image.png)

Unfortunately, I cannot figure out how to do that via the API. What object / endpoint do I hit in order to accomplish this?

Thanks!

Related Request ID(s)
n/a

What have you already attempted?
Credit Note – Not the type of note I am looking for.
Metadata – This would work, and I will use this if I must. But I'd rather use "Add Note" because it's more discoverable / prominent in the web UI.

What are you working on?
We automatically close some invoices for a business-specific purpose. We'd like to leave a note telling us that the invoice was closed by an automated task, as that will make things a bit clearer.

cursive heronBOT
#

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

Question
I need to add a custom schedule to a subscription after it has been created. The goal is to charge $287 for the first 6 months then $287 every 3 months ongoing. I'm attempting this through a webhook to a lambda, but I'm getting this error: "You cannot set phases if from_subscription is set".

Related Request ID(s)
req_HfD7G0LNCJSJZI

What have you already attempted?
``` const updatedSchedule = await stripe.subscriptionSchedules.create({
from_subscription: subscriptionId,
phases: [
{
items: [{ plan: subscription.plan.id, quantity: 1 }],
iterations: 1
},
{
items: [{ plan: quarterlyPlanId, quantity: 1 }],
iterations: 12
}
]
});```

What are you working on?
Digital product subscription service

cursive heronBOT
#

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

Question
How can I calculated tax in an Express Checkout? Right now it seems like I just provide an amount in the `<Elements options={...}>` but in the ExpressCheckoutElement onConfirm, I get the billing address of the user which could affect the tax charged, and thus change the amount owed.

Related Request ID(s)
n/a

What have you already attempted?
Looking through the docs, not finding anything about this use case

#

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

Question
I currently handle my subscriptions through a payment link which I can then share this payment link to my users to allow them to buy a subscription. I want to make sure that when the subscription is cancelled, that it cancels at the end of the billing period instead of immediately so they still have access to the dashboard. How would I do this with the API?
```import stripe
stripe.api_key = "sk_test_•••oX6Y"
stripe.Subscription.cancel("sub_1MlPf9LkdIwHu7ixB6VIYRyX")
```
This code on the documentation says it will cancel immediately.

Related Request ID(s)
None

What have you already attempted?
I looked online and couldn't find a solid answer.

What are you working on?
A dashboard for an online product which allows users to user when they have an active membership.

#

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

Question
I am a store owner with few subscription and non subscription product. I create stripe subscription after successful checkout. This means subscription first payment comes with an order.

I checked that subscription set to active and first invoice set to paid. I have few questions about this

Does this invoice amount reflect in revenue because it is not actually paid. Customer paid with separate stripe payment, so i want to check whether invoice and payment intent both calculate in revenue.

Is there any way to link subscription first invoice to other payment intent which created and paid for a order which has subscription and non subscription products.

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/create#create_subscription-payment_behavior

What are you working on?
Stripe subscription integration

#

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

Code
Everything works locally, but I get the error "[Violation] 'message' handler took 2515ms" when I initialize Stripe exactly 50 times. It causes my WordPress page to lag, and I’m stuck because I don’t understand why this error is happening.

Question
The warning that is causing my webpage to lag is this one:
paymentElement.mount('#card-element');

What have you already attempted?
I tried putting it inside a document.addEventListener('DOMContentLoaded', function(). I switched computers, tried disabling all the extensions on my WordPress, and tested on different browsers (Google Chrome, Firefox, Opera). I also tried on different PCs: a Mac, Windows, and Linux (note: on Mac it lagged less). I tried adding checks like:

if (paymentElement) {
paymentElement.unmount();
paymentElement.destroy();
}
I also tried changing the layout

What are you working on?
I am working on a payment system for a company using Payment Element!

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element

Question
hello!

Our approach is like that:

Before sending a Payment Intent request, a payment method must be attached. This is done manually by sending a request from the frontend to attach the payment card.

Subscription Creation: A subscription cannot be created without an attached payment method.

how implement express-checkout-element ?

Thanks!

What have you already attempted?
..

#

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

Question
Is it possible to set up Apple and Google pay as payment methods on the web without using the payments elements ? Are there API calls that I can make with the correct parameters, creating a payment method on a customer ?

Related Request ID(s)
N/A

What have you already attempted?
I am currently using the Card elements to get the card data, a frontend API call to create the payment method, a backend setup intent call with the payment, and then a confirmCardSetup on the frontend to confirm 3DS.

How can I extend this flow to include apple pay and google pay details ?

What are you working on?
A payments methods page where we can setup with card, apple pay, and google pay

cursive heronBOT
cursive heronBOT
#

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

Question
Hello,

I'm using Stripe connect feature and i found out that when generating the onboardingLink, that returnUrl is triggered when onboarding completed and when back pressed from onboarding.

Is it possible somehow to differentiate these on frontend?

CheckoutLink on back triggers cancelUrl and for successful payment it triggers successUrl.

Why is this different?

Related Request ID(s)
/

What have you already attempted?
/

cursive heronBOT
#

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

What did you expect to happen?
I am developing a Stripe App. In order to test webhooks locally, I have set up a connected Stripe Account. When I browsed the connected account's dashboard my app showed up. I expected the userContext inside the Connected Account to have the account ID for the connected account.

What actually happened?
`ExtensionContextValue.userContext.account.id` was the 'master' acct, not the connected account.

Reproduction Steps
Make a simple Stripe App with a ContextView that displays the value of extensionContext.userContext.account.id

Question
Is this WAI? How do I get the account ID of the connected account being viewed? (I created the test connected account to test Webhooks locally in dev. Am I doing this right?)

What are you working on?
A Stripe App that needs to receive webhooks from the accounts it is installed on

#

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

Question
We built an integration using the Stripe Terminal JS SDK. We'd like to use something like the Stripe S700 and an iPad to accept payments using the website we've integrated Stripe Terminal but it's not 100% clear to me if these readers work with the JS SDK on a tablet.

Related Request ID(s)
n/a

What have you already attempted?
I've tried looking through documentation but it's not super clear.

cursive heronBOT
#

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

Code
Promotion Code Issue

Question
Trying to send a promotion code into the API, have been reading documentation and haven't found why sending the code field isn't adequate

What have you already attempted?
Here's how I make the invoice:

Stripe.InvoiceCreateParams = {
customer: stripeCustomer.id,
collection_method: 'charge_automatically',
default_payment_method:
(stripeCustomer.default_source as string) ||
(stripeCustomer.invoice_settings?.default_payment_method as string),
auto_advance: true,
...(maybePromotionCode ? { discounts: [{ promotion_code: maybePromotionCode.code }] } : {}),
default_tax_rates: taxes,
};

cursive heronBOT
#

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

Question
I need help with configuration api from customer_portal

Related Request ID(s)
Api

What have you already attempted?
I need configurated everything that i configure in stripe dashboard, from customer_portal in code

#

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

Code
return (
<stripe-pricing-table
customer-session-client-secret={clientSecret}
pricing-table-id="prctbl_*****"
publishable-key={STRIPE_PUBLISHABLE_KEY}>
</stripe-pricing-table>
)

Question
The pricing table is not loading sometimes. It loads nearly everytime on desktop, but when I switch to mobile it loads sometimes but most of the times it does not. Why is this happening and how can I fix this issue?

What have you already attempted?
At first I though the error is created by a Usercentrics Cookiebot for Cookie management which I added. When removing it though, the error still persisted. I have no idea why this issue is happening, since this might be an issue on the stripe site.

What are you working on?
SaaS

#

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

Code
2024-09-27 21:41:26 <-- [404] POST http://localhost:8080/api/v1/stripe/webhook/subscription [evt_1Q3k2cK1fdP5OLG40zXl0dUD]

Question
When i am using the webhooks on my local, I am getting `404` from the stripe cli.
in other hand, I am getting the raw data and event information from the `constructEvent`.

What have you already attempted?
I searched and could not find a reason for why this is happening.

#

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

Question
Im wondering how the account system even work? When you from the backend call stripe.account.create() it creates a new account for the user that they can they link to your platform however what if they already have their own personal stripe account? also how can they login on the newly created one to view their balance and withdraw. Is that something that the site im coding have to implement for them? It seems like a big hassle like why couldnt the user just link their personal stripe account to recive payouts that way?

Doc/Guide Links
https://docs.stripe.com/connect/design-an-integration?connect-onboarding-surface=embedded&connect-dashboard-type=full&connect-economic-model=revshare&connect-loss-liability-owner=stripe&connect-charge-type=direct

What are you working on?
A marketplace site for online game items

#

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

Question
I am using the API to create a connected account via "https://api.stripe.com/v1/accounts."

Afterward, I create the account link using the API at "https://api.stripe.com/v1/account_links."

Everything works fine, and the merchant is directed to the onboarding link. They are presented with a screen that asks them to either log in to an existing Stripe account or create a new one. However, when my merchants log in with an existing Stripe account, it does not connect their live account. Instead, it creates a brand new account and requires them to fill everything out.

Related Request ID(s)
req_I79qCrbN5r6yz4

What have you already attempted?
I've read the docs on the onboarding flow for connected accounts and I've done this many times in the past with no issues. I'm not understanding why it's not connecting their live account after they just logged into their live account. I ended up sending one of the merchants an onboarding link generated from the Stripe Dashboard and when he logged in, he was able to select his existing Stripe account and it connected that one but via the API it doesn't do this behavior.

What are you working on?
I'm working on my Community Software

#

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

Question
How do I add my standard accounts locations under my Terminal App deployed groups to be able to upload my APK To Stripe S700 devices?

My connect platform has APKs uploaded and approved (in both live and test) how do I get the App now onto the S700s of my Connected Standard Acounts?

Related Request ID(s)
req_2nTCVeSfswRpRS

What have you already attempted?
In the connect platform account, under the test, I have uploaded an APK for Stripe S700 dev kits (Which I have on hand) created a deploy group, and now based off my understanding of docs (https://docs.stripe.com/terminal/features/apps-on-devices/deploy?dashboard-or-api=api#add-readers-to-device-deploy-group), I need to add devices/locations to the deployed group in my connect platform account. But when I run the API on behalf of my user it fails.

What are you working on?
Deploying Terminal Apps to Standard Accounts of Connect Platform

cursive heronBOT
#

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

Code
<script>
var stripe = Stripe('<%= StripeConstants.getStripePublishableKey() %>');
const appearance = {
theme: 'stripe',
labels: 'floating',

	variables\: {
		colorPrimary\: '\#0570de',
		colorBackground\: '\#ffffff',
		colorText\: '\#30313d',
		colorDanger\: '\#df1b41',
		fontFamily\: 'Ideal Sans, system\-ui, sans\-serif',
		fontSizeBase\: '12px',
		spacingUnit\: '1px',
		borderRadius\: '4px',
	}
};

const options = {
	allow\: 'payment \*',
	mode\: 'payment',
	amount\: 5

Question
How to reload payment element inside a modal without reloading the main page?

What have you already attempted?
Tried to manually load the payment element inside the modal JSP file. But didnot work as expected.

cursive heronBOT
#

@oak umbra pressed the 📚 Doc or 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/build-subscriptions?platform=web&ui=elements

Question
I am looking to build out a e commerce integration for my connect customers. Some products have subscriptions and I want to manage cases where a user may check out subscriptions items in addition to some one time purchase items.

1: Would adding a one-time fee to the subscription element be the right way to manage the additional costs of a one-time purchase items or are there other better approaches.
2. Payment intents can be created without adding items to stripe - am I correct in understanding this is not the case for subscriptions (I need a product_id or price_id).

What have you already attempted?
I have tried using checkout sessions before. We are looking to incorporate dynamic shipping options into our checkout so we requested access to the beta version of that with checkout sessions - however, that doesn't support subscriptions. I have read through most docs related to subscriptions but I want to understand if my solution of creating a one-time charge is an appropriatte way to handle this.

What are you working on?
I'm building out the checkout integration flow for connect accounts that partner with out service.

#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
Hi, just a question about the checkout page please. Is it not possible to customize the lines at all? Not style, but the descriptions? I ask because we have a flat fee + per user fee in description, and both lines just show as the subscription name.

Related Request ID(s)
req_iyu3OAAY0oe2ir

What have you already attempted?
I have added nicknames to the prices, but from what I can tell, these are just used internally. From what I can tell, I can add style to the checkout page, but I have not attempted that as this is a description change

What are you working on?
Moving to Stripe checkout instead of in-house for subscriptions

cursive heronBOT
#

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

Question
How do I unlink a coupon from a subscription if it was created via a subscription schedule?

Related Request ID(s)
N/A

What have you already attempted?
Created a subscription schedule with 2 phases and a percent off coupon with duration - forever. Remove the coupon from the subscription using discount service DeleteSubscriptionDiscountAsync(). The upcoming invoice still has a discount. If the coupon is not set for phase 2, then DeleteSubscriptionDiscountAsync() works. However, if coupon is not set for phase 2, it does not carry over the coupon set in phase 1.

What are you working on?
SAAS

cursive heronBOT
#

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

Question
Hi, I'm looking to return a customers default payment method via API.

If this is not possible, am I able to sort by their last added payment method?

Possible payment sources are card and link.

The APIs I've tested return the oldest payment method first

Related Request ID(s)
N/A

What have you already attempted?
List PaymentMethods (paymentMethods->all)
List a Customer's PaymentMethods (paymentMethods->allPaymentMethods)

cursive heronBOT
#

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

Question
status for Transfer done via stripe account

Related Request ID(s)
1234567

What have you already attempted?
status for Transfer done via stripe account

What are you working on?
status for Transfer done via stripe account

#

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

Code
/Users/akshayn/Library/Developer/Xcode/DerivedData/Runner-hagqjwrvirlpvudpiiywsyqscsyf/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources/GeneratedAssetSymbols.swift Missing required module 'Stripe3DS2'

Question
How to fix this issue in ios ,

What have you already attempted?
clean build folder and pod install

cursive heronBOT
#

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

What did you expect to happen?
1 week ago we are creating stripe session checkout and passing all countries with affirm payment method options .

its throwing error :-

"The payment method affirm is not eligible for any of the allowed countries set in shipping_address_collection"

below are request ID

Failed
req_GRlHOO8zoH8Umb
req_WUAnPf6nVKcsRy

What actually happened?
Today I am creaing stripe session checkout and it passed

Success
req_SLSpzUQ7WaZF3r
req_B18jzNERkxVqPe

Reproduction Steps
We are passing all countries when using affirm as payment method options

Question
Please clear us why type of glich are happend? and how we can avoid this type of glitch?

What are you working on?
Creating stripe session checkout

cursive heronBOT
#

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

Question
Stripe Connect, currently each account is linked to one email address / business. Can our Stripe Connect accounts have more than 1 business? I.e. We need to be able to have the same user either work off their self-employed legal entity and sometimes off their company entity. For example they would do carpentry from their Company and logo design from their Self employment entity.

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

What are you working on?
Stripe Connect

cursive heronBOT
#

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

Question
when will i get the future to payout?

Related Request ID(s)
when will i get the future to payout?

What have you already attempted?
when will i get the future to payout?

What are you working on?
when will i get the future to payout?

#

@harsh temple pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to activate a "confirm email" feature in the hosted checkout form, so the user have to repeat their email.

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Martetplace using connected accounts

cursive heronBOT
#

@terse veldt pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to have a webhook that updates database once payment has been completed but I am having issues testing it and getting it to work, I keep getting 400 error codes on my post request

Related Event ID(s)
evt_3Q4f5tCYg6awYEGr0TenPHIJ, evt_1Q4f5uCYg6awYEGr2cgrsNz6

What have you already attempted?
I have already look at this article but havent gotten anywhere https://docs.stripe.com/webhooks/signature

cursive heronBOT
#

@formal vault pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're receiving 405 errors for failing webhooks, but our server logic for returning a 405 has not changed in 10 months. Here's the relevant code:

```js
export default async function handler(req, res) {
if (req.method === "POST") {
// omitted
} else {
res.setHeader("Allow", "POST");
res.status(405).end("Method Not Allowed");
}
}
```

Some debugging clues:

- The issue seems to only affect events in test mode
- We’re using Stripe Connect, and the events all belong to a connected account

Related Event ID(s)
evt_3Q3Z5sQZocLakevG0Bu8KXgS, evt_3Q3Z5sQZocLakevG0Bu8KXgS, evt_3Q3Z35QZocLakevG51GBokBL

What have you already attempted?
- We verified that the webhooks logic hasn’t changed in over 10 months
- The issue seems isolated to TEST MODE events

#

@rustic zenith pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I Implement a Card Element and Express Checkout Element in the same UI with the same stripe provider ?

Related Request ID(s)
N/A

What have you already attempted?
I have a Card Elements react component which gets verified with `stripe.confirmCardSetup(clientSecret)` and I also want to create a payment method via Apple and Google pay, in previous enquiries I was recommended to just use the Express Checkout Element but when I render both element components I get errors. What is the solution here ? Are these elements in conflict ?

What are you working on?
I am trying to build a payment methods page where the user can setup with Card or with Apple/Google Pay

cursive heronBOT
#

@rugged yacht pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-intents

Question
I want to create a payment intent, and only want to allow card payment method.

What have you already attempted?
Here is my code that I tried:

const paymentIntent = await stripe.paymentIntents.create({
amount: 1099,
currency: 'usd',
setup_future_usage: 'off_session'
});

#

@vast notch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var options = new Stripe.BillingPortal.SessionCreateOptions
{
Customer = "cus_QstDK6cEc0naNs",
ReturnUrl = "https://example.com/account",
};
var service = new Stripe.BillingPortal.SessionService();
service.Create(options);

Question
This code executes correctly and does return. But the object it returns is not the same as in the documentation it does not give me the billing portal for the customer

What have you already attempted?
Tried chat bot and all the articles.

#

@subtle mountain pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment

Question
hello!
About doc of Collect payment details before creating an Intent, i need more explanations please.
how i can create payment method from client side before the backend created payment intent?
i am using express checkout element.
Thank you!

What have you already attempted?
.

#

@harsh temple pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are preparing to go into production with our app using Stripe. I have just updated all libraries to latest versions:
frontend:
"@stripe/connect-js": "^3.3.13",
"@stripe/react-connect-js": "^3.3.14",
backend:
Include="Stripe.net" Version="45.14.0"

Which Api versions do i need to have in production mode?

Related Request ID(s)
na

What have you already attempted?
na

#

@teal scroll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
General question: I am trying to figure out if it is possible to have a session url be specifically tied to one time use. Mainly the point would be to avoid users from copy and pasting the session url to each others.

Related Request ID(s)
I am setting custom IDs (discord) in the session parameters

What have you already attempted?
I do make it so the first step is an encrypted parameter that redirects to my website, which then creates a session. But once on a session there would be nothing to prevent a user from copying the url

What are you working on?
Discord guild subscriptions

cursive heronBOT
#

@storm wedge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I need to have code.

Question
i have integrate stripe with google pay using this way::https://docs.stripe.com/payments/build-a-two-step-confirmation ,but as we know stripe takes different charges for international or domenstic card ,so on choosing payment method before confirming payment is there any way to identify payment method detail

What have you already attempted?
No

cursive heronBOT
#

@hot oar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're developing a marketplace and want to charge a commission on every transaction.

We've tried both Direct and Destination Charges, but for both we haven't understood on how to calculate Stripe fees.

It seems very simple what we want to accomplish: 3% fee + Stripe fees

Guess our main struggle has been on how to calculate Stripe fees at the payment intent, given that (with Destination Charges) the plataform is in charge for Stripe fees.

Related Request ID(s)
NA

What have you already attempted?
We have reviewed the Stripe documentation on Destination Charges and have tested the implementation.

However, we are still unclear about how to accurately calculate and manage the fees for both Stripe and our platform, particularly when handling refunds. We want to ensure that the setup is correct for charging our commission and the Stripe fees seamlessly.

What are you working on?
Smashpro is a booking plataform that allows players to book sports courts.

cursive heronBOT
#

@harsh temple pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do i set the "Terms of Service" URL on a connected account via the api? I want to collect TOS acceptance on checkout

Related Request ID(s)
na

What have you already attempted?
Looking through the docs.

What are you working on?
Marketplace app

#

@frigid stratus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to create manually retry failed Payment on SEPA method

Related Request ID(s)
-

What have you already attempted?
I've tried to create code with this function `stripe.paymentIntents.create` and it seems not working, it created new transaction but different subscription and the previous subscription auto cancelled by stripe

What are you working on?
Retry failed payment for SEPA method

#

@wet crescent pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to make sure customer default payment method is always required on subscription creation even if charge is 0

Related Request ID(s)
-

What have you already attempted?
With a customer with no default payment method I tried to create a subscription for him with charge 0 and $10.
For the subscription with charge 0 it did not return an error that customer should have default card. Instead I want that to happen also with free. I need the cuatomer to add the card regardless of charge amount

What are you working on?
Subscriptions

cursive heronBOT
#

@shut steeple pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
configuration

{
mode: 'billing',
allowedCountries: ['IT'],
fields: {
phone: 'always',
name: 'never' // seems not work

	},
	validation\: {
		phone\: {
			required\: 'always',
		},
	},
	autocomplete\: {
		mode\: 'google\_maps\_api',
		apiKey\: process.env.NEXT\_PUBLIC\_GOOGLE\_API\_KEY!,
	},
	defaultValues\: defaultValues ?? undefined,
}

Question
Hi, i want to know if it possibile to avoid to display the name field in stripe AddressElement

What have you already attempted?
Look at the documentation and try to change the configuration code

#

@cunning jackal pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello. I can not verify my domain on Stripe Apple Pay. Here is the error message. How can I do ? I did everything well... "En tentant de récupérer le fichier, nous avons reçu un code d'état 403 de votre serveur. Pour connaître le motif de cet échec, consultez vos logs. Veuillez noter que les en-têtes envoyés par nos serveurs peuvent différer de ceux de votre navigateur. Pour en savoir plus, consultez notre guide de vérification de domaine Apple Pay."

Related Event ID(s)
Dashboard > Settings > Paiements > Domains

What have you already attempted?
I tried to download the file many times, put it on the code, removed it ...

#

@karmic sigil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am reaching out because, unlike the subscription object returned by your API, the Snowflake view 'subscriptions' does not contain a 'currency' column. I would like to know how the currency of a subscription is determined and with which other view I should join.

Related Request ID(s)
none

What have you already attempted?
The documentation seems to indicate that the price defines the currency, but we use multi-currency prices, and the currency of the price is therefore not necessarily the same as that of the subscription. We then use the currency defined in the subscription to determine the amount using the currency options of the price.

I also understand that this field may come from the currency associated with the customer of the subscription, but I have not found any explicit mention of this.

What are you working on?
Calculate the MRR in euros using the Snowflake views instead of the API objects.

cursive heronBOT
#

@weak onyx pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Following docs on how to retrieve a stripe fee for a payment: https://docs.stripe.com/expand/use-cases#stripe-fee-for-payment

When trying to access "paymentIntent.latest_charge.balance_transaction", balance_transaction is null.

I'm logging this in stripe webhook at 'payment_intent.succeeded' in testmode/locally.

Related Request ID(s)
Can't find

What have you already attempted?
Tried retrieving by chargeId, to get the stripe fee, but still no results

What are you working on?
Retrieving Stripe fee for a payment

#

@boreal sedge pressed 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/find-the-payout-trace-id-to-help-your-bank-track-a-missing-payout

Question
In the article it is mentioned that the payout_trace_id can be found in the transfers_table as well as retrieved via the /payouts endpoint
(You can also find the Payout Trace ID via the API, Sigma, and the Stripe Data Pipeline. For the API, the information is in the endpoint /v1/payouts. For Sigma and the Stripe Data Pipeline, this data is located in the transfers_table.)

What have you already attempted?
Endpoint as well as the transfers table do not contain the relevant information.

What are you working on?
We are trying to reconcile the payouts in our bank statements with the Stripe payouts via our DWH. The payout_trace_id is the only key which can be used.

#

@cold bear pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public async Task<SubscriptionCreateResponse> MakeMonthlyPayment(StripePaymentRequestViewModel stripePaymentRequestViewModel,
StripePaymentConfigurationViewModel paymentConfiguration)
{
StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;

 var requestOptions = new RequestOptions
 {
     StripeAccount = stripePaymentRequestViewModel.AccountKey
 };
 var options = new CustomerCreateOptions
 {
     Name = stripePaymentRequestVie

Question
charge application fee while creating monthly subscription

What have you already attempted?
nothing have yet attempted

#

@gritty rose pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am migrating from element to express checkout elements. In this process when I am confirming the payment using checkout element, the request gave me error. v3/:1 Uncaught (in promise) Error: Element confirming payment is "expressCheckout", but stripe.confirmPayment() was not called within the "confirm" event. Please call stripe.confirmPayment() in the "confirm" event.
I am calling confirmPayment in confirm event of my code.
I am using version of api 2020-08-27

Related Request ID(s)
-

What have you already attempted?
I have read https://docs.stripe.com/elements/express-checkout-element/migration#one-time-update-method

What are you working on?
I am working on migrating payment element to checkout element

cursive heronBOT
#

@ivory garden pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
To implement stripe place hold on a card feature, unable to fetch capture before time stamp details.

Question
How to get the timestamp of when the capture_before details? I am using payment intent api but in retrieve payment intent there is no such details.

What have you already attempted?
I am getting require_capture status after the intent is created but can't find the timestamp

#

@hot oar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting this error after recommendation of using Separate Charges and Transfers for our use case.

{
"error": "Stripe error: The recipient ToS agreement is not supported for platforms in US creating accounts in US. See https://stripe.com/docs/connect/cross-border-payouts for more details."
}

Related Request ID(s)
Reference Thread ID: 1290271011627077633

What have you already attempted?
NA

#

@bleak zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to deal with Taxes? The auto tax is active on Stripe Backend, however this is not reflecting when invoices or subscriptions are creates using API

Related Request ID(s)
in_1Q31ZoDn6CAQGXZnD6xANfFg

What have you already attempted?
We just Activate Auto Taxes on Stripe End

What are you working on?
Gym POS

#

@rich leaf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any option of record a payment?

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
All docs related to subscription and schedules.

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

#

@shell raven pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/platform-pricing-tools

Question
No way to apply platform pricing on standard accounts (or accounts created via API that utilize the full stripe dashboard).

The line:
"Your platform is responsible for the Stripe fees on the payment."

Is not true for standard accounts.

What have you already attempted?
I've attempted to follow the guide and create an account via the API using controllers:

https://docs.stripe.com/connect/migrate-to-controller-properties?lang=php&migrate-to-controller-properties-samples=specifying-all-properties

But again when you want to have a full dashboard you can't setup the account to have the platform process fees.

What are you working on?
A franchised system that has franchises create their own invoices in stripe but the platform is supposed to collect a fee from every transaction, let's say 10%.

#

@foggy tiger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am using Stripe connect and I'm looking to integrate the notification banner into a C# MAUI Android + iOS solution. I saw that it is not possible to use a WebView.
I would like to know if the content of this banner is available via an API.
And if so, which exact API calls should I use?
Or if I can't display a proper notification banner, how can I determine via API whether some actions are required?

Related Request ID(s)
StripeConnect>Banner>Api

What have you already attempted?
I read the documentation here :
https://docs.stripe.com/connect/supported-embedded-components/notification-banner?locale=fr-FR&client=js

And Here :
https://docs.stripe.com/connect/get-started-connect-embedded-components

A discovered that i can't use a WebView in my android/iOS App.
Meaning that i have to handle it myself.

#

@pure tundra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I'm trying to use manual credit card entry in a React Native app. I have an app that is already integrated to M2/S700 readers using Stripe Terminal. There is a "main" account and connected accounts related to it.

App already contains a checkout flow. When I create a payment intent, I always send "StripeAccount" header to Stripe, which returns the client secret.

When I send this client secret (using the "main" account Publishable key) to initPaymentSheet, I have a "No such payment intent error" and the manual entry form does not open.

Related Request ID(s)
No request ids related (its a client-side error)

What have you already attempted?
I tried to change the publishable key to the connected account, which opens the manual entry form. But when trying to pay, the error: "can only apply an application_fee when the request is made on behalf of another account" occurs.

Why is the payment intent not found when I use the "main" account publishable key?

What are you working on?
It is a checkout app with payments. Already integrated with Stripe M2, Tap to Pay and Stripe S700 readers (working 100%). Trying to integrate with manual card entry right now.

#

@lavish lance pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am investigating to allow users to put W9. i could not find relative APIs and how to test it.

Related Request ID(s)
no id

What have you already attempted?
i tried to read the doc multiple times

#

@surreal hound pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am experiencing a new type of error message in the checkout page

promotion_code_does_not_qualify , this code is valid, but you order does'nt qualify

Question
This promocode is valide for a new user but is not valid for an old user.
Any idea what could change the behavior according the user context profile ?
Moreover the error code does not give much extra infos why

What have you already attempted?
Checking the promocode details in workbench
((promo_1Q3MmoGNN1T4yZi6BhrvGiDP),
promocode is not attached top a specific product

there are no restriction detail ...

```
first_time_transaction: false
minimum_amount: null
minimum_amount_currency: null
```

What are you working on?
We are investigating a way to creat gift card for users

#

@obsidian yacht pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey folks, we use the "account_onboarding" flow for our Connect clients and are creating a Stripe::Account before creating the Stripe::AccountLink. We create the account without passing a country. However, when clicking the account link, the country field is greyed out and defaults to United States in the UI. We need to make it so that the connecting customer is able to choose any country we allow. Another strange thing is that in Connected accounts > Settings > Onboarding options we don't see any countries in live mode (we do in test mode).

Related Request ID(s)
req_Vy1ue8E9veOGhk

What have you already attempted?
We have talked with our dedicated Stripe dev and she pointed us to support. Account API reference and Connect docs don't state how this behavior could be controlled.

What are you working on?
Integration with Stripe.

cursive heronBOT
#

@twin hamlet pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Klarna & clearpay not showing on Payment Element yet enabled in PM settings

What actually happened?
Klarna & clearpay not showing on Payment Element yet enabled in PM settings

Reproduction Steps
Klarna & clearpay not showing on Payment Element yet enabled in PM settings

Question
Klarna & clearpay not showing on Payment Element yet enabled in PM settings

#

@eager vault pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you help diagnose why we have a setup_intent.succeeded event, but no related payment_intent events?

Related Event ID(s)
n/a

What have you already attempted?
We've repeated our payment flow many times, but are unable to get into this state

#

@sour egret pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On the payment methods, Klarna is turned on, but the option on the widget is not coming up. Is there any extra settings that needs to be done before that works? Other payment methods are working without any issue. Cheers

Related Event ID(s)
0

What have you already attempted?
Turned off and on again

What are you working on?
Implementation

cursive heronBOT
#

@thorn edge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to create/update records in an external system based on Stripe data. I would like to skip updating records if nothing has changed in the Stripe data since the last update. But I don't see any kind of `updated` field on Stripe records. Is there a way to see when a Stripe record last changed so that I can skip processing it unnecessarily?

Related Request ID(s)
n/a

What have you already attempted?
Checked docs to see if there is any data on time a Stripe record was last updated, but only saw `created` available on Stripe objects.

#

@pure tundra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I'm trying to use manual credit card entry in a React Native app. I have an app that is already integrated to M2/S700 readers using Stripe Terminal. There is a "main" account and connected accounts related to it.

App already contains a checkout flow. When I create a payment intent, I always send "StripeAccount" header to Stripe, which returns the client secret.

When I send this client secret (using the "main" account Publishable key) to initPaymentSheet, I have a "No such payment intent error" and the manual entry form does not open.

Related Request ID(s)
No request ids related.

What have you already attempted?
I tried to change the publishable key to the connected account, which opens the manual entry form. But when trying to pay, the error: "can only apply an application_fee when the request is made on behalf of another account" occurs.

Why is the payment intent not found when I use the "main" account publishable key?

What are you working on?
It is a checkout app with payments. Already using M2, S700 and Tap to Pay (with Stripe API) and working 100%. Trying to include the manual card entry right now.

cursive heronBOT
#

@next atlas pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm implementing Stripe as a payment solution in our platform using connected accounts. Some of our sub-merchants are US-based and others are based out of Canada.

For adding bank account payment methods, we received a special permission to use `verification_method: 'skip'`, rather than requiring instant or micro-deposit verifications. (gated docs: https://docs.stripe.com/payments/automatic-bank-account-validation)

The issue I'm having is that the 'skip' verification_method is only working for us_bank_account payment methods, and not for acss_debit (canadian bank account) payment methods.

Related Request ID(s)
req_kEiEn8skcSldqy

What have you already attempted?
- Have attempted to use verification_method `skip` on us_bank_account (works)

- Have attempted to use verification_method `skip` on acss_debit (doesn't work)

- Have attempted to add payment methods before creating setup intents for them

What are you working on?
I'm implementing stripe as a payment solution in our platform for our clients using connected accounts.

cursive heronBOT
#

@robust flint pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an un collectable subscription charge. From the Dashboard I can retry the charge. Can I do this from the api?

Related Request ID(s)
none

What have you already attempted?
Looked through api docs and can't find the endpoint

What are you working on?
admin interface for moderators so I don't have to give them stripe access.

#

@marsh sundial pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I have questions about receipts. I'm integrating with Stripe and don't want to send receipts all the time, so the global receipt email setting isn't ideal. For charges that need a receipt, I plan to update the charge via API using the receipt_email field (https://docs.stripe.com/api/charges/update#update_charge-receipt_email). Per docs: If this field is updated, then a new email receipt will be sent to the updated address.

I am not seeing this work in test mode, but am figuring this is just a test mode limitation—can you confirm this will work in live mode?

Related Request ID(s)
n/a

What have you already attempted?
- updated a charge's receipt_email field and seeing that receipt email is not sent out, though a receipt_url is generated
- checked for somewhere in the docs that this is a test mode limitation

What are you working on?
stripe integration via API

#

@onyx wing pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
let customerSheet = CustomerSheet(configuration: configuration, customer: customerAdapter)

customerSheet.present(from: parent, completion: { result in ...

Question
This is a followup to a previous conversation here:
#dev-help message

We've been contacted by Stripe and asked to upgrade to the latest PaymentSheet UI in our iOS app.

Currently, with the legacy SDK, we directly present an 'Add card' form to the user.

In the latest SDK, it appears that this UI flow is currently impossible.

Looking for confirmation and conversation around this.

What have you already attempted?
Prototyping an integration, previous conversation here in Discord

What are you working on?
iOS app w/ stripe-ios-sdk

cursive heronBOT
#

@hallow sundial pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to send a customer directly to bank verification page for a specific setup intent?

Related Request ID(s)
n/a

What have you already attempted?
I'm able to successfully setup a setup intent id with a bank account and most of the time the customer recieves the email from Stripe that allows them to verify the bank account. However sometimes the email doesn't come through so i'm trying to figure out how to manually send the customer a link so they can verify bank account.

I was looking at this documentation: https://docs.stripe.com/api/setup_intents/verify_microdeposits

However that doesn't seem to match stripes latest flow.

#

@cedar pendant pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an incredibly easy need - I thought! Sequence:

  1. *First* the user pays
  2. *Then* I sort out billing address, VAT id and other stuff which needs to go on the invoice (while onboarding the user in parallel)
  3. *Then* I issue the Invoice, marked as paid. An invoice is a legal document in Europe, which can't be edited once finalized. It cannot be a "receipt".

Perfect I thought. Surely I can link the Payment and the Invoice. Right?! Or?

I want to use PaymentIntents or similar where I have some control.

Related Request ID(s)
-

What have you already attempted?
I've tried a lot... but I can't figure out a way to create an invoice and link it to an already performed payment, even though I have all the data, the customer id, the payment intent id, the invoice id, etc.

What are you working on?
A better checkout flow for my site (quite big volume)

cursive heronBOT
#

@pseudo ravine pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've built an application in which I've use case like I've wallet in my application and user can link external bank account or debit/credit card and user can transfer money from bank account to wallet and for that I'm using stripe like craeted setup intent and through payment intent I can use, like debiting money from their account, now I need to credit moeny from application wallet to their already linked external account by setup intent. Which feature should I use it?

Related Request ID(s)
NA

What have you already attempted?
Through setup intenet, I'm able to link external account and through payment intent I can debit money also.

#

@mellow surge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need some API assistance for recurring subscriptions on Stripe.

Related Request ID(s)
secret

What have you already attempted?
I have tried many ways, but I didn't succeed. I need special help.

What are you working on?
Website Subscription Procedures

cursive heronBOT
#

@frigid quartz pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=stripe-hosted

Question
is there a way to hide some prices or show description of a price on stripe checkout page.
In our Stripe setup, products like Hobby, Pro, and Enterprise have multiple prices: one per-unit price charged upfront and tiered prices for metered overages. Currently, the checkout page shows all prices with the same product name, causing confusion. is it possible to either: hide the tiered prices (which aren't charged instantly) or adding clearer descriptions for each price. This would differentiate the per-unit charge from overages, improving customer understanding of immediate and future charges.

What have you already attempted?
Adding descriptions to prices. the docs talks about making some cosmetic changes. could not really found more info on customizing stripe checkouts

What are you working on?
a developer platform that charges for plans with overages on use of different resource usage

cursive heronBOT
#

@polar hedge pressed 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/managing-connect-payout-failures#:~:text=You can block an external,account%2C it will also fail.

Question
What will the External Account object status be if I block an account through the dashboard? Since I can only test in live mode this makes developing for this scenario difficult. Really just looking for confirmation on what the `status` param or any other param that will indicate this EA is blocked. Or is this functionality a dashboard/platform only thing, and the API wont reflect.

What have you already attempted?
I attempted to block my own bank account for my own connected account, but the UI doesnt show any indication that its blocked

What are you working on?
Connect integration with terminal

cursive heronBOT
#

@brittle narwhal pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
my concern is handling recurring payment failures. For this, I am listening to the invoice.payment_failed event, but I am not receiving this event. Instead, I am getting these events:

customer.subscription.updated
customer.subscription.updated
invoice.created
checkout.session.expired

Related Event ID(s)
evt_1Q4oEzChxZS78XGQIBtrQJqx

What have you already attempted?
, I am listening to the invoice.payment_failed event, but I am not receiving this event

What are you working on?
I am working on payment service with nest and mongodb.

cursive heronBOT
#

@cobalt sail pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was wondering if someone could assist with getting a process setup through Stripe Organizations to share customers across our two current accounts. There is a high degree of cross-sell across our accounts, but we're still ideally looking to maintain the same customer pool for internal reporting and handling users in our embedded customer portal for invoice tracking amongst other things.

If it's not possible directly, would the best option be to handle this via a metadata field on our end for a unique customer record?

Doc/Guide Links
https://docs.stripe.com/get-started/account/orgs

What are you working on?
Stripe Organizations Customer Sharing

cursive heronBOT
#

@gentle apex pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to create an event destination from code? I found a support request for creating the events with an api, with a developer saying that it would be added at GA. If that isn't ready yet, is there at least a way to link the event destination with an existing eventbridge rule?

Trying to make the eventbridge flow more robust, than a manual configuration for every environment I create for my application

Related Event ID(s)
n/a

What have you already attempted?
I created a event destination in stripe, and was able to get it communicating to my eventbridge. What I want is that I could have my code create the event destination using data from my code that is creating the eventbridge rule.

What are you working on?
I am using AWS Amplify to build a SaaS application. Trying to get Stripe integrated for subscriptions.

#

@digital mason pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#charge-saved-payment-method

Question
Im following the above code to do the recurring payments
Kindly let me know how to get the Last4 property with this

What have you already attempted?
Previously objSepaResponse?.payment_method_details.sepa_debit.last4 was working
but now, its not working

What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product

#

@leaden canyon pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a platform account based in US. Our UK customers (using Connected Accounts) would like to accept Bacs direct debit payments. The docs linked here say: "Platforms outside the UK ... must have the bacs_debit_payments capability enabled... You must request the bacs_debit_payments capability if you want to use the `on_behalf_of ` parameter.", which we do. However that option is not available in our dashboard, and when requesting via the API, I receive the error: "Stripe::InvalidRequestError: The bacs_debit_payments capability is not requestable for accounts in US." We've reached out to customer support multiple times over the last few weeks to no avail. Any advice?

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/bacs-debit#request-capability

What are you working on?
My team has a large existing integration with Stripe for credit cards and wallets, and are adding support for Bacs direct deposit.

#

@alpine flicker pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var stripe = Stripe('<%= StripeConstants.getStripePublishableKey() %>');
const appearance = {
theme: 'stripe',
labels: 'floating',
variables: {
colorPrimary: '#0570de',
colorBackground: '#ffffff',
colorText: '#30313d',
colorDanger: '#df1b41',
fontFamily: 'Ideal Sans, system-ui, sans-serif',
fontSizeBase: '12px',
spacingUnit: '1px',
borderRadius: '4px',}
};

Question
When I reload the page the payment element size is shrunk (height is updated), is there a way to have the same payment element?

What have you already attempted?
Tried to get rid of custom CSS, reload the payment element from the modal, unmount and mount the element again

#

@brisk goblet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, why, after creating a subscription_schedule from an existing subscription, its latest phase has an end_date eventhough the existing subscription don't have any? (Note, my existing subscription consists of only one item paid weekly.)

Related Request ID(s)
subscription_schedule phase end_date

What have you already attempted?
stripe subscription_schedules create
--from-subscription=sub_1Q40ELFGXpRXhvrd32Hal8aQ

What are you working on?
A prototype payment module for our web application

cursive heronBOT
#

@peak yacht pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I use a credit card as a payment method during authorization, the user receives a notification. When the same credit card is used as a linked payment method, the user does not receive a notification even if the amount is authorized, which is visible on the Stripe dashboard.

Related Request ID(s)
req_1Hd7fSLz3ZSdcA

What have you already attempted?
N/A

#

@night peak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a product/price for a one-time purchase. Existing subscribers of my app are allowed to purchase additional usage credits a la carte. As such, I already have their billing method on file, and would like to simply charge that method once. I was looking at the PaymentIntent API, but didn't immediately see a way to supply a product/price. Is this the suggested API for my use case?

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

@rich leaf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
update subscriptoins - facing an issue. my subscriptoin schedule is not getting updated!

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
Stripe schedules docs

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

cursive heronBOT
#

@ivory socket pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can users disconnect their connected Stripe account from our platform? Once a user has onboarded, is there a way for them to disconnect?

Related Request ID(s)
n/a

What have you already attempted?
Looked through the docs. Couldn't find an analog to Account.create() for disconnecting accounts.

What are you working on?
I am developing a Stripe integration using connected accounts with Stripe-hosted dashboards. Currently in test mode.

cursive heronBOT
#

@lucid steppe pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to listen for subscription status changes. Will the event be sent every new period start and end? However can I listen to status changes only? I don’t want to process the webhook if dates just change.

Related Event ID(s)
Na

What have you already attempted?
NA

cursive heronBOT
#

@spare harness pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When a customer buys a plan (in a stripe checkout session) which has a 14 day trial period, they need to be able to upgrade/change said plan to another. This is done in the customer billing portal

What actually happened?
The user can see their invoices in the billing portal, but cannot see their plan, if it is on a 14 day trial. However if it isn't on a trial, that can see it & change it

Reproduction Steps
Create a payment plan and subscription with 14 day trial period, navigate to customer portal

Question
I want users to be able to see their plan during the trial period & change it as well

What are you working on?
Stripe checkout and customer portal for IP/ Law application

cursive heronBOT
#

@brazen moth pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create a subscription schedule for a user in a manner that when they upgrade, I want to immediately cancel their current subscription and start the subscription for a different `price_id`, I want to be able to charge them immediately for the difference but I am not being able to do so.

Related Request ID(s)
req_jYsrBrwU9mFikh , req_upQChgiBcaladL, req_7m8bKVq6imxBeB

What have you already attempted?
I have read the Stripe API docs, tried to implement subscription schedule using iterations, proration_behaviour and also changing the end_bheaviour

#

@rich leaf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Not able to get end date of the current iteration.

Related Request ID(s)
req_bNJRbCD524yZkc

What have you already attempted?
all docs and methods from previous help

What are you working on?
i am developing mern stack application - event management

cursive heronBOT
#

@analog sable pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currently when using the ExternalAccountService API to create an bank account (Australian bank account in our case) it restricts us to using only the bank account from test environments link - https://docs.stripe.com/connect/testing#account-numbers.
Is there a way to setup an account which fails during payout with failure code 'invalid_account_number' from https://docs.stripe.com/api/payouts/object#payout_object-failure_code?

Related Request ID(s)
General question on External Account API and payout failure

What have you already attempted?
When I try and make an API call to setup any random account number in hope of testing above error it returns an error and request us to use bank account from this link only - https://docs.stripe.com/connect/testing#account-numbers

What are you working on?
Want to test invalid_account_number on payout failure in test environment and trying to setup that scenario but need directions on how to setup an invalid account number

cursive heronBOT
#

@zinc jolt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are wanting to migrate customers from Woocommerce to Stripe. Their payment details are currently housed in eway. (eway.com.au). All their subscription customer payments are stored on the old platform using eway. I can export everything but the payment token comes out like this: _eway_token_customer_id:XXXXXXXXXXXX

Related Request ID(s)
I don't know what this is

What have you already attempted?
I have tried working wth eway without luck. I have exported all customers from Woocommerce, however we don't know how to migrate this into Stripe

What are you working on?
We are building a new website for a client. Moving them from Woocommerce to Shopify

cursive heronBOT
#

@cedar yoke pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Which webhook event(s) and/or API requests include all of the fees charged by Stripe for a given payment_intent – specifically including Invoice Fees?

Related Event ID(s)
pi_3PxXnrBCXur6eGR11LqJgVIg

What have you already attempted?
I have tried various queries against the payment_intent, charges, balance_transactions, payouts, and invoices APIs with various combinations of expanded responses (i.e. `?expand[]=xxxx`) and I cannot find the 0.4% invoicing fee anywhere. I can get to the 2.9% + $0.30 fees, but not the invoicing fees.

What are you working on?
Trying to automate accounting entries for invoice processing fees (the 0.4%).

cursive heronBOT
#

@chilly sphinx pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout

Question
I wish to use a webhook to send information from a form to a low code version of Stripe Dynamic Checkout.

What have you already attempted?
The Stripe dashboard for the low code option redirects me to the Docs or a Demo rather than a builder to create an export a Stripe hosted checkout. I feel dumb I can't find something so obvious on the interface but I was wondering if you can link Stripe hosted dynamic checkout to a webhook from a 3rd party SaaS (that I don't own/run).

cursive heronBOT
#

@agile ridge pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-intents/upgrade-to-handle-actions

Question
We want to confirm if we requested 3DS on a payment intent created without a `return_url` is there any chance the next action might cause the frontend which uses the the Stripe SDK method `stripe.handleCardAction(clientSecret)` to redirect away from our site instead of showing a pop up?

What have you already attempted?
This is what we have observed using the Stripe test cards but we are unsure of how it will behave in production.

cursive heronBOT
#

@echo coral pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripe = Stripe(access_token);
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
};
const elements = stripe.elements(options);

Question
My issue is only GPay is visible. amazon pay, PayPal is not visible

What have you already attempted?
When using basic authentication, amzon and PayPal is visible

What are you working on?
I integrated express elements in my plugin. My plugin support 2 authentication methods. 1st one is basic authentication. 2nd method is oAuth authentication.

#

@dreamy dawn pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a UK and US subsidiary, and separate Stripe accounts for each. How can we integrate both accounts into an application for use with Stripe Billing? Depending on the region of the user, we will sell a different product

Doc/Guide Links
https://docs.stripe.com/billing/multi-entity-business

What are you working on?
Document automation for built environment professionals

#

@agile ridge pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/references/testing#eftpos-australia-test-card

Question
Hi, we are wondering if the test amounts that result in payment failures applies to the terminal Eftpos test cards. They are supposed to according to the docs.

What have you already attempted?
We just received our Eftpos test cards and using the error amounts do not seem to trigger the errors as they do with the Visa test card.
pi_3Q4yTpKEBHq7ZTQ21TzTPsZi

#

@rancid sedge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you please tell me the best practices for manually requesting 3DS authentication using the API when using subscriptions?

Related Request ID(s)
nothing

What have you already attempted?
3DS Successfully authenticated, but if subscription is billed immediately, no invoice is created and payment is canceled.

  1. Register using the card number “4000000000003220"
  2. Stripe::SetupIntent.create
  3. Stripe::SetupIntent.confirm
  4. "setup_intent.succeeded"
  5. Stripe::Subscription.update(
    'sub_1MowQVLkdIwHu7ixeRlqHVzs',
    {billing_cycle_anchor: 'now',
    )
  6. PaymentIntent was created and automatically cancelled.
  7. Invoice is not created
cursive heronBOT
#

@vagrant quartz pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am Using Stripe Payment Elements And I am Using Two Step Checkout for My react Application.

Question
I want to Save The Card of User During Checkout & i am Follwing this Deocument to save and fetch card in checkout

https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#save-payment-methods

So Just to Keep you Updated

What have you already attempted?
I am Able to see Saved Card and Form I want to Know the Payment Flow .

#

@covert kraken pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$paymentIntent = PaymentIntent::create

Question
how can i implement stripe checkout using 3d secure authentication and pre-authorize the card details without taking amount from user account, i need to capture amount automatically for every booking request using with their information. example: us electrical bill it automatically charge amount and taken amount from their account.

What have you already attempted?
nothing

cursive heronBOT
#

@manic locust pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can i have a sample template for accepting after pay payments with stripe.

Related Request ID(s)
req_PQ6Kuq1VUS2y1P

What have you already attempted?
I have turned on the option to pay with after pay on the dashboard.

What are you working on?
Integrating afterpay as a payment methoid

#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a user who tried paying for the subscription and got
The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first.

Related Request ID(s)
req_Zb3FYGzQItWweA

What have you already attempted?
Looked for the reason but not sure as this has not happened before

cursive heronBOT
#

@waxen basalt pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<Elements
stripe={stripePromise}
// options={{
// clientSecret: clientSecret, // Pass the client secret here
// }}
options={{
mode: "payment",
amount: convertToSubcurrency(amount), // Convert amount to subcurrency
currency: currency, // Set the currency
}}
>
<CheckoutComponent
paymentIntentId={paymentIntentId} // Pass the payment intent ID

Question
I want a create payment intent call to be made on a connected account but use the Elements library provided by Stripe

What have you already attempted?
I've tried passing in the clientSecret but what this does is it makes the API call on the platform account rather than the connected account

cursive heronBOT
#

@rugged yacht pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Here is my code:

const paymentIntent = await stripe.paymentIntents.create({
amount: 1099,
currency: 'usd',
setup_future_usage: 'off_session'
});

If I add
payment_method_types: ['card']
to this object
and in my Stripe Dashboard, if few payment options are turned on will the payment intent display those available payment methods or only display card option

Question
Does other payment methods will be visible if they turned on inside Stripe Dashboard and the code send a request with payment_method_types: ['card']

What have you already attempted?
I tried with this:

const paymentIntent = await stripe.paymentIntents.create({
amount: 1099,
currency: 'usd',
setup_future_usage: 'off_session'
});

cursive heronBOT
#

@dusk shuttle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
paymentRequest.canMakePayment().then(function (result) {
console.log('canMakePayment: ', result);
});

Question
We are using Stripe connected accounts and one of our customers has the problem that the Web Express Elements are not showing. The canMakePayment always returns "null". For all other customers it works but not for this customer. The account-id is acct_1NA9BTLBFUffGjSu and our account-id is acct_1BGpjmGrqEcchfhK

What have you already attempted?
I have used the "Express Checkout Element" documentation.

What are you working on?
Integrating Express Payments

#

@stable geyser pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<script src="https://js.stripe.com/v3/"></script>

Question
Recently I've been getting errors regarding the CSP in the console when integrating Stripe JS:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-5+YTmTcBwCYdJ8Jetbr6kyjGp0Ry/H7ptpoun6CrSwQ='), or a nonce ('nonce-...') is required to enable inline execution.

We do not have any CSP on the website ourselves.

What have you already attempted?
nothing

What are you working on?
Implement Stripe JS

#

@quiet drift pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We try to integrate stripe in android application. We used the documentation that was provided here.
https://docs.stripe.com/payments/accept-a-payment?platform=android&ui=payment-sheet

Question
When i press the pay button the payment sheet is displayed with a loader. After a while the payment sheet is dismissed. What's the problem?

Also i see in logcat

updateByCheckExcludeList: pkg: com.example.stripepoc activity: com.stripe.android.paymentsheet.PaymentSheetActivity@47585c4

What have you already attempted?
Different versions

#

@limpid pike pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do you know if there is a way to get a webhook event about a change to the company legal name?

Related Event ID(s)
evt_1Q4rtL4hdFKjqIlwrAKGMgUL

What have you already attempted?
I built a webhook listener leveraging the `account.updated` event where I then try to access the `company` object in the account.

But... It's nullable and is never included in the onboarding process for connected accounts.

What are you working on?
I work on a course management platform called qours.es. We onboard our customer using Stripe Connect and want to show the legal name of their tenant in our UI.

#

@exotic grove pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/bacs-debit/accept-a-payment?payment-ui=stripe-hosted#testing

Question
What would be the best event to listen to for a failed direct debit?
payment_intent.payment_failed, checkout.session.async_payment_failed or charge.failed?

I noticed checkout.session.async_payment_failed is never triggered, so I am wondering if this is only for bank transfers

What have you already attempted?
We currently handle and payment_intent.payment_failed and checkout.session.async_payment_failed

What are you working on?
just trying to figure out what is the best handler to deal with failed direct debit payments

#

@coarse pewter pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
let intentConfig = PaymentSheet.IntentConfiguration(mode: .payment(amount: payment.paymentAmountInPence,
currency: payment.totalPaymentDue.priceCurrency)) { [weak self] pm, _, intentCreationCallback in
//do something
}
if let merchantID: String = LTAConfig.appPayMerchantId {
configuration.applePay = .init(merchantId: merchantID, merchantCountryCode: "GB")
}

Question
I am using SPM with SwiftUI in my project, the payment sheet dismiss with zero amount
I got that error:
Payment error: An error occurred in PaymentSheet. None of the payment methods on the PaymentIntent/SetupIntent can be used in PaymentSheet: []. You may need to set 'allowsDelayedPaymentMethods *
"allowsPaymentMethodsRequiringShippingAddress'
or set 'returnURL' in your PaymentSheet.Configuration object.

NOTE: I already set "allowsDelayedPaymentMethods" and "returnURL"

What have you already attempted?
I already set "allowsDelayedPaymentMethods" and "returnURL"
tried also to upgarde my SDK as mentioned here:
[https://github.com/stripe/stripe-ios/issues/3684]
and got different error:
Payment error: An error occurred in PaymentSheet. The amount in
'PaymentSheet. IntentConfiguration' must be non-zero! See
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-amount

What are you working on?
Using swift package manager in iOS app with SwiftUI interface in a Tennis app.

#

@dreamy vapor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to know how i can delete my stripe express account through an API call because the documentation says you need a secret key to make it work. But stripe express does not show if you have a secret key anywhere.

Related Request ID(s)
not available

What have you already attempted?
Making an api call in which it seeks a secret key but we don't have a secret key inside of stripe express dashboard

What are you working on?
We finished an issue but now we have redunant account that we are trying to delete through an API call because you cant delete an account inside stripe express manually

#

@dreamy vapor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I looked into the stripe page to see how i can solve the issue on how i can delete a stripe express account. but nowhere is a secret key to be seen. on stripe his main page there is a secret key but you cant use that secret key (in an API call) to delete that express account.

Related Request ID(s)
not available

What have you already attempted?
i have looked into the documentation but i couldnt find anything that resolves the issue and i also tried an API call but it asks for a secret key in which only that of the main stripe website is available, but that one doesn't work on express accounts

What are you working on?
we are working on an API call that deletes an account (stripe express account)

#

@frosty sequoia pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const [clientSecret, setClientSecret] = useState(null);

useEffect(() => {
createPaymentIntent(plan_id).then((data) => {
if (data) {
setClientSecret(data.client_secret);
}
});
}, []);

return (
<Elements
stripe={stripePromise}
options={{ clientSecret, appearance: stripeAppearance }}
>
<ExpressCheckoutElement
onConfirm={(event) => console.log("COMPLETE", event)}
/>
</Elements>
);

Question
I'd like to know if there is a way to test this component during development on localhost:3000. I'm using Next.js and each time this component is rendered, no payment buttons are present and I get the following logs in the console:

[Stripe.js] You have not registered or verified the domain, so the following payment methods are not enabled in the Express Checkout Element: - apple_pay

[Stripe.js] You are testing over HTTP, so Google Pay will not appear. You must use HTTPS...

What have you already attempted?
I read these docs

https://docs.stripe.com/elements/express-checkout-element

#

@sour egret pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there, it's me again.
We tried to sort out Klarna issue erasing 'setup_future_usage' => 'off_session', from the create.php and that works. So, on our other website the 'setup_future_usage' => 'off_session', is in place and Klarna works as it should. If I take it out, I will then allow taking renewal payments.
Is that something we could look into and try to find a way out?

Related Event ID(s)
00

What have you already attempted?
Erasing 'setup_future_usage' => 'off_session' from create.php

What are you working on?
Need to keep 'setup_future_usage' => 'off_session', as we don't to future payments for Card/Apple pay, etc

cursive heronBOT
#

@cold bear pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public async Task<SubscriptionCreateResponse> MakeMonthlyPayment(StripePaymentRequestViewModel stripePaymentRequestViewModel,
StripePaymentConfigurationViewModel paymentConfiguration)
{
StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;

    var requestOptions = new RequestOptions
    {
        StripeAccount = stripePaymentRequestViewModel.AccountKey
    };
    var options = new CustomerCreateOptions
    {
        Name = str

Question
while creating a subscription , i want first payment different than other payment intervals

What have you already attempted?
nothing

#

@vale marten pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question

  1. we have a subscription, the customer was using alipay to pay, via stripe checkout.
  2. the customer wants to upgrade subscription plan(price), we update the subscription through the subscription update api.
    Sample request parameters:

```json
{
“billing_cycle_anchor": ‘now’,
“items": {
“0": {
“id": ‘si_id’,
“price": ”price_id”
}
},
“proration_behavior": ”none”
}
```

  1. Request return an error: “You must provide a `return_url` when confirming a PaymentIntent with the payment method type alipay.”

Question: How do we do this type of subscr

Related Request ID(s)
test mode request: req_l9r2tHRkeH5RXP

What have you already attempted?
I checked the subscription update api documentation, and I didn't find any relevant parameter fields that can be set.

cursive heronBOT
#

@viscid elbow pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/amazon-pay

Question
Hello! I found that customers from any country can make purchases using the Amazon Pay button. However, I'm encountering an issue: when I try to make a purchase from my country, I receive an error. Interestingly, when I use a VPN set to the USA, everything works smoothly.

What have you already attempted?
.

#

@thorn horizon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For Stripe Connect, if the user edits their bank details like BSB Number and Bank Account Number, then what is the link of Stripe Terms and Conditions they need to accept? Is this the URL "https://stripe.com/au/legal/ssa"

Related Request ID(s)
NA

What have you already attempted?
Not yet.

What are you working on?
I am analysing the process for my project to build the backend structure.

#

@mellow sentinel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Surfacing BIN number in API for Stripe payments

Please can you confirm the wording I need to use when asking support to look into this private Beta? The support rep is confused and thinks I am asking about Stripe Issuing

Related Request ID(s)
N/A

What have you already attempted?
Contacting support

cursive heronBOT
#

@soft basin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Need to add this "capabilities[treasury_fifth_third][requested]"="true" in .Net Core, we using Stripe version 45.14.0

Related Request ID(s)
NA

What have you already attempted?
Capabilities = new AccountCapabilitiesOptions()

{

CardIssuing = new AccountCapabilitiesCardIssuingOptions { Requested = true },

Treasury = new AccountCapabilitiesTreasuryOptions { Requested = true },

Transfers = new AccountCapabilitiesTransfersOptions()

{

Requested = true

},

CardPayments = new AccountCapabilitiesCardPaymentsOptions { Requested = true },

Getting missing property exception

What are you working on?
Creating connected account and adding capabilities.

cursive heronBOT
#

@cedar pendant pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
- A Credit Invoice (Reverse Invoice) must follow the same invoice number sequence as regular invoices, under most European countries tax law. A "credit note" with a different number isn't legal.
- Also there are strict requirements that the document must be called Credit Invoice or Reverse Invoice or similar instead of Invoice.
- Also you can't void a finalized invoice in Stripe.
- I've tried to hack it with -$100 price etc but the document will still say Invoice etc.
=> I can't figure out a way to meet these legal requirements with Stripe invoicing. Surely it's possible, I just can't figure out how. Help!

Doc/Guide Links
Great description of the problem (but without a solution)
https://stripe.com/en-cy/resources/more/reverse-invoice

What are you working on?
Migrate to Stripe Invoicing. Fully API based.

#

@dusty cliff pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const elements = stripe.elements({
//locale: 'de',
mode: 'payment',
amount: 100,
currency: 'usd',
paymentMethods: {
googlePay: 'always', // Change this to 'auto' or 'never' as needed
applePay: 'always',
paypal: 'never'
},
})
/* call clientsecret */

/* end */
const expressCheckoutElement = elements.create(
'expressCheckout',
expressCheckoutOptions
)
expressCheckoutElement.mount('#express-checkout-element')

Question
Google pay option not visible in my iphone using express-checkout-element

What have you already attempted?
const expressCheckoutOptions = {
buttonType: {
applePay: 'buy',
googlePay: 'buy',

}
}

#

@minor lance pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I charge Middle Eastern Connected account?

Doc/Guide Links
https://docs.stripe.com/connect/account-debits#:~:text=Stripe supports Account Debits only,Debits incurs an additional cost.

What are you working on?
Maeketplace integration where projects are uploaded. At posting we need to charge the project's owner at the amount of the project

#

@hexed jay pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We’re integrating a payment solution where each customer uses their own Stripe account (with independent SK and PK) to create Payment Intents. Our challenge is to enable Apple Pay for these customers without requiring them to configure Apple Pay settings or validate domains individually in their Stripe accounts.

The catch is that all customers will use the same domain for Apple Pay, but their Stripe accounts are completely separate. Is there a way to centrally register and validate the domain for Apple Pay so that customers can use Apple Pay without additional configuration? Any advice on achieving this would be appreciated!

Doc/Guide Links
https://docs.stripe.com/apple-pay?platform=web

What are you working on?
We're implementing card, google pay, apple pay and maybe other payments with payment_elements

#

@quick current pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to uninstall a stripe app via the PHP SDK. I can successfully deauthorise my OAuth app, but it appears to remain installed in the account dashboard.

Flow I'm testing is user revokes access to a linked stripe account

If I try and revoke, I get the following deauth response object

```
"Stripe\StripeObject":{"stripe_user_id":"acct_1ODFpKC1cjgvLQaL"}}
```

However the app remains available in my Stripe dashboard.

Doc/Guide Links
https://docs.stripe.com/stripe-apps/api-authentication/oauth

What are you working on?
Installed / Uninstall an app to get access to webhooks for our commission payments platform.

#

@desert orbit pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<stripe-buy-button
class="c-form-donation_amount-number"
buy-button-id="{{ button['id'] }}"
publishable-key="{{ stripe_publishable_key }}"
{% if stripe_customer_secret is defined and stripe_customer_secret %}
customer-session-client-secret="{{ stripe_customer_secret }}"
{% endif %}

Question
I am trying to render 11 buy buttons at once, sometimes some buy buttons are not rendering correctly. So what i am looking for is just render some of them at once, and the others programmatically when a custom button is clicked, is this possible?

What have you already attempted?
i have been reading the docs but can't find solutions

What are you working on?
tabs with buttons for payments and subscriptions

#

@celest canyon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are struggling to trigger a bank transfer refund email to be sent out in test mode. After trying in live mode the email is being sent as expected, but the same behaviour is not occurring in test mode. The docs mention it should send out an email and there are various bank details to input to test different scenarios.

The refund is not transitioning to the `requires_action` state so it is not possible for us to test the case for failed refunds.

Docs guide:
https://docs.stripe.com/payments/customer-balance/refunding#tracking-refunds

Related Request ID(s)
req_LHlh4eiWS5fFVc

What have you already attempted?

  1. Create a customer in test mode
  2. Add test funds
  3. Initiate a charge and refund

What are you working on?
Bank transfer payments

#

@fierce mortar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
With a payment intent, I provide the currency to take the money with. How do I do the same with setup intents, because there's no currency field.

Related Request ID(s)
NA

What have you already attempted?
Looking at the docs for intents.