#dev-help

1 messages · Page 93 of 1

cursive heronBOT
#

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

Question
Stripe PaymentIntent -> inclusive tax rate

Related Request ID(s)
tax_rate

What have you already attempted?
Hi, I wanted to ask how to create payment intent that has exclusive tax_rate ? My App in stripe is United Kingdom, so GB tax_rate should be added to paymentIntent

#

⛔️ Stripe developers aren't currently available on Discord

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

We will be back on Monday around 10am Eastern time / 15:00 UTC

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Question
Apple Pay not working. Previously, we have accepted a number of payments using apple pay. Nothing has changed on our end, but now, after clicking the apple pay button at checkout, all I see is "billing address is required". Please advise!

Related Request ID(s)
N/A

What have you already attempted?
User reported issue, attempted to recreate and encountered the same issue.

What are you working on?
FinTech SaaS

#

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

Question
We’re handling a U.S. Bank payment that is in the processing state. This payment was created through a Stripe Checkout Session, which is now marked as completed. Our goal is to cancel such payments, but we’re facing limitations:
We tried `stripe.checkout.sessions.expire()`, but it failed since the session is marked as completed.
We attempted `stripe.paymentIntents.cancel()`, but this didn’t work because Stripe restricts canceling PaymentIntents created via Checkout.
Any guidance on how we can handle this would be greatly appreciated.

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

What have you already attempted?
We tried `stripe.checkout.sessions.expire()`, but it failed since the session is marked as completed.
We attempted `stripe.paymentIntents.cancel()`, but this didn’t work because Stripe restricts canceling PaymentIntents created via Checkout.

#

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

Question
How do I retrieve the magnet code of a gift card readed?

Related Request ID(s)
req_Dlt3bUotyFE9Nd

What have you already attempted?
import requests

    response = requests.get\(
        f"https://api.stripe.com/v1/terminal/reader_collected_data/{token}",
        headers={
            "Authorization"\: f"Bearer {self.stripe.api\_key}",
            "Stripe\-Version"\: StripeClientVersion.V2024\_04\_10,
        },
    \)

    if response.status\_code == status.HTTP\_404\_NOT\_FOUND\:
        return "60488798989713395"  \# temporary code
    raw\_code = response.json\(\)\["magstripe"\]\["data"\]
    code = raw\_code.replace\(";", ""\).replace\("?", ""\)
    return code
#

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

Question
I'm using Checkout.Session for subscriptions and want to include a custom description and footer on invoices. I store these values in SubscriptionData.metadata and set auto_advance = false, intending to update the invoice via the invoice.created event. However, invoices are finalized almost immediately, preventing updates. Is there a way to stop automatic finalization or directly set the description and footer during Checkout.Session creation? Appreciate your guidance!

Related Request ID(s)
req_0o1a4vnT4VMiT2

What have you already attempted?
I have tried SessionCreateParams.InvoiceCreation to set the invoice fields, but it fails

What are you working on?
Invoices generated by subscriptions should contain custom description and footer fields

#

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

Question
I am creating a django app that uses Stripe API to create invoices to send via e-mail and accept payments.

On test platform, I'm able to create invoices, associate invoice items to the invoice, finalize invoice, and send invoice. But no emails ever received. Multiple email addresses (domains) tried. Not in spam. Dashboard reports emails being sent. I can submit payment via dashboard link and recieve apporpriate webhook and can process the payload.

Is there a setting that might be stopping invoice emails from going out?

Related Request ID(s)
None yet

What have you already attempted?
stripe.Invoice.finalize_invoice(invoice.id)
stripe.Invoice.send_invoice(invoice.id)

dashboard shows:
Events
david.hwang.md@gmail.com's invoice for $228.00 USD was sent
11/11/24, 2:00:49 AM
A draft invoice for $228.00 USD to david.hwang.md@gmail.com was finalized
11/11/24, 2:00:48 AM
david.hwang.md@gmail.com's invoice has changed
11/11/24, 2:00:48 AM
A new payment pi_3QJrcCPvC8tzzVas28aDL277 for $228.00 USD was created
11/11/24, 2:00:48 AM
david.hwang.md@gmail.com's invoice has changed
11/11/24, 2:00:48 AM
An invoice item for $38.00 USD was created

#

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

Question
I need to enable Google Pay and Apple Pay, but I don't understand what I'm missing.

Related Request ID(s)
N/A

What have you already attempted?
I have the payment method domain validated, it is green. But when I try to test in Safari if the Apple Pay button comes up, I get the following message:

“You have not registered or verified the domain, so the following payment methods are not enabled in the Payment Element:

- apple_pay

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

#

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

Question
I'm using the js client's `confirmUsBankAccountSetup` to confirm a us_bank_account payment method. I send mandate_data (ip addr, user_agent) along with this call. The mandate associated with this setup intent does not seem to reflect the data I've sent, but one does exist. When confirming a paymentIntent using the paymentMethod for this setupIntent, I get the following error:

> When confirming a PaymentIntent with a `us_bank_account` PaymentMethod and `setup_future_usage`, `mandate_data` is required.

Is sending mandate_data via `confirmUsBankAccountSetup` not the proper way to do this?

Related Request ID(s)
acct_1H7hpBAQbHn4ElzT cus_RCNwPLqmSvhs80

What have you already attempted?
Read

https://docs.stripe.com/api/setup_intents/confirm

https://docs.stripe.com/js/setup_intents/confirm_us_bank_account_setup

What are you working on?
Adding ACH to existing card checkout

#

@floral lotus pressed the 📚 Doc or 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

Question
What's the best way to handle this: If a customer wants to end a subscription trial early (subscribed without payment details). What API to use, checkout session, setup intent, payment intent. I am really confused between these.

What have you already attempted?
I tried Checkout Sessions to generate a URL for the customer. But it created a new subscription instead of moving the existing subscription to active.

What are you working on?
I am integrating stripe in a SaaS and one of the requirement is to give user the option to end trial early.

#

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

Question
How should I handle automatic tax collection on the "create subscription" api before tax registration is required for a business (before Stripe Tax is fully enabled)?

I'm unable to fully enable Strip Tax in production as the only tax nexus for the business is in Georgia and the only product is not taxable as a digital subscription - so no registrations...

Setting `automatic_tax: {enabled: true}` in params results in

Error: Stripe Tax has not been activated on your account. Please visit https://stripe.com/docs/tax/set-up to get started.

If i disable automatic tax now, what happens to existing subscriptions if a threshold is hit and registration is needed in the future?

Doc/Guide Links
https://docs.stripe.com/tax/set-up?dashboard-or-api=api#integrate

What are you working on?
Digital subscription payment integration

#

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

Code
const elements = this.stripe.elements({
mode: "payment",
amount: paymentIntent.amount,
currency: paymentIntent.currency.toLowerCase(),
});

const expressCheckoutElement = elements.create("expressCheckout");
expressCheckoutElement.mount(this.quickPayButton);

expressCheckoutElement.on("confirm", async (ev) => {
const { error } = await this.stripe.confirmPayment({
elements,
clientSecret,
confirmParams: {
return_url: redirectUri,
},
});
});

Question
When trying to confirm a payment paid for via Express Checkout I'm getting the following error back from Stripe:

"Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed through the API configured with payment_method_types."

The payment intent is created by a third party service, so I'm not sure which payment methods it's initialised with.

What have you already attempted?
Manually specifying the payment methods when creating the Express Checkout element.

Validating the payment using confirmCardPayment - but have no access to a card object.

cursive heronBOT
#

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

Question
What is the best way for enabling Connect Standard accounts to manually input and securely store their customers' credit card information in Stripe, specifically for setting the payment method as the default?

Also does implementing this feature introduce additional security or compliance obligations for our platform?

Currently, I'm using a Customer Session object for manual card entry, but it seems tailored for the sub-customer to enter their own card info, rather than for the connected account to input it on their behalf. Does that make sense?

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/integration-options

What are you working on?
ERP accounting application

cursive heronBOT
#

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

Question
We have gotton an email from stripe regarding new responses in API , what should we do

Related Request ID(s)
a

What have you already attempted?
Hello,

We're writing to remind you that the Accounts API will soon include risk verification responses that were previously only available in the Dashboard. These responses will help you understand outstanding requirements, including terms of service requirements, for your connected accounts.

New responses will be added to the API automatically for all platforms starting on 12 November 2024, but you can opt in now. If you’re listening to account.updated webhook events (for example, to automate notifications on requirements to your accounts), you may need to update your integration before 12

#

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

Question
Can I use an invoice template when setting up a subscription

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_zfhyciGgtI0eDc?t=1731343288

What have you already attempted?
I'm exploring the docs to try and find a potential way to remove from the auto generated invoices the billing period that is displayed from our Stripe subscriptions.

One possible solution we are exploring is whether we can add some invoice settings that are undocumented using the putExtraParam method (we use the java api) but I might be missing something

What are you working on?
The billing period that's included in the invoice description is causing confusion for our customers

#

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

Question
Is there a way to set up a payment intent for a Direct Debit BACS payment in the future? i.e. if the payment method and mandate are already set up, is it possible to create a payment intent today and assign a date say 10 days from now and the bacs payment be triggered then?

Doc/Guide Links
https://docs.stripe.com/api/payment_intents
https://docs.stripe.com/payments/payment-intents
https://docs.stripe.com/payments/payment-methods/bacs-debit

What are you working on?
Connect platform collecting direct debit payments

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/customer-balance/reconciliation

Question
I'm testing the cash balance feature and added $80 in funds for a customer who had an open invoice for the same amount. Based on the documentation, I expected the invoice to be automatically paid, but it wasn't. Then, I created a new invoice for the same amount to see if it would be covered by the cash balance, but this invoice also wasn’t paid and eventually changed to "past due." Could you help me understand what might be going wrong?

What have you already attempted?
In addition to creating another invoice and letting it go past due, I also tried switching the reconciliation mode to manual. I then attempted to pay the invoice using the cash balance, but when I clicked on "Charge Customer," the cash balance didn’t appear as a payment option for the invoice, contrary to what the documentation suggests.

#

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

Question
Trying to manually reconcile invoice when Stripe's auto-reconciliation does not work when customer payment is lower than the invoice amount.

Tried to create a standalone invoice from a subscription invoice and tried to pay it.

We are moving to bank transfers and `customer_balance`

Got this error:
There is no `default_payment_method` set on this Customer or Invoice. Set a default on one of those objects, or specify the Payment Method you wish to use in the `payment_method` parameter. (Stripe::CardError)

Related Event ID(s)
N/A

What have you already attempted?
Tested in the Stripe test mode.

What are you working on?
Migrating to the PaymentIntents API.

#

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

Question
I created a subscription schedule with a new next phase, but when I immediately queried the next phases for that specific subscription, none were found. I assume this is due to propagation time—meaning I may have queried the next phase too quickly after creating it. Waiting a few seconds or minutes might have allowed enough time for the changes to propagate. Is my assumption correct?

Related Request ID(s)
req_uDzqSj1zJ3tkbh

What have you already attempted?
Tried to reproduce the error, but I had no success.

What are you working on?
A saas which payments and subscriptions are controlled by Stripe.

cursive heronBOT
#

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

Question
I'm attempting to implement a platform that takes payments from a Customer and eventually will pass portions of those payments off to a Contractor. I have implemented a successful payment through Checkout sessions, adding a transfer_group, but when attempting to make a Transfer to the Contractor with that transfer_group through Connect, it's unsuccessful as the Contractor doesn't have any balance. Is there a step I'm missing? Is there a better way to implement this where my platform is still the merchant on a Customer's statement?

Doc/Guide Links
https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=embedded-form#settlement-merchant

What are you working on?
Platform for Contractors to build projects and invite Owners, who fund an account which pays out Contractors at certain intervals/milestones

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/supported-embedded-components/payments

Question
Is there any way to hide/disable the "Export" button on the Payments component?
Also when clicking on a payment, it loads the payment information inside the iframe. I would also like to hide the processing fee on the payment details section.

What have you already attempted?
I already went through the API documentation on how to create an account session with the payments in the components option, as well as the Stripe Connect.js documentation on available options and couldn't find anything.

What are you working on?
Implementing a stripe connect embed transactions report

cursive heronBOT
#

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

Code
const session = await this.stripeConfig.checkout.sessions.create({
...
line_items: [{
...
dynamic_tax_rates: taxIds,
}],
shipping_options: [
...
]});

Question
Our case concerns the development of a marketplace, where users can buy and sell objects.
To manage the service we want to charge fees on the total transaction, e.g. we want to add 10% (product cost + shipping) as ServiceFees (so if possible customise the name of the fees).
This service fee however may differ between countries, so in Spain it may be 10% and in italy 15% for example.

Given the cases we have tried, what solutions can we adopt in our case?

What have you already attempted?
At the moment, as can be seen from the short lines of code, we are using Tax Rates (applied via dynamic_tax_rates) during the creation of the checkout session, as these offer an ideal solution for our case, as they are easily customisable by name, cost and also dynamic by country.
The problem arises when we want to use Tax Rates on the total (product cost + shipping), as from what I could see they are only applicable on individual products in the checkout.

What are you working on?
We are trying to build a simple marketplace, where users can sell and buy items.

#

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

Question
How many times am I allowed to update a subscription that is not usage based in an hour?

Related Request ID(s)
req_xBK6QOYMrcMFVv

What have you already attempted?
We just hit the rate limit on our test environment because we updated our subscription too many times in an hour. It was not the rate limit of 25 API calls per second, but too many update attempts. Tried looking for that limit in the documentation but was unable to find it

cursive heronBOT
#

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

Question
I would like to know the best practices for switching between subscription plans with different periods. We have an old codebase using Stripe's Ruby SDK version 7. According to my development team, subscription schedules won’t work with this version of the Stripe SDK, and upgrading it is not an option at this time.

Currently, when switching plans, the remaining balance of the current subscription period is credited back to the customer, and their subscription price is updated. This way, future invoices are charged against the credit balance unless additional payment is required.

However, this approach seems to have many potential pitfalls.

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

What are you working on?
A fitness content platform

#

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

Question
if a customer comes back later to complete sign up we are reusing the customer object from before (based on username) but the pendingsetupintent is not available. what do you suggest to get it?

Related Request ID(s)
cus_RCQNNNsrzskhNF

What have you already attempted?
subscriptionListOptions.AddExpand("data.pending_setup_intent");

What are you working on?
sign up form with subscription

cursive heronBOT
#

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

Question
In Stripe Connect, is it possible to delay onboarding? We'd like to allow clients to sign up and begin selling immediately while still being able to use their incomplete account for payments so future payouts are straightforward. Payouts would be unavailable until they complete onboarding of course.

Doc/Guide Links
https://docs.stripe.com/connect
https://docs.stripe.com/connect/collect-then-transfer-guide
etc

What are you working on?
A ticketing platform

#

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

Code
test key:sk_test_•••eQsc

Question
Something went wrongYou might be having a network connection problem, the link might be expired, or the payment provider cannot be reached at the moment.

It cannot be launched according to the demo. It shows that there is a problem.

What have you already attempted?
1.Created product: prod_RCO3Z7WPHxWYUB
2.Created price: prod_RCO3Z7WPHxWYUB
3.Submit payment
‘line_items’ => [[
# Provide the exact Price ID (e.g. pr_1234) of the product you want to sell
‘price’ => ‘price_1QJzJ3JnvmXwwenzIYIB4uAi’,
‘quantity’ => 1,
]],

What are you working on?
cannot be launched according to the demo

#

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

Code
We are using stripe web sdk to load the stripe payment element on our platform. But ideal payment method vanishes as soon as mode is set to subscription on selecting the recurring product on our checkout page.

Question
Is this expected behaviour? On setting the mode in stripe sdk to subscription why ideal vanishes? Does ideal payment method is not supporting for subscription or recurring products? If yes, how?

What have you already attempted?
For buying one-time product, the mode in the stripe sdk is set to "payment" and ideal works fine as expected. But as soon as recurring product is selected, we are setting the mode to "subscription" as we wan't to do future payments as off_session because of products recurring nature. But ideal disappears in this case. Seems it is not supported for subscriptions / recurring product.

#

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

Question
i have a working setupIntent api flow with stripe and everything works great with sandbox test keys. When i switch to production keys, i get a strange error:

"The client_secret provided does not match any associated SetupIntent on this account. Ensure the publishable key used belongs to the same account that created the SetupIntent."

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_sJPYfJyXcqKJSE?t=1731354978

What have you already attempted?
double checked my keys

What are you working on?
ecommerce store

#

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

Question
Endpoint: POST
/v2/billing/meter_events

Basically we are using the API above to create the invoice. And our first problem is that we want to add the qty we send in the API everytime. For example:
First API call qty: 5
Second API call qty: 6
The total qty in the invoice should be 11.

Related Request ID(s)
havent seen anything related. sorry

What have you already attempted?
But when we use the api the second time it becomes 6.

What are you working on?
This will be scheduled: The api will run accordingly and each time it runs, there will be a value or quantity that it will return and shall add those values each run and not replace the previous one.

#

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

Question
We are looking for a way to use stripe to send payments to our suppliers.

Related Request ID(s)
Nothing since need help to identify the API

What have you already attempted?
Looked into PaymentMethods but all they say is way to get money from customers and not to send to suppliers

What are you working on?
We already have a stripe integration setup.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/direct-charges?platform=web&ui=stripe-hosted#issue-refunds

Question
have a direct charge made to a connected account (by a customer). Assuming this connected account's balance hits 0, if I attempt to refund the customer on the charge, what is the expected behaviour?

- will the refund carry out and the connected account balance hits the negatives?
- will my account be debited for the refund?
- will it error as not enough funds are available?

What have you already attempted?
checked through the direct charge and connected account docs, unsure if this scenario is explicitly stated

What are you working on?
switching over our fund flows to use direct charges instead of a two step where charges come to us and funds are distributed to connected accounts via transfers

#

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

Link to the Doc/Guide in question
https://stripe.com/en-ca/resources/more/how-to-validate-cards-in-real-time

Question
How can I validate that a card can be charged without charging the customer or bothering them in any way during a Setup Intent? For example, is there a way to do a small pre-authorization charge (e.g. a few cents) then refund it immediately?

What have you already attempted?
I have looked into making a small charge + refund, but this incurs fees. I also looked into placing a hold on a card, then cancelling it immediately, but this is bad practice. As mentioned in the "What are you working on?" section, I am building an application where customers register their cards for free credits, but I want to make sure this card is valid and has sufficient balance before giving the user free credits. Is there any way to do this? I can't find a clear answer on Stripe's documentation and there's been a few cases already with users signing up cards that can't be charged.

What are you working on?
I am working on an application that allows customers to sign up their cards (using the Setup Intent API) so they can get free credits. However, I want to make sure the card that is registered is valid

#

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

Question
Hello, I have a question about proration. I am working on the billing for a service which offers multiple "tiers" of a monthly subscription. One is a $10-tier, and another is a $25-tier. We noticed downgrading ($25->$10) immediately after subscribing results in a proration; this is expected. We noticed upgrading ($10-$25) also does this, which isn't an appropriate way to bill for the upgrade (user should be charged for the difference immediately); we solved this be setting `proration_behavior` to `always_invoice` on the subscription when upgrading. However now $25->$10->$25 results in the use

Related Request ID(s)
none

What have you already attempted?
described in issue

cursive heronBOT
#

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

What did you expect to happen?
Account acct_1H7hpBAQbHn4ElzT indicates via the settings page that "ACH Direct Debit" is not enabled. Querying its capabilities via the accounts API, from a connected account (acct_1H7YlAGfc9bVPDYe
) (where the connected account has ACH enabled) returns `status=active` for `capability=us_bank_account_ach_payments`.

What actually happened?
I expected to see that acct_1H7hpBAQbHn4ElzT _does not_ have us_bank_account_ach_payments enabled.

Reproduction Steps
// using acct_1H7YlAGfc9bVPDYe credentials
await stripe.accounts.retrieveCapability(
`acct_1H7hpBAQbHn4ElzT`,
"us_bank_account_ach_payments",
{
stripeAccount: `acct_1H7hpBAQbHn4ElzT`
}
).status === "active"

Question
Is this a misunderstanding on my part? I thought to do ACH across connected accounts, I need to enable ACH on both accounts.

What are you working on?
ach checkout flow

#

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

Question
How do I get a coupon/discount associated with a `checkout.session.completed` event via the API?

Related Request ID(s)
req_sdPkr1ESwfS7iM

What have you already attempted?
I've tried to find the discount using the API but I can't find the resource.

cursive heronBOT
#

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

Question
Hi, I am trying to figure out if it's possible to use checkout to switch prices on a subscription? I know you can use checkout to create a new subscription, but I can't seem to switch out current prices. Is it possible?

Related Request ID(s)
req_G4ByOS97KU4ZYU

What have you already attempted?
Tried different options passed in to the line_items and subscription_data fields, though neither seem to allow ending prices

What are you working on?
Upgrade checkout

cursive heronBOT
#

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

Code
{React.createElement("stripe-pricing-table", {
"pricing-table-id": process.env.NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID,
"publishable-key": process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,
"client-reference-id": clientReferenceId,
"utm-source": localStorage.getItem("isFromGoogleAds")
? "google-ads"
: "unknown",
"customer-session-client-secret": clientSecret,
})}

Question
I want to pass a utm-source but this doesn't make it back through when I receive the checkout.session.completed event. I can't find a list of allowable attributes here - what should be the correct key for something like this

What have you already attempted?
Tried to find the SDK details

cursive heronBOT
#

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

Code
Hi— when the Stripe AddressElement is in shipping mode, is it possible to NOT show the "Billing is same as shipping information" checkbox?

Question
Hi— when the Stripe AddressElement is in shipping mode, is it possible to NOT show the "Billing is same as shipping information" checkbox?

What have you already attempted?
Removing it with CSS.

#

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

Question
We are charging the user sales tax for auctions, but the money moves from buyer to the seller directly and we charge an application fee. But for sales tax we don't know this amount before as we use the stripe sales tax auto calculation. Can you please help me understand what I need to do to move the sales tax amount to our platform account same as the application fee?

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

What have you already attempted?
Looking at the docs.

cursive heronBOT
#

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

Question
What's the best way in IOS to allow people to choose between monthly donations levels such that a payment intent is not created every single time they change their selection?

Currently, every time the customer selects one of 5 donations levels, i request a new recurring payment intent and re-render the payment sheet button.

however, this creates many incomplete payment intents on the backend for that cutsomer id. I think I want to create an incomplete subscription and then send an invoice based on the seelction, but I don't exactly see how do to that without choosing the price level at subscription creation.

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

What are you working on?
Charity app

cursive heronBOT
#

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

Code
Need help to link stripe with wordpress website

Question
where in wordpress am I supposed to add the code

What have you already attempted?
we don't know how or where to use the code

What are you working on?
website programmed by wordpress

#

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

Question
Hi Stripe Team,
I’m exploring whether it’s possible to include a custom description in the invoice generated after a customer’s first subscription purchase by modifying the default invoice settings for the customer as described in https://docs.stripe.com/api/customers/object.

Specifically, can setting or updating invoice_settings on the customer object achieve this?

Thank you for your guidance!

Related Request ID(s)
cus_RCGKpy49ohvBvT

What have you already attempted?
https://docs.stripe.com/invoicing/invoice-rendering-template?dashboard-or-api=api

https://docs.stripe.com/api/customers/object

What are you working on?
The customer's first subscription purchase generates a footer and description on the invoice.

cursive heronBOT
#

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

Code
com.stripe.exception.AuthenticationException: Invalid API Key provided: sk_test_***********************************************************************************************Qexe

Question
some times respose 200 OK but usually response Invalid API Key provided with the same API Key and the same service requested. I need do something for OK responses ???

What have you already attempted?
only changed the API Key but is the same like in dashboard

What are you working on?
website

#

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

Question
hey there, i'm working on a webhook integration and have a question about best practices for handling duplicate events. The documentation on webhooks recommends using the event_id for this:

https://docs.stripe.com/webhooks#handle-duplicate-events

However, I also see recommendations for idempotency keys here:

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

Which approach should I use?

Related Event ID(s)
N/A

What have you already attempted?
N/A

#

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

Question
I used customer subscription updated event. In some cases , subscription status is incomplete.

Related Event ID(s)
evt_1QIeZwDNZsE8LVSaRZSucZQH

What have you already attempted?
I wanna when status was activated , I get this webhook (customer.subscription.updated)

What are you working on?
startup

#

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

Question
How do I implement token-based recurring payments? I'm currently using the Stripe Checkout Session API.

Related Request ID(s)
.

What have you already attempted?
Search Document

What are you working on?
We want to implement a token-based payment that allows us to trigger payments arbitrarily at any time we want, rather than a subscription.

cursive heronBOT
#

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

Question
I am currently working on a payment method where one of my customers has subscribed through a link method. However, the payment was processed twice for the same package, and I am unable to debug this issue. The payment button is implemented using a payment element buttons, but I can't reproduce the problem on my end. Additionally, there is a second payment link that is not functioning in the testing environment and produces an error when entering card details. Could you please help me understand why this issue is occurring and how I can test the second link in the testing environment?

Related Event ID(s)
Payment updated

What have you already attempted?
I have tried to troubleshoot the duplicate payment issue but haven't found a way to debug it effectively. The payment button is created using a predefined payment element, and so far, I have been unable to reproduce the duplicate payment behavior in my tests. For the second link, it fails to function in the testing environment and throws an error when I try to enter card details. I need assistance in figuring out the potential causes of these issues and guidance on how to test the second link properly.

What are you working on?
Payment through link

#

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

Question
When invoices are being created, I need to exempt the tax on specific product. So that tax cannot be applied to the product.

Related Request ID(s)
123

What have you already attempted?
When invoices are being created, I need to exempt the tax on specific product. So that tax cannot be applied to the product.

What are you working on?
Invoices

cursive heronBOT
cursive heronBOT
#

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

Question
I am working on the payment flow. I need clarity for the meta data.

Related Request ID(s)
34567

What have you already attempted?
Implemented create payment intent and transfer flow.

What are you working on?
I am working on the payment flow. I need clarity for the meta data.

cursive heronBOT
#

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

Code
TIMEOUT_TYPE_HEARTBEAT

Question
I'm triying to migrate source into payment methods, but all the time I'm getting TIMEOUT_TYPE_HEARTBEAT error after few hours of migration of sources

What have you already attempted?
I tried it multiple times and it doesn't work. For my other accounts migration wen well

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://dashboard.stripe.com/products?create=product&source=product_list

Question
I am creating an product with price of 299 and there is drop down with name Product tax code and default option General - Electronically Supplied Services is selected. So i am not sure what this means. Do users have to pay tax ?
Origin country is australia and users are also in australia. If i selected this tax code option how much tax will deducted and how much amount i will receive ?

What have you already attempted?
I am unable to understand this tax property

What are you working on?
Creating new product

#

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

Question
I am trying to change the billing cycle anchor of a subscription via the subscription schedule. But it seems I have to create two phases in order to achieve that. Can this not be achieved by a single phase?

Related Request ID(s)
NA

What have you already attempted?
For example, I have a subscription that renews on 10th June every year. I want to change the anchor, so that it starts renewing from 13th Nov every year. If I add a phase that starts on 10th June and ends on 13th Nov and then release it, the anchor doesn't change because it seems that the anchor can only be set to phase_start or automatic. So what I have to do is create another phase after it that has a start and end date of 13th Nov 2024 and 13th Nov 2025 and then release it. Is there any way I can achieve the same with just one phase? Anything that I might be doing incorrectly

#

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

Code
<AddressElement
options={{
mode: 'billing',
// appearance: appearance
}}
onChange={handleAddressChange}/>

Question
I'm trying to customize the appearance of my address element to look like my payment element but it's not working

What have you already attempted?
passing appearance to it, and allowing the element options to work on it automatically

cursive heronBOT
#

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

Question
After the kyc process, no account_holder_name nor account_holder_type fields are prefilled in the external bank account.

After creating the account link https://docs.stripe.com/api/account_links/create, the business completes the necessary details according to the kyc process. When assigning an external bank account for payouts, either the stripe default test account or a custom one, the fields account_holder_name and account_holder_type are not prefilled, even though it is known that the entity is an company and not an individual.

Why does this happen?

Related Request ID(s)
req_E6BBzamCkrZxfi

What have you already attempted?
I've tried to manually update the external bank account fields using the cli, but I expected it to be prefilled to 'company' for account_holder_type.

#

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

Question
We are using the Stripe-hosted page (checkout session). Based on the Japan mandate (first link) we have to use 3DS for all card transactions.
According to 3DS docs (second link) Stripe requests 3DS authentication when required by regulation or when triggered by your Radar rules or custom code. Does that mean that there is no need to do anything to enforce 3DS?

This is part of our current configuration of checkout session:
```
payment_method_options: {
card: {
request_three_d_secure: 'automatic'
}
},
```

Doc/Guide Links
- https://support.stripe.com/questions/3ds-mandate-in-japan
- https://docs.stripe.com/testing?testing-method=card-numbers#three-ds-cards:~:text=Stripe requests authentication when required by regulation or when triggered by your Radar rules or custom code.

What are you working on?
Checkout session integration

#

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

Question
Can someone get me to talk to a sales please i really need help getting started with my business payment system. could not reach anyone online

Related Event ID(s)
NO ID sorry

What have you already attempted?
I tried contacting through email on stripe website, but it only allows existing business. please help me out thank you my number is REDACTED

cursive heronBOT
#

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

Question
Currently, I have customers with subscriptions where we use setup_intents and invoice generation. However, we’ll soon have customers without subscriptions who only require a “single charge.” We’d like to use payment_intents for these cases, but we’re having trouble linking the payment to a Stripe invoice.

Related Request ID(s)
-

What have you already attempted?
Each time we try, it attempts to pay automatically with a saved payment method, which we want to avoid. Do you have any guidance or documentation for this integration? Thanks in advance!

cursive heronBOT
#

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

What did you expect to happen?
Change the pricing on my app & website

What actually happened?
I archived the old price, added a new price and set this new price as default price.
However, upon checking, the price page was not loading on the app, and gave a service error on the website.

Reproduction Steps
I have unarchived the old pricing to put everything back to normal.

Question
Our website is build on Laravel, and app on Flutter, would this make the price change more complicated?

What are you working on?
Price Change

#

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

Question
We have attempted to submit a payment on a connected account, but have had the error message returned saying the payment method cannot be found. The payment method is in place, and is shown as "active" on the dashboard.

Related Request ID(s)
I cannot find the request in the logs

What have you already attempted?
This has happened before multiple times on BACS Direct Debit requests, and it appears to be Stripe's way of saying "Cannot place payment on this payment method for reason X", but wanted to confirm this is the case.

What are you working on?
We are a billing service that put payments through Stripe.

cursive heronBOT
#

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

Question
Hello, I’m creating subscriptions using the Checkout Session. Is there a way to dynamically add a footer and description to the first invoice generated? If so, could you please provide guidance on how to implement it? Thank you for your help!

Related Request ID(s)
Not yet

What have you already attempted?
Update the default invoice settings for this customer.

#

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

What did you expect to happen?
We are expecting a successful payment via Google Pay method on test env

What actually happened?
Google pay modal windows opened up and after we hit the pay button we faced a processing payment error without any details started from yesterday

Reproduction Steps
1) Google pay modal windows opened up and
2) Hit the pay button
3) you'll see a processing payment error without any details started from yesterday

Question
Is anybody from Stripe know anything about the problem on Google pay sandbox ?

What are you working on?
Website Checkout page

#

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

Question
Collect an extra payment for a subscription. Should I use an invoice or a payment intent ? How to deal with failed payments ?

Related Request ID(s)
xxx

What have you already attempted?
I've tried creating an invoice, but I'm having a hard time when I need to recover from failed payments, the flow does not feels right.

What are you working on?
An Rails app

#

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

What did you expect to happen?
Oauth for stripe dashboard is disabled

What actually happened?
I wanted to enable Oauth to allow my users to connect their app. It is disabled. Not sure how to enable the toggle as it is not clickable in live mode. In test mode it works

Reproduction Steps

  1. Logged into my account.
  2. settings > connect
  3. countries tab choosen as Singapore alone
  4. Oauth tab, the button is disabled

Question
Is it country specific issue? I have enabled singapore and is that the reason it is disabled?

What are you working on?
Oauth setup to allow our users to connect their stripe account as connected stripe account

#

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

Question
How to get email from embedded checkout for cart abandonment emails? Cannot collect any consent since: `consent_collection.promotions` is not available in your country.

Related Request ID(s)
req_5ERdkf4bTnIUo5

What have you already attempted?
Tried it without consent collection but then there was no email

cursive heronBOT
cursive heronBOT
#

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

Question
We are facing an issue where the Stripe is failing to send webhooks to our backend server. It is the saying `HTTP status code Timed out` in the webhooks logs. We are facing clients' backlash because of this as we heavily rely on these webhooks

Related Event ID(s)
evt_1QKJBLAHY0acNkRCsnQucNew

What have you already attempted?
I tried sending a request with the same payload that Stripe was trying to send from Postman and the webhook was delivered

What are you working on?
We have built, and now maintaining, a platform for Managed WordPress hosting and using Stripe for payments

#

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

Question
How to applies customer retrictions on promotion Code?
```
$coupon = Coupon::create([
'percent_off' => $options['percent_off'] ?? 10,
'duration' => 'once'
]);

        $promotionCode = PromotionCode\:\:create\(\[
            'coupon' =\> $coupon\-\>id,
            'code' =\> $code,
            'expires\_at' =\> $options\['expires\_at'\]\-\>timestamp,
            'max\_redemptions' =\> 1,
            'restrictions' =\> \[
                'first\_time\_transaction' =\> true
            \]
        \]\);

```

Related Request ID(s)
null

What have you already attempted?
See the PHP code above

#

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

Code
<stripe-buy-button
buy-button-id="buy_btn_1QCfnEGBii5P8qu2I7wA6Nhc"
publishable-key="pk_test_51Q2wxEGBii5P8qu2xzjevhmGSOgcE6a4qM9BUtXarCDOshvY79CQTYrbhMKs4UNJ43GUVgMJINwJNEMeEtWuC3OQ00MzO7xbsI"
>
</stripe-buy-button>

Question
Wants to add custom paramter to button

What have you already attempted?
<stripe-buy-button
buy-button-id="buy_btn_1QCfnEGBii5P8qu2I7wA6Nhc"
publishable-key="pk_test_51Q2wxEGBii5P8qu2xzjevhmGSOgcE6a4qM9BUtXarCDOshvY79CQTYrbhMKs4UNJ43GUVgMJINwJNEMeEtWuC3OQ00MzO7xbsI"
>
</stripe-buy-button>

#

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

Question
How to fetch and use the default payment method for a customer when redirecting to a Stripe Checkout session?

Related Request ID(s)
checkout session

What have you already attempted?
$checkout_session = $stripe->checkout->sessions->create([
'success_url' => $domain_url . '/'.$success_redirect_url.'?resp={CHECKOUT_SESSION_ID}',
'cancel_url' => $domain_url . '/'.$failure_redirect_url.'?is_cancel=yes',
'mode' => 'subscription',
'line_items' => [[
'price' => $price_id,
'quantity' => 1,
]],
'customer' => $customer_profile_id,
'payment_method_types' => ['card'],
// 'allow_promotion_codes' => true, // Enable coupons
]);

#

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

Code
const { error, paymentMethod } = await stripe.createPaymentMethod({
params: {
billing_details: {
email: user.email,
name: user.name,
},
metadata: {
userId: user.id,
},
},
elements,
});
if (paymentMethod) {
attachCardResponse = await api.post(apiRoutes.ATTACH_CARD_CUSTOMER, {
email: user.email,
name: user.name,
paymentId: paymentMethod.id

Question
I am trying to attach payment to customer but getting error no such payment id exist. If i use other stripe account with that code it works fine.

What have you already attempted?
Tried replacing keys because most of issues are related to keys. Tried different stipe account works on that account

cursive heronBOT
#

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

Question
I am trying to integrate Strapi with the open source ticketing platform Hi.Events, and Strapi only gives me card payment option even though I have multiple payment methods activated in the dashboard.
This is Hi.Event's code for payment intent creation:
https://github.com/HiEventsDev/Hi.Events/blob/develop/backend/app/Services/Domain/Payment/Stripe/StripePaymentIntentCreationService.php

Related Request ID(s)
req_UT5QVHQMmIi8UR

What have you already attempted?
Contacting Hi.Events developer which assures it's a problem on the stripe side.
Testing both with live mode and test mode.

What are you working on?
Hi.Events app integration

#

@cedar knot pressed the 📚 Doc or 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/billing-cycle

Question
How to forward stripe billing time by one hour for future subscription invoices on active subscription?

What have you already attempted?
After DST, my billing cycle time is changed back by one hour and I want to revert it, if possible, for existing active subscriptions.

What are you working on?
Hotel Management

#

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

Question
At the moment, every time we call the api, we usually supply the currency GBP that the transaction etc will take place in. Is there an easy way to default to the currency of the recipient account instead?

Related Request ID(s)
NA

What have you already attempted?
I'm about to try removing all references to currency for the requests, and see what happens, but that's either too easy, or the fact all our test accounts are set for GBP anyway I may not know the difference.

#

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

Question
Hello, my application allows customers to downgrade their subscription to my product. But so when they downgrade it will be implemented at the end of the cycle period (ie. 1 month / 1 year). So I would like to be able to display an error message if the customer schedules a downgrade but has no valid payment method, ie. all payment methods are either already expired or invalid or have insufficient funds. Can I check this ? Or is there no way to know if a payment method is ok without charging it ?

Related Request ID(s)
API Payment Method

What have you already attempted?
Reading the API

What are you working on?
Payment Methods

#

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

Question
Hi! I'm using stripe connect. I am trying to display the customer portal when needed for the customers of some stripe connect accounts. But... I am getting this error "[createSession] You can’t create a portal session in test mode until you save your customer portal settings in test mode at https://dashboard.stripe.com/test/settings/billing/portal."
Is it because i'm using stripe connect ? here is my simple method to try this $session = $this->client->billingPortal->sessions->create([
'customer' => $customer,
'return_url' => $returnUrl,
], $options);

Related Request ID(s)
developper > stripe customer portal

What have you already attempted?
I already activated the settings here as said in the error https://dashboard.stripe.com/test/settings/billing/portal. But when i m trying to use this link that is displayed without api, it never sends any email.

What are you working on?
developping stripe payment on our app

#

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

Code
await stripe.invoiceItems.del(invoiceLineItem.id);
const invoiceUpdated = await stripe.invoices.retrieve(invoiceId);

Question
How do i remove an invoice line item from an invoice?

What have you already attempted?
I dont see the stripe.invoices.removeLines on the invoice object and the documentation says you cant remove an invoice item that's attached to an invoice

What are you working on?
Checkout flow

#

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

Question
We are trying to use express checkout to put apple pay and google pay button on our website to enable customers to buy subscriptions directly. In The API we do not see the option to pass product https://docs.stripe.com/elements/express-checkout-element
Is it possible to put an Apple/G pay button that directly links with a product in Stripe Billing?

Related Request ID(s)
none

What have you already attempted?
We have read the documentation

What are you working on?
We are news media publication website. We want to enable people to put Apple Pay/Google Pay button directlty on our paywall so people could buy subscription to unlock the article.

cursive heronBOT
#

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

Question
I am wondering what happens when you create an invoice via the API without a due date. Our application allows customers to create invoices that will not be paid for some time. They are seeing these invoices in the billing dashboard as overdue and we do not want this to happen. We are not setting the due date when we create invoices and my guess is it's defaulting to something. Is this in fact the case? Is the solution to our problem to set a due date far in the future? (we can't be sure when they will pay it)

Related Request ID(s)
req_8SVPYmLWfOaASk

What have you already attempted?
I have not attempted anything yet

What are you working on?
Program management application for summer camps and after school programs

#

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

Code
In my side error coming use use different payment method OR_CCREU_02

Question
In my side error coming use use different payment method OR_CCREU_02

What have you already attempted?
In my side error coming use use different payment method OR_CCREU_02

What are you working on?
In my side error coming use use different payment method OR_CCREU_02

cursive heronBOT
#

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

Question
During the creation of a Checkout Session, I want to pass to Stripe API an unique identifier created by my system. I thought that I could do that passing the "ClientReferenceId" parameter in the "SessionCreateOptions", but when my webhook receives the "payment.intent.succeeded" event, the request body doesn't have any mention to the ClientReferenceId previously created or anything like that.

How could I do that?

Related Request ID(s)
evt_3QKLIGHOzdvO2py10MW3nN93

What have you already attempted?
I tried exactly what is in the question.

What are you working on?
I'm working in integrating the Strapi Checkout in my website, through the Embedded form

#

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

Question
Hi there, I am seeing that payments are going though however I am not sure if the money is being taken

Related Request ID(s)
req_C9mQd7mQyjbcPs

What have you already attempted?
So long story short - it says that it is working in production, the question is how do I make sure the money have been taken from the account

What are you working on?
I am building a subscription based web application with PHP Laravel

#

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

What did you expect to happen?
We retry failed invoice payments for overdue subscriptions when the customer saved a new payment method to their subscription. We expected that the retries happening will not affect the payment intent in any way.

What actually happened?
This payment: pi_3QKKe5GBVmcytIyy0LEEUrnG
that was retried 10 times was somehow cancelled, and a new one: pi_3QKKe5GBVmcytIyy0LEEUrnG was created. The new has a description with the invoice's number. This invoice cannot be paid now with an error: "This invoice can no longer be paid. Consider voiding, marking as uncollectible, or marking as paid out of band instea"

Reproduction Steps
Create a new invoice to be paid with a card that will fail the purchase. Retry the invoice 10 times.

Question
How did this happen? Is this behaviour documented anywhere? Was the new payment intent created automatically by stripe along with a custom description? Is this expected that the maximum number of retries for a payment intent is 10 times?

What are you working on?
Nothing, we were monitoring our overdue subscriptions and saw this weird behavior.

#

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

What did you expect to happen?
We use Stripe Billing (ie subscriptions) to issue destination charges with the on_behalf_of parameter set a given Connected Account. Statement descriptors should always inherit from the Connected Account, and they do on most charges. However, we're seeing more clients using Link, and statement descriptors don't appear to be behaving correctly in these cases.

What actually happened?
On charges where the Balance Transaction Payment method type = Link, the API returns null for the 'calculated_payment_descriptor' parameter

Reproduction Steps
Every Link charge shows this same behavior

Question
Should I expect Link charges to respect the 'on_behalf_of' parameter and thereby inherit the statement descriptor data from the connected account?

What are you working on?
A marketplace of sorts for businesses to design and sell membership plans

#

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

Question
Hi Stripe Support,
I'm receiving the error "You may only specify one of these parameters: allow_promotion_codes, discounts" in my Checkout Session creation.
Could you please confirm if it's correct that I cannot use both allow_promotion_codes and discounts parameters simultaneously in the same session? If so, what would be the recommended approach if I need to both apply a specific discount and allow users to enter promotion codes?
Thank you for your help!
Best regards

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

What are you working on?
program checkout payment page

cursive heronBOT
#

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

Question
Can I use Stripe to send money from one bank account to another? Because on my website users can earn money and then they can cashout. So for that I need to be able to send money to their bank account from my bank account. How would I do that?

Related Request ID(s)
A

What have you already attempted?
A

#

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

Code
<no code yet><no code yet><no code yet><no code yet>

Question
I have signed up to stripe connect easy version (where users have a dashboard). I just wanted to check what I was planning was possible.

Let’s say I run an event for 5 comics as a bucket split including the venue owner.

If we arrange
Ticket price: £11
10% to me as booking fee
50% to venue owner
Remaining 50% split between artists with the headliner getting 50% (25%), 2 paid supports getting 12.5%.

Can the above work?

What have you already attempted?
Also, what happens if the venue owner cancels and we have to move to another another venue. How do we get the money back from them and pass it to another user with a different venue. The same could happen with an artist / comic who might cancel at the last minute. We need to not let them claim the money before the event has taken place and have a facility to in some way move it to another user if they cancel..

What are you working on?
Allsorts, it's what I do. Specifically, the above is a solution to the problems faced by stand-up comedians.

cursive heronBOT
#

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

Code
<iframe
title="Verify your bank account"
src={verificationUrl}
width="100%"
height="800"
className="stripe-confirmation-iframe"
/>

Question
I wanted to know if the hosted_invoice_url url can be embedded with an iframe. Currently I'm doing this with the hosted_verification_url I get from SetupIntent -> next_action -> verify_with_microdeposits and it works. But not with the invoice url. Is there a restriction specifically for that one?

What have you already attempted?
Tried replicating the same thing I was doing with verify_with_microdeposits but with hosted_invoice_url

What are you working on?
Trying to let users follow the invoice payment process inside of our website, when their subscription's collection_method is send_invoice

#

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

Code
All imports are from `react-stripe-js`

Component:
<PaymentElement
options={{
layout: {
type: 'accordion',
defaultCollapsed: false,
radios: false,
spacedAccordionItems: true,
},
readOnly: !formEnabled,
/>

Wrapped by:
options = { mode: 'subscription', amount, currency, paymentMethodCreation: 'manual', externalPaymentMethodTypes: ['externa;_paypal']}
<Elements stripe={stripePromise} options={options}>{...}<Elements />

Question
I am trying to turn on additional payment options (Link, for example), am not seeing it appear in the PaymentElement. It is enabled within the stripe dashboard, and I have verified that the API keys I am using are associated with that same dashboard (i.e. our dev test environment)

What have you already attempted?
I have tried turning on the setting in the dashboard settings, and simplifying the code to the minimal viable setup. Per the documentation, this should be enough. https://dashboard.stripe.com/test/settings/payment_methods shows Link as being turned on.

What are you working on?
Creating internal infrastructure to streamline our products' setup with payment options

cursive heronBOT
#

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

Question
What does reserved funds because of balance change on account mean?

Related Request ID(s)
req_y8JybH2NQW2X4U

What have you already attempted?
I've created a charge to get back some fees after a transfer. What does the above message mean?

#

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

Code
public static List<PaymentIntent> fetchPaymentIntents(List<String> paymentIntentIds) throws StripeException {
List<PaymentIntent> allPaymentIntents = new ArrayList<>();

    for \(int i = 0; i < paymentIntentIds.size\(\); i += 100\) {
        List<String\> batchIds = paymentIntentIds.subList\(i, Math.min\(i + 100, paymentIntentIds.size\(\)\)\);

        Map<String, Object\> params = new HashMap<\>\(\);
        params.put\("payment", batchIds\);
        params.put\("

Question
I am trying to get a list of payment intents by providing A LIST of ids. I don't want to do separate calls, I want to retrieve it by providing a list of ids.

What have you already attempted?
I have tried something like the above code, by putting a list of ids in the payment param.

#

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

Code
Please refer to this link. In page source view, simple code can be seen. https://dev.cheapestairportparking.com/airport-parking/apple-pay-poc

Question
I am testing Apple Pay POC integration in web from an India location. but I am not able to successfully generate the confirmation token. Stripe account is US based.

What have you already attempted?
I have tried VPN to access from different regions. I have setup sandbox account apple id in my device and add few cards from https://developer.apple.com/apple-pay/sandbox-testing/

#

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

Question
About 2 hours ago, new charges in test mode started triggering webhooks for our production Zapier integration causing a lot of errors in Zapier. Example: "Error while hydrating data from Stripe (2.19.0): The app returned "No such charge: 'ch_3QKMS7Im9ryFzCY4371rgdKI'; a similar object exists in test mode, but a live mode key was used to make this request."."

Related Event ID(s)
evt_3QKNmEIm9ryFzCY42yIHJKoN evt_3QKNlyIm9ryFzCY40KelLdAf evt_3QKNlJIm9ryFzCY40gtNlcSm

What have you already attempted?
As far as I'm aware, no changes were made on our Stripe environment this morning, and I was able to confirm no changes were made in Zapier. I've been trying to see if I can stop the test mode events from sending, but I can't find any settings that control this.

#

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

Question
How do you update the billing credits that the user has used

Related Request ID(s)
n/a

What have you already attempted?
I am trying to use burn down model to use the credits as the user uses them.https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models?dashboard-or-api=api#credit-burndown-model

however, I am confused on how to update the user's credits as they use them in this model

https://docs.stripe.com/api/billing/credit-grant/object?lang=curl

cursive heronBOT
#

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

Question
Is there a way to get payment link url or payment link id from the payment intent id?

Related Request ID(s)
NA

What have you already attempted?
Looked into api response for payment intent, there wasn't any payment link url or payment link id in there.

What are you working on?
currently i have a requirement to check if getting payment link url from payment intent id is possible or not

#

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

Question
We will take a booking fee (charged to customer) and small platform fee (charged to business); the remainder of the fee is payable to the business. I understand that Stripe connect is the best way to do this but have some concern that all businesses will need to sign up for a stripe connect account and this would be a UX deterrent. I want to create a seamless UX and they would have already signed up for my application, cautious of making them sign up for stripe as well. Curious to know how people have handled this?

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

What are you working on?
Building marketplace where customers will make a booking with a provider (which is a business).

#

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

Question
I have a website on Sharetribe that is currently in build mode. We are trying to test transactions from start to finish using Stripe Test API keys. When we deploy our code on Render, we are getting JSON errors every time. The test keys are also in the Sharetribe console, along with our custom code. We need help solving this issue.

Related Request ID(s)
N/A

What have you already attempted?
We have tried troubleshooting this on Render and Sharetribe. We also reached out to Render and Sharetribe support.

What are you working on?
Sharetribe marketplace

cursive heronBOT
#

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

What did you expect to happen?
I created a batch of single-use promo codes in April for a particular coupon in our Stripe environment and expected them to stay around indefinitely, even after being used and set to inactive.

What actually happened?
Of the batch of single-use codes I created in April, only a handful can now be found as either active or inactive when searched for in the Stripe UI using the top search bar.

Reproduction Steps
When I search for particular codes generated for the coupon ID `mktg_student2`, including the code `QKOTVSBM`, those codes show up as neither active nor inactive for that particular coupon

Question
Is it the case that single-use promo codes should remain with the coupon indefinitely, or are they purged after some amount of time? If they aren't purged after some amount of time, why am I unable to find so many of the codes I generated earlier this year?

cursive heronBOT
#

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

What did you expect to happen?
Clarifying behavior of `trial_settings.end_behavior.missing_payment_method `. When set to `cancel` if the customer's has no payment method to subscription. But has previous payment methods (not attached) does it still charge?

What actually happened?
Expected to cancel, actually charged

Reproduction Steps
Create a trialing subscription

Question
Clarifying behavior of `trial_settings.end_behavior.missing_payment_method `.

#

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

Question
Hi! We want to generate PDFs for w9 and 1099 NECs for a list of striptAccountIds, is there an API will allow us to do so? Thanks

Related Request ID(s)
none

What have you already attempted?
Look through the docs

cursive heronBOT
#

@errant timber 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's Payment Element component to gather customer's financial payment information. It is currently live in production. Customer should be able to enter their username and password when prompted to instantly verify their account.

What actually happened?
Testing went well in lower environments. However, I have a customer reporting they aren't able to enter their username and password when trying to connect to their bank account. They're not able to focus on the input field and type their username and password

Reproduction Steps
Open the Stripe Payment form, select US Bank Account, and search for Community National Bank (KS)

Question
Why can't the user type in the input fields?

What are you working on?
Collect customers' financial payment information for future purchases.

cursive heronBOT
#

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

Code
this.stripePaymentElement.on('change', (value: StripePaymentElementChangeEvent) => {
console.log("payment element changed", value);
});

Question
How can I access Apple Pay shipping info and email when using Payment Elements? I want to use this data to improve UX

What have you already attempted?
I tried to listen for payment element changes and extract shipping info from the `change` event, but it doesn't include email or shipping info

cursive heronBOT
#

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

Question
Can hosted onboarding flow re-use existing connected accounts?

My product has two Stripe onboarding flows. the old one uses oauth and allows the user to select an existing Stripe account to use as the new connected account to our platform. Our other flow uses hosted onboarding and we call \Stripe\Account::create then \Stripe\AccountLink::create. The customer's don't like that they have to create a brand new account each time.

The docs say oauth is the old way and not preferred.

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

What are you working on?
Working at ThriveCart

cursive heronBOT
#

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

Question
We operate a subscription service, and are hoping to integrate buy-now-pay-later options (Klarna and Affirm) for our annual subscriptions. Is there a way to enable this? It seems like direct support for subscription payments may be missing, is there a way around this?

We currently use the React Elements / PaymentElement setup, relying on the stripe/react-stripe-js package for most of the component structuring, and the Stripe node module for the API calls.

Doc/Guide Links
https://docs.stripe.com/payments/klarna/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api
https://docs.stripe.com/payments/affirm/accept-a-payment?payment-ui=direct-api
https://docs.stripe.com/api/subscriptions/object#subscription_object-payment_settings

What are you working on?
We're creating an internal platform for subscription services. Our company's products (subscriptions for electronic services) will make use of the tooling we build.

#

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

What did you expect to happen?
When we have a confirmed payment intent which used the Link payment method, certain CC information are not available in the charge object. We expect to have the card's last 4 digits and the card's brand.

This information is available on the charge object when using Stripe Checkout with Link.

What actually happened?
The charge object does not contain the card's last 4 digits and the card's brand when the payment method is Link. This information is also does not seem to be available on Stripe's dashboard either.

Reproduction Steps
https://docs.stripe.com/payments/link/payment-element-link

Adding Stripe element to a stripe payment element integration where the payment is confirmed by the server.
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment

The list of enabled payment methods are currently manually set in the payment element and payment intent.

Question
Should we not have the same CC information in the charge object when using Stripe checkout and payment element?

The information also seems to be absent from Stripe's dashboard so it seems to be broader in scope.

Payment element example: pi_3QKQe3GE13mgzRzk0uD1mFtF
Checkout example: pi_3QKMktGE13mgzRzk0Pzh4GFv

What are you working on?
Migrating from Stripe Checkout integration, to integrated Stripe's payment element

cursive heronBOT
#

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

Question
I was hoping for some clarification about the Stripe::Invoice.create_preview endpoint. The docs state that this will create an invoice preview that can be retrieved for 72 hours. https://docs.stripe.com/invoicing/preview

I can get this working and am able to retrieve the invoice generated but I can't seem to make any changes to preview invoices generated this way. i.e. add lines, etc.

Is an invoice preview generated this way intended to be mutable or should a new invoice preview be generated with any additional changes/lines?

Related Request ID(s)
req_ypQ37RN57gfG7t

What have you already attempted?
I can successfully retrieve ( Stripe::Invoice.retrieve ) a preview invoice generated with Stripe::Invoice.create_preview but when I call something like Stripe::Invoice.add_lines for the same invoice id I get an error response: "Stripe::InvalidRequestError: (Status 400) (Request req_ypQ37RN57gfG7t) No such invoice: 'upcoming_in_1QKSP1DAWTp2PXOwxj4ZiZrF'"

What are you working on?
Subscription Management integration with Stripe

#

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

Question
Questions:

  1. Do you know why customer.subscription.deleted is not executing in Stripes Events? Did I enter the endpoint details wrong? If you need further information to trouble shoot please let me know.

  2. Once customer.subscription.deleted is working in Stripe, how can I successfully add the webhook in my Bravo workflow?

Thank you so much! I appreciate your through response as I know I am close.

Related Event ID(s)
customer.subscription.deleted

What have you already attempted?
I have a Stripe “customer.subscription.deleted” log error that only happens for Brevo and I can't figure out why.

This is my website that uses Stripe Payments with MemberPress - https://www.topaitoolsforteachers.com/sign-up

After the user signs up and pays they are added to a Brevo "Welcome" automation.

I am now trying to use a Webhook I created in Stipe called “customer.subscription.deleted” to it so when it triggers it takes them out of the flow.

“customer.subscription.deleted”. works great with MemberPress and Gravity forms, but fails with Brevo.

What are you working on?
Create Brevo Email Automation Removing Unsubscibed Users

cursive heronBOT
#

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

Question
Balance will increase the amount due on the customer's next invoice.

I do not understand this

Related Request ID(s)
n/a

What have you already attempted?
Is their a way to settle the user's remaining balance without waiting for them to pay for an invoice by use the credits they have on file

A user has 1000 billing credits I want to use those credits. I create an invoice for 1 cent and the billing credit gets used but the total balance does not update and I get this

#

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

What did you expect to happen?
Automatic payout will contain list of transactions

What actually happened?
1 specific automatic payout contain transaction summary but there is no list of transactions

Reproduction Steps

  1. Go to this stripe account id: acct_1LK1P5CX8w2O5zwy

  2. Open this payout id: po_1QGwoICX8w2O5zwyaezQwB1C

Question
Why there is no transaction list on this one specific payout? Where all other payouts contain normal transaction list.

What are you working on?
My app is trying to retrieve list of transaction inside that payout.

cursive heronBOT
#

@glacial thicket pressed the 📚 Doc or 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/custom/hosted-onboarding#info-to-collect

Question
We have a problem where customers are abandoning enrollment when they don't have the owners' SSNs or birthdates readily available. When that happens, we are unable to complete their setup, onboarding, and training. We would like for those users to complete a provisional enrollment, be set to a status of "Enabled" and then prompt them to come back and provide the missing/inaccurate information at a later date (before they enter into a "Restricted Soon" status). However, it seems like these fields are always collected and required. Can we do incremental onboarding with hosted onboarding links?

What have you already attempted?
We have tried setting the collection_options.fields to currently_due and the collection_options.future_requirements to "omit", but still find that we are prompted for this data and we cannot seem to avoid entering it when using hosted onboarding forms.

We have also tried entering placeholder values for date of birth, and entering just the "last 4" ie 000-00-1234 but both seem to generate validation errors.

What are you working on?
We are building a payments solution for dental offices.

#

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

Question
Hello,

I'm trying to change my premium system to be more fluid. Currently, I have two different tiers:

1x premium - premium for one discord server
3x premium - premium for 3 discord servers

However, I would like users to be able to define a custom amount between 1 and 100 premium servers, scaling the price dynamically, with the potential for providing a small scaling discount the more servers you buy premium for.

How would I do this? I'm guessing I would switch entirely away from using a product catalogue?

Related Request ID(s)
N/A

What have you already attempted?
I'm unsure how to implement this.

What are you working on?
A discord bot

cursive heronBOT
#

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

Question
Seeing an issue where on Google Play Store builds in Production the Payment Sheet pops up then disappears.

Related Request ID(s)
req_DmZATeazDo5uUq

What have you already attempted?
We tried to reproduce the issue on iOS, Android simulator builds in production locally, and in test and production environments. The issue is isolated to Android Play Store builds, in production, on a physical device.

What are you working on?
Flutter cross platform mobile application that uses Stripe Connect for users' payments

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/connect#direct

Question
The docs for direct charges with Invoicing and Connect say:

> You can also create a token by using shared customers.

However, the link that "shared customers" links to points to a page marked as "legacy". What is the alternative to shared customers in a direct charges scenario with Invoicing?

What have you already attempted?
I looked for an alternative to shared customers, but was unable to find a clear answer.

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

cursive heronBOT
#

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

What did you expect to happen?
Change the pricing on my app & website

What actually happened?
I archived the old price, added a new price and set this new price as default price.
However, upon checking, the price page was not loading on the app, and gave a service error on the website.

Reproduction Steps
I have unarchived the old pricing to put everything back to normal.

Question
Our website is build on Laravel, and app on Flutter, would this make the price change more complicated?

What are you working on?
Product Price Change

cursive heronBOT
#

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

Question
I am using the Stripe express checkout element and have noticed that when re-using the express checkout button it will create duplicate payment methods (same fingerprint, new ID).

Is there any way currently to avoid creating a new payment method when using the express checkout feature?

Note the related requests are the same express payment method being used twice with different payment method IDs.

Related Request ID(s)
req_notnza5gIaXnDb, req_KS4SkvU6MhzUKM, req_FIhI1u4HxY6oFy, req_jv0mRYrUZAt0oS

What have you already attempted?
I am able to de-duplicate the payment methods after the payment is complete, but this also requires updating subscription payment methods, leading to inconsistencies between Stripe and our database.

Listing out saved payment methods can avoid this, however, users will often re-use the express button.

What are you working on?
Subscription based ecommerce platform.

cursive heronBOT
#

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

Code
https://connect.stripe.com/express/oauth/v2/authorize?redirect_uri=https://dev.chefmarket.place/chef-vendor.php?dispatch=companies.stripe_connect_auth&client_id=ca_RB9IFYh7YKYAd0cDIZxqLWUGWDVUBRNu

Question
When I turn on Enable OAuth https://dashboard.stripe.com/test/settings/connect/onboarding-options/oauth
I get the error using OAuth with Express accounts
{"error":{"message":"Cannot onboard via express oauth due to gated access.","code":"forbidden"}}
but when I turn it off I get the same error. But it works before, how to recover OAuth with Express accounts in the test mode? Thank you.

What have you already attempted?
https://docs.stripe.com/connect/oauth-express-accounts

What are you working on?
marketplace

cursive heronBOT
cursive heronBOT
#

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

Question
I'm using instant payout API to pay my connect accounts money they have in their wallet. My question is: "Does stripe take 1% cut from the amount that was transferred or the dashboard owner has to pay it?"

Related Request ID(s)
none

What have you already attempted?
Currently, The amount is being paid in total to connect accounts and they are not being charged 1%. I don't see any charges on my dashboard either.

cursive heronBOT
#

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

What did you expect to happen?
Apple Pay option should show up when accessing stripe with Safari from an iPhone

What actually happened?
Apple Pay button not there

Reproduction Steps
It's probably a configuration error on my side, but can't figure it out. Google pay is working when access is from Chrome,

Question
Apple Pay is turned on under Payment Methods, but the button is not showing up. What am I missing?

What are you working on?
Just setting up Stripe, using their payment page, to take donations via Apple Pay and Google Pay.

#

@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: name,
email: email,
//address: addressInfo,
},
},
}
)
.then(function (result) {
// Handle result.error or result.setupIntent
})

Question
Missing required param: payment_method_data[billing_details][address][line1].

is address param with country mandatory?

What have you already attempted?
If address is passed, then got the error as "Country 'Spain' is unknown. Try using a 2-character alphanumeric country code instead, such as 'US', 'EG', or 'GB'. "

There were error on 8th November for one of the authorization and yesterday, an authorization went without the address param itself

What are you working on?
Stripe integration and support in 6storage application

#

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

Code
public function subscribe(Client $client, Request $request) {
$user = $request->user();
$subscription = $user->subscriptions()->active()->first();
$packageType = $request->input('package');
$priceId = $this->getPriceIdFromPackage($packageType);
$user->subscription('default')->addPriceAndInvoice($priceId, 1, [
'metadata' => [
'client_id' => $client->id,
]
]);
}

Question
I'm using Laravel (11) Cashier Stripe integration. When adding a Price to an existing Subscription (which has a valid payment method) using the addPrice or addPriceAndInvoice method I get an error saying
"When confirming a PaymentIntent with a `sepa_debit` PaymentMethod and `setup_future_usage`, `mandate_data` is required.". The Price is added to the subscsription, but that immediately is set to past_due and gives this error.

What have you already attempted?
I've tried using the Stripe API directly and the Laravel Cashier way. Also tried sending mandate_data when creating the subscription or when adding the price. Both did not result in a successful response. Also tried adding another Price (product) which has a $0 price, that worked fine. When adding a Product/Price that has cost attached to it, it fails.

What are you working on?
I'm using a setup where a Laravel User can be a 'Partner'. Partners can add multiple clients under their account.

cursive heronBOT
#

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

Question
For a subscription based mobile app, subscription starts when a user places the order and prepays for 30 days subscription. Once the order is actually delivered, we need to update the billing anchor date. Once we update the billing anchor date. The user is charged again. Which is not what we are looking for. We just need to update the anchor date without any charges and the user will be charged only when reaching the upcoming new anchor date.

Related Request ID(s)
req_wIgSQDN0OQ3n9G&created[lte]=1731484955

What have you already attempted?
We have tried to update with proration on and off. proration off then user is charged again. proration on then the user is charged again for the remaining days.

What are you working on?
Subscription based mobile app

#

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

Question
I have stripe setup for my discord server to accept payments via card I wan to add crypto payments as well.

Related Request ID(s)
non

What have you already attempted?
Checked on the accept payments webpage and cannot see crypto as an option nor does it show me google or apple pay for customers as an option ?

What are you working on?
This is my page with checkout links https://www.rbtrading.online/

cursive heronBOT
#

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

What did you expect to happen?
I am using PaymentElement with "@stripe/react-stripe-js": "^2.8.0". Usually there are placeholders in all inputs.

What actually happened?
The placeholder of the security code is missing.

Reproduction Steps
Displaying PaymentElement with "@stripe/react-stripe-js": "^2.8.0"

Question
Last time I asked about this subject, you explained me that there was tests on this component. The support told me it was supposed to end the 5th of november. So did it end ? Is it the new look ? Why the placeholder of this specific input isn't displayed ?

What are you working on?
Using PaymentElement

#

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

Question
The payment method ID and Setup intent ID can both be used as a card token according to the Stripe API. Which is fine, as we support those requests as a standalone tokenisation.

However, is it possible to return a card token after a payment? At this moment of time we create a paymentIntent and append the payment method data which contains the card information. In the response we get a bunch of IDs being returned, payment method ID being one of them.

My question is, the payment method ID that gets returned in the response. Could that be used as a card token?

Related Request ID(s)
N/A

What have you already attempted?
Nothing was attempted as payment method ID is being returned in the response and I'd like to know whether this value can be used as a card token.

What are you working on?
Maintaining our direct stripe integration.

cursive heronBOT
#

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

What did you expect to happen?
I activated Google pay as a payment method in stripe and I want it to appear in the Stripe checkout session so that my customers can pay using this method

What actually happened?
Google pay does not appear as a option (Apple pay does appear)

Reproduction Steps
Payment_method_types:
payment_method_types=[
"card", "ideal", "bancontact", "alipay", "eps", "p24", "klarna", "paypal", "sepa_debit"
],
(I cannot add Google pay as it is not a valid option)

There is a label next to Apple pay and Google pay in stripe that says that for checkout I have to do nothing.

Question
I want to make sure my customers can pay with google pay

What are you working on?
I'm building a reservation flow that is being used in web as well as a app

cursive heronBOT
#

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

Question
App has a pre paid trial period. I want to extend the trial period without charging the customer until the new trial period ends.

Related Request ID(s)
req_wIgSQDN0OQ3n9G&created[lte]=1731484955

What have you already attempted?
Tried changing anchor date. but either customer is charged or giving error

What are you working on?
Subscription based app

cursive heronBOT
#

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

Question
TWINT payment method is not visible in connected account Stripe checkout page even though they enabled it on their account

Related Request ID(s)
req_fQEa2j99nsglYJ

What have you already attempted?
In platform account I enable the option to allow connected accounts to customise the payment methods from their own Stripe account - https://dashboard.stripe.com/settings/payment_methods/connected_accounts?config_id=pmc_1Q4yVeLdIlnHGLasng3VXXoG

Customer also confirmed that they enabled TWINT in their account

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payouts/instant-payouts?lang=node#eligibility-and-daily-volume-limits

Question
Hello !
Hope you're feeling well :)

I'm trying to implement instant payout for users on my website, but I'm not sure how I should understand this doc.

Actually, we use stripe.transfers.create to transfer money to the professional, but this takes some time and I need it to be instant, that's why I though about instant payouts.

(Instant payouts will not be mandatory. They will only be active if the professional requests it, and it is he who will pay the 1% fee)

Can you help me to figure out what's the best option please ?

What have you already attempted?
Not that much, I'm trying to figure what's the best way to solve my issue.

What are you working on?
To put it simply, our platform allows users to connect for services, and we simplify the organization of the professional and we take a commission

#

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

Code
Stripe checkout started to generate a checkout page with blank Payment method field.

Question
How to make it so it displays all the regular fields for card address etc without using needing to click on this field.

What have you already attempted?
I will add a screenshot to show about which input field I am talking about

cursive heronBOT
#

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

Question
Last week I created a issue on github (https://github.com/stripe/stripe-terminal-android/issues/523) reporting a vulnerability in the dependencies for stripe tap to pay on android. Can you confirm whether you are affected and any measures to take to make sure the vulnerability is mitigated?

Doc/Guide Links
https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=android

What are you working on?
Integrating tap to pay on android to receive contactless payments

cursive heronBOT
#

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

Question
Need help for payment_intent API for bulk invoice payments

Related Request ID(s)
Payment Intent API

What have you already attempted?
Created payment_intent object for single invoice and it works fine

What are you working on?
PHP Stripe APIs

#

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

Question
I am creating coupen code functinality in which I am creatting coupen code for perticuler produdct. it's working fine but when i am applying to other product it's applide (price did't decrease) it should not apply it should give error how can i fix this

Related Request ID(s)
req_V1EuVQdEoBQ6Ln

What have you already attempted?
I am creating coupen code functinality in which I am creatting coupen code for perticuler produdct.

cursive heronBOT
#

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

Question
Is it possible to get the promotional code and type of payment in the webhook ?

Related Request ID(s)
no request id

What have you already attempted?
configured webhook to listen for the stripe default checkout page....

What are you working on?
integrating webhokk for stripe default checkout

#

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

Question
How can I set the payment to enable customer to choose the quantity they like to purchase?

Related Request ID(s)
?

What have you already attempted?
I searched on website and found out that I need to change the code but I don't know where to do it.

cursive heronBOT
#

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

Question
I’m looking for an API that automatically retry a failed subscription installment. we have hundreds of connected accounts and allow them to create descriptions in our platform. We need an API or a programmatic way to retry failed installments.

Related Request ID(s)
?

What have you already attempted?
The only thing I see in the docks are payment retry, but it seems this is only a dashboard thing so we would have to go into hundreds of connected accounts and manually set this program

What are you working on?
Sketchplay.com

#

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

Question
Is there any way to create an invoice that is charged automatically that will not show up with Payment Due in the billing portal? I know you can set due date if you use send invoice, but we cannot use this method. Our use case is we create invoices for things that we don't expect to be charged for an unknown amount of time. Just because the invoice is open doesn't mean it should be paid. It's showing in the customers billing portal as overdue and confusing them. Any thoughts how to get around this problem?

Related Request ID(s)
req_v618000N75fqsz

What have you already attempted?
I attempted to set the due date, but realized we cannot do that. I also tried to hide the section on the billing portal that shows overdue invoices but that also removes the invoice history, which we need

cursive heronBOT
#

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

Question
How can I customize the payout statement description for automatic payouts?

Related Request ID(s)
n/a

What have you already attempted?
Consulted the docs

What are you working on?
POS application

#

@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: name,
email: email,
//address: addressInfo,
},
},
}
)
.then(function (result) {
// Handle result.error or result.setupIntent
})

Question
Missing required param: payment_method_data[billing_details][address][line1].

What have you already attempted?
it was working a week before, now address param is requested to add

What are you working on?
stripe payment integration and support payment related issues for our product named "6Storage"

cursive heronBOT
#

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

Code
N/A -----------------------

Question
Express client in Ireland is having her customer's payments rejected. All specific to this customer, all other customers working fine.

acct_1PuGsFPL8kfqWlLt

What have you already attempted?
Stripe support passing the issue back to us but seems strip specific.

#

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

Question
How can i fetch user id in order to send it to the secrets endpoint that requires user id as a parameter?

Related Request ID(s)
?

What have you already attempted?
I cant find a requests that fetches users

What are you working on?
Buiding an integration for my sspm platform

cursive heronBOT
#

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

Question
How can i calculate myself the application fee for subscriptions? I just see option for application fee percentage

Doc/Guide Links
no docs no docs no docs

What are you working on?
Stripe Subscriptions over Checkout Sessions

#

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

Question
I try to run the secret api but its requesting a user id as a parameter but I have no call that returns user id.

Related Request ID(s)
?

What have you already attempted?
tries to make this call - https://api.stripe.com/v1/apps/secrets
with scope type user
but its requiring a user id which I don't know where to get

What are you working on?
Building an integration for my sspm app

#

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

Question
My team has been listening to the payout.updated webhook for nearly a year, and there's only been 5 or so sent to us. The most recent have been updates to the trace_id field. We do not care about this. Is there any way someone could provide what can actually change in the payout in terms of amounts, dates, etc? We are trying to decide if we actually need to concern ourselves with this event type.

Related Event ID(s)
evt_1QKVEhFY66Dgr9Mtg4sLDTt4

What have you already attempted?
N/A. Just asking a general question

#

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

Question
I want to change the version of my API in a Stripe Sandbox but I get a warning:

This action will upgrade both your main and Connect application API versions.Going forward, there will be one API version for your entire Stripe account.

Is the upgrade I'm being warned about only going to apply within this sandbox or its actually warning me that it will leak out to the "main" account?

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

What are you working on?
Migrating to the latest stable API version from a super old version.

cursive heronBOT
#

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

Question
I am trying to downgrade a users subscription at their end of their year end cycle and i don't want it to prorate, i want to also let the api call know which plan the user will be downgrading to. i created the Stripe api call "update subscription with the following parameters, Subscription id, subscription item id, Price, Billing cycle anchor set to "unchanged", & default payment method. The problem i'm having is that my Stripe dashboard shows that the next invoice invoice is the one that they are currently on and not the one that they want to downgrade onto.

Related Request ID(s)
req_Cj24ZsoaXBZlHX

What have you already attempted?
i created an api call with Sub id, sub item id, price, billing cycle anchor set to unchanged, proration behavior and default payment

What are you working on?
I am trying to schedule a change of plans at the end of the users yearly plan end date. in this case the user has a $500 plan and the next one they are trying to sign up onto is a $100,

#

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

Question
I am trying to figure out why I still have some API requests using an outdated API version.

Related Request ID(s)
req_cmMXXPNRj00kmj (using 2019-02-19)

What have you already attempted?
I have tried to set the stripe version in every initialization of StripeClient but I must be missing some

What are you working on?
POS application

cursive heronBOT
#

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

Code
I do not understand where to embed the code into webflow. I have fully created the ecommerce site, the products etc. I have "completed" every step including connecting to stripe. When I went live with my site you could not click the "place order button"

Question
Unlike normal buttons the "place order" button does not allow you to link anywhere. I do not understand how the stripe will play its part in between adding the item to your cart and clicking "check out" or "buy now"

What have you already attempted?
I ended up just adding the hyperlink to the "buy now" button. I do not like this solution because you cannot automatically have the webflow email send or the notifications that someone has brought your product. Please help!

What are you working on?
Ecommerce on webflow. Integration with stripe

#

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

Code
const pagesClientSecret = useMemo(() => {
if (!clientSecretList || !sumCache) {
return null;
} else {
return clientSecretList.find(item => item.key === sumCache)?.clientSecret;
}
}, [clientSecretList, sumCache]);

........................

  <CheckoutForm pagesClientSecret={pagesClientSecret} /\>
  
........................

export default function CheckoutForm\({ pagesClientSecret }\) {
const stripePromise = load

Question
Hi, I have react app

1) I get code A from the server, pass it to <EmbeddedCheckoutProvider/>, save the code to the cache (clientSecretList) - ok
2) I get code B from the server, pass it to <EmbeddedCheckoutProvider/>, save the code to the cache (clientSecretList) - ok
3) I take A from the cache, pass it to <EmbeddedCheckoutProvider/> - but I see the amount from B

I can transfer two identical keys to <EmbeddedCheckoutProvider/> ?

What have you already attempted?
update stripe:
await stripe.redirectToCheckout({
mode: 'payment',
clientSecret: newClientSecret,
});
setStripe(stripe)

cursive heronBOT
#

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

Question
How to use Adaptive Pricing in C# .NET API: Checkout Session

Related Request ID(s)
evt_1QKjlIHOzdvO2py1DsJR8jtW

What have you already attempted?
I just read the docs and still can't figure out how to do it properly. See my code please

What are you working on?
Already got the API working, but need to have adaptive pricing for different countries.

#

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

Question
I have two subscription products - one is a full membership and the other is a partial membership. I want to allow people to upgrade from one to the other, and to pro-rate the remaining amount of the partial membership as a discount on the full one. What is the best approach to doing this?

Related Request ID(s)
None.

What have you already attempted?
I do see a `subscription` parameter when creating a checkout, but I don't see enough information about how it works. Could this be used to specify a subscription that this checkout should replace or alter? Or is there some other way to specify that the previous subscription should be canceled at the same time? I'm hesitant to include this partial membership as a separate price on the main subscription because the main subscription is described differently. They do not provide the same access.

What are you working on?
Upgrading the subscription process for our SaaS application to add another membership tier.

cursive heronBOT
#

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

Code
express.on('shippingaddresschange', (event: StripeExpressCheckoutElementShippingAddressChangeEvent) => {
this.checkoutService.updateShippingAddress(this.paymentContext.checkoutTransaction.id, this.paymentContext.paymentIntent.paymentIntentId, {
state: event.address.state,
zip: event.address.postal_code,
country: event.address.country
}).subscribe(() => {
event.resolve(this.getAdditionalCost());
});
});

Question
I'm trying to implement express pay using stripe API but I'm having issues with total amount shown on amazon pay. When address changes I recalculate taxes and shipping and call "resolve" method with those values. also I'm updating payment intent totals on the server side. What happens is that amazon pay doesn't refresh the UI on load, it only refreshes when address is manually selected from their UI. So I'm always seeing previous value in the UI.

What have you already attempted?
I don't know how to force amazon pay interface update once I have updated shipping address and taxes and payment intent amount in the backend.

I'm creating payment intent with amount that is calculated with user's country (from IP address), once amazon pay interface is shown I do recalculation with the address amazon provides (and shipping and taxes change).

#

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

Question
What's the threshold for automatic Stripe disable?
We recently had a critical webhook get disabled, assuming because we had an event that was subscribed that wasn't returning 200's, but the others were, which led to the webhook being disabled.

Related Event ID(s)
n/a

What have you already attempted?
Disabled the event that was not returning 200s. Just want to make sure that was the actual cause and not something else.

What are you working on?
transaction processing

#

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

Code
You may not update your TIN because of the Stripe terms of service you have signed. Please contact Stripe support for assistance.

Question
On test mode Embeded KYC form I get into a state when entering an invalid EIN that if I change it I am essentially locked out of completing KYC.

What have you already attempted?
I tried going into the dashboard itself rather than the embedded form and entering an EIN and it still gives this error.

#

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

Code
// Display the notification banner using stripeConnectInstance
displayNotificationBanner(): void {
const container = document.getElementById('notification-banner-container');
if (!container) {
console.warn('Notification banner container not found.');
return;
}

  // Initialize the Stripe Connect instance if not already initialized
  const notificationBanner = this.stripeService.stripeElements.create\('notification\-banner'\);

Question
dashboard.component.ts:69 ERROR 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, linkAuthentication, payment, address, expressCheckout; you passed: notification-banner.
at N (v3/:1:259484)
at v3/:1:404818
at t.<anonymous> (v3/:1:405310)
at t.creat

What have you already attempted?
I have added session request and I received id values and added below code received from stripe saying
A valid Element name must be provided and added notification-banner.
const notificationBanner = stripeConnectInstance.create('notification-banner');
container.appendChild(notificationBanner);

What are you working on?
Notification banner to show for restricted accounts

cursive heronBOT
#

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

What did you expect to happen?
We recently migrated from an older flow where we used Plaid to connect to bank accounts to Stripe to connect to users bank accounts. When I went to cancel Plaid, I noticed that we are still being billed for 138 units each month and I am thinking that is from subscriptions that were already setup. Is there a way to migrate those without the users doing it?

What actually happened?
I didn't really expect Plaid to still be involved, but it seems like it is.

Reproduction Steps
Not sure there are any here

Question
Can I migrate subscriptions that previously used Plaid to connect their bank account to Stripe without the user being involved?

What are you working on?
We had to migrate our entire setup to incorporate wallet payments.

#

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

Question
Is there a way to detect if there are taxe registrations on the account via the api?

Related Request ID(s)
N/A

What have you already attempted?
I can check if automatic_taxes are enabled, but they can be enabled without any registrations which end up not calculating any taxes (leaving the taxes at 0.00$) until there is a registration

What are you working on?
Users can integrate their stripe account on my app to allow payments but I need to make 100% sure its tax-ready and show steps to enable them if thats not the case

cursive heronBOT
#

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

Question
Enable transaction fee based on amount and payment method user choose on the payment element

Related Request ID(s)
N/A

What have you already attempted?
Browse the docs.

What are you working on?
Invoices page intergration

cursive heronBOT
#

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

Question
Invoice creation process ends up with a 0 value invoice

Related Request ID(s)
req_HiahPaWQuHevu2

What have you already attempted?
Create invoice with invoiceitems followed by invoices.

What are you working on?
A chatbot for a limo booking company.

#

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

Code
const notificationBanner = stripeConnectInstance.create('notification-banner');
container.appendChild(notificationBanner);

Question
The above code provided for notification banner in that what is stripeConnectInstance?

What have you already attempted?
displayNotificationBanner(): void {
const container = document.getElementById('notification-banner-container');
const stripeConnectInstance = this.stripeService.stripeConnectInstance();
const notificationBanner = stripeConnectInstance.create('notification-banner');
container.appendChild(notificationBanner);

  notificationBanner.setOnNotificationsChange\(this.handleNotificationsChange.bind\(this\)\);

What are you working on?
I received this error for notification banner - restricted code

#

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

What did you expect to happen?
setup a card with a £0 ZVA

What actually happened?
Rejection advising must be atleast £0.30

Reproduction Steps
PI_ with amount 0.00

Question
We are attempting to setup a customer upon booking for extra charges, with our previous card supplier we completed a ZVA but when attempting to do this via stripe, its saying must be atleast £0.30 any advice on how to overcome this?

cursive heronBOT
#

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

Question
Why is your support so bad? Disabling access to support is a crime.

Related Request ID(s)
Who cares

What have you already attempted?
Everything. Stealing peoples money is a crime. I cant wait for this company to get hit with a class action. Itll be a beautiful day.

What are you working on?
Be a normal small business that uses a merchant to collect money. Apparently thats too much to ask.

#

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

Question
Hey Stripe team!
We are testing our webhook integration with Stripe, and finding that we are not receiveng webhooks for certain failed payment attempts.
For example, if I search for failed requests for customer cus_R7VO7Pwqu1sLRJ in our Stripe dahsboard, I can see a request to "POST /v1/payment_intents" that resulted in a 'invalid_request_error' (request ID: req_x6hSxT7Gv7r7qM)
However, if I serach for events for the same customer ( https://dashboard.stripe.com/test/events?related_object=cus_R7VO7Pwqu1sLRJ ), I can only see events for successful payments, but not for the failed one. Which mean

Related Event ID(s)
req_x6hSxT7Gv7r7qM

What have you already attempted?
n/a

#

@proper bronze pressed 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/financial-connections#pricing

Question
Where can I see these "immediate verification" charges? Are they on the financial connections object? Will they be observable in test mode? related objectID fca_1QKmblAQbHn4ElzTEbiLLtPM.

related doc: https://docs.stripe.com/payments/ach-direct-debit/set-up-payment?platform=web&payment-ui=direct-api#web-create-setup-intent

What have you already attempted?
Look at docs, api object, and dashboard.

What are you working on?
building ach checkout flow

cursive heronBOT
#

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

Question
Is it possible to retrieve URLs for the 1099-K forms of our connected accounts via the API?

We are hoping to build a “Tax Forms” page in our web app where clients can view a list of past or current tax forms. When they click on one, it would open the PDF in a new tab.

On the backend, we are using Ruby and are wanting to loop through each connected account, retrieve the URLs for any forms they have, then store those URLs for use in the UI. Also, if possible, use a webhook to check for new tax forms so that we can also store their corresponding URLs. Is this at all possible?

Related Request ID(s)
None

What have you already attempted?
Looking through the API docs - didn't see anything I thought would be relevant

#

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

Question
I have a question related to credit grants and PAYG metered pricing. Is it possible to apply a credit to a specific subscription within a customer or will it always apply to whatever usage occurs first?

We offer multiple features that are usage based and I was wondering if we could use credits to grant variable included usage for each subscription on a per customer basis.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models
https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits

What are you working on?
Switching our product to usage based pricing

#

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

Question
How can I add funds to my EUR balance (test mode) if I have a US Platform account?

I have a US platform account that will has custom FR connected accounts. The EUR balance in my testing account is EUR 0 and so when I attempt to transfer funds to these connected account, I get the insufficient funds error. How can I add funds to the EUR balance to test my integration and transfers?

Doc/Guide Links
I tried adding funds to the Available Balance by creating a charge in EUR with the following test cards, but I think the funds were added to my USD balance instead of the EUR.

https://docs.stripe.com/testing?testing-method=card-numbers#available-balance

What are you working on?
I am integrating Cross Border Payout support and as a result need available funds in other currencies to issue the transfers.

#

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

Question
Is there a way to load saved payment methods from a customer on Stripe Payment Elements component, without the Link wallet enabled ?
I was reading this doc (https://docs.stripe.com/payments/save-customer-payment-methods), and seems that it can be achieved by updating the Payment Method object with the attribute "allow_redisplay = true".
I did that, but the payment method is not loaded in the Stripe Payment Elements. Am I missing any step ? Or that only works for Checkout sessions?

Related Request ID(s)
req_aOGVSVPW88f7Xh (request to change allow_redisplay=true)

What have you already attempted?
- Pass setup intent to Elements component with a Stripe customer (cus_RCtAgbawAwFVxR) associated to it
- Changed Customer payment method (pm_1QKnoaC8l6n3Jm54RWAEONUX) to allow_redisplay = true

cursive heronBOT
#

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

Question
I think I may have fundamentally misunderstood the idempotency behavior and the 409 status code. It looks like the 409 conflict is returned with duplicate parallel requests, and not when there is a re-use of the idempotency key with a different payload.

Can I treat all 409 errors as retryable errors? I was treating them as fatal errors due to assuming it meant someone incorrectly re-used the idempotency key for a different request.

Related Request ID(s)
req_kuMJQDAdkDCDAf, req_FohuNT4OzJwx4Y

What have you already attempted?
Reviewed several requests in the workbench to try and understand the behavior, as well as re-reading the idempotency docs.

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

cursive heronBOT
#

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

Question
Creating invoice using an API. During the first request customer has no email on profile and API return an error.
We fixed profile with an email and resent a request, but it still sendiing the same error.

Related Request ID(s)
req_IOzZsFTUlWbUjQ

What have you already attempted?
Nothing, just updated customer profile with email.

#

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

Question
I'm trying to tie stripe_fees incurred for "Instant bank account verifications" back to particular customers. I don't see too much info in the transaction object that would help with that, and also see that these fees may be batched together into 1 transaction (i.e. 2 separate fees for potentially multiple separate customers produces a single aggregated transaction).

Put another way, I'd like to "crawl from a transaction for 'Connections Verification' back to the initiating Financial Connections object". Is this possible?

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

What are you working on?
ach checkout flow

cursive heronBOT
#

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

Question
We want to be able to obtain accurate sales tax rates based on address, but do not want Stripe to collect / file the sales tax. We need rate only. Is this possible?

Also, Does Stripe offer any type of address validation API? We are not always confident that the address our customers provide is accurate, and it’s often missing a zip+4. How will this work with getting the accurate sales tax rate?

Related Request ID(s)
n/a

What have you already attempted?
Trying to get help from sales and support teams

What are you working on?
Potential new Stripe customer

#

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

Question
We have a subscriptions integration that offers trial periods and promo codes. When a user is trialing a subscription, but decides they want to switch to a tier that doesn't offer a trial we force the user to schedule the update (via subscription schedules), but I can't seem to get the discount to apply properly to the invoice for the lower tier when the subscription updates/creates the first invoice.

I've tried adding the discounts array to the first phase, second phase and both phases, but none of them result in a discounted invoice when the trial ends and the subscription product is updated to the scheduled product.

How can I accomplish the desired functionality?

Doc/Guide Links
https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-phases-discounts

What are you working on?
SAAS

cursive heronBOT
#

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

What did you expect to happen?
Ability to complete an onramp transaction when using the embedded widget from the @stripe/crypto library.

What actually happened?
Unknown error. Showing a 499 in network history.

Reproduction Steps
Install in nextjs app, successfully generate clientSecret, onboard to link, setup payment details with 4242-4242-4242-4242 card, click "Review Order" button.

Question
Is there a setting I am missing in my stripe setup for this to work? I can confirm that the flow works when using the redirect method, with the exact same input details.

What are you working on?
Guideline for LatAm Tech Workers. Using crypto to facilitate an employee retirement plan.

cursive heronBOT
#

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

Question
We are utilizing Stripe as our platform and have several connected accounts as our clients. Our goal is to configure payment methods for these connected accounts, allowing only a select few. However, we've encountered an issue where certain payment methods, such as Alipay, are available to connected accounts despite not being listed on our platform.
Why are these payment methods accessible to connected accounts when they are neither listed nor enabled on our platform?
How can we effectively restrict specific payment methods to ensure consistency across our platform and connected accounts?

Related Request ID(s)
pmc_1O0RocGxQQgBUJg7VV1kNPpR

What have you already attempted?
Read documentation

cursive heronBOT
#

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

Question
We are trying to remove the pending verification bank account payment method from our system using the detach paymentmethod from a customer API. However, we are getting an error message stating that the "The payment method you provided is not attached to a customer so detachment is impossible."

Related Request ID(s)
req_966kEPL90Qvx1x

What have you already attempted?
We tried Detach a PaymentMethod from a Customer API
https://docs.stripe.com/api/payment_methods/detach

What are you working on?
We have a custom webapp for customers to save their payment methods and use the payment method to make fee payments.

#

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

Code
return await this.stripe.checkout.sessions.create({
allow_promotion_codes: true,
// automatic_tax: {
// enabled: true,
// },

  client\_reference\_id\: \`${user\_id}\`,
  customer\_email\: user\_email,
  success\_url\: 'http://localhost:3333/dashboard',
  line\_items\: \[
    {
      price\: price\_id,
      quantity\: 1,
    },
  \],
  mode\: 'subscription',
}\)

Question
I'm sending the internal userId as the customer_reference_id at the session's creation, but when I get the webhook call of payment confirmation, I'm not getting it back.

What have you already attempted?
The doc mentioned that I can use the customer_reference_id to identify the user on my internal system, but it doesn't work. I'm using the apiVersion: '2024-10-28.acacia'

What are you working on?
SaaS

cursive heronBOT
#

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

Code
A standard tab based implementation of payment elements.

Question
We currently can't use PayPal inside of Stripe as we're not in a supported country. We are keen to move our integration over to payment elements, and would like to include PayPal as an external payment provider inside payment elements (we have our own separate integration with PayPal and can provide an external link). Is there a way to do this?

What have you already attempted?
We've built a payment elements using card and UK BACS payment which functions perfectly. We'd like to add paypal to this.

#

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

Question
Adaptive Pricing: How to increase the converted value?

I'm working in a .NET C# Application, which will generate a session checkout.

My settlement coin is BRL and I want the converted prices through Adaptive Pricing, to be a little higher.

E.g: I set the product price through Price_Data as 50BRL and currently it's converted to US$8.96. I want to make it US$9.90. How can this be achieved?

Related Request ID(s)
none

What have you already attempted?
I tried setting a related property in the Session Checkout object in C#, but it doesn't seem to exist

What are you working on?
Session Checkout

cursive heronBOT
#

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

Code
nothing for code because it is in the dashboard

Question
i just wanna know how can i remove the pay online link from the invoice template because the invoice are paid? thnx

What have you already attempted?
i have tried thing in dashboard test and live mode

What are you working on?
just payment portal

cursive heronBOT
#

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

Question
When the customer tried to pay with Klarna, he saw a very unclear message " unavailable", we received the same on the server end "payment_method_not_available", may I ask how to get the specific reason for the failure and how to guide the customer?
We keep receiving the same kind of complaints from customers.

Related Request ID(s)
Payment intent: pi_3QKsBWHpWvCFmQWr1a3qVQNW

What have you already attempted?
Nothing. We don't know what to do or how to guide the customer except to suggest using another payment method.

cursive heronBOT
#

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

Question
Is there a way to get stripe api key?

Related Request ID(s)
stripe api key.

What have you already attempted?
im developing stripe marketplace app. we have a feature that user can refund the charges from api. But it requires installed user stripe api key to achieve. Is there a way to get stripe api key?

What are you working on?
stripe marketplace app

cursive heronBOT
#

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

Question
Using our own billing system to now process an invoice then if the customer has Stripe customerId create a payment intent with the following;

.setAutomaticPaymentMethods( PaymentIntentCreateParams.AutomaticPaymentMethods.builder().setEnabled(true).build()
)

to automatically process a payment from the customer captured card details, is this possible?

Environment is Spring Boot Java 21 with Thymeleaf, HTMX & AlpineJS

Related Request ID(s)
N/A

What have you already attempted?
Using our own billing system to produce an invoice the customer logs onto our portal to process payment via Stripe "checkout" which uses;

.setPaymentIntentData( SessionCreateParams.PaymentIntentData.builder()
.setSetupFutureUsage( SessionCreateParams.PaymentIntentData.SetupFutureUsage.OFF_SESSION).build())

All future invoice are manually paid via Stripe portal->Customer->Payments using inv. no. in the description field

What are you working on?
To automatically process payment at the same time as producing the invoice

cursive heronBOT
#

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

What did you expect to happen?
A non-technical/graceful error shown on Checkout

What actually happened?
The error on Checkout reads as follows:
This object cannot be accessed right now because another API request or Stripe process is currently accessing it. If you see this error intermittently, retry the request. If you see this error frequently and are making multiple concurrent requests to a single object, make your requests serially or at a lower rate.

Reproduction Steps
I am not sure, I have not seen this before. All I have is a screenshot from the customer. I am using embedded Checkout and I set up the session using the Stripe PHP SDK. Happy to provide a link to the exact request from the dashboard if needed

Question
A customer of mine is facing an issue while trying to get a trial. They see a technical error on Checkout instead of the usual graceful errors. The error message is obviously confusing for the customer and so they reached out to our support team.

What are you working on?
Stripe Checkout

cursive heronBOT
#

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

Question
We connected Stripe Checkout to our website, but Apple Pay is not work. The Stripe setting informs that we need to upload a verification file to a domain:
spartanbladesclub.com/.well-known/apple-developer-merchantid-domain-association

but we can't find this page, it's 404 error.

Related Request ID(s)
https://dashboard.stripe.com/settings/payment_method_domains?enabled=true

What have you already attempted?
We are a small startup company, we are professional at handmade crafts, don't down any tech, please help.

What are you working on?
We want Apple Pay feature work on our website. Plus, we need Affirm work.

#

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

Question
Between checkout session completion and payment intent success events, which one typically executes first?

Related Event ID(s)
No event id

What have you already attempted?
configured webhook for events

What are you working on?
configuring webhook

#

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

Question
retry failed subscription
i want stripe doesnt try failed subscription

instead i will do my custom logic

Related Request ID(s)
retry failed subscription

What have you already attempted?
retry failed subscription

What are you working on?
retry failed subscription

cursive heronBOT
cursive heronBOT
#

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

Code
try
{
var options = new Stripe.PaymentIntentGetOptions
{
Expand = new List<string> { "latest_charge" },
};
paymentIntent = piService.Get(paymentIntentId, options);
}
catch (Exception ex)
{
string inner = ex.InnerException == null ? "nullInner" : ex.InnerException.StackTrace;
Utilities.SaveErrorLog("CheckForProcessingError Stripe", "Stripe", myOrder.orderId, ex.Message ?? "", ex.Source ?? "ex.Source null", "", inner + (ex.StackTrace ?? ""));

Question
I got an exception of "No such payment_intent". What this means?
What is the cause of this? Is it safe to assume that this payment intent is not paid and it is failed or abandoned? Can you provide me a link from the official documentation, with payment intent errors including the error "No such payment_intent"?

What have you already attempted?
I checked to see that client did not change his stripe keys after this payment was made but did not see any changes

What are you working on?
A website selling tickets

cursive heronBOT
#

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

Code
new SubscriptionCreateOptions
{
Customer = request.CustomerId,
Items = new List<SubscriptionItemOptions>
{
new SubscriptionItemOptions
{..., PriceData = new SubscriptionItemPriceDataOptions(){ Interval="month", IntervalCount=1}}
BackdateStartDate = DateTime.UtcNow.AddHours(-2),
BillingCycleAnchor = DateTime.UtcNow.AddMonths(1).AddHours(-2)
}

Question
I created a subscription using the .NET SDK in Test Mode. I set a BackdateStartDate to trigger an immediate Invoice Payment, and configured it to charge monthly at the same time in the future. However, I encountered an issue: after the subscription was created and the initial Invoice was paid successfully, the subscription was immediately canceled, triggering a 'customer.subscription.deleted' event with 'cancellation_details.reason: cancellation_requested'.

What have you already attempted?
I have set PaymentBehavior = "default_incomplete" and CollectionMethod = "charge_automatically" . It does not work.
I have read Subscription & Invoice payment lifecycle doc

What are you working on?
RPA app subscription

cursive heronBOT
#

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

Question
My client is using Stripe API version of 2018-05-21, they have a system already in place that creates setup intents and payment intents for about 200 customers each month
Is it possible:

  1. To update the API so that we are sure that we are going to update since we saw breaking changes for payment / setup intents for the return_url
  2. Is it possible to update the default version and change it to something other than the latest version, for example 2020-03-02

We need this to enable Invoice numbering accross the account level which was introduced from version 2020-03-02

Thank you in advance

Related Request ID(s)
Dashboard > Developers > Versions

What have you already attempted?
The previous development team did not specify the apiVersion target
So the request are going on many different versions I am not sure what to do

What are you working on?
Migrating the existing application to new Subscription system

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/express_checkout_element_shippingaddresschange_event

Question
I would like to know if it’s possible to push the selected shipping address (from checkout form) into the Apple Pay popup? Specifically, when i selected shipping address and select shipping rate from checkout form, then I click the Apple Pay button, I want the shipping address and the shipping rate that I’ve selected to correctly load into the Apple Pay popup on iPhone. Currently, it defaults to the shipping address from the iPhone's Wallet address book.

What have you already attempted?
I understand that the shippingaddresschange event is triggered from an Express Checkout Element whenever a customer selects a new shipping address in the payment interface (Apple Pay popup).

I want to push the selected shipping address from Checkout form to Apple Pay via the click event expressCheckoutElement.on('click',handler)? Is this possible or not?

Many thanks

What are you working on?
Fresh Magento 2.4.6, Stripe Integration Payment extension

#

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

Question
Issue In payment transfer from main account.

Related Request ID(s)
1010101

What have you already attempted?
I have created flow for the payment creation and transfer.

What are you working on?
Payment transfer flow.

#

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

What did you expect to happen?
Link express checkout text present as expected in mobile IOS

What actually happened?
Link button text was not centered

Reproduction Steps
open the checkout wait for the express checkout to load

Question
How can we fix this link issue

#

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

Code
<Elements stripe={stripePromise} options={{ clientSecret: clientSecret }}>
<StripeForm formRef={formRef} />
<AddressElement options={addressElementOptions} />
</Elements>

Question
How can we pass user email from our application to Stripe AddressElement? When we switch from credit card to bank transfer, the email text field appears but it should be prefilled with the default email but AddressElement does not accept this field in defaultValues.

What have you already attempted?
we tried to call .setReceiptEmail(profile.email) during paymentIntentCreate

What are you working on?
Using customer balance method of payment and creatingPaymentIntent

cursive heronBOT
#

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

Code
$intent = \Stripe\PaymentIntent::retrieve('pi_3QCN62GRhgpj4WEi37QqJ1s6');

Question
My Payment is in dispute state. But when I retrieve it says, payment status is succeeded, How can I find its dispute or not from API response.

What have you already attempted?
My Payment is in dispute state. But when I retrieve it says, payment status is succeeded, How can I find its dispute or not from API response. Because payment intent status is succeeded

cursive heronBOT
#

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

Question
Hi team, I just wanted to confirm—if I call stripe.confirmSetup(params) or await stripe.confirmPayment(params) in production to confirm a payment method, is an OTP required?

Doc/Guide Links
Hi team, I just wanted to confirm—if I call stripe.confirmSetup(params) or await stripe.confirmPayment(params) in production to confirm a payment method, is an OTP required?

What are you working on?
Hi team, I just wanted to confirm—if I call stripe.confirmSetup(params) or await stripe.confirmPayment(params) in production to confirm a payment method, is an OTP required?

cursive heronBOT
#

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

Code
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
};
const element = stripe.elements(options);

			const expressCheckoutElement = element.create\("expressCheckout"\);
			expressCheckoutElement.mount\("\#express\-checkout\-element"\);
			expressCheckoutElement.on\('click', \(event\) =\> {
			  const options = {
				emailRequired\: true
			  };
			  event.resolve\(options\);
			}\);

Question
I am using express-checkout-element and I have uploaded CSR to apple account, verified the domain and uploaded apple pay cert to Stripe.

I have a valid card and wallet as it works for other projects as well.

But I still get "Either you do not have a card saved to your wallet or the current domain (account-dev.yournextbigsite.com) is not registered with apple Pay.

I have checked the configuration many times.

What have you already attempted?
Checked all confuguration multiple times.
Removed old test data from accounts so that current domain data remains only

What are you working on?
I am working on Apple pay using Stripe basically https://docs.stripe.com/elements/express-checkout-element/migration?lang=php

#

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

Question
PHP Stripe Payment Intent Object with 'setup_future_usage' => 'off_session', and how to use saved_payment_method_id for next multiple payment intents to pay using same card/bank details?

Related Request ID(s)
Payment Intent API

What have you already attempted?
Getting an error
Fatal error: Uncaught (Status 400) (Request req_4G13RRkfMvDfMD) You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method or ConfirmationToken. thrown in /var/www/gatewaytitleloop/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php on line 38

What are you working on?
PHP Stripe APIs

#

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

Question
{"error":"Invalid API Key provided: kqfZmUIJ***************g3dL"}

with

stripe.api_key = "sk_test_my_test_secret_key"

....
intent = stripe.PaymentIntent.create(
amount=calculate_order_amount(data['items']),
currency='eur',
automatic_payment_methods={
'enabled': True,
},
)
....

Impossible to create de PaymentIndent by following the quickstart guide for Python//React

Related Request ID(s)
Look in Quickstart setup

What have you already attempted?
I've followed this quickstart: https://docs.stripe.com/payments/quickstart

What are you working on?
Minimal setup via Flask + React to test the quickstart

cursive heronBOT
#

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

Question
Client is paying thanks to Stripe plugin on Shopify. It is a subscription, so I receive the payment method id
(pm_xxxxxxxxx). But Shopify creates the customer as invited in Stripe. Is it possible to create the customer in Stripe, then to attach him the payment_method id, so I can invoice the customer through Stripe and not Shopify every month ?

Related Request ID(s)
pm_xxxxxxxxx

What have you already attempted?
No test so far

cursive heronBOT
#

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

Code
https://docs.stripe.com/api/subscriptions/create

Question
I am going to migrate my customers to one payment gateway to stripe. All the saved cards will be migrated but not the active subscriptions.

Since I am 300+ customers with active subscriptions it will not be easy to ask them to subscribe again because of the migration.

Is it possible to create a subscription without the user's hassle? I am using nodejs

If not then what is the best possible way and how can user confirm the subscription?

What have you already attempted?
-

What are you working on?
A USA mortgage application

cursive heronBOT
#

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

Question
we are getting : "we are unable to authenticate your payment method. Please choose a diffirent payment method and try again" error.

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
we are getting : "we are unable to authenticate your payment method. Please choose a diffirent payment method and try again" error.

cursive heronBOT
#

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

Question
We have a checkout flow where we use a PaymentIntent and Stripe Elements. We decide future usage behaviour based on the type of thing being purchased.

We have a situation where a customer may have enough vouchers/credit to reduce the purchase price to 0. When we update Stripe it breaks because 0 breaks the contract, but we may still need to confirm the intent for subscription purchases so we save the details. We also need to cover the case where the customer unapplies the credit/voucher, returning the charge amount to normal.

Is it possible to accommodate this case? What is best practice here?

Doc/Guide Links
Primarily https://docs.stripe.com/api/payment_intents/list

What are you working on?
Complex checkout flow for both one-off and subscription purchases

#

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

Code
import { service } from '../service';
import { cc } from '../controllers';

describe('Cancel subscription', () => {
let updateSpy: any;
beforeAll(async () => {
await service.init();
updateSpy = jest.spyOn(service.stripeClient.subscriptions, 'update');
});

it\('should call "update" if subscription is active', async \(\) =\> {
	await cc\('some\_predefined\_and\_stored\_subscription\_id\_with\_active\_status'\);

	expect\(updateSpy\).toHaveBeenCalledTimes\(1\);
}\);

});

Question
My test fails with "Expect 1, but got 0". Why I couldn't spy stripe's methods?

What have you already attempted?
I tried `jest.spyOn` on instance of Stripe, I tried to Mock library (but it won't fit my needs, I need) and mock methods to count calls

What are you working on?
I need to track 2 actions: cancel imediately in case of trialing, or mark as cancel at period end in case of active subscription.

#

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

Question
How can I gain the proper permission(s) to generate manual payouts on behalf of a standard connected account?

Related Request ID(s)
req_hVEegmlDqT6YeO

What have you already attempted?
Following the API docs. The error returned says I do not have the proper permissions.

You cannot create payouts on behalf of this account, as you do not have platform controls for the account. Learn more at https://docs.stripe.com/connect/platform-controls-for-stripe-dashboard-accounts.

What are you working on?
Payouts

#

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

Question
We are planning to create a token for SEPA bank account and that will be later used to create payment method and mandate.

Earlier we used to achieve this by creating a source. Later we will attach it to customer. We can fetch the mandate.

Related Request ID(s)
n/a

What have you already attempted?
We want to build a flow - where the bank account is created as temporary token.
Later, when attached to a customer, it becomes a usable payment method.

cursive heronBOT
#

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

Question
I'm trying to delete connected accounts but can only do 10 at a time before an exception is thrown

Related Request ID(s)
I can't find the developer page - did it move

What have you already attempted?
await foreach (var account in service.ListAutoPagingAsync())
{
try
{
await service.DeleteAsync(account.Id);
}
catch (Exception ex)
{
Console.WriteLine($"Unable to delete {account.Id}{Environment.NewLine}{ex}");
}
}

#

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

Code
{

"error": {

"message"\: "Invalid value provided for \`params.type\`\: deferred\_intent",

"request\_log\_url"\: "https://dashboard.stripe.com/logs/req_RCGT1vWK432FwZ?t=1731195615",

"type"\: "invalid\_request\_error"

}

}

Question
When sitting on our checkout page, if I spam F5 to refresh the page over and over and over, sometimes the payment method options do not load. I found the above error in doing so.

What have you already attempted?
Lessened CSP restrictions but unsure if it's even related.

cursive heronBOT
#

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

Question
This is in continuation of this thread - https://discord.com/channels/841573134531821608/1306609927632064572

Related Request ID(s)
NA

What have you already attempted?
Create source API with following details:

type:sepa_debit
sepa_debit[iban]:AT321904300235473204
billing_details[name]:John Doe
billing_details[email]:test@abc.com

What are you working on?
Working on handling source API deprecation. We do not want to use intents API here.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/google-pay

Question
Is there a way to change the paymentDescription or billingAgreement for google pay? I see that apple pay has that option but I'm not able to find anything for Google pay

What have you already attempted?
I tried to update the express checkout args locally but haven't seen any changes

#

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

Question
Issue with react native stripe terminal

Related Request ID(s)
req_xjlhR81vV3Vkso

What have you already attempted?
We are using react native stripe terminal package to enable Tap to pay , today we experienced an issue with connect LocalMobileReaderError ATTASTATION_FAILURE title.

cursive heronBOT
#

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

Code
https://docs.stripe.com/connect/get-started-connect-embedded-components#configuring-connect-js

Question
How to add a custom notification and custom styling for restricted account notifications

What have you already attempted?
async loadNotificationBanner(): Promise<void> {
const stripeConnectInstance = await loadConnectAndInitialize({
publishableKey: this.stripeS.stripeKey,
fetchClientSecret: () => this.getClientSecretPromise(),
fonts: [
{ cssSrc: "https://myfonts.example.com/mycssfile.css" },
{ src: `url(https://my-domain.com/assets/my-font-2.woff)`, family: 'My Font' }
],
appearance: {
overlays: "dialog",
variables: {

What are you working on?
custom notification for resctricted accounts

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_methods/object#payment_method_object-us_bank_account-financial_connections_account

Question
In a payment_method's `us_bank_account` subobject, what is the meaning of (or maybe there are multiple possible meanings) of a null `financial_connections_account` field?

Does it ONLY represent "account is pending verification via microdeposits", or can it mean other things too (like sometimes a us_bank_account will never have a linked financial account object).

What have you already attempted?
read the doc

What are you working on?
ach checkout flow

#

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

Question
Is there an api endpoint to verify if a coupon is still available for a customer ?

1- Coupon still valid / not expired
2- If there is a limit per customer (eg; 1), know if that customer already used that coupon

Related Request ID(s)
N/A

What have you already attempted?
https://stackoverflow.com/questions/71035809/how-to-check-if-coupon-is-valid-for-customer-before-checkout-in-stripe-api

Here it says there is no way to do this but it is 2 years old. I was wondering if there is a better way than just saving it in my own database (as i would have to implement a whole logic to manage the maximum usage per customer, etc to replicate stripe configurations)

What are you working on?
Automatically applied promo coupon via a landing page

cursive heronBOT
#

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

What did you expect to happen?
Using Stripe Hosted Checkout a customer attempted a payment for a subscription and I expected either the payment to fail or to succeed.

What actually happened?
Instead the payment is marked as incomplete, I see in the logs a request to confirm a Checkout Session failed ("message": "You must collect the security code (CVC) for this card from the cardholder before you can use it.[...]") but since we're using stripe hosted checkout I don't have control over what was requested.

Reproduction Steps
I'm not sure what the customer did, not even sure it wasn't malicious.

Question
Is this a malicious actor somehow finding a way to circumvent stripe hosted checkout and send a payment request without cvc, a stripe bug or some mistake in how we implemented the checkout?

cursive heronBOT
#

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

Question
How to hide settlement currency in checkout?

Related Request ID(s)
None

What have you already attempted?
I didn't find in the docs what I'm looking for.

What are you working on?
Customer Session

cursive heronBOT
#

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

Question
{"error":"Method Not Allowed"}

Related Request ID(s)
{"error":"Method Not Allowed"}

What have you already attempted?
checkout.js:90 Uncaught (in promise) IntegrationError: stripe.confirmPayment(): expected either elements or clientSecret, but got neither.

{"error":"Method Not Allowed"}

Help me plz

#

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

What did you expect to happen?
I have a connected account which is having a wrong payout amount.
The amount is less than the connect account should get.

What actually happened?
The connected account should get correct amount in the payout.

Reproduction Steps
Connected account id is acct_1OeconIrUIPNpoTA
Tha payout id is po_1QJqb1IrUIPNpoTAQVcv53Sa

Question
I think this issue occurred due to a reverse of a transaction of same amount.
We transferred $681 to this account on 3 November & then reversed the transaction on 4 November.
After some days we did another transaction of $681 on 9 November which is missing from the payout of 12 November.
I can see there is a negative entry of -$681 in that payout.

What are you working on?
We are building a health platform with name of HatchPath

cursive heronBOT
#

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

Question
Why does `stripe.subscriptions.update` allow passing new items without ID, while `stripe.billingPortal.sessions.create`, with `flow_data` set to `subscription_update_confirm`, and passing in `subscription_update_confirm.items` doesn't allow adding new items but only updating current ones?

Related Request ID(s)
/

What have you already attempted?
/

cursive heronBOT
cursive heronBOT
#

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

Code
const accountSession = await stripe.accountSessions.create({
account: ${account},
components: {
payments: {
enabled: true,
features: {
refund_management: true,
dispute_management: true,
capture_payments: true,
},
},
},
})

Question
I am trying to embed Stripe charts by following this guide https://docs.stripe.com/connect/get-started-connect-embedded-components

But , I'm getting typeError
You cannot use this method on your own account: you may only use it on connected accounts

We only have 1 account and want to use on own account itself

What have you already attempted?
Mentioned in the question

What are you working on?
I am trying to embed Chats into our web app

#

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

Question
If I'm making a package that simplifies something with using webhooks, and i require user to provide webhook secret to sign events, is there a way to verify that secret with stripe api somehow? none of webhook_endpoints seem to do that and im not sure how to check that then, would it be better to instead of ask for signature, create a webhook with some metadata and when if app is restarted, delete and recreate?

Related Request ID(s)
/

What have you already attempted?
/

cursive heronBOT
#

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

What did you expect to happen?
Apple Pay option did not show up on payment page when accessed from an iPhone or iPad with Safari

What actually happened?
Apple pay button not there

Reproduction Steps
Just access this URL from Safari browser, https://www.makingwaves.church/onlinegiving , and select the Donate button above GPay and APay

Question
Apple Pay and Google pay are both active in the config. Accessing Stripe from Chrome displays the GPay button, but it does not work with Safari.
Is there something in the configuration of Apple pay that I am missing?

What are you working on?
Just getting Stripe set up for Apple/Google Pay using the Stripe default page for Donations.

#

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

What did you expect to happen?
I am trying to create a guide for my clients to show them how to create a restricted key so they can integrate their stripe but I tried on two different account and the flow is completely different on different accounts? (Which make it hard to have a single step by step since I can't know what they will see!)

What actually happened?
One the first account, if I click "create restricted key", I see a popup with options "Providing this key to another website"

The other goes straight to permissions and they have to manually be selected

Reproduction Steps
I have no idea what differs on these account that leads to a different interface

Question
Is there a way to know which interface will be used ? Is this a bug?

What are you working on?
Creating a step by step on how to connect stripe to my app for my clients

#

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

Code
<div className={stylize('stripe-embedded-checkout-container', stripeStyles)}>
<EmbeddedCheckoutProvider stripe={stripePromise} options={options}>
<EmbeddedCheckout />
</EmbeddedCheckoutProvider>
</div>

Question
I am using the stripe elements for react (EmbeddedCheckout and EmbeddedCheckoutProvider) in my nextjs project. I am seeing upon load, the iframe element for stripe is rendering with a 1px height... causing an overflow for my page. Any ideas how to prevent this?

What have you already attempted?
I have removed the import / render of these elements completely and the issue goes away. Only after** stripe loads/ mounts the iframe does the 1px window appear. If i manually remove the iframe it resolves

#

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

Code
const priceId = 'price_1P7hxxxxxx'

  const price = await stripe.prices.retrieve\(priceId\)
  console.log\(price.unit\_amount\) // null

Question
I m trying to calculate the MRR of a product, but I am not able to know the price of the product unless I manually add it.

What have you already attempted?
Ran the above script

What are you working on?
Trying to calculate MRR of a product

#

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

Question
i am using the subscription_schedules api call, I am using this so that if a user wants to move from their current subscription to another this can happen at the year end cycle and have Stripe automatically invoice the new plan and cancel the current plan

Related Request ID(s)
req_BOTKc8mhWbZRMV

What have you already attempted?
i have tried changing the price id but if i understand correct phases[0][items][0][price] is for the current price plan the user is on and phases[1][items][0][price] is for the price plan the user wants to move onto.

What are you working on?
i want the user to be able to move from one plan onto another and i'm using Subscription schedules api call. The problem i'm seeing is that when i make this call the i get the next plan which is the e

cursive heronBOT
#

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

Question
I am trying to enable/test iDeal as a payment method for my product but I can't get it to show up as a payment method.

I am using the hosted checkout using a client-side `redirectToCheckout` call. It is enabled as a payment method on my dashboard, I am going to the page from the Netherlands and the price of my product is in Euros.

How can I get it to show-up so I can test/make sure it will actually be available to customers?

Related Request ID(s)
req_T2IUoGEJXmdQPL

What have you already attempted?
I have read that I can manually select and add payment methods if I use the server-side checkout session creation but I would prefer keeping the checkout redirect on the client-side; and the payment methods on the dashboard. I have tried setting the `locale` of the checkout session to `"nl"` but that didn't work

#

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

Question
In this API https://docs.stripe.com/api/issuing/cards/create, there is a optional parameter called "program". Our account has been enabled with several programs, but Stripe.Issuing.CardCreateParams still does not have the program parameters. Our stripe node module is v17.2.0

Related Request ID(s)
N/A

What have you already attempted?
Upgrading the Stripe Node Module.

What are you working on?
Trying to assign a program when a card is created.

cursive heronBOT
#

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

Question
PaymentIntent incomplete after using setAutomaticPaymentMethods
"The customer has not entered their payment method"

Related Request ID(s)
n/a

What have you already attempted?
Added payment method of card to paymentIntent;

            PaymentIntentCreateParams
                    .builder\(\).setCustomer\("CustomerId"\)
                    .setAmount\(10000L\)
                    .setCurrency\("aud"\)                        .setDescription\("Inv 2222"\)
                    .setPaymentMethod\("card"\)

.setAutomaticPaymentMethods(PaymentIntentCreateParams.AutomaticPaymentMethods.builder().setEnabled(true).build()).build();

Now get this error; com.stripe.exception.InvalidRequestException: No such PaymentMethod: 'card'; code: resource_missing

What are you working on?
Automatic off_session payment post invoice production inhouse billing system

#

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

Question

  1. why/when in `charge.dispute.created` event can payment_intent be null? since payment intent id is needed to even access the dispute on the dashboard via `https://dashboard.stripe.com/payments/pi_id`.

  2. I noticed if a subscription is bought with fraudulent card, and is disputed and directly lost, sub doesn't get canceled, is there a way to change that by default?

Related Request ID(s)
/

What have you already attempted?
/

#

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

Question
We have been seeing uncaptured payment in the stripe dashboard with the payment intents implementation on our site littlepassports.com. Some of them could be billing failures and other could be different reason. How can we avoild uncaptured payments (which is bad for customer as it should up in their bank statement) and if a customer has multiple of these, it could go over the amount that they have with overdraft fees?

Related Request ID(s)
req_o0w9QZRgzQsUqT, req_A9ODrYxurY9hfb, req_E7a6XSefO4qc0Z

What have you already attempted?
We do not know what to look for when uncaptured happends

What are you working on?
Process payment for creditcard, klarna, applepay, google pay

#

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

Question
i'm trying to figure out how to i can show in the stripe dashboard the change of plan name, currently when i created the "create a schedule and updated a schedule i was able to show the next invoice to the new price id but is there a way that the Plan name can also be changed to the Price id plan that it pertains to?

Related Request ID(s)
req_wpGYFFKcBFBEbc , id": "sub_sched_1QLBT8ATCXjCgCHXdgiOXbvU"

What have you already attempted?
i tried changing the price id a different one but that will not change the plan name of the id associated to it.

What are you working on?
I want the user to be able to select a different plan and have stripe change the plan and invoice the price of the new subscription they are trying to sign up and as well have Stripe show the name of

cursive heronBOT
#

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

Question
Hey,

I’m setting up a 7-day free trial where users don’t need to enter a credit card.

I'm wondering how to manage trial cancellations while not revoking access until the end of trial. I haven't found a method to "cancel trial" and update the subscription

Related Request ID(s)
N/A

What have you already attempted?
Create stripe user after account verification (this is done on the same http handler)

const stripeCustomer = await stripe.customers.create({
email,
name
});

Next, I create a subscription

const stripeSubscription = await stripe.subscriptions.create({
customer: stripeCustomer.id,
trial_period_days: 7,
trial_settings: { end_behavior: { missing_payment_method: 'cancel' } },
items: [{ price: priceMap[input.price], quantity: 1 }],
payment_behavior: 'default_incomplete',
});

cursive heronBOT
#

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

Code
var configuration = PaymentSheet.Configuration()
configuration.returnURL = "your-app://stripe-redirect"

Question
I am following this doc (https://docs.stripe.com/payments/accept-a-payment?platform=ios&uikit-swiftui=swiftui) for setting up the prebuilt Stripe PaymentSheet for my ios app written using SwiftUI. However, after exiting the Stripe PaymentSheet page, app breaks. I see that I have to do "var configuration = PaymentSheet.Configuration()
configuration.returnURL = "your-app://stripe-redirect" What should be the returnURL for an ios app (not a webpage) ?

What have you already attempted?
read the doc

cursive heronBOT
#

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

Question
The Webhook deserialization process is failing with the following code which I extracted from docs

Event event = Webhook.constructEvent(json, signatureHeader, stripeWebhookSecret);
EventDataObjectDeserializer eventDataObjectDeserializer = event.getDataObjectDeserializer();
StripeObject stripeObject = null;
if (eventDataObjectDeserializer.getObject().isPresent()) {
stripeObject = eventDataObjectDeserializer.getObject().get();
} else {
throw new IllegalStateException(String.format("Unable to deserialize event data object for %s", event));
}

Related Event ID(s)
evt_3QLE8cBaABhl7ASC1hbP0dWN

What have you already attempted?
Tried breaking up deserialization per even type and am getting same error

What are you working on?
update in house invoice with paymentIntenetId and make invoice as paid

cursive heronBOT
#

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

Question
How can i calculate the stripe fee and tax for payments? my currency is mexican pesos

Related Request ID(s)
jkj

What have you already attempted?
I tried adding the 3.6% and 3.00 mxn fee to the total amount but stripe keeps charging me more than that

What are you working on?
im working in a ticket selling website

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/bbpos-wisepos-e

Question
Does stripe provide any API to restart the BBPOS WisePOS E device by API instant?

What have you already attempted?
We can configure the reboot time in range. But I need to restart the device instantly

What are you working on?
I need to create an API which will restart the BBPOS WisePOS E device instant

cursive heronBOT
#

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

Question
recurring subscription payment

Related Request ID(s)
recurring subscription payment

What have you already attempted?
recurring subscription payment

What are you working on?
recurring subscription payment

#

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

Code
<StripeProvider
publishableKey={Constant.STRIPE_PUBLISHABLE_KEY.TEST}
merchantIdentifier="merchant.com.af.fitbox"
/>

```
ERROR Error: Exception in HostObject::get for prop 'StripeSdk': java.lang.NoClassDefFoundError: Failed resolution of: Lcom/stripe/android/view/AddPaymentMethodActivityStarter$Result;, js engine: hermes
ERROR Warning: TypeError: Cannot read property 'StripeProvider' of undefined
```

Question
I've installed the latest stripe-android on the latest react-native-stripe, and it seems to have compatibility issues.

What have you already attempted?
disabled/enabled hermes
disabled/enabled minify

What are you working on?
react-native, stripe-react-native

cursive heronBOT
#

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

Code
I'm using stripe checkout session API. Here is my API call on the server side. try{
return await stripe.checkout.sessions.create(body, { stripeAccount });
} catch (error) {
throw new HttpException(error, HttpStatus.BAD_REQUEST);
}
On the client side, i'm using "client_secret" mount stripe element after that confirm payment using this function.

Question
After this setup, I want to create a customer and update the charge for them. However, I’m unable to set a default payment method for the customer. Could you please guide me on how to do this

What have you already attempted?
await stripe.paymentMethods.attach(
payment_method_id,
{ customer: customer_id },
{ stripeAccount:account_id },
);
and
await stripe.customers.update(customer_id, data, { stripeAccount: account_id });
But its not working in my case.

cursive heronBOT
#

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

Code
<div id="checkout-page">
<ExpressCheckoutElement
onClick={onClick}
onConfirm={onConfirm}
onShippingAddressChange={onShippingAddressChange}
/>
</div>

Question
I have upgraded to the latest code ExpressCheckoutElement. But in previous version google pay was working but now it's not working.

What have you already attempted?
Tried all steps

What are you working on?
upgrading to ExpressCheckoutElement

cursive heronBOT
#

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

Code
var options = new SubscriptionCreateOptions()
{
TrialPeriodDays = trialPeriodDays,
PaymentBehavior = "error_if_incomplete", //"default_incomplete", // subscription status will stay incomplete if payment fails
PaymentSettings = new SubscriptionPaymentSettingsOptions { SaveDefaultPaymentMethod = "on_subscription" },
Currency =xxx,
Customer = customer.Id,

Question
While creating Subscription I added property for BillingCycleAnchor because we need to try charging attempt 7 days before the last attemp end (the end of the month) and in this case we had Prorated adjustment which is not correct for our flow. What we're missing? I'm sending also subscriptionId so you can take a look into it and see that first invoice is automatically proraded (subscriptionId sub_1QL2tp02Eb1sVOaRkoIgZmCp).

What have you already attempted?
As a part of CreateSubscription request sent BillingCycleAnchor property where next payment attempt will happen after 23 days to be sure that payment will happen before new month started or subscription will be cancelled before new month started.

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

cursive heronBOT
#

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

Code
Making request through Stripe Prestashop module

Question
I'm getting the error "An error occured during your payment." when processing a payment with Prestashop module, where can I find the error code as the transaction is not displayed in my stripe dashboard ?

What have you already attempted?
Searched in log, stripe dashboard, stripe documentation

#

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

Question
Imagine a user subscribes to a monthly pack, After 15 days he wants to upgrade to a yearly pack. We do this using update subscription flow. Now the upgrade charge on the customer fails or is pending for more than 24 hours (Because we have payment_behaviour: allow_incomplete).

In case the customer does not complete the payment for more than 24 hours, we want to update the subscription again & downgrade the user back to the pack he initially subscribed (monthly) pack.

My question is how can i handle this scenario of downgrading user back to lower (monthly) pack WITHOUT any additional charge

Related Request ID(s)
Na

What have you already attempted?
I have tried downgrading using all three proration_behavior flags.

cursive heronBOT
#

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

Question
How can I update subscription via API once I used a schedule to modified it ?

The schedule was setup to start on November 1st for a price increase but bow every subscription is managed by a scheduled and cannot be updated. Does this mean I have t use schedule for everything now ?

This article (https://docs.stripe.com/billing/subscriptions/subscription-schedules#subscription-schedule-sub-updates) mentionne that the schedule id can be discarded once it is released. Released means the schedule ended ? How to deals with permanent phases

Related Request ID(s)
req_ohBlmnkmD6EtDx

What have you already attempted?
This article (https://docs.stripe.com/billing/subscriptions/subscription-schedules#subscription-schedule-sub-updates) mentionne that the schedule id can be discarded once it is released. Released means the schedule ended ? How to deals with permanent phases

What are you working on?
An app with subscription. We recently increase the subscription price for everyone via schedule

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/paymentintents/lifecycle

Question
Payment Intent status: requires_payment_method

What is the best way to know if a requires_payment_method status in a payment intent object is the initial state or a failure state?

Thank you for your help!

What have you already attempted?
Reading the API I am inclined to think that reading the `last_payment_error` is enough for this, that is if this attribute is not null it should be a failure state, but I find the wording confusing:
`The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.`
Does this mean that the last_payment_error relates to a previous state in the payment intent and not the current one?

#

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

Question
Lets say a source has notification method as email, i.e email is expected to be sent from Stripe. Now, we have migrated to payment method token. And we have disabled emails at Stripe settings, so email shouldn't be sent from Stripe.

Related Request ID(s)
NA

What have you already attempted?
After payment method token migration, will email be ideally sent from Stripe? For sources, even though we disabled at settings, source level settings took precedence and email was sent.

What are you working on?
Migration of source to PM tokens

#

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

What did you expect to happen?
I would like to know why in production the 3d secure seems to be bypassed while when I test in my local env and use a card for 3D testing it works as expected
I am creating a payment intent

What actually happened?
I am sending thedata like this
return $this->stripeClient->paymentIntents->create([
'amount' => $order->totalAmountInCents,
'currency' => 'eur',
'customer' => $customer->id,
'payment_method_types' => ['card'],
]);

Reproduction Steps
when i do a payment in prod, is successful but it charges without using 3D secure

Question
Is this normal behaviour? Maybe depends on the card I am using

What are you working on?
ecommerce

cursive heronBOT
#

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

Code
var configuration = PaymentSheet.Configuration()
configuration.customer = .init(id: stripeCustomerCode, ephemeralKeySecret: ephemeralKeySecret)
configuration.returnURL = "AppName://stripe-redirect"
configuration.merchantDisplayName = AppName
configuration.applePay = .init(merchantId: appleMerchantID, merchantCountryCode: countryCode)
configuration.allowsDelayedPaymentMethods = true
let payment

Question
Payment sheet always gets presented with add card fields. Not showing saved cards.

What have you already attempted?
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=ios

What are you working on?
iOS app

#

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

Question
We are submitting BACS Direct Debit payments against payment methods that exist, but we are getting back "No such PaymentMethod: "pm_xxxx". When these get retried a few hours later, they often work.

Related Request ID(s)
req_ZVmLPhWiKpfvyt, req_uRUObwk0waPzxA, req_zIFFxOf7b0ZaHz

What have you already attempted?
We don't understand why Stripe returns this error messages sometimes, but not others.

What are you working on?
We are a billing software provider who have had Stripe integration working for five years, but have only recently started putting through BACS Direct Debit payments

cursive heronBOT
cursive heronBOT
#

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

Code
https://dev.cheapestairportparking.com/airport-parking/apple-pay-poc

Code can be seen in this page view source as its simple html js integration

Question
I am integrating stripe express checkout element Applepay in a web project and getting an console error after a payment request is completed from ApplePay.

[Stripe.js]
"Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web."

What have you already attempted?
Domain is verified, account is active, Apple pay activated, latest safari using Version 17.3 (19617.2.4.11.8)

Tried testing it with below scenarios

  1. Apple sandbox account + sandbox cards + India location with US vpn
  2. Apple sandbox account + live cards + India location with US vpn
  3. Apple live account + live cards + USA location
  4. Apple sandbox account + live cards + USA location
  5. Apple sandbox account + sandbox cards + USA location
#

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

Code
my rida layadi, i do not konw why you did not accept my verification on stripe

Question
my rida layadi, i do not konw why you did not accept my verification on stripe

What have you already attempted?
i have entred my bank document that have my exact adrss

#

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

Question
How to update the next billing date of a subscription

Related Request ID(s)
123

What have you already attempted?
How to update the next billing date of a subscription

What are you working on?
Updating next billing date

cursive heronBOT
#

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

Question
I am currently developing a script in Node.js to search for users, and I am looking for an equivalent to the dashboard search functionality available on the Stripe website, but accessible through the Stripe API.

Related Request ID(s)
-

What have you already attempted?
-

#

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

Code
<AddressElement
className={css({
color: 'text.app',
fontFamily: 'inter'
})}
options={{
mode: 'billing',
}}
/>

Question
I want to be able to collect only card details and the address in a SaaS application. Currently, I'm using the CardElement without the address component. Now, when I add the address element, I would like to know how I can style it to match the application.

I also tried using the payment element, but I found that I cannot style it either, and it includes more payment method than we currently support as we only want card for now.

What have you already attempted?
I have tried passing appearance but it doesn't work

What are you working on?
SAAS

#

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

Question
Hi, I'm developing a desktop app that integrates Stripe. I use Stripe to create payment sessions, customers, and to verify who has purchased a feature within my app.
To verify customers I use metadata attached to the client and use https://docs.stripe.com/api/customers/search. I'm concerned that my app can be reverse engineered and my API key extracted, giving that same key access to all of my customers' information. How can I protect my customers' information (email, card, ...), while performing searches using MetaData?

Related Request ID(s)
API

What have you already attempted?
I set the system, but if somebody has the key they will be able to access all my clients information...

What are you working on?
Desktop App deployed in clients computers.

cursive heronBOT
#

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

Question
I’d like to save a customer’s payment method on file to charge them for monthly ACH installment payments. Could you please advise on the best way to set this up using the Stripe API? Specifically, I’m looking for guidance on securely storing and managing their payment method to handle recurring ACH charges. Can we automatically set dates on when they should be charged? Does Stripe have its own hosted UI to handle the full flow?

Related Request ID(s)
Api, Installments

What have you already attempted?
Search

What are you working on?
Payment system for company

#

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

What did you expect to happen?
Stripe Elements should load

What actually happened?
Stripe Elements loads but immediately collapses and displays a blank space.

Reproduction Steps
Loading Stripe Element on our page.

Question
Hi! We are experiencing that our Stripe Elements are not loading anymore on our local environments. This started happening yesterday out of nowhere. The elements load briefly and then collapse. It's only happening to some team members. One team member was able to get them to load by clearing cookies but others have not been able to reproduce the fix.

#

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

Question
Is there a way to pass on the instant payout 1% fee that stripe charges to connect accounts.
Right now stripe is charging the platform for 1% fee of instant payouts.

Related Request ID(s)
none

What have you already attempted?
By looking through stack overflow and reddit. I came across the solution that would be to initiate the payout after deducting 1% and then waiting for webhook for success and then transfer that 1% to platform account. Is there any straightforward way of doing this?

cursive heronBOT
#

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

Code
import { Elements } from '@stripe/react-stripe-js';
...
const options = {
...
mode: 'subscription/setup/payment',
amount: 0/100
...
};

// Generate setup intent separately
// Then render the Stripe Elements with options
<Elements options={options} />

Question
We have our own billing engine for recurring subscriptions. We use Stripe as the payment method selector for credit cards and Google/Apple pay, and we instruct Stripe to do the payments as needed.

Example subcriptions:

  1. "Pay 0$ for first two months, and then 5$ monthly". Trial subscription.
  2. "Pay 10$ for first month, and then 5$ monthly"

What kind of mode & amount combo should we use for optimal user experience with Google Pay, when users are doing purchases?

What have you already attempted?

  1. Mode: `payment`, amount: 50. Google pay popup shows to user that 50 cents would be billed. That is wrong.
  2. 'amount: 0. Not allowed for case #1.
  3. Mode: `subscription`, amount: 0/500. Users sees popup for 0/500 cents. Is this the correct way? We don't want Stripe to actually handle the subscriptions or bill clients by itself.

Should we be using the 'setup' mode instead? WIll the user's still see some kind of Google popup that their card will be charged via it?

What are you working on?
Web service frontend, with our own billing engine

cursive heronBOT
#

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

What did you expect to happen?
The dashboard amount doesnt match the event summary amount

What actually happened?
Sent usage to a meter, made a call to that meters event summary, it shows the correct amount, look at dashboard, it shows incorrect amount

Reproduction Steps
Call event summary on
sub_1QGQngCYEIkFpocTxhzAfQDr for meter mtr_61RPSJ88BUjgnOz4K41CYEIkFpocTBBQ

Question
Why does the dashboard/future invoice not show the quantity sent to the meter.

cursive heronBOT
cursive heronBOT
#

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

Question
A connected client has turned off Cash App Pay but it still shows up as one of the payment method. How do we turn this off?

Related Request ID(s)
NA

What have you already attempted?
A connected client has turned off Cash App Pay but it still shows up as one of the payment method. How do we turn this off?

cursive heronBOT
#

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

Question
Sorry, got disconnected from the chat earlier about Cash App Payment. Wanted to understand why Cash App is still showing when the connected account is disabled.

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Question
I'm trying to figure out the best way to get the subscription id from a payment link. If someone makes a payment using a payment link, I want to have a webhook that receives the success event, checks which subscription was created from that checkout session and then stores that subscription id.

My question is, is it guaranteed that by the time the checkout.session.completed event reaches our server, the subscription will be marked as active.

Related Event ID(s)
N/A

What have you already attempted?
I see that the `checkout.session.completed` and the `customer.subscription.updated` event get fired at basically the same time. So is it possible that when our `checkout.session.completed` called stripe.subscriptions.list, the subscription will not yet be marked as active (essentially a race condition)

cursive heronBOT
#

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

Question
I use webhooks and event listeners to send notifications when a payment is done in a payment link (one-time payment). It does work well. However, I cannot find the prefilled promo code in the data is there a way to get the promo code used in a completed transaction through a specific event listeners/webhooks?

Related Request ID(s)
API

What have you already attempted?
I cannot get the Promo Code used in a one time payment through a payment link (using webhooks)

What are you working on?
Make.com flow

cursive heronBOT
#

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

Question
In Stripe's dashboard, I can attach a test clock to an existing Stripe user. This allows me to create a customer / subscription using the full in-app flow, and then simply advance the time to track how that subscription behaves over time. Can I do something similar with the API?

Related Request ID(s)
n/a

What have you already attempted?
Currently reading documentation for working with test clocks via the api rather than via the dashboard.

What are you working on?
We're working on building automated testing for subscription life cycles. This would allow us to test our failed payment logic along with notifications around trial conversion / upcoming annual paymen

cursive heronBOT
#

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

Question
What is the purpose of the checkout.session.expired event?

Is it safe to say that I can listen to this event on my webhooks to cancel a subscription to avoid future invoices and create a new one once the end user is ready to resume his SaaS subscription and gain access to it?

Related Event ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Building a SaaS

cursive heronBOT
#

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

Code
how can i paste here code when only 500 characters are limited

Question
hello, I created an eshop where I want to sell tricks, I added a stripe, do you know how to make it so that during payment I select only certain countries from which the user can choose? , and when I give him the country, he writes that the argument country is added. can you help?

What have you already attempted?
as i said , my own select

What are you working on?
eshop for tshirt

#

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

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

Code
rak_identity_product_write

Question
how do I enable rak_identity_product_write

What have you already attempted?
followed the guide, but settign page is different

What are you working on?
manual verification - in this section when user add their bank account details stripe needed identity verification e.g. DL/passport etc. stripe js use keys to o

cursive heronBOT
#

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

What did you expect to happen?
After renewing a subscription and updating card details, the subscription should be renewed.

What actually happened?
Payment is taken and then the subscription cancels anyway.

Reproduction Steps
Can't reproduce but I will be able to share screenshots of events of what happens.

Question
I am trying to work out what is going on so I can fix it. We've had several support emails about users updating/renewing subscriptions and then the subscription cancelling. Perhaps the subscription is set to cancel prior to renewing, and renewing doesn't "uncancel"?

What are you working on?
https://www.saturdayquiztime.com.au/

#

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

Question
I'n using stripe checkout session API its working in all cases except apply 100% discount. I getting error when element mount in client side.
Here is error: "You cannot provide the `usage=off_session` paramet…tupIntent with a different `usage` and try again"

Related Request ID(s)
req_dSc9RFiWmgYPM3

What have you already attempted?
I have checked with and without "off_session" .

#

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

Question
Hi, does stripe sent invoices with amount 0 on subscriptions?
I know we have this configured to reciepts, but are the invoices being sent?

Related Request ID(s)
Dashboard > Account Settings

What have you already attempted?
https://support.stripe.com/questions/does-stripe-send-receipts-for-0-invoices

This reference only says for the reciepts

What are you working on?
Migration of the current subscription system

#

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

Code
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
};
const element = stripe.elements(options);

			const expressCheckoutElement = element.create\("expressCheckout"\);
			expressCheckoutElement.mount\("\#express\-checkout\-element"\);
			expressCheckoutElement.on\('click', \(event\) =\> {
			  const options = {
				emailRequired\: true
			  };
			  event.resolve\(options\);
			}\);

Question
I am implementing apple pay in stripe express checkout, stripe is in sandbox mode. I have created a sandbox Apple Id in apple as well.

Do I need to add live card and live Apple Id to my mobile device for testing in stripe sandbox mode ?

The apple pay button is not visible when implementing using stripe.js but is visible when using applepay.js

The appleID has been implemented in sandbox mode with test card

What have you already attempted?
https://yevma.yournextbigsite.com/ (Plain apple.js implementation)

https://account-dev.yournextbigsite.com/(Stripe js implementation)

What are you working on?
I am working on applepay via stripe implementation

cursive heronBOT
#

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

Code
I will send code in chat thread

Question
Why does my Iframe integrating Stripe Card be added Css left: -10000px !important ?

What have you already attempted?
I try to open anonymous browser but not work

#

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

Question
We are planning to use Payment/Setup Intent for non-3DS flows as well and would like to understand how to implement this effectively.

Currently, we are using the Create a Card API, which does not involve a 3DS flow. We’d like to know if there will be any 3DS challenge in the new flow, and if so, how we can avoid it.

Additionally, can we use the Setup Intent to complete 3DS authentication and then immediately initiate the payment with the added payment method?

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

What are you working on?
trying to use same flow for both 3ds & non 3ds cards

#

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

What did you expect to happen?
I expect the phone number to be saved, if present, even if the phone is an optional field

What actually happened?
Using Link, Address Element saves and retrieves Phone only if validation is set to 'always'

Reproduction Steps
Create an Address element with phone field required, place an order using Link: Phone gets saved in the address. Now make the phone number optional: (add to the options: `validation: { phone: { required: 'never' } }`. Now when you authenticate with Link, the phone is empty when Link auth fires the onChange event on the Address Elem, and the phone number is not saved.

Question
How can we keep phone number optional, but still saving and retrieving the phone number for the next purchase, after an user has inserted a phone on the first purchase?

What are you working on?
I'm working on the checkout page for www.qwertee.com integrating Stripe Link in our React site.

cursive heronBOT
#

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

Code
const { error } = await initPaymentSheet({
setupIntentClientSecret: clientSecretIntent,
customerId: customerId,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: clientSecret,
style: "alwaysDark",
merchantCountryCode: "FI",
applePay: {
merchantCountryCode: "FI",
},
appearance: {

Question
how to include merchant name to applepay config in initpaymentsheet. my application review declined because now they need we include the name in the sheet "Guideline 4.9 - Design - Apple Pay

The app uses Apple Pay as a purchasing mechanism but does not provide the necessary material purchase information to the user prior to the sale of goods and services.

Specifically, the app does not include the following:

- Merchant's name on the payment sheet

Next Steps"

What have you already attempted?
merchantName: RegisteredName,

What are you working on?
react native js application for processing payments

cursive heronBOT
#

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

Code
var configuration = PaymentSheet.Configuration()
configuration.customer = .init(id: stripeCustomerCode, ephemeralKeySecret: ephemeralKeySecret)
configuration.returnURL = "AppName://stripe-redirect"
configuration.merchantDisplayName = AppName
configuration.applePay = .init(merchantId: appleMerchantID, merchantCountryCode: countryCode)
configuration.allowsDelayedPaymentMethods = true
let payment

Question
Payment sheet always gets presented with add card fields. Not showing saved cards.

What have you already attempted?
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=ios

What are you working on?
iOS app

cursive heronBOT
#

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

Question
Hi everyone,

I'm using Stripe connect, and i'm wondering if it's possible when creating an onboarding link and checkout link, to also provide a locale so the user can see the same language as used in the app?

Related Request ID(s)
-

What have you already attempted?
Looked into the docs, but i did not see any locale parameter

cursive heronBOT
#

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

Question
Why is stripe charging a fee for charges created on connect account ? Shouldn't the movement of funds within stripe be free?

Related Request ID(s)
py_1QMSXnDztKBDhuyLL6xdl7Rm

What have you already attempted?
At the time of instant payout, I'm charging the connect accounts 1% fee that will later be deducted by stripe from platform's account. But the charge is itself being charged a fee.

cursive heronBOT
#

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

Question
I want to update the existing subscription to higher pack with Discount Applied.
If the payment fails, subscription should continue as it is.

Related Request ID(s)
N/A

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/pending-updates

Pending updates will not work here because, I cannot pass promo code along with update subscription and also use `pending_if_incomplete`.

I have a huge discount system, So creating new prices to apply doesn't really make sense and isn't a clean solution

#

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

Question
Can the content of Mail Receipt be multilingual?

Related Request ID(s)
req_JWC3ar4mrIX8Cf

What have you already attempted?
I implemented multi-language display of email receipts by creating a customer and setting the customer's language.

What are you working on?
elements

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/test-mode-subscription-data-retention

Question
Could you help me understand how to exempt a subscription from automatic cancellation?

What have you already attempted?
The documentation mentions: Actions > Mark as exempt from test mode auto-deletion, but the available actions I see are limited to those shown in the attached screenshot.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/separate-charges-and-transfers

Question
Hello, i am integrating stripe connect for an application based in UAE, my use case is such that i want to accept payment on my platform and then transfer to connected account later and this could only be done via separate charge and transfer as per my research but the main question is that is separate charge and transfer available in dubai? because in docs it is saying it is not but in another doc it says if platform and connected account are of same region then it could be done.

What have you already attempted?
i have researched and found out separate charge and transfer is not supported in UAE but when i searched stripe connect UAE then it shows something different which is contradictory?

What are you working on?
i am working on an app that would be launched in dubai and its use case is to use stripe connect

#

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

Code
(await this.stripe.subscriptions.create({
customer: stripeUserProviderId,
coupon: couponId ?? undefined,
items: [
{
price: priceProviderId,
},
],
metadata: {
user_id: userId,
plan_user_group_name: userGroupId,
},
payment_behavior: 'default_incomplete',

Question
Can I set a default payment method to all past subscriptions created?

What have you already attempted?
Before I was creating all the subscription as default_incomplete but without passing the save_default_payment_method as “on_subscription”. I’ve changed this code already but I’m wordering if there is a way to set it in bulk for all past subscriptions and use the last payment method used. Or do I’ve to go one by one to set it?

What are you working on?
I’m working on a node backend where we manage the subscriptions and webhooks comming from stripe to manage the user permissions and more stuffs.

cursive heronBOT
#

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

Question
issue: customer is charged when it should not

stripe.Subscription.modify -> payload:

{'cancel_at_period_end': False, 'description': 'Subscription Tools Upgrade', 'items': [{'id': 'si_REwe4vXviPZ5mu', 'price': 'price_1QL3rbJVbFQb3xmW4CT27xIN', 'quantity': 1}], 'off_session': True, 'pause_collection': '', 'payment_behavior': 'error_if_incomplete', 'proration_behavior': 'none'}

so with this change i want to make a current subscription with one item on billing cycle A(1 day) to change it to billing cycle B(2 days) without charging customer, apprently if its other billing cycle it ignores

Related Request ID(s)
nil

What have you already attempted?
nil

What are you working on?
nil

#

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

Code
Eircode error in ireland

Question
Is there a way to turn off postcode matching just for a country or specific client?

What have you already attempted?
Eircode error (known) Stripe's side is stopping our customers in Ireland from taking payments. We've spoken to support last week but they have no answers.

#

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

Question
We are using Stripe with the SAP Digital Payments Addon and we are using V1 Adapter.
Because of Klarna we have to change to the V2 adapter. I we change ist, we have the problem, that we cannot proceed with old open V1 credit card payments. But we cannot stop credit card for maybe months, till the last order is processed.
Is there any way to migrate open V1 payments to V2, so we do not have to stop credit card usage?

Thx.

Related Request ID(s)
I do not know

What have you already attempted?
We haven't got any clue, how we can migrate these V1 orders.

cursive heronBOT
#

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

Question
Hello, we would like information on Stripe's handling of the guarantee card procedure and to acquire the relevant documentation

Doc/Guide Links
https://docs.stripe.com/payments/payment-intents and https://docs.stripe.com/api/payment_intents

What are you working on?
The behaviour we want to achieve is as follows: the customer puts his or her credit card details on the stripe form and only the card entered is checked

#

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

Code
$cavv = "AAABBgcIclmAAAAAAABaEHMAAAA=";
$eci = "05";
$xid = "ODQyNjQxMDU5NjU2NzEy";

$passData\['payment\_method\_options'\] = \[
    'card' =\> \[
        'three\_d\_secure' =\> \[
            'cavv' =\> $cavv,
            'eci' =\> $eci,
            'xid' =\> $xid,
            'version' =\> '1.0.2' // 3DS Version 1
        \]
    \]
\];

Question
I am tring VRBO integration with 3d scure enabled card, In vrbo I am getting cavv, eci, xid & version, How can I pass this to stripe?

What have you already attempted?
I am tring VRBO integration with 3d scure enabled card, In vrbo I am getting cavv, eci, xid & version, How can I pass this to stripe?

cursive heronBOT
#

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

Code
Single sign-on couldn't be authenticated. Your identity provider did not grant access to this merchant. Please contact your IT administrator, or try logging in with your Stripe password.

Question
I want to enable SSO authentication via Okta to a Stripe instance but I am getting the error above. Is there anything missing on my end?

What have you already attempted?
I followed all the steps in the guide except the one for roles.

What are you working on?
SSO Authentication

cursive heronBOT
#

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

Code
Known issue - eircode bug.

Question
How to disable per country without subscribing to extra radar cost as a workaround for this Stripe issue.

What have you already attempted?
Speaking to non-technical support who had no answers.

#

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

Question
postman GET {{base_url}}/treasury/transactions and get the bellow issue:

{
"error": {
"message": "Unrecognized request URL (GET: /v1/treasury/transactions). Please see https://stripe.com/docs or we can help at https://support.stripe.com/. (Hint: Have you onboarded to Treasury? You can learn more about the steps needed at https://stripe.com/docs/treasury/access)",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_J4FVrl23dDchRw?t=1731941566",
"type": "invalid_request_error"
}
}

Related Request ID(s)
req_Y6f7nam04TpEPm

What have you already attempted?
I think we are a connected account to Stripe treasury module but no idea what happened here

cursive heronBOT
#

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

Question
Apply pay is not showing to my next js app , I am using payment element from stripe web element and , Domain verified and also apple pay enabled from payment setting but not showing apple pay

Related Request ID(s)
not have

What have you already attempted?
I have tried to implement PaymentButton and Express checkout element , But not showing any button

What are you working on?
stripe inegration

cursive heronBOT
#

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

Question
How do I know which user made the purchase on a payment link if I send a uuid? How do I get the UUID back from Stripe?
<%= link_to 'Subscribe', "#{ENV['STRIPE_PRO_PLAN_MONTHLY']}?uuid=#{@user.uuid}", class: 'btn btn-success', target: '_blank' %>
I am getting the {CHECKOUT_SESSION_ID} from the redirect, but if @user with id 4242 purchases, how do I match the @user in my db with the session???

Doc/Guide Links
https://docs.stripe.com/payment-links/post-payment

What are you working on?
Adding payment page to Stripe app

cursive heronBOT
#

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

Question
I've added account.updated event to my event destination. but when my affiliate onboard on connect express stripe, Stripe didn't send any events to our server.
What should i do?

Related Event ID(s)
No events

What have you already attempted?
I've checked stripe event logs for this destination and there is nothing

cursive heronBOT
#

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

Question
Hi, we are about to integrate stripe connect into our platform, something like uber eats. We want our vendors to receive "direct charges" of the customers orders.

When the customer orders a burger for 10€ from a vendor, he should receive the 10€ on this stripe account, we've previously created using the onboarding by stripe.

That works all fine so far. But we have problems with paypal! We MUST offer paypal to our customers, as paypal is the most used payment vendor in germany actually.

So, we can't use it as we get an error that direct charges are NOT allowed. So bad. What to do?!

Related Request ID(s)
evt_3QMXXvLZihhBkt1c0iiS8X2Q

What have you already attempted?
I've tried creating "manual transfers" but this is not what stripe connect offers!

What are you working on?
A platform for order and delivering food

#

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

Link to the Doc/Guide in question
https://github.com/stripe/stripe-react-native/issues/1770

Question
Why was this closed? It seems that it wasn't resolve from the repo? stripe-react-native doesn't have the updates yet as well as ios. The only thing that has updated is stripe-android.

What have you already attempted?
Trying to comment the one who closed the issue

What are you working on?
React-native, stripe-react-native

#

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

Question
How are Stripe processing fees calculated for bank account transfers from US to non-US?

I have Platform account A
I have Customer account B
I have Connected Account C
Connected Account C is a non-US account with Recipient service agreement

Customer account B makes a destination charge using a US bank accounts with a base amount of 1000 + our service charge + our estimation of Stripe processing fees. The base amount of 1000 gets transferred to Connected Account C.

Related Request ID(s)
tr_3QLWexGcIBkkuGNH0o1xTaPa

What have you already attempted?
I would expect at some point for either the platform account to get the Stripe processing fees or Connected Account C to get the border transfer and/or currency fees, but I am not seeing that in my test environment. The payout that occurs doesn't get a fee either. What am I not understanding about the fee structure?

cursive heronBOT
#

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

Code
<script lang="ts">
import { PUBLIC_COMPANY_NAME, PUBLIC_STRIPE_TEST, PUBLIC_URL } from '$env/static/public';
import { Elements, PaymentElement, LinkAuthenticationElement, Address, } from 'svelte-stripe';
import { onMount } from 'svelte';
import { loadStripe } from '@stripe/stripe-js'
import type { StripeElements, Stripe } from '@stripe/stripe-js'

import type { PageData } from './$types';

Question
When my user pays they're redirected to the current page but minus the search params. I thought from the code that they should be redirected to /newLease/leaseSent?=invoiceId=invoiceId but currently they are redirected to /newLease/payDeposit. When I add redirect I get an error from VSCode

What have you already attempted?
Calling redirect alway which errors out.

What are you working on?
Management software for a ministorage

#

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

Question
When calling tax.Calculation I see the only options for customer_details.address_source is "billing" and "shipping". Which works fine if the customer is buying and having it shipped. But many times customers will buy to pick up in store. What is the proper method for the calculation? Do we just override the customer_details with the store address? Seems it may be nice to clarity and the logs to have "address_source" have another option like "store_location" or "pickup_location"

Related Request ID(s)
req_3oafmYc0mGSlsB

What have you already attempted?
Using python script to test prior to deployment trying to make sure I'm doing things properly.

What are you working on?
an integrated tax system for pickup and shipped products

#

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

What did you expect to happen?
Entitlement is active on canceled and failed/past due subscriptions

What actually happened?
Two separate but related situations:

  1. A user whose subscription was refunded; their subscription status is canceled, but the entitlement for that subscription is still attached to that user

  2. For users who have failed/past due payments on a subscription, their entitlement is still active

Reproduction Steps
See above for repro steps -- create subscriptions, then generate refunded/canceled and failed/past due states

Question
It seems that in both of these cases, the entitlement should be removed

What are you working on?
Subscriptions

#

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

Code
getStoreStripe codex

Question
The problem with client methods like getStoreStripe not firing can be related to several factors in the integration between Stripe, Unity and your server. Synchronisation of Stripe with Unity Graphics Engine for a multiplayer videogame.

What have you already attempted?
-It is not a URL connection problem because it finds the server, when searching it finds it, it connects to the IP and Port.
-It doesn't seem to be damaged and already because when running the socket server it connects to Playfab for the database, under an account named: ‘adminstripe’.
-The port of the socket server was opened and the Firewall is down, it is not that problem.
-All event names are spelled correctly.
-It doesn't seem to be a problem of something commented out.

What are you working on?
Synchronisation of Stripe with Unity Graphics Engine for a multiplayer videogame and through Playfab database.

cursive heronBOT
#

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

Question
Webhook events (i.e. invoice.paid events failing), logs are showing this: StripeAuthenticationError: You did not provide an API key.

My API call looks like this:

```
const customer = await stripe.customers.retrieve(userId);
```

Related Event ID(s)
invoice.paid

What have you already attempted?
I tried reading the docs and they say to include the Secret key, which I do as follows:

```
const customer = await stripe.customers.retrieve(userId, {
apiKey: stripesecret
});
```

This did not solve the problem however.

cursive heronBOT
#

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

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

Question
Is the price schema only possible to do through the dashboard? I wish to create price schemas, add connected accounts to it and also get which price schema a connected account is attached to via the API.

What have you already attempted?
No docs for this

cursive heronBOT
#

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

Question
Why is the Apple Pay option not showing up on checkout?

Related Request ID(s)
req_N7ANS3g8I8goVy

What have you already attempted?
I am working in a prod environment with https, on an iphone, in safari, with apple pay enabled and cards in my wallet.

What are you working on?
Enabling Apply Pay Functionality

#

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

Question
in a custom checkout flow using payment elements the zip code is captured at the time the customer enters their CC number. Is there a way to use that zip code for a tax calcuation?

Related Request ID(s)
req_SHEFFhVHCadt6Z

What have you already attempted?
Right now it seems we may have to resort to collecting the address info prior to entering the CC number so we have either an address or a customer_id to pass to the tax calculation. But it seems silly to ask for the zip code twice?

What are you working on?
Customer is preordering photo services. We need to calculate tax.

#

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

What did you expect to happen?
After successful payment, I've set redirect link to one of the endpoint in my web app. On redirect, we check for presence of Token in session/cookies for the user. If token is authorized, rest of the page's functionality works. If not, the user will get logged out.

What actually happened?
Now, this works for most, but one of the QA testers in my team is getting logged out after successful payment via Stripe. His cookies/session is cleared after payment.
Happens only on Chrome, on the first visit.

Reproduction Steps

  1. Open chrome browser ->www.planekrafty.com
  2. Create account(email/google SSO)
  3. Add aircraft -> fill details(random)
  4. Pay via Stripe
  5. Should redirect to /companyRegister on successful

Question
Why is session/cookies getting cleared after redirecting?
Why is this a problem for this one particular user? Why does it happen only on Chrome?

What are you working on?
Aviation record management application

#

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

Question
I am using the api to update a subscription schedule ,the time stamps that I am sending is on UTC but for some reason is using the day before today when I submit the request

Related Request ID(s)
/v1/subscriptions/sub_1QMa192ev2b3FnJcaehzee7L

What have you already attempted?
tried a few changes on time formats but still nothing working

What are you working on?
checkout process

cursive heronBOT
#

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

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: 2000, // Total amount in cents
currency: 'usd',
application_fee_amount: 500, // Application fee for my platform
transfer_data: {
destination: process.env.CONNECTED_ACCOUNT_ID, // Connected account ID
},
});

Question
I'm working with Stripe Connect and trying to set up a PaymentIntent with transfer_data.destination to send funds to a connected custom account. However, I'm getting the error:

"The 'payment_intent_data[transfer_data][destination]' param cannot be set to your own account."

Why is Stripe interpreting the transfer_data.destination value as my platform account when it matches the connected account ID? Am I missing something specific to how transfer_data works with Custom Acc

What have you already attempted?
Verified CONNECTED_ACCOUNT_ID:

Logged the value of process.env.CONNECTED_ACCOUNT_ID and confirmed it matches the connected account ID in the Stripe Dashboard under Connect > Connected Accounts.
Checked the API Logs:

Reviewed the API logs in the Stripe Dashboard and confirmed that transfer_data.destination is being sent as the connected account ID.
Validated the Connected Account:

Used the Stripe API to retrieve the connected account details and verified:
The account type i

#

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

Question
I have a setup where once payment is succeeded, webhook logs the paymentIntent_succeeded event. in the payment_Intent_succeeded log, there is a field for "receipt_email". How should I provide a "receipt_email" so that PaymentIntent_succeeded can include it as a field?

Related Event ID(s)
https://dashboard.stripe.com/workbench/logs/req_XNWlA7icLwsY4S

What have you already attempted?
read the doc

#

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

Question
We're trying to render amazon pay to create a subscription on our website by using payment element. Amazon pay payment method only shows up when the mode is set to payment, if the mode is set to subscription, only card is visible and amazon pay disappears.

Related Request ID(s)
req_pbEScpd10ihDat

What have you already attempted?
I've gone through the documentation and checked, amazon pay is supported for recurring payments. I've tried different combinations of amounts like 0$, more than 0$, payment mode and subscription mode for both.

What are you working on?
Ecom store like platform.

cursive heronBOT
#

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

Code
{stripeConnectInstance ? (
<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
<ConnectAccountOnboarding
onExit={() => {
router.push("/dashboard");
}}
/>
</ConnectComponentsProvider>
) : (
<p>Loading connected account...</p>
)}

Question
How do I make it locale pt-br if the webapp language is in portuguêss?

What have you already attempted?
I found no documentations stating how I adjust this component and other Stripe connect components to the current app locale. My apps locale is always stated right after the domain as such: domain.com/en or domain.com/pt

What are you working on?
Inkhub.io

#

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

Code
charge_invalid_parameter
Stripe doesn't currently support application fees for platforms in US with connected accounts in MX.

Question
Why is this error returned when I am not using application fees?

What have you already attempted?
Request ID: req_aoeZSWulFrmLgt

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/issuing/funding/balance

Question
Do we need an external account hooked up to Stripe Connect account for Issuing or can we use wire transfers / push funding.

What have you already attempted?
We are in the process of setting up a system without issuing bank accounts for future customers and would like to understand if this is a possiblity without affecting virtual cards. I tried using treasury but not sure if that is the same use case.

What are you working on?
Stripe Issuing without bank account verification

cursive heronBOT
#

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

Question
How can i add some metadata to my charges when i use payment_intents end point to finalize a charge. I am looking just to add our local order id to the charge for future reference and data consolidation

Related Request ID(s)
pi_3QIh8CEjhsTXrKxz12SQE919

What have you already attempted?
i have a succesful setup working following these docs:

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

What are you working on?
ecommerce website

cursive heronBOT
#

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

Question
I am building a React app where user can enter multiple credits (to split payment) for a product. I'm trying to figure out how to save multiple credit cards with Stripe. Is that even possible to do that currently with the API? The plan is to have the frontend save the user's info and credit cards info and our backend will handle the payment structure with the tokens returned from striped for each credit card saved. The only document I can find is this.

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

What are you working on?
I'm building a React app that takes multiple credit cards for split payment for 1 product

#

@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/connect/design-an-integration?connect-onboarding-surface=hosted&connect-dashboard-type=express&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-cha

Question
I need to create Stripe accounts for buyers programatically because we are using subscriptions and the API needs a user to save the payment info.

It appears Stripe Connect is needed to do that, but the docs only talk about creating seller accounts. My main question is: Do I need to set up Stripe Connect and select "API Onboarding" in order to create accounts with the API?

I would also like to understand the other options better, as we will eventually want to take a percentage of the payments and pass the rest to the sellers, and it is not clear if this is possible with "Direct" charge type.

What have you already attempted?
Searching the rest of the docs for the information

What are you working on?
A platform for mid-term rentals

#

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

Code
The error was seen in the request logs from the Stripe Dashboard. After the Dashboard calling `/invoices/:id/pay` and receiving `invalid_request_error` (`payment_intent_unexpected_state`) in response, I can no longer attempt charge of this invoice as the payment intent is now canceled.

Request: `req_wwKkoimeBuWSAy`

Question

  1. What could be the cause of this?
    2.How can we resolve this, and charge for this invoice?
  2. Is the any way we can avoid this in the future?

What have you already attempted?
Looking through the logs

What are you working on?
In house billing system with recurring (subscriptions) and one off invoices

#

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

Question
I cannot get the stripe apple pay integration to work. It's saying that Im missing a payment method.

Related Request ID(s)
req_Q1FBjkaQAwjP4A, req_vZXFhaufru9Fkw

What have you already attempted?
Failed to create or confirm PaymentIntent: networkError(Agora.PaymentError.paymentFailed("{"error":"You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method or ConfirmationToken."}"))
Failed to start payment flow: The operation couldn’t be completed. (Agora.PaymentError error 0.)

What are you working on?
im trying to implement apple pay stripe integration in an ios app in swift

#

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

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

Question
Does stripe have a GPT loaded up with their latest docs? Is an existing 3rd party GPT recommended? Are the docs available offline (PDF?) to download?

What have you already attempted?
Browsed the docs.

What are you working on?
Updating from stripe-php v9

cursive heronBOT
#

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

Question
Is there a webhook event sent in the following scenario:
- payment_intent is set to requires action (payment_intent.requires_action)
- payment_intent is then updated with a new payment_method (??? webhook for this?)

Related Event ID(s)
evt_3QMdI5AQbHn4ElzT2G2dDf3Z, pi_3QMdI5AQbHn4ElzT2qSwrhs2

What have you already attempted?
look at webhooks delivered via stripe cli webhook proxy thing

What are you working on?
building ach payment flow, handling getting into/out-of "verify_with_microdeposits" state

#

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

What did you expect to happen?
A checkout to go from POST /v1/payment_methods to POST /v1/payment_intents like most of the checkouts on my site do

What actually happened?
POST /v1/payment_methods happened fine, but POST /v1/payment_intents did not happen

Reproduction Steps
Seems very random, most checkouts on my website work fine but some just dont initiate POST /v1/payment_intents

Question
What are the steps I should take to fix this? Ive tried test mode with some cards but that all worked fine

#

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

Question
Onboarding Account -> instant payout question

Related Request ID(s)
Onboarding Account -> instant payout question

What have you already attempted?
Hello,
We are building UK platform where user can be seller. Then this user can sell something to his clients and after correct onboarding he receive money to his bank account. We use stripe automatic payouts but have quesstion for this screenshot. I understand correctly that should I ignore it because I use auto-payouts, not instant payouts through api?

#

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

Code
cant get google pay work in production. testenv = true works fine.

Question
This merchant is having trouble accepting your payment right now. Try using a different payment method[OR_BIBED_11] stripe i get this error message after selecting google pay from the payment sheet

What have you already attempted?
google pay is on from stripe dashboard, "enableGooglePay": true
"permissions": ["INTERNET"]
from app.json

  googlePay\: {
        testEnv\: false,
        merchantCountryCode\: "FI",
        currencyCode\: "EUR",
        label\: RegisteredName,
        amount\: totalAmount,
        buttonType\: "Pay",
      }, from paymentsheet

What are you working on?
ordering mobile app react native js

#

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

Code
// Retrieve Stripe signature header
sigHeader := r.Header.Get("Stripe-Signature")

// Verify webhook signature
event, err \:= webhook.ConstructEvent\(payload, sigHeader, os.Getenv\("STRIPE\_WEBHOOK\_SECRET"\)\)
if err != nil {
	log.Printf\("⚠️  Webhook signature verification failed\: %v", err\)
	http.Error\(w, "Signature verification failed", http.StatusBadRequest\)
	return
}

log.Printf("Received webhook event: %s", event.Type)

// Process different event types
switch event.Typ

Question
Trying to create a reservation after payment is successful

What have you already attempted?
This is the error I'm getting:
Response
HTTP status code
500 (Internal Server Error)
{
"error": "Internal Server Error",
"message": "No signatures found matching the expected signature for payload"
}

#

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

Question
Is it possible to re-trigger the webhooks for an event? I forgot to add `invoice.paid` to my webhook listener, so I have a payment event that didn't propagate to my server.

Related Request ID(s)
evt_1QLI9iCjVzeFIn9gVvbQdRaj

What have you already attempted?
Tried to resend the webhook from the stripe dashboard, but it only went to the listener that existed at the time of the event.

cursive heronBOT
#

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

Question
I'm trying to upgrade to the latest API version from `2020-08-27`, but I'm running into trouble with the now removed property 'charges'. We use it to grab the `outcome` object for helpful logging when the payment intent creation fails. Is there a way to expand the new `latest_charges` object from an error response or do we have to make another API call to retrieve the Charge object when the payment intent creation fails?

Related Request ID(s)
ch_3QMf9ERgMrSW9s0a1LfFRRzq

What have you already attempted?
Adding 'expand'

What are you working on?
Upgrading to the latest API version

cursive heronBOT
#

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

Question
Hi, im facing issues with a generic card decline error when trying to create a customer through my mobile application with their card details.

Related Request ID(s)
req_cekBElIOhuseuo

What have you already attempted?
I have tried a couple of different cards and all doesnt seem to work and im not sure what else to change

What are you working on?
Building a carpool app with a payment function that is similar to grab/gojek etc

#

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

Question
Is there a way to know if subscription is on a trial when a listening to the invoice.paid event?

Related Event ID(s)
N/A

What have you already attempted?
Tried to use billing_reason but it doesn't work for me as I cancel subscriptions when all payments retries have failed.

What are you working on?
Dentist SaaS

#

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

Question
PCI states a method for verifying the integrity of scripts is required.

But if I add an integrity hash to this script tag it it will break when Stripe makes updates.

<script src="https://js.stripe.com/v3/"></script>

Is there a better way to verify integrity?
Can I follow when this script src gets updated somehow, so I can update the hash?
Can I specify a version in the script src maybe?

Doc/Guide Links
https://docs.stripe.com/security/guide
https://docs.stripe.com/js

What are you working on?
SaaS CRM

cursive heronBOT
#

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

What did you expect to happen?
We want to enable Apple Pay for our invoices using the hosted page.

What actually happened?
We enabled it on Stripe Sandbox, created an invoice but there is no Apple Pay version. We also created a draft invoice on production and while we can edit the invoice payment methods (to enable, for example, Amazon pay, there is no option to enable Apple Pay).

Reproduction Steps
A)
- Enter sandbox mode
- Enable Apple Pay as payment method
- Create invoice
- No Apple Pay available in hosted version

B)
- Using production
- Create draft invoice
- Edit invoice
- Edit payment methods
- No Apple Pay option

Question
How can we get Apple Pay to hosted invoices? Documentation says shouldn't be any additional steps: https://support.stripe.com/questions/paying-a-hosted-invoice-with-apple-pay

cursive heronBOT
#

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

Question
How to let a user know that their subscription has been canceled or reactivated with the cancel_at_period_end value?

Related Event ID(s)
N/A

What have you already attempted?
Multiple conditions using the event data from the customer.subscription.updated webhook

What are you working on?
Dentist SaaS

cursive heronBOT
#

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

Code
I want to add script of stripe

Question
I want to add script of stripe

What have you already attempted?
I want to add script of stripe

What are you working on?
I want to add script of stripe

#

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

Question
I am setting up Stripe Financial Connections and my integration is embedded in an iframe. This causes the bank authorization popup to be displayed within the iframe. Is there any way I can get access to redirect URL which I can present to the user, or alternate way in which the popup can be presented to the user?

Related Request ID(s)
N/A

What have you already attempted?
I have setup financial connections test integration, and was able to do a successful transaction

What are you working on?
Direct debit ACH using Stripe Financial Connections

cursive heronBOT
#

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

Code
curl -X POST https://api.stripe.com/v1/oauth/token
-u sk_live_***:
-d code=ac_***
-d grant_type=authorization_code

Question
Using Stripe app OAuth authentication in our WooCommerce Stripe plugin.

Now we use Platform account secret key for connection, and after app installation Stripe return connected accounts publishable key, access token and refresh tokens.

My question is, can we use restricted key for our platform account. I f I created a restricted key what might be the changes in this integration

What have you already attempted?
https://docs.stripe.com/stripe-apps/api-authentication/oauth#obtain-access-token

cursive heronBOT
#

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

Question
I'm currently using USD to charge for monthly and yearly subscription payments on my platform. However, I've been encountering some issues where payments are failing with a generic decline code. It seems like some users perceive these charges as potentially fraudulent, which might be causing the declines.

I'm considering the option of charging users in their local currency to help mitigate this issue. Has anyone here implemented local currency billing for subscriptions? If so, are there any potential challenges or considerations I should be aware of?

Any insights or advice would be greatly appreciated! Thanks in advance.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/adaptive-pricing

What are you working on?
I'm building a SaaS product.

#

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

Question
Hi there,

I'd like to use the no-code stripe portal to allow customers to manage/upgrade their subscriptions for my CRM.

I require customers to create a base subscription to accesss my platform. I also allow customers to create add-on subscriptions for my CRM, for example - a custom phone number for $6/month. I also charge customers for usage in the form of SMS and emails.

Because of this, when I use the no-code stripe portal to allow upgrades/downgrades, the additional add-on charges also show the 'upgrade subscription' button.

I was wondering what the best practice is to move forward.

One idea I had was to have a core subscription of just that base (cont below...)

Doc/Guide Links
Usage based subscription docs in the dev portal

What are you working on?
a CRM tool for creators

cursive heronBOT
#

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

Code
const ephemeralKey = await stripe.ephemeralKeys.create(
{customer: customerId},
{apiVersion: '2023-10-16'}
);

      const paymentIntent = await stripe.paymentIntents.create\({
          amount\: amount,
          currency\: currency,
          customer\: customerId,
          automatic\_payment\_methods\: {
              enabled\: true,
          },
      }\);
  
      return responseObject.sendStandardized

Question
I am using this code NodeJS code on server side to allow an android client to buy products that I have created with stripe.

Now I want to ask how can I make this product into a subscription? What changes will that require on stripe end and in my code?

I want people to be subscribed to a product to be able to access some stuff in my android app.

What have you already attempted?
I have searched it on google and youtube and have found somewhat different solutions

What are you working on?
I am building an app that has an android client and a nodejs backend. I am already able to buy products but now I want to add some subscription based features

#

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

Question
Stripe test connect account is not getting verified after submitting test details in the onboarding form where the platform country and account country both are AE

Related Request ID(s)
req_MLlCesKYnR1DYx, req_nTrIbEKd4YMDt2

What have you already attempted?
I have tried creating test account multiple times using different information and parameters

What are you working on?
Platform which connects the seller and customer where customer makes a payments and seller receives their split and application should receive its application fees

cursive heronBOT
#

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

Question
We can not receive any `payout.updated` event in test mode even if we subscribe to `payout.updated` event type. Is there a toggle or something that we don't enable it to send? I mean how can we get this event on test mode to do the test?

Related Event ID(s)
https://dashboard.stripe.com/test/webhooks/we_1Otjt1AHAmFOerMo9haUdprf

What have you already attempted?
We subscribed to `payout.updated` event in webhooks page https://dashboard.stripe.com/test/webhooks/we_1Otjt1AHAmFOerMo9haUdprf. We want to get the property `trace_id` according to doc
https://docs.stripe.com/api/payouts/object#payout_object-trace_id. But in test mode we never got any `payout.updated` events.

cursive heronBOT
#

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

Question
Id like to capture payment further than 7days (30 days) but dont know how to do it on bubble.io api build in stripe

Related Request ID(s)
Idk

What have you already attempted?
I know the workflow to capture a 7 days payment through stripe build in api on bubble

What are you working on?
Bubble marketplace

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/sdks/stripejs-react

Question
I am building a b2b marketplace where the buyers purchase items from multiple vendors. I would like to reserve funds on the same entered card for each vendor automatically.
The user would only enter his card information once, and the rest should be automated. (creating each payment intent with the required amount for each vendor)

What have you already attempted?
I did try the transfer API and it works well, but unfortunately we can only capture the payment once the goods are delivered so that's not really something we need right now

What are you working on?
B2b marketplace where the checkout process must rely on reserving the funds for each vendor individually while the end user should only enter his card information once.

#

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

Question
How to create a Link Payment method from the Payment Methods API ?

Related Request ID(s)
Not Applicable

What have you already attempted?
I looked out in Stripe API docs under PaymentMethods API, there I could not find anything related to creating a Link Payment method from API ?

What are you working on?
Integrating Link as a Payment Method.

#

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

What did you expect to happen?
When using the payment element from stripe payments, with a payment_intent that has `automatic_payment_methods[enabled]=true` we expect stripe to show the correct payment methods for the customer, which should include the `ideal` payment method.

What actually happened?
Users from the Netherlands who have even ordered via the `ideal` payment method before somehow do not receive the `ideal` payment method anymore in some cases. An example of this is: pi_3QMZVALl5PY9z0GZ0tfFa5IO

This only happens sporadically.

Reproduction Steps
Unsure, we just create the payment element like we've been doing for the last year.

Question
Why do we not get the `ideal` payment method?

What are you working on?
Food delivery platform

#

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

Question
Kindly this is a follow-up of thread #dev-help message. We can not receive any `payout.updated` event in test mode even if we subscribe to `payout.updated` event type

Related Event ID(s)
https://dashboard.stripe.com/test/webhooks/we_1Otjt1AHAmFOerMo9haUdprf

What have you already attempted?
We subscribed to `payout.updated` event in webhooks page https://dashboard.stripe.com/test/webhooks/we_1Otjt1AHAmFOerMo9haUdprf. We want to get the property `trace_id` according to doc https://docs.stripe.com/api/payouts/object#payout_object-trace_id. But in test mode we never got any `payout.updated` events.

cursive heronBOT
#

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

Question
How do I get the refund object from a `charge.refunded` webhook event in my Go API

Related Event ID(s)
-

What have you already attempted?
I know there is a refunds array on the charge object but it's not expanded for webhooks. I also saw there is a `refund.created` webhook event but it seems like this is not a final state

What are you working on?
Using Stripe Connect for my SaaS platform

#

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

Question
Is it possible to offer PayPal to all sub-customers of my vendor using Stripe Connect and Destination Charges?

Related Request ID(s)
req_YnUH6lVN74mgYK

What have you already attempted?
I'd love to have the following scenario and I was just curious if that's even possible / makes sense:

  1. I have a platform like Uber eats, vendors can sign up their restaurants, go on the stripe onboarding process and create an account

  2. The customers visit their restaurant page, select their food and check out using stripe connect with PayPal (very important) - along other payment methods.

  3. The money should be transferred to the vendor now. I don't take any fees, 100% to the vendor.

Is that possible with destination charges? I had some problems with that case.

Thanks a lot <3

#

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

Question
Im going to host my project .Currently when I run the command stripe listen in my powershell locally it works fine.Later on I hosted my project and added my https endpoint in my stripe account.So when I make a payment through stripe the webhook logs get updated in my stripe account.But my QA db doesnt get updated .Then I executed stripe listen.... on my powershell with the hosted endpoint and did the transaction then my QA db got updated.Basically I want to know without having to run stripe listen .... how can I get my backend to listen in hosting enviornment?

Related Event ID(s)
evt_3QMnLYRvW6Yc17tk0hw3UgBk

What have you already attempted?
I tried running stripe listen It worked but I want to get a permanent solution in hosting enviornment

#

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

What did you expect to happen?
user clicks on the stripe pricing table (integrated in our FE), goes to stripe checkout, subscribes and gets the subscription assigned to the existing user (the pricing table uses a checkout session which is created with the existing user.
This has been working fine, we can't simulate this enexpeted behavior.

What actually happened?
We create a stripe session with the customer id on the BE and then pass that to the FE which uses a pricing table (from stripe). The user chooses the subscription and this redirects to stripe checkout.
For some reason, when one of our clients went through that, stripe created a new customer (instead of using the existing) and assigned the subscription to the new one

Reproduction Steps

  1. Create checkout session with an existing customer id.
  2. Use the session id in a pricing table (from stripe) integrated in our UI.
  3. Click on a subscription type in the pricing table which redirects to stripe checkout.
  4. Finish the checkout

Question
We investigated the logs and events. All the calls to the "session" endpoint are with the correct customer id.
The first log where we see the new customer id is to POST /v1/payment_pages/cs_live_***/confirm

We can see from the logs that the new customer is created from the FE from the stripe checkout!

#

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

Question
I'm integrating stripe to collect fund from my users. It's one time payment, and I'm using paymentIntent and listening webhook for payment status. No I'm confused where to validate card details, from the frontend or backend ? I need to initiate payment right away, which way would be appropriate ?

Doc/Guide Links
Bunch of api docs from stripe

What are you working on?
Service based application where user doesn't need to be login to our system to initiate payment

cursive heronBOT
#

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

Question
How can I do a subscription in Stripe that is for a specific period of time and is non-renewing (Non-renewing subscription)?

Requirements
* The subscription's status must exist, as it must be available for a specific period of time.
* It must not be renewing.

This is like a prepaid subscription.

Related Request ID(s)
.

What have you already attempted?
Search document

#

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

Question
I am trying to list payments intents for a users email address, so they can see all the payments they have made, however nothing comes back.

Have had a look at the dashboard I noticed all my single transaction payments have guest customers, which I'm assuming is the problem as there is no customer object created. Is there a way to bring back either the payment intents or charges based on an email address via the api if the payments have only a guest customer attached?

Related Request ID(s)
The test account I am using is a connected account acct_1OPo97JIye6pnJ5a

What have you already attempted?
// Get Payments for Customer
var options = new PaymentIntentListOptions
{
Limit = 100,
Expand = new List<string> { "data.customer" },
Customer = customer.Id,
};
var service = new PaymentIntentService();
apiPayments = await service.ListAsync(options, requestOptions);

What are you working on?
Listing PaymentIntents for an email address

cursive heronBOT
#

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

Code
cardButton.addEventListener('click', function (ev) {
stripe.confirmSetupIntent(

    clientSecret, cardElement, {
        payment\_method\_data\: {
            billing\_details\: {
                name\: cardholderName.value,
                email\: "test@gmail.com"
            }
        }

    }
\).then\(function \(result\) {

	stripe
		.confirmCardSetup\(result.setupIntent.client\_secret, {
			payment\_method\: {
				card\: cardElement,
				bill

Question
I am using confirmSetupIntent and confirmCardSetup But i get 400 bad request with this as response {error: {code: "setup_intent_unexpected_state",…}}
error
:
{code: "setup_intent_unexpected_state",…}
code
:
"setup_intent_unexpected_state"
doc_url
:
"https://stripe.com/docs/error-codes/setup-intent-unexpected-state"
message
:
"You cannot confirm this SetupIntent because it has already succeeded."
request_log_url
:
"https://dashboard.stripe.com/test/logs/req_yMsp2UC7ZzaQeN

What have you already attempted?
I checked in the documentation to see any method that i use is deprecated

What are you working on?
Website selling tickets

cursive heronBOT
cursive heronBOT
#

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

Code
invalid_request_error

Question
I'm trying to implement Google Pay in my Flutter app but I'm having problem confirming the payment intent due to Invalid token id: tok_1QMp80HTyY8xD8aG7ZEjxD5g

What have you already attempted?
I've attempted to reproduce the code as it was presented in the tutorial but i'm stuck with this error now as I don't understand it

What are you working on?
Integration of Google Pay/Apple Pay in my Flutter app using `flutter_stripe` and `pay` packages

#

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

Question
I want to add customer card details in connected account using Stripe API

Related Request ID(s)
N/A

What have you already attempted?
I have logic to add cards using stripe.js which stores the card detail in main account. I want a way to directly store it in connected account.

What are you working on?
I am working on a website where I have to implement subscription based payment

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/billing-cycle#configure-proration-behavior

Question
Customer receiving one invoice on the first day of each month with all their purchased products and remaining days of the current/first month payment should be collected immediately as a one-time payment.

Is this doable, please help on this?

What have you already attempted?
i have no idea need help for this...

#

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

Question
My subscription was delete on 9th november but there some event happend on 15 november regarding payment that shold not happen

Related Request ID(s)
evt_1QLOctGXQ7blAdt6C5LtrIsh

What have you already attempted?
I have check logs on stripe

cursive heronBOT
#

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

Code
Hey i am creating MRR on my dashboard using this doc:
Monthly Recurring Revenue (MRR)
MRR is the sum of the monthly-normalized value of all your active and past_due subscriptions. MRR calculations exclude subscriptions in trial periods, any taxes applied to the subscription, any subscribers on free plans, and any metered (usage based) products.

Question
But there is a difference in my calculation and on dashboard showing value different so can you please guide me what's wrong on my side

What have you already attempted?
I have also removed the dicounted value and also metered subscription

#

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

Code
Trying to set-up domain with apple pay as payment method and verify the domain from the stripe dashboard.

Question
1.We have a Stripe platform account and multiple other sub-accounts, does it require verifying the domain at each of the sub-account levels or it’s sufficient to configure on the platform account level?

2.We have multiple subdomains the other than main domain
Eg: example.com; fr.example.com; nl.example.com; de.example.com
2.Can we configure can we configure like *.example.com or *.example.* instead of example.com to allow all the subdomains.

What have you already attempted?
Setting up for the main domain ( example.com ) and subaccount at platform level.

What are you working on?
We are trying to enable Apple Pay and Google Pay as payment methods for our domains.

#

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

Code
import { stripeLoadScript } from "../../environment"
import { loadStripe } from "@stripe/stripe-js";
const stripePromise = loadStripe(stripeLoadScript);

<Elements options={options} stripe={stripePromise}>
<Spin spinning={isLoading}>
<CheckoutComponent

  initiaClientSecret={clientSecret}
  subscriptionId={subscriptionId}
  callGclidCheck={callGclidCheck}
  payment\_intent\_id={payment\_intent\_id}
/\>

</Spin>
</Elements>

Question
I want to update the amount displayed on the checkout page for Apple Pay. We're currently splitting the total checkout amount into two parts and showing the full amount on the checkout page. However, the payment intent we create on the backend only includes half of the total amount. This works perfectly for card payments, but with Apple Pay, when clicked, it shows the intent amount, which is only half of the total I want to show the full amount displayed on Applepay aswell

What have you already attempted?
I don't found anything regarding on stripe docs

cursive heronBOT
#

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

Question
GPay is not working with stripe checkout.

Related Request ID(s)
We are using stripe checkout.

What have you already attempted?
We are implementing the Stripe Checkout with the Apple and GPay. We have configured the Domain and GPay in stripe dashboard. When we try to checkout from iPhone it's show Apple Pay button however GPay is not showing in android devices. And we have done the everything what we can do from our end. But we have not get success in it. So could you please help us to resolve this issue? So we can start out next steps.

What are you working on?
We are making the On Demand Delivery app where we give options to pay order amount online via Stripe.

cursive heronBOT
#

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

Question
I need a little bit of sparring with regard to setting fees in an Express Connect context. I'm redesigning our fee structure a little bit, and I'm having trouble figuring out how to determine what the cost of a given Stripe transaction is going to be. This is paramount in being able to offer transparency to the user of our platform as to what the net of a transaction will be. Is there an endpoint or a reliable way to send something like a card type, account ID, currency and amount and get an estimated fee cost back? I realize this is a bit convoluted of a question.

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Ticketing SaaS

#

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

Question
We have been using stripe with plaid via sources API. Do you have any suggestions for us to migrate it to payment intents api?

Related Request ID(s)
Na

What have you already attempted?
Checked public api docs

cursive heronBOT
#

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

Question
When using the `Link Authentication Element` is there any way to know if the user was authenticated through link or not?

Related Request ID(s)
no id

What have you already attempted?
I attempted to listen to the `change` event in the linkAuthentication element. But the data it returns doesn't change between authenticated and unauthenticated users

What are you working on?
The Checkout integration with Stripe for the company I work for

#

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

Question
We are using stripe elements to build our custom checkout and can't find a way to send discount info into Apple Pay.

For the manual CC option we create a subscription on the `default_incomplete` state, and apply the discount to that. But when Apple Pay or other methods are used I assume the discount should be sent when creating the payment element. However I can't seem to find that on the docs.

Related Request ID(s)
123

What have you already attempted?
Read through the payment element create and update docs but couldn't find any info on discounts

What are you working on?
Building a custom checkout using stripe elements

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment#create-ct

Question
hello,
for india customers, can I use createConfirmationToken

since Saving a card created via the Sources or Tokens APIs are not supported

Thanks

What have you already attempted?
I created the above flow, but I am concerned about the india market might not support it

What are you working on?
implementing payments

cursive heronBOT
#

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

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

Question
Hi, I'd like to build a Payment Method Accordion with some Stripe Payment Methods but also some third party payment provider fields. What would the best Stripe Widget be to achieve this?

What have you already attempted?
It seems like the payment element is the recommended way, but can I split each payment method into my own accordion tabs?

What are you working on?
I'm migrating away from Stripe Checkout to provide a more unified customer flow for our event ticket online shop.

#

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

Question
I'm doing some research as to whether I can integrate SEPA DD into my application. My payment flow is based on subscriptions and uses Payment Elements. Do I need to integrate a mandate into my payment flow or is this taken care of on Stripe's side? If the mandate is taken care of on Stripes side, what do I need to implement in my payment flow to enable SEPA?

Related Request ID(s)
N/A

What have you already attempted?
This is currently in the research phase, so I am yet to implement it in my code.

What are you working on?
Adding SEPA direct debit to my payment flow.

cursive heronBOT
#

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

Question
I am using the stripe.checkout.sessions.create endpoint, to allow a user to send a payment to another user - sending the account id inside the function. The user who sends the payment receives an email but the user who receives a payment does not. I was wondering if it was possible to do this? My platform receives a notification but I would like the end user to as well

Related Request ID(s)
n/a

What have you already attempted?
Turned on the email option in stripe

cursive heronBOT
#

@sinful 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
Thats what I need................

Question
I need to require customer to enter and address for shipping. where do I start. I use nextjs

What have you already attempted?
I have just been lookign through docs and I'm unsure what applies to me

What are you working on?
Purchase stickers for a fundraiser to build a commuity center

#

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

What did you expect to happen?
Create a prod connect account with an active status and payments/payouts enabled

What actually happened?
Tried creating a prod connect account but verification seems to be stuck on Business website which has a publicly available URL

Reproduction Steps
Generated a stripe signup URL and went through the whole flow to get the account submitted and created

Question
What is missing in the business url webpage that it's getting hung up on?

What are you working on?
Allowing users to sign up for connected accounts so they can sell reviews to customers through our platform

#

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

Question
I am a little bit confused on how can I have multiple prices on one subscription, both prices having different intervals(let's say one is weekly and one yearly), how is this subscription going to be charged and at what interval?

Related Request ID(s)
I have no idea what this is.

What have you already attempted?
I am just starting to build subscriptions for a web app

What are you working on?
Building a web app

cursive heronBOT
#

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

Question
What's the best way to architect a $1 paid trial (so we charge $1 on card input), and then subscribe the user to $10/month after the 7 day trial period?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
paid trial

#

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

Question
Is there a Web hook for a Checkout Session Canceled?

Related Event ID(s)
IDK

What have you already attempted?
I cannot find anything related to this in the docs, the only event I see is 'checkout_session.expired'. I don't see any webhooks being fired after an user leaves the checkout session (by clicking the browser's back button).

#

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

Question
I want to know if there is any API or other resource where I can check Bank requirements like Length of routing number required, or IBAN format or BIC code for all supported countries.

Related Request ID(s)
NA

What have you already attempted?
I looked in documentation and didn't find related thing there

cursive heronBOT
#

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

Question
I want to use meterEvents but I want to be able make the value 'value' => '0.5', it tracks the usuage but does not show on the subscription

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/revenue-recovery/customer-emails#expiring-card-notifications

Question
Hi,
We' re looking at turning on the Expiring cards email feature on Stripe.
I'd like to know if it is possible to customize the text and more specifically remove the phone number.

The standard email footer says

Questions? Visit our support site at https://support.abc.com/hc/en-us, contact us at support@abc.com, or call us at +1 123-123-1231.

I would like to remove the "or call us at +1 123-123-1231" part from the footer.

What have you already attempted?
I tried to go to https://dashboard.stripe.com/settings/branding but it only allows customization for
-Email receipts
-Checkout & Payment Links
-Customer Portal
-Invoice
-Identity

I didn't find where I could modify the expiring card email text

What are you working on?
Stripe Expiring cards email

#

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

Question
Hi Support Team,

I have a subscription setup where, if a client approves a charge mid-month, I backdate the subscription start date to the 1st of the current month. The subscription is then set to continue charging the full monthly amount on the 1st of each subsequent month.

The issue I'm experiencing is that the first charge for the backdated month is consistently a few cents higher than the intended amount, even though the correct amount is sent to Stripe. This discrepancy only affects the initial charge—subsequent charges are billed for the correct amount.

Related Request ID(s)
evt_1QL4KtCFsGKEw9hevtsWGMYg

What have you already attempted?
I’ve already tried setting proration_behavior to none when creating a backdated subscription, as you suggested. However, when I do this, the customer isn’t charged for the first month at all—they effectively get a free trial for that period. This is not the intended behavior. I need a way to:
1. Charge the customer for the full month starting from the 1st of the current month (even if they sign up mid-month).
2. Ensure subsequent billing happens on the 1st of every following month, with the correct monthly amount.

I also: Removed the billing_cycle_anchor

#

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

Question
When Stripe sends a request to a card provider (ie. Visa) that results in a 3DS check, does this mean the card provider received an actual charge attempt that failed? Or is there a separate "3DS pre-check" protocol?

Related Request ID(s)
No IDs, more of a "how things work" question

What have you already attempted?
I'm trying to understand what 3DS looks like at the Customer, Stripe, and card provider level. If a Customer makes a request through Stripe that results in a 3DS check and then abandons the cart, is that still reflected as a failed charge attempt on the card provider side?

cursive heronBOT
#

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

Code
$phase = $schedule->phases[0];
$phase->items[] = [
'price' => $price_id,
'quantity' => $quantity,
];
$stripe->subscriptionSchedules->update($schedule->id, [
'phases' => [$phase],
]);

Question
I'm trying to add an item to the first phase in a subscription schedule. I'm getting this error: Error adding price item to subscription sub_sched_...: Invalid object

What have you already attempted?
I've tried formatting the update array in various ways but I haven't found a way that works

What are you working on?
PHP script to update stripe subscriptions

cursive heronBOT
#

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

Question
For the Financial Connections product, when a bank account requires micro deposit verification, will the corresponding setup intent object have a payment method associated with it? Or does a setup intent only get a payment method once it's verified?

Related Request ID(s)
N/A

What have you already attempted?
Read documentation, couldn't find anything related to this question

What are you working on?
https://engine.com/

#

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

Question
Is it possible to know for each credit card transaction that the funds are "in transit" to our connected user's external bank account and subsequently a "funds landed" status? Essentially we're trying to give user specific status per card transaction on our invoicing product that we built where we use stripe connect in the bkg for credit card payments.

My understanding is if 20 txns took place in a day, theyre batched into 1 payout and we won't know the status on each txn but hoping that this is wrong.

Related Event ID(s)
card transaction status

What have you already attempted?
read your APIs and msged support

cursive heronBOT
#

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

Question
Webhook events (i.e. invoice.paid events failing), logs are showing this: StripeAuthenticationError: You did not provide an API key.

My stripe.customers.retrieve call looks like this:

```
const customer = await stripe.customers.retrieve(userId,
{}, // empty params
{ // options
apiKey: stripesecret
}
);
```

Related Request ID(s)
invoice.paid

What have you already attempted?
By reading the docs, it said I should include the API key in the stripe.customers.retrieve but that didn't work. Here is my code on how I handle the webhook event:

cursive heronBOT
cursive heronBOT
#

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

Question
I'm working on a Discord app, and I want to find a good solution for this edge-case scenario:
Someone starts the checkout and takes about 10 minutes to finish. Meanwhile, someone else does the same thing but is faster. This could lead to multiple subscriptions for the same guild, which we don't want.
I'm currently giving a user 15 minutes to checkout and then killing the checkout session. However, this is not ideal.
What would be a better solution? Could I perhaps store checkout sessions in the DB and when one is finished, revoke all other sessions?

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/expire?lang=node
https://docs.stripe.com/api/checkout/sessions?lang=node

What are you working on?
Premium Benefits for a Discord App

#

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

Question
We have a connect account that our customers connect to and use payment elements to accept donations. The payment method "US Bank Account" has a message that says "GiveWP uses stripe to connect your account". Is it possible to change the name "GiveWP" to our customer's merchant account name?

Related Request ID(s)
none

What have you already attempted?
I saw the business name in payment element but it doesn't seem to work https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-business

cursive heronBOT
#

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

Question
I want to send a receipt of a successful payment on checkout.session.completed web hook on by backend on a email that is attached in the checkout. Is there any way to do that in stripe itself that stripe sends the receipt to the specified email after successful payment?

Related Request ID(s)
Not required

What have you already attempted?
Yes, tried but not working

What are you working on?
Stripe Checkout Session Payment

#

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

Question
I have a checkout page using the PaymentElement. The checkout page has its own inputs for billing info. Currently there is only one text input for Address, instead of AddressLine1 and AddressLine2.

Is it OK to pass an address like "123 Fake Drive Apt 45" in Line1, for the Create Customer API and in the billing info of a ConfirmationToken?

I am getting success responses doing both of these things but I am concerned whether this has impacts on auth rates. Thanks!

Doc/Guide Links
https://docs.stripe.com/api/customers/create
https://docs.stripe.com/tax/customer-locations

What are you working on?
Full Address in AddressLine1

cursive heronBOT
#

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

Question
Using Stripe.net, and API calls, how can I add metadata to an inline price at create time, created using InvoiceItemPriceDataOptions? The ability seems to be missing, but after an inline price is created and used on an invoice, and viewed via the Stripe dashboard, that temporary Price does have a metadata field that can be viewed/edited in the Dashboard. (when looking at this request, I did add metadata to the invoice item but need it on the Price)

Related Request ID(s)
req_XxPry5WfjbrIM1

What have you already attempted?
Reviewed and re-reviewed API docs for invoice items, and price_data objects. And as the invoice item will take EITHER a Price (where metadata can be set) or PriceData (no metadata attribute via Stripe.net), it would seem I can't combine the two.

What are you working on?
New products for our existing invoices

cursive heronBOT
#

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

Question
How can I effectively narrow down invoice paid events with the billing_reason enum?

I want to send 3 types of emails for:

- subscription_create
- subscription_cycle
- subscription_update

The documentation states that the value of subscription_update for billing reason happens when a "subscription is updated", which is pretty vague.

https://docs.stripe.com/api/invoices/object#invoice_object-billing_reason

What types of updates?

For my case, I want to send an email when a customer changes from monthly price to an annual price

Related Event ID(s)
N/A

What have you already attempted?
About to...

What are you working on?
Dentist SaaS

cursive heronBOT
#

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

Question
Current documentation around the PaymentElement component suggest creating a PaymentIntent via the API, which provides a client secret required for the component to render. The Stripe js library has a function that lets you create the PaymentElement without a PaymentIntent. Is this still supported or should I avoid this flow?

Doc/Guide Links
https://docs.stripe.com/js/elements_object/create_without_intent

What are you working on?
Payments

cursive heronBOT
#

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

Question
How to avoid firing the `trial_will_end` hook when a subscription on trial is updated to a paid product.

Related Event ID(s)
N/A

What have you already attempted?
I've tried to inspect status of the subscription on the trial_will_end event, but it will always be `trialing`

What are you working on?
Dentist SaaS

cursive heronBOT
#

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

Question
I cannot use Paypal in in Stripe-Connect

Your Stripe account currently does not support Connect payments with PayPal. To enable PayPal with Connect for your Stripe account, review the eligibility guidelines at https://docs.stripe.com/payments/paypal#connect and, if your setup is supported, submit an onboarding request via your Stripe Dashboard at https://dashboard.stripe.com/account/payments/settings.

Related Request ID(s)
no id

What have you already attempted?
Verified Account and Anithing else

What are you working on?
Car Rental App

cursive heronBOT
#

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

Question
Is it possible, when creating a checkout session for a connected accounted, to specify the support email/number show in the receipt received by the customer post purchase?

Related Request ID(s)
py_1QN37XP5du381NB9c7YnS91j

What have you already attempted?
Searching in the doc

What are you working on?
E Commerce

cursive heronBOT
#

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

Question
How will we know if Stripe has exhausted all payment attempts for a particular payment intent using Smart Retries?

Related Request ID(s)
11111

What have you already attempted?
https://docs.stripe.com/billing/revenue-recovery/smart-retries

"If a failure returns a non-retryable return code, we can’t retry invoice payment without a new payment method. Retries continue to be scheduled, and attempt_count continues to increment, but retries only execute after detecting a new payment method."

However, on the Stripe dashboard, it seems that there is a maximum 8 attempts for Smart Retries. We want to know if Stripe has reached the configured maximum attempts we have set on the Dashboard.

#

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

Code
N/A (We use subscription)

Question
The subscription's invoice failed to charge so we try to recharge but got this error "This invoice can no longer be paid on Stripe". How can we get a new link or a refreshed link of this invoice? And why this happens?

What have you already attempted?
We tried to recharge but to no avail

What are you working on?
Stripe subscription

cursive heronBOT
#

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

Code
// Retrieve Stripe signature header
sigHeader := r.Header.Get("Stripe-Signature")
//check for Stripe-Signature
log.Printf("Stripe-Signature header: %s", sigHeader)
if sigHeader == "" {
log.Println("⚠️ No Stripe-Signature header present")
http.Error(w, "Missing Stripe-Signature header", http.StatusBadRequest)
return
}

// Verify webhook signature
event, err \:= webhook.ConstructEvent\(payload, sigHeader, os.Getenv\("STRIPE\_WEBHOOK\_SECRET"\)\)
if err != nil {
	log.Pr

Question
I keep getting this error:
Response
HTTP status code
500 (Internal Server Error)
{
"error": "Internal Server Error",
"message": "No signatures found matching the expected signature for payload"
}

What have you already attempted?
My check session is working but having issues with the webhook. Trying to perform an action (create reservation) if the payment is successful after the backend listens to success webhook event, but reservation is not being created. My check session is working fine though.

What are you working on?
App to create reservations for home rentals

#

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

Question
I need to create tax rates for Tennessee but I cannot seem to set an amount in stripe for the max amount the tax_rate should apply to

Related Request ID(s)
in_1QN4PKKjI0M1O6BO3wIph7KA

What have you already attempted?
looking at the tax rates api for schema and documentation in the stripe docs

What are you working on?
billing microservice

cursive heronBOT
#

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

Code
Invoice ID: in_1QGHelImFOsfVEtUl95md7Aq

Question
The subscription invoice failed and we tried to recharge it then we got the error "This invoice can no longer be paid. Consider voiding, marking as uncollectible, or marking as paid out of band instead.". Please help to check why this happen? How can we charge users?

What have you already attempted?
We tried to recharge but didn't work

What are you working on?
Subscription

cursive heronBOT
#

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

Question
Is it possible to create a Link Payment method from the PaymentMethod's API.
The child attributes also are not listed here.
https://docs.stripe.com/api/payment_methods/create#create_payment_method-link

So, will it be possible to directly create a Link Payment method so that I can attach to a customer ?

Related Request ID(s)
Not Applicable

What have you already attempted?
I attempted passing payment method types as link and link object as `link[email]`

What are you working on?
I am working on to attach a Link Payment method to the customer.

#

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

Question
subscription update price in between on going

Related Request ID(s)
subscription update price in between on going

What have you already attempted?
subscription update price in between on going

What are you working on?
subscription update price in between on going

#

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

Question
We're suddenly facing an error on WISEPOS E device when taking terminal payment by server driven process. In the device display its showing "Something Went Wrong", "Try a different form of Payment"

Related Request ID(s)
I've no any request id

What have you already attempted?
I did try to find the error from log, but I'm not getting anything

What are you working on?
why this error is coming? and what is the error code?

cursive heronBOT
#

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

Question
In the prices UI on the Stripe dashboard, I can select another price for one price to upsell to. Is this possible via API if I have many pairings of price_id->price_id upsells?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/upsells?payment-ui=stripe-hosted#create-upsell

What are you working on?
upselling a user from a monthly plan to a yearly plan

cursive heronBOT
#

@chrome 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/api/subscriptions/object#subscription_object-default_payment_method

Question
Is there a best way to know if a payment method was attached to any of the active subscriptions for billing?

What have you already attempted?
We know that we have to check the default_payment_method or payment_method field from latest_invoice's payment intent fields to know the payment method. We want to know optimised way to know this as we may need to do multiple queries to check in every subscription of the customer to know that.

#

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

Question
I want to know how the bank gets the payout reference from the Stripe server and shows it in their transaction description? Because we found it's different between the bank's transaction description and Stripe reference.

Related Event ID(s)
IDK

What have you already attempted?
We want to use the payout reference to compare the bank's statement to do the reconciliation. But we recently found a record from bank's transaction description that shows "Direct credit 158824 STR9R0B2N7B5L STR9R0B2N7B5L-7lnG". But we can see the payout reference from Stripe's dashboard that is `ST-R9R0B2N7B5L5`. You can see the one bank used missing `-` and the last character `5`. How is it happening?
We use this information to reconcile, so it's significant for our business. Pls help us confirm this situation~ Thanks a lot~~~

cursive heronBOT
#

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

Question
Got an email recently with the subject "You’re using the legacy Payment Request Button". Content is saying "We noticed you’re using the legacy Payment Request Button in your Elements integration. By switching to the Express Checkout Element, you’ll get additional features that can help improve conversion." I'm currently building a form where it allows users to save their credit card to stripe using Stripe Elements. Am I using an old implementation or is there a better implementation that what I'm currently building? Also how do I make my current implementation Compliant With Stripe?

Related Request ID(s)
None

What have you already attempted?
I've already read multiple docs in stripe on how to use Stripe Elements to save card information to a customer object in stripe but I can't seem to find any relating article to the email I got

What are you working on?
Basically my current implementation is I invoke stripe elements on my frontend (added a stripeaccount param since this is for a connected account) then mounted the Card number element, Card Expiry Ele

cursive heronBOT
#

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

Code
private fun getPaymentIntent(customerId: String, ephemeralKey: String) {
lifecycleScope.launch(Dispatchers.IO) {
val res = apiInterfaceStripe.getPaymentIntent(customerId)
withContext(Dispatchers.Main) {
if (res.isSuccessful && res.body() != null) {
clientSecret = res.body()!!.client_secret
Toast.makeText(this@CheckoutPage, "Proceed for Payment", Toast.LENGTH_SHORT).show()

Question
Payment failed: Invalid API Key provided: ephkey_1*******************ftqK

What have you already attempted?
private fun getPaymentIntent(customerId: String, ephemeralKey: String) {
lifecycleScope.launch(Dispatchers.IO) {
val res = apiInterfaceStripe.getPaymentIntent(customerId)
withContext(Dispatchers.Main) {
if (res.isSuccessful && res.body() != null) {
clientSecret = res.body()!!.client_secret
Toast.makeText(this@CheckoutPage, "Proceed for Payment", Toast.LENGTH_SHORT).show()

What are you working on?
Android payment gateway in kotlin

#

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

Question
i want to attach payment method to a customer, i have an API for that, is that a good practice, or is there way it can be done by stripe with their react native sdk

Related Request ID(s)
none

What have you already attempted?
i have attempted with the APIs alone, and it works, i just don't want to break any rules, as i am not saving the card details anywhere

cursive heronBOT
#

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

Code
proration is not working properly

Question
i have a subscription, with quantity of 2
i'm changing the quantity to 1,
in stripe, for this subscription i can see all the changes reflected and proration is created

A proration adjustment for US$298.08 was created for ii_1QN7TGJaf89hC41InOkRLBsm

just after, i'm creating a new subscription for the same customer, but instead of using proration credits of previous action, the new subscription creates a charge for a customer.

What have you already attempted?
.

cursive heronBOT
#

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

Code
$refund_transfer = $stripe->transfers->createReversal("tr_1QL15kI3RET0QghKJlOQbhPB", ['amount' => (50*100)]);

Question
I want to Create Refund From Main Account to Stripe Connected Account

What have you already attempted?
I have tried To create a Reversal

#

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

Question
Register multiple webhook endpoints, will all endpoints receive the same event request?

Related Event ID(s)
none

What have you already attempted?
Configure the webhook for the test environment

What are you working on?
Multiple endpoints receiving webhook messages

cursive heronBOT
#

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

Question
I had an error while creating a transfer with a source_transaction attribute. I have an "insufficient funds" error. I don't understand why as I passed in a source_transaction.

Related Request ID(s)
req_VLrObdLC5hPV4D

What have you already attempted?
I've read the docs about transfers and transfer availability.

What are you working on?
An affiliation platform that pays commission to ambassadors that sells our product.

#

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

Question
I have a subscription on which cancellation is scheduled on a particular date. I need to exempt the renewal invoice to be generated. How can we do it so that the renewal invoices cannot be generated until the subscription ends.

For example , my current billing cycle is 20 nov - 20 dec.

The next billing date is 20 dec.

I have cancellation scheduled on 25th december.

So I don't want the next billing invoice to be generated on 20th dec as I have already taken payment till 25th december.

Related Request ID(s)
123

What have you already attempted?
I have a subscription on which cancellation is scheduled. I need to exempt the renewal invoice to be generated. How can we do it so that the renewal invoices cannot be generated until the subscription ends.

What are you working on?
Subscriptions

#

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

Question
I'm setting up ACSS debit payments. I was able to make them work in this flow:

  1. subscription is created (server)
  2. subscription payment intent's client secret is sent to the client
  3. acss confirmation takes place on the client side
  4. payment is completed

However, when trying to reuse the saved ACSS payment method to pay for another subscription, I'm getting hit with an error saying it's not possible to use an offline mandate with this payment method type. Is there a way to set up ACSS payments in a way they're possible to be reused for subscription payments?

Related Request ID(s)
req_AP8eKGzh39HOnm

What have you already attempted?
I have attempted getting rid of the mandate data field and putting a mandate ID in the payment intent confirmation request.

cursive heronBOT
#

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

Question
I've received the following email "[Important] Updates to automatic tax for Stripe Billing" I add in the section DOC/Guide Links the important part of the body of the email.

The question:

How can I validate if my current implementation will continue working? I use stripe elements and in both "stripe.confirmPayment()" and "stripe.confirmSetup()"
I send the correct subdto in the "confirmParams" object (only rellevant part included here)
billing_details: {
name: nameInput.value,
email: vueInstance.userEmail,
address: {
country: vueInstance,
postal_code: vueInstance.form.postalCode,
},
},
I believe the solution will continue working. Thanks

Doc/Guide Links
Starting November 25, the Customer Update API will, by default, validate customer addresses for customers with active subscriptions using Stripe Tax. To prevent invalid addresses, the API will return a HTTP 400 error with customer_tax_location_invalid.

Starting November 25, we will disable automatic tax on any subscription invoice that fails to automatically calculate tax due to missing location information. The invoice will finalize without tax, allowing you to collect payments. Automatic tax will remain disabled on this subscription until you re-enable it. Previously, the invoice would remain as a draft.

You’ll receive a webhook notification and . .. [not important text]

What are you working on?
How to validate that Stripe Automatic Tax will continue working after 25 november!

#

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

Question
We enabled iDeal for recurring payments in Billing Payments config. Now, iDeal is visible in the Stripe payment element for Subscription mode. But when we try checkout for a recurring product, confirm payment API throws 400. Refer the request log

Related Request ID(s)
https://dashboard.stripe.com/acct_1Ihw53CScnf89tZo/test/logs/req_7uspECtq7IlqAg?t=1732097882

What have you already attempted?
No errors for onetime product payments. And our account is a standard account. When we enabled iDeal for one time & recurring in LeadConnector's Default config & only one time in BillingPayments config, iDeal isn't visible for subscription mode. When we enable in both LeadConnector's Default config & Billing payments config for Recurring products, iDeal is visible for Subscription mode.

#

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

What did you expect to happen?
We use Stripe Payment Element as integration into our webapp. We want to add Klarna and Twint via dashboard settings, so it should automatically appear in the Payment Element.

We use the clientSecret from an generated invoice and a direct charge to a connected account. Additionally the connected account has both capabilities added.

What actually happened?
Both payment methods do not appear in the payment element. They also do not appear in the invoice settings as default payment methods.

Reproduction Steps
- stripe connect
- capabilities for twint and klarna for the connected account
- use payment element and create an invoice and return the clientSecret for the payment element

Question
How can we activate twint and klarna in the payment element for invoices?

cursive heronBOT
#

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

Question
I can't open stripe with Pakistan

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
I can't open stripe with Pakistan

What are you working on?
I can't open stripe with Pakistan

#

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

Question
I can't open stripe with Pakistan

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
I can't open stripe with Pakistan

What are you working on?
I can't open stripe with Pakistan

#

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

Question
Which webhook function is triggered when a subscription is automatically canceled due to a failed payment versus when a subscription ends successfully?

Related Request ID(s)
Which webhook function is triggered when a subscription is automatically canceled due to a failed payment versus when a subscription ends successfully?

What have you already attempted?
Which webhook function is triggered when a subscription is automatically canceled due to a failed payment versus when a subscription ends successfully?

What are you working on?
Which webhook function is triggered when a subscription is automatically canceled due to a failed payment versus when a subscription ends successfully?

#

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

Question
Do i have to adjust my implementation for IdealBank if I use createPaymentMethod() to create the payment?

Related Request ID(s)
First question

What have you already attempted?
Nothing because this is not an issue at this time (but probably will be because of the change of idealbanks behavior).

cursive heronBOT
#

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

Code
const getElementOptions = ({
amount,
currency,
}: IProduct): StripeElementsOptions => ({
mode: freeTrialTag ? 'setup' : 'payment',
amount: freeTrialTag ? undefined : getProductPrice(amount, currency),
currency: currency.toLowerCase(),
paymentMethodTypes: getPaymentMethodTypes(),
setupFutureUsage: isPaypalSelected ? undefined : 'off_session',
appearance: {
variables: {
borderRadius: '35px',
},
},
});

Question
Hey. I want to use mode setup to implement free subscription trials for users with ExpressCheckoutElement. It works perfectly fine with GooglePay, ApplePay and Link, but PayPal button is not showing with setup or subscription mode, only with payment. Can you help with this, or tell me is it even possible to use PayPal for payment with no charge (setup). Thanks! This is an options of <Elements/>

What have you already attempted?
There is no information in docs about using subscribe or setup mode with PayPal in ExpressCheckoutElement, attempted almost all...

#

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

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

Question
the issue i am facing is that i have stripe business account under which i want to create stripe standard test connected account. The issue is that on entering the test info from the above it is still saying restricted in my main account.

What have you already attempted?
I have used stripe api for create account and link generation for hosting on boarding and after that i create a stripe connect account from there and after that i entered test details but still it is restricted

What are you working on?
stripe connect using standard

#

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

Code
var options = new InvoiceItemCreateOptions
{
Price = "price_1QFH2VBUmBAZBIgtyV51P81a", // Monthly Property website
Customer = "cus_P5wQFfOOb4eTmS",
};
var service = new InvoiceItemService();
var InvoiceItem = service.Create(options);

Question
I created subscription sub_1QNBcWBUmBAZBIgt8j0U1KOI , I try to add Invoiceitem for same CustomerId- and PriceID- for next upcoming invoice ,

i got the error was "The price specified is set to `type=recurring` but this field only accepts prices with `type=one_time`."

What have you already attempted?
i tried this doc https://docs.stripe.com/billing/invoices/subscription#adding-upcoming-invoice-items

#

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

What did you expect to happen?
My money to be transferred to my phanton wallet in Solana

What actually happened?
I payed, no solana received

Reproduction Steps
I bought solana via phanton wallet -> stripe -> revolut. money is gone no solana in wallet, i closed the 5 minute window and then the money got withdrawn from my revolut

Question
Can you help me with what went wrong and to get my solana?

#

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

Question
Avoid creating duplicate customer creation in stripe

Related Request ID(s)
req_fIykT6LF7p0Dqb

What have you already attempted?
I know that passing the customer id during checkout session avoids creating new customer in stripe, but problem is that, currently we are using stripe embedding and allow user to directly purchase, the issue with this is that, there is no way for us to know that user is already subscribed in our system, until the webhook ends. I looked through the docs and tried `customer_creation: "if_required"`, but still a duplicate customer is being created in stripe with same email

Is there any way to avoid this ?

#

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

Question
We're getting `invalid_request_error` responses from Checkout when trying to pay with Link, starting a new subscription.

On the Checkout itself, this just appears to silently fail.

In the browser, we can see an HTTP 400 is returned, telling us to check the Stripe request logs, but these just say "An error has occurred confirming the Checkout Session" without any further information.

How can we find out why this payment fails?

Related Request ID(s)
Checkout session creation: req_8pLfGtJxUcgZGH Confirmation failure: req_G0BMZL4M0dZNLS

What have you already attempted?
We're creating a Checkout Session as normal with a price ID, for a monthly subscription.

Initially we saw this error with a zero-amount payment (due to a coupon), but it also fails when we try a small amount without coupon (e.g. 6 EUR).

cursive heronBOT
#

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

Question
Getting error when attach PM to customer.
Here is error: "This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again."

Related Request ID(s)
cs_test_b1dimFheNmpb3aunBLHysElZCJ7qQT6HjJqgJvLvNAbVe55lXdtLiqXXcn

What have you already attempted?
I'm using stripe checkout session API with customer and after payment confirm attach and set default PM to the customer.

#

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

Question
When creating a subscription, I can create the price at the same time by providing price_data in the items array. This price accepts currency but also the subscription does. I am confused which one is the priority.

Related Request ID(s)
No ID

What have you already attempted?
Nothing to attempt for this

cursive heronBOT
#

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

Question
After doploying my remix.run web app the webhook is not triggered by stripe after purchasing in test mode. on my server i did not installed stripe cli. on my lokal machine i run first this command `stripe listen --forward-to localhost:3000/webhook`

Related Event ID(s)
evt_1QNDlJGqURFHwhiZvWwpOKqe

What have you already attempted?
updated the stripe libraries

What are you working on?
stripe checkout selling digital product

#

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

Question
Is there a way to have trial days transfer between subscription products? I have 3 tiers of subscriptions for my SaaS platform, and each of them have a 14 day free trial. I would like to have the user's remaining trial days to transfer over if a customer decides to switch to a different tier.

Related Request ID(s)
N/A

What have you already attempted?
When creating a checkout session, I pass the following:
session_params['subscription_data'] = {'trial_period_days': 14}

However, when the customer accesses the billing portal and upgrades their plan, they are billed immediately, even if they have remaining trial days.

What are you working on?
FinTech SaaS company

#

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

Code
paymentElement.on('change', function(event) {});

Question
With the Stripe Payment Element what is the proper way to determine if international credit card & currency conversion fees needs to be applied? It's in the context of Connect in case that matters. Also we do not ship a physical product so we don't collect shipping or address information.

What have you already attempted?
Looking in the docs for the Payment Element and looking at the `event` object returned from the `change` event.

#

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

Question
in dashboard - developer tools i'm getting warning in restricted keys section as CLI key Expires in 12 days

Related Request ID(s)
dashboard > developer > api keys > Restricted keys

What have you already attempted?
nothing

#

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

Code
https://docs.stripe.com/payments/checkout/custom-shipping-options

Question
Can you please add support for this documentation to PHP SDK ?

What have you already attempted?
I am trying to send checkout session with permission input which gives an exception on current PHP SDK

What are you working on?
I am trying to build express checkout experience with shipping rates loaded from vendor's PHP based system

cursive heronBOT
#

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

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

Question
Is there a way to pass information specified in the Link section to the outside context rendering the PaymentElement ?

I want the context rendering PaymentElement to know that the Link method was selected, and access the email / Full name entered.

What have you already attempted?
I tried add listeners on elements?.getElement("payment") to see if can retrieve the information, but I don't see anything that would be useful.

cursive heronBOT
#

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

Question
For testing purpose, I'd like to simulate a customer with a ACH Direct Debit payment method, but I got a
```
PaymentMethods of type `us_bank_account` must be verified before they can be attached to a customer.
```
error.
How to set this up the most straightforward way for testing purpose?

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

What have you already attempted?
stripe_customer = stripe.Customer.create(email="ach_direct_debit_customer@test.fixture")

pm = stripe.PaymentMethod.create(
type="us_bank_account",
billing_details={"name": "John Doe"},
us_bank_account={
"account_holder_type": "individual",
"account_number": "000123456789",
"routing_number": "110000000",
},
)
stripe.PaymentMethod.attach(pm["id"], customer=stripe_customer["id"])

What are you working on?
ACH Direct Debit integration

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/handling-api-verification#determine-if-verification-is-needed

Question
Can I use Embedded onboarding when `errors` occured in `account.updated` webhook.

What have you already attempted?
We've been using embedded onboarding, but we want to know, if this is possible, so user might do it inside our app.

#

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

Question
I understand that per the stripe docs, Customer modifications to a trialing subscription will end the free trial and create an invoice for immediate payment. However, would it be possible to use a webhook for the payment intent creation event and set the remaining trial days manually using the webhook?

Related Request ID(s)
N/A

What have you already attempted?
Attempted adding the trial days to the subscription_update_confirm flow:

            session = stripe.billing\_portal.Session.create\(
                customer=customer\_id,
                return\_url=RETURN\_URL,
                flow\_data={
                    "type"\: "subscription\_update\_confirm",
                    "subscription\_update\_confirm"\: {
                        "subscription"\: subscription.id,
                        "items"\: \[{
                            "id"\: item\_id,
                            "price"\: new\_price

What are you working on?
Fintech SaaS

cursive heronBOT
#

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

Question
When my connected accounts go into their (embedded) onboarding, they are always asked business related questions. Even if I specify the business_type as "individual". The first page of the onboarding is always "Location of business" and "Type of business", which makes no sense for individuals.

Related Request ID(s)
req_3UUAVmAqzo5mZh

What have you already attempted?
Set business_type to "individual" in the account creation payload

What are you working on?
An app where I need to hold payments from a third party and then conditionally confirm and send it to my user or decline it. Most of my users (if not every) will be individuals

cursive heronBOT
#

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

Question
I've just finished migrating to the ExpressCheckout element, running in Test Mode, and having an issue that now the charge isn't containing the email if I pay through Google Pay. However, on the Stripe panel the transaction seems to have the email as the customer with a `gcus` (guest customer), but when retrieving the charge / fullPaymentIntent, the customer is null.

Related Request ID(s)
pi_3QNG5GLZ8gWG88EE2F8bBp8s

What have you already attempted?
I have attempted retrieving the charge, retrieving the payment, etc.

What are you working on?
Adding tip functionality to a 1m user application

cursive heronBOT
#

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

Question
I'm trying to figure if delivery of these webhooks was delayed, and if so why? These 3 events are `invoice.payment_failed` events that happened Oct 23/24. We listen to those and use them to send emails to customers. We had someone write in saying they received the emails on November 5th (instead of on October 23rd/24th). In our DB we keep a record of when we process the incoming events, and for those 3, it shows that we processed them on November 5th.

It's been more than 15 days, so I can't see in the Stripe dashboard the webhook deliveries. Can you see if they were delayed?

Related Event ID(s)
evt_1QD2i32R3kkGxJkDJMtSHYA1, evt_1QD4pE2R3kkGxJkDCqPo3xTI, evt_1QD4ri2R3kkGxJkDDwtZk1oD

What have you already attempted?
Tried looking in the dashboard, nothing seems amiss. Tried looking at our error reports and logs to make sure the webhook events didn't get stuck on our end. I don't see anything on our end that would be causing it.

cursive heronBOT
#

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

Code
```typescript
try {
const stripeSubscription = await StripeClient.subscriptions.create({
customer: 'no-existent-id',
collection_method: 'send_invoice',
currency: 'usd',
days_until_due: 14,
off_session: true,
proration_behavior: 'none',
payment_settings: {
payment_method_types: ['us_bank_account'],
},
});

console.log(stripeSubscription);
} catch (err) {
console.log(err);
throw err;
}
```

Question
- Why doesn't the Stripe SDK package `throw` when there is an API error when running on NestJS or AWS Lambda?

What have you already attempted?
I have tried 10 variations of code and contexts to make the package throw an error through injection, direct instantiation in different contexts, different combinations of `try/catch/finally` blocks, custom `Stripe.createNodeHttpClient()` configurations, etc.

The only way I can get the package to throw is when running on a local script and using `ts-node` or building (using the same bundle configuration) and running with `node`.

Dashboard sows the errs: `req_LUDpSEe0wSmrgH`

What are you working on?
An SQS event driven lambda that starts a Subscription for an Account and retries if there is an error creating the Subscription. I need throws to happen.

#

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

Question
Our company would like to change the price (same dollar amount, but different pricing strategy) for an existing Stripe product. My understanding is we need to create a new Stripe price on this product.

My question is: Is there a recommended way to 'migrate' all existing Subscriptions to a new price?

My current plan is to use the API to iterate through all Subscriptions and update their priceID. I'll do this at a rate-limited pace so our webhook handlers will handle things on time.

Any considerations here? E.g. could this adversely affect renewals?

Doc/Guide Links
I could not find any documentation on how best to do this, apart from a thread on Stackoverflow

https://stackoverflow.com/questions/73507887/how-to-increase-price-of-a-subscription-in-stripe/73508423

What are you working on?
Changing the price for 10 000+ subscriptions

cursive heronBOT
#

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

What did you expect to happen?
Tax collection to be automatically paused

What actually happened?
Issues with customers tax not being collected because of invalid address

Reproduction Steps
none ----------------

Question
Will we need to update to the latest Stripe API to get the new tax changes that are supposed to drop in a few days?

cursive heronBOT
#

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

Question
Should I create a Customer object as soon as a Price is added to a ShoppingCart, or wait until the checkout process has begun?

Doc/Guide Links
Can't think of any relevant documentation

What are you working on?
Company website with SaaS products

cursive heronBOT
#

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

Question
Is it possible to embed the stripe connect "Create an account" or "login with your account" popup for the connect onboarding flow for our users? we use the stripe embedded onboarding flow for connect and want to see how we can embed this popup instead

Related Request ID(s)
see in msg

What have you already attempted?
i reached out to chat support and no one is answering me, been waiting for 15 mins there.

#

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

What did you expect to happen?
The React Native CardField for Android is broken when toggling light/dark mode. My app does not support dark mode yet, but the field seems to update it's text color based on if the android system is set to dark mode or light mode, regardless of if you set TextColor in the field props. iOS works as expected.

What actually happened?
The text color changes with dark/light mode and cannot be changed for android. In iOS, the values are set correctly and dark mode is effectively disabled with the below code. On android, it breaks and you cannot see the input text.

Reproduction Steps
<CardField
...
cardStyle={{
backgroundColor: '#ffffff',
textColor: '#000000',
...
}}
...
/>

Question
Can this be fixed? Multiple reported / unanswered issues in GitHub.

What are you working on?
React Native project.

#

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

Question
What's the difference between the `payout.reconciliation_completed` and `payout.paid` webhook events? If I wanted to track the disbursement dates for charge transactions in a database, which of these payout events would be most canonical to work with?

Related Event ID(s)
NA

What have you already attempted?
NA

What are you working on?
NA

#

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

Question
Cannot find information on how to prefill data for connected account onboarding. Now I am even doubting if that was the right choice since we work similarly to Uber Eats (people can register on our website to perform actions and receive a compensation for it) and on the onboarding form users need to fill out their business name and customer support number, which I assume they do not have.

Related Request ID(s)
Q

What have you already attempted?
Searching through the documentation thoroughly.

#

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

Code
```tsx
useEffect(() => {
const { clientSecret, paymentIntentId } = await createPaymentIntent({
amount,
recipientUserId,
});
setClientSecret(clientSecret);
setPaymentIntentId(paymentIntentId);
}, [recipientUserId, amount])
```
[...]
```tsx
<Elements
key={clientSecret}
stripe={stripePromise}
options={{ clientSecret }}
>
<ExpressCheckoutElement
[...]
```

Question
I am setting up tipping functionality for creators on our platform using Stripe Connect, and the one-click is causing a re-render of the ExpressCheckoutElement each time. Is there any way to have not reload, as the loading of the ExpressCheckoutElement takes a long time?

What have you already attempted?
Initially, I had it be without the key:
```tsx
<Elements
// key={clientSecret}
stripe={stripePromise}
options={{ clientSecret }}
>
```
which causes it to not re-load, but if I click on Link or Google Pay, the correct amount is not set.

What are you working on?
Adding tip functionality to a 1m user application

cursive heronBOT
#

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

Code
const options = { layout: 'accordion' }
const test = that.viewModel.stripe_elements.create('payment', options)
test.mount('#payment-element')

Question
Hello, the "test.mount" is not working. That.viewModel.stripe_elements.create('payment', options) does not return to me anything.

What have you already attempted?
I am following those instructions: https://docs.stripe.com/payments/payment-element

What are you working on?
I am trying to get the payment-element to appear in my Vue project. It was previously in AngularJS.

cursive heronBOT
#

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

Question
I'm struggling with the Stripe dotnet nuget package. The value for
"created":
1732129692868

...appears to be ms instead of seconds for epoch

Related Request ID(s)
req_ZTkdvoGPc8dabz

What have you already attempted?
I used a seconds epoch time overriding the source code from stripe and confirmed serialization works.

What are you working on?
Vault + Forwarding to tabapay.

cursive heronBOT
#

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

Question
We integrate with Stripe webhooks to manage state of our refunds in our payments layer.
Traditionally, our code listens to `charge.refunded` to record refund outcomes.

What is the correct set of refund webhooks to listen to in order to properly record all possible state transitions for refunds? (a bit more context to follow in thread)

Related Event ID(s)
n/a

What have you already attempted?
n/a

#

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

Question
Stripe prebuilt paymentsheet works when I was using my live api keys. then I changed the "stripe.api_key" to a test key and added a "receipt_email" field in the paymentIntent. I see in the Stripe dashboard that the PaymentIntent is successful. but now paymentsheet loads forever and an URL request returns an error from my server.

Related Request ID(s)
req_fXSiwFVUdRm8ti

What have you already attempted?
read the doc

#

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

Question
Error message: "The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first."

What does it mean to re-use a payment method (I haven't used this payment method before). It says it cannot be "attached", but also that it must be attached to a customer?

This is a us_bank_account payment method, in verify_with_microdeposits state.

Related Request ID(s)
req_VtzmWtMbph9ldT

What have you already attempted?
Submit request req_VtzmWtMbph9ldT

What are you working on?
ach checkout flow

cursive heronBOT
#

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

Question
I'm trying to create a dispute using stripe-js sdk, I have the transactionId (I see the transaction in the stripe dashboard), but when I send it to `strip.issuing.disputes({ transaction: serviceRequest.payment.transactionId, ... }) I get this error:

Error: No such issuing transaction: 'pi_3QN...vHqj3g4'

Related Request ID(s)
req_VfhWpF0ErTp1MU

What have you already attempted?
I have tried using different ids, but I believe i'm passing the correct one.

#

@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 want to be able to checkout in one flow with multiple subscriptions of different recurring intervals. I can't add subscriptions with different intervals to the line items in one subscription object. I'm looking for ways to achieve this without the customer having to checkout multiple times since each subscription creates its own unique payment intent.

What have you already attempted?
I have tried to work with setup intents and collect the users payment information before and then create multiple successive subscriptions. However, I am not sure if this is a good solution. I wanted to ask if there is a better way to go about this using some tools form stripe i do not know about.

What are you working on?
Building out an e-commerce store for a client.

#

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

Question
My main problem is the payment box is not showing -- card.mount() is not working. I don't get any error message. Code: var card = elements.create("card", { hidePostalCode: true, style: style }); // Stripe injects an iframe into the DOM card.mount("#card-element");

Related Request ID(s)
(I don't undestand this field)

What have you already attempted?
Code: var card = elements.create("card", { hidePostalCode: true, style: style }); // Stripe injects an iframe into the DOM card.mount("#card-element");

What are you working on?
Payment gateway using Stripe API

cursive heronBOT
#

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

Question
Is there an issue with the server-driven integration today? I'm seeing way more errors than usual and it caused a lot of issues

Related Request ID(s)
req_LK6fD9y1sryTGc

What have you already attempted?
n/a

cursive heronBOT
#

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

Question
Hello! Can we load stripe.js into our app using the React Native SDK

Related Request ID(s)
Support chat

What have you already attempted?
Researched in the docs and only found mention of it for the Android and iOS SDKs.React native uses the iOS and android sdks underneath but we can’t customize it

What are you working on?
We need to load stripe.js into our app to enable hCAPTCHA for anti-fraud

#

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

Question
How to retrieve author (stripe user) who create an invoice or credit balance transaction or refund from the stripe dashboard

Related Request ID(s)
in_1QNLxrAZsVWZrzM8JZ1NkyCG

What have you already attempted?
Rsearch the docs

What are you working on?
Invoices integration

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/connect-reader?reader-type=tap-to-pay#discover-readers

Question
I am trying to implement Tap to Pay on iPhone. The sample uses the line:

let config = try TapToPayDiscoveryConfigurationBuilder().build()

However, Xcode indicates that the object cannot be found:

Cannot find 'TapToPayDiscoveryConfigurationBuilder' in scope

I have these packages installed:
Stripe, StripeTerminal

What do I need to do to get access to the TapToPayDiscoveryConfigurationBuilder object?

What have you already attempted?
I've followed the instructions in the link, but there is not documentation referencing the missing object anywhere.

What are you working on?
I am trying to implement Tap to Pay on iPhone for Stripe payments.

cursive heronBOT
#

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

Question
So im looking for a little bit of assistance on a platform im developing,. Im building a platform to sell experiences. Im integrating with stripe as my payment processor. The flow is people will register, pay the deposit then pay the rest as 2 separate transactions. The only question is how would I classify it when running it through stripe for payment. Like Experience A(Company/Provider A) might be a 500 Deposit with a 2500 Remaining balance but the Experience B(Company Provider B) Might only be 250 with 1250 remaining. I just want to know how to classify it when creating it for payments. IM looking for best practice to classify these payment types/product types.

Doc/Guide Links
https://docs.stripe.com/checkout/embedded/quickstart
https://docs.stripe.com/payments/accept-a-payment

What are you working on?
A Dynamic Marketplace to sell expirences

#

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

Question
We didn't update endpoint to listen to charge.updated events when two charges happened, is it possible to re-fire the events?

Related Event ID(s)
evt_3QMzIRGYJTZdxpeX1X1sYS4i, evt_3QMzEAGYJTZdxpeX0UzOfv1x

What have you already attempted?
we updated the endpoint but still missing the events
ch_3QMzIRGYJTZdxpeX1pZcG1SM
ch_3QMzEAGYJTZdxpeX0ufNA10F

cursive heronBOT
cursive heronBOT
#

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

Code
// New createCheckoutSession function
exports.createCheckoutSession = async (req, res) => {
try {
const {
connectedAccountId,
currency,
productName,
unitAmount,
customId,
bookedDate,
idealStart,
} = req.body;

// Update the account branding settings
const account = await stripe.accounts.update\(connectedAccountId, {
  settings\: {
    branding\: {
      //For Live\:
      // icon\: "file\_1QNJoQHIfwP9MV0CF9

Question
I keep getting this error: "Error creating Stripe Checkout session: StripeInvalidRequestError: That file is already attached to something else.
at StripeError.generate (/opt/render/project/src/inkhub-backend/node_modules/stripe/cjs/Error.js:10:20)
at res.toJSON.then.Error_js_1.StripeAPIError.message (/opt/render/project/src/inkhub-backend/node_modules/stripe/cjs/RequestSender.js:105:54)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"

What have you already attempted?
I have tried uploading the logo and icon again to get another file id for each, but it keeps saying I can't use the same file in two places...

#

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

Question
I am trying to integrate Stripe to a custom built application. So Stripe will send customer or product data to the custom built third party application. I have added the webhook of the custom application so that Stripe will send the POST request to the API. For Authentication custom application needs it's own Secrete key to be sent while making an API call but Stripe send it's secrete key and that fails the authentication. Question is- Is there a way I can change the secrete key generated by the Stripe on the dashboard?

Related Request ID(s)
no

What have you already attempted?
Looked for docs to change a secrete key but not found

What are you working on?
Send data to third party custom built application whenever new payment is made

#

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

Code
const paymentElement = this.elements.create("payment", style_options);
paymentElement.mount("#payment-element");

paymentElement..on('change', function(event) {
var displayError = document.getElementById('card-errors');
if (event.error) {
displayError.textContent = event.error.message;
} else {
displayError.textContent = '';
}
}

Question
I'm using the Payment Element. Is it possible to customize the validation messages?

What have you already attempted?
https://docs.stripe.com/js/element/input_validation

cursive heronBOT
#

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

Question
Does the Address Element support Appearance API? This page says it does, https://docs.stripe.com/elements/address-element/collect-addresses?platform=web#customize-appearance but it's not a valid prop type in the stripe-js library https://github.com/stripe/stripe-js/blob/master/types/stripe-js/elements/address.d.ts#L4

Related Request ID(s)
n/a

What have you already attempted?
tried to pass appearance object.

What are you working on?
Trying to customize the appearance of address element

#

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

What did you expect to happen?
On a subscription manual retry schedule, I expect it to retry on the specified days later e.g 3 days later, then 5 days after that, then 7 days after that.

We advice our clients the subscription will end within 15 days of non-payment, however sometimes it's 15 days and 3 - 6 hours, which is on the 16th day, and our clients get confused.

What actually happened?
When a payment fails, it tries again based on the days, but also +3 hours each time it fails, which then sometimes pushes it into a whole new day if the original subscription was late at night.

Reproduction Steps
Set a manual retry schedule, but start the subscription late in the night, e.g near 12am.

If it runs the full retries, it will push over

Question
Can I prevent Stripe from adding the 3 hour delay ( which stacks ) after each failed payment attempt, so that it always retries on the correct day.

What are you working on?
Online house Insurance platform.

cursive heronBOT
#

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

Question
How can i do two time payment for one price?

Related Request ID(s)
i dont know

What have you already attempted?
Can i stripe.checkout.sessions.create for $1 payment and stripe.paymentIntents.create for $99 payment?

i have some problems with Error processing the $34 payment: StripeInvalidRequestError: The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not

What are you working on?
i need to create split payment in stripe i used embedded ui and how can i do in backend for example for 1$ now and $99 next one time payment it is not subscription $99 is payed only one time after a m

cursive heronBOT
#

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

Question
unable to create connected account on live mode

Related Request ID(s)
connected account

What have you already attempted?
i dont know what to do wit this error
rror_code=None error_message=‘Livemode requests must always be redirected via HTTPS.’ error_param=None error_type=invalid_request_error message=’Stripe API error received

cursive heronBOT
#

@wooden axle pressed the 📚 Doc or 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

Question
Where I can find the all event happening on stipe terminal such as disconnection,pairing,connection sattus internet lost card tapped etc ?

What have you already attempted?
Checked the stripe dashboard throughly including workbench log but we could find is only payment transaction detail

What are you working on?
Working on stripe terminal javascript sdk

cursive heronBOT
#

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

Question
We enabled iDeal for recurring payments in Billing Payments config in connected account. Now, iDeal is visible in the Stripe payment element for Subscription mode which uses LeadConnector's PMC config. But when we try checkout with iDeal for a recurring product, confirm payment API throws 400. Refer the request log

Related Request ID(s)
https://dashboard.stripe.com/acct_1Ihw53CScnf89tZo/test/logs/req_7uspECtq7IlqAg?t=1732097882

What have you already attempted?
No errors for onetime product payments. And our account is a standard account. When we enabled iDeal for one time & recurring in LeadConnector's Default config & only one time in BillingPayments config, iDeal isn't visible for subscription mode. When we enable in both LeadConnector's Default config & Billing payments config for Recurring products, iDeal is visible for Subscription mode.

cursive heronBOT
#

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

Code
Stripe Connect & PayPal & Destination Charges - "Your Stripe account does not support Connect payments with PayPal"

Question
Hi, I wonder why I receive each time I try to setup a destination charge, along with Stripe Connect, with PayPal, following error:

Your Stripe account currently does not support Connect payments with PayPal. To enable PayPal with Connect for your Stripe account, review the eligibility guidelines at https://docs.stripe.com/payments/paypal#connect and, if your setup is supported, submit an onboarding request via your Stripe Dashboard at https://dashboard.stripe.com/account/pay

What have you already attempted?
Everything. Even contacted support. Read all. Changed all configs as possible. I don't know, what I have not tried yet!

What are you working on?
Platform for food delivery like Uber Eats.

cursive heronBOT
#

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

Code
Charge in my account

Question
I have a charge in my account and i dont recognise

What have you already attempted?
I woke up today with a charge of 49,99$ and i have not madr this pynent. No money in my phanton and not money in my account

What are you working on?
I want my money back

cursive heronBOT
cursive heronBOT
#

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

Code
payment_intent_authentication_failure

Question
TWINT payments always fail with the following error message: "The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again"

What have you already attempted?
Testmodus war erfolgreich - auch anderer Stripe Account funktioniert

What are you working on?
Online Shop Payment Integration

cursive heronBOT
#

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

Question
When a user's subscription gets cancelled due to failed payments and they add a valid payment method, the user gets charged for the subscription however no new subscription is created.

Related Event ID(s)
evt_1QNLlnHeFNQIbmrtjjHxC8dE

What have you already attempted?
I'm not sure what to do.

What are you working on?
Scheduling SaaS

cursive heronBOT
#

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

Question
Good day, dear developers,

I urgently need feedback. This concerns the integration of SEPA payments. I am integrating Stripe as a payment provider into my SaaS and, in addition to credit card payments, I would like to integrate SEPA payments via API. It’s actually working so far, but doesn’t Stripe require the BIC? Is there a way to transmit this to Stripe, or is it really not necessary? I’m confused.

Thank you in advance!

Related Request ID(s)
?

What have you already attempted?
?

#

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

Code
proration is not working

Question
by changing subscription quantity from 2 > 1
the proration is created, but is not being applied to the next subscription i'm creating for the same customer

What have you already attempted?
-

#

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

What did you expect to happen?
I've used stripe like this:
export const stripe = new Stripe(env.stripeSecretKey!, {
apiVersion: "2024-10-28.acacia",
});

It's running on local environment, but when deployed to the production It's throwing this error:

It's generally expected to run the same config across all environments

What actually happened?
Got this error on server:
src/configs/stripe.config.ts(5,3): error TS2322: Type '"2024-10-28.acacia"' is not assignable to type '"2024-11-20.acacia

Reproduction Steps
- I'm using Node in backend, and this version of stripe:
"stripe": "^17.3.1",

Question
Is it a bad approach to specify stripe api version explicitly ?

What are you working on?
Service based application

#

@lofty 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/payments/payment-intents

Question
How are Payment Intent and Checkout difference?
If currently I use Checkout, Do I need to switch to Payment Intent?

What have you already attempted?
I already create checkout payment session then redirect page to checkout page via stripe-react redirectToCheckout

What are you working on?
I try to implement subscription for SaaS

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/connect-reader?reader-type=simulated

Question
I have implemented stripe reader s700. now i am wandering is it required to get connected with same network for my application and the reader? or it via internet? that means if i my application is in NY and the reader is in North Carolina

What have you already attempted?
Nothing, just curious

#

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

Question
Does confirmCardPayment with 3DS in Stripe Intents always open a modal or can there still be a redirect to banks website? How could I reproduce a redirect if such is possible.

Related Request ID(s)
ch_3QNXXtHhWa3Rl9YM0xDDyZQZ

What have you already attempted?
Test cards always open the confirmation modal

What are you working on?
Credit card payments and 3DS

#

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

Question
Is it possible to automatically enable "Annually" when generating a checkout session?

Related Request ID(s)
None

What have you already attempted?
Is it possible to automatically enable "Annually" when generating a checkout session?

What are you working on?
Subscrition Plan

#

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

Question
If I navigate user in customer portal using flow_data to one product with predefined discount, why I can't go back in customer portal and try to choose some different product?

Related Request ID(s)
x

What have you already attempted?
So I have in my app legacy free users to whom I want to give 50% discount on yearly product (subscription) which works fine with flow_data and subscription_update_confirm. But what if my user opens 50% yearly product but he wants to navigate himself in customer portal and choose different product?

I have only option in sidebar of customer portal to return back to my app.

What are you working on?
Subscriptions free trial legacy users

cursive heronBOT
#

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

Question
typography problem on the payment element

Related Request ID(s)
typography problem on the payment element

What have you already attempted?
var appearance = {
theme: 'stripe', // Autres options : 'stripe, 'night', 'flat', 'bubble'
labels: 'floating',
variables: {
fontFamily: '"Montserrat", "Arial", sans-serif'

cursive heronBOT
#

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

Question
Hi, I have a charge for which I have exhausted all the webhook retries. How can I retry the webhook manually again?

Related Event ID(s)
NA

What have you already attempted?
Retries from the dashboard

#

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

Link to the Doc/Guide in question
https://stripe.com/it/pricing

Question
In the demo mode for the payment (pi_3QNV3THj15nDz7EL0anjgs8Y) of 253 € I see the fee of 10.33 = 8.47(stripe fees) + 1.86(tax), but it doesn't look like 1.5% + 0.25 € or 2.5% + 0.25 €
Please explain how the full fee is formed?

What have you already attempted?
https://stripe.com/it/pricing

What are you working on?
marketplace

#

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

Code
<PaymentElement onChange={(event) => handleOnChange(event)} />

Question
Is there a way to indicate a field is required with a (*) in the label when using the PaymentElements UI?

What have you already attempted?
Tried looking at through payment elements docs

What are you working on?
Accessibility

#

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

Question
How to handle concurrent webhook requests with some delay to post to our application

Related Event ID(s)
payment_intent.canceled, payment_intent.payment_failed, payment_intent.succeeded

What have you already attempted?
first webhook invoice from bulk invoice payment is processed with email notication but next are not

What are you working on?
PHP Stripe APIs

cursive heronBOT
#

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

Question
We're getting and invalid_request_error calling /v1/checkout/sessions

Related Request ID(s)
req_W4mF2M58WEEJnL

What have you already attempted?
Our customer is trying to pay an 1EUR invoice through our StripeConnect integration

What are you working on?
ERP Platform

cursive heronBOT
#

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

Question
how can i automatically saved the pdf generated in stripe to my salesforce instance?

Related Request ID(s)
none

What have you already attempted?
I am trying this approach in my POC req.setEndpoint('callout:Stripe_for_LWR/v1/invoices/' + invoiceId + '/pdf');
however upon executing the logic i get an error status 404: not found

What are you working on?
saved stripe invoice pdf to my instance

#

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

Question
Stripe Payment (Test Mode)
When I query Stripe through the backend for my Stripe Connect wallet, it always shows the payments as 'Pending', even though they have already been debited/paid out today. So these payments cannot be pending anymore.

Related Request ID(s)
Image Appendet

What have you already attempted?
$transactions = \Stripe\BalanceTransaction::all([
'limit' => 100,
'expand' => ['data.source']
], [
'stripe_account' => $renter->stripe_account_id
]);

What are you working on?
Rental APP

#

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

Question
In order to allow my customers to carry over free trial days between subscriptions (I have a 3-tiered subscription system), I have implemented code that deletes their subscription and creates a new one on the desired plan with the customer's remaining trial days. From the stripe docs, I understand that this is a limitation of the customer portal. This solution seems to work, except it shows up as a cancelled subscription for the customer. Will this affect our churn rate and Trial conversion rate in stripe reporting? Is there a way around this?

Doc/Guide Links
https://docs.stripe.com/customer-management#customer-portal-limitations

What are you working on?
FinTech SaaS

cursive heronBOT
#

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

Question
Hello! Help me please to implement this workaround. Connect the Stripe payment link via API to the HubSpot quote template. When a customer clicks on the Pay Now button → total amount of the current quote should be sent to Stripe → payment link is created on the stripe side with the total amount from the quote → customer redirected to the payment link URL (ex https://buy.stripe.com/test_aEU29U9Gg9vd1Py8ww)

Related Request ID(s)
req_mkfkzeJku1dZXL

What have you already attempted?
Created payment links. I have a lot of dynamic products, so I can't cover all of them creating links

cursive heronBOT
#

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

Question
I am trying to end a trial early by calling subscription update api and setting trial_end=now (as mentioned in the docs) but status remains "trialing" instead of "active". Why?

Related Request ID(s)
req_wfB95pfHqM2Plc

What have you already attempted?
setting trial_end to 'now'

What are you working on?
Building a SaaS where customer can choose to end a trial early

cursive heronBOT
#

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

Code
npm install --save @stripe/connect-js
import {loadConnectAndInitialize} from '@stripe/connect-js'

Question
I am not using any package manager in my frontend application only pure html/js
How can i use stripe connect.js to show embedded components in my application?

What have you already attempted?
I have looked up for the Connect.js plugin file on the internet but couldn't find. Couldn't find a cdn for is as well.

What are you working on?
A recent payments page for account owners in our application

#

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

Question
A year ago the embedded components for Connect was only possible to custom account types(or something similar to that, i do not remember precisely), I was wondering if standard or express is supported right now with, could not find the information on their respective pages:

https://docs.stripe.com/connect/connect-embedded-components/quickstart

Related Request ID(s)
not relevant see question

What have you already attempted?
read the docs and respective pages but there was not any context for it

What are you working on?
respect my privacy broski

#

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

Question
Is it possible to submit ACH transactions using a us_bank_account as a payment method while it's awaiting micro deposit verification? And if so, do we receive two events: one for the verification of the account, and one for the successful ACH transfer? Or can you only create ACH payment intents after the account is verified?

Related Request ID(s)
N/A

What have you already attempted?
Read documentation

What are you working on?
https://engine.com/

cursive heronBOT
#

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

What did you expect to happen?
Shipping and billing address get attached to the link account when using stripe elements with the confirmation token approach

What actually happened?
Shipping and billing address does not get attached to the link account when using stripe elements with the confirmation token approach

Reproduction Steps

  1. Create a stripe elements without any intent in payment / subscription mode
  2. Add a stripe address and payment element
  3. Add a confirm event handler for elements
  4. Send the confirmation token to backend and confirm the payment at the backend
  5. At the next page - user has to enter the address again if we use the stripe elements again. Card and email does appear.

Question
Using stripe elements -> address element with the link auth. How to get the shipping and billing address saved with link account when using confirmation token approach with the stripe elements?

What are you working on?
Trying to build a checkout page for a product with link support and allow customers user saved address and cards

cursive heronBOT
cursive heronBOT
#

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

Question
Is it possible to capture a webhook when a customer is sent a renewal reminder email? Otherwise is it possible to BCC our own email into them so we have them on record?

Related Event ID(s)
N/A

What have you already attempted?
Checked the Stripe dashboard

What are you working on?
SaaS B2C system with subscriptions from Stripe

cursive heronBOT
#

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

Question
On my customer invoice the total tax amont does not fit with the tax rates

Related Request ID(s)
invoice id in_1PT3TdKWdqDdXYO6VIFKwww5

What have you already attempted?
how dou stripe compte the tax amont from invoice item

cursive heronBOT
#

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

Question
Can you adjust the application fee dynamically whilst on the Stripe Checkout, or afterwards? We want to allow the Klarna (and other) payment methods, but we incur higher fees so want to pass them to our Custom Connect merchants. It seems we need to send the application fee when initialising a checkout session, but at that point, I don't know the payment method.

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Food ordering portal

#

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

Code
Is it possible to split Stripe Address Elements such that the individual fields can be show in different steps of a wizard

Question
we want to make a wizard where the first step is name, second is street address, third is city, phone number etc. is this something thats possible?

What have you already attempted?
already tried rendering it using various options given in the documentation

#

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

Question
For the purposes of collecting tax info for 1099 forms via Express Accounts, can one enter an ITIN in the SSN field and this satisfy the TIN requirement? Does ITIN == SSN for Stripe 1099 tax reporting purposes?

Related Request ID(s)
no request

What have you already attempted?
I have used the tax_reporting_us_1099_misc account capability and am presented a SSN field. However some of our contractors have ITIN rather than SSN.

To tie these all together, in the Stripe Dashboard -> Connect -> Tax forms, I am shown that the account is missing a TIN number.

What are you working on?
Job forum for contractors

cursive heronBOT
#

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

Question
A main Stripe account exists with multiple Connected accounts. Users are able to set up a future payment method and are charged at a later time through the Connected account. I own the main account and have no control over the Connected accounts. I am moving from using webhooks to process the checkout sessions for each Connected account to integrating with Amazon Eventbridge. I am attempting to test this Eventbridge integration and am unable to simulate checkout session scenarios for the connected accounts using the sandbox from my main account. How can I set up this testing?

Related Event ID(s)
Any of the *-future-payments events in sandbox environment

What have you already attempted?
Tried varying commands using the Stripe CLI to trigger complete and expired checkout sessions

What are you working on?
B2C Platform where the Connected accounts are customer-facing

cursive heronBOT
#

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

Question
I need to start collecting tax IDs when customers are checking out. I want to collect tax IDs only if the customer is outside of the united states. I am currently using the paymentElement and we have the checkout process in our application (not using stripe checkout session). I see the "tax_id_collection" option in the checkout session but not in the payment element

Doc/Guide Links
https://docs.stripe.com/tax/checkout/tax-ids#:~:text=Enable Tax ID collection,re purchasing as a business.
https://docs.stripe.com/payments/payment-element

What are you working on?
I'm adding taxIds to our in-app checkout flow using the payment element.

#

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

Question
Customer does not follow from charges -> payment intents.

Related Request ID(s)
req_xwzseMM5pCC37x,req_l1AgClY1TmH0s1

What have you already attempted?
Updating the customer on the charge (when null) does not follow to the payment intent.

What are you working on?
Bank reconciliation

#

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

Question
If i am creating subscriptions with schedules via the API, and we use connect, how do I best apply our platform fees to the subscripitons in the schedule?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
laravel

#

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

Question
Super quick sanity check: can we use relative urls in the `success_url` field of a checkout session?

Related Request ID(s)
N/A

What have you already attempted?
If we can, what would the behaviour be there? How is the root domain of the relative url determined

#

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

Code
See the question below

Question
I'm trying to write some tests to verify account upgrades and downgrades occur as expected, along with some webhook actions. But in this case, what I'm trying to match with the test is user using the billing portal to make their changes, including A) proration and B) the preview 'Downgrades' option, that uses subscription schedules. How can i simulate these actions? Do i need to manually create subscription schedules?

What have you already attempted?
There's no clear documentation about this so I haven't tried anything yet

cursive heronBOT
#

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

Code
useEffect(() => {
const initializeStripeConnect = async () => {
const fetchClientSecret = async () => {
const response = await fetch(
"https://api.inkhub.io/stripe/account_session",
{
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
account: connectedAccountId,
}),
}
);

    if \(!response.

Question
For some reason my stripe components dont show on my screen and I keep getting: "validateOptions.ts:344 Uncaught (in promise) Error: To initialize Connect embedded components, you must provide a valid publishable key. Please refer to our documentation for more information: https://stripe.com/docs/connect/get-started-connect-embedded-components
at g (validateOptions.ts:344:11)
at Object.value (connect.ts:67:54)
at Object.initialize (7193-6143c8cda543ee0a.js:1:1316"

What have you already attempted?
I have created a new NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY same issue... although using my test api key everything works perfectly on development

cursive heronBOT
#

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

Question
Is there a way to remove the "link to online payment page" from an Invoice when it gets sent?

When you create an Invoice through the dashboard, under "Delivery" you can select "Email invoice to customer" where you can use a checkbox saying "Include link to online payment page".

I am creating invoices through the API but they all get created with the link. I need the invoice to go out without a link to avoid the customer from paying from outside of our platform.

The dashboard perform an update with the "send_hosted_payment_email" parameter as"false" which returns a 200 but fails via API.

Related Request ID(s)
- Dashboard Success req_mw6ujmVuyje7PO - API Create Fail req_mJrJxMYHHej0eQ - API Update Fail req_yY7mxJihqcRWcK

What have you already attempted?
- Copying the requests done by the Dashboard to change this config.
- Looking at node_modules/stripe/types/InvoicesResource.d.ts "InvoiceCreateParams" interface properties
- Sending "send_hosted_payment_email" on create and update

Simplified Code Snippet:

const stripeInvoice = await input.StripeClient.invoices
.create({
...invoiceCreateParams,
// @ts-expect-error Seen in Dashboard but not in SDK
send_hosted_payment_email: 'false',
})
.catch((err: Stripe.StripeRawError) => {
config.logger.warn('Stripe Error', Commons.parseStripeError(err));

throw err;

});

What are you working on?
Creating an Invoice that needs to be sent without a payment link.

cursive heronBOT
#

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

Question
Given these two refunds for Connect accounts, pyr_1QMa7PH5kxpnV5JEo5ineoRx and pyr_1QIXuaQfpbmJtgCtv2yGf90R, can you please explain why the former has source_transfer_reversal.source_refund set while the latter does not?

Related Request ID(s)
pyr_1QMa7PH5kxpnV5JEo5ineoRx, pyr_1QIXuaQfpbmJtgCtv2yGf90R

What have you already attempted?
NA

cursive heronBOT
#

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

Question
Check if a customer credit grants go below a certain threshold charge the user again, is their an event I can listen to do this, or is this a possibility with stripe?

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

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

Code
Stripe::PaymentMethod.create(
{
type: 'card',
card: {brand: "visa"}
},
{stripe_account: stripe_connected_account_id}
)

Question
trying to create a srtipe payment method but for card but it gives error

What have you already attempted?
for connected accounts

What are you working on?
an ecommerce application with stipe connect account

cursive heronBOT
#

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

What did you expect to happen?
After the invoice was successfully paid (with or without a discount applied), I expected the subscription status to transition from past_due to active.

What actually happened?
The payment was successfully processed, and the invoice status changed to paid. However, the subscription status remained past_due, even though no outstanding balances were associated with the subscription.

Reproduction Steps
Subscription enters past_due after a failed payment.
Discount applied with StripeSubscription::update (coupon, billing_cycle_anchor: 'now').
Invoice is successfully paid.
Subscription status remains past_due.

Question
Why does the subscription stay past_due after invoice payment? Should we take extra steps to ensure it transitions to active? Can you clarify?

cursive heronBOT
#

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

Question
I have a customer that just signed up. They want to do a six month subscription. I want to give them a free trial until 12/16 then have a subscription from 12/16/2024 - 7/1/2025. I will need to invoice for all of these months up front. My prices are currently setup for monthly and annually. How would I be able to schedule this and allow them to pay for it all through one invoice? Also, how could I get that invoice generated today so they can start procurement?

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

What are you working on?
SaaS - https://www.equipnx.com/

#

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

Code
?? i dont understand

Question
I tried verifying to buy phantom using stripe but it says i failed i am well over the age and provided everything needed

What have you already attempted?
to verify to buy solana on phantom app by using stripe

What are you working on?
crypto

cursive heronBOT
#

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

Question
Como posso travar o email no link de pagamentos?

Related Request ID(s)
Link de pagamentos

What have you already attempted?
Estou gerando um link de pagamento e passo o email do usuário como parâmetro definido, preciso que não seja possível o usuário alterar o email, para que não abra possibilidade do usuário poder alterar o email e o pagamento não funcionar corretamente na minha api

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/events/types#event_types-charge.dispute.funds_withdrawn

Question
When a dispute is created I am using the Stripe webhook charge.dispute.created to create a Transfer Reversal. When the Transfer Reversal is created, does Stripe withdraw the amount of the payment and the dispute fee?

What have you already attempted?
I've created a handler for the charge.dispute.created webhook

#

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

Question
How i can Lock the field email in link Payment?

Related Request ID(s)
Link Payments

What have you already attempted?
I am generating a payment link and passing the user's email as a defined parameter. I need it to not be possible for the user to change the email, so that it does not open the possibility of the user being able to change the email and the payment not working correctly in my API.

cursive heronBOT
#

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

Question
i am making an authorization hold, then during capturing the funds, i need to share the funds with a stripe connect account, how can i achieve that.

Related Request ID(s)
none

What have you already attempted?
i have not tried anything, because i don't have any idea

cursive heronBOT
#

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

Question
I'm testing subscription upgrade and downgrade with customer portal and my webhook, but while testing my customer portal is saying "Something went wrong, and we are unable to complete your request" when i try to downgrade. I can't see any even corresponding to this action in the workbench

Related Event ID(s)
Not applicable

What have you already attempted?
Ive tried re opening the customer portal

cursive heronBOT
#

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

Question
For the Stripe Python SDK. I see the docs have examples for both "Services" and "Resources" that accomplish the same thing. What is the difference, and which one should I be using?

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

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

Question
Hi I would like to create a subscription where the first invoice generated is voided and the user doesn't receive an email. However the code that currently does this is very convoluted, instead I'd like to try something simpler. I was wondering if I could use the trial_end property when creating a subscription, my only issue is that I want the trial end date to be exactly the period that I would get with plan/price used on the subscription. So if its a monthly product I'd want trial_end to be exactly what stripe would generate if I added a monthly product.

Related Request ID(s)
?

What have you already attempted?
I've used AI and search to see if I can do this.

What are you working on?
I have subscription service.

#

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

Question
Is it possible to configure subscription price upsells via the API? I know it is possible through the Stripe dashboard.

Related Request ID(s)
0

What have you already attempted?
I have read the following documentation: https://docs.stripe.com/payments/checkout/upsells

There is no mentions of how to do this via the API. The API documentation itself has no reference to upsells.

#

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

Question
I am trying to set up ACH drafts as a form of payment on my stripe account. I have enabled it in my settings, but it does not appear in my payment page as an option.

Related Request ID(s)
NA

What have you already attempted?
I have enabled it in my settings and set up 2 step authentification.

What are you working on?
ACH drafts as a form of payment

#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/enable-apple-pay-on-your-stripe-account

Question
What extra steps do I need to do in order for apple pay to work on my payment integration?

I'm using stripe react sdk and the PaymentElement component as explained on this link to create a subscription: https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=subscription

The credit card payment works and google pay shows up too, but the apple pay button is not showing up.

What have you already attempted?
- I followed all the steps to validate the domain and created the merchant id (adding the certificate that stripe gives, etc)
- I have a valid credit card in place, and running `window.ApplePaySession.canMakePayments()` in the console works, but running `window.ApplePaySession.canMakePaymentsWithActiveCard(<my-merchant-id>)` doesn't work for some reason (I think that's what stripe is running internally).

Is there any extra step that I should make? or is there any specific format that the merchant id should have to work? should I add myself a domain to the merchant id under the apple setting?

#

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

Question
I would like to schedule a Subscription to start in a few days. Looks like Subscription Schedules is a good fit for this.

However, there are a few fields on Subscription Create that appear to be missing on SubscriptionSchedule Create?

Particularly, I don't see how to create an upcoming subscription with the `payment_method_types` field set.

Related Request ID(s)
none

What have you already attempted?
none

#

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

Question
When using Stripe Embedded form to create a subscription payment is it possible to have the customer be able to toggle between different products pricing, if the product has different price levels for the subscription?

We are using the JS SDK @stripe/stripe-js and @stripe/react-stripe-js

We could create a new checkout session if the user toggles to the other pricing we have, and keep the session ID of the other one incase they switch back, I guess it doesnt matter how many incomplete/open sessions we make for the customer. But is there a nice way to allow this subscription pricing choice?

Related Request ID(s)
N/A

What have you already attempted?
Read these docs, but it doesnt answer the question.
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=embedded-form

cursive heronBOT
#

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

Question
I need to grant free time to a user. Currently, we are adding a trial to the existing subscription. However, the problem is that we can only add up to 2 years of free time to a subscription. We need to add more than 2 years. How can I achieve that?

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

What are you working on?
A fitness content platform

cursive heronBOT
#

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

What did you expect to happen?
Tax rates will calculate tax properly with discounts applied

What actually happened?
tax rate tax calculation is off by one cent

Reproduction Steps
one line item amount: 2300
second line item amount: 2000
amount_off: 1300
tax_rates all items exclusive at 10%
Total amount becomes 3301, when it should be 3300

2300+ 2000 = 4300
4300 - 1300 = 3000
3000 * 1.1 = 3300

Question
Tax calculation seems a bit of when I do things a certain way

What are you working on?
custom invoicing system

cursive heronBOT
#

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

Question
I'm trying to use inline pricing using price_data when creating a subscription in price. Are only basic recurring pricing available in this context? I am trying to create a usage based price using inline pricing and it doesn't appear to work, plus the API docs sort of imply there is a limited set of attributes you can use.

Related Request ID(s)
req_3u58i9b37KuELA

What have you already attempted?
Just trying to send complete price objects similar to creating non-inline pricing and getting 'Unknown parameter" errors.

What are you working on?
Building new usage-based pricing and trying to determine the best place to store our somewhat complicated pricing model, thought I could describe it in code and use inline pricing versus defining them

cursive heronBOT
#

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

Question
in a checkout session, are we guaranteed that users will be redirected back to our homepage after all webhooks have been fired and got a 200 status code?

Related Event ID(s)
NA

What have you already attempted?
We have a little bug in our code where in a checkout session completes and user is re-directed to our homepage, the purchase details are not updated in the backend and thus is not reflecting on our home page, the user needs to refresh the page again before updated details show up

I know its a fix on our end, I just want to confirm if there's a guarantee on stripe's end that user will be redirected only after webhooks have been fired, and if there insnt, any best practice recommendations

cursive heronBOT
#

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

Question
This is related to getting the detail of the capability id: `au_becs_debit_payments`. Where i am always getting status: `unrequested` in test mode, though i have changed it to on from stripe dashboard.
the response is:
{
id: 'au_becs_debit_payments',
object: 'capability',
future_requirements: {
pending_verification: []
},
requested: false,
requested_at: null,
status: 'unrequested'
}

Related Request ID(s)
req_BFIaQZLXywxORs

What have you already attempted?
I just tried to chnage the status of the direct debit au to different options

#

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

Question
Is it possible to check promocode is valid or not before moving into striep default checkout page?

Related Request ID(s)
no request id

What have you already attempted?
implmented checkout with promocode

What are you working on?
trying to validate promocode before moving to checkout

cursive heronBOT
#

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

Question
What's the recommended way to handle payment method updates between an initial checkout and future subscription start (pending installation), given this flow:

Initial checkout_session captures payment method (setup_future_usage: 'off_session')
2-3 month gap/service delivery period before subscription starts (asset installation)
Need automated way to prompt customers to update payment method during this gap

Currently considering either Setup Sessions or Customer Portal, but looking for best practice guidance for this pre-subscription scenario. Ideally something that can be emailed to the customer either directly through Stripe or a link within an email from a CRM(HubSpot).

Doc/Guide Links
https://stripe.com/docs/payments/setup-intents
https://stripe.com/docs/api/setup_intents

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

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

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

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

What are you working on?
Platform with deposit via checkout (storing payment method), 2-3 month delivery gap, then final payment or subscription start. Seeking best way to verify/update stored payment method before final stage. Using Node.js SDK.

cursive heronBOT
#

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

Question
This is related to getting the detail of the capability id: `au_becs_debit_payments`. Where i am always getting status: `unrequested` in test mode, though i have changed it to on from stripe dashboard.
the response is:
{
id: 'au_becs_debit_payments',
object: 'capability',
future_requirements: {
pending_verification: []
},
requested: false,
requested_at: null,
status: 'unrequested'
}

Related Request ID(s)
req_BFIaQZLXywxORs

What have you already attempted?
I just tried to change the status of the direct debit au to different options

cursive heronBOT
#

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

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

Question
Hi,
we have an integration with stripe, where we do a createConfirmationToken in the front, than confirm the paymentIntent in the backend.
I was looking through the docs, and did not see a clear answer on klarna with setup_future_usage: 'off_session'
thanks

What have you already attempted?
if I add that line in the elements options klarna does not appear.
const options = {
mode: 'payment',
amount: 10000,
currency: 'eur',
setup_future_usage: 'off_session',
// Fully customizable with appearance API.
appearance: {
theme: 'flat',
},
payment_method_types: ['klarna'], // Prioritize Klarna for display
};

    this.elements = this.stripe.elements\(options\);

What are you working on?
We have a custom recurring system that uses the cards (for now) to generate future payments.

#

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

Code
const paymentIntent = await this.stripe.paymentIntents.create({
amount: +amountPayment,
currency: 'aed',
customer: customerId,
payment_method: paymentMethodId,
automatic_payment_methods: {
enabled: true,
},
metadata: {
ad_id: adId
},
transfer_group:String(adId),
off_session: true,
confirm: true
});

Question
the problem i am facing is that i am using stripe connect using separate charge and transfer. First i used payment intent api the balance is recieved in my account but when i am transferring it is saying insufficient fund, so how to instantly pay out to my bank in testing?

What have you already attempted?
i have tried payment intent api and transferred to my back account

What are you working on?
stripe payment intent api and stripe charge and transfer

#
cursive heronBOT
#

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

Question
Looking for recommendations for:
Our marketplace will facilitate communication, contract and payment. We will not be a formal party in any agreements or transactions, Customer and Supplier will make a direct agreement for services.
Payments should still be orchestrated by our website, where we control payment requests and pay-outs.P re-payment from the Customer is required, and we will hold the amount in Stripe (manual payout schedule) until the services are delivered. When payout, we will charge % cut of the amount. Sometimes the payout shall not happen due to service not delivered. Sometimes a part of paid amount may be returned to the Customer, and rest paid to Supplier.

Doc/Guide Links
https://stripe.com/en-no/connect
https://docs.stripe.com/connect/separate-charges-and-transfers
https://docs.stripe.com/connect/manual-payouts

What are you working on?
Marketplace for services

cursive heronBOT
#

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

Question
Turing off the direct debit did not trigger webhook event capability.updated in connected account

Related Request ID(s)
not available

What have you already attempted?
Tried multiple time turning on and off

#

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

What did you expect to happen?
Twint payment method to be selectable in my Stripe Element

What actually happened?
It is not showing up on my Element

Reproduction Steps
options prop does not have any payment method type specified (doc says this will allow methods to be read from dashboard)

Question
I have enabled TWINT payment method on dashboard, it used to work before, but since 2 days ago, it is not showing up on my Stripe Elements (currency is correct)

What are you working on?
Website

cursive heronBOT
#

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

Code
stripe.subscriptions.update(/* change plan */);
if (plans_have_different_billing_intervals) {
try {
stripe.invoices.create(/* for all pending charges */);
} catch (err) {
/* rollback subscription to old plan */
}
}

Question
How can I add this code to subscription code?

What have you already attempted?
I unable to edit the code

What are you working on?
Courses

#

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

Code
No significant code to add

Question
We are setting up PayPal for payments in a React Native app using Stripe's PaymentSheet.

When we try to pay with Stripe in the payment sheet, we get the error:

"
When confirming a PaymentIntent with a 'paypal' PaymentMethod and 'setup_future_usage', 'mandate_data' is required.
"

As we are showing the PaymentSheet, Stripe is handling the payment intent confirm by itself so I'm not sure how to add mandate_data to it as I can't seem to find anything like that in the config

What have you already attempted?
I'm not sure what to attempt as I don't even have an idea

cursive heronBOT
#

@abstract 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/currencies/conversions

Question
Connected account has selected country Germany , currency, eur. If we initiate payment intent for the connected account the currency selection for connected account customer is decided based of connected account country of origin and target settlement currency e.g eur.

What have you already attempted?
We tried to intiate payment intent with currency different of the connected account currency. Stripe rejected the request expecting the currency to be EUR.

What are you working on?
plinks.tv

cursive heronBOT
#

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

What did you expect to happen?
I expect the IOS library to be doing a POST to the tokens API for each subsequent call to `token`

What actually happened?
The first call works, any other doesn't happen

Reproduction Steps
Try to invoke `createToken` from Apple Pay integration multiple times, the first will work any subsequent will not

Question
Can you help me verify if this is an actual bug or something that has to do with my integration?

#

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

Code
Is it possible to customize the default checkout page ?

Question
Is it possible to customize the default checkout page ?

What have you already attempted?
implemented checkout using default checkout

What are you working on?
integrating stripe checkout

#

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

What did you expect to happen?
User sees option to checkout with Card or BACS DIrect Debit.

What actually happened?
Only Card option was available

Reproduction Steps
User reports when opening checkout session cs_live_c1AIVOs0BcauqKUtHmY57c5t3Vq8e3zzsEoOXVi2ge3cUDc0g3r9P8vZSd they only see the option to enter card details. When I use the same checkout session, I see card and Bacs DD options

Question
Why are some users not seeing the option to setup a DD when I do see the option for the same checkout page

What are you working on?
Checkout page for SaaS product

cursive heronBOT
#

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

Question
There is an inconsistency in the documentation of Alert.usage_threshold.recurrence it says it can trigger once in a lifetime of a customer or once per billing cycle, however only the first option is provided in the enum. Is it possible to set the recurrence to once per billing cycle? Witch value should i put? If this feature isn't released yet, can you estimate when it will be available?

Related Request ID(s)
Look in Alert Documentation> usage_threshold

What have you already attempted?
I have looked at the api documentation, the stripe documentation and the UI create alerts. It seems a little bit confusing if this feature is available or not

What are you working on?
I want to trigger alerts from usage set by a customer, once per billing cycle

#

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

Question
I'm migrating from the Charges API to the PaymentIntents API.

I've got credit cards working by passing a token ("tok_") to the payment intent request under ``` {"payment_method_data": {"type": "card", "card": {"token": "tok_1234"}}}```

I'm having trouble getting tokens for ACH to work ("btok_").

Any ideas?

Related Request ID(s)
req_VFO06eoid3eMY2

What have you already attempted?
Lots.

#

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

Question
I am testing ACH payment flows. In the verify_with_microdeposits state, there is a 10 day timelimit to succesfully verify. This cutoff can be simulated by expressly supplying a magic value to the `verifyWithMicrodeposits` api call. But a test clock advancement does not seem to trigger the timeout. Does this differ from production behavior -- that is, after the timeout, in production, will a webhook (setup_intent.failed or thereabouts) fire, or does it require the user to try to verify their microdeposit to be notified of the timeout?

Doc/Guide Links
https://docs.stripe.com/payments/ach-direct-debit/set-up-payment

What are you working on?
ach payment flow

#

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

Question
I'm trying to authorize and capture payments separately for temporary users. I want to use a Stripe hosted checkout form to authorize this payment. Can I store the session.id in a variable in the frontend? Is it safe and secure to do it this way? That way, I can get the payment intent using the session id and then capture the payment without having to authenticate the user again.

Related Request ID(s)
N/A

What have you already attempted?
Frontend calls endpoint on that creates a checkout session, endpoint redirects session.url, then redirects to a page where the query parameter is session.id. The session.id is stored in a variable in the frontend. When the payment is to be captured, the session.id (in the frontend) is used to call an endpoint that gets the payment intent object and capture the payment. Checking if it's safe and secure to do it this way.

What are you working on?
Building a web app using Nextjs where users are charged a certain amount of money if they don't write a certain number of words. Want to ensure app works for temporary or one-time users.

cursive heronBOT
#

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

Question
We use stripe connect within our invoicing app and use the embed onboarding for. When users go through the application, the are typically auto approved, the 3-5 minutes later, we get a response from stripe to have to user add more info either through our app or their stripe dashboard. ACTIVE_PENDING_DETAILS_UPDATE

the additional info is almost always the selfie verification check.

can we just force users to do this the first time around instead of waiting 3 minutes then they need to go back to re-complete the application? this ruins the user experience.

Related Request ID(s)
see above

What have you already attempted?
read your docs

#

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

Code
case 'capability.updated':
console.log("capibility updation");
console.log("CAPABILITY UPDATE working");
console.log(event.data.object.status);
break

case 'account.updated':

      console.log\("CAPABILITIES"\);
      console.log\(event.data.object.capabilities.transfers\);

Question
the question is that i wanted to trigger a function when my event.data.object.capabilities.transfers is active but the problem is that on email verification no event is called and if i fills all the account info the status goes to pending but on email verification it gets active but no event is triggered. so is there a way to get account's status?

What have you already attempted?
i have tried to create multiple accounts and check their status using webhook but on email verification no webhook is being called

cursive heronBOT
#

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

Question
I was told that it is possible to pay newely created invoice by passing to invoice payment_intent of the charge being made separately.
But can't find the way to do that in invoice API

Related Request ID(s)
py_1Q24bnAZsVWZrzM8lDXE9AjN

What have you already attempted?
Researching the docs.

#

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

Question
I have a Next.js app with a checkout that uses the PaymentElement.
So far, it only supported one-time purchases, but now I want to add support for subscription products.

Considering that the cart could have both one-time purchase items as well as subscriptions, is there a way I can still charge the customers using the current flow with the PaymentIntent (for the total: one-time + subscriptions), and then setup the subscription to skip the first payment (as it was already done with the PaymentIntent during checkout) and only start charging the customer from the next cycle?

Related Request ID(s)
none

What have you already attempted?
Nothing really, im just trying to layout the design

#

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

Question
We pushed an updated version of the PHP sdk this morning, and now `balance_transaction` is missing from our webhooks.

Related Event ID(s)
evt_3QNtZHERbNiuR56N1c8CcN5Q

What have you already attempted?
We're not sure why this has happened as we didn't migrate the API version, just the SDK version.

What are you working on?
our app at socialsync.app

#

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

Code
const elements = stripe.elements(options);

// Create and mount the Payment Element
const paymentElement = elements.create('payment', params);
paymentElement.mount('#payment-element');

We are using the stripe iframe.

Question
We have a list of blocked BINs and I'd like to know if there is a chance to know the BIN number associated to the client to decline the payment if his BIN is in our list of BINS?

What have you already attempted?
I searched in google, stripe and I chatted with stripe support but I didn't find anything

What are you working on?
I'm working with stripe form and I need a way to check the BIN number associated to the client to know if it should be blocked or not

cursive heronBOT
#

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

Question
Is there a way to collect the customer company name in the Checkout Session?
I noticed subscribing to chat GPT 4 that they use what seems to be Stripe-hosted checkout and had a checkbox "I purface for a company" adding fields to require tax number along with the company name.

I would be interested in using the same thing

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-custom_fields

What are you working on?
Allowing customers to subscribe to my service using Stripe-hosted checkout

cursive heronBOT
#

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

Question
Hi! I'm integrating Stripe into a platform to process payments for our subscription-based product which allows users to subscribe to a plan with a trial period. Within that trial period the user can upgrade their plan to have full access to the features and for that they need to add their payment details. I'm using Stripe Elements on the frontend and the node Stripe API for the backend. What's the best flow to enable users to upgrade their trial without canceling and recreating the subscription? That's the workaround I found however I'm aware this is not the best one.

Related Request ID(s)
req_SHizXvDEP47s8Y, req_l0lOx39QoL9mlr

What have you already attempted?
For collecting payment details, I use the PaymentElement, validating user input with elements.submit() and completing the process with stripe.confirmPayment() using the clientSecret that I receive from the stripe.subscriptions.create call. The Elements wrapper initializes with the following options:

{
mode: 'subscription',
amount: subscriptionPrice,
currency: userCurrency,
}

Then I'm canceling the previous subscription (on trial) and adding a new one, however I want to be able to update the current one. I suspect that this implementation of the mode parameter might be incorrect.

#

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

Question
I'm attempting to debug why a webhook isn't working, but I can only see one instance of the webhook launching in the logs, and no errors

Related Event ID(s)
evt_3QJP3lLUpuM5CL7b1fjbWjx6

What have you already attempted?
I've searched through the logs looking for any errors, but it appears as though the webhook has never failed.

#

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

Code
We added stripe form as an iframe.

const elements = stripe.elements(options);

// Create and mount the Payment Element
const paymentElement = elements.create('payment', params);
paymentElement.mount('#payment-element');

Question
We would like to block the BINs of certain cards as we are experiencing high fraud rates with some BINs. I’ve spoken with support, and they informed us that this needs to be managed on our side when we create the subscription (we are a subscription-based business) through the API. Do you know how should i proceed?

What have you already attempted?
Support for Google search, stackoverflow and stripe, but any of them work

#

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

Question
We are running a black Friday deal with a coupon. Some of our users would like to extend their current yearly subscription for another year to get the discount. Is that possible?

Related Request ID(s)
N/A

What have you already attempted?
I have read these docs:
https://docs.stripe.com/billing/subscriptions/overview
https://docs.stripe.com/billing/subscriptions/coupons

What are you working on?
We are using the checkout and subscription API to manage our users access to our products

#

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

Question
I need some help adding tax IDs for customers. I have the country value from what they entered when they added their payment method (ie "US" or "PY") but I don't know how to map that to the country tax code enum. Is there a table somewhere of country names and their two digit codes in stripe?

Doc/Guide Links
https://docs.stripe.com/billing/customer/tax-ids

What are you working on?
I am trying to add a field for collecting tax IDs in my in-app checkout flow (not a session)

#

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

What did you expect to happen?
ACH payment to be submitted and paid

What actually happened?
ACH payment was made but on stripe showing incomplete

Reproduction Steps
Process payment via payment link with ach payment account information

Question
How can I assure the actual status of this payment?

#

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

Question
Is there a way to use trials and not charge on end of the trial if the customer has a payment method id?

Related Request ID(s)
evt_1QO0hcD0tZaJVqhDFjFCFIeo

What have you already attempted?
We have customers on a trial that have a prior payment method. When there trial ends, they are being charged unexpectedly. We'd like to make it that even if they are on a trial, they don't get charged at the end of the trial.

What are you working on?
Loom - video sharing

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/events/types#event_types-charge.dispute.created

Question
When getting the charge.dispute.created webhook, I'm setting up our application to withdraw money from the connected account by doing a Transfer Reversal. If the `debit_negative_balances` is true. Stripe will attempt to withdraw money from the external account if the connected account is zero or negative. What will Stripe do if they are not able to receive the money from the connected account's external account? Will it come out of the Stripe platform account or is there some sort of webhook to take action on?

What have you already attempted?
I'm setting up a handler for the charge.dispute.create webhook

cursive heronBOT
#

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

Question
How do I obtain a new mandate? I have a client with an ACH payment method that was created via a setup session. It is now inactive. How do I send the client a request to renew the mandate. Also, how do I get notified for inactive mandates in the future?

Related Request ID(s)
evt_1QLR7oCFsGKEw9heZx7VXSxB

What have you already attempted?
Contacted support and got this resolution from them:
You can request to update their payment method. This can be done via the Dashboard or API.

To update the default payment method via the Dashboard:

  1. Navigate to the Customers section of your Dashboard and find your customer in the list. Alternatively, you can simply search the customer’s name or email address in the search bar at the top of your Dashboard
  2. On the customer detail page, click the ••• button beside the chosen payment method
  3. Click “Set as default”

What are you working on?
System to collect payments for clients projects

#

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

Question
Checkout Links fail to checkout. Network request error says "App doesn't have permission".

Related Request ID(s)
N/A

What have you already attempted?
Nothing yet - no leads.

What are you working on?
Pricing tables Stripe App

#

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

Question
I'm wondering how to edit the details that appear for a price during a stripe checkout session. Currently on the image I set in the dashboard appears and I want the "Marketing feature list" I set in the dashboard also to appear

Doc/Guide Links
https://docs.stripe.com/payment-links/customize#apply-branding

What are you working on?
Checkout session for subscriptions

#

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

Question
What are the differences between a standard key and a stripe key?

If I make a restricted key and give it full read/write on every permission point is it then exactly the same as a standard key?

Doc/Guide Links
https://docs.stripe.com/keys#limit-access

What are you working on?
Someone on my team says he needs a standard key and not a restricted key but I feel like I can just give him a restricted key with what he needs and there isn't some anything a standard key has that a restricted key doesnt

cursive heronBOT
#

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

Code
[...]
const { clientSecret, paymentIntentId } = await createPaymentIntent({
amount: 10,
recipientUserId,
});
setInitialClientSecret(clientSecret);
setInitialPaymentIntentId(paymentIntentId);
[...]

Question
I am setting tips for the company I work at.
I have it setup so that first we pre-fetch a paymentIntent so that our client doesn't have to wait for having that information when he selects an amount, and update the PaymentIntent / Elements accordingly.
My question is if this is standard, or if there is any way to make an "Intent" for a PaymentIntent? I don't feel it's correct to set it up with a fixed amount (10, in this case).
I have read about SetupIntent, but this isn't it.

What have you already attempted?
Setting amount = 0, but the API rejects it of course.

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

#

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

Question
Is there a way to get the test clock time from a webhook event? As in, directly from the data? I can't seem to find a timestamp that represents the test clocok time

Related Event ID(s)
Not applicable

What have you already attempted?
Not applicable

cursive heronBOT
#

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

What did you expect to happen?
The account management embedded component for Stripe Connect should work in both our test and prd environments.

What actually happened?
It works in test, but not in prd. The keys, account session, etc. are all configured the same way in both environments.

Reproduction Steps
Setup test and prd environment keys, live keys, etc. User your API to create an Account Session that enables account management with "disable_stripe_user_authentication": True. Pass it to the Account Management embedded component.

Question
Is "disable_stripe_user_authentication": True supposed to work with production keys? I've tracked down the requests in the dashboard and I only see successful requests. Where else can I look to debug?

#

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

Question
I have a paymentIntent that is setup_future_usage=off_session. Later, I pay it with an ACH paymentMethod that has mandate from a setupIntent.

Using that mandate during paymentIntent confirmation, I get the error "The parameter `setup_future_usage` cannot be used when using a `mandate`." I did not provide a setup_future_usage param, I assume it is pulling it off of the paymentIntent itself.

I'm not clear on how I am supposed to confirm this paymentIntent using a mandate. Should I provide an explicit value for setup_future_usage?

Related Request ID(s)
req_qmoSVPvnxxh9u8

What have you already attempted?
attempt to confirm payment using paymentIntent.confirm api. Read docs for setup_future_usage enum (offline, to me, seems appropriate, but the API response says otherwise)

What are you working on?
ach checkout flow

cursive heronBOT
cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

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

Question
We are using stripe connect (direct charges) with stripe elements. We are only dealing with single item purchase (can be both one time or recurring)
Now we are thinking of implementing cart, it can contain both one time or subscription
Can you suggest how can this be done.
Any stripe doc link?

What have you already attempted?
nothing attempted yet

What are you working on?
Ours is an online course selling platform

cursive heronBOT
#

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

Question
What even should I listen for in my webhook for the subscription flow to work on my app?

Related Event ID(s)
Currently listening to all events with the word subscription in them but not sure entirely what they all mean. I have only been receiving customer.subscription.created & updated, and invoice.created.

What have you already attempted?
Well I have a webhook setup but as we need to quickly move into production and the app already has a large userbase, I wanted to know for sure what's supposed to happen.

What are you working on?
An android app with in app subscriptions made possible through stripe. The app uses a nodejs backend where all the webhooks are.

cursive heronBOT
#

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

Question
i would like to know how to make it so once someone buys someone with stripe it updates there plan cause i own a hosting company i already set up the stripe stuff that creates the check out but i dont know how to make it so once you buy it updates your plan in firebase

Related Event ID(s)
checkout.session.completed

What have you already attempted?
yes i have been working for 40hours plus and still havent figured it out

What are you working on?
my hosting business

cursive heronBOT
#

@thorny axle pressed the 📚 Doc or 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/adaptive-pricing

Question
How do I set a fixed price in more than one currency, and use adaptive pricing for the rest? Using the product catalog.

What have you already attempted?
I've tried adding USD to my price but that still shows the price in SEK, which is my default (?) currency I guess. However, it will show adaptive prices for GBP and other currencies. It just ignores USD... That's not a very clever design now is it?

cursive heronBOT
cursive heronBOT
#

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

Question
I have created and confirmed a payment intent for future use - but I'm unable to use if for offsession payments

Related Request ID(s)
pi_3QOoTXRqI4bLCDyN14nomtrE

What have you already attempted?
I have created and confirmed a Payment method and payment intent for future use - the PI was confirmed

What are you working on?
Implement a 3DS2 integration for out of file payments

cursive heronBOT
cursive heronBOT
#

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

Question
Hi, i am trying to capture a funds and sending to a connect account,
do i need to indicate the connect account when creating the authorization hold?

because i am currently no indicating the connect account, and i am getting "No such payment_intent: 'pi_3QOxA6BamNPWeP110VJMT09'"

Related Request ID(s)
none

What have you already attempted?
nothing

cursive heronBOT
#

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

Code
flowController.configureWithIntentConfiguration(
intentConfiguration = PaymentSheet.IntentConfiguration(
mode = PaymentSheet.IntentConfiguration.Mode.Payment(
amount = totalAmount,
currency = currencyCode,
captureMethod = PaymentSheet.IntentConfiguration.CaptureMethod.AutomaticAsync,
),
),

Question
totalAmount needs conversion based on currency. What happens if wrong amount is added here? Should not stripe handle all these conversions?

What have you already attempted?
Converting the amount

#

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

Question
Can't figure out how to know if a subscription was successful

Related Event ID(s)
event.subscription.updated

What have you already attempted?
I can see an active subscription in the stripe dashboard's subscriptions section but I don't see any events going to my webhook with data.status == "active" or "complete".

That field always seems to have an "incomplete" value there.

I want to perform certain actions on my backend when a subscription is successful but I can't seem to figure out what that condition should be in code.

What are you working on?
An android app with a node js backend. I am working on the node js side

cursive heronBOT
#

@abstract 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/accept-a-payment?platform=web&ui=embedded-form#apple-pay-google-pay

Question
Upon migrating the session checkout from stripe hosted to ui_mode = embedded , apple pay is button is not rendered when web site is accessed via Apple device and safari , device running on ios18

What have you already attempted?
I tried to verify the available payment methods but Apple pay should be available by default as Android pay. I wonder is it because the embedded version has specific iOS library that needs to be implemented in case of iOS application.

What are you working on?
https://unzunzofficial.plinksdemo.tv/watch/smnDWIqPOl1nZOxDdgDucQ

#

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

Question
Stripe using the api unable to create a test card 'https://api.stripe.com/v1/payment_methods' this is the end point I am using and facing error : 402 Payment Required => Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest yo (truncated...)

Related Request ID(s)
none

What have you already attempted?
Changing the header and passing : 'Content-Type' => 'application/x-www-form-urlencoded', along with the

What are you working on?
Stripe payment integration in laravel only using the apis, no front-end and no sdk

cursive heronBOT
#

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

Code
backend:
Stripe::SetupIntent.create({
customer: @stripe_customer.id,
automatic_payment_methods: {
enabled: true,
},
})

frontend:
const result = await stripe.confirmSetup({
elements,
clientSecret,
confirmParams: {
return_url: 'https://www.ordwaylabs.com'
}
})

Question
I am created a setup intent, that got succeeded and returned a client secret. I am passing this to confirm intent along with stripe elements (I am using stripe PaymentElement - react). I am getting an error on confirm intent saying: No such setupintent: 'seti_xxxxxx'

What have you already attempted?
I refer to stripe docs: https://docs.stripe.com/payments/payment-element/migration?integration-path=future#recurring-add-payment-methods

I tried and followed the same steps as mentioned. Tried passing public key to confirm intent as well

What are you working on?
We are migrating to stripe PaymentElement from traditional elements

#

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

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

Question
we have a subscription with a one time coupon applied , when upgrading to higher plan , it is not possible to provide coupon

What have you already attempted?
{
"payment_behavior": "pending_if_incomplete",
"proration_date": "1732518740",
"proration_behavior": "always_invoice",
"coupon" : "BFYEAR"
"items": {
"0": {
"plan": "price_1IKzVeEf37nkqkTsVww0sbzZ",
"id": "si_RHUegd1XcCz1ml"
}
},
"expand": {
"0": "latest_invoice.payment_intent"
}
} coupon cannot be applied getting error
When `payment_behavior` is set to `pending_if_incomplete`, you can only pass supported params. `coupon` is not supported. See https://stripe.com/docs/billing/subscriptions/pending-updates-reference#supported-attributes for more details

cursive heronBOT
#

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

Question
Unable to connect to Oauth in stripe dashboard

Related Request ID(s)
Dashboard -> settings -> onboarding options

What have you already attempted?
I tried account verification as suggested by another stripe chat

#

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

Question
Hi! I'm integrating Stripe into a platform to process payments for our subscription-based product which allows users to subscribe to a plan with a trial period. Within that trial period the user can upgrade their plan to have full access to the features and for that they need to add their payment details. I'm using Stripe Elements on the frontend and the node Stripe API for the backend. What's the best flow to enable users to upgrade their trial without canceling and recreating the subscription? That's the workaround I found however I'm aware this is not the best one.

Related Request ID(s)
req_SHizXvDEP47s8Y, req_l0lOx39QoL9mlr

What have you already attempted?
For collecting payment details, I use the PaymentElement, validating user input with elements.submit() and completing the process with stripe.confirmPayment() using the clientSecret that I receive from the stripe.subscriptions.create call. The Elements wrapper initializes with the following options:

{
mode: 'subscription',
amount: subscriptionPrice,
currency: userCurrency,
}

Then I'm canceling the previous subscription (on trial) and adding a new one, however I want to be able to update the current one. I suspect that this implementation of the mode parameter might be incorrect.

cursive heronBOT
#

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

Question
Hi Team I want to integrate Stripe ACH Direct Debit along with financial connections so that no need of verifying microdeposits
I need to understand the flow of ach direct debit with financial connections
I need to understand the flow and steps of create payment intent, financial account session, confirm payment

Related Request ID(s)
No ids

What have you already attempted?
I need to understanc flow first

What are you working on?
I'm working on integrating stripe payment in my node js and flutter mobile app

cursive heronBOT
#

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

Code
var options = new SessionCreateOptions
{
UiMode = "embedded",
LineItems = lineItems.Cast<SessionLineItemOptions>().ToList(),
Mode = "payment",
ReturnUrl = $"{domain}/return?session_id={{CHECKOUT_SESSION_ID}}",
Metadata = new Dictionary<string, string>
{
{ "payment_id", paymentId.ToString() }
},
AutomaticTax = new SessionAutomaticTaxOptions { Enabled = isUkT

Question
I'm creating a stripe session in C#. When I return this to my front end and create a modal I need it to include VAT for UK and no VAT for other countries. It only shows VAT when I enter my card details and pick the UK address, I need it to show the VAT straight away.

What have you already attempted?
I have tried AutomaticTax, and it seemed to work but only when my details are prepopulated with Link payments

#

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

Question
Remove line item from Subscription using update subscription API.

Related Request ID(s)
req_qwFr0mXzqaAvMt

What have you already attempted?
Tried updating the line items with only keeping the item which is needed but looks like it tries to merge the line items instead of replacing it. Eventually giving the error
"All prices on a subscription must have the same `recurring.interval` and `recurring.interval_count`."

#

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

Question
I need to move money from purchases made upfront with Klarna, into some sort of reserve for connect accounts, so that x amount of money taken, doesn't come to our bank account and stays within the Stripe balance, this is the exception rather than the rule, so don't want to have to change payouts to manual, etc. Around 80% of each upfront payment taken with Klarna, will be going to a Stripe connect account on completion of a repair, but we don't want it going to our bank account, as we don't want to pay VAT on it.

Related Request ID(s)
n/a

What have you already attempted?
I don't want to have to have manual payouts on the platform account, I already have manual payouts on all the express connected accounts. I can't transfer this money to the connect account until the repair is complete and the customer is happy with the repair.

cursive heronBOT
#

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

Code
const didTapCheckoutButton = async () => {
console.log('check');
const {error} = await presentPaymentSheet();
console.log({error});
if (error) {
if (
error.code === PaymentSheetError.Canceled ||
PaymentSheetError.Timeout ||
PaymentSheetError.Failed
) {
// Customer canceled - you should probably do nothing.
console.log('presentPaymentSheet errorrr');
} else {
showToast('error', error.message);

Question
I am using react-native-stripe mobile Payment Element, my problem is that if the processing error occurs incase of insuffecient funds or something else, the payment sheet gets stuck, user cannot close it by cross icon and it also not gets closed by itself, whats a work around for that?

What have you already attempted?
I have used presentPaymentSheet({timeout: 50000}) but the problem with this is even if the user has not hit the proceed button, payment sheet will be closed after 50000 seconds

What are you working on?
react-native-stripe, Mobile Payment Element

#

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

What did you expect to happen?
When a customer updates their subscription quantity (e.g., number of workspaces) via Stripe Checkout, I expected the new quantity to be applied successfully and reflected in the subscription. This quantity change should be properly saved in Stripe, ensuring the subscription reflects the customer's updated choice.

What actually happened?
After a customer updates their subscription via Stripe Checkout, the quantity does not change as expected. Despite the checkout process completing without errors, the subscription retains the old quantity. This issue seems to occur within Stripe's system and is unrelated to webhooks or external API calls, as there is no direct interaction between our system and Strip

Reproduction Steps
A customer selects a new quantity for their subscription (e.g., increases the number of workspaces) via Stripe Checkout.
The checkout process completes successfully, and the customer is redirected as expected.
Upon reviewing the subscription in the Stripe Dashboard, the quantity remains unchanged and does not reflect the customer's update.

Question
Why is the subscription quantity not updating when a customer makes changes via Stripe Checkout? Is there an issue with the way Stripe Checkout handles quantity updates, or are there additional steps required to ensure the quantity is applied correctly?

What are you working on?
We are using Stripe Checkout to manage subscriptions for a SaaS product. Customers frequently update their subscription (e.

#

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

Question
Our platform (Laravel, LiveWire, Vue.js) manages monthly subscriptions. Initial payments work: creators are credited, and revenues appear in the admin panel. Automatic renewals are processed by Stripe, but the data for these payments is not retrieved in our system due to limitations with our API key. This prevents creators from being credited and revenues from being updated. What solution do you recommend to resolve this issue without using Stripe Connect because it would be too time-consuming to add accounts one by one - we've managed hundreds of creators?

Related Request ID(s)
req_LWG7JQV1GFvBtD

What have you already attempted?
We ensured that initial payments are processed correctly and creators are credited. However, we can’t display data from auto-renewals due to limitations with our API key. We consulted the documentation but no way forward.

What are you working on?
We develop a subscription platform for creators (Laravel, LiveWire, Vue.js). Users pay monthly, but the data for automatic renewals has not been synchronized with our system. We need solution please

#

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

Code
I do not have code to share

Question
Is there a way to open paymentsheet in android without displaying previously saved cards?

What have you already attempted?
I passed null customer configuration. By doing so i do not see any payment method but i am not sure if the payment method can be saved

cursive heronBOT
cursive heronBOT
#

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

Question
Prefill promotion code in checkout, currently one of discount or allow_promotion_codes is allowed, I want the functionality to automatically apply promotion code if customer orders over 2 products, but to give the customer the chance to also remove the code if they wish

Related Request ID(s)
req_5tgtZJh74K74FI

What have you already attempted?
https://docs.stripe.com/payments/checkout/discounts?payment-ui=embedded-form
https://docs.stripe.com/payment-links/promotions
https://docs.stripe.com/payments/checkout/discounts#create-a-promotion-code

#

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

Question
We received duplicate web hook requests for one of our events on November 12th. We are trying to determine the cause of this

Related Event ID(s)
evt_3QKKwgBPbLGvZJ2Q2GqUmehH

What have you already attempted?
I can see two simultaneous web hook requests in the Stripe dashboard, but have no information why it triggered two requests.

What are you working on?
We capture Payment Intent events for an integration with our Accounting system

#

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

Code
const options1 = {
mode: 'payment',
amount: this.getPaymentIntent().amount,
currency: this.getPaymentIntent().currency_code.toLowerCase(),
setup_future_usage: 'off_session',
paymentMethodCreation: 'manual',
};
this.elements = this.stripe.elements(options1);
const expressCheckoutElement = this.elements.create('expressCheckout');
expressCheckoutElement.mount(querySelector);

Question
getting error for apple pay when trying to use the checkout inside the iframe and make payment.
without iframe it is working, i have implemented it via Express Checkout Element for apple pay.
link: https://9fb2s315-5500.inc1.devtunnels.ms/index.html

What have you already attempted?
i have registered the domains but still facing the same issue

What are you working on?
I am just trying to use drop-in strip for checkout

#

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

What did you expect to happen?
When the user pays to subscribe thanks to the checkout API, whether it fails or succeeds, there should always be a single stripe customer for the provided email.

What actually happened?
despite setting the stripe customer id in the call, if they payment fails, multiple stripe customers are being created on Stripe with the same email.

Reproduction Steps
Create a subscription link like that:
stripe.checkout.sessions.create({
payment_method_types: ['card'],
subscription_data: subscriptionData,
line_items: itemsToPurchase,
allow_promotion_codes: true,
mode: 'subscription',
customer: stripeId,
success_url: successUrl,
cancel_url: cancelUrl,
})
Fail your payment

Question
I specify the customer id, but other customer are being generated messing up the database. How to avoid that?

What are you working on?
We build a SAAS product for children with disabilities

cursive heronBOT
#

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

Question
Use Case: Create a Product with non-recurring price and Units (.NET API)

Example: A Product with a Total Price of $100 and 10 units (This has non-recurring Price)

I created a Price using `TransformQuantity` property and set `DividedBy` as 10. Also, set `UnitAmount` to 100.

Now I added a payment intent to a customer to this Price. (As per our last convo, we can't add a subscription for non-recurring prices)

Now I want to consume a unit out of those 10 units so that 9 units are left remaining.

How to achieve and track unit consumed.

Related Request ID(s)
N/A

What have you already attempted?
I have tried using `SubscriptionItemUsageRecordCreateOptions` but it asks me to create a metered price. As this is a payment intent, how to track unit consumption?

What are you working on?
A way to track units consumed for a non recurring price using .NET API

#

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

What did you expect to happen?
Card reader should only detect one card

What actually happened?
Card reader is displaying an error saying it detects multiple cards, even though only one is presented

Reproduction Steps
Trigger the card reader to process the payment intent

Question
Why is this happening? Reader SN WSC513128026160

#

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

Question
Which method can I use to validate if the card already exists? Users are duplicating already registered credit cards. Is it possible to control this and validate if the card is already registered?

Related Request ID(s)
Credit cards

What have you already attempted?
Review documentation

#

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

Question
Is there a way to search for the webhook event based on 'events'. I tried searching for all the responses for
account.external_account.updated but I couldn't find any data here.

Related Event ID(s)
No related event id as I am unable to find any data example

What have you already attempted?
I went here - https://dashboard.stripe.com/workbench/webhooks/we_1PhmTnHFzwE4pTge2rQrvWML and checked and my endpoint is listening to account.external_account.updated event but there is no history to check if any event came from here.
This is my destination - https://payments-webhook.gke1-west3.wsf-prod-1.wstack.net/v4/stripe/connect

What are you working on?
I want to send notifications when this webhook is triggered but seems like we are not getting any notifications so just want to confirm if we can see any past data on this event

#

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

What did you expect to happen?
I subscribed to a sports betting server a while back and I cannot cancel it and now he is increasing the price!!

What actually happened?
I cannot unsubscribe

Reproduction Steps
I need somebody to unsubscribe me

Question
How can I unsubscribe from this charge?

cursive heronBOT
#

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

Question
A checkout form created on a connected account, does not see KLARNA as option available for payment method, whilst it is enabled on the dashboard directly under the connected account's dashboard, and also on the platform.

Related Request ID(s)
req_Q6FevJzdoJXhpF

What have you already attempted?
Creating the checkout form, also created an invoice, and same problem:

https://invoice.stripe.com/i/acct_1PrLEdGMexpktWqy/live_YWNjdF8xUHJMRWRHTWV4cGt0V3F5LF9SSGUzN1ZSdUxzalVmc3JqNkQwdmJoWE5zSWdJR0FnLDEyMzA5MTQwOQ0200j5H0qrb5?s=ap

req id for invoice:
req_SFYeDN0viJhbHt

#

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

Question
Hello, my client and I are using stripe for years, but during the past week we've been having dozens of failures. Payment.intents events seem to pass, but charge.succeeded almost always end in "Timed out connecting to remote host".

We can't really find a pattern or a change in our codebase that could explain it.

Related Event ID(s)
evt_3QP4XzCespT5BPv90cSmyhB6

What have you already attempted?
- Retry the events manually (same errors)
- Contact support by chat
- disabled the endpoint, create another one and retry (same behaviour).
- Scale up our application to ensure we have the power to process events
- Observe logs (apparently, the webhook fails before reaching us)

What are you working on?
a ruby on rails monolith managing investments for the climate

#

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

Question
I sent a request that was intended to "Cancel at Period end" a customer's subscription (cus_P6Oqfuss8VBqc7) but I'm not sure what the result was, and it looks like now the subscription is "Past Due" and cancels in a year.

Related Request ID(s)
cus_P6Oqfuss8VBqc7

What have you already attempted?
Examining the dashboard

#

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

What did you expect to happen?
Receive Email from Google Pay and Apple Pay

What actually happened?
No Email

Reproduction Steps
But something with apple pay

Question
How can i get the email of a guest user who pays with google pay or apple pay?

cursive heronBOT
#

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

Question
For a car rental app, I need to implement payment pre-authorization that triggers automatically when the owner accepts a rental request, without requiring additional action from the renter. This works with credit cards using PaymentIntent, but how can this be achieved with PayPal and other payment methods?

Related Request ID(s)
No Request ID

What have you already attempted?
$paymentIntent = \Stripe\PaymentIntent::create([
'amount' => $amount,
'currency' => 'eur',
'customer' => $user->stripe_customer_id,
'payment_method' => $user->default_payment_method,
'confirm' => true,
'off_session' => true,
'application_fee_amount' => round($amount * 0.1),
'transfer_data' => [
'destination' => $rental->renter->stripe_account_id
]
]);

What are you working on?
Car Rental APP

#

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

Question
Why is my reader coming back as unreachable?

Related Request ID(s)
req_sqpC17vtJWr3GF

What have you already attempted?
It is sitting on my desk next to me and I ran a health check on the reader and it says it's healthy.

cursive heronBOT
#

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

Code
No code is available

Question
I am using Stripe Embedded Checkout and have my backend setup to listen to the Webhooks.

When a subscription is paid for on the embedded checkout, I want my backend to Create our internal Customer, create our internal Subscription record.

Which is the best and most accurate event to pick this up from? I noticed there are a few events, such as checkout.session.completed and invoice.payment_suceeded.

What have you already attempted?
I have attempted to use invoice.payment_suceeded, it has the Stripe customer Id, Stripe subscription ID and Stripe product and price ID I need. However, it doesnt include the metadata I've passed in the checkout create session request? This only is visible in the checkout.session.completed event. Is there a way for me to get this metadata info? checkout.session.completed is missing prod, price info from the event :(

What are you working on?
Building a subscription flow, we just need to store the Stripe information and Metadata on our side for reference.

#

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

Code
const options1 = { mode: 'payment', amount: this.getPaymentIntent().amount, currency: this.getPaymentIntent().currency_code.toLowerCase(), setup_future_usage: 'off_session', paymentMethodCreation: 'manual', }; this.elements = this.stripe.elements(options1); const expressCheckoutElement = this.elements.create('expressCheckout'); expressCheckoutElement.mount(querySelector);

Question
getting error for apple pay when trying to use the checkout inside the iframe and make payment. without iframe it is working, i have implemented it via Express Checkout Element for apple pay.
console.log:
"Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web."

What have you already attempted?
i have registered the domains but still facing the same issue.
api : https://api.stripe.com/v1/apple_pay/sessions
response:
{
"error": {
"message": "Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web.",
"type": "invalid_request_error"
}
}

What are you working on?
I am just trying to use drop-in strip for checkout

#

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

Code
clientSecret = "pi_D0kxxx_some_secret_•••EqcM"

const elements = stripe.elements({ clientSecret, appearance });
const paymentElement = elements.create('payment')
paymentElement.mount('#payment-element')

Question
I'm using this code, to create a an element, using the stripe.js library and it works fine. The iframe will be mounted in my html page. btw, I don't need to create the intent before (that's already taken care, by someone else, outside of my code, I just call their function, and they return the ClientSecret)

I'd like to do the same thing, get the IFrame back, but do that in .net / mvc app. Is that possible ? Examples? References, etc. Tks

What have you already attempted?
Research doc, example,

What are you working on?
Trying to add in my own work webpage (mvc app), a page that will include the iframe, to capture, submit a payment, and they display the confirmation.

cursive heronBOT
#

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

Code
const BackButton = ({ router, colorScheme }) => (
<TouchableOpacity
onPress={() => {
router.back();
}}
style={{ padding: 10 }}
>
<Ionicons
name="arrow-back"
size={24}
color={colorScheme === "dark" ? "#ffffff" : "#000000"}
/>
</TouchableOpacity>
);

Question
In my current page, I am working with authenticating credit cards using Stripe.js with the CardField.

An issue I'm having is that when I head back to the previous page (the page that took me to the card submission page), my app crashes with no errors.

What I've found out so far is that when I return to the main page WITHOUT touching the CardField (meaning leaving it empty), I am able to head back without a crash.

If I type a number in the Field, and then return, I crash.

What have you already attempted?
I have attempted setting the CardField hook to null before returning to the main page.

I have attempted adding a timeout where I first set the CardField to null, then return using router.back.

What are you working on?
I am working on a Car Booking App. Users can submit their credit card using create-setup-intent for later use.

#

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

Question
Is there a way to download the transactions report through API? Instead of going to the dashboard and downloading it?

Related Request ID(s)
0

What have you already attempted?
I looked into Docs, but didn't find it.

What are you working on?
Internal systems: I need to download it easily

#

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

Question
Is it possible to force W-8 and proof of liveness during the initial onboarding?

Related Request ID(s)
req_p5p01rvjMpVNw0

What have you already attempted?
We use embedded onboarding for our clients, and we prefill all the information for our clients, including accounts for CAD and USD. USD account forces W-8 requirement, but it always comes after a delay, and usually users are able to submit the initial onboarding without providing W-8. Moreover, a few seconds after the onboarding is submitted we always get a webhook saying that user should upload proof of identity document for their business representative. It's annoying for the users to be taken to onboarding twice. Is it possible to request all this information during first onboarding flow?

What are you working on?
We're a fintech company for business users. We let users create invoices using our product, and we want to make it possible to pay with cards for those invoices

cursive heronBOT
#

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

Code
useEffect(() => {
if (elements && amount) {
elements.update({
amount: Math.round(amount * 100),
mode: "payment",
currency: "usd",
});
}
}, [elements, amount]);

---

<Elements
  stripe={stripePromise}
  options={{
    mode\: "payment",
    amount\: 1000,
    currency\: "usd",
  }}
\>
  {children}
</Elements\>

---

const { paymentIntent, error } = await stripe.confirmPayment({
[...]

Question
I am currently with the https://docs.stripe.com/payments/accept-a-payment-deferred path - and it is working fine.

However, there is an issue where if I change the amount & open the ExpressCheckoutElement too quickly, it doesn't get updated quick enough.

Is there any way I can check when it is already updated, or if the onClick function has a way to validate if the selected amount equals the amount being shown within the element?

What have you already attempted?
I have attempted to add a setTimeout when updating the amount - which works, but not confident that this solution is good enough.

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

cursive heronBOT
#

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

Code
I have just integrated stripe into my platform but when I try to sign up and go through the stripe onboarding process I keep getting an error message that there is an error in the onboarding process.

Question
What is the reason for this error and how do I resolve this issue.

What have you already attempted?
I have tried signing up on different browsers and devices. I cleared my cookies and browser data and tried different information but the same error persists

What are you working on?
I am building a hosting platform where service providers connect with service users

cursive heronBOT
#

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

What did you expect to happen?
Subscription update next invoice date a month from the date of the successful payment on the invoice

What actually happened?
Subscription updated next invoice date a month from when the invoice was finalized

Reproduction Steps
Subscription payment need to fail and retried later. On the last retry it should succeed and the next invoice date would be updated to invoice finalize date + 1 month.

Question
This means that subscription will be in the past due status while stripe retries the payment but then after it happens users are not getting their time back (the time period while charges were retrying). Please help me understand what am I missing and how to make stripe update to a correct renewal date.

What are you working on?
Stripe subscriptions integration

#

@past 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
When adding a payment method, a complex recaptcha appears. Is there a way to reduce the complexity?

Question
When adding a payment method, a complex recaptcha appears. Is there a way to reduce the complexity?

What have you already attempted?
When adding a payment method, a complex recaptcha appears. Is there a way to reduce the complexity?

#

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

Question
I got a Problem with Paypal, its active in the User Interface, but i cannot pay with it. in my ReactNative APP

Your Stripe account does not currently support Connect payments via PayPal. To enable PayPal payments via Connect for your Stripe account, review the requirements at https://docs.stripe.com/payments/paypal#connect. If your setup qualifies, submit an onboarding request via your Stripe dashboard at https://dashboard.stripe.com/account/payments/settings.

Related Request ID(s)
req_89tIArpA7MrJOg

What have you already attempted?
Attachment

What are you working on?
Car rental APP

#

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

What did you expect to happen?
When a subscription goes to past due in stripe, the customer should be able to upgrade or downgrade their subscription receiving a new invoice for the full amount.

What actually happened?
When a subscription goes to past due in stripe, there is a lingering invoice for the amount that is "retrying"
If the user then downgrades their subscription, they will get credited for the "retrying" invoice amount minus the new subscription price.

Reproduction Steps
Create a subscription, fail to pay. Downgrade to a cheaper subscription (or upgrade to a higher level). Get a credit or only pay the difference between the two. Example Sub: sub_1NBe3MJyFlemKh0gp38bVyzH

Question
Is there a way to allow a past due subscription to be modified without applying a credit to the account for unused time which they never paid for?

What are you working on?
Dunning subscription management

cursive heronBOT
#

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

Question
hi,
I have a metadata added to a paymentIntent that has a successful charge.
but in the webhook the metadata is empty

Related Event ID(s)
evt_3QP7zKG5NORjrd4m0KGGGU1l

What have you already attempted?
I just looked at the webhook data

What are you working on?
a webhook integration with stripe for charge succeeded

cursive heronBOT
#

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

Question
We created a yearly subscription auto renew. Later we changed to payment method to send_invoice.

Is there a way to not send email to customer even if the subscription is active with payment method send_invoice?

Related Request ID(s)
NA

What have you already attempted?
We tried to cancel the subscription, but we don't want to .

cursive heronBOT
#

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

Question
"Which method can I use to validate if the card already exists?"

Related Request ID(s)
Create payment method

What have you already attempted?
I am using the fingerprint of the existing payment methods, but how can I compare the new card being added with the existing cards?"

cursive heronBOT
#

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

Question
My Subscriptions are billed monthly, the period end date for subscriptions is 11/30, but the time is not 23:59:00. Is there a way to fix this?

Related Request ID(s)
sub_1QLnE7CYEIkFpocTUMcwuCpq

What have you already attempted?
Read api documents

#

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

Question
bonjour j'utilise le sdk cardField dans react native avec expo 52 depuis que j'ai migrer sur expo 52 le sdk CardField ne fonctionne pas je change dans le input Field les numero et impossible de recuperer les cardDetails je recois undefined

Related Request ID(s)
sdk Bug

What have you already attempted?
sdk react native cardField

#

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

What did you expect to happen?
Subscription update next invoice date a month from the date of the successful payment on the invoice

What actually happened?
Subscription updated next invoice date a month from when the invoice was finalized

Reproduction Steps
in_1QNvGi2mVLBWWSlllriFBhLc
1) this invoice was finalized on Nov 22, 2024
2) successful payment happenned on Nov 25, 2024
3) Subscription next invoice date updated to Dec 22. So 3 days were spent on retrying to charge and users are not getting a full month of active subscription

Question
Hi me again. Sorry for a duplicate question. Subscription will be in the past due status while stripe retries the payment but then after it happens users are not getting their time back (the time period while charges were retrying).

You asked if our customers don't get access to our products while retries are happenning, the answer is yes.

What are you working on?
Stripe subscriptions integration

#

@past 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
Disable Recaptcha Internal Stripe - Payment Method

Question
We consider that the captcha that appeared breaks our UI model of our platform, so we want to see if there is a way to reduce the complexity of solving a captcha when adding payment methods.

What have you already attempted?
I'm talking about the captcha that Stripe implements internally, which I have no control over.

#

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

Question
My company is trying to figure out how best to create trials using Stripe. It works for the most part but there is an edge case. There is a situation where a paying customer (someone on a subscription) would like to a trial another paid product without affecting their original subscription. And I'm not sure how best to do this using Stripe. Since creating a new trial period will affect their existing subscription and they'll be recharged post the trial. So looking for any insights on how best to proceed?

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

What are you working on?
Building Trial Billing System

cursive heronBOT
#

@past 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
Stripe Widget implements capchat internally when adding payment method

Question
Our clients have complaints because the captcha is very complex, is there any way to reduce the complexity of the challenge?

What have you already attempted?
Our clients have complaints because the captcha is very complex, is there any way to reduce the complexity of the challenge?

#

⛔️ Stripe developers aren't currently available on Discord

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

We are currently offline. We will be back at 9am SGT on Tuesday, November 26. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

What did you expect to happen?

  1. Customer starts a 7-day trial with a credit card on file
  2. Trial ends and auto payment fails because of insufficient funds and whatever # of retries
  3. Subscription cancels, the charge is never recovered
  4. If customer wants to purchase again, they’ll have to pay in full

What actually happened?
Before step 4 above, the customer receives an "unused time" pending invoice item for the full amount of their failed payment. Customer then resubscribes and gets access for free.

Reproduction Steps
I can’t tell if this is happening to everyone or in some special situation. See my notes from "what did you expect to happen?"

Question
Why is this unused time pending invoice item happening? It makes no sense that people are getting their failed payment applied as a credit on future payments! Here are relevant ids:

customer: cus_REsIT5ShWlIZk7
subscription: sub_1QMOcFIPa85tOPNZbG5HV6u7
failed payment: pi_3QOwtxIPa85tOPNZ1r8zFX9X
pending invoice item: ii_1QOx4ZIPa85tOPNZEyC18dzq

What are you working on?
Payments for a saas product

cursive heronBOT
#

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

Question
I am interested in creating our own tap to pay terminal / hardware. If I read the data off a credit card via NFC—can I process the card through stripe with that data?

Related Request ID(s)
None

What have you already attempted?
Going though the docs trying to find an answer

What are you working on?
A paid EV charger

cursive heronBOT
#

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

Code
My code would pretty much all change depending on this answer. I<m looking for information right now

Question
I am trying to add optional add-ons for products.
My product has a base price for its medium sizing. Cheaper prices for its smaller sizes and more expensive prices for its more expensive sizes.

Id like to add optional add-ons such as premium colors and additional features that would increase the price on top of the size price.

What have you already attempted?
I have attempted to contact Stripe directly and have checked the documentation but have not found any answers for what I am trying to do. I have found mainly answers for this with subscriptions but not for one-time purchase products.

What are you working on?
Im building a web store platform where you order customised products made by hand and to custom order using React and NodeJs

cursive heronBOT
#

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

Question
API Stripe and whmcs no work. Before October it worked and now it doesn't work anymore, I've updated whmcs but it keeps giving an error when completing the payment.

Related Request ID(s)
?

What have you already attempted?
API Stripe and whmcs no work. Before October it worked and now it doesn't work anymore, I've updated whmcs but it keeps giving an error when completing the payment.

#

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

Question
I am wondering if it is possible in the API to incorporate escrow with connect accounts? For example, a customer pays the connect account for a service but the funds stay in escrow until the connect account carries out their service to the customer.

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

What are you working on?
A service where the customer pays for the connect account's time of service.

cursive heronBOT
#

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

Question
i have an account that have two webhooks so both of them are triggered when i do something in one. How do i differentiate between them so that one only work when a plan or something is subscribed it it.

Related Event ID(s)
srycan'tprovidetheid

What have you already attempted?
i thought i differentiate with the triggered url but they are also same as the webhook and don't differentiate between who triggered url

What are you working on?
same thing but working on two different sites

cursive heronBOT
#

@manic 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/api/subscriptions/cancel

Question
When subscription is cancelled, we stop auto renewal and user will have subscription until current period ends. But will the user gets refund in any case like cancelling within first 24 hours or something like that

What have you already attempted?
Stripe Documentation: Cancels a customer’s subscription immediately. The customer won’t be charged again for the subscription. Current subscription will continue until end of the current period.

#

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

Code
TapToPay on Android & iOS supports offline payment which is store and forward feature ?

Question
TapToPay on Android & iOS supports offline payment which is store and forward feature ?

What have you already attempted?
Tried research over docs not able to find any details

What are you working on?
We are building a donation app to accept payment from donors using mobile phones

cursive heronBOT
#

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

Code
let result = await this.processorInstance.createPaymentMethod({
type: 'us_bank_account',
us_bank_account: bankAccountDetails,
billing_details: { name },
metadata: { zsid: accountId }
});

Question
Is there any possibility to send fca_account created via processorInstance.collectFinancialConnectionsAccounts method.

What have you already attempted?
I have searched regarding this in docs
https://docs.stripe.com/js/payment_methods/create_payment_method
But could not find it

#

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

Question
Facing issue in refreshing connected account link.

Related Request ID(s)
789900

What have you already attempted?
N/A

What are you working on?
Facing issue in refreshing connected account link.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/collection-method#failed-incomplete-subscriptions

Question
I have subscription that has collection method set to send_invoice with days_until_due set to 1. After 1 day, its status is set to past due.

How many days it takes to make this subscription cancelled or unpaid?

What have you already attempted?
I tried time simulation in stripe playground and advanced it to 1 month. The subscription still tagged as past due.

#

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

Code
const portalSession = await this.stripe.billingPortal.sessions.create({
customer: subscriptionData.stripeUser?.stripeCustomerId,
return_url: portalRedirectUrl,
flow_data: {
type: 'subscription_update',
subscription_update: {
subscription: subscriptionData.productSubscriptionId,
},
},
});

Question
In test mode, Stripe requires adding eligible products to the Customer Portal settings for customers to update subscriptions. But all those products appear in the portal created by flow, including products the customer is not currently subscribed to. Is this behavior consistent in live mode? In live mode, will all eligible product prices show up even if we create a subscription_update flow for a specific subscription? also de we need to add eligible products in live mode ?

What have you already attempted?
Adding only the relevant products in the test mode settings. However, this still shows other eligible products/prices in the portal.

cursive heronBOT
#

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

Question
How can I cancel subscriptions that had a subscription scheduler attached?

``

Related Request ID(s)
Could not find related

What have you already attempted?
Although i am setting end_behavior: ''release" to the when creating the schedule, after the second phase executes, When i try to update the subscription or cancel it, I get the following:

```
The subscription is managed by the subscription schedule `sub_sched_1QFwX0D9sYh65PYtF8xw3tCh`, and updating any cancelation behavior directly is not allowed. Please update the schedule instead.
```

cursive heronBOT
#

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

Question
I am using the checkout session in the PHP Laravel.
I have 2 products and each product has its price_id
But when i subscribed 1 and than try to subscribe 2nd one it give me you are already subscribed.

Related Request ID(s)
Laravel

What have you already attempted?
I am using the checkout session in the PHP Laravel.
I have 2 products and each product has its price_id
But when i subscribed 1 and than try to subscribe 2nd one it give me you are already subscribed.

What are you working on?
PHP Laravel check out session

#

@spiral bluff pressed the 📚 Doc or 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-fee-payer-behavior

Question
I want to set a pricing model for my customer e.g. 2% + 1 USD. However, if I set an application fee like that, and if I use direct charges where the connect application pays the fee instead of my platform, then my customer may end up paying higher than what we quoted them due to Stripe transaction fees.

What have you already attempted?
I've created a bunch of different account types including custom, standard, express. I've explored the option where it would be my platform that would settle the Stripe fees but that seems to be more complex and im not sure about currency conversion issues.

What are you working on?
Letting our customers create an NFT marketplace powered by us that allows for direct credit card payments. We just take a fee for each NFT purchase.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/invoices/subscription

Question
This is the subscription flow that I wanted to achieve for collection method set to true and days_until_due set to 1.

November 1, 2024: User creates subscription
November 4, 2024: User pays for the subscription
November 4, 2024: Paid plan starts (November 1 to November 3 is the free plan)
November 4, 2025: Contract renewal date
November 11, 2025: Deadline for renewal payment
November 14, 2025: Renewal payment
November 4, 2026: Contract renewal date (if paid within the deadline, the contract renewal date remains unchanged)

Is this possible? If it is, may I ask some resources for this one?

What have you already attempted?
I tried creating subscription with the mentioned setting. The created subscription has status active. When I try to pay 3 days after due date, the renewal date is still set on the day the subscription is created.

#

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

Question
For my production build I am trying to use a restricted key.

I connect create connected accounts, I am getting this error

Having the 'rak_accounts_kyc_id_numbers_read', 'rak_connected_account_write' permissions would allow this request to continue.

On the API "restrictions" I cant see which ones these relate to?

Related Request ID(s)
req_E05McLVU4RJga0

What have you already attempted?
Trying a "normal" key works just fine, I just want a key with limited scope.

What are you working on?
create connected account, in production with limited scope api key

cursive heronBOT
#

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

Code
my user: cus_RHkGLpYVKrKq4O
the paymentMethod: pm_1QPAoQEiRMIWIJsTmwG0SeTc

stripe payment_intents create --amount="64" --currency="usd" --description="(created by Stripe Shell)" --confirm="true" --customer="cus_RHkGLpYVKrKq4O" --off-session="true" --payment-method="pm_1QPAoQEiRMIWIJsTmwG0SeTc" -d "automatic_payment_methods[enabled]=true" -d "automatic_payment_methods[allow_redirects]=never"

Question
hi i try to work through the worksheet and have a problem i have used the previous code to create a paymentIntent and in the return code i can see the customer and paymentMethod IDs properly added but the worksheets return this message to me Don’t forget to attach the Customer and PaymentMethod IDs to the PaymentIntent. See How PaymentIntents work. what did i wrong ?

What have you already attempted?
i have tried different calls using the api explorer i have search using google

What are you working on?
just working through the worksheet and stripe training

#

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

Code
$PaymentIntent = $this->Stripe->paymentIntents->create(
[
"amount" => 1000,
"currency" => "eur",
"payment_method_types" => ["card", "klarna", "paypal", "giropay", "sofort"],
"application_fee_amount" => 0,
"transfer_data" => [
"amount" => 500,
"destination" => $VendorAccountId,
]);

Question
I want to perform destination charges with stripe connect using PayPal. It's listed. PayPal is connected in my dashboard. It's in test-mode. When I select PayPal in my shop and click "Pay now" I receive the following error:

Your Stripe account currently does not support Connect payments with PayPal. To enable PayPal with Connect for your Stripe account, review the eligibility guidelines at https://docs.stripe.com/payments/paypal#connect

What have you already attempted?
I've tried EVERYTHING. Even the support on Email can't help. It's the 5th day in row now that my project can't continue developing. So sad! I really want to integrate stripe connect.

What are you working on?
Marketplace for Restaurants to order food to deliver and pick up

cursive heronBOT
#

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

Question
subscriptions draft status showing on transaction

Related Request ID(s)
subscriptions draft status showing on transaction

What have you already attempted?
subscriptions draft status showing on transaction

What are you working on?
subscriptions draft status showing on transaction

cursive heronBOT
#

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

What did you expect to happen?
The card of the client to work properly

What actually happened?
Previously accepted card by a client, now is rejected due to zip code block

https://dashboard.stripe.com/customers/cus_QXZk614uyQolYL

Reproduction Steps
You can access the link to check the clients transactions

Question
This client is a trusted one because he has paid many times. Is it possible to check why his card now fails?

#

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

Code
paramsBuilder.setMode(SessionCreateParams.Mode.SUBSCRIPTION)
.setAutomaticTax(SessionCreateParams.AutomaticTax.builder().setEnabled(true).build())
.addLineItem(...) .setSubscriptionData(SessionCreateParams.SubscriptionData.builder() .putAllMetadata(metadata).setDescription(buildDescription(device)) .setBillingCycleAnchor(subscription.getEndSubscriptionDate().toInstant().getEpochSecond())
.setProrationBehavior(NONE)

Question
Payments with 3DS active fail in a checkout session in subscription mode. I have an initial free period. because I have set a billing cycle anchor with a proration behavior set to none. I also have a checkout session in Setup mode and I use it to create subscriptions manually with the Java API. Even in this case 3DS payments fail. (I cannot provide the code for the manual creation of the subscription because I'm out of space)

What have you already attempted?
I tried the SetupFutureUsage method, but it's not allowed with the checkout session in Subscription or Setup mode

cursive heronBOT
#

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

Question
We use Stripe Payment Links & Entitlements to manage user payments/permissions. Here's the issue:

When a trial ends, entitlements.active_entitlement_summary.updated isn't triggered. Steps:

Created a Payment Link w/ 1-day trial (test mode).
Webhooks updated entitlements after payment.
After 24hrs, customer.subscription.paused triggered, but entitlements stayed active, granting access post-trial.
Questions:

Will entitlements update later?
Is this expected?
What is the proper way to handle this with using the Entitlements and Payment Links?
Should entitlements update on cancel/pause?

Related Event ID(s)
evt_1QNygXRwq6Tdnptx7lKhJhNy

What have you already attempted?
On top of testing the entire 24 hour trial flow as already described I also tested this:

Used the Stripe test clock to simulate trial expiration.
Found that if the subscription is manually set to cancel after the trial ends, entitlements are correctly removed via entitlements.active_entitlement_summary.updated.
However, there’s no option in Payment Links to automatically cancel subscriptions after the trial ends.
Reviewed Stripe docs but found no clarification on handling this behavior directly through Payment Links.

What are you working on?
I am building a software that scores leads for a client. Stripe is used a Payment Provider.

cursive heronBOT
#

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

Question
Hello, I am using the CardField SDK in React Native with Expo 52. Since migrating to Expo 52, the CardField SDK is not working. When I change the numbers in the input field, I cannot retrieve the card details—I keep receiving undefined.

Related Request ID(s)
sdk react native cardField

What have you already attempted?
Hello, I am using the CardField SDK in React Native with Expo 52. Since migrating to Expo 52, the CardField SDK is not working. When I change the numbers in the input field, I cannot retrieve the card details—I keep receiving undefined.

#

@opaque shore pressed the 📚 Doc or 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&resource=payment_intents&action=create#core-payment-apis

Question
i have this code stripe payment_intents create \ --customer="cus_RHkGLpYVKrKq4O " \ --amount=1099 \ --currency=usd \ --setup-future-usage=off_session \ -d "automatic_payment_methods[enabled]"=true

and it returns the following error Don’t forget to attach the Customer and PaymentMethod IDs to the PaymentIntent.

if i look in the dashboard i can see a successful payment only the worksheet returns an error what can i do what did i wrong ?

What have you already attempted?
i have worked at 1 Core Payment APIs and stuck at Step 5

What are you working on?
Stripe Training for certification using the worksheets to work with the API

#

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

Question
I'm building a frontend checkout page, which calls the stripe checkout api and redirects to the generated stripe checkout page.

I'm trying to match the line item calculations on my checkout page to exactly match the stripe checkout page values.

I'm running into difficulties with how stripe is doing their 'tax' line calculation?

I was under the impression that tax is calculated per line item, rounded down to the smallest unit, and then summed.

However this is the result of one of my boundary tests

Item 1 - £0.01
Item 2 - £4.99
Subtotal - £5.00
Tax 10% - £0.50

However I expected tax £0.49

Related Request ID(s)
req_Ik7nQFhSH8r2VH

What have you already attempted?
I was expecting each line item to be taxed individually, rounded down and then summed. Which in this example gave me £0.49

However in this instance it looks like either there is a minimum tax value of `1` (smallest unit) for each line item, or it's just done it off the whole subtotal?

What are you working on?
Building a checkout page, where the calculations need to match the stripe checkout page calculations

#

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

Question
Hi,
We have issues on Webhook between Stripe and our API hosted as a Heroku app.
The error is "Timed out connecting to remote host"

Related Event ID(s)
evt_3QPM0mCespT5BPv91K2glo6r

What have you already attempted?
Our host is up on Heroku, and accessible by other API consumers and it seems to be related to Stripe/Heroku link. We did deploy a temporary proxy for further investigations.
- Without the temporary proxy : Stripe -> Heroku is failing
- With the proxy : Stripe -> HTTP/1.1 Scaleway -> Heroku is working

HTTP/2 support is now available on Heroku and thus connection failure between Stripe and Heroku may be related to that protocol.

What are you working on?
Our platform has an API endpoint collecting Stripe payments informations

cursive heronBOT
#

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

Question
When is customer.discount.created event raised?

Related Request ID(s)
API

What have you already attempted?
If a customer makes a purchase using a coupon in stripe. The customer.discount.created is raised.
If the same customer uses the coupon to buy a different product, would the event customer.discount.created be raised again?

What are you working on?
Desktop App deployed in clients computers.

cursive heronBOT
#

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

What did you expect to happen?
Shipping and billing address get attached to the link account when using stripe elements with the confirmation token approach. This means - users don't have to enter the address again once they have already provided the address on their next purchase.

What actually happened?
Shipping and billing address does not get attached to the link account when using stripe elements with the confirmation token approach. Users have to enter the complete address once again.

Reproduction Steps

  1. Create a stripe elements without any intent in payment / subscription mode
  2. Add a stripe address and payment element
  3. Add a confirm event handler for elements
  4. Send the confirmation token to backend and confirm the payment at the backend
  5. At the next page - user has to enter the address again if we use the stripe elements again. Card and email do

Question
Using stripe elements -> address element with the link auth. How to get the shipping and billing address saved with link account when using confirmation token approach with the stripe elements - so that users don't have to enter the address again and can simply select their existing address?

What are you working on?
Trying to build a checkout page for a product with link support and allow customers user saved address and cards

#

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

Code
// Set your secret key. Remember to switch to your live secret key in production.
// See your keys here: https://dashboard.stripe.com/apikeys
const stripe = require('stripe')('sk_test_•••Mt2l');

const paymentMethodDomain = await stripe.paymentMethodDomains.create({
domain_name: 'example.com',
});

Question
Payment Intents - Connect (Paltforms) /w Apple Pay

Is this code require to be run on all connected accounts or is it ok to just have the config on the platform?

OR is it depend on what type of charge is being used?

What have you already attempted?
just using the main account BUT it could be other config, lots of moving parts on apple pay

What are you working on?
saas app, payment elements - web

#

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

Question
The Balance Report API returns a empty costumer_email value that differs from the report generated by the dashboard which returns it correctly.

Related Request ID(s)
None

What have you already attempted?
I tried every option inside Balance Report API.

What are you working on?
Creating a report generator.

#

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

Question
Is there a way to figure out a webhook delivery status via the API?

I can fetch the events that took place, but how I can I know whether their webhook delivery was successful or not?

Related Request ID(s)
Couldn't find these

What have you already attempted?
I tried to fetch events, specific events, creating and retrieving hooks.

I just couldn't get the data.

What are you working on?
I am working on a monitoring tool.

cursive heronBOT
#

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

Question
I've been working on integrating Stripe Connect into my platform. I started with the hosted signup and the express dashboard, but when the user signup process is quite complex and long (asking a lot of informations, asking for ID verification etc). I've found another platform that uses Stripe Connect and manages to not ask for those things during the sign up process (they are using the API integration with no dashboard access). Should I be switching to the API integration to make the sign up easier ? If so, how can I change my stripe connect configuration ? Will the Stripe ID verification always be required ?

Doc/Guide Links
https://docs.stripe.com/connect/identity-verification

What are you working on?
I'm building a last minute ticket selling platform in France

cursive heronBOT
#

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

Question
I am using stripe.billing_portal.Configuration to create configuration from customer portal

Related Request ID(s)
API

What have you already attempted?
i have problem to create configuration from customer portal

cursive heronBOT
#

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

Question
I am having trouble with the tax calculation in the Client Library/SDK for python. Whenever I try to call the stripe.tax.Calculation.create method with the example given in the stripe documents, it doesn't seem to calculate the tax and only sums up the original amount along with shipping.

Related Request ID(s)
req_osDv7pxiFhhYdg, req_Mm8SIcMF75kzI1, req_Qx5YrXbBhh6Rqv

What have you already attempted?
I have already tried using the IP Address for the method as well as different types of addresses with different states and they all seem to not calculate tax.

What are you working on?
I am creating a personal project for myself and would like to use stripe's automatic tax calculation for simplicity in my ecommerce site.

#

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

Question
I am implementing a subscription that will have many products. I am running into an error of maximum number of products (20) on the subscription phase.

Do subscriptions without phases have the same limits? I might need to add more than 200 products in one subscription.

Related Request ID(s)
API adding products to subscriptions

What have you already attempted?
Subscriptions phases.

#

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

Question
Production stripe flow works good, but on the demo i have issues

Related Event ID(s)
-

What have you already attempted?
On create payment intent, I create also my own payment intent with an status of "PENDING" and the purpose is that in the webhook, find that payment and then change it to "COMPLETED", I dont know why on my demo webhook I am having issues

#

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

What did you expect to happen?
I was hoping to have my website accepted by stripe

What actually happened?
Stripe keeps declining my website making me unable to accept payouts

Reproduction Steps
I need to speak with someone

Question
Is it possible to talk to someone on here about getting verified with stripe ?

What are you working on?
I’m a content creator that sells songs and messages through multiple platforms

#

@abstract 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/apple-pay

Question
Apple Pay button missing. We have embedded checkout available on unzunzofficial , the domain is added and "Enabled" in "Payment method domains" list. Still the Apple Pay is missing, the domain is also registered in Apple Developer merchant services. There is another problem that we have. the general branding settings for the checkout session screen is not respected the color code selection for Pay button.

What have you already attempted?
- Added the domain in Apple Developer portal
- Added the domain in Stripe Dashboard
- This link is available https://unzunzofficial.plinksdemo.tv/.well-known/apple-developer-merchantid-domain-association

What are you working on?
https://unzunzofficial.plinksdemo.tv/watch/smnDWIqPOl1nZOxDdgDucQ

#

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

Question
We are using stripe with connect functionality, but for payments using destination charges. How it is possible to get all payments/charges for a destination account, but with the ids which are in the main account.

e.x. https://dashboard.stripe.com/payments/pi_3QPQP0F71JvGfDnd1h5U4GnC

Related Request ID(s)
-

What have you already attempted?
Stripe::Refund.list( {limit: 100}, {api_key: api_key, stripe_account: wallet.legitimation.ext_id}).auto_paging_each

cursive heronBOT
#

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

What did you expect to happen?
cardElement and paymentElement to load without issue

What actually happened?
We have a number of school district customers nationwide using school-issued devices & Chrome that suddenly cannot load the cardElement nor the paymentElement. This is not just happening on our website, we had them test other websites using Stripe and they have the same issue. We recognize they must all share the same security company.

Reproduction Steps
It's nearly impossible to replicate unless you have a school-issued device. But they are getting the error "We recognize they must all share the same security company." which is hard to tell if this is a Stripe response or blocker response. Stripe.com, js.stripe.com, and the other sources we see loaded with the elements are all accessible by them.

Question
Do the card/payment elements use anything that could trigger a security block, like cookies or something else? Has anyone else reported this yet (again, this is happening to our competitors and every website using Stripe)?

What are you working on?
We will process $80 million this year through Stripe, working with performing arts groups including those in K-12.

#

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

Question
(Node)
I want to create a webhook for a connected account.

I passed the auth phase, and I got the stripe user id to create a Stripe instance for it.

Now, when I try to: await userStripe.webhookEndpoints.create({
url: "https://e44c-93-172-0-184.ngrok-free.app/api/stripe/webhook",
enabled_events: ["payment_intent.succeeded"],
connect: true,
});

I get:
"You are not permitted to configure webhook endpoints on a connected account. Did you mean to create a Connect webhook on your account instead?"

What am I missing?

Related Request ID(s)
I couldn't find it

What have you already attempted?
Adding/removing connect.
Adding a webhook to myself(worked).
Reading through the documents, asking google and chatgpt.

What are you working on?
A tool to notify users about webhooks that failed.

#

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

Question
All my requests to create a report via API are pending forever, since 1 hour ago aproximmately.

Related Request ID(s)
frr_1QPQWuHOzdvO2py1rHjvb4in

What have you already attempted?
Usually, this type of request would take only a few seconds (I was testing since yesterday), but now it's pending forever. I already tried creating other ones, with different params, but it still doesn't generate.

What are you working on?
Reports API

cursive heronBOT
#

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

Code
<div className="flex h-12 w-full gap-4 bg-zinc-200">
<ExpressCheckoutElement
onConfirm={onConfirm}
onClick={onClick}
options={{
buttonType: {
googlePay: "checkout",
applePay: "check-out",
},
buttonTheme: {
applePay: "white-outline",
},
buttonHeight: 55,
}}
/>
</div>

Question
I cannot get the payment button to show up or show up as a modal/overlay when clicked. I do have this component wrapped in the <Elements> tag with the required stripe and options props, as written in the Express Checkout docs.

What have you already attempted?
I have gone through the Express Checkout Element docs several times, and have messed around quite a bit with how I am mounting/nesting the <Elements> and <ExpressCheckoutElement> in my Nextjs app.

What are you working on?
A one-time payment system that keeps the user on the same page and executes backend code when the payment is confirmed

#

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

Question
I created a webhook for connected accounts and I connected from another account.

Now, when I try to trigger an event via the cli, the connect webhook is not triggered.

On the other hand, when I authenticate via stripe, it is triggered.

Related Request ID(s)
none

What have you already attempted?
stripe trigger customer.created
stripe trigger payment_intent.succeeded

cursive heronBOT
#

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

Question
Hi, I'm running an event ticket webshop which handles payments via Stripe. I'm authorizing the payment intent with manual capture, checking if the ticket to be booked is still available and then capturing that on the server. However, for sepa_debit manual capture is not available. What is the reason and is there any workaround?

Doc/Guide Links
https://docs.stripe.com/payments/sepa-debit

What are you working on?
I'm working on my event ticket onlineshop.

cursive heronBOT
#

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

Question
I want to know what the best practices are for how many stripe connect ids I would need to use so I can build my website the right way.

I am guessing I can use 2 stripe connect ids (1 affiliate connect id and 1 teacher connect id) for all these scenarios, but I am not sure, which is why I am asking this question.

Scenarios:

Affiliate marketer - An affiliate marketer is responsible for promoting my website on social media with a referral link. If someone signs up for my website and makes a payment with that referral link, the affiliate marketer gets a percentage payment from the sale.

Teacher - A teacher is responsible for creating and selling educational materials on my

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

What are you working on?
Something similar to udemy.com

cursive heronBOT
#

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

Question
Is there a way to control the legal message at the bottom of the payment element for a paymentIntent via API?

Related Request ID(s)
N/A

What have you already attempted?
Create a payment intent element

What are you working on?
capturing cards for future use

cursive heronBOT
#

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

Code
// HTML
<div id="card-element" class="form-control p-3"></div>

// TS
const appearance:any = {
theme: 'stripe',
}
this.elements = this.stripe.elements({ appearance });

Question
How can I customize the elements that are generated in the card-elements to a specific style and not the predefined one?

What have you already attempted?
I have tried including variables in the "appearance" variable as well as rules. However, I need to generate a specific form supported by the Bootstrap 5 library.

What are you working on?
I'm building the platform from scratch

#

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

Question
After I create a subscription for a customer, how do I make sure the subscription has a default payment method attached so that when the payment doesn't fail? The customer has paid in other subscription with a payment method, but this is a separate subscription.

Related Request ID(s)
subscription creation

What have you already attempted?
I have tried creating the subscription, and looking up the default source for the customer, but it always returns a null value.

What are you working on?
I'm looking for the best practice to create subscription for customers and attach their default payment method to the subscription.

cursive heronBOT
#

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

What did you expect to happen?
I have 2 websites where I use stripe as payment. I am using the same stripe for both websites, I have the additional payment options (klarna, ideal, giropay, EPS and more) enabled but those only show on 1 of the 2 websites (The one I used first, I added the 2nd one several months later). How can I make it that those additional payment options appear on my new site?

What actually happened?
-

Reproduction Steps
--------------------

Question
How can I enable the additional payment methods for both sites

cursive heronBOT
#

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

Code
<Elements {stripe} bind:elements mode="payment" amount={data.cart.total} currency="eur">
<Iban classes={{ base: "form-control p-3 my-3" }} placeholderCountry="SEPA" supportedCountries={["SEPA"]} disabled={loading} />
</Elements>

const result = await stripe.createConfirmationToken({
elements,
});

Question
Hi,
I'm trying to implement confirmation token flow with svelte-stripe and sepa direct debit. As I want to only show the sepa option to the customer, I cannot use the PaymentElement (it always shows all payment methods). However, the iban element does not seem to be recognized:

IntegrationError: Could not find a mounted element to create the Confirmation Token from, please ensure you have a Payment Element or Express Checkout Element mounted (or both).

Any idea?

What have you already attempted?
I tried using the PaymentElement, but I cannot constrain the visible payment methods there.

What are you working on?
I'm building an online event ticket shop.

#

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

Question
Developing new onboarding for connect users. Our platform plans on using separate charge and transfer. Via API, requesting only transfer capability, as connect users will not be processing cards themselves. Get an error saying account needs some sort of approval: 'your account needs approval for accounts to have requested the transfers capability without the card_payments [...]'

Related Request ID(s)
req_qiCRcaxlSGMXsz

What have you already attempted?
Reviewed capabilities docs

#

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

Question
I am working on a issuing/treasury application. I am not able to attach an external bank account successfully.

I am following the documentation here:

https://docs.stripe.com/connect/payouts-bank-accounts

My goal is to use initiate a financial connections session from my web app and use the result to create a BankAccount for a connected account.

Related Request ID(s)
n/a

What have you already attempted?
I can successfully create a SetupIntent and use Stripe.js to display the financial connections UI.

This results in a payment method ID ("pm_xxxxxxx"). Here's the problem, according to the docs I need to tokenize that payment method ID (in golang):

`params := &stripe.TokenParams{
BankAccount: &stripe.BankAccountParams{
PaymentMethod: stripe.String("{{PAYMENT_METHOD_ID}}"),
},
Customer: stripe.String("{{CUSTOMER_ID}}"),
};`

In the current SDK `PaymentMethod` does not exist in BankAccountParams.

What should I do here?

What are you working on?
A treasury/issuing integration for issuing cards on behalf of custom connected accounts.

#

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

Question
I'm using an already used payment method and attempting to initiate a transaction for a person not present.

3DS is getting triggered, but the cardholder is not around. How do I need to change my API call so we don't unnecessarily trigger 3DS?

Related Request ID(s)
req_berZodxRprnreF

What have you already attempted?
n/a

#

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

Question
I want to implement Stripe checkout on my SAAS platform. 3 tiers: bronze, silver, gold. I am planning to check for access on every request that the user makes, since i need to check if they have a subscription etc.

Is this bad practice? since with that I would be querying Stripe quite a bit (and Stripe has 100 req/sec rate limit).

Should I use Stripe as source of truth or should I have a model in my Django app where I store something like the customer_id, valid_until, plan, and to those when i receive things in my webhooks.

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

What are you working on?
SAAS in Django for 'doctors' where they can manage their practice/calendar/clients etc.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://dashboard.stripe.com/test/workbench/logs/req_gVHRQ124xllwgk

Question
Hello,
I am following this guide:
Use Plaid for bank account verification Learn how to use the Stripe-Plaid ACHv2 integration.
https://docs.stripe.com/payments/ach-direct-debit/plaid-integration

I'm trying to create a payment method under an account. I create the account and then create a payment method, but it doesn't show up in my dashboard.

What have you already attempted?
I make the POST calls and get successful responses, but it the payment method isn't showing in my dashboard. Maybe the problem is that I don't know how to associate the customer record when creating the payment method.

Please see this customer record log:
https://dashboard.stripe.com/test/workbench/logs/req_78E4sDbtqOuxaA

and then this payment method:
https://dashboard.stripe.com/test/workbench/logs/req_V5cGJ6xJqoCmRF

How do I make it so that the payment method knows how to associate with the account?

Thanks

What are you working on?
Create a payment method.

#

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

Question
i'm trying to publish a billing event using this api: https://docs.stripe.com/api/billing/meter-event/create

but it is showing this error:

module 'stripe' has no attribute 'billing'

I used to be able to use this same API just a few weeks ago. Did anything changed? How do i publish the billing events now?

Related Request ID(s)
stripe billing event

What have you already attempted?
stripe.billing.MeterEvent.create(
... event_name="number_of_payroll_employees",
... payload={"value": "25", "stripe_customer_id": "cus_RHfpHo428gfbSC"},
... identifier="identifier_123",
... )

#

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

Question
When calling /oauth/deauthorize I am getting this error: Error sending request to Stripe: (Status 401) (Request req_6QltqNRZ3vJEqF) This application is not connected to stripe account acct_1O4mLkKCc0YxVqNU, or that account does not exist.
Stripe\Exception\OAuth\InvalidClientException: This application is not connected to stripe account acct_1O4mLkKCc0YxVqNU, or that account does not exist. in /Users/benmartin/Projects/webapp/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php:38
Stack trace:

Related Request ID(s)
req_6QltqNRZ3vJEqF

What have you already attempted?
n/a

cursive heronBOT
cursive heronBOT
#

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

Question
Currently the Product data model doesn't account for supporting multiple languages – there are fields on a product that are intended to be shown to the user, but no ways to specify alternate values for alternate locales. I can think of a few ways of handling this:
- create a different product for each locale
- use the a default locale to populate these fields, and provide translated values elsewhere (or store them as metadata) - but then in places where Stripe uses these values directly, such as checkout or emails sent by Stripe, these fields won't be translated.

What is the current recommended approach to multi-lingual products? Is better support on the roadmap?

Doc/Guide Links
https://docs.stripe.com/products-prices/how-products-and-prices-work
https://docs.stripe.com/api/products

What are you working on?
migrating pricing management from internal DB to Stripe products/prices

#

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

Code
const stripe = useStripe();
const elements = useElements();
elements?.update({
mode: 'payment',
amount: paymentPlan.one_off_amount,
currency: 'usd',
setup_future_usage: 'off_session',
});

const { error } = await stripe.confirmPayment({
elements,
clientSecret,
confirmParams: {
return_url: `${window.location.origin}/curricula/${curriculumSlug}`,
},
});

Question
I'm using react stripe elements for my payment page. When a user uses a card saved on file, the `useElements` hook doesn't seem to be passing the card details and so I get this error thrown

"message": "You passed an empty string for 'payment_method_data[card][number]'. We assume empty values are an attempt to unset a parameter; however 'payment_method_data[card][number]' cannot be unset. You should remove 'payment_method_data[card][number]' from your request or supply a ....

What have you already attempted?
I've tested out the different flows and have been able to narrow down that this problem only exists when an existing credit card is used. I reviewed the stripe doc (my code is very similar to it) to make sure I'm not missing something either.

https://docs.stripe.com/sdks/stripejs-react#useelements-hook

What are you working on?
Edtech platform

cursive heronBOT
#

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

Question
I'm trying to test adaptive pricing, and I'm making a checkout session using customer_email="test+location_FR@example.com". But it's still showing USD pricing on the checkout page. Any idea why??

Related Request ID(s)
req_hkDPu4kr6aREun

What have you already attempted?
Covered in the question

#

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

What did you expect to happen?
Only payment methods I allow should be available.

What actually happened?
Customers are seeing "Alipay" as an option in their dashboard.

Reproduction Steps
Open dashboard on connected account - "Alipay" is available there where it isn't on the one managing the payment options.

Question
I have customers integrating with a Stripe Connect account. We're using dynamic payments, and have most payment methods blocked except for a few.

Customers are seeing "Alipay" as an option in their dashboard. I don't even see that as an option on my side - so how do I block it via the api or the dashboard?

What are you working on?
Recent transition from card element to payment element.

#

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

Question
Is it possible to delete specific invoice line items from an upcoming invoice? I get 404, I suspect the delete invoice item endpoint is the incorrect one to use.

Related Request ID(s)
req_ESkj2CNDPOGU1o

What have you already attempted?
Deleting via the invoice item endpoint, DELETE /v1/invoiceitems/id

What are you working on?
Upgrading subscriptions, there may be some items added during the period that needs to be removed

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

We are currently offline. We will be back at 9am SGT on Wednesday, November 27. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
I keep getting the following error:
Received both starting_after and ending_before parameters. Please pass in only one.; request-id: req_WKaFMXRwW4SAbJ
But I'm only sending one.

Related Request ID(s)
req_WKaFMXRwW4SAbJ

What have you already attempted?
if (direction > 0) {
params = PaymentIntentListParams.builder().setCreated(PaymentIntentListParams.Created.builder().setGte(dateFrom.getEpochSecond()).setLte(dateTo.getEpochSecond()).build()).setLimit(100L).setStartingAfter(lastFetched.getMaxCursor() != null ? lastFetched.getMaxCursor().getTransactionId() : null).build();
} else {
params = PaymentIntentListParams.builder().setCreated(PaymentIntentListParams.Created.builder().setGte(dateFrom.getEpochSecond()).setLte(dateTo.getEpochSecond()).build()).setLimit(100L).setEndingBefore(lastFetched.getMinCursor() !=

#

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

What did you expect to happen?
if payment need 3DS, show 3DS correctly

What actually happened?
if payment need 3DS, only show visa popup and close

Reproduction Steps
pi_3QOu63AVizGwNvbc2EC4AyGy
for this customer do any payment will cause this issue

Question
We are using Stripe v3 SDK. Only this customer can't process 3DS. It shows pop up with VISA and close it immediately.

What are you working on?
payment with 3DS

cursive heronBOT
#

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

Question
I am working on a tipping mechanism. Do I use submit_type=Donate? I have 2 types of tipping. One would be for tipping my website itself which has a donation product ID. Another would be for tipping a connect ID (not sure if I should use the same donation product ID for this).

https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-submit_type

Related Request ID(s)
N/A

What have you already attempted?
I have a tipping mechanism for my website, not sure if I need to use same product ID again for a stripe connect id this time.

cursive heronBOT
#

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

Question
On a webhook that gets sent from Stripe, is it possible to determine if the action was done via the API or via a user on the Stripe Dashboard?

Related Event ID(s)
NA

What have you already attempted?
I can see that there is a "source" filter when looking at events in the dashboard: https://docs.stripe.com/development/dashboard/events
But I'm wondering if I can infer that on the webhook itself.

What are you working on?
I want to know if a refund was initiated by my application code, or if a customer service agent in the dashboard has clicked the button

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/connect-reader?reader-type=simulated

Question
I need to do token payment in reader S700. is it possible?

like when a customer pay, we saves that payment method and after that can i attach that payment method to the terminal reader payment instead of swipe card again?

What have you already attempted?
nothing. was finding doc. but found nothing.

#

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

Code
hi i am using stripe embedded i am integrated payments list page i need to change the text colour inside the button how can i achieve that?

Question
hi i am using stripe embedded i am integrated payments list page i need to change the text colour inside the button how can i achieve that?

What have you already attempted?
hi i am using stripe embedded i am integrated payments list page i need to change the text colour inside the button how can i achieve that?

cursive heronBOT
#

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

Question
I am getting this error wile trying to create a connected account for an Indian user(Sandbox).My App use case I should able to created cross borderr conncted accounts : Connected accounts in IN cannot be created by platforms in US. Please contact us via https://support.stripe.com/contact if you need further assistance.

Related Request ID(s)
req_grYxUO5rkp2Ck1

What have you already attempted?
Tried Accounts create api using Stripe Nodejs SDK

What are you working on?
We are building an app where one of payment requirment is that the customers of our Portal should able to directly make payment to their merchants without any transactions into our Stripe account

#

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

Question
Would the latest_charge of the payment_intent work too?

"latest_charge": "ch_3QPeCBIeTJrsS1re1O9qBX7I",

payment_intent.succeeded webhook event

stripe.Transfer.create(
amount=7000,
currency="usd",
source_transaction='{{CHARGE_ID}}',
destination='{{CONNECTED_ACCOUNT_ID}}',
)

Related Request ID(s)
req_8Gfjj3qoiZgAej - Not sure

What have you already attempted?
Tried testing it with 1 example.

cursive heronBOT
#

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

Question
Is it possible to create an invoice and the line items within it and send to the customer (via email) all in one Stripe API call?

Also is finalising the invoice the same as sending the invoice to the customer?

I'm looking to build functionality into our system that holds Stripe customer ID's to send complex line item in an Stripe invoice email to the customer (stripe hosted)

Related Request ID(s)
N/A

What have you already attempted?
I've looked into the API documentation and it seems like its a multi step process always, e.g., create the invoice, create each invoice item, finalise and send the invoice.

What are you working on?
Physical asset installation(Solar), post install final payment

#

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

What did you expect to happen?
I expect that my stripe terminal accepts payment everytime when i tap card on it

What actually happened?
Sometime my terminal stopped working even when connected. I have checked via logs there was no disconnection message or error in my app logs but on some devices my payment state become Not ready automatically after ready state

Reproduction Steps

  1. Setup Token
  2. Initialize terminal
  3. Create payment intent
  4. Tap to pay

Question
Sometime my terminal stopped working even when connected. I have checked via logs there was no disconnection message or error in my app logs but on some devices my payment state become Not ready automatically after ready state

What are you working on?
Android kiosk app for payment

cursive heronBOT
#

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

Question
Can i attached a card_present payment method to a customer?

Error: PaymentMethods of type 'card_present' cannot be saved to customers.

Related Request ID(s)
none

What have you already attempted?
Nothing

cursive heronBOT
#

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

Question
I'm working on a Udemy-like clone and need help with the Stripe webhook secret setup. Here's what I want to know:

  1. How do I get the Stripe webhook secret for local testing?
  2. Do I need KYC verification for testing webhooks locally?
  3. Which specific events should I listen to for a course platform? I'm guessing:
    - checkout.session.completed
    - payment.succeeded
    - customer.subscription.created
    - customer.subscription.updated
    - customer.subscription.deleted

Currently testing on localhost:3000. Would really appreciate if someone could guide me through the webhook setup process

Related Event ID(s)
acct_1QPg5FFbwZ1AaOxr

What have you already attempted?
I have not tried anything yet , this is the first time I'm exploring stripe. No idea if I have set correct event id or not

What are you working on?
Udemy like clone

cursive heronBOT
#

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

Code
const {
charges: { data = [] } = {},
metadata, description,
} = stripePaymentIntent;

await Bluebird.mapSeries(data, async (chargeData) => {
if (!chargeData.transfer) {
return;
}
const paymentIntentTransferData = await stripeSDK.transfers.retrieve(chargeData.transfer);
const { id: transferId, destination_payment, destination } = paymentIntentTransferData;

if \(transferId\) {
  await stripeSDK.transfers.update\(transferId, {
    de

Question
How can I update the transfer of a successful payment intent?

What have you already attempted?
I tried to retrieve the payment intent and extend with charge or transfer.

What are you working on?
I'm trying to update the transfer from a payment intent with description and metadata. Migrated from an older api version and node package

cursive heronBOT
#

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

What did you expect to happen?
If i pause a subscription with the behavior set to void, then I expected all future invoices to be voided

What actually happened?
An invoice got finalized and got paid

Reproduction Steps
Pause the payment collection for a subscription with the collection behavior to void. Trigger the renewal

Question
I have a subscription that I had paused with the behavior as void, but then the renewal invoice didn't get voided and the payment got attempted for the invoice. Here's the request log that paused the subscription - `req_eXtDg5EAOfGf4P` but then this invoice (`in_1Pu7cqA5BZ3mzPMyDLYMCPaK`)was paid. I wanted to know why

cursive heronBOT
#

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

Code
var paymentMethodOptions = new PaymentMethodCreateOptions
{
Type = "card",
Card = new PaymentMethodCardOptions
{
Token = rawToken
}
};

Question
i am getting an error invalid token id while creating payment method.

What have you already attempted?
n/a

What are you working on?
am working on apple pay integration using flutter and .net

cursive heronBOT
#

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

Question
Is there a way to retrieve card issuer information programmatically?

We can see the issuer on the dashboard on Payment Intents and on Payment Methods, but seemingly not via the API.

Related Request ID(s)
pm_1OYzLTCxlkTqLKpvgs7OVjl1 / pi_3QLZfcCxlkTqLKpv1x8blxx8

What have you already attempted?
I've checked the documentation, tried fetching various payment methods via the API, checking payment intents, and tried searching our Data Warehouse, but couldn't find issuer information so far.

What are you working on?
One issuer (used by various Austrian banks) seems to be blocking 100% of our payments. I'm trying to figure out the extent of the problem (and be able to detect this for other issuers in future).

#

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

Question
I have created a connected account for one of vendor in my stripe account.Now i have a portal from which the vendor customer should able to make payments and it should be directly credited to linked bank account of connected account.

Related Request ID(s)
req_grYxUO5rkp2Ck1

What have you already attempted?
Already created a conncted account and generated activation link and activaed the account

What are you working on?
A platform where vendors can sell their products and customers can purchase them by directly paying to vendors directly

cursive heronBOT
#

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

Question
We have a use case where customer support can create a Subscription to a client via phone. We should have the client PaymentMethod (card) details already. For that I am following the guide linked below, but instead of loading StripeJS to pay, I am passing `default_payment_method` in the Subscription creation.

I did a test and I see the Subscription and related Invoice in Stripe, but it is stuck in incomplete. How does the payment get processed in such cases?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements

What are you working on?
Subscription integration

cursive heronBOT
#

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

Question
Hello is there any way how we can by API create for customer in stripe US Bank Account (type non checking one)
We are using Stripe integration via Saleforce COmunity
We are able to create Payment Methods or Payment by webelement also we have customer portal sesion where customer can create paymnet methods but customers are not able create non checking Us Bank Acount
this type of payment method we are able to create only directly in Stripe so far.
So i am looking if there is some other way hove to create that by api. Thank you!

Related Request ID(s)
no Id of log provided we are unable to get into this state

What have you already attempted?
WEbelemnts

What are you working on?
Customer Portal on Salesforce platform

#

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

Question
Hey there! Is there a way to verify a user's age during checkout without having to go through stripe identity? We are currently using a thrid party provider that verifies the age of a customer and one of the options is to verify the age by using a credit card. Is there a possibility to do this directly with stripe, i.e. to setup the API call (or our product in stripe) so that it fails any purchase attempt if the credit card belongs to someone under the age of 18?

Related Request ID(s)
None (I think)

What have you already attempted?
I've read the docs, searched the net, but couldn't find anything other than stripe identity

What are you working on?
Online group sessions for teenagers

cursive heronBOT
#

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

Question
hi,
I added a domain into the payment method domains with the api. In the request to retrieve it I see it, but in the interface there ar only the ones I added manualy from there
what am I missing ? :)

Related Request ID(s)
pmd_1QPizrG5NORjrd4meOrQvXZj and account acct_1A8P8ZG5NORjrd4m

What have you already attempted?
this is the code used for
$response = \Stripe\PaymentMethodDomain::create(
['domain_name' => 'tudor21.kartradev.com'],
['stripe_account' => $this->connectedAccount]
);

#

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

Question
am getting payment failed error while processing apple pay payemt

Related Request ID(s)
n/a

What have you already attempted?
process apple pay payment via flutter and stripe

What are you working on?
am working on apple pay integration using flutter and .net

cursive heronBOT
#

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

Question
Response Message : The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first.,

Related Request ID(s)
"pm_1QPjwdAGbPj5wN7hbYJ06fCs"

What have you already attempted?
Am I missing any steps?
Step1: created Setup intent and attached customer to it. saving the customer and payment methos=d for late use in payment intent.

var options = new CustomerCreateOptions();
var service = new CustomerService();
var customer = await service.CreateAsync(options);

var setupIntentOptions = new SetupIntentCreateOptions
{
Customer = customer.Id,
PaymentMethodTypes = new List<string> { "us_bank_account" },
PaymentMethodOptions = new SetupIntentPaymentMethodOptionsOptions
{
UsBankAccount = new SetupIntentPaymentMethodOptionsUsBankAccountOptions

What are you working on?
Working on ACH (us_bank_account) type.

#

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

Question
Hi, we are using woocommerce with the stripe connect plugin and just upgraded to the latest version of the plugin 8.x from 7.x. All looks well, but making an EPS paymentm , it takes about 3 minutes before the status update arrives in woocommerce . This was just a few secconds in the old verrsion

Related Event ID(s)
py_3QPjpALPrFn9Fqyp13tZ9054

What have you already attempted?
I've looked for a setting (?) to increase the stripe > woocommerce pingback interval..

What are you working on?
this is an existing webshop based on woocommerce. The frontend is build with reactjs. FE <> BE communication is done with GraphQl

cursive heronBOT
#

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

What did you expect to happen?
Payment Success By Tapping Card on Card Reader

What actually happened?
Payment status moved to Not Ready

Reproduction Steps

  1. Initialize Terminal
  2. Setup Token and Location
  3. Discover Readers
  4. Connect to card reader
  5. Reader connected
  6. Payment status waiting for input and ready
  7. Status changed to not ready sometimes

Question
On some devices i am facing some issues of payment status changing to not ready and usb disconnection issue while reader is plugged in

What are you working on?
Android Kiosk App and we are fetching connection token from server

#

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

Question
I created a restricted key but when trying to use, its failing with the following error: "does not have the required permissions for this endpoint on account ...rak_accounts_kyc_id_numbers_read"

Related Request ID(s)
req_r5ggPeMF0yG300

What have you already attempted?
Finding the permission

#

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

Question
We get this error when we try to init embedded checkout session that is rendered in the UI No such payment_page: 'cs_test_a12JmKe5GeXKAI8nSyq5AsAnEmC6Q23X1bmLHnRUdTfcfKjeMzh8rQZm9o'"

Related Request ID(s)
req_3Ih9etlsiJdSMa

What have you already attempted?
I see that the session was successfully created , however the checkout component returns this error.

cursive heronBOT
#

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

Question
Stripe webhook returns 403 Forbidden using Laravel & Cashier, for `customer.subscription.updated` and `invoice.payment_succeeded` events after the update of the subscription from the Billing Portal.

Related Event ID(s)
evt_1QPl9THS7rOGAHRAFcGQpCEU

What have you already attempted?
I have successfully set up in local environment webhook listener, and everything is working. In the deployed version I'm getting just 403 Forbidden for `customer.subscription.updated` and `invoice.payment_succeeded` events.

Subscribe through Stripe Checkout is working properly on the deployed version and the webhook is triggered successfully.

cursive heronBOT
#

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

Question
We are integrating the ACH payment option, for micro deposit, what email stripe will sent to user ? I'm trying in test account I'm not getting any email for account verification how I can enable it in test account?

Related Event ID(s)
pm_1QPlqsAnNCVtLnlxfPFzvQHw

What have you already attempted?
We are integrating the ACH payment option, for micro deposit, what email stripe will sent to user ? I'm trying in test account I'm not getting any email for account verification how I can enable it in test account?

What are you working on?
We are integrating the ACH payment option, for micro deposit, what email stripe will sent to user ? I'm trying in test account I'm not getting any email for account verification how I can enable it in

#

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

Question
Here’s the flow we aim to achieve:
1. User Checkout:
• A customer adds products from multiple sellers to their cart.
• The user enters their card details once during checkout.
2. Separate Payments for Sellers:
• The cart is split by seller, and Stripe processes separate transactions in the background for each seller.
• On the user’s card statement, the payment for each transaction should reflect the seller’s name, not the platform’s.
3. Direct Payouts:
• Funds from each transaction must be sent directly to the respective seller’s account.
• The platform should not hold or handle these funds at any point.

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges

https://docs.stripe.com/connect/direct-charges-multiple-accounts

What are you working on?
I’m building a platform where users can purchase products from multiple sellers in a single checkout session, and we need guidance on how to implement the payment flow properly using Stripe Connect

#

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

Question
I need to handle some logic on payment success on stripe checkout. Which type of event should I listen to?

In questions are one-time payments and I need to send some emails and create some invoices on success.

Related Event ID(s)
x

What have you already attempted?
I need to handle some logic on payment success on stripe checkout. Which type of event should I listen to?

In questions are one-time payments and I need to send some emails and create some invoices on success.

cursive heronBOT
#

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

Question
Hello, we're integrating Stripe embedded onboarding component, and we are facing an issue with terms of use. We want to onboard non-US customers that should only have transfers capabilities. Stripe gives us error that recipient terms of service is required in order to claim transfers capabilities. But we want to ask for terms of service agreement as part of the embedded onboarding form (last step), not in advance. How we can achieve that?

Doc/Guide Links
https://docs.stripe.com/connect/embedded-onboarding

What are you working on?
Embedding onboarding flow

#

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

Question
Step1: created Setup intent and attached customer to it. saving the customer and payment methos=d for late use in payment intent.

step2: Making call to confirmUsBankAccountSetup by colecting the routing and account number.
Step3: Making a payment as below using the cutomer and payment method
getting an error Response Message : The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first.,

Related Request ID(s)
'https://dashboard.stripe.com/test/logs/req_PNUGzXRMkTb7dv?t=1732720751

What have you already attempted?
i tried using microdeposit and also instant. for microdeposit error. Response Message : The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first., for Instant: erro The payment details you provided are invalid.'

cursive heronBOT
#

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

What did you expect to happen?
the site shows a cookie warning instead of payment elements

What actually happened?
the site shows a cookie warning instead of payment elements

Reproduction Steps
https://checkout.hb-marketplace.com/checkout/468d1aac-88b0-4312-ae37-6abaed2e1302/pay?token=nv8zznLvFw4au7ZQsFoV5Jjo2VakefQR5eNwx0FNZBaEbMeYcNHnnNJ28ukj8lPo

Question
the site shows a cookie warning instead of payment elements - why?

What are you working on?
we are an b2b ecommerce shop

cursive heronBOT
#

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

Question
I am working with coupons and promo codes in connect accounts. I would expect that redemptions & would fire coupon.updated & promotion_code.updated events, but I don't see those coming through. The coupon only seems to be updated once it's no longer valid.

Events I expect but don't see:
* redemptions updating for coupons and promo codes
* active on promo code when the coupon becomes invalid

I cannot find any documentation on exactly when webhooks fire

Related Event ID(s)
evt_1QPnUlQ79oA3rs3ekVbOhCsO, evt_1QPnepQ79oA3rs3eqSpNfun3

What have you already attempted?
I tried updated metadata to make sure the webhooks were set up correctly, they are.

What are you working on?
I have connect accounts where I'm surfacing coupon creation in my application. Im building a dashboard in my app to give them realtime coupon info including # of redemptions

#

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

Code
invalid_request_error
invalid_subscription_schedule_stacked_discount_promotion_code

Question
Hey! Im getting this error for a specific customer (and it worked for others) but I don't see any stacked coupons. I also couldn't find the documentation for that code. Any help here is appreciated.
Logs link: https://dashboard.stripe.com/logs?object=sub_1PgVntDlgG4V75nnfG5L3rp7&starting_after=1732719671-req_oRf7Lo87rdi9yt

What have you already attempted?
Look for stacked coupons in the customer, looked for the documentation. Double checked my code is set up correctly.

#

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

Question
Hi I’m trying to give a 3 day trial for 0.99 before getting into a weekly billing subscription. How do I do this

Related Request ID(s)
Xx

What have you already attempted?
I tried just embedding a discount code into the creation of the checkout form, but that gives a 7 day trial for 0.99, I need 3 day trial for 0.99 automatically goes into weekly billing

cursive heronBOT
#

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

Question
I just wanted to ask in general:
Hi, It is possible to view orders in Apple Wallet.
Is there anything possible via the stripe api?
Thank you!

Related Request ID(s)
-

What have you already attempted?
Look in the Docs, api docs, but don’t found any informations

What are you working on?
Show orders in apple wallet

#

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

Question
I'm having trouble with Stripe charging for a subscription, seems to be skipping a day and then it tries to charge on the 3rd day.

Related Request ID(s)
evt_1QPmdBATCXjCgCHXRG9CYogW

What have you already attempted?
i haven't tried anything different because it seems to be correct but obviously its not

What are you working on?
Daily subscriptions is what I'm working on. I want the user to be able to switch from 1 subscription to another and therefore using the api call "create a Schedule" and "update a schedule"

cursive heronBOT
cursive heronBOT
#

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

Question
When we use a connected test client in Ireland, calling endpoint `terminal/locations` we got an error ```{"error":"Unsupported country for Stripe: IE"}``` but I could not find anywhere for country support

Related Request ID(s)
I don't have access to the testing stripe account

What have you already attempted?
We tried account from Canada and UK, both are working.

What are you working on?
We are working on a tap2pay feature.

cursive heronBOT
#

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

Code
<PaymentElement
onChange={(e) => {
console.info('Payment Element changed', e);
}}
/>

Question
I've successfully got PaymentElements working and configured with a customer session so that it saves the payment method. Im looking for a way to validate that "Save payment details for future" is selected, or some option to enforce that.

What have you already attempted?
I've tried looking at the onchange event to see if there is a property there that can help determine this.

What are you working on?
Migrarting from sources/charges to intents/elements. In my previous flow we would first collect the card and then had the user charge the card.

#

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

Question
I need to send ALL subscription events from my sales. I configured it wrong at the beginning and I need to resend everything again, to have the perfect integration with the membership platform.
I need to do this through the Stripe Dashboard

Related Event ID(s)
invoice.payment_succeeded

What have you already attempted?
I've already tried to resend via the webhook page, but only the payment_intent.succeeded events appear to resend, which were the ones I configured at the beginning. However, I needed the invoice.payment_succeeded trigger to have my integration working.

What are you working on?
Members area integration

cursive heronBOT
#

@bold compass 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 contact stripe support

What actually happened?
it says 24/7 availability but when i click on it, it goes back to articles and not the help chat.

Reproduction Steps
i keep looping between clicking on support for help and being returned to the same page, and not connecting to the chat.

Question
is there anything that can be done on the back end to fix this? at all? because if stripe support is available 24/7 but the link isnt connecting then you lot on Dev need to fix this!

#

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

Question
Hello,

My webhook stopped works reporting this error:
Webhook error while validating signature.

Related Request ID(s)
req_2O7vtwgtCGFZDV

What have you already attempted?
Since it works for last 5 months without any problem and i did not change anything, i just wanted to know some support from stripe, my keys remains the same and stripe report to my server, however it get status 400 because invalid signature.

#

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

Question
We send out about 120- 150 NEW invoices a month. We also start billing our renewals 3 months in advance so we are sending out hundreds of reminders each month. We need a simple system that can integrate with our CRM (but we can use the API if needed) that has a function where we can send out unlimited reminders. This is the thing that Square cannot provide. We send out about 200 reminders a week currently and we use QB for that. And it is all manual! We are looking for system that will allow us to create the invoice and then set up at least 8-10 reminders.

Related Request ID(s)
N/A

What have you already attempted?
From what I can see on your docs, I can do 3 notifications per invoice? Before the due date, on the actual due date and after the due date.
If we do it via API, can make it 8-10 reminders?

#

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

Question
I need to add an external bank account to a connected account. I can create a SetupIntent and succesfully get a Payment Method ID. According to the docs here:

https://docs.stripe.com/connect/payouts-bank-accounts?bank-account-collection-integration=direct-api

I need to tokenize the result. However this does not compile under the v81 *golang* SDK:

`
params := &stripe.TokenParams{
BankAccount: &stripe.BankAccountParams{
PaymentMethod: stripe.String("{{PAYMENT_METHOD_ID}}"),
},
Customer: stripe.String("{{CUSTOMER_ID}}"),
};
`

Notably `PaymentMethod` does not exist.

Related Request ID(s)
n/a - this is a compile time issue

What have you already attempted?
I create a SetupIntent and execute the Financial Connections flow just fine on the client side. My issue is purely a compile time one. I can't do what the docs suggest.

What are you working on?
I am working on a issuing/treasury project

#

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

Question
Have one stripe account with two bank accounts, setup stripe connect and trying to link payment from one wordpress form into one specific account

Related Request ID(s)
req_IBY0mWuobC8ONT

What have you already attempted?
wordpress gravity forms, stripe implementation,etc

What are you working on?
website payment for non-profit wordpress

cursive heronBOT
#

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

Code
export const useStripeElementOptions = ({
isPaywallDigitalWalletEnabled,
paywall,
price,
}: UseStripeElementOptions) => {
if (!isPaywallDigitalWalletEnabled) {
return {};
}

return {
payment_method_types: ["card", "link"],
mode: "subscription",
setup_future_usage: "off_session",
currency: paywall.currency_code,
amount: price.amount,
};
};

Question
Recently, some payments are not being confirmed because PaymentElement is raising the following error:

```
The provided payment_method_types (["card"]) does not match the expected payment_method_types (["card", "link"]). Try confirming with the same parameters in both the API and Stripe Elements.
```

Recently, we started passing the payment methods ["card", "link"] because the PE are fetching the PMs from the Invoice settings, instead relying on the PMC's connect account.

What have you already attempted?
I tried to replicate this error but I'm not able to replicate because Link is not supported on my country.

What are you working on?
Trying to understand and fix this issue.

#

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

Code
export function PaymentModal({ onClose, onSuccess }: PaymentModalProps) {
const [clientSecret, setClientSecret] = useState<string>();
const [error, setError] = useState('');
const [isLoading, setIsLoading] = useState(true);

useEffect(() => {
const initializePayment = async () => {
try {
const functions = getFunctions();
const createPaymentIntent = httpsCallable(functions, 'createPaymentIntent');
const result = await createPaymentInte

Question
I am getting an error from the stripe dashboard when I switch from test keys to live keys. It is saying that "The client_secret provided does not match any associated PaymentIntent on this account.", which to me doesn't make sense because the PaymentIntents are being created in the backend when the user clicks my payment button.

When I am in test mode and use my test keys, everything works. But after I switch off test mode and use my live keys instead, I get this error.

What have you already attempted?
I have tried changing the way PaymentIntents are called but I'm not sure if that would even work since everything works with test keys. Is there something specific I must do to test my app in production?

What are you working on?
Website to help train sales associates with AI

#

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

Code
const session = await stripe.checkout.sessions.create({
line_items: [{ price: args.priceId, quantity: 1 }],
customer_email: user.email,
metadata: {
userId: user.subject,
priceId: args.priceId,
},
mode: "subscription",
success_url: `${domain}/dashboard`,
cancel_url: `${domain}`,
automatic_tax: { enabled: true },
allow_promotion_codes: true,
});

Question
When he checkout flow finishes, and a user subscribes, no receipts are being generated to their email.

What have you already attempted?
I have toggled on the 'successful payments' setting in the Business -> Customer Emails section of the dashboard.

What are you working on?
Working on ReactStudyKit.com - subscription learning platform

#

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

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

Question
Sending request to external webhook on create customer trigger. I am using the Stripe CLI. I am working on my webhook on my local. When I fire a customer.create trigger from stripeCLI it says on stripe dashboard that new customer created with name and email all null. I was hoping it will send data to my webhook, how should I achieve that?

Related Event ID(s)
On CMD listing to my localhost webhook, after firing customer.create trigger it dosn't send any data to my webhook but creates new customer on dashboard

What have you already attempted?
checked online docs on Receive Stripe events in your webhook endpoint

cursive heronBOT
#

@spiral bluff pressed the 📚 Doc or 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/currencies#application-fees-for-destination-charges-and-converting-balances

Question
For direct charges it mentions that application fees will be settled in the currency of the platform. However, what's not mentioned is what currency is the application fee amount being charged in the first place. Is it the connected account's currency or my platform's currency.

E.g. if I set params to have payment intent amount as 1000 EUR, then this is the presentment currency. Now if I set application fee to 10, would that be in EUR or my platforms currency? Is there any way to configure that?

What have you already attempted?
Context is here
https://discord.com/channels/841573134531821608/1310884333527105587

What are you working on?
NFT Checkout service for clients to build their own NFT marketplace and sell NFTs using our services. Shopify model.

cursive heronBOT
#

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

Question
I am trying to find on the stripe dashboard where this metadata for the checkout product_data is located. I need help finding it. I see it in the logs, but is there a way to see it in the subscription object on a customer id profile for example?

Related Request ID(s)
req_JNVoF7cjFEuCRj

What have you already attempted?
I found it in the logs, but not sure where to find it normally if I need to do any sort of reporting.

#

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

Code
I don't know the code for this

Question
I have made a product with a recurring cost. This gives me a subscription id when a user buys the product for it's recurring price.

I want to create an api that receives the subscription id and cancels it's renewal.

What have you already attempted?
I have implemented subscriptions, just not cancelations.

What are you working on?
I have an android client and a nodeJS backend. I am working on the nodeJS backend.

cursive heronBOT
#

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

Question
My client needs a complex pricing table. Specifically, he want to have 2 groups of products. Each group consists of 5-6 products. 3 products are one off while the other 3 will create a subscription. Also, one of the one-off products should be priced per seat and one of the subscription products will be priced per seat as well. The end user should be able to select the number of seats in the website UI. The end user should make a single payment but in the backend 3 one-off products should be paid to the platform while the fourth one should be paid to a connected account. Similarly, one of the subscriptions should be paid to the platform and the other to a connected account.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/quantities
https://docs.stripe.com/products-prices/pricing-models#per-seat
https://docs.stripe.com/payment-links

What are you working on?
Pricing tables didn't work so I turned to payment links. I want to update the quantity of a product via a webhook and redirect to the updated payment link. I didn't find in the API how to update a payment link's line items.

cursive heronBOT
#

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

Question
let microDepositResult = await stripe.verifyMicrodepositsForSetup(setupIntent.client_secret, {
// Provide either a descriptor_code OR amounts, not both
//descriptor_code: `SMT86W`,
amounts: [32, 45],
});

Related Request ID(s)
checking the feasibility here

What have you already attempted?
What I need to do in the production environment, for this code? is this code work in production

What are you working on?
I need to verify the ach account for future payments

#

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

Question
With a fullstack Stripe App, can I take action on a connected account programmatically from my backend without needing to ask for confirmation from the user via a Stripe App UI View? Say for example I need to create a new Stripe subscription on behalf of that account as a response to an external event: i.e. when the user buys a product from a reseller in my platform? if so, how would i handle auth in that case?

Doc/Guide Links
https://docs.stripe.com/stripe-apps/api-authentication

What are you working on?
b2b2c reselling platform for digital subscription

#

@thorn bone pressed the 📚 Doc or 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 want to support growth plan pricing for my platform. I sell document pages to be processed.

On subscription, checkout I want to bill the user 299$ monthly and I want to add 1000 pages worth of credits on his account.

On the checkout page, how can I add this information that 299$ would give him 1000 pages worth.

What have you already attempted?
I have tried adding description but the description for the product is static.

I also support 399$ for 1500 pages, and 499$ for 2000 pages. I want this information to be on the checkout based on which plan the user chooses to subscribe.

I will attach screenshot

What are you working on?
Integrating growth plan pricing for my platform

#

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

Question
Try to create product with breaklines in description

Related Request ID(s)
Nop

What have you already attempted?
I want create a product with this description :

Date : xx/xx/xxxx
Formateur : ....
Adresse...

Because the product is for face-to-face training

cursive heronBOT
#

@spiral bluff pressed the 📚 Doc or 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/currencies#destination-charges-on-behalf-of

Question
What's the difference between (direct charges) vs (destination charges + on_behalf_of) because they almost seem like the same thing. Except for two things
1) We can cover Stripe fees for the customer
2) It seems (as the doc has suggested) that the application fee does come to the platform account in the connected account's settlement currency.

E.g. the connected account charges in EUR(presentment currency) and the account settles in HKD. So EUR is converted to HKD. The HKD application fee is transferred to our account as HKD even though we settle in SGD or USD.

What have you already attempted?
Tried out different types of charging, direct vs destination, etc.

What are you working on?
NFT Checkout solution following Shopify model.

#

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

Question
subscription recurring payment time 3D secure flow bypass possible ? if i have change the new 3d secure card add and this new card is default payment method set

Related Event ID(s)
evt_1QQ0bFIErBwOu8QAt1yXNJsv

What have you already attempted?
i was purchased subscription in normal card then i have added new 3d card so my question authentication process bypass and payment success fully paid.

What are you working on?
Subscription

cursive heronBOT
#

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

Question
How to restrict payment methods of Stripe Connect when create Checkout session

Related Request ID(s)
-

What have you already attempted?
How to restrict payment methods of Stripe Connect when I create/update Stripe connect account, I want to allow 'Card' and 'Link' only when create Checkout session

(I'm using Golang)

What are you working on?
Create/Update Stripe connect account's Payment methods

cursive heronBOT
#

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

Question
I want to update terms agreement type from Recipient to full in connected account

Related Request ID(s)
N/A

What have you already attempted?
I have gone through stripe documentation but didn't get any solution

What are you working on?
Payment Gateway

#

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

Question
I want to simulate subscription declined on payment failure when subscription cycle comes. and webhook received for this on my backend. will test clock help in it?

Related Event ID(s)
sub_1QQ2hKS4f9sxCRXI3BkvzHjC

What have you already attempted?
I have attempted to set test clock but could not get webhook

#

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

Question
We get this error when i am trying to do Stipe connect using standard way,

error like : "Stripe Connect is disabled until you complete your Atlas application."

Related Request ID(s)
req_OoLoFOsss51yOD

What have you already attempted?
Checking the atlas deocumention bu didn't enough information to solve this issue.

cursive heronBOT
#

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

Code
require("dotenv").config();
const express = require("express");
const cors = require("cors");
const stripe = require("stripe")(process.env.STRIPE_PRIVATE_KEY);
const admin = require("firebase-admin");

const app = express();

const serviceAccount = require("./firebase-credentials.json");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
});
const db = admin.firestore();

app.use(
cors({
origin: process.env.CLIENT_URL || "http://localhost:5501"

Question
Im trying to make it so once a user has paid there plan gets updated

What have you already attempted?
Yes ive been working on this for 3-5 days

What are you working on?
my hosting business

cursive heronBOT
#

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

Question
my question is in the setup intent step, how do I verify with microdeposit

Related Request ID(s)
checking the feasibility here

What have you already attempted?
I have created setupintent using us_bank_account type, with microdeposit, how do I verify this in the confirmBankSetup() method.

What are you working on?
I am still looking for microdeposit verify in the setup intent -> confirmBankSetup steps

#

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

Code
I need stripe fee how find it

Question
How find stripe free i have only this ch_3JzflrIwTotzSc472wW5D365

how to find this

What have you already attempted?
stripe fee find

What are you working on?
stripe fee find

#

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

What did you expect to happen?
Stripe Elements does not throw Warning for activated payment methods

What actually happened?
Stripe Elements throws "The following payment method types are not activated" for "sepa_debit" even though it is activated (Testmode)

Reproduction Steps

  1. Create Connected Account with capabilities.sepa_debit_payments.requested = true
  2. Create Payment intent for that connected account
  3. Load Stripe Elements with the client secret from #2
  4. Stripe Elements will show warning that sepa_debit is not enabled with a link to dashboard to enable it (which shows that it is enabled)

Note that I'm doing this in testmode.

Question
Where is the source of truth for enabled payment methods for connected accounts?

What are you working on?
Marketplace using Stripe Connect

cursive heronBOT
#

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

What did you expect to happen?
Setting the customer on a stripe checkout should let the user choose their credit card

What actually happened?
It doesn t

Reproduction Steps
Create a stripe checkout session and set the customer id on it

Question
How can I let the user choose their card in the stripe checkout page

cursive heronBOT
#

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

Question
I'm generating payment links via the API so basically creating product, price and payment link. Company is based in the UK and we need to charge the standard 20% tax. We dont' want to show it in the UI, but we want to show the tax breakdown in the invoice

Related Request ID(s)
Tax

What have you already attempted?
I have been able to set up automatic tax and assign the tax code to the product, but then if the customer lives in Spain, payment link is calculating the tax as 0. How can I do the set up so the tax is calculated for the origin (UK) and not for the destination (customer billing address)?

#

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

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

Question
what are the conditions for the verify ownership, because we do not have /.well-known/apple-developer-merchantid-domain-association accessible, and still the domains are enabled. I added them both by api and manually
thanks

What have you already attempted?
I have an account acct_1A8P8ZG5NORjrd4m where I am adding payment method domains. It looks like all become enabled (testmode or not), without having that file accessable. I even added cici.com :) that has pmd_1QQ5uPG5NORjrd4mSkWIBfps

cursive heronBOT
#

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

Question
that sending an email to cutomer is offline process not from our application correct?
correct
and when the customer verifies it opening the link then only the status will be updated in your server as Succedded or completed.
correct you will receive a webhook event
until then I will not be able to make payment with that stored payment method?
correct

Related Request ID(s)
correct you will receive a webhook event, do I need to do anythng with this webhook?

What have you already attempted?
correct you will receive a webhook event, do I need to do anythng with this webhook?

What are you working on?
correct you will receive a webhook event, do I need to do anythng with this webhook?

cursive heronBOT
#

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

Question
I am integrating Revolut Pay into my app with Payment Elements and following a subscription flow.

I can't see in the Stripe Documentation what information I get back from Revolut Pay on payment in the revolut_pay object within the payment_method_object.

I integrated PayPal not too long ago, and can see from the documentation, as well as from the 'paypal' object in the payment_method I receive when making an account the country, payer_id and payer_email.

Can I expect the same response from Revolut Pay? I'm asking this as currently use this response to successfully create a user.

Related Request ID(s)
req_jskpTLBEiMdsSF

What have you already attempted?
I have created a subscription using Revolut Pay in my test account.

What are you working on?
An ebook subscription service

#

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

Question
I can't get UK BACS debit payment method setup stripe.js element working, because of the "Your account isn't configured..." error with on_behalf_of. The connected account has the bacs debit payments capability enabled

Related Request ID(s)
req_Q6An1v1f74fc1h

What have you already attempted?
I have tried switching the capability on and off, adding and removing on_behalf_of parameter.

cursive heronBOT
#

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

Code
the following code

let clientSecret = ''cs_test_c1Er4OOFqBmNks3jNVXikSBCtzEWzzmLGQ7XcHfG3RszoBgIXwaH1GYlS6_secret_•••JSUl"

this.stripe .elements({ clientSecret: clientSecret })

Question
this stripe instance, when i try to generate the form, return the following error: ERROR IntegrationError: Invalid value for elements(): clientSecret should be a client secret of the form ${id}_secret_${secret}. You specified: cs_test_c1Er4O.....Ul, although I generated the clientSecret correctly via your Session Checkout API

What have you already attempted?
I followed the following documentation: https://docs.stripe.com/payments/save-and-reuse

What are you working on?
We need to implement the stripe embeeded form through which we only save the customer's payment method without performing an actual transaction

#

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

Question
Retrieve a Stripe Connect Payment Intent without the connected account ID

Related Request ID(s)
req_RzLEkT2uFz82Ae

What have you already attempted?
I've got Payment Intents made with Stripe Connect. I want to retrieve a Payment Intent with Python's SDK, but I don't always have the relevant connected account ID (`acct_....`). The code looks like this:
```
client.PaymentIntent.retrieve(payment_intent_id, stripe_account=account_id) # i don't always have the account_id
```

cursive heronBOT
#

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

Code
We are integrating ACH payment through payment element, when user select the bank popup is opening for enter account number and routing number. Can we change the text in that page ?

Question
We are integrating ACH payment through payment element, when user select the bank popup is opening for enter account number and routing number. Can we change the text in that page ?

What have you already attempted?
We are integrating ACH payment through payment element, when user select the bank popup is opening for enter account number and routing number. Can we change the text in that page ?

What are you working on?
Integrating ACH Payment Option

cursive heronBOT
#

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

Question
I am building an e-commerce site and need to integrate Stripe for payments and refunds. I want to save payment methods for recurring payments, but I am unsure which Stripe product to use.

Related Request ID(s)
no ids

What have you already attempted?
I am attempting to integrate the customer create and charge API. How can I save payment methods for recurring payments and make refunds?

What are you working on?
I am building an e-commerce site and need to integrate Stripe for payments and refunds. I want to save payment methods for recurring payments, but I am unsure which Stripe product to use.

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
cursive heronBOT
#

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

Question
On the Stripe Dashboard, we can define the number of attempts for Smart Retries, and the maximum length of time that Smart Retries will be attempted. Is there a way to manually define on a specific date and time a Smart Retry will be performed?

Related Request ID(s)
111111

What have you already attempted?
We have already configured the number of attempts for Smart Retries, and the maximum length of time that Smart Retries will be attempted

cursive heronBOT
#

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

Code
https://github.com/NITHIN-PAIDI/stripe-error-code/blob/main/validate_card_details.ts

Question
please check out the above link
iam using stripe for the card payments for my website
even though amount is received from the customer
getting the error msg while confirming the payment using this method 'confirmCardPayment'

it is working vulnerable in my website so please give the solution how to do solve this issue.

What have you already attempted?
the code is in the below link that attempted:-
https://github.com/NITHIN-PAIDI/stripe-error-code/blob/main/validate_card_details.ts

What are you working on?
Iam building a billing process to get access for our products

cursive heronBOT
#

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

Code
I have develop the card delete functionality.
how to check pm_1QP0VpIErBwOu8QACw2zMzhN set as default card or not ?

Question
If my card are default then can not delete the card

What have you already attempted?
How to find the default card

What are you working on?
Default card check

cursive heronBOT
#

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

Question
I am looking for setup intent for later payment and verify microdeposit.

Related Request ID(s)
pm_1QQMFiAGbPj5wN7h1Zrsf6xr

What have you already attempted?
I have tried all the possible ways to implement this scenario like created setupintent, verify microdeposit.

What are you working on?
I test mode how do I get the email sent to customer for microdeposit

#

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

Question
I have subscriptions working but I want to develop an API that tells me whether or not a subscription is still valid based on the subscriptionId I give. By valid, I mean the user is subscribed and can enjoy the benefits of this subscription.

Related Request ID(s)
None

What have you already attempted?
I am using the unix time at which the subscription is set to renew/end and returning that, but I want to return a boolean. Is there a boolean I could return?

What are you working on?
It's an android app with a node JS backend. I am working on the node JS backend

cursive heronBOT
#

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

Question
Connected account transfer amount is greater than charge payment amount. So, how can i manage?

Related Request ID(s)
null

What have you already attempted?
For ex.
charge payment is $500
get this payment to stripe main account from customer

now i am transfer $600 to connected account based on $500 charge id. so, how can this manage?

cursive heronBOT
#

@pulsar drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working on setup intent for later use with verify microdeposit.

Related Request ID(s)
pm_1QQMFiAGbPj5wN7h1Zrsf6xr

What have you already attempted?
I am looking for help in setupintent for verify microdeposit. What if the custmer has not provided an email address, how do we address in this case? for verification of microdeposit to make the setup intent as succeeded/complete.

What are you working on?
I am looking for help in setupintent for verify microdeposit. What if the custmer has not provided an email address, how do we address in this case? for verification of microdeposit to make the setup

#

@oak thorn pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
After payment QR code modal close for Wechat Pay without paying, the `redirect_status` attached to the searchParams should be `failed`

What actually happened?
The `redirect_status` attached to the searchParams was `succeeded`

Reproduction Steps
Deferred payment element flow,
Wechat Pay payment element creation success -> close on QR code modal without finishing payment

Question
Am I understanding payment intent's redirect_status wrong? If so, should I be using the payment intent id to query again in my receipt page to determine the user's payment status?

What are you working on?
Website - booking flow

#

@hollow bramble pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-gateway-stripe domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. (This message was added in version 6.7.0.)

Question
my website is a wordpress ecommerce site, i used Query Monitor plugin to look for issues in my site, and the code is listed above for the error related to stripe.

What have you already attempted?
I am not sure what can i do to fix this issue, so i have not attempted to do anything yet.

What are you working on?
i am maintaing a wordpress ecommmerce site for my client.

cursive heronBOT
#

@tiny escarp pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$paymentIntent = PaymentIntent::retrieve(
$eventData['object']['id'],
[
'expand' => ['latest_charge.balance_transaction'],
'stripe_account' => 'acct_xxxxxxxxxxx'
]
);

Question
Hello, when i use this code to get the stripe fees of a transaction according to :
https://docs.stripe.com/expand/use-cases#stripe-fee-for-payment
I receive an object, but which not contain the Stripe fees.

There are not enough chars to send the object i receive

What have you already attempted?
I've tried a lot of "expand" values but nothing works, the returned item never contains the Stripe fees

What are you working on?
Laravel 11 (localhost) with Stripe connect

#

@gentle spire pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
await stripe.checkout.sessions.create({
automatic_tax: { enabled: true },
billing_address_collection: 'required',
tax_id_collection: { enabled: true },
payment_intent_data: {
setup_future_usage: 'off_session'
},
line_items: [{
price_data: {
currency: 'eur',
product_data: {
name: 'example',
description: 'example'
},
tax_behavior: 'inclusive',
unit_amount: 10000
},
quantity: 1
}],
invoice_creation: { enabled: true },
payment_method_types:

Question
Error `payment_intent_payment_attempt_failed` creating a Stripe Checkout Session for a SEPA Debit payment in runtime using TypeScript SDK. What am I missing?

What have you already attempted?
- Checkout the request log in Stripe Dashboard → Developers → Logs
- Review the Developers Documentation (https://docs.stripe.com/error-codes#payment-intent-payment-attempt-failed)
- Tried to find the `last_payment_error` in the request log, but the most similar property on the response body is `"type": "invalid_request_error"` which I don't know why it happened
- Asked to the end user to provide a screenshot with the error to see that she is properly filling the Checkout

What are you working on?
We already use Stripe in our main product without any problem, and we are also starting to use it for a new product presale (managerpro.team).

cursive heronBOT
#

@hushed dragon pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm unsure how stripe sends events if a user has a trial.
I'm only use the webhook events at the moment and rely on the charge.succeeded event but I don't know if this event is sent if the user has a trial and if so, when...
What's the best practice for granting my users benefits when they have a trial? / What is the best way to handle the related events?

Also, if I set that the subscription is cancelled when a trial expires, which event is sent?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/free-trials?payment-ui=stripe-hosted&lang=node
https://docs.stripe.com/api/events/types

What are you working on?
Offering trials on subscriptions

#

@hollow kestrel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Title: Multiple 3D Secure Prompts on Card Setup and Payment in Stripe (Authenticate unless setup)

Related Request ID(s)
No Related Question

What have you already attempted?
I tried checking if 3D Secure was already triggered during the SetupIntent multiple creation. i tried to use with setup intent with cache and but it still asks for 3D Secure during confirmCardPayment() and asking twice alwyas from user

#

@thorn jay pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
paymentIntent = await stripe.paymentIntents.create({payment_method: paymentMethodId,amount: Math.round(payment.amount * 100),currency: payment.currency,payment_method_types: ['card'],confirmation_method: 'manual',expand: ['charges.data.balance_transaction'],confirm: true,customer: stripeCusId,automatic_tax: {enabled: true,tax_behavior: 'exclusive'},customer_details: {address:{country:country,postal_code: zipcode,state:state,city:city,line1: street});

Question
Nodejs create paymentIntent with automatic_tax not working

What have you already attempted?
nothing

What are you working on?
building

cursive heronBOT
#

@clear hollow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to update my subscription price but i am not able to update how can.i achiev this

Related Request ID(s)
req_lbAZI9aunx5geq

What have you already attempted?
I have tried to change price from dashboard

#

@graceful lintel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to set receipt_email in payment intent for a checkout session/invoice creation flow in test mode?

Related Request ID(s)
NA

What have you already attempted?
Hey folks, I have been trying to test out the emails for our new integration in test mode and we havent been receiving any emails and while docs do mention emails wont work in test mode but is there a way we can test those emails out?

#

@potent hearth pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
POC link - http://dev.cheapestairportparking.com/airport-parking/apple-pay-poc

Question
I am trying an ApplePay transaction on the web. but getting below error in stripe No such token: 'ctoken_1QQNvJG6LVRn1ExlzynhsKbU'. As per our API team member, I need to pass the card token, but I am getting a token. i am following any wrong implementaion?

What have you already attempted?
expressCheckoutElement.on('confirm', async (event) => {
console.log('confirm call executed');
const messagestepone = document.querySelector('#success-messagestepone');
messagestepone.textContent = 'Confirm call Executed.';

            const { error\: submitError } = await elementsNew.submit\(\);
            if \(submitError\) {
                handleError\(submitError\);
                return;
            }}\);

What are you working on?
apple pay integration on web

cursive heronBOT
#

@spring light pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On the level 3 card data metadata, each line item has it's own `quantity` field. This can take any non-negative integer as input. The issue is that on our store we have products that can take decimal quantity.

A prime example are products sold by the yard, ex 2.5 yards.

Related Request ID(s)
not applicable

What have you already attempted?
Since we cannot set the quantity to be decimal, we need a workaround. My initial thought was to hardcode `quantity = 1` and instead of the amount fields being unit amounts, they would be total amounts. Taking the previous example, if 1 yard of fabric costs $10, 2.5yd would be $25 so on the price field we will set $25 instead of $10 (which is the unit price).

Will this workaround cause any issues? My main concern is that the provided data will not count as Level 3 but as Level 2 payment data.

#

@covert nimbus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error, paymentIntent } = await stripe.confirmCardPayment(clientSecret, {
payment_method: selectedPaymentMethod
? selectedPaymentMethod.id
: {
card: cardElement,
},
});

Question
Is this a secure approach? Sending the card details in plain sight? Basically what I am doing is that in a custom checkout form, the user can choose to either choose an already saved payment method, or use a different card, for the card I am using the <CardElement> and when paying I am using the code from before, basically using the cardElement if he doesn't choose a saved payment method. But when checking the payload on the stripe confirm route I see card data

What have you already attempted?
Well my code works but I don't know if it's secure.

What are you working on?
An ecommerce website

cursive heronBOT
#

@clear verge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
After invoice is marked complete, shouldn't the amount remaining be set to 0 and the amount paid be set to whatever the amount due was

What actually happened?
Amount remaining is still the amount due and amount paid is 0 after the invoice is marked paid using API.

Reproduction Steps

  1. Create a stripe invoice
  2. Markt it as paid using /v1/invoices/:id/pay endpoint while providing paid_out_of_band parameter as true

Question
There is workflow in our system where we need to mark invoices as paid incase they are collected outside of stripe. We use the Invoice Pay API to achieve this and provide paid_out_of_band param as true to indicate that the invoice was paid outside stripe. However, even after marking invoice paid, the amount due does not change and amount paid is 0. Is this expected?

What are you working on?
Bulding a new logistiic related product

cursive heronBOT
#

@pulsar drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating set up intent for verify micordeposit for later use.

Related Request ID(s)
checking the feasibility here

What have you already attempted?
I am creating setup intent and then using the client secret how can I confirm the us bank account details using dot net api for this method stripe.confirmUsBankAccountSetup

What are you working on?
I am looking for SDK api for this stripe.confirmUsBankAccountSetup

cursive heronBOT
#

@south edge pressed the 📚 Doc or 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/wallets

Question
I want to integrate the venmo as payment method in my custom checkout flow I did not see the venmo but many says stripe support venmo, does stripe supports venmo as payment method for custom flow how can i create element of venmo to enter details of venmo just like card does or apple pay flow does?

What have you already attempted?
I have went through the docs of stripe I am unable to find the venmo

What are you working on?
Integrating venmo with stripe as payment method

#

@spring light pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/level3

Question
On the "Level II Only" section of the documentation, I think there is an error in the following line of the Payment Intents API.
`.putExtraParam("level3[line_items][0][product_code]", "112233")`

What have you already attempted?
Insteaf of the alphanumeric "112233", it should be "Order Summary", just like the Charges API

#

@neat acorn pressed the 📚 Doc or 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#cancel-subscriptions

Question
In the documentation it mentions that when a subscription is canceled, it is also deleted and no longer can be updated.

I canceled some Subscriptions in test, but they still show up, in the Dashboard, and can be retrieved. will they be deleted over time, what is the policy?

What have you already attempted?
Canceling Subscription via API.

What are you working on?
Migration Recurly to Stripe Subscriptions

#

@rich lintel pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We have a payment which was successful but was then flagged for early fraud 6 days later. I expected the payment to appear in the payout.

What actually happened?
The payment appears as succeful but doesnt show in the total payout balance.

Reproduction Steps
I can share the payment id. Not sure how to reproduce this since i don't know what flags a payment with early fraud sign.

Question
Why does a payment get flagged as early warning sign?
What are the next steps in order to get this unblocked/paid out?

#

@vital finch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Api is unreachable suddenly from my local machine

Error: getaddrinfo ENOTFOUND api.stripe.com

Related Request ID(s)
No request ids are present as I cannot make a request

What have you already attempted?
Switched the API keys, then I moved forward to trying the sdk. Since the SDK also returns ENOTFOUND I moved on to postman. Postman also returns the same for every request I try to make.

I moved on to a simple terminal
ping https://api.stripe.com but this also does not work. Am I missing something here?

What are you working on?
B2b marketplace where the checkout process must rely on reserving the funds for each vendor individually while the end user should only enter his card information once.

#

@tawny nest pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to get a Stripe Api key from a Stripe Connected account?

Related Request ID(s)
NA

What have you already attempted?
I have going trough with my test account and can get to the developer tabs on a Stripe Conneced account, but the Api key tab is missing.

What are you working on?
Automating bookkeeping for a company that both have regular Stripe account and Stripe connecd account

cursive heronBOT
#

@wind dome pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
useEffect(() => {
const script = document.createElement("script");
script.src = "https://js.stripe.com/v3/pricing-table.js";
script.async = true;
document.body.appendChild(script);
return () => {
document.body.removeChild(script);
};
}, []);
return React.createElement("stripe-pricing-table", {
"pricing-table-id": process.env.NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID,
"publishable-key": process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,
"cl

Question
I want to know how to load pricing table with specific language, I try to implement localization but don't know how to load pricing table load with for example fr language, is there config for it? query params or something?

What have you already attempted?
already attempt to pass query params ?lang=fr

What are you working on?
Flytask.com

#

@cobalt void pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello Team,

I wam verifying sepa_credit with VBA account.
As soon as my VBA is created a 10euro is added to this account.
I am trying to verify from where this amount is added.
Can someone help with this?

Related Request ID(s)
https://dashboard.stripe.com/test/events/evt_1QQQSWCufXUMtp8CUiSGfEIY

What have you already attempted?
Not able to understand the fund add.
After this money is added and I receive the webhook I am creating charge out of this.

What are you working on?
Stripe_Credittransfer flow.

cursive heronBOT
#

@tidal bramble pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```
const onConfirm = async () => {
const { error } = await stripe.confirmPayment({
// `Elements` instance that's used to create the Express Checkout Element.
elements,
// `clientSecret` from the created PaymentIntent
clientSecret,
```

Question
I'm migrating an existing integration with the Payment Request Button Element to the Express Checkout Element.

I'm using this migration guide: https://docs.stripe.com/elements/express-checkout-element

In the guide, it suggests (see my code snippet or point #5 in the migration guide) that I should reference the `elements` instance but I don't understand where that should come from. I'm also not clear on where I should get the `clientSecret` from.

What have you already attempted?
I have a working integration (in production) with the Payment Request Button Element so I'm not unfamiliar with how these integrations work. But it seems that the migration guide is skipping some important points and I'm unable to fill the gaps.

What are you working on?
A payment platform for small businesses

cursive heronBOT
#

@spring rain pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi i made Payment link via Stripe dashboard and i wanted to check if there is any way to retrive sucesfull information about payment, i have seen that in transaction payment was made, but I some boolean about it.

Related Request ID(s)
https://buy.stripe.com/test_4gw9AQ4E5eZw9wIdQT

What have you already attempted?
I already checked api docs but there is only some information about creating/updating payment links, but there is no information about retreving

What are you working on?
mobile app

#

@tacit pumice pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripe->paymentIntents->create([
'confirm' => true,
'amount' => $amount,
'currency' => $currency),
'confirmation_token' => $confirmationTokenId,
]);

//client
stripe.elements({
mode: 'payment',
amount,
currency,
paymentMethodCreation: 'manual',
paymentMethodTypes: ['sepa_debit']);

Question
I'm getting error "Payment details were collected through Stripe Elements using payment_method_types and cannot be confirmed through the API configured with automatic payment methods."
How can I fix this? I do not want automatic payment methods on the client.

What have you already attempted?
nothing yet.

What are you working on?
Marketplace

cursive heronBOT
#

@next elbow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Block if :card_bin: in @bins_to_block and not :is_recurring:

Question
I have created a list with bins that they should be blocked after that I have created the rule but it's not working as expected.

I need the following escenario:

  1. Existing customers with an active subscription should be able to continue making payments as usual, even if their BIN is on the blocked list.
  2. New clients that want to make a payment with a bin that it's in the list, the payment should be rejected!

What have you already attempted?
I tried different rules that they don't work!

cursive heronBOT
#

@fair cosmos pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe application fee not reflected in balance

Related Request ID(s)
?

What have you already attempted?
I have looked at my stripe transactions and i can see a collection fee has been taken. however it is not showing up in my balance

What are you working on?
I am attempting to take a platform fee from a transaction between an artist and a client on my website.

#

@tacit pumice pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const {
error,
paymentIntent
} = await stripe.handleNextAction({
clientSecret: response.clientSecret
});

if \(error\) {
  // Show error from Stripe.js in payment form
} else {
  // what to do here after 3D Secure confirmation?
}

Question
I'm testing my integration with 3DS test card (4000002500003155) and I can see the confirmation window popping up, then I press confirm and I run into the else case above, but the docs (https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment#next-actions) does not specify what exactly to do now besides showing success message, which doesn't seem to be accurate because the payment is not done yet (confirmed server side).

What have you already attempted?
unclear

What are you working on?
Marketplace

#

@austere holly pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to customize the UI of the React <EmbeddedCheckout/> component, I would like for example to remove the left panel. Do you have a documentation for that?

Related Request ID(s)
None

What have you already attempted?
I tried search online for documentation, can't find any that is for that, I could only find one for Custom Flow, which is not what I have, I have an Embedded Form

#

⛔️ 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!

#

@coral lava pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to setup the stripe terminal to show the cart. When I setReaderDisplay, payments no longer work. If I don't change the reader display, the test payment works. After I set the reader display, the terminal stops responding

Related Request ID(s)
req_CydfNd7jTJUZVs, req_qaeV2BGUtTvDLi

What have you already attempted?
Explained in question

cursive heronBOT
#

@molten badger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to generate a new Publishable key but there are no options in the Developer > API Keys Page to create a new one. Only Restricted and Secret keys have the option to be generated. So how do I create a new publishable key?

Related Request ID(s)
none

What have you already attempted?
Creating a Secret / Restricted key hoping that it will generate a new publishable kkey

What are you working on?
Some migrations

cursive heronBOT
#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a Connect account based in Japan (onboarded via Stripe Express) that "owns" its customers and products (i.e. these customers nor products belong to the platform account). A customer has notified this particular Connect account that the card statement descriptor appearing on their credit card statement for a recent purchase (Oct 15, 2024) is not the descriptor of the Connect account, but rather the descriptor used by the platform. Our desire is to have the Connect account's defined card statement descriptor used instead of the platform's for such card purchases.

Related Request ID(s)
pi_3QA1kWCOnwhRsYyV1Iq2J8WN

What have you already attempted?
The documentation mentions that `on_behalf_of` should be used when creating checkout sessions to ensure that the Connect account's card statement descriptor is used instead of the platform's. However, in this scenario, `on_behalf_of` is not viable because both the customer and product purchased are associated with the Connect account, and not the platform account. Just to be sure, I have tried setting `on_behalf_of` when creating a checkout session and have been met with an error stating that the customer and/or product id's provided were invalid (i.e. they do not exist on the platform).

cursive heronBOT
#

@inner drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, our app wants to connect with stripe's subscription trial function, but we need to create a trial pull-up payment control, may I ask if it can be done

Related Request ID(s)
no

What have you already attempted?
I tried to make an interface call using the example in the official documentation, but the return value of the interface did not pull up the parameters associated with the payment control, and the payment intent was empty.
https://docs.stripe.com/billing/subscriptions/trials

#

@finite tree pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
May I know is there a way for invoice upcoming API to support price ids which have type=recurring?

Related Request ID(s)
N/A

What have you already attempted?
I'm using stripe upcoming invoice API, to get the final amounts cost that need to be paid by input the price ID, quantity, discount code and etc

What are you working on?
I would like to use invoice upcoming API or any stripe API that able to provide me the final total amount that cost based on the Price ID, quantity, discount, tax_rates

cursive heronBOT
#

@cedar isle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<AddressElement
options={{ ...addressElementOptions, mode: "shipping" }}
className={styles.elementBody}
/> <AddressElement
options={{
...addressElementOptions,
mode: "billing",
}}
/>

Question
for billing their is a checkbox, i want it to be checked initially. it is possible to do?

What have you already attempted?
const appearance: {
theme?: "flat" | "night" | "stripe" | undefined;
labels?: "floating" | "above";
rules?: { [selector: string]: { [property: string]: string } };
variables?: {};
} = {
theme: "stripe",
labels: "floating",
rules: {
".CheckboxInput": { "--checked": "1" },
},
variables: {
colorBackground: "#ffffff",
},
};

What are you working on?
i am working on custom checkout page with address payment and express elements

cursive heronBOT
#

@terse shale pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Is there anyway to internationalize product names?

Question
Hi, is it possible to internationalize product names? We have products that we have been using for quite a while now and we would like to internationalize the product names and descriptions, is this possible?

What have you already attempted?
I've tried researching the docs but i havent found anything specific.

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

cursive heronBOT
cursive heronBOT
#

@covert nimbus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const invoice = await stripe.invoices.create({
customer: user.stripeCustomerId,
currency: 'GBP',
shipping_details: user.shipping_details,
...(body.paymentMethodId && {
default_payment_method: body.paymentMethodId,
}),
});

Question
How can I save a card on an invoice payment? Basically I am creating the invoice on my server, and if the user doesn't choose an already existing payment method I am using the CardElement on my frontend to get the card data and use it to confirm the payment intent. Before I was using setup_future_usage on the paymentIntent creation, but back then I wasn't creating invoices.

What have you already attempted?
Lookin for a certain property to save the card.

What are you working on?
An ecommerce website

#

@vale plume pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to create a payment link or checkout session via API to allow users to pay for set product. This needs to be available for days or weeks and I need to send email with confirmation and invoice with tax when payment is done

Related Request ID(s)
Payment links/ checkout sessions

What have you already attempted?
I have all the process done creating a payment link, but I'm struggling to set up the tax for the invoice as we don't want to use automatic tax. I was advised in discord to create a checkout session instead as I can set up specific tax rates and expiration date times

What are you working on?
would you mind confirming that I can actually set up the tax rate I need no matter the country of the user doing the payment and also I can set up expiration datetimes longer than 24 hours please?

#

@pulsar drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i am looking for us bank account (ach) integration for later use, using setupintent and verify microdeposit.

Related Request ID(s)
checking the feasibility here

What have you already attempted?
I want to know when i use confirmUsBankAccountSetup (), how does mandate data is passed when i call confirmUsBankAccountSetup method
I am not passing any mandate data and the result of this method is verify with micordeposit. But when I do the same in api like setupintent.confrim() it is asking mandate data as required param.

What are you working on?
setupintent + verify micordeposit

#

@twin obsidian pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to implement terminal reader collect input using API

but it returns response
{
"error": {
"message": "Invalid Stripe API version: 2024-06-20; terminal_collect_inputs_beta=v1. You do not have permission to pass this beta header: terminal_collect_inputs_beta. If you have any questions, we can help at https://support.stripe.com/.",
"type": "invalid_request_error"
}
}

Related Request ID(s)
none

What have you already attempted?
requesting API from POSTMAN.

cursive heronBOT
#

@dark kiln pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using react native stripe terminal and wanna know upon a successful tap to pay what events should I listen to and have webhooks for them.

Related Event ID(s)
a

What have you already attempted?
I'm using react native stripe terminal and wanna know upon a successful tap to pay what events should I listen to and have webhooks for them.

cursive heronBOT
#

@covert nimbus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
}

const { error, paymentIntent } = await stripe.confirmCardPayment\(clientSecret, {
  payment\_method\: selectedPaymentMethod
    ? selectedPaymentMethod.id
    \: {
        card\: cardElement,
        billing\_details\: {
          name\: 'Florin Adrian',
          address\: {
            city\: 'City',
            country\: 'GB',
            line1\: 'Line1',
            postal\_code\: '800172',
            state\: 'Stat',

Question
How could I check if the card is already saved as a payment method when using the confirmCardPayment? Basically I have a list of payment methods in my custom checkout and the user can also insert a new payment method. I want to make sure he won't enter a duplicated card

What have you already attempted?
I have tried adding some checks on my server, but I realised that I can't send the card details to my server, so I don't know what to do

What are you working on?
An ecommerce website

cursive heronBOT
#

@high hill pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
How to post a question in Dev help? I have a question related to stripe connector in salesforce

What actually happened?
How to post a question in Dev help? I have a question related to stripe connector in salesforce

Reproduction Steps
How to post a question in Dev help? I have a question related to stripe connector in salesforce

Question
How to post a question in Dev help? I have a question related to stripe connector in salesforce

What are you working on?
stripe connector

#

@paper notch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
const paymentIntent = await this.stripe.paymentIntents.create(
{
amount: amount,
currency: currency,
payment_method_types: ['card_present'],
setup_future_usage: 'off_session',
customer: customerId,
},
{ stripeAccount: accountId },
);

Related Request ID(s)
req_p4VPtFjUlSOB6s

What have you already attempted?
When i attach a customer id when i create a payment intent for a 'card_present' terminal setup, the customer doesn't get the payment method attached, at least it is not guaranteed, it was successfully added once.

What are you working on?
I'm trying to have a recurrent payment for the same customer and the same payment method.

cursive heronBOT
#

@lyric hollow pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
On Friday we didn't receive certain webhook events, although they are configured and it worked before. Opening the associated event in the stripe workbench leads to an error in the workbench itself.

Question
What happened to the event with the id: evt_1QQpxSQiz9tGnxHZwubBtyyl

What have you already attempted?
Checked potential errors and the stripe workbench.

cursive heronBOT
#

@opal cliff pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can validate whether coupon code is valid or not in the payment intent checkout?

Related Request ID(s)
no request id

What have you already attempted?
trying to validate and apply idcount on the checkout page

What are you working on?
integarting coupon code

#

@craggy wadi pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have an issue with finding an existing invoice within my event handler, even though I can see the invoice exists and can reach it out through dashboard itself. I keep receiving "no such invoice" error.

"error":
"{"code":"resource_missing","doc_url":"https://stripe.com/docs/error-codes/resource-missing","status":404,"message":"No such invoice: 'in_1QPKMzPWLu0KWiQuyKBwaBnD'","param":"invoice","request_id":"req_SYKNw6fyM6wL8S","request_log_url":"https://dashboard.stripe.com/logs/req_SYKNw6fyM6wL8S?t=1732854448","type":"invalid_request_error"}",

Related Event ID(s)
event ids: evt_3QPLJzPWLu0KWiQu2JrsBMOc, evt_3QRNjiPeBLev00TB0maqjfFu

What have you already attempted?
I simply try to get my invoice object in event handler, based on payment intent's invoice ID

What are you working on?
Providing payment processing for organizations through my connected accounts

#

@fast flare pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to make an Link payment using link authentication element.
While mounting the element, I pass default value as valid email id, so on checkout, it autofills the emails.
Now, when I try to confirm the payment, I get the error as
`Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Express Checkout Element. It looks like you have other Elements on the page. Refer to https://stripe.com/docs/js/payment_intents/payment_method to confirm a Payment Intent by payment method.`

Can I not use link element independently ?

Related Request ID(s)
NA

What have you already attempted?
Attempted to use payment element alongside link authentication element as in the docs
https://docs.stripe.com/payments/link/add-link-elements-integration#web-test-the-integration
and it works.

What are you working on?
On integrating link.

#

@haughty granite pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to make Merchant-Initiated Unscheduled COF Payments with Apple Pay MPAN?

Currently we are only setting the setup-future-usage field to off_session, and using the resultant Stripe payment_method_id (tied to a DPAN) to make recurring charges.

Would there be any impact to our current integration if we started switching to MPANs from DPAN?

Should we send additional field for this transition?
What happens if don't send them? Will the existing flows stop working after July 2025 (which is the Apple Pay deadline to stop support for DPANs)

Related Request ID(s)
NA

What have you already attempted?
Read through docs

#

@covert crypt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I am trying to settle in stripe this workflow, as an example : I m using stripe connect. I want my stripe connect account to invoice 1000 to a customer. This customer pays 1000 via SEPA, we use only sepa, then automatically, stripe sends these 1000 to the bank account of my customer. The stripe fee is handled by my plateform. We will invoice it to our stripe connect account another way. Because actually in what i have, there is always the stripe between stripe connected account and the money sent to his bank account. Could you help me please? :)

Related Request ID(s)
none

What have you already attempted?
I tried already with this 'controller.fees.payer', but then the account cannot be express, which is a bit annoying.
I tried also to parameter via the interface, couldn't find anything there connect/platform_pricing/instant_payouts.
I tried also to use on_behalf_of and transfer_data, but it keeps saying that i m using the application account and not a random stripe account, which is not true, so i assume there is a conflict betwwen parameters sent.

What are you working on?
Built stripe payment solution in our app

#

@sharp siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, is there a way how to set the settlement currency per payment instead of settling in the account's default currency?

Say I accept a EUR payment and I have associated bank accounts in both EUR and USD.
Can I configure the EUR payment to settle in USD somehow (using your FX)?

Related Request ID(s)
N/A

What have you already attempted?
Tried to look for API fields to set this, but couldn't find anything

cursive heronBOT
#

@fringe sierra pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I get error 401 - Unauthorized in hCaptcha (route /authenticate) -> https://api.hcaptcha.com/authenticate with reason:
"pat-missing-auth"

Question
This happens only if i open the website in mobile device. If the website is opened by desktop (web) it doesn't output any issue.

What have you already attempted?
I have added my domains to Stripe Dashboard -> Payment method domains and I have uploaded all the required files to my .well-known folder.

#

@obsidian cedar pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/create

Question
Hello team, good morning.

I am creating a payment session by sending a commission to my marketplace, is it possible that the "Stripe Processing Fees" are assumed by the seller of my marketplace and I do not have to pay that?

I look forward to anything you can help me with.

Greetings.

What have you already attempted?
I read most of the documentation, I used the search engine, I configured the commission correctly, the problem I have is that I need my seller to pay the stripe costs, I don't want to have to pay the cost of using stripe for all my sellers under my marketplace.

What are you working on?
I am in Argentina and I am trying to integrate stripe to expand my business.

#

@pure tundra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a US-based Connect platform account and a connected Standard account in Mexico (MX). When creating a charge with application_fee, I get the error:
"Stripe doesn't currently support application fees for platforms in US with connected accounts in MX."

Stripe support (via e-mail) suggested using destination charges with transfer_data[destination] and transfer_data[amount]. I created a Payment Intent this way, but when confirming, I get the same error. The application_fee in payment intent is null.

Why does this happen? Am I setting up the account or Payment Intent incorrectly?

Related Request ID(s)
req_p5T60soWCLPKL5; req_ZiK1m0rQjmWnYE

What have you already attempted?
I tried to use application fee initially, but I understand that it won't work after contacting Stripe support (e-mail). Right now, i'm trying to create a destination charge using transfer_data props.

#

@static zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I set the statement descriptor with subscription schedules? I can update the current invoice, but I don't see how to update subsequent invoices.

Related Request ID(s)
sub_1QQVDWGlaRMYAMgbnso8xcyD

What have you already attempted?
After creating the subscription schedule, I updated the latest invoice with statement descriptor. This worked for that invoice, but then subsequent invoices were back to the default.

What are you working on?
subscription invoicing

#

@covert nimbus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeCustomerData = await stripe.customers.retrieve(
user.stripeCustomerId
);
console.log({ stripeCustomerData });

    if \(stripeCustomerData.address.line1 !== userBillingAddress.address\) {

Question
I don't get why I get this error Property 'address' does not exist on type 'Response<Customer | DeletedCustomer>'.
Property 'address' does not exist on type 'DeletedCustomer & { lastResponse: { headers: { [key: string]: string; }; requestId: string; statusCode: number; apiVersion?: string; idempotencyKey?: string; stripeAccount?: string; }; }'.ts(2339)

of types, when I console log the result, I can see that the result has an address property.

What have you already attempted?
I have tried different params, but the issue persists.

cursive heronBOT
#

@modern flax pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to apply a coupon to a customer via the API? I have 3 subscription products each with 2 prices (annual and monthly). I would like to give my customers a way to enter promotional codes / redeem coupons from our front end without having to use the customer portal. Is this currently possible?

Related Request ID(s)
N/A

What have you already attempted?
I read something about not being able to do this for subscriptions that are controlled by a schedule, which I think all of mine are.

What are you working on?
FinTech SaaS

#

@burnt mesa pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const inbountTransfer = await stripe.treasury.inboundTransfers.create(
{
financial_account: 'fa_***',
amount: 250,
currency: "usd",
origin_payment_method: 'pm_***',
description: 'test inbound transfer',
statement_descriptor: 'NAME',
},
{
stripeAccount: 'acct_***',
}
);

Question
Receiving the following error when executing the provided code.

"StripeInvalidRequestError: Payment method pm_** is not associated with a merchant account."

I am using the verified "us-bank" payment method of customer of connected account to move funds from the payment method to connected account's financial account.

I am not sure what to make out of the error message

What have you already attempted?
Tried with new payment method without attaching to the customer. Instead set "attach_to_self "as "true" when creating setupIntent.

What are you working on?
Move funds from external bank to connected account's financial account.

cursive heronBOT
#

@red jackal pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello team, I am building out a usage based pricing plan with the following requirements, and need help with best practices.

  1. To start off, customers receive 5GB of free data usage per year. The yearly limit resets at the start of each year.
  2. If a customer exceeds their yearly limit, overages are calculated monthly and charged monthly.
  3. Customers can upgrade their yearly limit to 10GB or 20GB by subscribing to a higher-tier plan. Upgrades can be made mid-year, the remaining yearly usage and plan limit are adjusted proportionally. Paid for overages should be accounted.
  4. At the start of each new year, the customer renews their subscription with their current limit.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models
https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide?dashboard-or-api=api#retrieve-usage

What are you working on?
Usage based pricing plan, with yearly limits, monthly overage charges and opportunity for mid-term limit upgrades.

#

@pastel panther pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Cookie consent (essential, Advertising, Functional) how can i turn off Advertising and functional cookies if user doesn't agree for them. Should i block them with js somehow or i can use betas in loadStripe in stripe.js

Doc/Guide Links
https://stripe.com/en-pl/legal/cookies-policy | https://stripe.com/en-pl/cookie-settings

What are you working on?
e-commerce to sell music.

cursive heronBOT
#

@zenith vault pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentIntent = await this.stripe.paymentIntents.create({
amount: roundOffPayment,
currency: 'aed',
customer: customerId,
payment_method: paymentMethodId,
automatic_payment_methods: {
enabled: true,
},
metadata: {
ad_id: adId,
biddedAdId: bidded_AdId,
},
transfer_group: String(adId),
off_session: true,
confirm: true,
});

Question
The PaymentMethod pm_1QRaFUCfBzLdBwO5AoLRl2RC does not belong to the Customer you supplied cus_RJ9WzIGTsWDQWE. Please use this PaymentMethod with the Customer that it belongs to instead

the problem is that when does the above error occurs and how to avoid it?

What have you already attempted?
i have tried using payment intent api

What are you working on?
i am working on setup intent api and payment intent

#

@subtle mirage pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Discovering Readers

Terminal.getInstance().discoverReaders(discoveryConfig, discoveryListener, callback)

// Connecting Readers

Terminal.getInstance().connectUsbReader(reader, config, readerListener, readerCallback)

// Retrieving Payment Intent

Terminal.getInstance().retrievePaymentIntent(id, callback)

// Collecting Payments
Terminal.getInstance().confirmPaymentIntent(
paymentIntent, callback)

Question
1.We are facing repeated instances where the USB connection unexpectedly disconnects. We're using cables with USB 2.0 features, and all of our cables meet the required specifications. Despite this, terminals frequently lose connection during transactions.
2. Every transaction seems to trigger a system update on the terminal. After completing the update, the terminal status changes to "not connected," and it becomes unresponsive while we have already enabled auto reconnects

What have you already attempted?
Done with almost everything
Validated multiple times the configuration

What are you working on?
M2 Stripe Terminal for payments

#

@finite hazel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm trying to allow charities to connect their Stripe accounts via OAuth on my webapp, so I can get notified of donation events in real-time (e.g., payment_intent.succeeded). The only information I need is the charity's customer email and amount each time a donation is made on their site. Can you please guide me on the best setup for OAuth and webhook integration?

Related Request ID(s)
No related request IDs at this time.

What have you already attempted?
Enabled OAuth in the Connect settings. Tested the OAuth URL, but the form seems tailored for "for-profits", there isn't a field for "non-profit" or charity.

#

@jagged plume pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to create credit card element in front-end to accept payment for subscriptions before creating subscriptions.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview

What are you working on?
Basically right now I have to create subscription and get the latest_invoice and it's secret client key to initiate the payment container in front-end. What I want is to create payment container first and after successful payme

#

@white horizon pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are going to be receiving our first vault transfer from another payment processor to stripe of recurring payments. We will be processing them ourselves using our recurring scheduler. We were hoping to get a sample of what the data would look like from you before they finalize their transfer so we can make sure everything is all set up on our end.

Doc/Guide Links
I could not find a guide or link

What are you working on?
We are a non profit contact management system and payment processor

#

@craggy wadi pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to listen locally (localhost webhook) for events coming from connected accounts, e.g. subscription created but on one of the connected account, not only for platform account itself ?

Related Event ID(s)
evt_3QRbV0GSblWe99ue2Vv4v9kZ

What have you already attempted?
I was expecting to see the above event in my local webhook for platform above the connected acc

What are you working on?
Providing payment processing for organizations through my connected accounts

#

@mossy vault pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create

Question
My doubt is related with the creation of the Payment Intent. With this flow, we’re creating the payment intent in the background, without any customer intervention, after the charging session starts. However, in order to make it work, I was forced to flag the payment intent to don’t allow redirects, but at the same time, we’re already passing the payment method that was collected and validated during the setup intent creation process.

Although the process seems to be working fine, I just want to make sure that this makes sense and that I am not missing anything.

What have you already attempted?
My understanding is that, in theory, the payment intent could still require a validation from the user for certain cases and that’s why you force us to define the intended behaviour, but at this point, there is nothing that we can do if a validation is required (we would need to cancel the session and we wouldn’t know what to do afterwards).

What are you working on?
Setup Intent collected first, and then creating the payment intent later on,

#

@kind bramble pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm sorry if this isn't directly connected to development, but idk who else to ask this because it's important for my business, i'd appreciate any info u can give me please. Would love to know if this is in active development!
I wanna know if you guys are planning on adding more functionality to Stripe itself, in a way that would allow stripe users to use their active balance to make online purchases or transfers between different Stripe accounts, or improve connectivity with other financial apps like PayPal to make it possible to transfer funds from PayPal to Stripe and the other way around.

Related Request ID(s)
No such related requests

What have you already attempted?
talked to support who don't have any idea about this

What are you working on?
online business

#

@vale plume pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have created a product, a price and a checkout session via the API. Payment is done but I cannot see the items (products) the payment was for.

Related Request ID(s)
Transactions

What have you already attempted?
I can see older transactions made by another team in 2023 and they have the data as "display_items" I have read that have been deprecated. I'm sending the line items and they are appearing in the invoice, but how do I show them in the transaction UI?

cursive heronBOT
#

@chilly spear pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm having trouble reconciling payouts. When a payout created event comes in, we walk through the transactions we have on our side to know which transactions belong in the payout. This works great for payments, but we aren't reconciling refunds correctly. Literally, half the time we are able to reconcile the refunds into payouts, but the other half we aren't able to.

Related Request ID(s)
po_1QCw5jPp8NQLHhg68mJqfZD1 acct_1Q2lvVPp8NQLHhg6 pyr_1QCidHLXuND1HOuchmYqDatQ

What have you already attempted?
I've tried walking the data via the API but I can't figure this out.

#

@dusk valley pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My local stripe CLI seems to be using an old version of the API

stripe listen --forward-to localhost:3000/api/stripe/webhook
> Ready! You are using Stripe API Version [2020-08-27].

Related Request ID(s)
Unrelated

What have you already attempted?
I searched the stripe CLI docs and config settings but did not see a way to upgrade the API version

cursive heronBOT
#

@wanton crater pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to get stripe fees before creating a payment_intents through API?

Related Request ID(s)
req_tOMyOt95SphKhu

What have you already attempted?
Im trying to use payment API passing the amount but i need to also add the stripe fee at this point to be charged to a customer. Fees might change eventually and i would not like to maintain them or hardcode them on our side.

What are you working on?
Charging for a payment

cursive heronBOT
#

@pure tundra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am using a platform based in the US with connected Standard accounts in Brazil and/or Mexico. I understand that "application fees" cannot be applied directly, but I would like to know if I can charge a separate fee to sellers. Is this approach allowed with Standard accounts? If so, are there any recommendations or specific limitations for implementing this via the Stripe API?

Related Request ID(s)
req_TbIesOBkmMM9n7

What have you already attempted?
Already tried charging with application fees or transfer_data, which gives the error:

Stripe doesn't currently support application fees for platforms in US with connected accounts in MX.

Another alternative was trying to transfer funds, which led to:

Funds can't be sent to accounts located in MX when the account is under the `full` service agreement. To learn more, see https://stripe.com/docs/connect/service-agreement-types.

What are you working on?
An app to provide payments for retailers

cursive heronBOT
#

@robust walrus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am having an issue when trying to relink a financial connection account.

Related Request ID(s)
fca_1Px9sIJKKkVYLY75zArS0NHd, cus_Pg1mCR498EUGDQ

What have you already attempted?
I'm able to get a new session when I do sessions.create, I use the client secret to call collectFinancialConnectionsAccounts and I am getting accounts back. However, when I use the id of the first account on the list, I'm still getting it as "inactive" when I try to refresh the balance.

I checked and this customer still only has 1 FC account. Shouldn't these become "active" once you relink it?

What are you working on?
We're building a platform to manage rent for office buildings. Recently are making the transition to use Stripe for our payment processor.

#

@white horizon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Customers embed our forms onto their site to take donations. Currently however google and apple pay don't work when embedded on a customers site even though they registered their domain. We are receiving the following error "[Violation] Permissions policy violation: payment is not allowed in this document." Here is a link to one of our testing sites. (https://blackbearcommunitycenter.org/test/)

Related Request ID(s)
req_ARgaogaYDu3HsB

What have you already attempted?
We have tried changing our forms site permission policy as well as the test sites for the embeds permission policy and still get the error but only for google and apple pay

#

@viral phoenix pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any difference in API payload for one time transaction vs recurring transaction?

Related Request ID(s)
req_gTg63qvwCbryhB

What have you already attempted?
We check the logs from the past transaction and the payment intents is same.

#

@fringe cargo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using this Stripe API: [https://docs.stripe.com/api/account_links/create](https://docs.stripe.com/api/account_links/create). It's been working well, but one user completed the process and wasn't redirected to the `return_url` ([https://docs.stripe.com/api/account_links/create#create_account_link-return_url](https://docs.stripe.com/api/account_links/create#create_account_link-return_url)). Instead, they saw: "Information submitted. You can close this window." Any idea why this happened?

Related Request ID(s)
Could not find this

What have you already attempted?
https://docs.stripe.com/api/account_links/create?api-version=2024-11-20.acacia#create_account_link-return_url

#

@jagged plume pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What happens when PaymentElement capture the payment and fails for some reason during creating subscription or during confirming intent confirmIntent.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription#confirm-the-subscription

What are you working on?
Capturing payment before creating subscription.

#

@cosmic pewter pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import { auth } from "@clerk/nextjs/server";
const { userId } = auth();
console.log(userId);

Question
i always get a 401 unauthorzed error when i click the subscribe button in my other file, i tried debugging a lot anf found out that the userId from auth from clerk does not work, so in the console i get that no userId was provided so this function is not working right.

What have you already attempted?
i tried ai and aksed in other discors servers and people, and ive done a lot of debugging

What are you working on?
I am working on a tts voice cloning saas.

#

@violet spruce pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
No code yet, as it is a question about possiblity of implementation

Question
Is there a way to make the user commit annually but charge them on a monthly basis? If no, is there a manual implementation that would support this and if there is one, is it also still possible for the user to go to the stripe customer portal and manage their subscription there without breaking anything?

What have you already attempted?
I have looked through the stripe docs and some internet forums like reddit, but haven't found any more information on this feature.

cursive heronBOT
#

@regal echo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My whole integration works perfect for test keys. When I go live, I get:
v3:1 Unhandled payment Element loaderror
{error: {…}}
error
:
message
:
"The client_secret provided does not match any associated SetupIntent on this account. Ensure the publishable key used belongs to the same account that created the SetupIntent."
param
:
"client_secret"
request_log_url
:
"https://dashboard.stripe.com/test/logs/req_kKHGgCoZ18p4UU?t=1733167016"
status
:
400
type
:
"invalid_request_error"
The keys are valid?

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_kKHGgCoZ18p4UU?t=1733167016

What have you already attempted?
Switching back and forth between test and live. However, both API keys are for live production but it still things im on test?

What are you working on?
A client area for my CRM platform

#

@stiff sparrow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I updated our Stripe sdk to v8.11.0 and I'm getting this type error: Module "stripe.error" has no attribute "InvalidRequestError"
However, when checking Stripe doc, it is showing that this is available.

Related Request ID(s)
NA

What have you already attempted?
Type error with v8.11.0 stripe SDK

#

@last scarab pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how do i create a 3DS flow that mimics the behavior shown in the sandbox test card:
4000 0027 6000 3184

nothing i have done with production code mimics the behavior of that test card. How do i test production cards and force a 3DS flow that mimics what is shown with this test card:
4000 0027 6000 3184

i am using setup_intents client secrets server side

Related Request ID(s)
pm_1QRfDvEjhsTXrKxzEV8gt99H

What have you already attempted?
https://docs.stripe.com/payments/3d-secure/authentication-flow#when-to-use-3d-secure

#

@jagged plume pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What happens when PaymentElement capture the payment and fails for some reason during creating subscription or during confirming intent confirmIntent.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription#confirm-the-subscription

What are you working on?
Captue payment before subscription is created.

#

@glacial crescent pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to learn more about the best practices for holding funds for my marketplace app. A user pays at the time of event registration. The day after the event we payout the event workers and the event director. This could potentially be months after the event registration.

Doc/Guide Links
https://docs.stripe.com/connect/account-balances#holding-funds

https://docs.stripe.com/connect/separate-charges-and-transfers

What are you working on?
A market place for sporting event ticketing and registration.

#

@exotic sand pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/paymentintents/lifecycle

Question
Is there a concrete list of which payment methods are asynchronous?

What have you already attempted?
I've tried reading through the docs, and have seen several clauses that say things like "for asynchronous payments, such as ACH debit transactions, {...}", but no definite list of which payment methods are categorized as synchronous or asynchronous

#

@tame wyvern pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm looking to put some margin on top of a cryptocurrency on ramp transaction, is there anyway to do it?

Related Request ID(s)
cos_1NamBL2eZvKYlo2CP38sZVEW"

What have you already attempted?
I have set the `destination_amount` and the currency and network, but It only calculates the payment price off the fee, and I cant add any custom amount.

What are you working on?
A crypto multi currency wallet

#

@sharp spruce pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Assunto: Solicitação para ativar APIs de Dados Brutos no modo de teste

Olá,

Gostaria de solicitar a ativação das APIs de dados de cartão bruto no modo de teste para meu projeto de desenvolvimento. Entendo os riscos e quero utilizar este recurso apenas para realizar testes controlados em ambiente de desenvolvimento.

Obrigado,
[weslei alves dos santos/ wesleikhan@gmail.com]

Related Request ID(s)
acct_1QFcGMGVRGySusxw

What have you already attempted?
Assunto: Solicitação para ativar APIs de Dados Brutos no modo de teste

Olá,

Gostaria de solicitar a ativação das APIs de dados de cartão bruto no modo de teste para meu projeto de desenvolvimento. Entendo os riscos e quero utilizar este recurso apenas para realizar testes controlados em ambiente de desenvolvimento.

Obrigado,

#

@mellow birch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
my customers are not recieving emails after they have paid for the order

Related Request ID(s)
ask me in ticket

What have you already attempted?
it works for the webhoks logs and stuff

What are you working on?
working on a website

cursive heronBOT
#

@pure prawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to send emails are a user has purchased a subscription to my sass application is there a way to do that with stripe api

Related Request ID(s)
n/a

What have you already attempted?
I have tried to look on other websites

What are you working on?
I am creating a sass

#

@glacial crescent pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using separate charges and transfers to charge a user for event registration. The event might be a few months away. I am going to hold the funds in an FDIC insured account. The day after the event I want to payout event workers. Can I use the transfer API to accomplish this by adding the required balance back to my stripe account and proceeding with the transfer?

Doc/Guide Links
https://docs.stripe.com/connect/separate-charges-and-transfers

What are you working on?
A market place for sporting event ticketing and registration.

#

@bleak abyss pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
I'm able to create a payment method and setup intent. However, in the dashboard, the payment method is not visible on the customer page. Only when I make an actual payment record does the payment method show. What parameters do I have to provide in the payment method and setup intent POST calls for it to show in the customer page. Note I am inserting the payment method, then updating it to be attched to the customer via the attach API.
Thanks

Related Request ID(s)
evt_1QRgXeH1D61N6WBPESjHU821 and evt_1QRgXfH1D61N6WBP8qJOJGlU

What have you already attempted?
I've tried mandate_data[customer_acceptance][type]=' + EncodingUtil.urlEncode('online') among several other parameters.

#

@slow helm pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Using Stripe Financial Connection a customer should be able, after logging in via OAuth to their bank, to select the distinct bank account they'd like to connect and pay funds with.

What actually happened?
Our customer couldn't select the specific account. It, by default, was including all of them.

Reproduction Steps
not sure if possible given it's in our environment.

Question
Is there an additional setting today that we need to implement for a customer to be able to select the distinct bank account they want to pay from?

In this instance, we're facilitating B2B payments. Our customers (Payers) are paying their partners (Payees). This is specifically around Payers.

#

@swift cape pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a product that has a monthly price ($20/month) and a yearly price ($200/month). I want to create a coupon/promotion code that would take 25% off the price, but only works on the yearly price.

I understand that I could apply coupons to Checkout by passing `discounts=[{'coupon': COUPON_ID}]`. But is it possible to do this with promotion codes? I see that coupons apply to products and not to prices, but the monthly and yearly prices are on the same product.

Doc/Guide Links
https://docs.stripe.com/api/coupons/create

What are you working on?
promotion codes for yearly prices

cursive heronBOT
#

@gloomy arrow pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
So, I am curious as to how when someone purchases from my payment link how It can send a message to my discord server

Related Event ID(s)
Not have any

What have you already attempted?
question

What are you working on?
A bot

#

@cinder osprey pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to access the phone number that was used for verification during the Express Onboarding flow?

Related Request ID(s)
n/a

What have you already attempted?
I'm looking at the Account object but after logging the entire thing, the phone number is not present.

#

@vale quail pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
You may not update your TIN because of the Stripe terms of service you have signed. Please contact Stripe support for assistance.

Question
This has happened in the past. We have connected accounts onboarding to our platform for card issuing through the Stripe Embedded onboarding components

For some reason new accounts keep getting the error I posted above (through the Stripe component) This blocks them from being able to continue.

What have you already attempted?
In the past support told me to contact and they clear the issue on the connected account on your backend.

What are you working on?
Stripe Issuing + Connect

cursive heronBOT
#

@wanton tundra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm wondering if there is a way to manually fire the payment_method.card_automatically_updated webhook in testing mode.

Related Request ID(s)
N/A

What have you already attempted?
I've already tried the stripe CLI but it doesn't seem to support that specific webhook.

#

@white flicker pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For the retrieving of the SKU for specific hardware products, is this the correct process?

  1. I call thi first https://api.stripe.com/v1/terminal/hardware_products

  2. what value should I pass to /v1/terminal/hardware_skus/:id?

Should I pass this: https://docs.stripe.com/api/terminal/hardware_products/object#terminal_hardware_product_object-id

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

@inner drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are currently preparing to integrate Stripe's trial subscription function and would like to know the process of the trial function

Related Request ID(s)
no

What have you already attempted?
I have reviewed the document and found that there is no need to obtain the user's payment method when creating a trial subscription. When and how does Stripe deduct and renew the subscription

cursive heronBOT
#

@coarse ridge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In our app, we have the ability for customers to add their bank account as a payment method manually, which requires verification process. If the verification does not happen, the bank account is stuck at a "pending" stage. How can we remove a "pending" bank account payment method?

Related Request ID(s)
req_966kEPL90Qvx1x

What have you already attempted?
We tried detach PaymentMethod api but it did not work. We also tried. bank account list api to load the customers bank account (it was recommended by Stripe support) but we did not get any bank accounts.

What are you working on?
We have a webapp where users pay a fee to a special ocean conservationfund.

cursive heronBOT
#

@dire tapir pressed 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/payments/payment-links

Question
Hi Developers, I have a question
We are working to collect payments from our customers using Stripe Payment Links. A Stripe customer record already exists on our account, and we’re generating the payment link using their POST API. While we successfully generated the link and shared it with the customer, the transaction resulted in the creation of a guest customer on Stripe.

Is there a way to associate the payment and payment method from the guest customer to the existing Stripe customer? If this is not possible, what would be the recommended approach to ensure proper customer association?

What have you already attempted?
We have used the payment link and we don't find a way to attach it to the customer which we already have created.

Then we moved to checkout but the checkout link is expired in 24 hours and lot of our customers don't pay in 24 hours. Is there a way we can extend the expiration ?

If not then what do you suggest we collect the money so that we can reuse the payment method id for the future offsession transactions using Stripe API.

cursive heronBOT
#

@dusk gulch pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have add A to purchase subscription. I have add new card B 3d secure add. so my question is subscription recurring payment B card use so how to handle authentication

Related Event ID(s)
evt_1QRiDFIErBwOu8QAlVbHZe0f

What have you already attempted?
I have change the payment method and payment method is 3d secure

What are you working on?
recurring time authentication handle

cursive heronBOT
#

@pulsar drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do i get the status of next_action in setupintnet object based on payment method.

Related Request ID(s)
checking the feasibility here

What have you already attempted?
How do i get(retrieve) the status of next_action in setupintnet object based on payment method.

What are you working on?
setupintent + verify micordeposit

#

@dark fox pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I got a request below from my users regarding apple pay.

I want apple pay doesn't override the normal checkout shipping fields. any snippet i can use to disable apple pays shipping so i can use the default checkout shipping fields? I understand that apple pays goal is minimal input, but in my app users provide a shipping method on signup.

Related Request ID(s)
no id

What have you already attempted?
Nothing

What are you working on?
Maintaining a stripe integration plugin for woocommerce

#

@lofty ice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating a platform. The fund flow is as such: Buyers will purchase from you and Payouts will be split between sellers

I create a payment link in which a customer fills out. My checkout.sessions.create uses payment_intent_data to fill out things like description, metadata, application_fee_amount.

These details can be seen in the dashboard for the platform. But, when a connected user uses the embedded dashboard , they cannot see the same information (no description, metadata, etc), i.e, the FROM column.

I need a way to pass details so that both transactions have the same information.

Related Request ID(s)
Platform Dashboard vs Connected Account Dashboard

What have you already attempted?
I have looked through the checkout.sessions.create API to find any relevant way to pass data to the connect payment event directly, but have not found anyway.

What are you working on?
I am maintaining a method for "customers" to pay "freelancers" when a deal has been struck.

cursive heronBOT
#

@restive fox pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to charge my customers by including the Stripe fees and taxes, as they are currently being deducted from my amount. Is there a way to include these fees in the total? Additionally, I want to show the tax to the customer before they make the payment. I am using PaymentIntent in my application. If calculations are necessary, could you provide a document link with details on the fixed prices and percentage charges for processing fees based on location and payment method?

Related Request ID(s)
Developer

What have you already attempted?
I have come across several documents related to taxes and have tried different methods, such as "stripe.tax.calculation" and the "automatic_tax" option in checkouts, but I haven't been able to find any information on as Stripe tax is deducted after the transaction is completed.

cursive heronBOT
#

@inner drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to create a trial subscription for users in our mobile app. I tried using SetupIntents to collect the user's PaymentMethod, but the API docs don’t show how to get the PaymentMethodId from what the user enters on the frontend. The docs suggest using the PaymentMethod.list method to get the list, but when creating the trial subscription, I’m not sure which PaymentMethod to choose for the default_payment_method field.

Related Request ID(s)
no

What have you already attempted?
I ran through the example in the docs, but I can’t find the corresponding PaymentMethodId.
https://docs.stripe.com/payments/save-and-reuse?platform=react-native&mobile-ui=payment-element

cursive heronBOT
#

@patent sentinel pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I cannot see metered usage for a specific customer

What actually happened?
I try to see the metered usage via the Stripe dashboard but I get an error

Reproduction Steps
I try to see the metered usage via the Stripe dashboard but I get an error

Question
Can you please fix this? I wanted to see specific usage

cursive heronBOT
#

@toxic relic pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const calculateMRR = async () => {
const exchangeRates = await getExchangeRates(); // Get exchange rates for all currencies

let allSubscriptions = [];
let hasMore = true;
let startingAfter = null;

// Fetch all active subscriptions
while (hasMore) {
const response = await fetchSubscriptions('active', startingAfter);
allSubscriptions = allSubscriptions.concat(response.data);
hasMore = response.has_more;
startingAfter = response.data.length > 0 ? re

Question
I want to know how i can calculate Expansion and Contractions for MRR

What have you already attempted?
I have already completed the calculation of churn discount and also metered subscription FOr MRR

What are you working on?
Working on MRR calculation

#

@dire tapir pressed the 📚 Doc or 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
If I send the checkout link to the customer and they add a payment method then I send another checkout link I would like them to see the payment method which they used in the previous checkout link

What have you already attempted?
I tried to test it and it did not show the previously attached payment method which is on file on the customer record in the Stripe

#

@keen bramble pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expect the delete button of the saved cards in the payment sheet not to be allowed/present

What actually happened?
We setup a customer session on the backend that is passed to the native Android and iOs apps. These settings include disabling deletion of saved payment methods and displaying saved payment methods. However when the customer session is passed to the stripe SDK on the native apps, cards aren't saved and saved cards don't show up.

Reproduction Steps
Load the payment sheet on IOs then pass the customer session key created on the backend with the specified payment elements config to save payment methods and disallow deleting them

Question
How can we get the payment element to work on iOs and Android with the customer session configuration?

What are you working on?
Implementing the payment sheet in the native app checkout flow

cursive heronBOT
#

@simple monolith pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I tried to log in to a connected account and saw that I was using the free version of Radar. I wonder if my account is able to resist Radar's test card attack or do I need to turn on Radar for fraud teams?

Doc/Guide Links
https://stripe.com/radar

What are you working on?
A cross-border e-commerce platform and we are working on a solution to prevent verify card attacks through our system when integrating with Stripe

#

@sly brook pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello. I Have two questions
Some of our users have 2 subscription items like donation and something else i need to remove only donation subscription item from ther subscriptions in order to leave only "something else" item and make customer pay for it. What is the best way to do this?

Related Request ID(s)
...

What have you already attempted?
...

cursive heronBOT
#

@dusk gulch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://billing.stripe.com/p/subscription/update_payment_method_link/CBcaFwoVYWNjdF8xTEhuam9JRXJCd091OFFBKKviuroGMgYWfNwiA3A6Ota4-nBXvOm7xDEZTeESxPB4nDcit1T7u7KilG_DSU50oBLKTFxRNL0lNb6av5oQJ10QuVRnWT-rIgk

how to create this link in the webhook event invoice.payment_action_required

Question
I have sent mail to this link if recurring payments failed

What have you already attempted?
if the subscription recurring payment failed then send to this link.

#

@ocean cradle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have created a future schedule subscription, on its active date, subscription has been created.

I have requirements to update the phases and that is working too.

After some time, the schedule subscription has been released.

So, when I am updating that schedule, it is giving me error - You cannot update a subscription schedule that is currently in the `released` status. It must be in `not_started, active` status to be updated..

So now, how to update any details on subscription as it is giving error on the schedule it is attached with.

Related Request ID(s)
123

What have you already attempted?
I have created a future schedule subscription, on its active date, subscription has been created.

I have requirements to update the phases and that is working too.

After some time, the schedule subscription has been released.

So, when I am updating that schedule, it is giving me error - You cannot update a subscription schedule that is currently in the `released` status. It must be in `not_started, active` status to be updated..

So now, how to update any details on subscription as it is giving error on the schedule it is attached with.