#dev-help

1 messages ยท Page 98 of 1

cursive heronBOT
#

@lean crown pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We are using payment links for the payment of some of our clients' services.

What actually happened?
However we got the email that with 8th of April, there is no possibility to deactivate adaptive pricing...

Reproduction Steps
Adaptive pricing is now deactivated for most of our clients and should remain like this.

Question
Is there a possibility for deactivating the adaptive pricing after the update?

#

@manic arrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We use customers and the Stripe portal, but the cards that are added are not available for users to use, even though they have already added them. Is there an option that is disabled, or are we missing something?

Related Request ID(s)
none

What have you already attempted?
Tried to find any related item but none.

What are you working on?
Subscription Service

#

@tropic bridge pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
It seems like that some events are not properly forwarded to my webhook for my connected accounts.

Related Event ID(s)
evt_1QwMylKmLHWBAdjZTqLxOKrc

What have you already attempted?
Not much as I expect events to be forwarded correctly to my webhook

#

@radiant cedar pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am doing a test subscription in sandbox using google pay, it is showing up as incomplete

Related Request ID(s)
req_kcmRkES3yw2wAq

What have you already attempted?
Checked logs and it says default_incomplete

cursive heronBOT
#

@frozen plaza pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to know what is the difference between when Transactions is marked as failed vs when marked as blocked on Stripe. I can see the webhook being called is payment_intent.payment_failed
in both cases.

Related Event ID(s)
payment_intent.payment_failed

What have you already attempted?
I tried to do a google search related to that but it didn't work.

#

@stray pumice pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/sepa-debit#creditor-identifiers

Question
I would like to test all the SEPA FAILURE CODES but in SEPA testing I don't see any with such particular responses, can you provide more SEPA directs to check all the failure codes? We want to mitigate problem before enabling SEPA in productions. Thank you

What have you already attempted?
Checking test SEPA nethods doc https://docs.stripe.com/testing?payment-method=sepa-direct-debit

What are you working on?
Enabling SEPA payments via Chargebee+Stripe

#

@astral ocean pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Be able to update a stripe payment method us_bank_account routing number

What actually happened?
Cannot find information to support updating a routing number that's stored on a payment method.

Reproduction Steps
Use this api call Stripe::PaymentMethod.update to update a routing number

Question
Hi, is there anyway to update a payment method routing number?

cursive heronBOT
#

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

Question
I always got 500 server error when creating a
"Meter" using the stripe sdk.
But before (like 1ย month ago) when I was creating Meter it work fine.
I retried, but it is always the same.

Related Request ID(s)
req_kKbMTOQT4PujLq

What have you already attempted?
I followed exactly the doc and the api ty definition:
meter = stripe.billing.Meter.create(
display_name="Usage per user",
event_name=USER_USAGE_EVENT_NAME,
default_aggregation={"formula": "sum"},
customer_mapping={
"event_payload_key": "stripe_customer_id",
"type": "by_id"
},
value_settings={"event_payload_key": "value"},
)

#

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

Question
Can the payment element also show customers saved payment methods to select or can it only create new once?

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

cursive heronBOT
#

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

Question
Can the payment element also show customers saved payment methods to select or can it only create new once? Like at the moment i get all customers payment methods and to select but also have created a setup Intent to a new payment method can be adds. So I was thinking maybe there is a simpler way to that with the payment element where user can both select existing payment methods but also create new once

Related Request ID(s)
,

What have you already attempted?
.

What are you working on?
.

#

@deep yarrow pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
app.post\("/paynow", async \(req, res\) =\> {
const { price, orderId, transactionId } = req.body;

const session = await stripe.checkout.sessions.create\({
payment\_method\_types\: \["card"\],
line\_items\: \[
{
price\_data\: {
currency\: "usd",
product\_data\: { name\: "Test Pr

Question
I have made apple pay active! I want to know if i can test it in my mobile or not

What have you already attempted?
I tried to test it on my windows laptop

What are you working on?
Creating basic payment system using stripe

#

@next basin pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to update metadata or description of a payment after its been created?

We split revenues with our marketplace partners. We are looking to do destination charges with on_behalf_of flag since some partners are in other countries.

We have it setup the checkout session creation with payment_intent_data[on_behalf_of] = connected_account_id

We have also specified payment_intent_data[transfer_data] with destination = connected_account_id and amount being their share of the revenue.

All tax and fees should remain on our side of the equation.

We can see that money is successfully transferred to the connected account as "Payments". But would love to add more data.

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

What are you working on?
A marketplace for users to buy digital books.

cursive heronBOT
#

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

What did you expect to happen?
I expected that Google Pay integration worked on my test environment by manually creating the PaymentRequest and verifying availability with canMakePayment

What actually happened?
It worked for a couple weeks and suddenly stopped working. The canMakePayment method returns null (meaning Google Pay is not available)

Reproduction Steps
Enable Google Pay on the Dashboard and add your domain;

Create a payment request as specified here https://docs.stripe.com/js/payment_request/create but add disableWallets: ['link', 'applePay'];

Call canMakePayment (https://docs.stripe.com/js/payment_request/can_make_payment) and the result is null

Question
How can I have a feedback of what's preventing the Google Pay from being available? As it was working perfectly before and there are no visible error or warning messages I would like some insights of what could cause this behavior (working and then not working) or a way I can debug this properly because we tried everything we could think of.

What are you working on?
Trying to integrate Google Pay in a webapp for a preexisting payment flow where PaymentIntents are handled by our server

cursive heronBOT
#

@shrewd wraith pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When a payment is reversed in a Connect setup, it is my understanding that Stripe does not charge a processing fee. However the application fee is still collected. We would like to refund application fees for reversed payments since there was no fee charged by Stripe. How would we do this?

Related Request ID(s)
pi_3QzRARHDgd7YgnZu1TKxqnG5, pi_3QzPeqHDgd7YgnZu16zrRfcH

What have you already attempted?
API for PaymentIntent does not return `reversed` status

What are you working on?
Healthcare marketplace

#

@mossy bison pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to load invoices for a test account but I get zero results, even though I created 2 invoices. Using API and Stripe Connect, with the API of the "parent" account, and passing the stripeAccountId in my request. I wonder if this is related to the new "Sandbox" functionality on Stripe, different from the old "test mode"?

Related Request ID(s)
req_uMKHT4hfCOyv9e

What have you already attempted?
I tried changing the accountId so that it is invalid, to ensure an error shows up, and that happens. So the account ID I am passing is correct and valid, but my requests return empty results.

What are you working on?
Maintaining Churnkey, a churn prevention tool, and I wanted to test some modifications in test mode before going live but I was surprised to find this failed.

#

@lean bay pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're having trouble with webhook events and connected accounts. The configuration and UI seems to clearly imply that a given webhook destination will receive events for either connected accounts or our account, but not both. We have two endpoints configured with a different set of events, one for our account and one for connected accounts. For example, we have charge.succeeded set on the Connected Accounts endpoint but not on Our Account's endpoint. But when a charge goes through on our account, we're still seeing that event delivered to the "Connected Platform".

Related Event ID(s)
evt_3R2Gwj2nnsqyEcvl1QLy6UIV

What have you already attempted?
We've been trying to sort this out every way we can, and keep coming back to the conclusion that events that are configured for only connected accounts are being sent for our account as well. The endpoints in question on production are the same URL, but we've tested with different endpoint URLs in test mode and seen the same behavior.

cursive heronBOT
#

@bold jewel pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
GDPR question. When we get a GDPR customer data delete request, we're using the API to delete the customer from Stripe. I've noticed that the event history for the deleted stripe customer still has the deleted user's email in it. Is there a way to ensure that that data gets removed?

Doc/Guide Links
https://docs.stripe.com/api/customers/delete

What are you working on?
Validating GDPR compliance

cursive heronBOT
#

@pseudo swan pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I need an app to use Stripe with the api version 2020-08-27; Iโ€™m sendind the api version through Hey everyone, I need my testing account to support an older Stripe API version, but new accounts only have access to the 2024 and 2025 versions. Upgrading the code isnโ€™t an option for me right now.

Question
I know existing accounts can keep their API version until manually upgraded, but thatโ€™s not an option for me. Has anyone found a workaround, or should I reach out to Stripe Support? Would appreciate any advice!

What have you already attempted?
Create a new account; try to find where to downgrade my current account api version

What are you working on?
Just regular 1off payments

cursive heronBOT
#

@cerulean sparrow pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trialing the new Sandboxes feature. One of the questions we have internally is if it's possible to sync/copy any changes from live or test mode into the sandbox AFTER the sandox is already setup? I know initially when setting up the sandbox it can copy across everything from the live account, but we're more wondering about keeping things in sync after that point. Similar to how you can copy items from Test Mode to Live mode.

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

What are you working on?
Looking to utilise Sandboxes for running automated E2E tests.

cursive heronBOT
#

@safe wave pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
let clientSecret = await this.getClientSecret();
let appearance = {
theme: 'stripe'
};
let elements = this.stripe.elements({ appearance, clientSecret });
let paymentElementOptions = {
layout: 'tabs',
paymentMethodTypes: [ 'card' ],
fields: {
billingDetails: {
address: {
country: 'never'
}
}
}
};
let paymentElement = elements.create('payment', paymentElementOptions);

Question
I am adding support for Canadian currency to our stripe integration using Elements. We want to *only* allow USD or *only* allow CAD in the form and not allow the customer to choose. Currently, our form requests "Card Number", "Expiration Date", "Security Code", and "ZIP code" for US. For Canada, we need to show "Postal Code" as the label. Also, when entering the Canada test CC number, only US Zip Code is acceptable, not a Canadian postal code.

What have you already attempted?
Changing the "country" setting to "CA" and "CAN" to force Canada only. This is not a valid value.

What are you working on?
Adding Canadian currency support

cursive heronBOT
#

@silent stratus pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating what should be an identical payment method.

I am doing it with the setup intent API vs the paymentMethod api. Both are using the exact same routing and account number. However, the fingerprints of the payment methods differ. Shouldn't they be the same?

Related Request ID(s)
req_JvlyiDR9woR9xv req_40IeTeejC3HOD7 req_D5ib1rQKNtqNGp

What have you already attempted?
I have tried different accounts and parameters but nothing is changing. After I verify the setup intent payment method via financial connections it matches the setup intent payment fingerprint.

cursive heronBOT
#

@grizzled elbow pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
await stripe.subscriptions.update(subscription.id, {
items: [
{ id: subscription.items.data[0].id, deleted: true },
{ price: PLANS[subscriptionId][billingInterval].priceId[stripeEnv] },
],
billing_cycle_anchor: "unchanged",
proration_behavior: "none",
});

Question
I have multiple subscription plans and monthly prices for each. Stripe's proration system does not fit my business need so on an upgrade, I currently calculate the difference myself and create a checkout session, and then handle the actual upgrade in a webhook. I am implementing annual prices but when switching from monthly to yearly price, it seems like Stripe is always invoicing the user, is there a way I can make Stripe NOT invoice when when switching billing periods?

What have you already attempted?
I have tried setting `proration_behavior: "none"`.

What are you working on?
SaaS

cursive heronBOT
#

@still current pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
on onboarding process, I have to remove some options such as a job title and industry because that is irrelevant question/field for my vendors.

Related Request ID(s)
my vendors are using, stripe handled onboarding for vendor registration. I created link using accounts.create method in Node.js and pass them

What have you already attempted?
I read this doc:
https://docs.stripe.com/api/accounts/create

I am looking for auto fill option for job title and industry selection field which I did not found on doc

What are you working on?
I am creating app that basically gives empty space on rent for vehicle parking. so any individual want to give his space on rent they are registered through stripe connect

cursive heronBOT
#

@crystal tundra pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a call from my code to Stripe, which is a checkout session, that includes a StripeAccount in the header for a request on a connected account. I have two webhooks, one account webhook, and one for connected account events. When my checkout session completes, with the StripeAccount header in the request, I expected the event to be picked up by the connected webhook. But what happens is that it's picked up by both, the Account webhook processes it correctly, and the Connect one fails with a secret mismatch error.

Related Event ID(s)
evt_1R2Gx2PAqUdQHxZUtcVf26vX

What have you already attempted?
read the docs, debugged it as far as I can, like I say the account webhook sends it to my primary endpoint and it gets processed on my server ok because both endpoints really do the same thing, but with different webhook secrets to validate the call. If i look in the stripe dashboard (this is in test mode) the checkout session is correctly allocated to the connected account, so it is working, but I didn't think it should work this way

#

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

Question
Does the express dashboard handle requirement collection if a connected account's requirements change?

Related Request ID(s)
na

What have you already attempted?
Not getting a clear answer from the docs

#

@left pendant pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Issue with crypto payment via Stripe Checkout API in React Native

Expected: after clicking on a Metamask option in ยซConnect your walletยป section in the Stripe Checkout UI, I must be redirected to Metamask app and see connect my wallet option or other similar action which helps me to connect my wallet

What actually happened?
When I click on a Metamask and when I am redirected to their app there was no popup to connect or other similar action.

If I choose Phantom instead of Metamask wallet in Stripe Checkout UI list , then it works properly (when I am redirected to Phantom app I can immediately see a popup to connect a wallet)

Reproduction Steps

  1. Create Checkout session with crypto payment method
  2. Open redirect link via React Native iFrame component
  3. Go through the crypto payment flow in checkout page and choose Metamask option
  4. Go to Metamask app via redirect link from Stripe

Details:
- Metamask version: 7.41.0
- Test devices: Vivo Y51A, Samsung, Pixel 6A;

Question

  1. Can you tell why this issue happens and how to fix it?
  2. If this is a bug, is there a possibility in Checkout API to temporary disable Metamask option from the wallet list in Stripe Checkout UI?

What are you working on?
Trying to integrate pay with crypto by using Stripe Checkout API and React Native iFrame component

cursive heronBOT
#

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

Question
Hi Iโ€™m building a โ€œupdate payment methodโ€ feature for my app. I create setupIntent first and then attach the card to it, afterwards my app would try to pay all the open invoices automatically with the new card. I find that if I use the 3DS required card โ€œ4000000000003220โ€ then the auto payment failed even if Iโ€™ve created the setupIntent with off-session to True. However if I use card โ€œ4000002500003155โ€ then the auto payment succeeded after the card is setup. Just to confirm: for the scenario that I described, โ€œ4000002500003155โ€ is the correct card that I should use to test, right?

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

@mental granite pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

I am working on an employee expenses reimbursement system where I invoice the company at the end of the month and then pay the employees after the company has paid.

But I have some issues as for some companies it is working but for other I get an error "You have insufficient funds in your Stripe account for this transfer. Your card balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance)."

For example in March: invoices has been done on 01/03, payment on 11/03 at 3:08AM and transfer to employee at 3:08:55AM

Related Request ID(s)
req_s9BcVQCYHzhk3h (KO), req_RxVPcpH7fgWnjp (OK),

What have you already attempted?
I tried to shorten the time between payment and transfer but it is not ok

What are you working on?
Employee expenses reimbursement

cursive heronBOT
#

@cerulean summit pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<script>
let stripeCheckout = null;
let currentOrderId = null;
let paymentModalOpen = false;

function uporders() {
const btn = document.querySelector('.order-summary .btn-primary');
btn.disabled = true;
btn.innerHTML = 'ๅค„็†ไธญ...';

if\(currentOrderId\) {
  restorePayment\(currentOrderId\);
  return;
}
console.log\('ๅฝ“ๅ‰ stripeCheckout ็Šถๆ€\:', stripeCheckout\);
// ๆธ…็†ไน‹ๅ‰็š„ๅฎžไพ‹
if\(stripeCheckout\) {

  stripeCheckout.unmount\(\);
  stripeChe

Question
You cannot have multiple Embedded Checkout objects.

What have you already attempted?
I have tried all of them. Even reloading js and other methods

cursive heronBOT
#

@humble tide pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe Connect Integration with LearnWorlds

Hi there,

The Stripe support team directed me to you, and I was hoping you could help me out. Iโ€™m looking to integrate LearnWorlds with Stripe Connect, specifically using Destination Charges. Unfortunately, I couldnโ€™t find any official documentation or guides on how to set this up.

Has anyone here worked on this integration before or has insights on how to technically implement it? Iโ€™d be super grateful for any information or resources that could point me in the right direction!

Looking forward to your response. Thanks in advance!

BR Kerstin

Related Request ID(s)
none

What have you already attempted?
Sales and support team of stripe and learnworlds

What are you working on?
stripe connect

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/service-agreement-types?connect-account-creation-pattern=typed#connect-configuration-settings

Question
I have stripe account based in US. How can I handle the connected accounts payouts for the accounts based in Mexico charging an application fee on each payout.

What have you already attempted?
I got suggestion from a stripe developer to consider cross border payouts with service_agreement to 'recipient' and changing the capabilities of the connect account. But I still got restrictions and limitations while creating a stripe connect account.

What are you working on?
I'm working on an app that works as a platform where users register and create paid communities by paying a $49/month subscription fee and other users can join these communities.

#

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

What did you expect to happen?
I expected that Google Pay integration worked on my test environment by manually creating the PaymentRequest and verifying availability with canMakePayment

What actually happened?
It worked for a couple weeks, others and me were able to complete payments, but suddenly stopped working having the same configurations, code and cards in the wallet. The canMakePayment method returns null (meaning Google Pay is not available)

Reproduction Steps
Enable Google Pay on the Dashboard and add your domain;

Create a payment request as specified here https://docs.stripe.com/js/payment_request/create but add disableWallets: ['link', 'applePay'];

Call canMakePayment (https://docs.stripe.com/js/payment_request/can_make_payment) and the result is null

Question
How can I have a feedback of what's preventing the Google Pay from being available? As it was working perfectly before and there are no visible error or warning messages I would like some insights of what could cause this behavior (working and then not working) or a way I can debug this properly because we tried everything we could think of.

What are you working on?
Trying to integrate Google Pay in a webapp for a preexisting payment flow where PaymentIntents are handled by our server

#

@frozen jay 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 the following scenario: I want to be able to create a subscription, as well as pay for certain add-ons which are one time payment.
What's the best method of achieving this? One payment for subscription and addons. I am going for a custom implementation

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

What are you working on?
A platform for teachers in Romania using Strapi / NextJs technologies

cursive heronBOT
#

@queen gulch pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The specified Checkout Session could not be found. This error is usually caused by using the wrong API key or visiting an expired Checkout Session. Please make sure the Session is not expired and that the API keys used to initialize Stripe.js and create the Checkout Session are test mode keys from the same account.

Question
when I am using the direct account payment using stripe , it is showing the above error while creating the checkout session. I am passing account id as the stripe account
Below is my code
{ stripeAccount: accountId }

What have you already attempted?
I have tried removing on payment behalf as it was implemented destination account payment on strip e

Reproduction Steps
Go to checkout session the stripe will show the expired checkout page

What are you working on?
I want to implement the direct account payment using connected account in stripe

#

@kind owl pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I get this error even though card payments are enabled and I don't have any outstanding tasks on the connected account or the main account.

Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1R2KnjCYR3iirrCh/settings/payment_methods

What have you already attempted?
I have switched it to inherently on to on. I have refreshed and nothing seems to work.

What are you working on?
We are building a payment gateway for an EV rental company

cursive heronBOT
#

@proper quarry pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
User (LPC) deleted payment method from the customer's Stripe Dashboard.

The API endpoint that Carebit uses to list payment methods for customers still returns the deleted payment method.

The API endpoint Carebit ran to try to permanently detach the payment method for the customer fails saying it can't find the payment method.

Please advise or reach out to Carebit directly to troubleshoot.

Related Request ID(s)
Customer payment method

What have you already attempted?
User (LPC) deleted payment method from the customer's Stripe Dashboard.

The API endpoint that Carebit uses to list payment methods for customers still returns the deleted payment method.

The API endpoint Carebit ran to try to permanently detach the payment method for the customer fails saying it can't find the payment method.

Please advise or reach out to Carebit directly to troubleshoot.

#

@manic arrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Deleting Incomplete Subscription using Checkout Session fails because of active session

Related Request ID(s)
---

What have you already attempted?
Beside trying to delete the subscription and getting that error nonthing.

#

@pallid hamlet pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have an ecommerce platform and use Stripe Checkout for payments. We only pre-authorize funds on the customer's card at first, until the order is approved. How can we retrieve all Uncaptured payments, but only those where a failed attempt to capture it doesnโ€™t exist (most common reason for a failed attempt is where the system tries to capture more than the pre-authorised amount. Basically any payment where there is an api error caused by a failed capture attempt should not be included).
We are trying to achieve this using Stripe.NET in a C# environment

Related Request ID(s)
n/a

What have you already attempted?
We managed to retrieve all payment intents with status of 'requires_capture', but only by retrieving them all and then filtering based on status. Is there a way to only retrieve those with the requires status by using a filter on the PaymentIntentService? Also we weren't able to filter out those where a failed capture attempt existed

#

@stone stag pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I am trying to make sure so that when the customer makes a payment so the payment id does not get reattached again otherwise it creates a new payment id with a new payment method but did not really find a way to do it.

```
await stripe.paymentMethods.attach(paymentMethodId, {
customer: customer.id,
});
```

Related Request ID(s)
Can't find any

What have you already attempted?
I have tried to retrieve the customer payment method and payment method to not attach the payment id again if it is already attached but nothing is really working for me.

What are you working on?
I am working with subscriptions

cursive heronBOT
#

@vale marten pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am building a new website and my developers need to integrate my stripe account to the new site

Related Request ID(s)
20761899

What have you already attempted?
I have tried speaking to support

What are you working on?
A new website

#

@pulsar raven pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Code not valid

Question
I'm testing my coupon codes that I set up in Go High Level. They are not working.

What have you already attempted?
Called go highevel to see if it's something on their end. I also tried creating codes on stripe and they will not work either.

What are you working on?
Tickets for a conference.

cursive heronBOT
#

@blissful bluff pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Cannot create a file link for a file that was used for a connect account verification. The file definitely exists. I get InvalidRequestError: Request req_L07y4yDx9lIe6z: No such file upload: 'file_1R1vHi2SwypXsRVYFcT1jsU5'

Related Request ID(s)
req_L07y4yDx9lIe6z

What have you already attempted?
stripe.FileLink.create(
file='file_1R1vHi2SwypXsRVYFcT1jsU5',
)

cursive heronBOT
#

@thorny pelican pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Unable to authorize card. No response from Stripe.js.

Question
On Gravity Forms and Stripe add-ons, WordPress

What have you already attempted?
Updated the plugin and reconnected stripe

#

@solemn geyser pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we are using Salesforce Stripe Connector and we are listening to Subscription Created, Invoice Payment Succeeded & Charge Created. We are running some flows based on the event in Salesforce and since the events are coming instantly, it is overlapping with our flows and not working as expected. So, I would like to know if there is any way to add a time delay in sending these events.

Related Event ID(s)
sub_1R2Klr4xg7hY5EX0mwU9QP1I

What have you already attempted?
Tried to convert flow to async flow

#

@boreal moss pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why my Checkout with 0 amount doesn't trigger the checkout.complete? is it because it's missing a payment_intent?

Related Event ID(s)
evt_1R2ZJeQ3x4FhUeh5RDRT38J4

What have you already attempted?
Im using the same code for my paid events and everything is working well, but when i have a free event i still want to trigger the checkout.complete webhook but it's not completing, getting 500 error.

What are you working on?
Event Ticketing Platform

#

@charred niche pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Hello, stripe does not accept my business license. I want to activate my payment as soon as possible.

Question
What can I do to solve this since the error description is not clear enough for me.

What have you already attempted?
I have submitted it plenty of times.

cursive heronBOT
#

@hushed dragon pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to install previous version of stripe-node?
I want to use 2025-01-27.acacia but it automatically installs 2025-02-24.acacia.

Related Request ID(s)
/

What have you already attempted?
Looking through the docs and releases on Github.

cursive heronBOT
#

@unkempt hull pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm not sure anything is wrong, but I'm trying to understand exactly what happened with two transactions that did not end up in a payment. They both required action, but only one of them failed while the other was incomplete. What is happening here? Also, I'm not sure I'm interpreting what is going on with the next action correctly and would like to walkthrough how it works.

Related Request ID(s)
req_UXYXevSlGWeWPJ, req_pX0LFmh9EMsA4k

What have you already attempted?
I've read the payment intent object documentation, the create payment documentation.

What are you working on?
An event ticketing app

cursive heronBOT
#

@tame sand pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm devoloping a system able to simulate a monthly payment for an enterprice. I'm using the setup intent with sepa debit, with a confirmation by the final user and then the payment will be without confirmation every month. Anyway, when i create the setupintent (It's all automatic until the final step) i have to insert the the off session with sepa debit, the confirm url and mandatedata, but mandatedate requires (ONLINE case, the one i need), the user IP and browser, that i don't have, because the user douesn't use my crm and receive only the final link by stripe. Is there a way to resolve?

Related Request ID(s)
Missing required param: mandate_data.; code: parameter_missing; request-id: req_5DVz9YtFzU3hyA even if I already have a mandate ID, created in SetupIntentCreateParams params = SetupIntentCreateParams.

What have you already attempted?
SetupIntentConfirmParams params = SetupIntentConfirmParams.builder()
.setReturnUrl("******************") // โœ… Aggiunto il return_url
.setMandateData(SetupIntentConfirmParams.MandateData.builder()
.setCustomerAcceptance(SetupIntentConfirmParams.MandateData.CustomerAcceptance.builder()
.setType(SetupIntentConfirmParams.MandateData.CustomerAcceptance.Type.ONLINE) // โœ… L'utente deve confermare su Stripe

What are you working on?
automatic payment for a gas and electricity supplier company

cursive heronBOT
#

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

Question
Hello!
I'm using setupIntents to collect customer payment methods for future use. I have many payment methods active on my dashboard but some of them don't appear on the payment element displayed.

Related Request ID(s)
error request: req_RGoi6t5aCOUHHT

What have you already attempted?
I tried adding the payment methods on the payment_method_types option but I get errors like:
`The payment method type "wechat" is invalid.`

#

@simple relic pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
obtener el Tipo de cambio entre monedas

Related Request ID(s)
exchange

What have you already attempted?
I need to get the exchange rate between currencies (EUR - USD) for the current day using the API

What are you working on?
developer

cursive heronBOT
#

@lost python pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need help with the implementation of Stripe on my React Native app. I am having problems getting a secret while creating payment intent to collect fees and transfer funds to a connected account

Related Request ID(s)
N/A

What have you already attempted?
Tried creating payment intent using amount, currency, application_fee_amount, and connected account id.

What are you working on?
I working on a react native app with AWS.

cursive heronBOT
#

@stark meteor pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
mode: "subscription",
shipping_address_collection: {allowed_countries: ALL_COUNTRIES},
subscription_data: {
trial_period_days: 14
},
shipping_options: [...]

Question
How to add shipping_options to the stripe checkout session that im creating using rails backend. My checkout is going to have both subscription and one time payment options.

What have you already attempted?
I tried to implement it directly and it says error and i tried to find solutions online but could not get any help. Need a proper way to create two shipping options.

What are you working on?
custom ecommerce website

#

@brittle shoal pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using Stripe.js React SDK's AddressElement and PaymentElement to create a form where i collect billing information to charge later (i'm using SetupIntents). I want to (a) display an email input field collect the email address too (this often differs from their email used to log into my web app so have to ask customer for an email) and (b) autofill their address information when they try using the Stripe form again

Related Request ID(s)
not related to a specific log

What have you already attempted?
i've read your docs, tried using options.defaultValues.billingDetails, and tried enabling and disabling Link

What are you working on?
for an internal dashboard billing feature, will use stripe to charge customer at end of each month based on their usage

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 8am GMT on Monday, March 17th. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

#

@queen gulch pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've added the connected account feature to Stripe. When using the direct payment method, my webhook isn't being triggered, but it works flawlessly with the destination account method. For direct payments, the only event I see in my events list is the application fee charged event. What could be causing this issue?

Related Event ID(s)
evt_1R3YONJjxrfgscFsKqDHHf9l

What have you already attempted?
I have tried attempted all the possible solutions to implement the direct payment.

What are you working on?
I want to implement the direct payment using stripe while using connected account

#

@pliant kelp pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Account: nobitalu@rektec.com.cn
Webhook ID: we_1POwJM2K3Me57ZznenmESpct
Mode: Test Mode

Problem:

The โ€‹Webhooks settings page in the Stripe Dashboard remains stuck in a loading state.
The application is โ€‹not receiving payment webhook events in test mode.

Related Event ID(s)
nil

What have you already attempted?
Recreate a webhook,But with then same problem.

#

@unkempt hull pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Stripe Connect. I did a test transaction for $60. I wanted to take a $6.25 fee from this. When I look at Transactions on my Dashboard, I see the $60 payment. I see the $6.25 on the Collected Fees. But on Transfers I see the full $60 being sent to the connected account. I expected the transfer to be $53.75. What am I not understanding about the process?

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges

What are you working on?
An event ticketing app

cursive heronBOT
#

@inner drift pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a few questions regarding subscription renewal payment failures and retries. During the subscription process, some of our users experience renewal payment failures.

Is it possible to use the API to allow users to manually pay for the failed renewal order within our app?
Does Stripe support an API to proactively trigger the payment attempt for the failed renewal order?
When a renewal payment fails, does Stripe allow users to update their payment card and retry the payment?

Related Request ID(s)
no

What have you already attempted?
no

cursive heronBOT
#

@hardy patrol pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We got an email from you where you informed us that from April 9, automatic payouts in EUR, DKK, NOK and SEK will be initiated on the same day they're expected to arrive for all your connected accounts in the EU.
Does this mean that your webhook events "payout.created" and "payout.paid" will happen on the same day?

Related Event ID(s)
E.g. evt_1R3RY5FwdQ53YY8H6wjwCjo4

What have you already attempted?
We have automatic payouts on our connected accounts, and we usually see a payout initiated within 24 hours when the account has a balance to pay out. So right now we see a "payout.created" event e.g. on a Monday, and then a "payout.paid" event the next day/Tuesday. So we're just wondering if this is what's changing.

What are you working on?
Communicating when our platform sellers can expect money on their external account

cursive heronBOT
#

@crisp grotto pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'd like to know if there's a way I can use the API to update the amount of a subscription object's invoice line item after creation.

I want to be able to use a single subscription object's payment intent that I can update the line items of in case I want to add a discount.

The docs say that you cannot modify invoices attached to subscriptions after finalisation but I'm curious to know if there's any sort of work around or if I have to recreate the subscription object whenever I want to add a discount.

Doc/Guide Links
https://docs.stripe.com/api/credit_notes/line_item
https://docs.stripe.com/api/subscriptions/update
https://docs.stripe.com/invoicing/invoice-edits?testing-method=with-code

What are you working on?
A checkout page that allows the user to buy a service for a one time fee, or a service with the one-time fee + a yearly subscription.

#

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

Question
I have a subscription and want to charge per seat.

I render a pricing table in my app so users can upgrade their package when they are trialing โ€“ or when their trial has been expired. (I should note I'm not using an actual trial โ€“ it's a free subscription and I set a cancelation date after 14 days after it has been created)

  1. I create a customer session and pass these values to the pricing table: :customer-session-client-secret="customerSession?.client_secret"
    :client-reference-id="organization?.organization_id"

  2. When the user proceeds to the payment page, the amount is 0$

Related Request ID(s)
NA

What have you already attempted?
Reported a meter event for the seats, like so:
await stripeClient.billing.meterEvents.create({
event_name: eventName,
payload: {
stripe_customer_id: stripeCustomerId,
Users: '2'
},
})

What are you working on?
Interactive Quote Builder SaaS

#

@cunning kraken pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Need help integrating for dynamic pricing

Question
So I have a dynamic pricing checkout but I canโ€™t get it to work

What have you already attempted?
Brute force with cursorโ€ฆ

What are you working on?
3d printing wesitsb

#

@dire ivy pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I handle retry policies on subscriptions, which invoices -> payment intents are in state "requires_action"? Stripe ignores them and doesn't retry anything.

Case 1:
Customer has subscribed with a card with insufficient funds. The next billing cycle hits. It fails due to insufficient funds. Now stripe will retry it a few times, before the state of subscription changes to "unpaid".

Case 2:
Customer has subscribed with a 3d-secured card. Payment fails. Intent is in "requires_action". Subscription remains past_due and doesn't transfer automatically to "unpaid" after 7 days.

How can I set it automatically to unpaid within 7 days after the invoice wasn't paid due to action

Doc/Guide Links
https://docs.stripe.com/payments/3d-secure

What are you working on?
Subscription Invoices with Requires Action and Unpaid State

#

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

Error Message
PaymentMethods of type 'bancontact' cannot be saved to customers

Question
Why canโ€™t Bancontact, Sofort, and iDEAL payment methods be saved to a customer using a SetupIntent? Is there a workaround?
Are Buy Now, Pay Later (BNPL) payment methods (Klarna, Afterpay, Affirm) supported in SetupIntents, and if so, how can they be displayed in the Card Element?

What have you already attempted?
When try to attach Bancontact, Sofort, and iDEAL payment methods to customer then getting error.

cursive heronBOT
#

@queen gulch pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Create Session webhook is not getting triggered in the case of direct account transfer

Related Event ID(s)
evt_1R3YONJjxrfgscFsKqDHHf9l

What have you already attempted?
I am using stripe connected account and in there I have implemented the direct transfer option , but the create session webhook is not getting triggered t was working fine before

What are you working on?
I want to implement direct transfer using connected account but it is not working , my create session webhook is not getting triggered

#

@vestal spade pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
TypeError: null is not an object (evaluating '_NativeStripeSdk.default.getConstants')

Question
Manually link library for Android?
I belive this error happens when we have issue with linking library to native (android)

What have you already attempted?

  1. npx react-native link @stripe/stripe-react-native
  2. manually linked files

Reproduction Steps
# Debug info

  1. "@stripe/stripe-react-native": "^0.43.0"
  2. "react-native": "0.65.3
    I Have tried
  3. npx react-native link @stripe/stripe-react-native
  4. manually linked files
    1. src/packages/mobile/android/app/src/main/java/com/MyBuilderProject/MainApplication.java
      ```
      import com.reactnativestripesdk.StripeSdkPackage;
      import com.reactnativest

What are you working on?
I want to integrate the library to my react native project. I want to get android build link from CI/CD

cursive heronBOT
#

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

Question
We have two checkouts in our app. One is a standard one time checkout and the other is for subscriptions.

We recently updated the standard checkout to use Stripe payment element/embedded components that are setup using payment intents.

Majority of docs have moved to using "checkout sessions" as an alternative to payment intents for standard checkouts and have a mode for subscriptions included.

We're now looking at bringing our subscription checkout up to date.

Can we implement the payment element for subs without checkout sessions or should we start using them across the board anyway?

It's nearly impossible to find docs on using the payment element for subscriptions.

Doc/Guide Links
With payment intent:
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements

With checkout session:
https://docs.stripe.com/checkout/custom/quickstart

What are you working on?
Subscription checkout

cursive heronBOT
#

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

Question
For connected account which are for example based in us and tranfers is not available for them, whats the way to still send payments to there accounts but still be able to charge a platfom fee?

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

#

@lost python pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentIntent = await stripe.paymentIntents.create(
{
amount,
currency,
customer,
application_fee_amount: Math.round(amount * 0.1),
},
{
stripeAccount: `${connectedAccountId}`,
}
);

Question
I need to know why am I getting the error "No such payment intent" when I have a successful Payment intent created using the correct PK and SK.

What have you already attempted?
After a successful payment intent is created I am getting an error when showing the Payment Sheet on my RN App. "No such payment intent" is the error. I have tripple checked the PK and SK I am using. I can see the Payment intent flowing to the connected account using stripe CLI tools and the Stripe Dashboard.

What are you working on?
I am working on a React Native app to allow users to sell tickets to sessions they create.

cursive heronBOT
#

@wet crescent pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I want to change my billing settings in test mode but everything is blurred and I cannot enable or disable anything

What actually happened?
-

Reproduction Steps
On stripe dashboard billing setting I cannot edit them

Question
How can I edit billing settings?

#

@mental sandal pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Once I process the information received from Stripe with the payment details, I'm unable to respond to Stripe with status 200.

I use VB.NET (Visual Studio 2015)

Related Event ID(s)
https://dashboard.stripe.com/workbench/events/evt_1R3YhoDxPcilreCp9ZVKtUph

What have you already attempted?
I have tried:

Dim requestBody As String
Using reader As New System.IO.StreamReader(Request.InputStream)
requestBody = reader.ReadToEnd()
End Using

Dim stripeEvent As Stripe.Event =
StripeWebhookUtils.ParseEvent(requestBody, Request.Headers("Stripe-Signature"), "whsec_xxxxxx")

( NOTE : where whsec_xxxxxx = scret key )

Response.StatusCode = 200

What are you working on?
I have a services web

#

@balmy pebble pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm running automation tests for my Stripe integration and seeing inconsistent behavior with test cards:

- 4242424242424242 (should always work)
- 4000000000000341 (should attach but fail transactions)

Expected flow:

  1. Create sub with 4242 card
  2. Upgrade plan (A->B)
  3. Cancel at period end
  4. Upgrade again (B->C, renews sub)
  5. Downgrade (C->B)
  6. Cancel at period end
  7. Downgrade again (B->A, renews sub)
  8. Replace 4242 with 0341
  9. Trigger next billing with test clock
  10. Transaction should fail

Issue: Step 10 succeeds unless I skip steps 2-7. This also happens in the customer portal.

Related Request ID(s)
N/A

What have you already attempted?
Verified that this happens via the customer portal as well.

What are you working on?
Automation tests for stripe integration

cursive heronBOT
#

@craggy pond pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can a refresh token be used to get a new access token at any time or do I have to wait for the access token to expire? I'm getting a failure when trying to get a new access token using the refresh token if the existing access token has not yet expired.

Related Request ID(s)
NA

What have you already attempted?
As above

What are you working on?
Financial connections app

cursive heronBOT
#

@raven plume pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Webhook signature verification failed: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.

Related Event ID(s)
NA

What have you already attempted?
Confirmed the secret key, print out the type of the payload, etc

What are you working on?
an online charity platform

#

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

Question
We are implementing Payment Element and following the recommendation to use `redirect` in `stripe.confirmPayment` in our checkout flow and relying on webhook events to know if the payment succeeded or not.

Moving the payment confirmation to async webhook events on the server might mean the UI, after redirection, may need to render the confirmation page _before_ the webhook event arrives (and updates our order state). Are there best practices for implementing the confirmation UI in this case? Some options include optimistic UI and polling, and we wonder if there recommendation from Stripe side. Thank you!

Doc/Guide Links
https://docs.stripe.com/payments/ach-direct-debit/accept-a-payment?web-or-mobile=web&payments-ui-type=elements#submit-the-payment

What are you working on?
Payment Element confirm payment with async webhook events

#

@rich hedge pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
In our German checkout the "VAT" text is not translated.

What actually happened?
In our German checkout the "VAT" text is not translated.

Reproduction Steps
In our German checkout the "VAT" text is not translated.

Question
We've been told there is an internal bug in Stripe and that you're working on fixing this. Can anyone chech the status on this case?

This is very urgent and important to us since Google is complaining on us using mixed languages, since it should be namned "Steuer" or similar in German.

Regards

#

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

Question
Hey, I'm trying to figure out the best way to determine if payments are enabled for connected account.

In the dashboard, I can see whether or not "Payments" and "Payouts" are enabled.

Payouts are quite easy to determine via the API, because it comes in the `account.updated` webhook event - `account.payoutsEnabled`

Is there something similar for payments, or will I have to use a different strategy?

Related Request ID(s)
none

What have you already attempted?
I have tried to look for a similar webhook, as well as look into the docs, but nothing that quite fits my case.

#

@vagrant cosmos pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Your account cannot currently make live charges. If you are the site owner, please activate your account at
https://dashboard.stripe.com/account/onboa
to remove this limitation. If you are a customer trying to make a purchase, please contact the owner of this site.
Your transaction has notย beenย processed.

Question
im facing this issue in my website customer coplains they cant do orders

What have you already attempted?
i tried many stores under my website same issue appears

What are you working on?
its already there

cursive heronBOT
#

@compact drum pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
export async function POST(req: NextRequest) {
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!)
const body = await req.text()
console.log('REQ ON WEBHOOK ====>>>', req, body)

const headersList = await headers()
const signature = headersList.get('Stripe-Signature') as string
const endpointSecret = process.env.STRIPE_ENDPOINT_KEY!
const payload = await getPayload({ config })
console.log('WEBHOOK CALLED ====>>>>')

let event: Stripe.Event
try {

Question
How to get rid of Stripe webhooks returning a response of 400?

What have you already attempted?
I've created an webhook endpoint in next js 14 app directory. I'm getting 400 status code when webhook called and I can see the below error message on stripe logs. Error: No signatures found matching

What are you working on?
I'm making an order api call with payment_status:"pending" to my BE and when payment get successful

cursive heronBOT
#

@bronze kestrel pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
klarna to provide three equal installments

What actually happened?
three equal installments not present for some customers

Reproduction Steps
this happen only for some customers

Question
what does that mean? is there anything we can do about this?

What are you working on?
klarna integrations after a couple months usage

cursive heronBOT
#

@lilac osprey pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Accessing Stripeโ€™s Processing Fee from a successful Checkout Session

Related Request ID(s)
none

What have you already attempted?
Iโ€™ve looked through the stripe docs for checkout session and also examined the successful checkout data for the session_id - canโ€™t seem to find the processing fee listed anywhere. Iโ€™d expect it to be calculated automatically and returned in the success data but doesnโ€™t seem to be the case unless Iโ€™m missing something.

What are you working on?
On my checkout success page, I am getting the stripe session data and need to record the amount paid + the total processing fee. I donโ€™t see the processing fee listed in the checkout data.

#

@silver zinc pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have over 100 features for a product, when querying /v1/entitlements/features multiple times I expect to accumulate all features at the end.

What actually happened?
The first 100 results are fine. The next results after the first 100 get me the first 99 features again, without the last one whose id used as the parameter starting_after.

Reproduction Steps
Have a product with over 100 features and try to query them all, either using stripe cli, curl or stripe.entitlements.features.list nodejs metod.
Use limit = 100.
Query 100 features and the last feature get its id and used it in a new query with the parameter starting_after equal to said id.

Question
How can this be fixed? Do I have to send a ticket?

What are you working on?
industrial data collection

#

@hearty lodge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Having an issue with adding a card to a customer, he is using a card with an expiration in the future, the token is correctly created however when adding the source to the customer we get an error that the card is expired

Related Request ID(s)
req_E5bnjYY27MvF5U to create token, req_hudWpYtX26JqjS to attach the card to the customer

What have you already attempted?
Not sure what is going on

#

@dark carbon pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using Billing, a Stripe Fee "Usage Fee" is applied and appears in the Balances view, but does not seem to be associated to the transaction. Is there an event that is fired when this fee is applied that can be tracked, or is it necessary to pull the balances list each period?

Related Request ID(s)
unknown

What have you already attempted?
Check events list, no mention of stripe fees.

cursive heronBOT
#

@dire ivy pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
A connected account of my platform with id "acct_1R3fvAQ3YcghgJtx" completed onboarding but the state remains "incomplete".

Stripe Dashboard tells me, there are some requirements, but I can't find anywhere, what is still required and why this customer is not verified.

What actually happened?
The stripe connected account suddenly remains incomplete after onboarding, previously everything worked fine

Reproduction Steps

  1. Performed Onboarding via API
  2. Suddenly the account is unverified / requirements?

Question
As I can't find anything related to this account, can you guys help me out to figure out what's missing for this connected account to get active / verified?

What are you working on?
Stripe Connect Onboarding API

cursive heronBOT
#

@rough oak pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public function get_paid(Request $request)
{
$authorizeUrl =
'https://connect.stripe.com/oauth/authorize' .
'?response_type=code' .
'&client_id=' .
config('services.stripe.client_id') .
'&scope=read_write' .
'&business_type=individual' .
'&redirect_uri=' .
urlencode(route('stripe.connect'));
$getPaid = PayoutAccounts::where('vendor_id', Auth::Id())->first();

Question
I'm using connect feature but when user is opening this URL there is business verification which i want to skip

What have you already attempted?
want to skip only business verification

What are you working on?
Stripe Connect

#

@covert slate pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The operation couldn't be completed. StripeIdentity.VefiricationSheetFlowControllerError

Question
Our stripe identity verification stop working on a selfie step. How can we fix it?

What have you already attempted?
I am not sure how to fix it

#

@opal wedge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using different configurations for the customer portal via API! The goal is to allow the user to upgrade their subscription through upsell and also allow admins to send specific offers to the user that are not accessible to them.

Currently, I need to add an offer in the admin portal to propose a specific product to a user without showing them the others.

Do you know how to link a portal configuration to products via API/configuration, and how we can block users from seeing products other than those available for upsell?

Related Request ID(s)
req_9F8oOBvsdRJkal

What have you already attempted?
I've already tried creating a customer portal with upgrade options, etc., but it's impossible to link my products to it.

What are you working on?
Iโ€™m working on an existing configuration, but Iโ€™m struggling to make the connection between the customer portal and the products that are offered in it.

cursive heronBOT
#

@sullen leaf pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am attempting to build a feature for my company, where there is an "admin account" that stores a company card. Then they invite staff members to purchase our product. I want a way to have the invited staff members use the card stored by the "admin account". I believe I can do this with with a custom ID and Stored Payment Token, like manually adding a card.
The goal is to have the invited hosts see the company card as a saved card in the checkout screens.

I would like to avoid having to use payment intents if possible.

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

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

What are you working on?
A coworking app for companies to allow staff to book at unique venues.

cursive heronBOT
#

@frozen berry pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can we create connect accounts using controller properties and use direct charges if we migrate to this setup? losses_payments: stripe, fees_payer: application_custom, requirement_collection: stripe, dashboard_type: none.

Related Request ID(s)
NA

What have you already attempted?
We wanted to use custom accounts and destination charges with on_behalf_of but after contacting stripe support multiple times, they have informed us that we can't use on_behalf_of if the platform account is based in the US and our connect accounts are based outside the US.

#

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

Question
Hi,

I had some questions earlier (link: https://discord.com/channels/841573134531821608/1351137448821919756), and now I have a new one.

When rendering a pricing table, is it possible to pass a specific quantity? I want to charge per seat, but I donโ€™t want the customer to be able to change the quantity during checkout.

Is there a way to do this directly with Stripeโ€™s pricing table, or do I need to build my own pricing UI and then create a checkout session with the quantity included?

Thanks!

Related Request ID(s)
NA

What have you already attempted?
Reading the docs

cursive heronBOT
#

@glossy crow pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am a Stripe platform and I am receiving an event via Stripe Webhook. I need to know which merchant triggered the event. Is there a way to get this information from the event?

Related Event ID(s)
n/a

What have you already attempted?
Attempted to read the event including the payment intent, but unclear how to determine the merchant.

What are you working on?
Stripe Webhook API

cursive heronBOT
#

@abstract dagger pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to change our customers subscription Product to a different Product because we forgot to make the first Product have tiered pricing.

Will upgrading my existing customers to the new Subscription Plan let them know via email that it has been switched? Can't seem to find a way to let them know via Stripe.

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

What are you working on?
Subscriptions for our users

#

@worldly trout pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way for the create route of the AccountLink API to use a react native deep link as a refresh_url?

Related Request ID(s)
Not linked to a specific ID

What have you already attempted?
- Tried adding my own route as the refresh_url that calls the create route of the AccountLink API but it doesn't work since my route needs a bearer token and does other user verifications.
- Tried adding a deep link as the refresh_url to redirect my user to the screen of my mobile app that starts the whole onboarding Stripe account flow but it doesn't seem to work

What are you working on?
I am currently working on account integration with Stripe Connect for a React native mobile app that interacts with a Node.js Express backend API.

#

@jade venture pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a multi-division business where each division is a separate legal entity but operates under the same brand. Clients are linked to a specific division and pay that division directly. Candidates invoice the division, but payments must be processed through our platform's main Stripe balance due to Stripeโ€™s restrictions on direct transfers between connected accounts. How should we structure payments in Stripe Connect to maintain compliance while ensuring legal attribution to the correct division? Can Stripe support periodic reimbursements from divisions to the platform to balance these payments? Are there any recommended best practices for this kind of setup?

Doc/Guide Links
We have checked all the documentation so far

What are you working on?
On demand staffing platform

#

@bold steeple pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe reader M2 to connect

What actually happened?
Rapidly blinking two LEDs on opposite sides of each other possibly in tamper mode

Reproduction Steps
Currently attempting to connect it to my system and it will not

Question
How do I take my stripe reader M2 out of tamper mode

What are you working on?
Stripe reader M2 strm2-01b

cursive heronBOT
#

@thorny stream pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to change the "Invoice payment page > Include Stripe-hosted link to an invoice payment page in the invoice email" option via API for connected accounts?

Related Request ID(s)
none

What have you already attempted?
Cant find any documentation to be able to change this option

#

@kind owl pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I deseperatley need to get images into my payment links or at least showing on the checkout page, I put the image array in the body of my API call but it doesnt show on the checkout page

Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1R2KnjCYR3iirrCh/settings/payment_methods

What have you already attempted?
I have the image in the body :
{
"images": []
}

What are you working on?
We are building a payment gateway for an EV rental company

cursive heronBOT
cursive heronBOT
#

@glossy crow pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I test my Stripe Webhook API through the Stripe CLI to simulate a connected Stripe Account transaction?

Related Event ID(s)
n/a

What have you already attempted?
I'm trying to run

stripe trigger payment_intent.succeeded --stripe-account 'acct_1QWpZVR7Vqz3zJ8D'

but the Stripe.Event has a null Account property

What are you working on?
stripe webhook

#

@autumn halo pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Couple of questions.

1) My platform collects money from customers but connect IDs collect a percentage of the payments if their product gets sold. What if the customer wanted a full refund on the product? I think I would need to extract all the money from the connect ID plus my platform. How does that work in the API?

2) Another scenario based on #1 - What would happen if I have refund periods set up? For example, if refunding within 1 week, customer can get 100% refund from both platform and connect ID. If refunding within 2 weeks, customer can get 75% refund. Can payouts be paused?

Related Request ID(s)
None

What have you already attempted?
https://docs.stripe.com/connect/account-balances#accounting-for-negative-balances

#

@robust haven pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Stripe-hosted checkout by creating a session in Go. I would like to do the following:
* Provide up to a 14 day trial based on when they signed up
* Anchor the billing to the 28th of the month.

Based on this error: `You may only specify one of these parameters: billing_cycle_anchor, trial_period_days` it seems that is not possible. But that seems contradictory to the docs. This seems like a pretty common use-case, so wondering if I am missing a workaround or trying to go about this the wrong way.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/trials#combine-trial-anchor

What are you working on?
An AI driven code review tool

#

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

Question
I have a scheduling app where user which are guests are able to pay for bookings. Now like for each session there on a page of somebody I am creating a customer for them. This will lead to ofcourse creating many customers, can this lead to any problems by stripe?

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

cursive heronBOT
#

@bitter prawn pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a subscription schedule that appears to send the invoice.payment_succeeded event one hour after subscription.created, subscription_schedule.created, and invoice.created. I've read through some internet searches/AI that the payment succeeded event is fired one hour after the invoice is created for a subscription schedule, but I haven't found that actually documented on the Stripe website. Can you point me to where this is documented so we fully understand this event lifecycle?

Related Event ID(s)
evt_1R3kNO2hqajdreQxtLpmUpRe

What have you already attempted?
I'm wondering if there's anything that can be passed to the subscription schedule to remove this delay.

What are you working on?
We use the `invoice.payment_succeeded` event to trigger sending a receipt to our customer but this is our first time using subscription schedules which behave differently.

#

@brittle shoal pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Stripe.js warnings:

Unrecognized elements.create('address') parameter: __shared_params__ is not a recognized parameter. This may cause issues with your integration in the future.

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

- apple_pay

Question
Stripe.js react sdk is showing console warnings locally in test mode. __shared_params__ one is concerning but seems to be internal.
Not sure why it's giving me a message about apple_pay. I have it turned off in /settings/payment_methods in the dashboard. Will this warning show in live mode?

What have you already attempted?
turning on/off the settings in the dashboard

#

@wise elm pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```const myComponent = ({stripePublicKey}) => {
// ...other code

const confirmExpressPayment = async () => {
const { error, confirmationToken } = await stripePromise.createConfirmationToken({
elements: elements, // <- issue here
});
}

return (
<div className='leftPane-content'>
<Elements stripe={stripePromise} >
<ExpressCheckoutElement onConfirm={(event) => confirmExpressPayment(event)} />
</Elements>
</div>
);
}```

Question
I'm trying to call the `createConfirmationToken` method in the same component that has the <Elements /> component. How do I reference the elements component for that call? (see code)

What have you already attempted?
- Tried using useRef `<Elements ref={elementsRef} />`, but `elementsRef.current` is always `null`
- Tried using `useElements`, but get an error because the component itself is not wrapped in the Elements provider

What are you working on?
I'm building out a donation page for a nonprofit

#

@frigid vapor pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we use confirm=true on our /payment_intents call, to process ACH transactions immediately and for future use. To make this work, we submit user IP Address and userAgent info in the mandate_data.customer_acceptance.online object. Some users use tools (antivirus on desktop, or feature flag in firefox) to prevent us from scraping their IP. When we don't have this data to submit to Stripe, what is the recommended course of action? alternative mandate type? Error returned to the user?

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

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

https://support.stripe.com/questions/collecting-ach-direct-debit-mandates-from-customers

What are you working on?
A website, built on salesforce, that accepts payment data from customers through a custom interface, and passes it to stripe through the Stripe API. The website is to book guided nature tours.

cursive heronBOT
#

@proven vortex pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! Iโ€™m based in Poland and need to issue VAT invoices instead of receipts for my customers who purchase through Stripe Payment Links. Whatโ€™s the best way to ensure that each purchase automatically generates a proper VAT invoice with the buyerโ€™s details, including their VAT number? Should I use Stripe Billing, webhooks, or another method?

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

What are you working on?
invoices in poland

#

@untold bronze pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await CustomerSheet.initialize({
customerEphemeralKeySecret: stripeCustomerEphemeralKey,
customerId: stripeCustomerId,
headerTextForSelectionScreen: 'Manage your payment method',
merchantDisplayName: 'XXX',
returnURL: 'XXX://stripe-redirect',
applePayEnabled: false,
googlePayEnabled: false,
appearance: stripeAppearance,
});

Question
I am generating payment intents on my (PHP) backend and sending them to our ReactNative app. We are generating intents for our primary account and by supplying stripeAccountId for our stripe connect accounts. However retrieving those connect intents in React Native returns a 'No such intent error'.

What have you already attempted?
I have tried adding `stripeAccount` to StripeProvider but then get an 'StripePaymentSheet.CustomerSheetError error 0.' error when calling CustomerSheet.initialize as detailed in the code section.

What are you working on?
Stripe payment in ecommerce app

cursive heronBOT
#

@ebon oyster pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm moving from a single server to a Kubernetes cluster. With a single server, I was putting all the stripe events in a priority queue, and processing them in priority-order after some delay. This is because I rely on the events coming through in a sensible order. Seeking best practices on how to handle this across a cluster since I will no longer have a central source of truth.

Doc/Guide Links
https://docs.stripe.com/event-destinations/eventbridge

What are you working on?
SaaS product - monthly subscription model

#

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

Question
account.updated is not firing the webhook

Related Request ID(s)
NA

What have you already attempted?
Manually updated the connected account "acct_1R3lsA85Dn8fAmJe" / double checked the webhook was subscribed to account.updated

cursive heronBOT
#

@pulsar glen pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expect that I can update a SubscriptionSchedule with the first phase having add_invoice_items where each item gets a discount, i.e. setting phases.add_invoice_items.discounts.discount, and the discount is applied.

What actually happened?
Got an error: "You cannot apply discount objects to an `add_invoice_item` item."

Reproduction Steps
Create a subscription with a discount (I do this via a checkout session). Create a schedule via from_subscription. Modify the schedule with add_invoice_items in phase[0] referencing the discount.

Question
If it turns out that it is indeed not possible to apply discounts to add_invoice_item items, then how come the API documentation offers this option?

#

@violet gorge pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to search webhooks in the UI? I need to replay one, but can't find a search/filter option anywhere. The only option is load more, but it will take me forever to get to the one I need.

Related Event ID(s)
None

What have you already attempted?
I went from the customer to the subscription creation in question, but couldn't find the webhook from there. I used the webhook page and the workbench webhook page, neither seemed to have a filter other than status

What are you working on?
I need to re-run 2 webhook events

cursive heronBOT
#

@uneven quest pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/references/sdk-migration-guide

Question
Hi, I have a couple related questions regarding changes to consent collection process when saving card details on point-of-sale devices.

1) Can you confirm React Native users will have until 9/30 to implement required changes as stated here? https://github.com/stripe/stripe-terminal-react-native/issues/858#issuecomment-2718807580

2) For native iOS Stripe Terminal iOS SDK, will apps still running version 3.x Stripe Terminal SDK after March 31 deadline no longer be able to save cards? (to be clear this second question is about the iOS native swift package not the React Native one)

Thanks!

What have you already attempted?
Attempted to find documentation clarifying this behavior.

What are you working on?
POS iOS Apps

#

@snow thunder pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How are you supposed to create and integrate Subscriptions that have a default_payment_method that references a custom payment method?

Related Request ID(s)
req_XLWFKiKgUT7zKa, req_KtqYtclQemVIKT, req_2gstPhOgIQ64I4

What have you already attempted?
I have created the Subscription with `billing= charge_automatically` and simulated the subscription a month in the future. An invoice was created, but I don't know how to mark it as paid. When I attempt to call pay, I get a 400 error with message, `Custom payment methods are not supported on invoices.pay`. When I attempt to confirm the payment intent that was created for the invoice, I get a 400 error with message, `The PaymentMethod provided (custom) is not allowed for this PaymentIntent.`.

What are you working on?
Integrating HSA/FSA purchases

cursive heronBOT
#

@trim sorrel pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I get all Payment Intents? What API endpoint should I use?

Related Request ID(s)
https://dashboard.stripe.com/test/invoices/in_1R1dhmFriiYkeGhMWZNmr2eM

What have you already attempted?

  1. Perform Get Invoice, not able to get all payments
  2. Perform Get Charges by customer, not able to see Invoice Ids (to the ones I am looking for)

What are you working on?
Working on pulling all payments using an invoice id. Need to get each payment date/time/amounts made

#

@restive fox pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
is there a prescribed method to determine if a user has the ability to use Tap to Pay, given their country and iOS version? Is there a specific one that is always sync'd with the latest country support list?

Doc/Guide Links
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=ios#supported-devices

What are you working on?
payment app

#

@inner drift pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the testing environment, while using the subscription feature, I want to test a renewal payment failure but couldn't find a corresponding test card number.

Related Request ID(s)
no

What have you already attempted?
I searched the documentation provided by Stripe but couldn't find a test card that meets my requirements.
https://docs.stripe.com/testing?testing-method=card-numbers

cursive heronBOT
#

@blissful delta pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have use checkout session to create a payment link. I have my own app for collecting address for some using purposes. How can I send it to Stripe when create a checkout session? I don't want to use billing_address_collection to collect data. Thanks in advance.

Related Request ID(s)
https://docs.stripe.com/api/checkout/sessions/create

What have you already attempted?
I tried to save it in metadata but some how it can't implement

#

@abstract cosmos pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Something changed with the api causing issues with updating the price object unit_amount

Related Request ID(s)
req_xG8iOmh7IEXcid, req_yUrI3UN6IuHTrS

What have you already attempted?
I ensure I am passing an integer value to the API

$productPrice = $stripe -> prices -> update("$priceId",
[
"currency" => "$currency",
"unit_amount" => intval(($unitAmount * 100)),
"active" => true,
"metadata" => ["quantity" => "$quantity", "size" => "$size"],
"product" => $stripeProduct -> id
]);

What are you working on?
I have more than a few customers using Stripe, this was found in my sandbox

cursive heronBOT
#

@umbral fiber pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am building an app using apps on devices with an S700 devices (building on a devkit) I am using the @stripe/stripe-terminal-react-native SDK I have unit testing but I'm wondering if anyone has done e2e testing with a stripe device, specifically S700.

I've read a few docs about testing with an emulator but since this app required a provisioned device to a location and and is installed on the S700 devkit via USB.

I'm not sure how to proceed with e2e testing.

Doc/Guide Links
https://github.com/stripe/stripe-terminal-react-native/blob/main/docs/e2e-tests.md

What are you working on?
A custom app on S700 devkit

cursive heronBOT
#

@inner drift pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the test environment, I want to test a subscription renewal failure. After creating the subscription, I tried changing the customer's attached card to 'pm_card_chargeCustomerFail,' but an error occurred.

Related Request ID(s)
req_15RGGh4y8N8pt5

What have you already attempted?
no

cursive heronBOT
#

@mild patio pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
there is problem with payments

What actually happened?
yesterday, fraud mail come to me and afterthat, my every payment was blocked

Reproduction Steps
i want to get payment

Question
can u please help me about this problem

cursive heronBOT
#

@undone aurora pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const domain_check = await this.stripeServer.applePayDomains.create({
domain_name: domain,
});

Question
My current stripe SDK is "stripe": "11.6.0" and "@types/stripe": "7.13.0".
Currently I use applePayDomains to add my domain to use applePay. But it's not working, apple pay not showing, even though I check `https://${domain}/.well-known/apple-developer-merchantid-domain-association` it return 200, mean that it's accessible on my domain.
As I check Stripe Docs, I need to use paymentMethodDomains, which don't have in old SDK version
Pls guide me more
Thanks

What have you already attempted?
try with applePayDomains

What are you working on?
Developer

cursive heronBOT
#

@coarse wharf pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We have 2 transactions from that was refunded automatically within 3 seconds after the transaction completed. can you look into this?

What actually happened?
We have 2 transactions from that was refunded automatically within 3 seconds after the transaction completed. can you look into this?

Reproduction Steps
We have 2 transactions from that was refunded automatically within 3 seconds after the transaction completed. can you look into this?

Question
Please look into this 2 transactions and how can we resolve this?

cursive heronBOT
#

@inner drift pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
After a renewal failure, I retrieved the PaymentIntent from the subscription details and initiated the payment using the client_secret with another card. The payment was successful, but the defaultPaymentMethod of my subscription is now empty. Now, I want to set the new card's payment method as the subscription's defaultPaymentMethod, but an error occurred when I tried to update it.

Related Request ID(s)
req_PF4idMY2BSDmeW

What have you already attempted?
no

#

@fathom lynx pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Direct debit correct bacs flow

Related Request ID(s)
1

What have you already attempted?
Hi, I am trying to implement the direct debit bacs flow for UK and i am not able to obtain a valid end to end succes flow.

Steps that i follow:

  1. create customer - ok
  2. create payment method - ok
  3. setup_intent with mandate or payment_intent with mandante , bothe returning errors:

setup intend my payload : Outgoing request : payment_method_types[]=bacs_debit&usage=off_session&mandate_data[customer_acceptance][type]=online&mandate_data[customer_acceptance][online][ip_address]=203.0.113.1&mandate_data[customer_acceptance][online][user_agent]=Mozilla/5.0&confirm=true&customer=cus_RxZAQzRaj

What are you working on?
bacs flow

#

@cunning kraken pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
having trouble adding additional information to my stripe checkout

Question
is the a character limit to how much text u can add to a stripe checkout?

What have you already attempted?
vibe coding

What are you working on?
3d cad tool

cursive heronBOT
#

@gloomy quail pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/overview#failed-payments

Question
I have question about the failed payments if i set leave the subscription overdue does it generates invoices every month and if user update payment method does stripe charge for every invoice or charge only current invoice and also tell me what happened if subscription status is mark as unpaid?

What have you already attempted?
Nothing

What are you working on?
I'm working on recurring billings with custom flow instead of stripe checkout

cursive heronBOT
#

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

Question
Hi, I have a question about https://docs.stripe.com/customer-management/portal-deep-links "subscription_update_confirm" => what will happen if the customer has no payment method added? Will the prepared customer management billing portal session ask the customer to add a payment method? (If the subscription has no trial, is of type flat rate and therefore requires instant payment)

Related Request ID(s)
NA

What have you already attempted?
Reading the docs

cursive heronBOT
#

@fiery stirrup pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
stripe._error.APIConnectionError: Unexpected error communicating with Stripe. If this problem persists, let us know at support@stripe.com.

(Network error: A RuntimeError was raised)

Question
When trying to modify a Dispute's metadata I am getting that error. This only happens when running several dispute related tests.

What have you already attempted?
Tried slowing down the creation of disputed payments but I am still getting the error when running consecutive tests.

cursive heronBOT
#

@normal dust pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
These sources have country code as IC, what country code should be updated here?

Related Request ID(s)
NA

What have you already attempted?
We ran SEPA token conversion using workbench and few tokens were not converted and with the following exception message -
RECOVERABLE: A usable country could not be found. Please set the country in the Source owner address hash to be a 2-character alphanumeric country code, such as 'US', 'EG', or 'GB' and then re-run the tooling. See https://docs.stripe.com/api/sources/update#update_source-owner-address-country for reference.

What are you working on?
Token migration from source to payment methods for SEPA

#

@half idol pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Gohighlevel and I integrated Stripe for payments. However, invoices are not sent to my customers, but only receipts. The most important for me is to include the VAT tax on my invoices/receipts. The receipts currently do not have the VAT information.

So, stripe sends receipts emails, but not invoices.

My stripe account correctly registers all transactions, and because of that i am wondering why couldn't we just send invoices to them.

Related Request ID(s)
NA

What have you already attempted?
Previously, I was informed that: โ€ƒโ€“ Invoices can be created after a successful checkout using the invoice_creation.enabled parameter and by calling the Invoices API once the customer's payment details are saved. โ€“ My integration (managed via LeadConnector from Gohighlevel) doesnโ€™t currently utilize this flow, so I was advised to contact the platform for more details.

I read the documentation from Stripe and GHL and still don't know what to do. I am also waiting for clarification from GHL, but didn't find other people having this issue on support forums

What are you working on?
Sending invoices to my customers

#

@gentle coyote pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm testing a yearly subscription.

When I show the invoice after payment, the invoice line description contains my description and "(at โ‚ฌ216.00 / year)".

How can I have that description translated (for example based on price tax origin) or with a specific paramenter passed?

Price id: price_1R3gpaKZ7TaYvHWtwOzzHDpz

Thanks

Related Request ID(s)
req_xGzWndvmvEp0pb

What have you already attempted?
IDK, not found nothing in doc about that

cursive heronBOT
cursive heronBOT
#

@half idol pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I am following up on my issue about customers not receiving invoices because my platform is using a different API. I have a different payment id from a different website if you can check to see if the issue is the same.

The issue was that current integration uses the Payment Intents API directly, which does not support creating payment invoices. To generate invoices, the integration needs to switch to using either Checkout or the Invoicing APIs.

Related Request ID(s)
NA

What have you already attempted?
As mentioned above

What are you working on?
sending invoices with stripe

#

@granite valve pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to allow Connected accounts to add their end users' SEPA/BACS/BECS bank account details via a UI and not use API? Concerned about the mandate requirements when it is actually not being added by the end user

Related Request ID(s)
NA

What have you already attempted?
Worked for ACH but not for others

What are you working on?
Trying to allow merchants (connected accounts) to add their customers bank details for SEPA/BACS/BECS

#

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

Question
I would like to know if it is possible after a quote is accepted to control the created invoice. Basically the quote will be for the total price of a service but the client will not be invoiced the full price but rather split the payment into 2 invoices?

Related Request ID(s)
N/A

What have you already attempted?
I can create quotes and invoices separately.

What are you working on?
An invoice creation/management functionality for an Airtable database.

cursive heronBOT
#

@terse lodge pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to find out what are all the Stripe fees associated to an Invoice. I see the direct payout fee, but there must be others. Is there a way to find out all the fees tied to a specific invoice?

Doc/Guide Links
https://stripe.com/en-es/resources/more/payment-gateway-fees#stripes-payment-gateway-fees

https://stripe.com/en-es/pricing

What are you working on?
A transparency dashboard to show all involved costs on a transaction

#

@pastel geyser pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Metadata in payment link is not passed to payment_intent.succeeded webhook.

Related Request ID(s)
req_hpPGl8zu5RYtX0

What have you already attempted?
I read in the docs i can put in metadata. https://docs.stripe.com/api/payment-link/object

What are you working on?
I am trying to pass metadata into my paymentlink, ahich then gets passed to my webhook.

cursive heronBOT
#

@shut jolt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how to add email to cc via update customer API, apart from billing email, also wanted to add email to cc so other users also can receive invoices and other details via email.

Related Request ID(s)
req_KH3P2rowO5av4h

What have you already attempted?
checked update user API but no luck there

What are you working on?
creating application where user can see their billing info, add credit cards and bank details for future payment, so for that future payment user need to apart from billing user other user should.

#

@half idol pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello. Following up on my issue that my websites are using Payment Intents API instead of Checkout or Invoicing API, I found out that for one of my websites I use a webhook created in Stripe which is sent to my plugin. I see that for a webhook I can select "events to send" https://prnt.sc/xfVmLTbHY31v. If i select the appropiate invocing/checkout events, will these be enough to be using the invoicing API and to work properly for me? My end objective is for stripe to send invoices to my clients.

Related Request ID(s)
NA

What have you already attempted?
Research on the internet

What are you working on?
sending invoices with stripe

cursive heronBOT
#

@manic igloo pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
do i need to create product every time i create invoice for my customer or i can use existing products to generate then invoice?

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
I am trying to create invoice for my customers.

#

@dreamy dagger pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<CardField
postalCodeEnabled={false}
onCardChange={(
console.log('Card Details:', formCardDetails);
setCardDetails(formCardDetails)
}}
/>

Question
Iโ€™m experiencing an issue with the Stripe CardField component in my application. Specifically, the onCardChange callback is not being triggered at all, which prevents me from capturing card details and binding the card successfully. (Code snippet reference is presented above)

What have you already attempted?
Despite entering card details, the onCardChange function does not fire, and no logs or updates to the state (setCardDetails) occur. This is blocking our ability to properly integrate card binding in our application. Could you please assist in identifying what might be causing this issue? Iโ€™d appreciate any guidance on troubleshooting or potential fixes. Stripe library version is @stripe/stripe-react-native 0.38.6.

#

@livid wren pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
"This wallet address is already saved to a different Link account"

Question
User gets this error message when using a Stellar wallet that was also assigned to another user.

What have you already attempted?
-

What are you working on?
Stripe Onramp

#

@rich valley pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
hello, im working on stripe form integration. I use Payment Element. we want to use manual capture, but in this case on the FE I see this error. What am I doing wrong?

What have you already attempted?
if I set automatic capture - it works fine with no errors.

What are you working on?
rebulding my checkout form

#

@delicate ridge pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
class=HandoffReaderController message="startPaymentCollection - handleResponseContent" intentId=pi_3R3jdjGazeq8JM7H1KEsSp93 updatePaymentIntent=false offlineDetails=null offlineBehavior=PREFER_ONLINE result="QueryPaymentMethodResponse{payment_method=PaymentMethod{card_payment=CardPaymentMethod{masked_pan=โ–ˆโ–ˆ, expiration_date=โ–ˆโ–ˆ, card_brand=INVALID_CREDIT_CARD_BRAND, card_entry_method=CONTACTLESS}}, num_of_canceled_payments=0}"

Question
I am trying to do the payment on handoff mode on S700 Devkit device. When it goes to the payment flow, it just keeps on processing but doesn't approve the payment, and after sometime, it fails and asks to try again. The console logs show:

What have you already attempted?
The above I am trying to do on the Sdk level itself. We also have apis written, so when I try to do the payment via the api, it worked.

What are you working on?
S700 Handoff mode

#

@zinc grotto pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, we are using subscriptions and create a setup intent with off session usage before creating the subscription. In case of a user choosing paypal, we want to handle payment failures, e.g. the "transaction_refused" error from paypal. We can probably do this in our webhook.

However we are currently struggling to test this in test mode. We want to trigger that behavior. I would like to use one of the test scenario email address to trigger the failed payment, however if I set the customer email to something like `name+transaction_refused@plancraft.com` the payment still succeeds.

The documentation is unclear and only says to pass the `email` field.

Doc/Guide Links
https://docs.stripe.com/payments/paypal/accept-a-payment?web-or-mobile=web&payment-ui=stripe-hosted&payments-ui-type=direct-api

What are you working on?
A subscription based SaaS product.

cursive heronBOT
#

@leaden canyon pressed the ๐Ÿ“š Doc or 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/bacs-debit

Question
Do subscription generated invoices for delayed notification payments (like BACS) also process through extended pending states like individual BACS payments do? For immediately processed subscription generated payments it seems it takes about an hour between "invoice.created" and "invoice.payment_succeeded", and we're just curious if there is the extended 4 day period with pending states for invoices generated by subscriptions attached to a BACS (or other delayed) payment method.

What have you already attempted?
In the linked doc it says
> Bacs Direct Debit is a reusable, delayed notification payment method. This means it takes 4 business days to confirm the success or failure of a payment when a mandate is already in place, but when you must collect a new mandate, it can take 7 business days.

To me this could indicate that follow-up subscription generated invoices that charge a payment_method could take the same 4 day pending->successful cycle as one-time Bacs payments. However I don't see an "invoice.pending" event or anything...

What are you working on?
Adding BACS (and eventually other delayed) payments to a donation processing app that already accepts credit cards through Stripe.

#

@lime geode pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I enabled no-cost orders in Stripe to work with 100% off coupon codes, which works. However, I still need to collect the customer name, and I no longer can. Is there a way to force name collection? I'm worried a custom field for the name would be duplicated if the customer DOES have to pay without a coupon code

Related Request ID(s)
aljsdhsd

What have you already attempted?
Read the docs

What are you working on?
Checkout

#

@dim steppe pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have implemented stripe invoicing to my .Net application and am successfully creating and finalizing the invoice. However, using SendInvoice() is not sending the invoice. I can action the send manually via the dashboard but not via my application. Why would this be?

Related Request ID(s)
?

What have you already attempted?
Ensuring the invoice Id I am trying to send is correct and reading the docs

#

@junior bolt pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I use setup intents to collect PayPal payment details for recurring payments. I expect payments to be collected automatically without requiring confirmation on every single payment each month.

What actually happened?
For some customers (e.g. cus_ROjMroY7pHwQbS) PayPal payments keep failing and the payment intent has "status": "requires_payment_method" - even though the customer has a payment method attached. Under "Payments" I see:
"This customer doesn't have any chargeable payment sources on file. Add a source or payment method to create a new payment."

Reproduction Steps
I created a setup intent to collect the payment method.
I wait for the "payment_method.attached" webhook and start collecting usage data.
At the end of the month, there is an automatic attempt by Stripe to collect the payment, but it keeps failing every month, and the customer needs to settle each payment manually.

Question
Maybe I'm missing some setting or I am not handling a special webhook that's required... How do I get recurring PayPal payments to work without requiring manual intervention on every attempt?

cursive heronBOT
#

@delicate ridge pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
class=HandoffReaderController message="startPaymentCollection - handleResponseContent" intentId=pi_3R3jdjGazeq8JM7H1KEsSp93 updatePaymentIntent=false offlineDetails=null offlineBehavior=PREFER_ONLINE result="QueryPaymentMethodResponse{payment_method=PaymentMethod{card_payment=CardPaymentMethod{masked_pan=โ–ˆโ–ˆ, expiration_date=โ–ˆโ–ˆ, card_brand=INVALID_CREDIT_CARD_BRAND, card_entry_method=CONTACTLESS}}, num_of_canceled_payments=0}"

Question
I am trying to do the payment on handoff mode on S700 Devkit device. When it goes to the payment flow, it just keeps on processing but doesnt approve the payment, and after sometime, it fails and asks to try again. The console logs show as above.

What have you already attempted?
My build.gradle:

implementation "com.stripe:stripeterminal-core:4.2.0" implementation("com.stripe:stripeterminal-handoffclient:4.2.0")

On S700 Devkit device

cursive heronBOT
#

@twilit panther pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have integrated Laravel Cashier in Laravel 11 successfully. My SaaS allows my user to subscribe to a monthly renewal stripe subscription plan. At each subscription cycle they will get 100 credits to their user account. I am trying to test this with Stripe CLI, but no command I have tried worked (I have tried so many, even those suggested by AI (Cursor or GitHub CoPilot). The webhook is fired and works. I just cannot get the subscription_cycle for a billing_reason on the invoice payment to fire to add 100 credits to the user.

Related Event ID(s)
evt_1R3ypADtVwE7tlxakJirXqT8

What have you already attempted?
stripe trigger invoice.payment_succeeded
_test_123
--> --add invoice:id=in_test_123
add invoice:cust> --add invoice:customer=xxxxxxxxxxx
> --add invoice:subscription=xxxxxxxxxxxxxx
> --add invoice:billing_reason=subscription_cycle
> --add invoice:status=paid
Setting up fixture for: customer
Running fixture for: customer
Setting up fixture for: payment_method
Running fixture for: payment_method
Setting up fixture for: invoiceitem
Running fixture for: invoiceitem
Setting up fixture for: invoice
Running fixture for: invoice
Trigger failed: Request fai

What are you working on?
a SaaS that sends SMS text messages with a subscription that adds 100 credits each subscription cycle.

cursive heronBOT
#

@frigid quartz pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The subscription invoice should have different `period_end` and `period_start` datetime when requiested via api. although it shows correct period in dashboard

What actually happened?
An invoice has exactly same `period_end` and `period_start`

Reproduction Steps
- create a subscription
- view the invoice generated after subscription
does not happen to all subscription invoices

Question
I have this user's invoice that shows same `period_start` and `period_end` for a monthly subscription invoice. invoice id `in_1QftuRCEFZDhKYzKGr9NuWvF`

cursive heronBOT
#

@mortal drift pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I built an open-source Discord/Stripe Role permission sync for subscriptions. Some of the enthusiast that are using it use the no-code Chekout integration. When using no-code integrations it's possible for the same email address have more than one customer_id if multiple subscriptions are allowed. In the API endpoint there isn't any way to search all the subscriptions for an email address, instead only by customer_id.

Related Request ID(s)
API Email endpoint > API Subscriptions endpoint

What have you already attempted?
I'm currently doing a loop of every customer_ids of each customer email or a Promise.all, but would be very useful to have a way to get all subscriptions for a customer email address instead of searching for each one.

What are you working on?
Detect Subscriptions of certain Customers.

#

@kind owl pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I need some help inserting images into my payment links. Im using API calls on make.com. I get an error saying that it exepcts an array of images. Right now Im putting it the body of the call.

Related Request ID(s)
Its on make.com so no URL

What have you already attempted?
Ive tried to make it a single array as well as 2 images but get the same error

What are you working on?
We are building a payment gateway for an EV rental company

cursive heronBOT
#

@snow thunder pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm following the guide https://docs.stripe.com/billing/subscriptions/bring-your-own-processor. According to the guide, when the invoice is created it should have a `default_payment_method` that references the custom payment method referenced by the Subscription's `default_payment_method`. So, why am I seeing the `default_payment_method` being set to `null` when the invoice is created?

Also, when the invoice is finalized, a payment intent is created and attached to the invoice. This is not documented in the guide, and seems unexpected. Maybe it's related to the issue above?

Related Request ID(s)
req_1uQ54xeX3nyTMx

What have you already attempted?
I was able to complete the guide by using `subscription.default_payment_method`, but the guide does say to use `invoice.default_payment_method`.

What are you working on?
Integrating HSA/FSA payments

#

@neat crane pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to get at the account name when retrieving a payment (py_)?

When retrieving a charge (ch_), it's possible to expand the "on_behalf_of" parameter from which you can drill down to company.name.

However for payments created as a result of charging a connected account (https://docs.stripe.com/connect/account-debits#charging-a-connected-account), there of course is no "on behalf of". Is there anything else that can be expanded to get the information of the account that was charged? There is a "source" property that includes the account Id, but nothing else.

Related Request ID(s)
req_hz7LuruQU6aUqY, req_VByTpfEWRyZt7k

What have you already attempted?
I tried expanding the "source_transfer" property to see if that was useful, but it results in an unknown error:

https://dashboard.stripe.com/test/logs/req_VByTpfEWRyZt7k

What are you working on?
We need to be able to tie out these account charges to the correct account in our system and having access to the account name in the payload is neccessary information.

cursive heronBOT
#

@hallow grotto pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a store on WooCommerce with Stripe and I have several subscription products in it. All purchases work fine and return essential data via webhook to create a user account to my Java server (such as name, email, product name, etc.).

However, I have a product that initially costs R$0 and when I finalize the purchase on WooCommerce, no webhook with the essential information arrives on my Java server, only a setup_intent.succeeded.

How can I make it work for this R$0 product as well?

Related Request ID(s)
POST /v1/setup_intents https://dashboard.stripe.com/test/workbench/logs/req_NaCPtpBGx81ukx

What have you already attempted?
I tried to enable more webhook sending and retrieve the essential information through data arriving in the setup_intent.succeeded webhook, but without success

#

@round aspen pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there, we are migrating customers from product A with coupon A to product B with probably new coupon. Below are my questions:

  1. Can we use subscription update? Since product B subscription is new, we don't have the item id for product B. does this mean we will use the same subscription item id, but only need to replace price A with price B even though they are two different products?
  2. after the migration, we might want to clean up coupon A. how do we unlink customers from coupon A after the migration?

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

What are you working on?
Guidance on Migrating Customers from Product A (with coupon) to Product B (prob new coupon)

#

@rich valley pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
hey there, I want to dynamically update captureMethod after elements initialization.

so after this:
var elements = stripe.elements({
mode: 'payment',
currency: 'usd',
amount: 1099,
captureMethod: 'manual', // here
});

I want to do this:
elements.update({
captureMethod: isManualCapture ? 'manual' : 'automatic',
});

it doesn;t work

What have you already attempted?
does elements update work and can I use it like that?

cursive heronBOT
#

@cedar kettle pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async partiallyRefund(
accountId: string,
paymentIntentId: string,
prePaidAmount: number,
amount: number
): Promise<{ refundId: string; customerName: string }> {
const paymentIntent = await this.stripeAPI.paymentIntents.retrieve(paymentIntentId, {
expand: ["customer"],
});

if \(amount \> prePaidAmount\) throw new BadApiException\("The refund amount is greater than the payment amount."\);
const balance = await this.stripeAPI.balance.retrie

Question
I get an error that the paymentItenetId does not exist and I am confused because on the CRM I can find it and also the retrieve api I did above finds it

What have you already attempted?
Single Fetching the paymentIntent

What are you working on?
Partially Refund

cursive heronBOT
#

@robust island pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to create a subscription with a specified end date. Currently I am setting `cancel_at` but I need to be able to tell the difference between a subscription that was canceled by the customer and one that was canceled because the subscription term is over.

Related Request ID(s)
req_tHYmrUhpAEfW3W

What have you already attempted?
Currently I am setting `cancel_at`

#

@mental owl pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Billing - early payment discount - we want to offer an early payment discount if a customer pays their invoice within 3 days, otherwise the discount gets removed

Doc/Guide Links
Billing page + google

What are you working on?
B2b billing

cursive heronBOT
#

@dapper smelt pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have a subscription 'sub_1PdZZf2k4WuoSsum9PCLUMr8' that receives daily updates via the API and was scheduled to be cancelled on Feb 28, 2025 (evt_1QxX7M2k4WuoSsumnqftFIBq). In following daily updates, the subscription's cancel_at_period_end field is true (expected, example event: 'evt_1R1yk72k4WuoSsumRpB1aaYW') .

What actually happened?
Daily updates maintain cancel_at_period_end field = true until the daily update on Mar 13, 2025 (evt_1R2LDa2k4WuoSsumz3VyovuM) has the subscription's cancel_at_period_end = false. The update request is seemingly the same as all other previous daily updates.

Reproduction Steps
Looking at event logs and subscription events for this subscription.

Question
How did the cancel_at_period_end value change when I didn't modify it in my request and I seemingly cannot find in the logs another event changing it. Am I missing something?

cursive heronBOT
#

@winged spruce pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Connected accounts details_submitted = false and disabled_reason = other

Question
We have a number of Connected accounts where users are providing "Personal Information" but is stuck on pending/verified indefinitely (which we believe is causing the above).

What have you already attempted?
Have reached out to support, but they have been going in circles for a week.

What are you working on?
Consumer marketplace with payouts via Stripe Connect

cursive heronBOT
#

@tawdry flicker pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to add the same product/price_id to a subscription multiple times? I am getting an error from the API but cannot see why this should not be possible? Example is I have a website that sells device licenses, a user can add one or more devices to their subscription, having this as just one product but with a qty of 2 means I cannot directly relate a device in my database to a specific subscription item?

Related Request ID(s)
N/A

What have you already attempted?
I have tried adding the same product/price_id but recieved this error:

A new item with Price price_xxx can't be added to this Subscription because an existing Subscription Item si_xxx is already using that Price. If you want to update the existing item (e.g., to adjust the quantity), pass the existing Subscription Item's `id` in your update request: https://stripe.com/docs/api/subscriptions/update#update_subscription-items-id

cursive heronBOT
#

@dense idol pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Stripe Connect. For my marketplace, buyers put a card on file attached with their order and then the seller charges the card that is on file. One issue we're running into is that buyers want to add a label to their card that sellers can see.

I am considering storing this label as metadata on the PaymentMethod. However, if I do that, I will need to make a request to Stripe every time I want to display this payment method.

Is that the preferred method of adding labels? I can also store label + payment method ID on my DB, but we're a small team, and Idk if that is a security concern?

Related Request ID(s)
Data modeling w/ Stripe APIs

What have you already attempted?
I worry that if I store the a Customer object and associate it with PaymentMethod object in my own database that I could have more security issues.

I thought if I defer to Stripe to fetch the PaymentMethod's for a customer it might be better, but I'm not sure what most companies typically do.

cursive heronBOT
#

@noble bramble pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
StripeInvalidRequestError: You cannot add cards or bank accounts for payouts and top-ups away from the dashboard.

Question
Hey guys. What does this error mean?

What have you already attempted?
I removed the controller hash from the onboarding request.

cursive heronBOT
#

@light pagoda pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating Payment Intent links and sharing them with my Clients clients (my Client is a connected account). However upon clicking the link I'm getting the 'Something Went Wrong' error.

My understanding was that these link shouldn't expire and nothing that I'm aware of would be invalidating these links.

When I look at logs (in both my and the clients account), I'm not seeing any logs for quite a few days even thought the chart clearly shows activity today etc. I've made sure to clear filters etc too.

Related Request ID(s)
No logs found, I do have a payment link though?

What have you already attempted?
I've read that payment links shouldn't expire. Even if they did, this is well within a few days so I wouldn't expect it even if there was an expiry.

What are you working on?
We've created an integration that generates payment links for invoices and then a webhook handles checkout complete and marks invoices as paid.

cursive heronBOT
#

@frigid quartz pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we have this add-on product that we wanna sell with primary subscription. The primary subscription can be monthly or yearly but add-on is always monthly. is it possible to create subscription with different billing periods? if not, can i create 2 subscriptions within a same checkout?

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

What are you working on?
web hosting product

cursive heronBOT
#

@snow thunder pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why is my subscription created with an active status when I set my payment_behavior to "default_incomplete"?

Related Request ID(s)
req_04nWNzjIHg54BM

What have you already attempted?
I've compared this to the default payment_behavior, and both seem to create the subscription with an active status.

cursive heronBOT
#

@gleaming compass pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```ts
<AddressElement
options={{
mode: "billing",
fields: {
phone: "always",
},
}}
/>
```

Question
When using the address element with the new embedded checkout component, it is not possible to edit the AddressElement field properties.

The following error occurs:
```
Invalid createBillingAddressElement() parameter: options.fields is not an accepted parameter.
```

What have you already attempted?
Currently we ask the phone with our custom field. But we still cannot disable other fields like the address (we only need the country and zip)

What are you working on?
Building a checkout form for a subscription

cursive heronBOT
#

@static dome pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to find out the best way to setup subscription for instances where there is a plan that includes 20 users for a standard price and also a different price for additional users

Related Request ID(s)
price_1R3sDaIeRysAWxPpVilL7aKu

What have you already attempted?
I have already set up the main plan with the 20 included users

What are you working on?
Billing/Subscription platform for a SaaS

cursive heronBOT
#

@pastel geyser pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there an equivalent to source_transaction in payment intents? I can see that the charges endpoint is deprecated, and that i should use payment intents instead. My goal is to have one buyer and multiple sellers.

Doc/Guide Links
https://docs.stripe.com/api/charges/create

What are you working on?
I am working on splitting payments from one buyer to multiple sellers.

cursive heronBOT
#

@dire schooner pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I integrated the payment sheet into our Android app and added GooglePayConfiguration to the integration, but Google Pay is always unavailable on the payment sheet. I've checked the dashboard, and Google Pay is active.

Related Request ID(s)
I don't have access to the dashboard.

What have you already attempted?
https://docs.stripe.com/payments/accept-a-payment?platform=android#android-google-pay

cursive heronBOT
#

@wary haven pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I modify the Cancel Subscriptions page from the Stripe dashboard and is it a good idea?

Doc/Guide Links
In my app I will give users the ability to leave feedback and I was wondering if this can be available though the Stripe's cancel subscription page.

What are you working on?
Cancel Subscription with feedback box

cursive heronBOT
#

@rich valley pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
hello, im working on stripe form integration. I use Payment Element. we want to use manual capture, but in this case on the FE I see this error. What am I doing wrong?

What have you already attempted?
if I set automatic capture - it works fine with no errors.

What are you working on?
rebulding my checkout form

cursive heronBOT
#

@hoary dirge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
I would like to create an invoice and finalize it in the future (in 30d) and collect payment automatically.
I followed https://docs.stripe.com/invoicing/scheduled-finalization and set the fields:
```
"auto_advance": "true",
"automatically_finalizes_at": "1744977600",
"collection_method": "charge_automatically",
```
The invoice is created but the due date appearing on the invoice is set to today (2025-03-19) on the PDF.
Why isn't it the due date I set in the `finalize_at` field?
How can I modify the due date appearing on the PDF?

Related Request ID(s)
req_17j6GE4e9lxSuf

What have you already attempted?
I tried setting the `due_date` field but it is not possible in `charge_automatically` mode.
I also tried to set the `effective_at` field, but I have the error that this field should be in the past.

What are you working on?
We are building a Saas to automate Amazon advertising.

#

@tawdry flicker pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Weโ€™re implementing Stripe Billing for our SaaS business and need guidance on structuring our subscription model. We offer the following services:

Online Ordering (max 1 per customer)
Device Type 1 License (unlimited)
Device Type 2 License (unlimited)
Customers can start with one device and later purchase additional licenses. For example, if a customer buys one device license in January and then three more in March, the Stripe subscription itemโ€™s quantity would increase from 1 to 4.

Our main questions:

Tracking Individual Purchases: Since Stripe tracks only the total quantity in the subscription item, is there a best practice for knowing ... (continued in thread)

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

What are you working on?
SaaS company that sells software licenses

cursive heronBOT
#

@boreal star pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<Elements stripe={stripePromise} options={{ clientSecret }}>
<CardPay
closeModal={closeModal}
stripePromise={stripePromise}
onPaymentSucceeded={() => {
if (onPaymentSuccess && stripeResponseData?.id) {
onPaymentSuccess(stripeResponseData?.id);
}
}}
payment_type={payment_type}
/>
</Elements>

Question
I am creating the client secret from my backend and have also enabled Link in my Stripe dashboard. The issue is that when I enter an email and pay using Link, then log out as the current user from the app and log in with another user, the previous user's email still appears. I need to remove it when a user logs out so that when a new user logs in, they donโ€™t see the previous email.

What have you already attempted?
I haved cleared localstorage , session storage still when i go to pay it shows previous used email even if current logged in user to my app is changed.

cursive heronBOT
#

@fresh breach pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The software our website uses has a stripe integration via stripe elements. This loads in the stripe payment iframe correctly. The issue is around google pay as we are getting an error in the console "payment is not available in this context". As we don't control the iframe, we cannot add properties to the iframe to "allow" payment context.

Related Request ID(s)
N/A

What have you already attempted?
Reached out to support.

#

@raw coral pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
https://dashboard.stripe.com/subscriptions/sub_1Qi5bQFvG2PBfrpSr1k2pXSi
The coupon GRTOPRE24 should be applied 1 time.

What actually happened?
The coupon GRTOPRE24 is applied and removed 3 times in this subscription

Reproduction Steps
Go to stripe dashboard, go to stripe customer cus_Rb7N4qGPzcCeXY, then check the events section.

Question
I don't know why and when a coupon is removed from subscription. And in this subscription, it's is removed 3 times.

What are you working on?
This is a maintenance project. My client asked me to explain why this coupon has been redeemed 7 times.

#

@tawdry flicker pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Weโ€™re looking for best practices on handling the removal of subscription items in our system. Unlike traditional plans (e.g., Starter, Pro), we only offer a monthly subscription to different add-ons, such as:

Online Ordering (maximum 1 per subscription)
Device Type 1 License (unlimited quantity)
Device Type 2 License (unlimited quantity)
When a customer purchases a Device Type 1 License, we create a subscription and add that product's price_id to it. If they have multiple licenses (e.g., 3 devices), they can select which specific device to remove in our system. When that happens, we update the quantity of the. (continued in thread)

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

What are you working on?
SaaS. Software Service

cursive heronBOT
#

@upper carbon pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our refund webhooks are not working as expected anymore. We have for example one webhook for a connected account that works as expected (evt id: evt_3QoiV0Ltk7rShy5b0dLj1V81), and one where it did not work (evt_3QsryQLtk7rShy5b06C2AbbJ).

We expect to see data.object.refunds to be in the data of the webhook "charge.refunded", but in the second event it is not present...

Related Event ID(s)
evt_3QsryQLtk7rShy5b06C2AbbJ, evt_3QoiV0Ltk7rShy5b0dLj1V81

What have you already attempted?
Checked webhooks in dashboard

cursive heronBOT
#

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

Question
Hello, im doing a refund on test mode, and i want to know about processing fee from stripe, the idea is that im not sure about how processing fees work, The idea is that the customer should be refunded totally, and the fee should be charged to the account provider not to the customer, right ?

Related Request ID(s)
Refund

What have you already attempted?
...

#

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

Question
I need to create two separate subscriptions with a single payment flow.

Related Request ID(s)
NA

What have you already attempted?
I managed to create two on the backend by using the confirmation token with the first one, then retrieving the payment_method from the response and using it on the second one. Works ok if the method doesn't require the 3D secure, but if it does, the second one stays unpaid due to 3D secure required verification. In this case I actually execute the authentication but then on the second subscription is requested again, it seems, even if I try to use the test card that should work once it is set up (I also attach the payment method to the customer before the second subscription)

What are you working on?
A php application with react frontend, I need to retrieve a payment to start two separate subscriptions

cursive heronBOT
#

@crystal dome pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
i use npm start in localhost:5173, use event.elements.includes('apple_pay') to check apple_pay is supported๏ผŒ it return
"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."

Question
can i test applepay in localhost

What have you already attempted?
i want to use stripe to support apple pay in our website

#

@rain hedge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe error 'resource_missing': No such PaymentMethod: 'google_pay'

Got this error.

Related Request ID(s)
Error: Call to undefined method Drupal\commerce_payment\Exception\InvalidRequestException::createForPayment()

What have you already attempted?
Error: Call to undefined method Drupal\commerce_payment\Exception\InvalidRequestException::createForPayment()

#

@sacred hedge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
So I'm using Stripe Connect to onboard users to my Form Builder app so they can accept payments via Stripe. I've been making some test payments as I'm early development stages. However, I logged into my Sandbox account where I have Connect enabled, and I can see the connected account correctly. The issue lies in the fact that I can see their transactions list and many more data which I don't need to know. How can I ensure I don't get access to this information?

Related Request ID(s)
none

What have you already attempted?
Haven't tried anything to resolve this yet.

What are you working on?
A Joomla Form Builder that we plan on accepting payments via Stripe.

#

@barren dagger pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I'm getting "corporation" as a business_type from the /v1/accounts API endpoint but according to
the documentation, business_type should only be one of these values:
- individual
- company
- non_profit
- government_entity

Is this expected behavior? What am I missing?

Related Request ID(s)
req_Tzvn6hooX2eFXE

What have you already attempted?
https://docs.stripe.com/api/accounts/retrieve?lang=python&api-version=2024-06-20

What are you working on?
fixing pipeline error caused by business_type value

cursive heronBOT
#

@ember sky pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How i can Add trial days to the existing subscription , but trial 30 days need to add after a at their of subscription date
Suppose user paid 2.99 for march month . and at middle of month if 30days trial added then it should add at 31th march

Related Event ID(s)
Subscription , api webhook

What have you already attempted?
I have added trial period for that subscription, but at next recurring date it ask me to pay proration amount,

$updateSubscription = $stripe->subscriptions->update(
$referralUserSubscriptionData->subscription_id,
['trial_end' => $timestampForReferralUser]
);

What are you working on?
Subscription Module on Laravel PHP framework

cursive heronBOT
#

@frozen berry pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I add invoice items to Stripe Checkout session in mode subscription and have a trial only for the subscription?

Related Request ID(s)
Na

What have you already attempted?
So essentially charge one time payments at the same time as the trial starts for the subscription

#

@runic nova pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to ensure that an invoice automatically triggers a payout with a specific statement. We are currently trying to do it by triggering a payout the moment the money arrives in the account. We keep track of when the money arrives by monitoring the transaction. (invoice->paymentIntent->charge->transaction.available_on). This doesn't work because the account fluctuates a lot through the day and there are also automatic payouts set to trigger before we do the manual payout.
an example of this fluctuation can be seen in the transactions associated with this payout.

Related Request ID(s)
acct_1LXJcjLPzyExgOYy

What have you already attempted?
an example of this fluctuation can be seen in the transactions associated with this payout. Indeed, we expect to do a payout of eur 47.10
https://dashboard.stripe.com/payouts/po_1R3RDgLPzyExgOYyrM2qWvs1 (redacted) after the money from the invoice is in.

What are you working on?
If the payment is received in the bank account, we do not have the origin. We would like to add order numbers so that when you receive a payout, you can see which order the payment is from.

#

@last granite pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe suspended my payments they say โ€œThat do not appear to have been authorized by the customer.โ€ So i need to know how i can fix this and have my money back

Related Request ID(s)
Suspended payments

What have you already attempted?
Ive send my 6 months ago bank statement and give more info

What are you working on?
I am a creator content for brands

cursive heronBOT
#

@robust island pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to access the subscription `cancellation_details` from the API using PHP

Related Request ID(s)
n/a

What have you already attempted?
When retrieving the subscription object, I am trying to get the details like:
```php
$subscription->cancellation_details;
```

cursive heronBOT
#

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

Question
When creating a payment intent from api, with a fixed currency (USD), if I'm charging a customer with another currency already setted, like โ‚ฌ or ยฃ will it crash or the amount in $ will be automatically converted in the currency of the customer i'm charging?

Related Request ID(s)
None

What have you already attempted?
None

What are you working on?
An autorecharge system in my platform

#

@limpid nebula pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to get stripe account id, by searching on email. Is this not possible?

Related Request ID(s)
none

What have you already attempted?
I can get a list of all accounts or somehow do 100 at a time, several requests, but that would be a long list or too many req.

What are you working on?
Training platform

#

@crude lagoon pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
i am trying to get an api response with the usage a user has on stripe metered, i am trying to make a chart with usage per day

Question
i am trying to get an api response with the usage a user has on stripe metered, i am trying to make a chart with usage per day

What have you already attempted?
curl -G https://api.stripe.com/v1/billing/meters/mtr_test_61SDiXdEamtp5Ksw841LsksvGip84C48/event_summaries
this endpoint but it keeps returning only one value

What are you working on?
a payment portal

cursive heronBOT
#

@tender tundra pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm adding Affirm as a payment option for customers. I'm passing 'http://localhost:3333/#/order-confirmation' in confirmParams.return_url when calling stripe.confirmPayment however the page is redirecting to a different url which is passing payment_intent and payment_intent_client_secret as url params. How can I fix this? I don't see a request id in the logs I can only get the info that is presented on the affirm test payment page

Related Request ID(s)
pi_3R4NwwRX4Cwp99Gd13qiCzIQ

What have you already attempted?
Tried different url but it always comes to the wrong one.
I see this in the test page
"next_action": {
"redirect_to_url": {
"return_url": "http://localhost:3333/#/order-confirmation",
"url": "https://affirm-hooks.stripe.com/affirm/acct_1Qw4oqRX4Cwp99Gd/pa_nonce_RyKcIdaEexoHXPKLNeAVfyvx6mKHTg7/redirect"
},
"type": "redirect_to_url"
},

What are you working on?
affirm integration

cursive heronBOT
#

@delicate ridge pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
class=HandoffReaderController message="startPaymentCollection - handleResponseContent" intentId=pi_3R3jdjGazeq8JM7H1KEsSp93 updatePaymentIntent=false offlineDetails=null offlineBehavior=PREFER_ONLINE result="QueryPaymentMethodResponse{payment_method=PaymentMethod{card_payment=CardPaymentMethod{masked_pan=โ–ˆโ–ˆ, expiration_date=โ–ˆโ–ˆ, card_brand=INVALID_CREDIT_CARD_BRAND, card_entry_method=CONTACTLESS}}, num_of_canceled_payments=0}"

Question
I am trying to do the payment on handoff mode on S700 Devkit device. When it goes to the payment flow, it just keeps on processing but doesnt approve the payment, and after sometime, it fails and asks to try again. The console logs show:

What have you already attempted?
I have checked the android code, and do not see any breaking changes. In the stripe github change log for 4.0.0 it is mentioned that For Apps on devices in handoff mode, HandoffReaderListener has been removed from the old connectHandoffReader method as a parameter, and moved into the HandoffConnectionConfiguration object.
is HandoffConnectionConfigurationApi -> ConnectionConfiguration.HandoffConnectionConfiguration(handoffReaderListener :readerDelegate)

What are you working on?
I am working S700 Devkit device for Handoff mode.

#

@faint galleon pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Apple Pay payment option show up in payment form that uses Stripe Elements

What actually happened?
Apple Pay not showing up

Reproduction Steps
(in test mode)
My main account: acct_1AlaEGIQhnkACvAM
When showing payment elements form for standard connected accounts
eg. acct_1PpuCBBunX2HmE8j or acct_1PndC5JpIBkmDfYL

The form is shown using client secret based on previously created payment intent.

Question
It has to be related to those connected accounts being "Standard" because Apple Pay shows up when using the exact same form but for express connected accounts. (eg. acct_1Qzh00Iq16bwXyZp)

Is there a setting we are missing, or is it something we are missing on the payment intent params ? (for example express uses on_behalf_of standard does not)

What are you working on?
Web application for healthcare facilities.

#

@light temple pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripe->subscriptions->update(
$stripeSub->id,
[
'pause_collection' => [
'behavior' => 'keep_as_draft',
'resumes_at' => $newEndDate->getTimestamp(),
],
]
);

Question
Hello,
I want to offer subscription days to my customers in my application.
I donโ€™t want to use a trial period in Stripe for this.
I had used the "pause_collection" parameter to extend the subscription duration, but I'm facing an issue. If my subscription is cyclical (e.g., from January 1, 2025, to January 1, 2026), and I offer 10 days, the current subscription is correctly extended until January 11. However, the next invoice does not have its start date adjusted to January 1

What have you already attempted?
I had used the "pause_collection" parameter to extend the subscription duration

What are you working on?
Selling annual souscription to my customers

#

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

Question
I have a question about payment intents,
If i Create a payment intent via api, with the confirm param setted to True and the off_session param setted to True, and it requires action from the end user, the state of that payment intent is not succeded until the user does something. So it's better to listen to a webhook in order to understand if has succeded or not.

Related Request ID(s)
None

What have you already attempted?
None

What are you working on?
A top up system on an internal balance

cursive heronBOT
#

@sinful eagle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
payment intent pi_3R3qNqCVUvdI84gC0zPAaclB has a charge ID but when using Stripe's Java API paymentIntent.getLatestChargeObject() returns null.

Related Request ID(s)
webhook event evt_3R3qNqCVUvdI84gC0OKcV4nf

What have you already attempted?
Looked at the dashboard and I can see that the payment intent object has a charge ID value.

#

@runic nova pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to ensure that an invoice automatically triggers a payout with a specific statement. We are currently trying to do it by triggering a payout the moment the money arrives in the account. We keep track of when the money arrives by monitoring the transaction. (invoice->paymentIntent->charge->transaction.available_on). This doesn't work because the account fluctuates a lot through the day and there are also automatic payouts set to trigger before we do the manual payout.
an example of this fluctuation can be seen in the transactions associated with this payout.

Related Request ID(s)
acct_1LXJcjLPzyExgOYy

What have you already attempted?
an example of this fluctuation can be seen in the transactions associated with this payout. Indeed, we expect to do a payout of eur 47.10
https://dashboard.stripe.com/payouts/po_1R3RDgLPzyExgOYyrM2qWvs1 (redacted) after the money from the invoice is in.

Do you have an advise, you are now just saying we advise you to not do it. What would be the advise to communicate order numbers in the description of the transaction>?

What are you working on?
Payout description, now we have just a stripe number, but we want to show order number/details

#

@cedar junco pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are eagerly testing our app with the goal of launching it by the end of the month (if the app stores cooperate).

One limitation is still quite annoying for us: The PIN capture on Android devices is not yet integrated (https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android).

The "not yet supported" message suggests that you're working on it. Does anybody know if it is activily worked upon or does anybody have an ETA when it will be available?

Related Request ID(s)
/

What have you already attempted?
We tried to capture payments over 50 โ‚ฌ on android and get error messages

cursive heronBOT
#

@west vault pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We need to create 2 different Subscriptions with only one Payment Intent, in order to show the 3DSecure popup only once

Related Request ID(s)
req_NdCe6IV1C6midb

What have you already attempted?
Create first subscription (donation)
Confirm the payment intent with the confirmation token
Create second subscription (tip)
Extract payment method from first payment intent
Use to confirm the second payment intent, relative to tip subscription

cursive heronBOT
#

@upper carbon pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why did we not get a "charge.refund.updated" webhook or event for the following pi_3QrPnELtk7rShy5b0pqm42Mi , normally we get one.

Related Event ID(s)
pi_3QrPnELtk7rShy5b0pqm42Mi

What have you already attempted?
Checked everywhere

#

@feral sierra pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hi, how to 'mimic' the webhook api call via postman?

Related Event ID(s)
evt_1R48WhBmeCqz9wk0dR806a4p

What have you already attempted?
i've tried to add the same api via postman, and it was giving me no webhook signing secret error, and later i've tried to add the signing secret someway from postman.
why i'm doing this is because, i'm not able to get the webhook back to my endpoint url i've added, and i've webhook failure rate of 100%.
so, i tried to find what exactly is the issue by using postman.

What are you working on?
trying to trigger webhook

#

@muted escarp pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Error: Could not retrieve elements store due to unexpected error
at https://js.stripe.com/v3/fingerprinted/js/controller-with-preconnect-37a73a9489fbe2bda9f907d3377bc3d2.js:1:917410
at n (https://js.stripe.com/v3/fingerprinted/js/shared-99bc2d7e7f61bd9f550471b7581e6f4a.js:1:287084)
at Generator._invoke (https://js.stripe.com/v3/fingerprinted/js/shared-99b

Question
Could you help us debug this error? We get it randomly and we aren't sure what is causing it.

What have you already attempted?
We are unable to reproduce the error.

What are you working on?
https://www.withflex.com/

#

@vale quail pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/issuing/connect/funding#retrieve-an-issuing-balance

Question
What is the best way to retrieve an issuing balance of a specific date in the past?

What have you already attempted?
I currently retrieve the current balance fro the balance API but I am trying to determine how to figure out the issuing balance on a specific date in the past.

What are you working on?
Issuing + Connect

#

@quasi plume pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are starting to see some "reader unreachable" and "reader_busy" errors when trying to process some in person credit card transactions. It only happens a small percent of the time, but is starting to become a problem.

Related Request ID(s)
req_tXaw2fx9AEk5Dp?t=1742327577

What have you already attempted?
We have added re-try logic which fixes the issue in some occurrences, but not all.

cursive heronBOT
#

@gleaming compass pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```ts
<AddressElement
options={{
mode: "billing",
fields: {
phone: "always",
},
}}
/>
```

Question
When using the address element with the new embedded checkout component (https://docs.stripe.com/checkout/custom/quickstart) , it is not possible to edit the AddressElement field properties.

The following error occurs:
```
Invalid createBillingAddressElement() parameter: options.fields is not an accepted parameter.
```

What have you already attempted?
Currently we ask the phone with our custom field. But we still cannot disable other fields like the address (we only need the country and zip)

What are you working on?
Building a checkout form for a subscription

#

@feral falcon pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Today, sometimes I need to create a credit note for my customers, but this credit is supposed to work only in the current month.
I would like to know if there is a possibility to create an expiration date on a credit or if there is another way to solve this issue.

Related Request ID(s)
I don't have one

What have you already attempted?
I created invoices and created credit notes with success but these credit notes can be used in any future invoice and I wish it could be used only in the future invoice into the current month.

What are you working on?
my customers have a minimal custom invites to send in a month, if the customer didn't use all we will add credit in the customer account the rest of value to be used in the current month

#

@vocal sorrel pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am building a PaaS solution and would like to know the best practices for setting up Stripe Products/Pricing/Subscriptions/etc.

Doc/Guide Links
docs.stripe.com (Subscription section, SaaS section, and a few other sections)
Three "best practices Stripe Subscription" blog posts from Google

What are you working on?
PaaS solution that has a tier (Standard, Professional, Enterprise). In addition to the tier which includes some amount of free seats (three tiers of seats/user types), they can purchase additional add-on products (seats/meter).

cursive heronBOT
#

@orchid cypress pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Recharge my stripe balance

What actually happened?
I sent my payout back to the same account and nothing happened

Reproduction Steps
I received a payout from Stripe and wanted to refund the payment, so I sent the money back to the account I received the payout from

Question
How do I get my money back? How will this be resolved? I contacted support but they didn't understand what my problem was.

#

@vagrant kayak pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Create a dummy phase for API Scheduled

Related Request ID(s)
NONE

What have you already attempted?
Im creating a future phase with a new plan price to migrate the user on Abril 30 but this user his last phase is on March 29 for a invoice renew subscription.

How I can create a middle dummy phase (or similar) that start March 29 and ends Abril 30, to then on Abril 30 apply the new phase to update plan.
Since phases dates needs to be continued and no gaps.

Error , logs:
There is a gap between phase 0 `(1740776676, 1743282276)` and phase 1 `(1746021600, 1748613600)`.

https://dashboard.stripe.com/test/logs/req_1PTCTuw8VbLZbL

What are you working on?
Migration subscriptions plans price for a Streaming Services

cursive heronBOT
#

@twilit turret pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
invalid_request_error - token
Invalid token id: tok_1R4PBkAgWxiw5KJ0t2Un9PBY
Thank you for your feedback. If you need help or have any questions, please consider contacting support.

Question
Why is this token invalid? We are using the create setup intents functionality There is the request id: req_vQQ9MLkfeU3KQd

What have you already attempted?
We are using the create setup intents functionality

Reproduction Steps
return this._createSetupIntentAsync<Stripe.PaymentMethod>({
confirm: true,
customer: customerId,
expand: ["payment_method"],
payment_method_data: {
card: {
token: paymentTokenId,
},
type: "card",
},
} as any);

#

@jade plinth pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created a management page for my users that have one subscription for multiple products, but when they use the page to change the payment method, one of the products g oes to 0 elements

Related Request ID(s)
no

What have you already attempted?
i wanted to do what can I do to fix this, fixed a lot of money already ๐Ÿ˜‚

#

@manic igloo pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do i need customer address to collect tax on invoice sent to customer?

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
I am working on creating and sending invoice on behalf of express connected account. and the customers of my platform are paying the tax and the tax amount goes to connect express account

cursive heronBOT
#

@onyx wing pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the iOS SDK, can we create a PaymentMethod out of an Apple Pay card *without* automatically attaching it to the user?

Related Request ID(s)
N/A

What have you already attempted?
I have a working example that creates a PaymentMethod from an Apple Pay card but haven't found an API control to do what I described.

What are you working on?
iOS App

#

@long thistle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there an API endpoint to receive a value like onbrd_xxxx? This value is used to create new Stripe Accounts that are CBSP, but have the onboarding window of 7 days and not 5 minutes like the AccountLinks endpoint

Related Request ID(s)
onbrd_xxxx

What have you already attempted?
I've attempted to use AccountLinks, but it doesn't really give the desired result for a shareable URL (as it requires an email and is only valid for a single click and 5 minutes).

What are you working on?
Allowing creation of CBSP accounts in a Rails app to enable Stripe S700 installs.

#

@lost bluff pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, we have a kiosk product, so our stripe terminal is unmanned. We use the api for our transactions, but have been having issues with fraud, which therefore cost us money in disputes. We're seeing this happen specifically with magstripe transactions. Is there a way to disable the magstripe or disallow transactions through magstripe? How are other people handling this?

Doc/Guide Links
https://docs.stripe.com/terminal/references/api

What are you working on?
Unmanned Mall Kiosk

#

@obtuse bison pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected Stripe to not invalidate previously issued refresh tokens unless they are used to obtain a new access token.

What actually happened?
After creating a second Stripe Pay Connector instance, the refresh token from the first instance became invalid. When attempting to refresh the access token for the first instance, the refresh request to Stripe failed with a 400 invalid_grant error stating the refresh token does not exist, even though it was never used.

Reproduction Steps
Create Pay Connector Instance 1 via the "Connect with Stripe" flow.
Log the refresh token.
Create Pay Connector Instance 2 via the "Connect with Stripe" flow.
Attempt to refresh the access token for Instance 1 using its original refresh token.
This fails with invalid_grant, indicating the refresh token no longer exists.

Question
Is it expected behavior for a new OAuth connection to immediately invalidate a previous refresh token, even if that refresh token was never used? If so, is there a way to maintain multiple valid refresh tokens across different Pay Connector instances for a single stripe account?

#

@unborn sapphire pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Because your account is a Connect platform, you cannot choose the public distribution at this time

Question
Can't upload Stripe App to public distribution

What have you already attempted?
Contacted support to try to reverse my Connect platform status, logged in / logged out, steps from here: https://stackoverflow.com/questions/78260846/stripe-apps-oauth-integration-not-working-according-to-docs, etc

What are you working on?
Building Stripe App/Plugin

#

@half bane pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our application produces reports for connected accounts which includes showing the amount of fees associated with disputes.

After receiving notice about the new dispute fees (https://support.stripe.com/questions/june-2025-pricing-updates-for-disputes) we are curious how these new fees for countered disputes will appear via the API.

Currently we look to the fee balance transactions on the dispute. Will this new fee be an additional transaction; the normal transaction will for more; or will we need to look elsewhere for this new fee?

Thanks in advance.

Related Request ID(s)
None

What have you already attempted?
Reviewed documentation and announcement of new fee (https://support.stripe.com/questions/june-2025-pricing-updates-for-disputes)

What are you working on?
Web application to facilitate collection of contributions to political campaigns in NYC

cursive heronBOT
#

@dense idol pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Stripe Connect Express. Payouts from the connected account's perspective are not showing which buyers they are coming from.

I am using `stripe.checkout.Session.create` and `stripe.PaymentIntent.create`. How do I set the description that will eventually show up on payment objects like py_1R3nhwQYXiJxvYPMUL3ZC53v such that connected accounts can trace where the money is coming from

Related Request ID(s)
py_1R3nhwQYXiJxvYPMUL3ZC53v

What have you already attempted?
I have explored docs thoroughly and asking AI

#

@wintry flower pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet#react-native-collect-payment-details

Question
I am currently using the Stripe iFrame to tokenize CC's. I am not using payment intents. I want to use the react-native component to tokenize CC's for an app. Is this possible or do we need to use payment intents? Can you point me to some documentation for tokenization?

What have you already attempted?
I have only looked at docs. I have not implemented the react native component

cursive heronBOT
#

@jade plinth pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created a management page for my users that have one subscription for multiple products, but when they use the page to change the payment method, one of the products goes to 0 elements

Related Request ID(s)
no

What have you already attempted?
i wanted to do what can I do to fix this, fixed a lot of money already ๐Ÿ˜‚

#

@night peak pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to figure out how to properly calculate the proration when calling `previewInvoice`. My use case is I want to show a user the amount due today when they update their subscription.

Related Request ID(s)
N/A

What have you already attempted?
I've read the docs here: https://docs.stripe.com/api/invoices/retrieve

The thing I found surprising/am struggling with is how to apply a credit when a user downgrades from a more expensive plan to a cheaper plan. When I test this use case, I always see the full price of the new plan in amount_due

What are you working on?
A design tool

cursive heronBOT
#

@forest gale pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you share any documentation that specifies what columns are available on the Stripe Express Dashboard to view and to export? Is any of this configurable when generating a express login link?

From what I can tell with my own testing: overview shows Date, Status, Type, amount, fee, net

All transactions tab additionally includes description.

Export includes: ID, Type, Source, Amount, Fee, Destination Platform Fee, Destination Platform Fee Currency, Net, Currency, Created (UTC), Available On (UTC), Description, Customer Facing Amount, Customer Facing Currency, Transfer, Transfer Date (UTC), Transfer Group

Doc/Guide Links
https://docs.stripe.com/connect/express-dashboard

What are you working on?
Investigating Stripe Express dashboard as a reporting solution (versus building our own)

#

@shrewd steeple pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
My payment link on stripe is broken (checkout.coursecreator360.com) and says it's a CNAME issue. I'm well versed in DNS though and there is definately not a DNS issue here.

Question
How to fix this. All my payment links have been down which is effecting sales

What have you already attempted?
Went into cloudflare and double checked the DNS. It's all imported exactly how it should lbe.

Reproduction Steps
Explained above. Went to cloudflare

What are you working on?
CNAME

cursive heronBOT
#

โ›”๏ธ Stripe developers aren't currently available on Discord

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

We'll be reopening at 8am GMT on Thursday, March 19, 2025 - see you then!

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

cursive heronBOT
#

@limber mantle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want the invoice been sent as email to the customer who has completed the payment via the create payment link API which i have created

Related Request ID(s)
req_N5WSckAVnnk5kH

What have you already attempted?
in my payload for creating the payement link i have made
"invoice_creation[enabled]": True,

but iam getting this below error
[2025-03-20 13:06:03,607] ERROR in views: Stripe API error: 400 - {
"error": {
"message": "`invoice_creation` can only be used if the payment link does not contain any recurring prices.",
"request_log_url": "https://dashboard.stripe.com/test/logs/
"type": "invalid_request_error"
}
}

What are you working on?
iam integrating stripe payment for subscrition of my website which is monthly payment

cursive heronBOT
#

@thorn sequoia pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are constantly facing error while we try to create Becs setup intent in this account id - acct_1FqtohDv9p9pN2n8. We would like to know if merchant has enabled becs in this account in the first place

Related Request ID(s)
acct_1FqtohDv9p9pN2n8

What have you already attempted?
We tried creating setup intents

What are you working on?
Chargebee Stripe BECS integration

#

@hasty elbow pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
<PaymentElement /> showing up for all users if client_secret is correctly passed to <Element />

What actually happened?
for some users (less that 1%) the payment element doesn't show up

Reproduction Steps
follow this basic example https://docs.stripe.com/sdks/stripejs-react#elements-provider

Question
is there a reason (given that clientSecret is valid and properly passed to stripe element) that would make payment element not show up? Old browser, ad block, bad network etc.

What are you working on?
ecommerce funnel

cursive heronBOT
#

@placid oasis pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
acount connect event are not called

Related Request ID(s)
connect feature

What have you already attempted?
i change the web hook event to connect still my webook not calling, for the rest of the event my webhook is working fine for account.updated and more related to connect event not firing the webhook i am in test mode currently

#

@ashen kindle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What happen if user payment fail in the next period of subscription

Related Request ID(s)
-

What have you already attempted?
Create a subscription

What are you working on?
building and maintaining

cursive heronBOT
#

@versed igloo pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is that possible to restore access to a connected account once stripe.OAuth.deauthorize(client_id=STRIPE_CLIENT_ID, stripe_user_id=account_id) was called?

Related Request ID(s)
-

What have you already attempted?
-

#

@pastel flame pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I am working on the `list all customers api`, I want to check if I can specify the fields that I want to get back when call all the customers, as of now all the fields are returned from the API e.g. address, balance, description, email etc, I want specific fields only like id, name, email and subscriptions. How can i do it while calling api from my node js project ?

Related Request ID(s)
None

What have you already attempted?
I tried to add the params like this

const fetchOptions = {
limit: 100,
expand: ['data.subscriptions'],
select: ['id', 'email', 'name', 'subscriptions'],
};
const customerList = stripe.customers.list(fetchOptions);

but this is giving error `Error: Received unknown parameter: select at StripeError.generate`

#

@kind owl pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
I need to create an embedded stripe checkout form in my app. Could you assist creation of the checkout page.

Related Request ID(s)
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=embedded-form

What have you already attempted?
I use make.com to create a product, assign a price to that product and then create the payment page. However Im not sure how to make it embeddable if that makes sense?

What are you working on?
We are building a payment gateway for an EV rental company

cursive heronBOT
#

@quick current pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Using the ConnectAccountOnboarding component, we've added a CSP using this information from connect components docs.

```
frame-src https://connect-js.stripe.com https://js.stripe.com
img-src https://*.stripe.com
script-src https://connect-js.stripe.com https://js.stripe.com
```

What actually happened?
We continue to see a CSP error for r.stripe.com

Reproduction Steps
We've added the domain r.stripe.com and when using embedded connect components, we see this issue, it looks as though the CSP is coming from the injected frames code, rather than our site.

Question
How can we resolve this CSP issue?

What are you working on?
Onboarding partner agencies to receive payouts.

#

@versed igloo pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is that possible to restore access to a connected account once stripe.OAuth.deauthorize(client_id=STRIPE_CLIENT_ID, stripe_user_id=account_id) was called?

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

@hallow flax pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
if I upgrade default API version in Test mode, will it affect the default API version in production? I know it sounds a silly question, but I want to be sure...
Also, I currently have a website (let's call it web1) to send payment requests and flow, and then a different one (web2) where I receive the calls from stripe (webhook). As far as I understand, if I upgrade the web1 .net stripe to last ones, I'll be automatically sending paymentintents etc. with api version 2025-02-24.acacia, so the webhook (web2) will receive events with the same API version, right?

Related Event ID(s)
none

What have you already attempted?
still none tried

What are you working on?
upgrading my .net API webook, and need to test it...

cursive heronBOT
cursive heronBOT
#

@oblique bane pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I would like to know if it is possible to create quotes and invoices for a connect account directly from the Stripe dashboard. I'm trying to find out if there's a way to create an API link that the connect account would open and only see the quotes and invoices sections.

What have you already attempted?
I'm just reading doc for now.
I created a connect account with the API and I opened the connect account view. I can create quote and invoice from there but i wanna know if we can hide all the sections except for invoice & billing, and i want to know how to create a link with the API so the user can access his dashboard.

What are you working on?
Connect account + quote + invoice

#

@swift juniper pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Will webhooks for legacy VBANs created via the Sources API continue to function after the API's sunset, meaning we'll still receive notifications when payments are received on existing VBANs?
Specific Scenario:
If we create a payment request using the legacy Sources API on March 25, 2025, and the payment is received on April 10, 2025, will we still receive webhook events notifying us of this payment?

Related Event ID(s)
-

What have you already attempted?
-

What are you working on?
Migration from Sources API to Payment Intents (ACH and SEPA Banktransfer)

#

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

Question
When a customer tries to update their subscription and is prompted to authorize the prorated amount with 3DS the API call immediately fail, how should I handle such case?

Related Request ID(s)
req_weS7uBvxEqLuh7

What have you already attempted?
I'm not sure how to handle this scenario

#

@restive fox pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i have customers in the EU using ChargeStripe, which is a payment app connected to Stripe. depending on what country they travel to, there are times where they receive errors like "the card present source type Eur is not supported in the UK" But theyre not in the UK. Is there a prescribed way of handling this use case on the stripe side?

Doc/Guide Links
i dont have any guide links

What are you working on?
a payment processing app

#

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

Question
I'm trying to implement CIT/MIT with stripe connect and I have trouble to not have SCA that I already validated in CIT in MIT

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

What have you already attempted?
I've attempted to pass "any" in three_ds_secure_option but I think I need to pass the "cryptogram" field but I dont know how to find it

#

@fathom comet pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I integrated the entire stripe payment system and also accept the payment with PayPal. Users in my application buys gems (just an app currency) and they pay it with real money.

The problem that I have is that when the user tries to pay with PayPal, his payment is declined but the user gets the gems in the app.

I looked at the code and I can see that I create a quote/accept that quote/finalize the invoice/ stripe.invoice.pay.

Then I return the paid invoice and I have this if

 if \(paidInvoice && paidInvoice.status === 'paid'\) {

if passed it will give the users gems
}

Related Request ID(s)
/

What have you already attempted?
I tried to make the payment with a declined credit card and I got the error, and I wanted to try with paypal that gets declined and I was not able to find a way how to do it so I can test that case.

What are you working on?
A subscription based learning app where the user gets and buys gems to spend on the lessons

#

@quartz wing pressed 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/stripe-atlas-perks-partners

Question
Want to confirm perk of "Stripe Payments: Free processing on US card payments on your first USD $100k in revenue (~$3000 value), eligible on payments within 365 days of your incorporation." Where does the $3000 come from? Do I get the full 100k off?

What have you already attempted?
N/A

What are you working on?
Sass company

#

@wary sparrow pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
This is the way the connected accounts are setup:

const account = await stripe.accounts.create({
type: "express",
email: email,
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
....

capabilities: {
card_payments: { requested: true },
twint_payments: { requested: true },
......

Question
I am using Stripe Connect. After changing the setting in the Stripe Dashboard so that connected accounts cannot override my default settings i still cannot enable certain payment methods for my connected accounts. It will always say for connected accounts with dashboard they (the connected accounts) need to set it. If i click view dashboard as "connected account name" and try to change it from there, the payment method (TWINT) doesn't even show up....

What have you already attempted?
I have tried setting it up so connected accounts have no right to override my standard settings, tried to do it manual by code for each of the connected accounts.

What are you working on?
Building karuso.eu, an intelligent bike-parking system.

#

@vagrant kayak pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to deal with coupons when updating Schedules Phases

Related Request ID(s)
NONE

What have you already attempted?
Im creating schedules of a subscription and then I want to add a new phase to update the plan price.

Since the API update its a "merge" I have to send the same content of the phases to not remove anything or edit the subs as it is plus the new phase that I want.

this case the user has a coupon.

ERROR;
Current and future phases may not contain deleted or expired coupons and coupons must have enough remaining redemptions. Phase 0 has a coupon XXXXXX that would be deleted, expired, or fully redeemed.",

https://dashboard.stripe.com/test/logs/req_hhapcZR5xE2H57

What are you working on?
Migrate users to a new plans, for a Streaming services website.

cursive heronBOT
#

@lean bay pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to verify how to send receipts to customers after a Checkout session completes. We have the account-wide setting to send emails for "Successful payments" at https://dashboard.stripe.com/settings/emails turned OFF. Best we can tell the way to send a receipt is update the PaymentIntent with a receipt_email value after the session completes. This could be any address, not necessarily what customer entered? We've tried in test mode but no emails are received. Does this work in test mode? Possible to have receipts sent after a Checkout session automatically without the acct-wide setting on?

Related Request ID(s)
evt_3R4BxwADZYQwlGbH01InMs7n

What have you already attempted?
Created Checkout embedded form integration, charges complete as expected. Updated PaymentIntent after success (via console). Considering turning the global setting on, but concerned other charges via different integrations that send their own receipts (Donorbox, for example) will send double receipts.

#

@near kestrel pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to know if I can send the same webhook events to multiple HTTP endpoints. We currently have 2 separate services that need to process the same event in different ways. I think you can add multiple endpoints but I'm curious if one acknowledges the message if the other one will get it.

Related Event ID(s)
req_ezdlohsyNDuAp8

What have you already attempted?
I was able to add multiple endpoints in the stripe dashboard but I haven't proved that both endpoints receive the same message.

What are you working on?
Checkout process for the Arly application

cursive heronBOT
#

@weak seal pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm having an issue with ActiveCampaign not tagging people who subscribe to a product from Stripe/Clerk.

Related Request ID(s)
product id pushes

What have you already attempted?
i've tried alot of metadata but nothing working

#

@west vault pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we are trying to create a subscription using a setupintent, but it breaks requesting SCA authentication

Related Request ID(s)
req_JwvpcB62tOVAvo

What have you already attempted?
confirming the setup intent and passing the payment method id

cursive heronBOT
#

@delicate ridge pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
val deviceName = Build.MANUFACTURER + " " + Build.MODEL;

Question
I want to detect if I installed the app on Stripe S700 Device.

What have you already attempted?
I tried to get the information via Android code, by using android.os.build.model method. But the information is displaying model as BBPOS WTH16, but there is no way to get "S700"

What are you working on?
S700 Devkit

cursive heronBOT
#

@oak parrot pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was given access to the checkout_server_update_beta beta API and have been building my integration with it using test API keys for a few weeks now.

I just got around to trying it with a live API key, and I'm getting this error:
`Error: Invalid Stripe API version: 2025-01-27.acacia; checkout_server_update_beta=v1. You do not have permission to pass this beta header: checkout_server_update_beta. If you have any questions, we can help at https://support.stripe.com/.`

Is it not possible to use beta's in production, or am I missing something?

Related Request ID(s)
NA

What have you already attempted?
Unsure what to try as it is working as expected when using a test API key

cursive heronBOT
#

@glossy crow pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When sending a text-to-pay link, I need to pass in metadata to the payment intent, so that when the payment intent succeeds, I can parse the metadata.

Related Event ID(s)
n/a

What have you already attempted?
Not sure how to pass metadata into a payment link

What are you working on?
Text-to-pay

cursive heronBOT
#

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

Question
Question related payment method attachment during setupintent.

Related Request ID(s)
45667889

What have you already attempted?
Question related payment method attachment during setupintent.

cursive heronBOT
#

@rare elm pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm using the CustomerSheet in a React Native project with @stripe/stripe-react-native version 0.43.0.

Question
When I open the Payment Sheet and add a new payment method, I click Save.
The "Select Default Payment Method" screen appears, showing a list of available cards.
Note, at this stage there is no default card selected.
If I click Confirm, the card is added and the CustomerSheet closes.
However, if I donโ€™t click Confirm and try to add another card, I receive the error:
"You cannot confirm this setupIntent because it has already succeeded"

What have you already attempted?
I have tried fetching fresh payment sheet parameters, but I do not see any callback from the CustomerSheet when a card is added without being confirmed as the default.

What are you working on?
Auction live streaming app.

cursive heronBOT
#

@slow gust pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I enable `us_bank_account_ach_payments` on my platform account? I'm able to update connected accounts passing the capabilities but when trying to do the same on my platform account I get the error "You cannot use this method on your own account: you may only use it on connected accounts."

Related Request ID(s)
req_655Wyo6ODzBQ3y

What have you already attempted?
On sandbox environment:

Tried going through the Dashboard but ACH does not show on the payment methods list.

Also tried calling the endpoint `/v1/accounts/:id` with:
`capabilities[us_bank_account_ach_payments][requested]: true`

But got the error: "You cannot use this method on your own account: you may only use it on connected accounts."

cursive heronBOT
#

@naive bane pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.accountSessions.create({})

Question
I'm trying to use stripe.accountSessions.create() but I want to avoid breaking changes from updating my stripe version, is there a way to bypass this upgrade, if not what is the first version that stripe.accountSessions.create() is available to?

What have you already attempted?
updating stripe to v12

What are you working on?
stripe express

#

@toxic grove pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We were alerted to an internal notice that we were getting rate limited by stripe for a very brief window of time. Looking for assistance from stripe to help diagnose the cause of the surge as the peak volume during the limit window is smaller than regular windows of operation. Trying to see if we are missing some other kind of event from our metrics that would explain the sudden rate limits

Related Request ID(s)
cus_M8mQxgW7yXiuG8

What have you already attempted?
We actively log and track any stripe api process on our end. Consulting these trackers show that there wasn't anything out of the ordinary with the number of api requests we were making

cursive heronBOT
#

@junior trellis pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I would like to confirm whether there are any charges for using automatic tax calculation in a Sandbox environment.

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@quasi python pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
A user updated their subscription payment method after a failed invoice, then, for their subscription to reactivate

What actually happened?
A subscription_updated event never occured, so, our webhook did not update the user's account

Reproduction Steps

  1. Reach subscription renewal date, with an invalid card
  2. Trigger the failed_payment event 5 times (or whatever your failed payment event is linked to)
  3. After final failed_payment event and subscription_deleted event is sent to webhook, within 5 minutes update the payment method to Link Payment
  4. Subscription_update event is not triggered, but, user is charged

Question
What would be the best way to handle this issue?
Should I just restart the users subscription?

What are you working on?
Subscription based webapp

cursive heronBOT
#

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

Question
Hi so I am using stripe subcriptions and I noticed when i cancel my subscription it says this message

"Your subscription will be canceled on April 20, 2025."

Why is this?

Doc/Guide Links
I don't have a doc/guide

What are you working on?
SaaS

cursive heronBOT
#

@vocal sorrel pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Are Product Features, which become entitlements on a subscription, available through WebHooks?

Related Event ID(s)
N/A

What have you already attempted?
Stripe Docs for webhooks, entitlements, product features, and the API documents.

What are you working on?
Tiered SaaS platform

#

@humble hatch pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi everyone,
I'm trying to implement a systรจme where my business account, which i receive money from users, can send payment to other users, but not from the same amounts. Example : i receive 5$ from user1, user2 and user3, so i now have 15$. I want them to send that 15$ to user4.

Getting payment from user works fine (i'm using flutter stripe), however, i'm having trouble finiding the best way to pay user4 (like i would go for a bank deposit).

Any idea how should i do it?

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

What are you working on?
I app where user can receive money from multiple users for carpooling

#

@night peak pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Question about the `proration_behavior` value in `invoice.previewUpcoming` and `subscription.update`.

If I want to update a subscription such that the difference in price is billed immediately (with the correct prorations), but the subscription billing cycle is not adjusted, how do I do that?

Related Request ID(s)
N/A

What have you already attempted?
Consider an example. I have 2 products, A at $10/mo, and B at $20/mo. A customer buys A. They then immediately upgrade to be. What I expect is:

They are charged $10 right away. Their billing cycle anchor remains fixed.

What I've seen. With proration_behavior: 'always_invoice', they are charged $10 immediately, but the billing cycle updates to be the time at which the new invoice was created.

With proration_behavior: 'create_proration', the customer is charged $30, but the billing cycle anchor remains fixed.

I'm having trouble reasoning about `create_proration`

cursive heronBOT
#

@quick cloud pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/bank-transfers/accept-a-payment?testing=dashboard

Question
I want to migrate ACH Credit Transfer from sources API to payment_intents API through Stripe. I followed the doc mentioned above.
I am passing these details in request:
payment_method_data[type], payment_method_options[customer_balance][bank_transfer][type], payment_method_types[0], payment_method_options[customer_balance][funding_type], payment_method_data[billing_details][name]
But getting error:
"Missing required param: payment_method_data[us_bank_account]."
there is nothing about it in the doc. What should I pass?

What have you already attempted?
I tried passing these details:
payment_method_data[type], payment_method_options[customer_balance][bank_transfer][type], payment_method_types[0], payment_method_options[customer_balance][funding_type], payment_method_data[billing_details][name]
in the request.

cursive heronBOT
#

@timber nimbus pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a Stripe account and one of my business websites set up to it via a webhook/ending point. I have a second website I want to connect to my stripe account (same business, but operating under a DBA). Do I need a different stripe account to accomplish this? I tried having two different web sites with the Web hook, set up to one stripe account and it did not work?

Related Event ID(s)
N/A

What have you already attempted?
Set up 2 websites on one stripe account. Website had error accepting payment, it didnโ€™t work.

What are you working on?
Trying to set up 2 websites on one stripe account via webhooks.

cursive heronBOT
#

@quasi imp pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe started complaining about timeouts on a webhook that runs fine for years. Yet, everything works nicely. Logs do register the incoming calls and responses, as well as correct data. Orders are fulfilled as always. Also, test mode reports the correct 200 responses. Despite all this, live mode calls end up timing out. What else can I do?

Related Event ID(s)
evt_1R4qxiEY0XaZ8TR3XRSIv2Xa , evt_1R4qrrEY0XaZ8TR3WO3pxxAe

What have you already attempted?
Tried everything in test mode, and it works, added extra logs, and it worksโ€ฆ everything works. I get the webhook calls, and I give the response, but Stripe still reports a timeout only in live mode.

cursive heronBOT
#

@harsh tree pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
function (fields) {
fields.checkoutCode = appState.display.checkoutCode;
var promise = m.request({
url: '/checkout/api/rates',
method: "POST",
body: objectToUnder(fields),
}).then(function (response) {
updateCheckout(response.checkoutDisplay, ["rate", "shippingAddress", "shippingError"]);
});
appState.checkout.runServerUpdate(() => promise);
}

Question
Should I retain a global reference to the checkout object on the client-side while using CheckoutSession and PaymentElement? Is initCheckout the only way to get a checkout object on the client-side?

What have you already attempted?
Storing the CheckoutSession ID in a server-side session and using it to refetch the clientSecret and pass it back to the client-side to call initCheckout a second or third time to get a checkout object. For example to call runServerUpdate after updating the shipping info (using the beta feature). This doesn't appear to work correctly and calls to `confirm()` fail.

https://docs.stripe.com/checkout/custom/quickstart?server-lang=python#initialize-checkout

What are you working on?
Integrating custom checkout on a pre-existing website.

#

@vale quail pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/treasury/examples/webhooks#issuing-webhook-events

Question
How often does the balance.available event trigger? D

What have you already attempted?
I currently store and track top ups and withdrawals but I am trying to make it easy for me to look up the available issuing balance during any given time range. So for example if I want to know the starting balance and ending balance during a given time frame what is the best way to get this information.

What are you working on?
Connect + Issuing.

#

@white pivot pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expected to have the correct upcoming invoice amount

What actually happened?
Incorrect upcoming invoice amount, the subscription item already has an existing discount, and when I update the quantity, the proration amount is incorrect, it removes the original price (without discount) then adds it - meaning the user is credited or got extra discount which is incorrect

Reproduction Steps
- Create Subscription
- Add Discount to the Subscription Items
- Use upcoming invoice API with "proration_behavior": "always_invoice"
- Pass the same data with modified quantity
- Check the result of the invoice items, the subtracted amount and the added amount

Question
How can I solve this? I still want to rely on this API.

What are you working on?
Anticipating upcoming invoice

cursive heronBOT
#

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

Question
Hi! I am using subscriptions with stripe and I just had a quick question. So when users are buying one of my subscriptions they are purchasing tokens to an AI. When they cancel a subscription it says it will be canceled on April 20th (Here is my first question: why this data? is it off when the Subscription was made, Like I made the purchase to the subcription on March 20th? or because i canceled the subscription on March 20th?).

Doc/Guide Links
N/A Dont have a doc.

What are you working on?
SaaS

#

@rocky vortex pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Custom Fields Not Showing

Question
My custom fields on my payment link are not showing up. It shows that they've been set up properly, but the live payment link doesn't display them.

What have you already attempted?
I have double-checked to make sure they aren't "optional", and I've made sure that VPNs aren't active when viewing the live links.

What are you working on?
They are payment links for non-profit donations. They are in the middle of a campaign.

cursive heronBOT
#

@solar hollow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
having issues confirming a payment intent for bacs_debit. getting the error message:

Your account isn't configured to allow passing `mandate_data` directly when confirming PaymentIntents for Bacs Direct Debits. Please see https://stripe.com/docs/payments/payment-methods/bacs-debit for more information or contact us through https://support.stripe.com/contact/.

we are not passing the mandate data, StripeJS is doing that.

Related Request ID(s)
https://dashboard.stripe.com/acct_1Lb36aS1tnqsv5Wi/test/logs/req_2ZUgDOXShBHg5D

What have you already attempted?
const { error } = await stripe.confirmPayment({
clientSecret: PAYMENT_INTENT_SECRET,
redirect: 'if_required',
confirmParams: {
payment_method: PAYMENT_METHOD_ID
},
});

What are you working on?
charging a bacs_debit payment method via payment intent

#

โ›”๏ธ 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 reopen at 8am GMT on Friday, March 20. See you then!

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

#

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

Question
Trial case in case of integrating subscription and https://docs.stripe.com/payments/accept-a-payment?platform=ios&ui=payment-sheet

Related Request ID(s)
n/a

What have you already attempted?
i have it implemented on web with hosted version of the api + previous discussion how to implement mobile sdk (link above)

What are you working on?
I want to have a subscription created in trial mode and to collect payment details and then when the trial ends to start charging let's say the card

#

@solar skiff pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have configured payment method configurations for connected accounts. These payment method configurations work well for us except on this case. Creating a Checkout Session with on_behalf_of for a destination charge. We receive the error "ressource_missing" "No such payment_method_configuration"

Related Request ID(s)
req_yT1Aju7QcRx2SV

What have you already attempted?
Did payment intent with Web Element, used without MOR and direct charge

What are you working on?
We are switching to dynamic payment methods. We have a Connect setup with 500 Connected accounts. Our platform is in FR but we need MOR for connected accounts in UK & AU

#

@dreamy turret pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Hi there !

When I try to create a checkout session
- for a subscription including product with metered prices
- with trial_settings.end_behaviour.missing_payment_method: 'pause'

I would like to access checkout session and allow users to get their subscription on trialing with metered product.

What actually happened?
I get this error 'You cannot set trial end behavior of `pause` with metered prices.'

I try to check the doc but did not find anything on this specific case. I even found some article https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#trials that explain paused subscription are possible with usage-based product.

Reproduction Steps
Using stripe nodeJS with method `.checkout.sessions.create` in mode: 'subscription' with trial period and trial_settings.end_behaviour.missing_payment_method: 'pause'

Question
I try to understand what I'm doing wrong. Why this case is not possible? and how should I bill metered product on free trial ?

Thanks for helping me

What are you working on?
I'm working on the billing of a common SaaS with licenced fees + usage-based billing for some features.

#

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

Question
Missing data from JSON in salesforce stripe connector for Charge Refunded event

Related Request ID(s)
evt_3R4Onq4xg7hY5EX01GWCbWFt

What have you already attempted?
I've already compared both the JSON and can see that the Refund part is missing from the JSON

cursive heronBOT
#

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

Question
Paypal integration not working, getting error on paymentIntent confirmation with confirmationToken. Token is generated with Stripe Elements where Paypal is enabled and shows up, but I'm not getting prompted for an email

Related Request ID(s)
req_rpZixoppf0giTa

What have you already attempted?
Added paypal as accepted payment method on the frontend, tried the flow the same as with card or wallets

What are you working on?
Php backend, React frontend

cursive heronBOT
#

@dull hare pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Terminal.shared.confirmPaymentIntent(paymentIntent) { confirmResult, confirmError in
if let error = confirmError {

Question
How to parse error to determin the failure cause (insufisant fund, nip incorrect, etc)

What have you already attempted?
Documentation is not clear about that for client side process
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=ios

What are you working on?
Card present integration on IOS with Swift

#

@winged phoenix pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: amount,
currency: "eur",
automatic_payment_methods: { enabled: true },
capture_method: "manual",
});

Question
When I am trying to confirm a payment after the user submits the payment via the Stripe Elements form, I get a weird error saying there is a mismatch between the paymentIntent & Elements, but I can't find a place to put the capture_method in the elements in: "The provided capture_method (manual) does not match the expected capture_method (automatic). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements."

What have you already attempted?
I've tried to define the capture_method on the await stripe.confirmPayment function and I also tried to put it in the "options" for the <Elements> wrapper.

What are you working on?
A SaaS product

cursive heronBOT
#

@delicate ridge pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Uncaught exception in binary message listener
E/DartMessenger( 8730): com.stripe.stripeterminal.external.models.TerminalException: Service unexpectedly disconnected
E/DartMessenger( 8730): at com.stripe.stripeterminal.handoffclient.HandoffRpcClient.withTranslatedExceptions(HandoffRpcClient.kt:85)
E/DartMessenger( 8730): at com.stripe.stripeterminal.handoffclient.HandoffRpcClient.makeRequest(HandoffRpcClient.kt:56)
E/DartMessenger( 8730): at com.stripe.stripeterminal.handof

Question
Hi, I have raised a query before on payments on S700. Now im able to process thru the payments, I have not made any changes. If you fixed something in the code, thank you so much for the help. But I have now one more question.

What have you already attempted?
Whenever I make a successful payment, and try to do another payment, it shows above exception as it is failing to initialise the terminal again and shows that is failed. Is there anything that I can do on my side ?

What are you working on?
S700 Devkit

#

@buoyant flame pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have fully verified my account and would like to enable Klarna as a payment method on Stripe for my Shopify store. However, it still shows as โ€˜Pendingโ€™. Can you activate it for me or let me know if any additional steps are required? Thanks.

Related Request ID(s)
N/A - No specific request, just Klarna activation.

What have you already attempted?
I have checked my Stripe Dashboard, verified my account, and read the Klarna documentation. However, I donโ€™t see an option to activate it, and it remains in โ€˜Pendingโ€™ status.

What are you working on?
I am integrating Klarna as a payment method on Shopify using Stripe.

cursive heronBOT
#

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

Question
Our checkout flow works like the 2-step confirmation flow in which we 1) collect payment method details and then 2) confirm it at the end. Previously we use the card element UI and the deprecated sources API, and was able to create a credit card payment method and attach it to the customer at step 1.

Now we are migrating to Payment Element UI and Confirmation Token. My understanding is that the payment method collected from the UI won't be created until a payment intent or setup intent is created (with the token), and we can't create it directly from the confirmation token. Is that correct? If so, what are the options to be able to still create the payment method in step 1.

Doc/Guide Links
https://docs.stripe.com/payments/build-a-two-step-confirmation

What are you working on?
Payment Element for checkout

#

@manic igloo pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
the tax is not calculated on the invoice that i send to the platform customer using on_behalf_of parameter.

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
NA

#

@subtle arrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey so i am using usage bases billing for my product, i have doubt so my product subscription are created this way such that every months 1st 5:00 am utc the previous month subscription and new subscription starts. i have cron job that runs on 1st of month 1:00 am utc to record the previous month usage
when i ran the meters events to record those meters recorded from the current month in the subscription cycle rather than previous cycle how can i make sure the usage gets record for previous month cannot change the time of cron job and the date subscription ending . my meters are pre-aggregate

Related Request ID(s)
nothing

What have you already attempted?
i could not continue in the previous one so writing here
the meter pre-aggregated daily if a add timestamp while meter events for the previous day lets say 11:45:00 pm utc last of the month
will that work because the recorded meter call will still be going at 01:00 am utc?

cursive heronBOT
#

@jolly locust pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Express checkout (Apple pay): How to handle shipping rates for express checkout when they rely on the shipping address?

I don't have any concrete shipping price until I have at minimum a country (domestic/intl shipping). Because the express checkout flow will fail to launch without a non-empty `shippingRates` array, I may have to pass something like `[{id: 'shipping_tbd', amount: 0}]`

However, in this case for apple pay the user might select that option or it might be automatically selected. I don't want them to be able to check out with a 'free' placeholder rate.

I have some related questions but will submit them separately.

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
https://docs.stripe.com/apple-pay (seems irrelevant)

What are you working on?
Express checkout (apple pay first) for an existing payment flow.

#

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

Question
Hi so i was just checking out my checkouts and my customer portals and noticed it showcases my real name and not the business name. When i did some deeper looking it was because I chose the individual business type. How can I remove my name and add my business name?

Doc/Guide Links
Dont have a doc N/A.

What are you working on?
SaaS

cursive heronBOT
#

@grand mist pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting this error when trying to apply customer cash balance to a payment intent:

"The PaymentMethod provided (card, cashapp, link, wechat_pay) is not allowed for this endpoint. Customer balance can only be applied to PaymentIntents that have `customer_balance` PaymentMethods attached."

Related Request ID(s)
N/A

What have you already attempted?
Writing tests

What are you working on?
PaymentIntent API.

cursive heronBOT
#

@polar kettle pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I'm looking for an example of how to setup a self-contained POS that runs on the S700 Reader. I thought it would be as simple as creating a react native expo app (using Replit for example) that I then deploy to the Stripe S700 reader but I cannot find any way to do that. Is there a guide to help with that? The custom functionality I would love to have:

  1. List a few products from my product catalog on the reader for the user to select from.
  2. When a user taps one of the products, the reader accepts payment.
  3. The user can also enter a custom price (these are donations for a non-profit).

What have you already attempted?
I've tried building a sample Expo app and it works within the web app context but I have no way of deploying this to the reader so it runs as a standalone POS and payment client.

What are you working on?
Building a custom self-service donation system for my local church

cursive heronBOT
#

@kind prawn pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have three endpoints in my AWS Lambda function. Two endpoints are secured with an IAM token, but the third endpoint is a webhook intended for Stripe, which doesn't need an IAM token. My AWS API Gateway is configured with a POST * method, and I'm receiving a 403 error when Stripe calls the webhook endpoint. Could the 403 error be caused by the IAM token requirement interfering with the webhook, and if so, should I adjust my API configuration to not require IAM for the webhook endpoint? I have it using stripe secret key but am not sure what's causing the 403 and if it cause by the IAM.

Related Event ID(s)
webhook

What have you already attempted?
Not attempting anything because I do not know the specific cause of the issue. I believe my code and env are all correct.

What are you working on?
website subscription which uses webhook to inform my site if the user has an active subscription or not

#

@drowsy patrol pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
useLayoutEffect(()=>{
fetch(`${baseUrl}vcard/ephemeral/keys`,{
headers:{
'Authorization':token
}
}).then((res)=>res.json())
.then((data)=>{
setStripeData(data)
})

},\[\]\)
console.log\(stripeData\)

return (
<>
<Elements stripe={stripePromise} options={options}>

        <CardCvcElement/\>

    </Elements\>
</\>

)
}

export default Payment

Question
Currently working on a fintech project with major feature is to issue virtual dollar card (visa or MasterCard)

And we want to display card details to our user upon creation of the personnal virtual card

I'm using react stripe came across a documentation for epheremal keys and nonce with vanilla js
But with react stripe elements
There's no feature to display such

Read is due to PCI compliance please if there's any documentation handling such
Kindly refer me to it
You se

What have you already attempted?
successfully created the virtual card and issued it to a user
just unable to get card credentials e.g(cvv,cardnumber)

What are you working on?
a fintech/vtu service

cursive heronBOT
#

@tropic spear pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
sensor or listener is null

Question
Hi, using Stripe Terminal for Android with Tap To Pay on a Sunmi V3 Mix Device. Since SDK 4.2.0 we're getting the error above when connecting to the reader. The connection attempt never completes, so it is clearly a bug in the sdk. It doesn't even throw a proper error, it just logs "sensor or listener is null" without a trace. Happening in non-simulated mode.

What have you already attempted?
I just found that someone has already reported it here: https://github.com/stripe/stripe-terminal-android/issues/562 but is has not even been acknowledged...

Reproduction Steps
Build an Android App connecting to the Tap To Pay Reader in non-simulated mode. Build in release mode, run it on a Sunmi V3 Mix and and open logcat. Observe the error

What are you working on?
POS for in-person sales

#

@warm crystal pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected my payout from stripe and to continue using their services.

What actually happened?
My account was closed due to you thinking my account was high risk due to an unconsented payment. Whilst i sent in Proof and can contact the customer directly to tell you that it was consented i was still closed. One big thing is that there is still money in my balance which is still in the account. I need to know what will happen to this balance.

Reproduction Steps
I am new business and having this amount of money on hold is really hard to deal with. I have tried to contact in so many ways and when i email from my personal account you respond but then say you cant help because its not from this account. I email you multiple times but have no response.

Question
I need to know when i will be recieving this payout and how i can reopen my account.

What are you working on?
I am a business owener

#

โ›”๏ธ 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 8am GMT on Monday, March 24th. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

cursive heronBOT
#

@ashen kindle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
in subscription, when the user's PM failed. stripe attempt a retry mechanism. if all the retry still failed, the subscription will be past_due or canceled. what can the user do if the payment still failed?

Related Request ID(s)
-

What have you already attempted?
create a subscription and add payment method with declined card to test the failed payment in advanced time

What are you working on?
building and maintaining

#

@livid owl pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We did a hold and charger payment intent. The Payment id is pi_3R32VCHwT4akAWyk1tkRKQyS

We had an initial $25 hold and the actual was $3.75. We expected one hold of $25 and then an actual of the $3.75 charge with remaining hold returned.

What actually happened?
It appears for some reason we had one $3.75 that was processed and cleared, but a second $3.75 that is still remaining as pending against the users bank account.

Reproduction Steps
This has only happened for this payment id pi_3R32VCHwT4akAWyk1tkRKQyS

Question
Can you please tell us what is happening here, and how we can ensure the second pending payment is removed for the client - and what else do we need to do to ensure this does not happen again.

cursive heronBOT
#

@knotty citrus pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I was asked to verify my age via Stripe's ID verification. I assumed it would simply confirm to him that my ID is legitimate. I assumed this service was safe and secure. There were no warnings about how you distribute sensitive data.

What actually happened?
Stripe gave this individual user full access to my ID, my face, and my phone number.

Reproduction Steps
I had to sign up in order to use the support page. It is only an AI and only served to spin me around in circles.

Question
I need to speak with a real human IMMEDIATELY.

What are you working on?
Froze my bank account. Waiting until morning to file the police report.

cursive heronBOT
#

@still seal pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
too many attempts please try again

Question
when im trying to enter vvia email hossamyassien6@gmail.com from 4 days ago till nw it appear this msg and cant receive code on mobile

What have you already attempted?
problem from 4 days till nw

Reproduction Steps
when im trying to enter vvia email hossamyassien6@gmail.com from 4 days ago till nw it appear this msg and cant receive code on mobile

What are you working on?
trying to open my acc

cursive heronBOT
#

@lethal wasp pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm building a system where I'm charging my customers based on traffic (in GB). I would prefer to report usage to the meter in real time to simplify my setup. This means I can't really report in GB though as a single report will never reach a full GB (and the report number can't be a decimal).
Right now I've set this up to report bytes instead of GB, but that looks a bit strange in the checkout. I see something like this: "$0.00000000075 per byte" where I would prefer to see "$0.75 per GB". Is there any way of handling this in Stripe? Or do I need to aggregate the data on my end before reporting usage to the meter?

Doc/Guide Links
https://docs.stripe.com/api/v2/billing-meter-stream?lang=node

What are you working on?
I'm building a system with usage based billing based on traffic

cursive heronBOT
#

@iron oyster pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
too many attempts please try again later

Question
I want to know why i cant log in i email you guys for 5th time and still no response i want my acount opened again

What have you already attempted?
Only to email you

Reproduction Steps
I want to know why i cant log in i email you guys for 5th time and still no response i want my acount opened again

What are you working on?
I want to know why i cant log in i email you guys for 5th time and still no response i want my acount opened again

#

@high plover pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have a profile in stripe with email: info@tugedr.cz and I need to change it to info@tugedr.eu. Because I lost the access to my old email. I tried to do everything but its not successful

What actually happened?
I lost access to my old email and we need to change it. Because our bookkeeper needs to do something in stripe.

Reproduction Steps
I wanted to change the email, but when I was making that, you sent a verification code to my non existing email

Question
Can you change my email from info@tugedr.cz to info@tugedr.eu?

What are you working on?
answer to my email, which is filled in my stripe profile (info@tugedr.cz)

#

โ›”๏ธ 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
#

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

Question
Do I have a way to trigger an error when running elements.submit()? I am getting a report of a frontend error and want to add logging to capture it.

Related Request ID(s)
NA

What have you already attempted?
NA

#

@odd nest pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Your account has Insufficient funds

Question
Stripe Connected Account Transfer Issue:
Stripe: UAE account.
ISSUE:
We are making a transaction using stripe checkout session in USD in test. To the main account are few connected accounts, when
a transfer is created from main account to connected accounts in USD it throws an error of insufficient balance.

What have you already attempted?
We tested the receive of payments from checkout session using the 4000000000000077 test card.

What are you working on?
Marketplace.

cursive heronBOT
#

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

Question
I'm trying to do a cit mit with cit of 0 euros (creating setup_intent) but im block w<ith the test card who doesn't work.

For CIT I require to have the challenge 3ds enabled all the time.

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

What have you already attempted?
Tried another card but stil doesnt work

#

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

Question
Does signature verification required with STRIPE test mode account ?

Related Event ID(s)
Payout.created

What have you already attempted?
We have setup webbook and managed to verify signature with STripe sandbox account . However, when we trying to to verify signature with live test mode account, its not working

#

@chrome swift pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
is payment_intent.payment_failed final

Related Event ID(s)
none

What have you already attempted?
Hi, does a payment_failed event just mean stripe failed to authorize the payment, and that a payment_intent.succeeded event can follow it?

If it's not final, to time out payment intents, in case the user doesn't follw up on the failed payment, should we be calling cancel on them manually? From the test payments we have in the sandbox it doesn't look like they'll do it on their own

cursive heronBOT
#

@sterile plume pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to captured ืฆืืžืงื˜ for more then 30 days. Is this possible? We are working in the health industry.

Related Request ID(s)
pi_3QyrpJDGKiloojLp1KomkbcO

What have you already attempted?
I am in the health industry and want to capture payment for more then 30 days. For example in the following payment ids: pi_3QyrpJDGKiloojLp1KomkbcO , in the url of https://dashboard.stripe.com/test/payments/pi_3QyrpJDGKiloojLp1KomkbcO

What are you working on?
Building an app that will enable patients to pay for health services via stripe

#

@hushed bloom pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! We are planning to use Stripeโ€™s built-in Quote feature for subscriptions. Our goal is to allow customers to accept subscription quotes within the app while ensuring subscription updates include prorated charges.

However, weโ€™ve observed that accepting a quote always creates a new subscription, preventing prorated adjustments if the customer has an existing subscription.

Ideally, weโ€™d like the flow to cancel or update the current subscription upon quote acceptance and apply prorated charges to the new subscription.

Are there any best practices for automating prorated adjustments upon quote acceptance?

Best, Anna

Doc/Guide Links
https://docs.stripe.com/quotes/overview
https://docs.stripe.com/api/quotes/accept

What are you working on?
Quote functionality implementation

#

@lean badge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
A costumer found a way to forge my requests what should I do?

Related Request ID(s)
None

What have you already attempted?
Message from user:
On your url https://www.smartbettor.ai/onboarding?next=/choose-plan (the first time to choose a plan) when you need to choose between Basic or pro, I've checked the requests and saw a little issue. We have a request to your api/create_payment_intent. Without any problem. But suddently, this makes another request to api/update_payment_intent with this payload:
{"amount":69,"clientSecret":"pi_3R5xaWHM5Jv8uc5M07rHvKlr_secret_โ€ขโ€ขโ€ข2tQ4"}
So, it's simple. I've changed the amount, forged the request and sent the request like this: {"amount":1,"clientSecret":"pi.."}

What are you working on?
A subscription based web service

cursive heronBOT
#

@ashen kindle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
why email is not sent when payment is successful for one-time payment or subscription in test mode. email already added to team

Related Request ID(s)
pi_3R6CbQKxUzgEvuWh0MpZPnbp

What have you already attempted?
add the user to the team, and turn on Successful payments in customer email settings

What are you working on?
building and maintaining

#

@silent lagoon pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Charges and payouts are paused
Contact support for more information.

Question
i have provided everything i was asked, why is my account paused ?

What have you already attempted?
uploading every document i was asked for

What are you working on?
we are a company that work with it consulting

#

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

Question
We're modeling Apple Pay, Google Pay, and other wallet payment methods in our system. We learned that on Stripe Apple Pay is not a first class payment method, and instead, it's a credit card with the `wallet` attribute associated. (Is our understanding correct?) And we can't find how Google Pay is specified.

Can you share the rationale of this implementation on Stripe side and recommendation to model wallet payment methods in our systems? Thank you!

Doc/Guide Links
https://docs.stripe.com/api/cards/object#card_object-wallet

What are you working on?
Modeling Apple Pay as a payment method in our system

#

@manic loom pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible, in the subscription schedule API, to configure metadata for invoices? I can specify metadata in phases which updates the subscription, but I want to set metadata on every invoice generated (for an accounting software requirement)

My metadata is static, so doesn't need to change per-phase.

Related Request ID(s)
N/A

What have you already attempted?
I can use the API to historically update invoice metadata, but obviously not ideal.

#

@inner vault pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We've recently added some Radar rules to block card testing events. Since then, we've been seeing rebilling charges get declined with message: "One of your rules blocked this payment" but it doesn't say which rule.

Usually it states what rule blocked this charge, but the above is ambigious and seems like an error since those charges should not have been blocked by any Radar rule.

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@west vault pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to pay an Invoice, by using an already used (and authenticated) PaymentMethod - but it is not working with test card 3184, whereas with 3155 works correctly

I was able to do so in the Subscriptions, by adding the off_session parameter

Related Request ID(s)
req_SMiWP4n32dqTQJ

What have you already attempted?
I used the off_session parameter while confirming the PaymentIntent, but when I use the 3184 card it throws an error

The difference with the Subscription flow (which works with both cards), is that when I use the 3184 card it asks for authentication (that I am handling on frontend), without throwing errors

#

@molten dove pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I just want to know if my code is valid or not

Related Event ID(s)
24 11:36:44 --> charge.succeeded [evt_3R6D3QJgkbGifxC91EVlnyhr] 2025-03-24 11:36:44 --> payment_intent.succeeded [evt_3R6D3QJgkbGifxC91OZ1wrn1] 2025-03-24 11:36:44 --> checkout.session.completed

What have you already attempted?
Ive tried the docs, other coding websites, I think it may be a problem with my endpoint

What are you working on?
A discord bot that can detect payments and send them to the ticket which the payment link was created in.

#

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

Question
So I have a event scheduling app where I add stripe connect for paid events. Now the flow at the moment is user when user wants to enable paid events he needs to complete the stripe onboarding.

So I was wondering for better ux, when user enables paid events to create a connect account and when a paid event is scheduled the amount is transferd to the account but to recive payouts he need to complete onboarding.

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

cursive heronBOT
#

@lavish mist pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a SAAS project and don't know how to manage users with free subscriptions. Should I create a free subscription in Stripe and, when the user creates an account in my app, create a customer and assign them the free subscription? Or would it be better to manage that logic myself in my app? I can't find code examples of how other developers handle these cases.

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

What are you working on?
I'm trying to create an AI Chat with free and paid subscriptions and limit chats by tokens.

#

@mellow sentinel pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there an equivalent of request_three_d_secure on payment_method_options[card] that will trigger 3DS for non-CRYPTOGRAM_3DS (i.e. PAN_ONLY) Google Pay payments?

Related Request ID(s)
-

What have you already attempted?
Setting request_three_d_secure on payment_method_options[card]

#

@haughty dagger pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating a transfer from a stripe express connected account to my platform account,. the express account is CAD currency and my platform is USD currency, it's not letting me transfer through the api.

Related Request ID(s)
.

What have you already attempted?
Ive attempted to create a transfer from the stripe expresss account to my platform account and got an error handle_error_response': Account debits are not supported from CA to US. (Stripe::InvalidRequestError)

cursive heronBOT
#

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

Question
I have API to setup and login to account. When i goto https://connect.stripe.com/app/express#acct_xxx/overview I see my website icon on the top left corner and also it says "Rental housing". Where is this "Rental housing" test coming from, i need to change it as it is not correct

Related Request ID(s)
none

What have you already attempted?
I tried going into settings to see if i can change it but i dont see any options

What are you working on?
Integrating my website with Stripe

cursive heronBOT
#

@sullen forge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to immediately charge the customer when they upgrade their subscription plan and adjust their billing cycle to the time of upgrade.

Is this possible?

Right now, when I let the user upgrade their subscription plan through the billing portal, they get the new plan without being charged for the first month.

Related Request ID(s)
none

What have you already attempted?
I tried enabling proration with `Invoice immediately` selected. It does charge the customer immediately but I also need the customer to be charged the full amount and not the porated amount. Proration doesn't make sense in my case

#

@neat terrace pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I use the sources api at our company to grab our customer's bank accounts. It seems that this endpoint is not sending back any bank accounts. I know that the sources api has been deprecated and we will be moving to the payment methods / payment intents api, is this a recent shutdown of the sources api or is there an issue with the api right now?

Related Request ID(s)
req_96mt63yX6vSOE4

What have you already attempted?
I've tried to view other customers that we have that have bank accounts and should be returning them with the sources api but it still returns an empty data set.

What are you working on?
Ecommerce platform, specifically with stripe getting a user's bank account to pay the order for

cursive heronBOT
#

@serene prism pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
return (
<Elements stripe={stripePromise} options={{
clientSecret,
appearance: {
theme: "stripe",
},
paymentMethodOrder: ["card"], // Order of payment methods
locale: "auto", // Ensures region-specific methods show up
terms: {card:'never'}, // Hide terms
}}>
<PaymentForm
setPaymentModal={setPaymentModal}
setCodeSendSuccessfullyModal={setCodeSendSuccessfullyModal}
clientSecret={clientSecret}

Question
I am trying to hide terms in payment form element.

What have you already attempted?
terms: {card:'never'}, // Hide terms

#

@ember sentinel pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
*TLDR*
I am trying to determine if I can change the payment method for an open invoice.

*Problem*

  1. Customer has an open invoice where the `collection_method` is set to `autopay`.
  2. Later, the customer changes their `collection_method` to `send_invoice`.
    * This means any newly created invoices will be `send_invoice` (Good, that's what I want)
    * But the `collection_method` for previous, open invoices will not change (Sensible but not what I want)

When our customers chang their `collection_method`, they assume it will effect all invoices (i.e. existing, open invoices and new invoices

Related Request ID(s)
n/a

What have you already attempted?
I read the API docs. Just looking for quick clarification.

What are you working on?
scholasticahq.com

#

@hollow steeple pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How from the stripe dashboard if there was an event that never got sent because of an outage, to send that event. I am not seeing the options to send it

Related Request ID(s)
evt_1R0ZB6Blo3nDhcdbuFnZkh8Z

What have you already attempted?
Dev workspace on the website, and using the cli built into that, but it does not provide the event resend option

#

@odd nest pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Error: Insufficient funds

Question
Scenario:

Stripe account is in UAE (AED local currency)
First the customer checkouts via the platform in USD using the payment card "4000000000000077" test card.

Then once the payment is received in our Wallet, the platform operator performs disbursement in USD to the service provider Stripe Connected account (whose account is attached to the platform using Stripe

What have you already attempted?
Transaction ID (Customer Checkout):
pm_1QzIyTAotqhqkVaWh5G7LPPa

Request ID (Customer Checkout):
req_ec999eqVYeVG8I

Transfer Request ID (Admin to Connected Account):
req_iKXGguBBM7d0Tf

cursive heronBOT
#

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

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

Question
Can I set the country for a connect account during onboarding process instead of setting the country while creating the stripe connect account? I have my stripe platform based in US and I want to work with cross border payouts to connect accounts so I want to give the option to the user to choose their country during onboarding process instead of passing the country param in stripe connect account create API. As I'm working with cross border payouts so I I'm setting a service_agreement to 'recipient' for the accounts which is giving me error if I don't pass the country param considering it US

What have you already attempted?
I have already tried to exclude the country param during connect account creation but it treated the connect account for US by default and gave error that I can't create connect account with service_agreement as 'recipient' the connect accounts within US based platform. And in my case I want to give the option to the user to choose their country after their connect account is created and then they can choose their country during onboarding process.

What are you working on?
I'm working on an app which works as a platform for user to come and create paid communities (by creating a monthly subscription) which other users can join by paying the monthly subscription fee

cursive heronBOT
cursive heronBOT
#

@sonic raft pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're building a Custom Connect flow for Brazilian users (React + Firebase). We create the Stripe account via a Cloud Function with full user data (CPF, birthdate, etc.) and start onboarding via accountSessions.create and @stripe/react-connect-js. However, the account stays restricted with "Documents missing," and the onboarding UI never prompts for uploads. We tried to force it adding the components.document and removing prefilled fields, but it didnโ€™t help. How can we force the onboarding to request these documents?

Related Request ID(s)
req_TxhBtqsUB3nepI

What have you already attempted?
We create a Custom Connect account via a Cloud Function with full user data (name, CPF, birthdate, address, bank info). The account is created, but remains restricted. We generate an onboarding session with accountSessions.create and components.account_onboarding.enabled = true, also tried collect: ["document"]. The Connect UI does not request document uploads. We also tried omitting some fields, but the dashboard still shows missing documents, and the UI doesn't prompt the user.

What are you working on?
We are building a marketplace where Brazilian artists can sign up and receive payments. We want to use Stripe Connect (Custom) to verify each artistโ€™s identity and bank details. Our main goal is to en

#

@viscid nova pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to implement an initial 1$ payment when a user attaches a payment method so as to verify if the payment card is legit based on the payment succeeding. What are the best practices to implement it using payment intent and handle 3D secure verification smoothly

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

What are you working on?
We are building a IaaS platform and have a subscription based model for pay as you use but we have been running into a lot of fraudulent card issues and want to verify the cards with a small charge before we activate the service

#

@elfin knot pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a c# (.net) BE and a react FE. I have the webhook EP setup only on the BE but it never hits the EP and the dashboard on stripe gives a 500 error. I'm not sure what to do, do I need to have it setup on the FE as well so it hits the EP?

Related Event ID(s)
evt_1R6Gml2QR7fIwy8FyWLtaE3N

What have you already attempted?
- i tried the stripe cli with the locallhost 3000 for my FE and 44305 for my BE i get 500
- i tried testing the deployed dev environment, same error

cursive heronBOT
#

@remote bison pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I can not set a payment method for future usage

Related Request ID(s)
req_ypQDIdxP8jvrum

What have you already attempted?
I set the setup_future_usage parameter to payment intent but I'm getting an error

What are you working on?
It's a simple web application to buy and subscribe to online courses

cursive heronBOT
#

@grand mist pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to update customer cash balance amount for bank transfers programmatically using a Stripe API?

Related Request ID(s)
customer ID: `cus_S0ICNzbnPW6FHn`

What have you already attempted?
Trying to perform integration test to apply customer cash balance to an invoice.

What are you working on?
PaymentIntent API.

#

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

Question
I want to know if I can create and see price nicknames on stripe dashboard

Related Request ID(s)
how to create and see nicknames in stripe dashboard?

What have you already attempted?
to create price nicknames

#

@left trellis pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I run a shoify store in USA and I have link my stripe with it. I was doing test order to check and the card was not from USA. After 2 order is received succesfully after that i treied 3 or 4 time it block my acount. what should i do as i receive email from stripe the acount is block. I am thinking to make another account under the same email and same detail of the bank. Will they again bloack my account due to same detail?

Related Request ID(s)
Charges and payouts are paused

What have you already attempted?
i treied 3 or 4 time it block my acount.

What are you working on?
to again link my stripe with shopify

#

@crisp salmon pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
Iโ€™m currently integrating Stripe Terminal with onโ€reader tipping enabled. According to the documentation, PaymentIntents should be created with capture_method set to manual when using onโ€reader tipping. However, in our test environment, we successfully completed a payment with capture_method set to automatic.

Could you please clarify whether the capture method must always be set to manual for onโ€reader tipping in production? Are there any potential issues or behavioral differences between test mode and live mode that we should be aware of when using automatic/manual capture with tipping enabled?

Doc/Guide Links
https://docs.stripe.com/terminal/features/collecting-tips/on-reader#collect-payment

What are you working on?
Integrating Stripe terminal with on-reader tipping.

#

@devout zodiac pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Invalid param: device_uuid, found: [id], Reader with serial number[id] is already registered to another merchant and cannot be registered by serial number until it is deregistered.

Question
I'm trying to register a new reader to an specific location. I'm getting that error code but I'm not

What have you already attempted?
Looked into my registered readers to see if it was already assigned to other locations, but it's not.

#

@manic igloo pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hey i have a question if i use invoice.paid webhook will it get trigger when i use invoice.pay api and it's successfull. is there a way to differntiate weather api is used or the invoice is being paid by customer from his email address

Related Event ID(s)
NA

What have you already attempted?
NA

What are you working on?
NA

#

@grand mist pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using stripe test clocks but the requests are still happening in current time after advancing the time on the test clock.

I had a thread open before this one where it was suggested I could test with test clocks.

Related Request ID(s)
Clock Id: clock_0R6ICY5QM0nABsUHASLFJrGN

What have you already attempted?
Made the test sleep for 20 seconds after advancing the clock.

What are you working on?
PaymentIntent API.

#

@severe dove pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Incomplete connected accounts see their open dues in their status page

What actually happened?
I get the result via the API that a connected account has open dues but when the owner opens the status page, it shows that everything is fine

Reproduction Steps
Go to a connected account which has open dues and open https://dashboard.stripe.com/account/status and there stands that everything is fine

Question
Is there an error on your side or what should I do? Is there another way of checking if an account is incomplete other than this code: will share it

cursive heronBOT
#

@frosty mesa pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need help with changing my account phone number, or else I can't access it and I forgot the phone number.

Related Request ID(s)
dont know

What have you already attempted?
I tried changing it, emailed support and no help

What are you working on?
getting the access back for the payment.

cursive heronBOT
#

@gentle yarrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe,

I'm having an issue understanding a proration preview invoice which looks very wrong.

Setup:

price_1NfBrOAUoPbSaQbf4dwO19XM (Yearly $300 flat rate)
New TEST subscription (sub_1R4YUMAUoPbSaQbfB4b3GgrA) created as the result of a CSV import migration, with:
backdate_start_date of 1742338649 (Tuesday, March 18, 2025 10:57:29 PM UTC),
billing_cycle_anchor of 1773788249 (Tuesday, March 17, 2026 10:57:29 PM),
with a 40% discount coupon applied to the migration CSV,
proration_behavior = none,
collection_method = send_invoice

Proration seems wrong. Can't paste it all here it seems.

Related Request ID(s)
req_cu6t2o2dLPVFQd (though not sure there is an ID for a preview invoice request)

What have you already attempted?
Tested multiple migrations. Several (maybe all) are like this at proration preview.

What are you working on?
Our Stripe integration we've had since 2014, but our first time working with migrated subscription imports

cursive heronBOT
#

@viscid nova pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to implement an initial 1$ payment when a user attaches a payment method so as to verify if the payment card is legit based on the payment succeeding. What are the best practices to implement it using payment intent and handle 3D secure verification smoothly.

Doc/Guide Links
https://docs.stripe.com/api/payment_intents
https://docs.stripe.com/api/setup_intents

What are you working on?
We are building a IaaS platform and have a subscription based model for pay as you use but we have been running into a lot of fraudulent card issues and want to verify the cards with a small charge before we activate the service

cursive heronBOT
#

@sonic raft pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're building a booking system for tattoo artists in Brazil using Stripe Connect (Custom). Clients pay upfront, but artists should only receive funds after we confirm the session occurred. We found manual payouts arenโ€™t supported in Brazil. How can we delay or control payouts to artists until the session is confirmed, without breaking compliance or onboarding flow?

Related Request ID(s)
This is a design-related question, not tied to a specific request. Please let us know if providing a req_ ID is necessary and weโ€™ll retrieve it from the logs.

What have you already attempted?
We saw payouts_manual isn't supported in BR accounts. We tried disabling payouts_enabled but that blocked onboarding. We explored delayed transfers or holding funds on our platform account but found no clean approach. We need a compliant way to delay payouts until we confirm service delivery.

What are you working on?
A tattoo artist marketplace (React + Firebase) where clients book and pay in advance, and artists receive funds only after session confirmation. We're using Stripe Connect Custom accounts in Brazil.

cursive heronBOT
#

@halcyon valley pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Need Custom field added to a subscription product to be added to metadata or create a system to be able to search that client based on custom field input.

Related Request ID(s)
Developer

What have you already attempted?
Have no idea how to do anything and need to hire developer to get this done

cursive heronBOT
#

@real fog pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, good day! I processed a failed BECS Debit payment and I received an invoice.payment_failed payload. And I compare it to live and test event payload and I noticed that the status is different. For live, the status is uncollectible, but for test, the status is open. Is this the expected behavior for both?

Related Event ID(s)
evt_1R4ysbD2CzZDU24jjCx11Pm0

What have you already attempted?
None.

cursive heronBOT
#

@ashen kindle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
is that possible to continue to a subscription if it is already canceled?

Related Request ID(s)
-

What have you already attempted?
i am building a subscription and a cancel feature. i read that if subscription already cancelled it cannot be continue again. so how to achieve that if in future there is a possibility that the subscription can be continue

What are you working on?
building and maintaining

cursive heronBOT
#

@primal beacon pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Your payment couldnโ€™t be verified. Try again or use a different payment method.

Question
I have connected stripe account to shopify store and tried to pay with Thai bank card. Stripe account is also opened and verified in Thailand (currency is THB, linked Thai bank account), got an email that can get payouts in stripe after uploaded the business documents, but have an error...

What have you already attempted?
Contacted Shopify support - they said all is ok on the Shopify end, checked my admin panel and all set up correctly, stripe is connected properly. They said error on stripe side. tried to contact stripe support via chat, but no answer after 12 hours of waiting. Also tried test mode - same error.

Reproduction Steps
trying to pay via checkout and payment option - debit card.

What are you working on?
online store

cursive heronBOT
cursive heronBOT
#

@real fog pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
Hi, good day! I just want to confirm if the next_payment_attempt works the same way in both live and test invoice processes. Specifically, will the next_payment_attempt be populated if the invoice/charge is retried, regardless of whether it's in live or test mode?

What have you already attempted?
None.

#

@quick wedge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We allow our B2C end users to make e.g. tennis bookings to a venue. The tennis venue in this instance is a Connect (Express) account. We create payment intents as โ€destination chargesโ€, we only take the application_fee_amount as a cut. We are implementing a refund flow but we want to do this in a way that minimizes the financial burden on us and the venues: If a user wants a refund, we should be able to take the FULL amount transferred to the Connect account back to ours, but only refund the B2C user a portion of that (e.g. 95%). How can this be achieved?

Related Request ID(s)
None

What have you already attempted?
I have read through the docs on refunds and found reversing transfer and refund APIs, and I think I have a plan but I want to verify from you that it is feasible:
- Simply partially refunding the payment in this case won't work as then we won't get the "remainder" back from the Connect account?
- Need to first reverse the transfer (+ application fee) to the Connect account, and after that has completed, process a refund for the payment without reversing transfers?

What are you working on?
Sports court booking platform (book e.g. tennis court from a venue and pay via our platform)

cursive heronBOT
#

@civic bone pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
I am located in Indonesia, and we can't register stripe, there is no Indonesian option, Please help us, I have created a beauty application and want to use payment via stripe, besides selling beauty products, my application is also integrated with AI features to analyze faces

Question
I am located in Indonesia, and we can't register stripe, there is no Indonesian option, Please help us, I have created a beauty application and want to use payment via stripe, besides selling beauty products, my application is also integrated with AI features to analyze faces

What have you already attempted?
Naba Skin Beauty AI App Payment

#

โ›”๏ธ 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.

Discord will re-open at 13:00 UTC

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

#

@molten dove pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I use the default stripe completion page that is built into stripe with .js

Related Request ID(s)
N/A

What have you already attempted?
Ive tried redirecting to the same window

What are you working on?
autoamated checkout

#

@sonic raft pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're building a Custom Connect flow for Brazilian users (React + Firebase). We create the Stripe account via a Cloud Function with full user data (CPF, birthdate, etc.) and start onboarding via accountSessions.create and @stripe/react-connect-js. However, the account stays restricted with "Documents missing," and the onboarding UI never prompts for uploads. We tried to force it adding the components.document and removing prefilled fields, but it didnโ€™t help. How can we force the onboarding to request these documents?

Related Request ID(s)
req_JQZkwqapaIk89w

What have you already attempted?
We create a Custom Connect account via a Cloud Function with full user data (name, CPF, birthdate, address, bank info). The account is created, but remains restricted. We generate an onboarding session with accountSessions.create and components.account_onboarding.enabled = true, also tried collect: ["document"]. The Connect UI does not request document uploads. We also tried omitting some fields, but the dashboard still shows missing documents, and the UI doesn't prompt the user.

What are you working on?
We are building a marketplace where Brazilian artists can sign up and receive payments. We want to use Stripe Connect (Custom) to verify each artistโ€™s identity and bank details

#

@hushed bloom pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected to create a Customer Portal session with flow.type = 'subscription_update', passing a product and set min/max quantity per product defined in the the Create Customer Portal Configuration API, as this is configurable in Settings > Billing > Customer Portal.

What actually happened?
I couldn't find an option to set min/max quantity per product when using the Create Customer Portal Configuration API. While this setting is available in Settings > Billing > Customer Portal, there seems to be no equivalent in the API documentation or request parameters

Reproduction Steps
1) Attempt to create a Customer Portal configuration using features.subscription_update.enabled = true
2) Notice that no property that defines mix and max quantity per product is available
3) Open Settings > Billing > Customer Portal and notice that Quantity Rules are configurable on the product.

Question
Could you confirm whether setting minimum and maximum quantities per product is supported through the Customer Portal Configuration API?

What are you working on?
Integrating Customer Portal for Subscription updates

#

@vital parrot pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When paying embedded checkout, expect to be returned to an specific url where it loads the information about the session

What actually happened?
After completing the checkout, it momentariliy navigates to return_url and then goes back to the page of the checkout. This only happens if return_url page hasn't been rendered. (like launching new next dev instance)

When trying to complete checkout second time, everything works. Navigating manually to return_url and then buying also works.

Reproduction Steps
Use embedded checkout, Dont navigate to it beforehand, complete the checkout on a fresh next dev instance

Question
Why is this happening, prolly a bug?

#

@heavy berry pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { setupIntent, error } = await stripe.confirmSetup({
elements,
confirmParams: {
return_url: "{{ route('myaccount.payment.success') }}",
},
redirect: "if_required",
});

Question
how to check a payment method has insufficient balance?
if trying by 4000000000009995 test card then it is showing error
but while trying by 4000008260003178 3ds test card then no error

What have you already attempted?
const { setupIntent, error } = await stripe.confirmSetup({
elements,
confirmParams: {
return_url: "{{ route('myaccount.payment.success') }}",
},
redirect: "if_required",
});

#

@swift juniper pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
- Will webhook notifications (source.* events) continue to be sent for payments made using legacy VBANs after the Sources API sunset?
- If source.* webhook events are discontinued, what alternative webhook events (if any) will Stripe send to notify us of incoming payments made via legacy VBANs?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Weโ€™re in the final stages of our Stripe migration (from Sources API to Payment Intents)

cursive heronBOT
#

@glass verge pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We want to charge the user initially the full month price when they buy a product. and then have a trial period and then pay a monthly charge until the subscription ends. The subscription ends at the end of a month.

What actually happened?
I just noticed that on the last month of the subscription, there was a proration event which adjusted the price of the last month invoice. The last invoice price for most of the subscriptions is around 10 DKK less than what it should be.

Reproduction Steps
We have noticed this on all the subscriptions of atleast one of our connected accounts.

Connected account: acct_1OpUd93fC9LZ8nUg

Related Prorate adjustment event id: evt_1QxpDN3fC9LZ8nUg3iRTVZQk

Subscription Id: sub_1QglL73fC9LZ8nUgFKUQVylh

Question
We would like to have the last invoice of the subscription to also charge the full month amount.

What are you working on?
We are creating subscriptions using checkout session api.

#

@narrow prawn pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The canceled_at parameter should not be updated when a modification has been done on a subscription being canceled

What actually happened?
If we do an update on a subscription that's being canceled (cancel_at_period_end->true), the canceled_at is updated every time the subscription is updated

Reproduction Steps
- Create a subscription
- Make an API call to cancel at period end
- Save the canceled_at
- Update the subscription (exemple the payment_method param)
- Save the canceled_at

There should be a difference but it's not normal because I asked for the cancellation beforehand.

Question
I can send you an exemple of a subscription (sub_1QjqQUJoZqM0mX3jhqN2YC8C). The customer asked the cancellation on the 22 jan, and stripe gives a canceled_at on the 18 feb, how is this possible ?

What are you working on?
Building subscription based shop

cursive heronBOT
#

@keen bramble pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a subscription built on Stripe subscription, we've recently added implemented this in the Netherlands where the iDEAL payment method is used. As you know, iDEAL cannot be used for recurring payments so Stripe creates a SEPA Direct debit payment method for that customer. Our question is, how do we identify the SEPA payment method created by Stripe so we can use it to create a subscription?

Doc/Guide Links
https://docs.stripe.com/payments/sepa-debit

What are you working on?
Subscriptions service

cursive heronBOT
#

@merry siren pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/test-mode

Question
Trying to test a new integration and want to understand the impact of switching into Test Mode. Does Test Mode affect existing integrations and payment links?

What have you already attempted?
I've read various help documents and it appears that I may want to use a sandbox for testing the new integration but figured I would ask just to make sure.

What are you working on?
Working on an integration with Jotform to collect donations

#

@rough frost pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm confused on how to properly do the credit burn down model with usage based billing. I want to grant a certain number of credits per month then use meters to monitor the credits, but before actually doing the thing, check the users balance to see if they have any credits left this month.
I don't want to just report it to the meter and continue (then bill them on the next invoice). I want to give them an error in my UI that forces them to upgrade. I'm not sure how to do this real time checking in Stripe and the description of the credit balance summary and point is unclear. Is this possible

Related Request ID(s)
na

What have you already attempted?
Looking into the credit balance summary endpoint, but I'm unsure if this updates in real time...

What are you working on?
An AI B2B SaaS lol

#

@hybrid junco pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to figure out the best way to test our AOD app as we iterate through changes

Related Request ID(s)
None

What have you already attempted?
To test our app on the S700, we are currently compiling our react-native code into an APK and side-loading that onto the S700 using adb. We are aware that we can test using virtual terminals/simulators but to test the app on the device - is this the best workflow or is there a more efficient way to test through our iterations?

What are you working on?
Working on a custom POS app for S700

#

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

Question
I have enabled dynamic payment methods (Amazon Pay, Google Pay, Apple Pay) via the API and the Stripe Dashboard under the merchant account. However, when I disable these payment methods from both the API and the dashboard, they still appear in the Stripe Checkout element.

Could you clarify why disabling these methods does not reflect in the UI, and how I can ensure they are properly removed from the checkout?

Related Request ID(s)
Request ID for API logs: req_Z6u0VFqj5Zfier

What have you already attempted?
I successfully enabled these payment methods via both the API and the Stripe Dashboard.

I tested the checkout process, and everything appeared to work as expected.

I then disabled the payment methods via the API and the Stripe Dashboard, expecting them to be removed from the checkout UI.

However, despite disabling them, they still show up in the Stripe Checkout element.

What are you working on?
I am managing payment methods dynamically based on domain settings to control checkout visibility. Despite disabling them via API and dashboard, they still appear. Need guidance on fully removing them

#

@hidden oar pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Im trying to connect strip payments to my cleanly plugins

Related Request ID(s)
acct_1Qum2qHthW2OCosV

What have you already attempted?
Im useing cleanly plugins on Wordpress i need some help connecting stripe payments to my website its asking me for stripe live Publishable key and key

What are you working on?
website

#

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

Question
Is there a way to list all invoices for a product using the API or is this not possible?

Related Request ID(s)
n/a

What have you already attempted?
Is there a way to list all invoices for a product using the API or is this not possible?

#

@warped anvil pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<Elements
stripe={stripeClient.getStripePromise()}
options={{
mode: 'setup',
currency: checkoutCurrency,
}}
>
<StripeForm
checkoutData={checkoutData}
selectedProtections={selectedProtections}
/>
</Elements>

Question
I got an email that Stripe will disable customer name, address, and email collection for the Klarna payment method in Stripe PaymentElement. This data is crucial for our business because we have a legal obligation to collect this data and provide the services (an insurance company). How can I test that Stripe provides customer name, address and email from Klarna if it's not collect the data anymore?

What have you already attempted?
-

What are you working on?
Self hosted checkout page

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/sepa-debit?platform=web&payment-ui=elements

Question
Hi, we have a few questions regarding the recurring sepa payment:
1) is it possible to pre-authorise the payment without specifying the subscription?
2) is it possible to start the subscription later specifying a particular date?
3) is it possible to define a customised subscription periodicity (e.g. every 15 days, every 30 days, ...)? If the answer is positive, we ask you for documentation

What have you already attempted?
we examined the link provided above

What are you working on?
we are integrating recurring payment management via SEPA

#

@vocal stump pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/custom-domains?payment-ui=stripe-hosted#troubleshooting-caa-records

Question
I don't understand why I cannot have a CAA record at the same level as the payment domain. I am not interested in having letsencrypt on our root domain, since we only allow AWS there. I already have other services with CAA records at the sublevel (sub.domain.tld), which works fine with letsencrypt, but which then only allows letsencrypt on that subdomain, and not the root or other subdomains. Why does this not work with Stripe?

What have you already attempted?
n/a

What are you working on?
Implementing custom payment domains for billing

#

@latent tinsel pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Receiveing strange response in address section customer.update webhook response:

"address": {
"city": "changed in update payment method page",
"country": "AE",
"line1": "changed in update payment method page",
"line2": null,
"postal_code": "changed in update payment method page",
"state": "changed in update payment method page"
},

Related Event ID(s)
evt_1R6WYfAZsVWZrzM8cSsy2Kdd

What have you already attempted?
dig in docs

#

@sharp ibex pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
~ $ curl https://api.stripe.com/v1/account_sessions
-u "sk_test_here:"
-H "Stripe-Version: 2025-02-24.acacia; embedded_connect_beta=v2;"
-d account=ACCOUNT_ID_HERE
-d "components[capital_financing][enabled]"=true
-d "components[capital_financing_promotion][enabled]"=true
-d "components[capital_financing_application][enabled]"=true
{
"error": {
"code": "parameter_unknown",
"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",

Question
I'm getting this error from stripe "message": "Received unknown parameter: components[capital_financing]",
the documentation doesn't mention it but since this is still in private preview I'm wondering if we need to have this enabled somehow?

What have you already attempted?
We were talking in our shared slack channel and they said to move it here

What are you working on?
Stripe Captial Embeded components

#

@stoic flint pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Customer's default card not showing on checkout session page, we are using 'payment' mode and have set allow_redisplay to 'always' as well. I'm not sure what else to try here so I'd appreciate help in this!

Related Request ID(s)
req_UQzrjsSZeI7AUQ

What have you already attempted?
We have tried these so far:
- Set allow_redisplay to 'always'
- Setting a payment_method_configuration

What are you working on?
Building an app that uses payment via checkout sessions.

#

@light 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/payments/paymentintents/lifecycle#intent-statuses

Question
When a Subscription charges an ACH payment method and then this charge attempt is returned due to insufficient funds, stop payment, or for another reason, what is the status we should expect in the payment_intent?

What have you already attempted?
.

What are you working on?
Subscription based service

#

@tropic bridge pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
`await this.stripe.subscriptions.update(subscription.id, {payment_behavior: 'pending_if_incomplete', metadata: {x: 1}});`

Question
When updating a subscription with payment_behavior: 'pending_if_incomplete', Stripe doesn't allow updating metadata simultaneously. Why is that? How can we achieve this behaviour?

What have you already attempted?
We've explored the option to listen to `customer.subscription.pending_update_applied` but we'd like to confirm if this is right

#

@undone frost pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why am I getting the account.external_account.created event when I choose the failure option or the account closed option in test mode?

Related Event ID(s)
evt_1R6Zo7QpvezbNwXQiASj8LHK, evt_1R6ZVWR5fqwDHhgc7PG2ywMz

What have you already attempted?
I'm using the Stripe-embedded component that renders an iFrame and when I select these failure cases the Stripe UI shows a "success" message, and the external account object is "verified".

What are you working on?
I'm building a flow to allow Connect accounts link their bank accounts so they can payout their Stripe balance to their bank. I'm testing failure cases now.

#

@west estuary pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Wher I find

Question
Where do I find the 3 dots to make a bank account my default one

What have you already attempted?
A lot

Reproduction Steps
A lot lottgbshshshdhdhhdhdhd

What are you working on?
A lot

#

@glossy crow pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting 400 response from my gateway

Related Event ID(s)
[evt_3R6KkbQrUtX6Uged0hmekWMl]

What have you already attempted?
I am hitting a gateway which authenticates the request from Stripe and passes request to an API, however I am always getting a 400 response from the gateway

What are you working on?
stripe webhook gateway

#

@modest creek pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I'm working with webhooks on my backend application and for some reason the webhooks are working well locally, but on my live environments some of them are not working.

Related Event ID(s)
evt_1R6ZvE2sDVri7Vid3M1NJNya

What have you already attempted?
I checked all the webhook events are listed on the live and test environments.

cursive heronBOT
#

@brazen pier pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Worked on Scheduled Subscription API

Question
Why it has applied balance.. Due to that it has created next invoice payment to $0.98

What have you already attempted?
Checked Event Log

#

@magic mauve pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
There's no error message

Question
I have enabled Paypal payment using stripe for my website, but when you click the paypal button it just loads then disappears without giving any error or feedback

What have you already attempted?
Nothing

Reproduction Steps
Usual stripe checkout with checkout session with Paypal enabled

What are you working on?
Simple e-commerce website

cursive heronBOT
#

@willow egret pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using posthog to track how well a campaign does via Urchin Tracking Module (UTM) codes.

So we have a url wit a utm code (utm_source) that takes one of our customers to our plans page: https://fontawesome.com/plans?utm_source=twitter&utm_medium=social&utm_campaign=pro-plus&utm_content=link_clicked

How do I persist the utm's through (and including) stripe checkout back to our successful purchase message.

Doc/Guide Links
https://docs.stripe.com/payment-links/url-parameters

What are you working on?
working on getting utm's to persist: from our plans page -> stripe checkout -> our successful purchase page

#

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

Question
https://docs.stripe.com/api/subscriptions/create#create_subscription-billing_thresholds

Will this work with credit grants as the total charges will be 0 in our use case

Related Request ID(s)
n/a

What have you already attempted?
https://docs.stripe.com/api/subscriptions/create#create_subscription-billing_thresholds

Will this work with credit grants as the total charges will be 0 in our use case

#

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

Question
Hi, we are helping a customer with automatic bookkeeping of Stripe transactions.
We just got an error that a charge did not have any payment intend. I have never seen this before, and would like to know why does not have any payment intent or customer information.

Related Request ID(s)
py_1R6CZDEK2Tuo9SfzfYfoDwWF

What have you already attempted?
I have fetched the charge manually throught the api and it barely contain any information.

What are you working on?
We are managing bookkeeping software

#

@next arrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a software product that has 3 tiers with both monthly and yearly subscriptions. I was told to setup one product and create 6 prices for the different tiers and monthly and yearly. However, when I create a checkout session for one of the prices it doesn't show the description on that price, but just shows the name of the overall product. I would like to see the description of the price in the checkout session.

Related Request ID(s)
req_dN1dP3Ws3ZbhmQ?t=1742922289

What have you already attempted?
I tried doing the inline price and name, but the issue is that it creates a new produce and price, which defeats the whole effort. I want the user to be able to use one product and upgrade or downgrade prices within that product.

What are you working on?
I am trying to create a checkout session for a Saas product

cursive heronBOT
#

@faint galleon pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{"error":{"message":"You requested an account link for an account that is not connected to your platform or does not exist.","message_code":"account_links_no_connected_merchant"}}

Question
Sorry not sure under which category to ask but:

How can a stripe express customer of our web app that got disconnected using `oath.deauthorize` access their dashboard to see transactions and payouts ?

What have you already attempted?
https://connect.stripe.com/express/acct_1OIUgXIrtOGpLepS/6SOMUCRtN6Pj

Reproduction Steps
Disconnect using `oath.deauthorize`.

What are you working on?
Web application for medical practices.

#

@trail loom pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm currently using version `8.222.0` of the Stripe Node SDK in my project. This version is quite old, and I'm concerned about its long-term compatibility and support.
Is there a formal End-of-Life (EOL) policy for older Node SDK versions?
Does Stripe guarantee continued functionality for older SDK versions like v8.222.0?
Are there any specific Stripe API version dependencies tied to this older SDK version that may cause issues in the future?

Nodejs version: 18.x

Doc/Guide Links
https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md
https://github.com/stripe/stripe-node/wiki

What are you working on?
I work with rental management company that uses Stripe to power customer payments

#

@willow egret pressed 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/payment-links

Question
Question
We are using posthog to track how well a campaign does via Urchin Tracking Module (UTM) codes.

So we have a url wit a utm code (utm_source) that takes one of our customers to our plans page: https://fontawesome.com/plans?utm_source=twitter&utm_medium=social&utm_campaign=pro-plus&utm_content=link_clicked

How do I persist the utm's through (and including) stripe checkout back to our successful purchase message.

Doc/Guide Links
https://docs.stripe.com/payment-links/url-parameters

We are using Stripes standard checkout page.
Do I need to create a custom Payment Link page to persist

What have you already attempted?
https://dashboard.stripe.com/payment-links

What are you working on?
working on getting utm's to persist: from our plans page -> stripe checkout ->

#

@subtle crag pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to issue a credit note (test mode), but the API is returning an error with a rounding problem on Stripe's side (Stripe is incorrectly rounding and off by 1 cent)

Related Request ID(s)
req_8wQowmFYlcg2G1

What have you already attempted?
There is nothing I can attempt - the API only requires the line item Id and amount and Stripe's backend is supposed to handle rounding tax. Your rounding is off by 1 cent.

What are you working on?
Debugging an issue with our clients not able to refund their customers in our Stripe-integrated CRM.

cursive heronBOT
#

@tired crater pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're seeing a change in the way customer.subscription.updated events are being sent to us. Is this intentional on stripe's end?

For context, previously, when the subscription renewed, it would not sent a webhook with previousAttributes.items.data. Now it's sending that array and the only thing that's changing is the start / end date (which is already being sent as part of the update outside of the previousAttributes.items.data array.

This appears to be an unexpected change, but I'm wanting to understand if this is permanent or an accident? Or if there's a better way we can get around this.

Related Request ID(s)
evt_1R6caXEUqHBlqQXGmx5mY9u2

What have you already attempted?
compared old events last month with events from this month

What are you working on?
a webhook that previously was able to tell when a subscription changed, but now that's more difficult

cursive heronBOT
#

@next arrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This is a continuation of a previous question. All documents on Stripe seem to indicate that you should use one product and multiple prices for tier based products so that upgrading or downgrading can be done. Your last response is saying that I should create multiple products, one for each tier. How can the user upgrade from one product to the other when the api only allows upgrading price items (using price_id)?

Related Request ID(s)
req_dN1dP3Ws3ZbhmQ?t=1742922289

What have you already attempted?
I have attempted to do both methods and am not sure how to allow a customer to upgrade from one product to another without totally deleting one subscription and creating a new subscription.

What are you working on?
Saas application

cursive heronBOT
#

@solemn wind pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
There is a new MRR field that is displayed on the customer detail page in the Stripe UI. I am wondering if this data is available for use via API?

Related Request ID(s)
Customer lefthand panel labeled, MRR

What have you already attempted?
Searching Stripe API docs

What are you working on?
MRR by subscription

cursive heronBOT
#

@mystic ingot pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
a user explained when checkout of stripe checkout stripe returned a message no internet connection

Question
a user explained when checkout of stripe checkout stripe returned a message no internet connection - tried googling with no luck

What have you already attempted?
tried researching through google

What are you working on?
using stripe checkout to accept payments through asp.net c#

#

@elder nest pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The docs at https://docs.stripe.com/api/accounts/retrieve indicate there will be a business_profile.product_description in the response.

I am retrieving a connect account, and there is no product_description field at all in the response. Based on those docs, I expect it to be a value or null.

Related Request ID(s)
req_3r3kF7CuxpG31e

What have you already attempted?
I've tried via Ruby with our current API version 2024-04-10 as well as with cURL and the latest API version via -H "Stripe-Version: 2025-02-24.acacia"

What are you working on?
I am performing a check to ensure all my connected accounts have a product_description set, and the docs led me to believe I could retrieve the account and see the product_description.

cursive heronBOT
#

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

Question
I have developed connect payment API from my website and just tested payment I have some questions on some of the charges

Related Request ID(s)
acct_1R6F06PmLwOOpYo4

What have you already attempted?
I have developed connect payment API from my website and just tested payment I have some questions on some of the charges

#

@gentle yarrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe, I have an Invoice upcoming preview call (and subsequent subscription update call) during subscription quantity change preview with proration that is not seeing/applying the existing subscription discount for the "remaining time on" proration item.

Related Request ID(s)
sub_1R6RrMAUoPbSaQbfHnNyqWD5

What have you already attempted?
Several iterations of settings during both of these calls.

What are you working on?
Our 11 year old Stripe integration for customer subscriptions, but now implementing some CSV migrations into Stripe (this is new).

cursive heronBOT
#

@dense idol pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe sends events out of order / with no difference but dramatically different effects - how does one deal with this???

Related Event ID(s)
evt_1R1V0HQY48e9yh0vSNH0SYlN, evt_1R1V0HQY48e9yh0vt5HvkEDt

What have you already attempted?
Both events have 1732211219 as created, but they tell very different stories for the user's account (acct_1QNeSzQY48e9yh0v). How do we as a platform decide what the right state of the account?

#

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

Question
Hi I have a few questions! I am about to put my application into production and want to get an opinion on whats the best way to set up webhooks, Im a little nervous im going to mess something up and then users wont be able to pay/get connected to there service they bought. Thanks!

Doc/Guide Links
I do not have any docs.

What are you working on?
SaaS

cursive heronBOT
#

@viscid robin pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import { StripeProvider, useStripe } from '@stripe/stripe-react-native';
....
<StripeProvider
publishableKey={process.env.EXPO_PUBLIC_STRIPE_PUBLISHABLE_KEY}
merchantIdentifier={merchantId}
>

Question
I've successfully used stripe-react-native in my React Native (Expo) App in TestFlight and I've confirmed that it works fine with Stripe. I'm now trying to publish my App to Apple's App Store but on the In-App Purchases page, it comes up with a Status of "Missing Metadata" despite filling in all the necessary fields. This results in my app submission from getting rejected. What could be the problem?

What have you already attempted?
I have contacted App Store support and they were not able to help. I have contacted Apple Developer support and am pending a response.

What are you working on?
I've built an iOS app that accepts coffee donations via IAP (In-App Purchases)

cursive heronBOT
#

@molten cliff pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Created coupon which is set to applicable to yearly product only. During Coupon Retrieve API I can't find any information related to it

Related Request ID(s)
MAMTA_001

What have you already attempted?
https://docs.stripe.com/api/coupons/retrieve

What are you working on?
I am trying to restrict user can only apply coupon to specific product subscription only.

cursive heronBOT
#

@gentle yarrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Please see my previous item today. "timebox" never got back to me and the thread timed-out and locked I guess.

Related Request ID(s)
sub_1R6RrMAUoPbSaQbfHnNyqWD5

What have you already attempted?
Many iterations of call params

What are you working on?
Our existing Stripe integration

#

@gritty plume pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Stripe Identity, I tried getting support from the normal guys regarding GUI but that didnt work

I am also using the API to create a Validation request and send over the Validation URL to a customer through mail (transaccional Email)
The thing is sometimes the Customer is not created in the backend when sending this verification as we create It on Order, and the Validation on high valuรฉ items is made before even submitting the Order (of creating an account) so, we're using It as an Sort of Captcha+KyC
So, can we link a Validation to a Customer AFTER the Validation is done?

Related Request ID(s)
Unrelated for this question

What have you already attempted?
I have read the API documentation and asked normal customer support (Regarding if this existed in GUI)

What are you working on?
I know we can modify the Validation if its not done to link It to the Customer, I also tried to see if we can link a customer through the API to a Validation but I dont see this currently

cursive heronBOT
#

@weak peak pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am wondering if it is possible to use Checkout Sessions with the two-step checkout process outlined for PaymentIntents using a confirmation_token.

We have working integrations for each of these separately but each has shortcomings. Having a two-step process allows us to do last-minute checks before committing to payment. However using PaymentIntents alone means that we lose the ability to supply on-the-fly line items from checkout, since the PaymentIntent handles just the payment portion.

Is it possible to use Checkout Sessions API but also use confirmation_tokens?

Related Request ID(s)
N/A

What have you already attempted?
We have tried integrations with both Checkout Sessions and PaymentIntent + confirmation_token, but not together

What are you working on?
Proprietary shopping cart API.

cursive heronBOT
cursive heronBOT
#

@frozen parrot pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi!

We have accidentally used test mode instead of live mode the past couple of days. So any customers created during that time with the stripe.customer.create was created as live mode, and any stripe calls were sent to test mode instead

I want to use the same customers but put them onto live mode

Related Request ID(s)
evt_1R68t1GZMPJ4zCnuALW6kNJq

What have you already attempted?
I was able to get the list of all the customer ids and emails that were created during this time (about 130). I can share with you

cursive heronBOT
#

@snow cargo pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
to not show error after performing 3ds

What actually happened?
a page with json error was shown

Reproduction Steps
it happens sporadically yesterday, both in test and prod env

Question
please advice ........................

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.

Discord will re-open at 13:00 UTC

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

#

@lofty ice pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to build a custom pricing table with my own UI. Currently I am able to build a pricing table by fetching all products and filtering through products that have the marketing_feature component filled out. If they have a marketing_feature, they will be included in my custom pricing table.

However, this involves fetching products that are not in the pricing table as well. Is there a better way to fetch these products given a specific pricing table id?

Related Request ID(s)
None

What have you already attempted?
Used the products api to list all products (active).

cursive heronBOT
#

@unborn hamlet pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to achieve the following, I have an active subscription, and am using subscription schedule phases.

I want to "add" a few days to the current schedule phase (through support / returns - so that we can give them the full time). To do that, I changed the current phase end date, but it didn't seem to change anything.

The schedule IS updated, but the dashboard doesn't respect that change, and the simulator didn't delay the next draw.

Related Request ID(s)
req_EWOZplJVSXabmS

What have you already attempted?
import stripe
import datetime
sub = stripe.Subscription.retrieve('sub_1R6XfAQVwO1T4UtIQEUnZgsO')
schedule = stripe.SubscriptionSchedule.retrieve(sub.schedule)
#bump end date
schedule.phases[0].end_date = int((datetime.datetime.fromtimestamp(schedule.phases[0].end_date) + datetime.timedelta(days=1)).timestamp())
stripe.SubscriptionSchedule.modify(schedule.id, phases=schedule.phases)

#

@tawdry halo pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
bank_cannot_process

Question
I have a customer who has a subscription.
When renewing, they apparently have no funds left (bank_cannot_process).
How do I handle this situation?
Especially since the invoice remains as paid...

What have you already attempted?
Look a the dashboard

#

@naive robin pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const appearance = {
theme: 'stripe',
variables: {
borderRadius: '36px',
},
};
const expressCheckoutOptions = {
buttonHeight: 50,
buttonType: {
applePay: 'buy',
googlePay: 'buy',
paypal: 'checkout',
klarna: 'pay',
},
};
const elements = stripe.elements({
mode: 'payment',

Question
Express checkout button does not work with subscription option

What have you already attempted?
Changed it to subscription based on the documentation:https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#additional-options

It does not work if I change mode to subscription. Im not sure why. The element will not be created and it will return an empty element. However with payment, I can see my express checkout, like so:

#

@stoic sedge pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I'm reaching out regarding an issue we've encountered with the Stripe Payment Elements.

The `change` event should be triggered when users modify the `country` and `postal_code` fields within the Stripe Payment Elements.

What actually happened?
The `change` event is not consistently triggered when users modify the `country` and `postal_code` fields within the Stripe Payment Elements.

Reproduction Steps
Steps to Reproduce

  1. Initialize a Payment Element
  2. Add a change event listener as shown below
  3. Attempt to modify the country and postal code fields
  4. Observe that the change event does not consistently fire for these specific fields

Code implementation
```
paymentElement.on("change", (event) => {
console.debug("Payment element change", event);
});
```

Question
Is that correct? I would like to trigger a tax recalculation every time the customer location is updated.

Evidence
I've recorded a video demonstration of this issue which clearly shows the inconsistent behavior:
https://www.loom.com/share/463a8ba803fa4591834997e2b3caafd4?sid=e5738a51-e2b1-49b0-9d63-d30069f91c9f

What are you working on?
Triggering tax calculation based on user location

cursive heronBOT
#

@cursive roost pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/api-authentication/oauth

Question
I am implementing oAuth for my stripe app, but why I can not oAuth the account from which I published the app ? how would I test the oAuth working or not in realtime when building the app ?

What have you already attempted?
na

What are you working on?
I am trying to build an stripe app for my platform, it helps to generate good looking pdf ( I will use stripe's invoice data sources to generate custom made invoiced )

cursive heronBOT
#

@balmy sun pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```
const {error} = await stripe.confirmPayment({
elements,
confirmParams: {
return_url: retourStripe,
},
});
```

Question
Hi, Iโ€™m using Elements API `confirmPayment`, but when I submit, I have this error `stripe.confirmPayment(): do not pass setup_future_usage at confirm time. Instead, pass setup_future_usage when the PaymentIntent is created.`. I know I get this error because Iโ€™m trying to save the customerโ€™s payment method by using `customerSessions` and the `payment_intent` is created after a subscription creation. Are subscriptions compatible with `customerSessions`?

What have you already attempted?
To reproduce :
Back-end :
- $stripe->subscriptions->create
- $stripe->customerSessions->create
- Get `payment_intent->client_secret` and `customer_session->client_secret`
Front-end
- Create an Elements iframe `elements.create("paymentย ยป,`

#

@willow yoke pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, Im trying to implement a card present flow using Stripe react native sdk with my WisePad 3 terminal with Setup Intents. All goes well but Im getting a "The latest attempt to set up the payment method has failed because authentication failed." error message in return.

Im currently testing with a Co-Branded Interac Canadian Debit Visa card.

Related Request ID(s)
seti_1R6vW2Bb49XQ2DGympaHNQ03

What have you already attempted?
I tested it with other cards, and it works fine, so the flow seems to be correct.

#

@north lynx pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I setup my stripe dashboard to allow card payment processing token api that I confirmed works.

Related Request ID(s)
In Dashboard developer

What have you already attempted?
I have a website with c# that processes payments using pk. it worked with other stripe pk.
Now trying to setup dashboard with new stripe account. I put pk in and getting raw card error.
I put sk in and getting "You do not have permissions to make this API call".
Am I supposed to create a restricted key?

What are you working on?
webpage to collect payment.

#

@lyric prawn pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I recently switched to using the payment intents api to be able to support APMs. My stripe account has APMs like iDEAL enabled on it, but when I render and view the Stripe form, it does not seem to render iDEAL as an option.

I'm seeing in the stripe response we get back
```"automatic_payment_methods": {
"allow_redirects": "always",
"enabled": true
},``` which I would've assumed meant that we should see any enabled APMs, but the allowed_source_types comes back as ```"allowed_source_types": [
"card",
"link"
],```.

Related Request ID(s)
req_h5bFXlFKYYCHzH

What have you already attempted?
https://docs.stripe.com/api/payment_intents
I've tried overriding my location in Chrome to be in NL.

#

@cursive roost pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I have implemented oAuth2 in my stripe App, I need help to know what I can do with the access code for the authenticated user ?

Question
After I have implemented oAuth for the user, how would I determine inside the stripe app whether the user is authenticated or not ?
and can I monitor the authenticated user's invoice succeeded webhooks ?

What have you already attempted?
na

What are you working on?
I am trying to build an stripe app that helps automatically generated custom templated pdf from the invoices!

#

@bleak zodiac pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using the API how make sure the Subscription Invoice is charged at the moment of creation ?

Related Request ID(s)
sub_1R6NfADn6CAQGXZna32StIP8

What have you already attempted?
Everything works. Let me elaborate on this for you. Before I was using Subscriptions end points, the subscription Invoice was charged in instants. Our operation got a bit more complex and I have to use Subscription Schedule. Everything works, however invoice is being charged 1 hour after subscription is created, even marking StartDate = DateTime.Now,

What are you working on?
Gym System

#

@severe stirrup pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why, when using PaymentElement (react) with dynamic payment methods enabled, does selecting an available payment method on the frontend result in an error on the server when attempting to charge the payment? The error suggests that these payment methods are not activated and prompts to manually specify the payment method, which in turn disables dynamic payment methods.

Related Request ID(s)
req_bmKyYBl9wflQM3

What have you already attempted?
When I tried to list this payment method manually (actually, it becomes not dynamic anymore), it worked.

What are you working on?
Implementation of the new payment methods that are not yet supported by our product (Bank redirects)

cursive heronBOT
#

@willow yoke pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Im currently using an M2 and a Wisepad3 to see which implementation is best for our usecase. How can I cancel a collectPaymentMethod in a M2? In the Wisepad3 I can atleast tap the X button on the terminal, but the M2 does not have that option

Doc/Guide Links
https://docs.stripe.com/terminal/readers/stripe-m2

What are you working on?
Creating a Tap to Pay / Terminal integration in a React Native App

cursive heronBOT
#

@waxen bay pressed the ๐Ÿ“š Doc or 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?payment-ui=stripe-hosted&lang=curl#testing-checkout

Question
Iam trying to enable adaptive pricing for my stirpe accoutn using this approach but it doesnt work for my checkout session

What have you already attempted?
curl https://api.stripe.com/v1/checkout/sessions
-u sk_test_โ€ขโ€ขโ€ข09gA:
-d "line_items[0][price]"="{{PRICE_ID}}"
-d "line_items[0][quantity]"=1
-d mode=payment
-d success_url="https://example.com/success"
--data-urlencode customer_email="test+location_FR@example.com"

What are you working on?
Saas

#

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

Question
Looking to understand the nuances around saving interac cards for charging later using Setup Intents with Stripe Terminal. At the moment, it seems we can connect an Interac card to a setup intent using a BBPoS Wisepad, but we cannot do the same workflow with Tap to Pay on Android. Is it possible with Tap to Pay on iOs? What is the material difference in thsese implementations that governs whether or not Interac cards will allow the setup intent to confirm?

Doc/Guide Links
https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly

What are you working on?
Saving a payment method for conditionally charging at a later date.

cursive heronBOT
#

@craggy pond pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am getting "Data cannot be refreshed on inactive accounts." a few minutes after creating a new financial connect.

Related Request ID(s)
req_c13Yu4h4L59C7F

What have you already attempted?
Reviewed API docs

What are you working on?
AI based CFO

cursive heronBOT
#

@peak cloak pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
return loadConnectAndInitialize({
publishableKey: env.REACT_APP_STRIPE_API_KEY,
fetchClientSecret: fetchClientSecret,
appearance: connectComponentAppearance,
});

Question
I just want to make sure that this is behaving as expected, we are using the @stripe/connect-js library, and after we implemented it we noticed that we are having some error logs on stripe dashboard of requests to /v1/account_sessions/claim returning 400 with the following message: You tried to claim an expired account session.
This means that stripe will retry to fetchClientSecret to refresh it and no errors will be shown to the user? or is this something we should handle?

What have you already attempted?
I tried to check if we were making successful requests to the same endpoint after the error ones, but there's no account_id to be sure it's for the same client.

What are you working on?
a disputes management system for our users

#

@shrewd wraith pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to add `terminal_hardware_order.*` events to a webhook destination. We have beta access but I am getting an error. Where do I set this api-version parameter in the UI? ```The following event types are still in beta: terminal_hardware_order.delivered, terminal_hardware_order.ready_to_ship, terminal_hardware_order.shipped. In order to receive webhooks with these event types, you must explicitly specify which version of the beta you want, by setting the 'api_version' parameter to something like '2022-11-15; terminal_hardware_orders_beta=v5'.```

Related Event ID(s)
N/A

What have you already attempted?
Explored the Stripe workbench

#

@analog tulip pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

We're trying to add metadata to stripe checkout object, but we see that the metadata is empty.

Related Event ID(s)
evt_1R6xnJKBubDkYiUbmw2UThQA

What have you already attempted?
We are using stripejs sdk to pass metadata in the object

What are you working on?
We're adding stripe subscription to our product

cursive heronBOT
#

@steel zephyr pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the Stripe iOS SDK (stripe-ios-spm) v24.9.0 with the Payment sheet with the sandbox for testing. When I start the payment and confirm the payment from the browser shown within my app, the returnURL is handled as expected by the Stripe function `StripeAPI.handleURLCallback(with: incomingURL)`. However, when I open the payment confirmation page in Safari, I can confirm the payment, and the app is being opened, but the function does not handle it anymore. Even though it looks the same. Are there any settings I'm missing?

Related Request ID(s)
req_XvEMKrhWyqAIJ5, req_ONEwTJ8n6HYI9s

What have you already attempted?
I confirmed the returnURL in the local logs, it looks fine, I checked that is being triggered when the browser is shown by the app, which works as well.

What are you working on?
A iOS app with a merchandise shop connected to a print on demand service.

#

@river cradle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
in the payout page on stripe there is a section called summary, it has the charges, refunds and adjustment, i wonder if there is a way to get this data on my dashboard using the stripe js package

Related Request ID(s)
po_1R1HUwBGOEsaUXzsce5lblvK

What have you already attempted?
nothing

cursive heronBOT
#

@pastel geyser pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected there to be typing for metadata in payment_intent_data when creating paymentlinks. In the docs it says there is. https://docs.stripe.com/api/payment-link/create

What actually happened?
Typescript complains about the typing, and says metadata does not exist.

Reproduction Steps
const paymentLink = await stripe.paymentLinks.create({
line_items: [
{
price: price.id,
quantity: 1,
},
],
after_completion: {
type: 'redirect',
redirect: {
url: `${process.env.FRONTEND_URL!}/chat`,
},
},

payment\_intent\_data\: {
  metadata\: {
    receivers\: JSON.stringify\(instaPay.recei

Question
How can i fix this? Should i just ignore the typescript error?

What are you working on?
PaymentLinks typescript, metadata for paymentintent

cursive heronBOT
#

@autumn cape pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The recipient of this transfer does not have sufficient funds in their Stripe balance to reverse this amount.

Question
We run a Connect platform, and need to understand why sometimes the refunds we process on behalf of our connected express accounts do not work when they do not have a balance in Stripe. Most of the time that we process a refund when the account does not have a balance, the refund works. Sometimes, it does not. We have 'Debit Negative Balances' enabled.

What have you already attempted?
We have had multiple discussions with clients and their banks assuming there was a block on Stripe from debiting this money out of their connected bank account. Over a dozen of these customers all relayed the same thing from their bank - they do not have a block, and there is an error or mistake on our/Stripe's side.

Reproduction Steps

  1. Select refund
  2. Select "Reverse the associated transfer"
  3. Error message displays

What are you working on?
We are a B2B SaaS that operates a business management tool for watersport operators and fishing guides

#

@polar pivot pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const result = await stripe.confirmSetup({
elements,
clientSecret: `${setupIntent.clientSecret}`,
confirmParams: {
payment_method_data: {
billing_details: {
email: currentUser?.email,
name: currentUser?.firstName ? `${currentUser.firstName} ${currentUser.lastName ?? ''}`.trim() : undefined,
}
},
return_url: window.location.href,
mandate_data: {
customer_acceptance: {

Question
After calling stripe.confirmSetup() having selected Klarna from payment elements form and completing the flow in Klarna (all test mode), I always receive a `mandate.updated` event with `"status":"inactive"`, and then `setup_intent.setup_failed` arrives with `invalid_request_error` error code, type `card_error`, saying "Klarna has failed to process your payment. If you're not sure what to do, please contact us at https://support.stripe.com.", I am using suggested test data.

What have you already attempted?
I have used test data in https://docs.stripe.com/payments/klarna/set-up-future-payments (I have requested access to private view for off session recurring payments), it all looks good, until the redirect comes back and the web hooks are telling setup intent failed... I have tried plenty of things, and the flow seems to work, but in the end it fails with credit card error...

What are you working on?
I am moving from single Card element to Payment Elements, with both Card and Klarna enabled (and more in the future).

cursive heronBOT
#

@naive robin pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const elements = stripe.elements({
mode: 'subscription',
amount: amount * 100, // Convert to smallest currency unit
currency: currency,
appearance,
});
const expressCheckoutElement = elements.create('expressCheckout', expressCheckoutOptions);
expressCheckoutElement.mount(mountElementId);

Question
It works for mode:'payment', but it does not work for subscription. I am getting this error

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

What have you already attempted?
Changing it to payment, double checking options

cursive heronBOT
#

@dawn breach pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
await stripe.invoices.retrieve(stripeInvoiceID);

Question
Is there a way to get the memo and mailing address listed in a Stripe Invoice PDF via API? I would like to surface that information directly in my app

What have you already attempted?
I tried logging what we receive from invoices.retrieve, but I didn't see anything.

What are you working on?
We usually surface the PDF but the "Pay Invoice" link in the PDF is causing some conflicts

#

@humble rivet pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I am looking into the way to save payment information when make a payment in checkout session. is the payment associated with customer account created in Stripe? e.g. when i have a checkout session, it will load the payment information for the same customer account regardless what browser is in use.

What have you already attempted?
I tried to add
payment_intent_data: {
setup_future_usage: "on_session"
} in the request body to create checkout session, however i didnt see any option to load payment information.

What are you working on?
a customer request to save payment information for easy payment for future

#

@keen eagle pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Error: The information for creating and confirming the intent is missing the following data: payment_method.

Question
I have installed Stripe plugin on Woocommerce and recently, my all orders begin failed and I'm receiving an error. No other error in logs and no errors in Stripe

What have you already attempted?
i have was able to disable / enable plugin, still the same error

cursive heronBOT
#

@fickle narwhal pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a schedule with start_date: "now". On the schedule I'm attaching a default_payment_method. Following the creation of the schedule, I'm retrieving the invoice and finalizing it. The expected behaviour is that the payment method will be charged as the invoice is finalized. This doesn't happen. Instead the invoice finalizes as payment is not taken.

Is it true in Stripe that I cannot create a schedule and collect payment immediately using a pmId? There must be something simple I'm missing here.

Related Request ID(s)
none

What have you already attempted?
Removing the req to finalize, using test clock to advance the sub an hour. This charges the pmId as desired. With that, we cannot wait an hour to attempt the card.

What are you working on?
Enterprise integration

cursive heronBOT
#

@minor pagoda pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're trying to create customer portal configurations via API because we have two different types of subscriptions that we want different settings for.

If I'm understanding the docs correctly, the configuration objects only need to created once via API and then we can use the same IDs in every portal request.

Is that correct, or should we create a new configuration object every time we create a new billing portal session?

Related Request ID(s)
N/A

What have you already attempted?
Read through https://docs.stripe.com/api/customer_portal/configurations, just trying to make sure I understand it correctly

#

@astral owl pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way for force payment method update on plan change? We would like existing Paypal users to migrate to Stripe if they attempt to change their subscription/plan. Is that possible?

Doc/Guide Links
https://docs.stripe.com/upgrades/manage-payment-methods

What are you working on?
In the setup and planning stages before migrating to Stripe.

cursive heronBOT
#

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

Question
I am about to launch my applicatiomn and have a question about how do I test my checkout/webhooks once the platform is in production. Mostly consered about the webhooks not the checkout because those are just API keys.

Doc/Guide Links
I do not have a doc.

What are you working on?
SaaS

#

@ocean kayak pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to pay users every other Friday.

Related Event ID(s)
Looked in Stripe Api > Connect Account

What have you already attempted?
const account = await stripe.accounts.create({
type: 'express',
email: req.body.email,
business_type: 'company',
metadata: {
'proid': req.body.proid,
},
});

What are you working on?
I want to create Connected Accounts and pay them Every Other Friday

#

@ashen kindle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the different between sandbox and testmode?

Related Request ID(s)
-

What have you already attempted?
i am using test mode this far

What are you working on?
building and maintaining

#

@unborn dirge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible for the status of a Refund object to be failed upon creation? Or do they only fail asynchronously? There are no test cards for the fail upon creation case.

Related Request ID(s)
none

What have you already attempted?
Looking for test cards for which refunds fail synchronously.
Reading documentation

What are you working on?
A site where refund will be required occasionally

cursive heronBOT
#

@cursive roost pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Although I have setup the external testing for stripe app, but I can not authenticate the oAuth for the account where I published the app, this is causing me a blocker in the development, as I can not build and test the oAuth flow real time when developing
is there any way around ?

Question
Do I have to upload a new version each time I change a tiny bit code to test the correct oAuth flow in external test ? how can I do that without this hectic process ?

What have you already attempted?
na

What are you working on?
Also, can you share a simple code snippet for the stripe app UI that can help in identifying whether the person is authenticated or not!

cursive heronBOT
#

@exotic wigeon pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/coupons#limit-redemptions

Question
Marking the invoice (send_invoice) with promotion code as uncollectible, the redemption count still the same. Is there a way to revert the redemption count?

What have you already attempted?
I tried marking the invoice as uncollectible but it is redemption count is still the same.

#

@winter shuttle pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to identify subscription pause, resume & chareged webhook webhook as it gives same event name i.e. customer.subscription.updated

Related Event ID(s)
subscription.updated

What have you already attempted?
I tried to find data i.e. pause_collection is availble when pause but pause_collection is null for both carged cycle and resume

What are you working on?
Webhook

#

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

Question
Hi I just need some clarification about webhooks. My webhooks worded when I was using the CLI but I dont understand how they work when i go into production. Could you explain to me. Thanks

Doc/Guide Links
I do not have a doc.

What are you working on?
Saas

#

@brazen rose pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
By Mar 31, we expect to successfully update the consent collection when saving Cards on Terminal

What actually happened?
Hi, we receive an email about updating the consent collection when saving cards on Terminal. It requires the Mobile SDKs version 4.0 to replace the customer_consent_collected parameter by allow_redisplay. The Mobile SDK 4.0 requires Android 8.0, but we are running a thousand IoT devices on Android 7.0, it is impossible to upgrade the Android version(tied to hardware)

Reproduction Steps
Precondition:
- IoT device running on Android 7
- Android terminal SDK version 2.x
Step: Try to use allow_redisplay -> not found in the SDK, requires upgrade to SDK version 4.x -> which could not be done because we use Android 7.0
Additional info: We are aware of the server-driven integration, but in short-term we could not integrate with the smart readers.

Question
- Can we continue to use customer_consent_collected after Mar 31? If not, how to pass allow_redisplay using our terminal SDK v2.x?
- What will affect us if we don't use allow_redisplay after Mar 31? For example, can payment still be made?

What are you working on?
Our IoT device is used a rental flow, user scan the card but the payment is made off-session after they finish the rental.

cursive heronBOT
#

@hasty bramble pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how can i manage the default_payment_method and default_source

Related Request ID(s)
stripe customer's invoice setting

What have you already attempted?
before I save card info at customer's defalt_source.
after as you know stripe is update so now save the card info at customer's invoice_setttings->default_payment_method.

#

@ashen kindle pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a subscription feature for my product. but for some user who has ceritificate(certificateExpiredAt) in my system, they will subscribe to the product for free until the certificate is expired. how can i achieve that?

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

What are you working on?
building and maintaining

cursive heronBOT
#

@split warren pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
boolean productFound = false;

    for \(Configuration.Features.SubscriptionUpdate.Product product \: existingProducts\) {
        if \(product.getProduct\(\).equals\(updatedProduct.getId\(\)\)\) {
            // For the updated product, override allowed prices with the new price
            updateProducts.add\(
                    ConfigurationUpdateParams.Features.SubscriptionUpdate.Product.builder\(\)
                            .setProduct\(updatedProduct.getId\(\)

Question
I am updating one of the product prices and I want it to reflect in the customer portal via the sdk. Product details get updated successfully, however I had set minimum and maximum quantity (1 for individual & and a range 1 to 9999999 for team plans) but this information is not preserved when executing the code above. How can specify the minimum and maximum quantities for the products in the above code?

What have you already attempted?
I tried various ways to set the minimum and maximum quantity in the product object but I can't find a method that allows me to do so.

What are you working on?
I want to programmatically update the billing portal with the latest changes on the product and to ensure the minimum and maximum quantities are preserved.

#

@rancid hare pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
My build is failing on android as below is my build.gradle
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.24"

Question
My app is failing on react native android i'me react native stripe sdk version 0.43.0 and its not building on android

What have you already attempted?
nothing much

#

@vestal spade pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Question about about the payment flow of strip react native with google pay or apple pay?

Related Request ID(s)
https://dashboard.stripe.com/support/sco_S0wHztb4n05k6I

What have you already attempted?
I tried to run local example but still couldn't know what should I do

What are you working on?

  1. intergrate react native stripe 2.0.0 use only google pay/ apple pay. payment confirm should handle at BE
cursive heronBOT
#

@surreal night pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
generating stripe invoices with laravel cachier Api. need to remove or disable pay online link from pdf invoice becuse collecting payment on my side

Related Request ID(s)
req_G0kFYCxNU3koWD

What have you already attempted?
have created invoices with laravel cashier

What are you working on?
creating invoices on stripe but need to collect payments with custom checkout page

cursive heronBOT
#

@boreal star pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if payment_method_id != None:
original_pm = stripe.PaymentMethod.retrieve(payment_method_id)
print(150, original_pm)

            new\_pm = stripe.PaymentMethod.create\(
                type=original\_pm.type,
                card={"token"\: original\_pm.card.fingerprint},
            \)
            \# 3. Attach to the new organization's customer
            stripe.PaymentMethod.attach\(
                new\_pm.id,

Question
can we clone the card in stripe for example orgA create a charge and pays for 59$ we have that payment intent id so we payment method that was use technically the card

Now when a new orgB is created I wanted to add same card in for that orgB as well we cant use same paymentMethodId as it error out can we clone that card to be attached with B as well.

What have you already attempted?
I tried to created token but I guess it is deprecated

#

โ›”๏ธ 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.

Discord will re-open at 13:00 UTC

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

#

@rancid pivot pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi
This Create credit grant API is throwing error.

Received unknown parameter: applicability_config[scope][prices]. Did you mean price_type?

But as per this latest release this should work, right?

What am I doing wrong ?

Related Request ID(s)
req_77UJVPvWodQWpi

What have you already attempted?
reading the latest doc and made sure that I am calling with latest API version
https://docs.stripe.com/changelog/acacia/2025-02-24/billing-credits-price-level-applicability

What are you working on?
credit grants

#

@winter shuttle pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get required data in invoice.paid

Related Event ID(s)
invoice.paid

What have you already attempted?
trying to get data using subscription.updated but not working

What are you working on?
Webhook

cursive heronBOT
#

@ornate gate pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Getting error for google pay

What actually happened?
Getting error Unable to download payment manifest "https://www.google.com/pay". in browser console.
https://buy.stripe.com/test_eVa4gVaDkd328RGfYY
It was working fine earlier but today it is not working

Reproduction Steps
Open Google Chrome
login with your google account and join this google pay test card group
https://groups.google.com/g/googlepay-test-mode-stub-data
Restart browser
Navigate to https://buy.stripe.com/test_eVa4gVaDkd328RGfYY
https://docs.stripe.com/testing/wallets
you will see Unable to download payment manifest "https://www.google.com/pay". error in browser console

Question
Getting error Unable to download payment manifest "https://www.google.com/pay". in browser console.

cursive heronBOT
#

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

What did you expect to happen?
there is no google pay in PaymentSheet modal in react native SDK.

What actually happened?
I do see apple pay in ios build, but don't see google pay in android emulator.

Reproduction Steps
const { error } = await initPaymentSheet({
merchantDisplayName: 'blah blah',
allowsDelayedPaymentMethods: true,
returnURL: 'blah://stripe-redirect',
customFlow: false,
setupIntentClientSecret,
googlePay: {
merchantCountryCode: 'US',
testEnv: true,
}

Question
why google pay is not working? it works in other parts of my application. but doesn't work in PaymentSheet

#

@next arrow pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I setup some payment links for users to buy subscriptions to my app. However, if a user accidentally uses the payment link twice with the same email, Stripe doesn't see that that user with that email already exists. Is there a setting to combine users with same emails?

Doc/Guide Links
https://docs.stripe.com/no-code/get-started#sell-online

What are you working on?
Saas application

#

@final crown pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
...(!!hasTips ? { tipping: { eur: TPEConfig.tipsConfiguration } } : {})

as hasTips is false on French or German businesses. But is still suggesting in German businesses

Question
We have a bug on tips that aren't ignored in German businesses. When a payment is requested on a stripe terminal (BBPOS Wisepos E), the terminal is suggesting tips, it wasn't a while ago. In our French businesses, we don't have an issue, the terminal isn't suggesting tips. We didn't change anything in our code. Is it related to the country code ? Was there an upgrade concerning this subject ?

What have you already attempted?
Forcing the hasTips to true, check all params, how we call our functions, debugging, logging, etc....

What are you working on?
Terminal Payment

#

@wraith yarrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using Payment Links for a clients new website. I want to make it easy for the user to go back to the merchant website from the Payment Link page - how do I get a Back button/arrow to display next to the customer's logo?

Related Request ID(s)
N/A

What have you already attempted?
I've looked over all the documentation and configuration options in the Stripe Dashboard

What are you working on?
A subscription website

#

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

Question
I want to set up some stripe connect elements but having problem with setting up the custom font since its not applying it, I am following the docs guide there.

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

#

@boreal star pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if not logged_in_user.tenant_id:
subscription = stripe.Subscription.create(
customer=db_org.stripe_customer_id,
items=[{"price": STRIPE_PRICE_ID}],
coupon=COUPON_CODE_ID,
proration_behavior="none",
metadata={"org_id": db_org.id},
)

        \# create setupintent for db\_org using payment method id from setup intente above
        new\_setup\_intent = stripe.SetupInte

Question
Can we clone payment method in stripe means we have a user to which we attached a card and we got payment method id

now for any other user on our stripe we cant attach that payment method id as it is already attached to some other user but cant we create a new id using details from previous one we can attach that new user so technically using same card details for both user

What have you already attempted?
I was trying to use token but it seems deprecated now

#

@dreamy dagger pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const initializePaymentSheet = async () => {
const {
setupIntent,
ephemeralKey,
customer,
} = await fetchPaymentSheetParams();

    const { error } = await initPaymentSheet\({
        merchantDisplayName\: "Example, Inc.",
        customerId\: customer,
        customerEphemeralKeySecret\: ephemeralKey,
        setupIntentClientSecret\: setupIntent,
    }\);

Question
Hello, we are trying to set up a payment method binding according to the steps described in the documentation (https://docs.stripe.com/payments/mobile/set-up-future-payments), at first glance everything goes well, but when trying to directly bind on the frontend we get an error (Your card was declined) a test card with the number 4242 4242 4242 4242 is used, also taken from the documentation

What have you already attempted?
everything was checked with documents

cursive heronBOT
#

@wise terrace pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, we would like to know if it were legally permitted for us to store (in our database) the last four digits, the expiration date and the brand of a card created by a customer. We know that the "payment_method.attached" webhook provides all the data that we want to save, so we thought about using it for this purpose.
We are a French company, in case the regulations are different.

Doc/Guide Links
https://docs.stripe.com/api/events/types

What are you working on?
A webapp

#

@vagrant ginkgo pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Before creating a transfer we check the available platform balance ($60) and attempt to create a transfer for $40, and we expect it to succeed.

What actually happened?
We get an "insufficient funds" error.

Reproduction Steps
Before creating a transfer we check the available platform balance ($60) and attempt to create a transfer for $40, and we expect it to succeed.

Question
Do we have to account for the "pending" amount in the balance object when checking available funds, because we see that the "pending" value is negative, and suspect that could be the cause. Documentation is not clear.

#

@sharp osprey pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
we have implemented a payment flow where the user fill the payment details, authorize and later (also some days after) he can buy and we caputre the payment within that phase; this has been implemented by using SetupIntent API (the one for recurring payments).
Within the next steps, they required us to integrate in that flow Klarna but we get the error cause Klarna is not applicable for that kind of payment, is there any other payment flow which could fit our use case?
We also checked https://docs.stripe.com/payments/place-a-hold-on-a-payment-method but they don't want to block funds

Related Request ID(s)
req_Uk0D28ribZIZPq

What have you already attempted?
Creating a SetupIntent with Klarna as possible method is not working (check the log, it is also referring to another part of the docs). I checked documentation and looks like the only other fitting flow is the one which puts an hold on the funds but they don't want to lock any fund before purchase

What are you working on?
Online payment flow where the user save the payment data and pay later (it could be after 10 minutes or 10 days) contextualy with third party activation call

#

@steel pawn pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does payment intent provide options for taxes and shipping rates and items or it's just a payment with amount?

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

What are you working on?
I'm building a checkout page which user could select shipping rates, don't know if payment intent can include tax calculation or I need to do it manually

#

@sick edge pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected my promotion code with "First-time order only" setting to be usable only once per customer. After a customer successfully applies the code to a purchase, they should not be able to use the same code for subsequent purchases.

What actually happened?
The same customer was able to use the "First-time order only" promotion code multiple times across different checkout sessions, despite using the same Stripe customer ID consistently. The promotion code applied a discount each time instead of being rejected as already used.

Reproduction Steps
1) Create a promotion code with "First-time order only" set to Yes
2) Implement checkout session with consistent customer IDs
3) Have a customer complete a purchase with the code
4) Have the same customer attempt another purchase with the same code
5) Code applies successfully instead of being rejected

Question
Why isn't Stripe enforcing the "First-time order only" restriction for my promotion code? I'm using the same customer ID for all purchases (verified in logs and Stripe dashboard), but the customer can still reuse the same promotion code multiple times. Is this expected behavior?

What are you working on?
I'm working on a SaaS product, and I'm trying to sell "Credits".

#

@limpid flax pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Good afternoon, I'm trying to configure API on the website as a payment method, but I'm having difficulties.

Related Request ID(s)
?

What have you already attempted?
Good afternoon, I'm trying to configure API on the website as a payment method, but I'm having difficulties.

cursive heronBOT
#

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

What did you expect to happen?
We use `on_behalf_off` and when triggering Apple Pay sheet it is showing `PAY XXXXX` and should show the merchant for `on_behalf_off`

What actually happened?
It is showing our main account company name instead

Reproduction Steps
Create an app that launches a webview where Stripe form is being created. Launch Apple Pay with `on_behalf_off` and the PAY title will be the main account an not the connected account

Question
Is there any way for us from the UI or API to tell Apple Pay what name to display? We want to display the Connected Account name instead of the main account.

What are you working on?
We are a payment gateway for different merchants using Stripe as our card provider

#

@haughty ridge pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I'm not able to simulate a Dispute in Test mode for a Paypal Payment, but I need an example of a "Balance Transaction" related to a Dispute of a Paypal, with all data related to Stripe Fees and Paypal Fees (as described at https://docs.stripe.com/payments/paypal/disputed-payments#fees)

For the same reason I need an example of a Balance Transaction of a Won dispute (linked for example to a payment with a card)

What have you already attempted?
Blog, docs, test mode helper endpoint

cursive heronBOT
#

@tired night pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import { useState } from "react";
import {
PaymentElement,
useStripe,
useElements,
} from "@stripe/react-stripe-js";
import { Button, message } from "antd";
import { getPaymentIntentStatus } from "actions";

export default function CheckoutForm({
setData,
setTransactionComplete,
setCheckStatus,
setCheckStatusMessage,
setPrintEnabled,
setNoPrintRequired,
setEnableCancel,
}) {
const stripe = useStripe();
const elements = useElements();
const [isProcess

Question
Is there a way to apply styling to <PaymentElement /> I want to set its minimum height and add overflow: auto

What have you already attempted?
checked out docs but couldn't find anything related to applying css styling

What are you working on?
setting up payment element in react app

#

@dim dagger pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

We're currently refunding our subscribers when there is a change in their subscription that causes a creid balance on their account. We manage this by manually listing out their latest 5 charges and issue the appropriate refund and lower their balance.
Although we have a check to make sure we do not attempt to refund a charge with more than the captured_amount, we noticed that this does not cover holds. Would just making sure that the charge.captured = true be enough to make sure that we can issue the refund linked on the given charge or are there other fields we need to consider aswell

Related Request ID(s)
c31c393b88d159c4b1573438129afd98

What have you already attempted?
in the process of adding the check to make sure charge.captured = true, but want to make sure there are no other fields we should also consider

#

@karmic root pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
Integration of Stripe in nodejs/ejs web site

Question
how to integrate Stripe on my website, a C2C marketplace. I'm using nodejs/express and ejs. I think the solution is stripe connect but I'm interested if there's another one. I found some docs on the stripe site but it doesn't work.

What have you already attempted?
I tried to create user acompte with stripe.accounts.create and stripe.accountLinks.create where i redirect to res.redirect(accountLink.url). But not working

What are you working on?
Create an user acompte , managing payment

#

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

Question
I use `stripe.checkout.sessions.create()` with my already registered users userId. I pass through the value via metadata and through the webhook I receive it on the `checkout.session.completed` event. I expect to see it on the `invoice.payment_succeeded` also but I do not. the metadata object is empty. This was working yesterday so I do not know what I have done differently but this is the first time ever setting up Stripe so I might have flicked a switch I should not have?

Related Request ID(s)
`checkout.session.completed:evt_1R7JFxLSYfNXPyJuBOgO3tGG` , `invoice.payment_succeeded:evt_1R7JFyLSYfNXPyJubwTVNF32` , yesterday ? -> `invoice.payment_succeeded:evt_1R6qmoLSYfNXPyJusuNi77ww`

What have you already attempted?
read through https://docs.stripe.com/metadata and I understand that it specifically says, "we send a checkout.session.completed Event containing the Checkout Session objectโ€™s metadata to your webhook endpoint" but I have no idea why it worked yesterday.

What are you working on?
SaaS

#

@jolly locust pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I should be able to select an apple pay shipping rate and see it updated

What actually happened?
From the looks of things, the initial selection event is not firing. When i select a *different* option, the shipping rate change event from the initially-selected selected option fires. On the next change, the second option i selected fires.

Reproduction Steps
I can share a branch from github with a stripe developer.

Question
Why is the shipping rate event firing at the wrong time or always one selection behind?

What are you working on?
Stripe express checkout integration

cursive heronBOT
#

@daring badger pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to request the user's gender and birthday during the express checkout process? We sell age-restricted and gender-specific products and would like to provide express checkout options while still gathering this information from users.

Related Request ID(s)
pi_3R7JNmJ0UbsrfDm71KqrBrQR

What have you already attempted?
The express checkout payment works. It gathers the shipping details but not the birthday and gender

#

@abstract dagger pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Looking for a way to add a subscription price that'll automatically cancel after 12 months.

Related Request ID(s)
n/a

What have you already attempted?
Right now when the subscription is paid we set the cancel_at date to be 12 months into the future.

What are you working on?
Subscription management platform for agencies.

cursive heronBOT
#

@jolly locust pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
wanted to respond to my previous help thread after lunch

What actually happened?
the thread was closed by a bot and i can't message the person who responded.

Reproduction Steps
Ask a question before your lunch break and be gone for an hour or so

Question
Can i reopen this thread? #dev-help message

What are you working on?
Asking a question in here

cursive heronBOT
#

@jade tartan pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
We got this keep this tab opened

Question
I made a request call and a prompt pop out on my screen with two security codes then i recieved a call but this prompt is not closing

What have you already attempted?
I have tried to close it by login again and again changed phone and laptop even tried to call with a different account but still its not going anywhere

cursive heronBOT
#

@alpine crescent pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
requires_payment_method

Question
Connected Odoo POS to Stripe Terminal. When a payment is initiated that Amt is displayed correctly on the card reader so that confirms the intergration is working between Odoo POS and Stripe. However when I use the Test card I ordered to make the payment? I am unable to make the payment and getting a requires_payment_method error on the stripe transactions view

What have you already attempted?
Ensured I am using the Test mode as well can confirm that the terminal is online during the testing.

cursive heronBOT
#

@forest gale pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/account-capabilities

Question
Is there a way to bulk enable capabilities on all previously created connected accounts? I'm specifically thinking about Stripe Link, which is both a capability and a payment method. We can enable as a payment method and connected accounts can inherit that.

What have you already attempted?
Enable for a single connected account

cursive heronBOT
#

@languid rapids pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe Connect account configured using Stripe Express does not need a bank account on Sign Up

What actually happened?
No way to complete Sign Up without a bank account linked for payouts

Reproduction Steps

  1. Create parent Stripe Account and set: "Require at least one bank account? -> No"
  2. Sign Up a Stripe Express account

Question
How to fix this? I don't want my users to require a bank account as they may be sketched out

cursive heronBOT
#

@lime bear pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a merchant with a connected account on daily payout. They have "Debit negative balances" set to ON. We need to do a number of refunds via API which will exceed their connected account balance. My question is whether a top-up from their esternal bank account will happen each time we go over their balance, or only at the end of a particular day. In other words, if the refunds total $1000, and there only $500 in the connected account balance, will it require only one top-up of $500, or will each refund the goes over the $500 balance cause a top-up withdrawal from their bank account?

Related Request ID(s)
N/A

What have you already attempted?
Waiting to hear what the impact will be.

What are you working on?
ACH refunds.

cursive heronBOT
#

@upper osprey pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trouble taking payments. We are using topyact - https://topyacht.com.au/web/ to take payment for upcoming event at our Milford Cruising Club, We have shared our keys to setup the payment integration with topyacht, but payments are failing

Related Request ID(s)
req_pnjXXHTTQUsRwj

What have you already attempted?
Tried updating secret key, instead of restricted key

What are you working on?
setting up portal to accept payment via third party website

cursive heronBOT
#

@grave oriole pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need help to connect a trigger from hubspot to stripe to stripe connect. can anyone call me?

Related Request ID(s)
none, or i don't know

What have you already attempted?
none, i don't have knowledge with stripe connect

#

@dusty vapor pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have an existing integration using setupIntents to save payment methods for future use. We have enabled the `allow_redisplay=always` option when confirming the setupIntent.

When creating a checkoutSession using `ui_mode=custom`, even when specifying redisplay filters always, limited and unspecified, the customer's payment method refuses to show up if it was created using a `SetupIntent`.

When setting up a new payment method via the checkout session, the customers payment method is now visible upon the next session. It's `setup_future_usage` points to a `PaymentIntent` in this case.

Related Request ID(s)
req_EeK3O81EnyyJXz, req_OUdlJ6TKU7eUKe

What have you already attempted?
We have already followed all the customer documentation for this integration point. We cannot create a `CustomerSession` because the `PaymentIntent` is part of the `CheckoutSession`.

We have enabled `allow_redisplay=always` on the payment method via the `SetupIntent`.

What are you working on?
Custom styled checkout flow (using ui_mode = custom, beta_6)

cursive heronBOT
#

@night peak pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to backdate a subscription I created from the stripe dashboard such that the `billing_period_start` I see in my webhook matches the desired date?

Related Request ID(s)
N/A

What have you already attempted?
I haven't tried anything just yet.

What are you working on?
AI image generation

cursive heronBOT
#

@manic tundra pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Is there any way to test the Apple pay on test account/sandbox on stripe terminal. We are using reader of type [BBPOS WisePOS E].
If so It seems we need to use actual Apple card, Are we going to be charged.
https://support.stripe.com/questions/testing-apple-pay-with-stripe

Question
req_b36CeBGfuSu70v,req_ZWLFRSNIbtGTOI

What have you already attempted?
Not able to test anything as of yet for Apple pay

What are you working on?
For sub_1R77UcK8SGfgbRnh93mmhD5R the Billing method is [Charge specific payment method] though seems to be expired but still charge went through.

cursive heronBOT
#

@latent anvil pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Im having issues getting ApplePay to show up in the ExpressCheckoutElement. I added my domain in the dashboard, googlepay shows up fine but not apple pay, i get a console log saying i need to verify the domain. Which ive done already since googlepay works. What am I missing? In the docs it says something about having to do it via api for connect platforms, but I dont understand it which connect id to use.

Related Request ID(s)
none

What have you already attempted?
Ive tried readding domain, reaching out to customer support. I need more technical help please.

What are you working on?
Donation managemtn platform

cursive heronBOT
#

@finite tree pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Scenario:
I created a product, ProductB, with a yearly recurring price of $100.
A customer subscribed to ProductB at $100 per year.
Later, I created a new price of $200 for ProductB.
However, in the next billing cycle, the customer was still charged $100.

What is the best practice or guideline to ensure the customer is charged $200 in the next billing cycle?

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

What are you working on?
I'm working on the subscription payment

#

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

Question
I keep track of the amount of bytes a user uploads, and I have a few different tiers for how much they can upload.

I want to offer upgrades via the portal, always, but only allow downgrades when their current bytes are less than the downgrade tier amount. Is it possible to have a custom billing portal config per customer, to remove and add eligible tiers? I've read around and seems like no?

Related Request ID(s)
N/A

What have you already attempted?
Other than that I know I can use stripe.subscriptions.update to fully control this programtically, but I still want to offer customers a stripe hosted checkout for this, similar to the portal, but it seems like that's not possible either?

TLDR
Offer upgrades/downgrades programmatically based on their current usage, potentially through a stripe hosted page

What are you working on?
Storage SaaS

#

@broken flower pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
payment_methods = Stripe::PaymentMethod.list(
customer: customer_id,
type: 'card'
)

  cards = payment\_methods.data.map do \|payment\_method\|
    c = payment\_method.card
    {
      id\: c.card.????,
      brand\: c.brand,
      exp\_month\: c.exp\_month,
      exp\_year\: c.exp\_year,
      last4\: c.last4,
      is\_default\: ????,
    }
    pp c
  end

Question
We are currently using Checkout::Session to support 3D Secure.
Since it seems that card information will no longer be retrievable from customer.sources, we are considering using PaymentMethod instead.

In this case, how should we set the default card?
Additionally, how can we obtain the card ID (card.id)?

What have you already attempted?
Previously, we were able to retrieve it from Customer, but it seems that we can no longer do so.
I considered using the Card API directly, but it appears that it cannot be used via the SDK.

What are you working on?
CtoC (Consumer to Consumer) service

cursive heronBOT
#

@willow grove pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlinx/parcelize/Parceler;
at com.stripe.android.payments.core.authentication.threeds2.Stripe3DS2NextActionHandler.onNewActivityResultCaller(Stripe3DS2NextActionHandler.kt:51)

Question
Using Stripe Android SDK within our Compose app, but kept getting this error when presenting 3DS sheet.

What have you already attempted?
Search internet and Github issue

What are you working on?
Showing 3DS in Android app

#

@languid rapids pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Payout setting for Stripe connect express account to NOT require at least one bank account does not work or has a bug or I have a miss-config

What actually happened?
Users are still required to enter banking info or they cannot sign up

Reproduction Steps

  1. Create a parent Stripe account, enable Stripe connect express account and do not require banking info
  2. Create a Stripe express account linked to the parent account and try not to enter banking info

Question
How to fix this? I don't want users to have to enter banking info

What are you working on?
YardPark: the Airbnb of parking

cursive heronBOT
#

@dapper musk pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-apple-pay

Question
I have integrated this for our apps following react native documentation guide, I can see that the applepay button shows on our simulator, but when tested on real device, it doesn't show. Do you know the condition that allow the applepay button to show?

We are in Indonesia but using SG account on the device we use for testing.

What have you already attempted?
We have check out the documentation and try asking around but couldn't find anything about this.

What are you working on?
Applepay integratino using stripe react native sdk

#

@broken flower pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to set the card used in the checkout.session.completed event as the default card during the initial Checkout, but the post data does not include the payment_method. What should I do?

Related Event ID(s)
evt_1R7DXcJeNdmp8jhmO2kF3Vla

What have you already attempted?
I checked if itโ€™s possible to retrieve the card information from the invoice ID, but it seems it cannot be done.

What are you working on?
CtoC service

#

@mellow narwhal pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const product = await stripe.products.create({
name: title,
description: description
});

Question
I am working on international payments in my web application. For Subscriptions that I am creating do I need to configure the product in any specific way to ensure that people from countries other than the US can pay for it properly? I already have regular one time payments working with international payments. Just trying to expand this to recurring payment products.

What have you already attempted?
Implemented International payments for my regular one time payment intents.

What are you working on?
Web Application

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://dashboard.stripe.com/settings/billing/automatic

Question

  1. Should only need one email that includes all subscriptions items (subscription items: 1.Broker Website, 2.Agents and 3.MLSs) instead of 3 emails, like we get now.
    See screenshots: https://go.screenpal.com/watch/cTnt2xn16Fc
    https://screenrec.com/share/hxL1GQZ5kV

What have you already attempted?
i couldn't see this option here https://dashboard.stripe.com/settings/billing/automatic

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.

Discord will re-open at 1pm UTC

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

#

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

Question
Can you attach a billing meter to a graduated price for subscription through the api or is this only available for usage pricing

Related Request ID(s)
n/a

What have you already attempted?
Can you attach a billing meter to a graduated price for subscription through the api or is this only available for usage pricing

#

@cerulean shale pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there Stripe Team. I've been running a Stripe Connect Platform for the last two years setup to handle direct charges for my connected accounts.

I'm trying to prepare a transition plan for my connected accounts as I've been told our platform no longer meets terms of service.

Can you let me know if the subscriptions initiated on our platform (all of which are direct charges) will persist even after our account is closed?

The subscriptions were created using standard checkout pages we created using our platform API key. They included an application fee as part of the transaction.

Related Request ID(s)
NA

What have you already attempted?
I am preparing to transition to customers using their individual stripe accounts for continuity. I am looking to understand how subscriptions will be handled in the case our platform closes.

What are you working on?
We were running a fundraising platform for non-profits. We offered non-profits optimized donation pages that flowed to their stripe checkouts

#

@winter shuttle pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to identify subscription is resumed after pause

Related Event ID(s)
subscription.updated

What have you already attempted?
I am using subscription.updated event to handle subscription pause and resume. But subscription.updated event also triggers when subscription is charged. Resume and Charged payload is same. How can I know which one is for resume and charged

What are you working on?
Webhook

cursive heronBOT
#

@vagrant kayak pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
API Schedules discount potential bug.
https://dashboard.stripe.com/test/logs/req_DvwAOYHy0GFojL
https://dashboard.stripe.com/test/logs/req_gef5yPPNwBr5sD

Updating phases is making to applied the coupon a second time that I don't want.

Related Request ID(s)
NONE

What have you already attempted?
Update a subscriptions phases , is making duplicate redeem of the coupon.

What are you working on?
Migrating users to new plan price.

#

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

Question
We want to use auto tax in USA and Canada correctly and need to collect the zip code from the customers. The stripe card element supports showing the zip code field. However, it only validates syntax and not correctness. What is the best practice for validating a customer's zip code? For example I was able to create a free trial with a zip code of 11111 (invalid but syntacticly correct). Is the built in validation enough? Should it be validated before or after clicking pay? Before would not make sense since it would be overridden by the stripe card zip field again. Curious on best practices here. Also how would I grab the zip code from GPay/APay/PayPal if card was not used?

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

What are you working on?
Online subscription service with free trial option. Express Checkout, offering card, google pay, apple pay and paypal. Need to be able to grab the zip code correctly and verify it.

cursive heronBOT
#

@abstract coral pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
Block voucher / promo code on upsell ?

What have you already attempted?
Hey,
Is there a way to block promo code when there is an upsell selected by the user ?

User create a checkout session of a monthly based subscription product, and we add a ponctual payment upsell product if user wants it, so I want to know if it's possible to block promo code only if he selects the upsell

What are you working on?
A subscription based software

#

@covert zodiac pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have a question regarding payout fees. Could you please clarify how a payout amount can be lower than the charged payment amount?
Our integration currently extracts the fee from the payoutโ€™s balance transaction. We use this value to represent the fee for a payment where, for example, a $125 payment results in a net amount of $123.92. In our case, the fee is expected to be $1.08. However, the fee retrieved at the payout level is coming through as $0 -payout has one payment.
Could you please explain if there are any hidden costs or other factors that might be affecting this calculation?

Related Request ID(s)
NA

What have you already attempted?
Searching the documentation

cursive heronBOT
#

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

Question
So, I am implementing Connect and using the hosted onboarding option "currently_due" for better onboarding conversion. Because of that, and future requirements, I need to notify the user and also determine how the UI should prompt them to update and provide the required information.

Now, besides "charges_enabled", "payouts_enabled", and "details_submitted", I am also storing "requirements_currently_due", "requirements_past_due", and "eventually_due" in my database.

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

cursive heronBOT
#

@sharp siren pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, getting an error for payment intent confirmations:
Missing required param: shipping[name]

How is this possible? We sell digital products, so it does not make sense to collect shipping addresses

Related Request ID(s)
req_CCe6n98JlVVUE2

What have you already attempted?
n/a

#

@crystal dust pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
paymentRequest.canMakePayment().then((result) => {

// result is aways null
if (result?.googlePay || result?.applePay) {
setExpressPaymentRequest(paymentRequest);
}
paymentRequest.on('paymentmethod', onExpressCheckoutSubmit);
setIsLoadingCanMakeExpressPayment(false);
});

Question
The Google Pay express checkout button does not appear in test mode on a Mac. The issue occurs when using the test version of Google Chrome in Brazil. This happens even when connected to a US VPN. The setup includes a Google Wallet/Business account with a valid American credit card. However, the same setup works on other teams notebooks located within the US.

What have you already attempted?
valid https to the whole request chain, different credit cards, US addresses, VPN for US location.

What are you working on?
Append AmazonPay as a payment method.

#

@white briar pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
About the clientSecret, the documentation reads the following: "The client secret can be used to complete a payment from your frontend. It should not be stored, logged, embedded in URLs, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret."

This has triggered some reactions amongst our developers if the clientSecret should be allowed to be sent to the frontend. From the documentation there doesn't seem to be another way around it and from my interpretation the clientSecret is not an actual "client secret", I guess the question is: -- What can a bad actor do with a clientSecret?

Doc/Guide Links
https://docs.stripe.com/payments/payment-intents#retrieve-the-client-secret

https://docs.stripe.com/api/payment_intents/object#payment_intent_object-client_secret

What are you working on?
checkout form

#

@forest saddle pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an issue with incomplete payments triggered from invoices that involve customers without a payment method inserted in stripe. I have two accounts, one in the uk and one in germany. The issue is related to the germany account. Basically, as for the uk account, I would expect a invoice.payment_failed event to be triggered. This is not the case

Related Event ID(s)
pi_3Qybf4Fkdr5S24UD1u8LT1yd

What have you already attempted?
I compared two accounts in two countries to understand if there is some configuration that is different

What are you working on?
Software developer for a fibre service provider

#

@stoic flower pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currently we have a checkout page for a product bundle that already has a coupon discount applied forever.

We want to change it to give a bigger discount on the first invoice. And keep the original discount for the next invoices.

We managed to implement it, by creating an initial coupon of type once and then after the first invoice is paid, we applied the other coupon of type forever. We're using the webhooks to get notified about the payment of the first invoice.

The problem is that, during the checkout page it's being displayed that the next invoice will be paid in full price (bad for UX)

Related Request ID(s)
req_K9Bo3ErnjyfRd9

What have you already attempted?
We are considering creating our own checkout page instead of using Stripe's Checkout Session, which is what we're currently using. But that would take too long for our deadline.

What are you working on?
Add custom discount for the first payment of a subscription and then another discount forever for the next invoices

#

@nova bough pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi. We are working on adding payment methods to our stripe integration however are having an issue with clearpay. When we try to create a payment intent, we get an invalid request error stating "The provided payment method types (['afterpay_clearpay]) do not support on_behalf_of". Does clearpay have any additional requirements we should know about?

Related Request ID(s)
req_r5CuqzWXJZVijD

What have you already attempted?
We checked the capabilities for the account and made sure that payment method was on

What are you working on?
Upgrading a stripe integration for software so that it can support multiple payment methods

#

@karmic root pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm integrating stripe connect in my web site on nodejs but I have some problems to implement the connected acount creation when users do not finalise the creation. How to automate these creation and ensure that the user has finalised, with webhooks ?

Related Event ID(s)
I don't know

What have you already attempted?
I have created the account, the accountLinks and the createLoginLink.

#

@coarse bough pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are investigating an implementation of stripe in our software. Is it reasonable to only support instant payment methods? We are looking to not implement webhooks. Is there any gotchas? How do we go about limiting our stripe implementation to only instant payment types?

Related Event ID(s)
None

What have you already attempted?
Nothing yet.

cursive heronBOT
#

@ripe shale pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
You previously attempted to charge this card. When the customer's bank declined that payment, it directed Stripe to block future attempts.

Question
Can you please unblock a specific customer card?
Customer id:cus_GMBKMTlFLIrsVZ

What have you already attempted?
We discussed the issue with our customer, who then reached out to their bank. The bank confirmed that they have not blocked or denied access to our website.

#

@abstract dagger pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
A stripe connect customer added BACS Direct Debit, but it's still "off" on our side for the stripe connect. His checkout that he creates from his stripe account includes BACs as a payment option, but the checkout session we create on our side does not because it's turned off.

Related Request ID(s)
n/a

What have you already attempted?
We went on their stripe connect account and manually turned it on under their payment methods. We'd like to automate this or do whatever they have set on their stripe account already. Doesn't seem like they're in sync.

cursive heronBOT
#

@robust haven pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking for advice on best practices to handle a subscription schedule with a trial period.

When a user signs up, they get a 14 day trial. During that time, they can checkout on our site using Stripe Elements and provide the number of users they want to pay for (yearly subscription).

We set the trial days during signup to the number of days remaining on their trial from signup. During the trial, they should be able to make changes to their subscription and change the number of users. Once the trial is over, they should be changed for the number of users they have on the subscription at that time.

Currently, I am accomplishing this by creating an invoice, but that seem

Doc/Guide Links
https://docs.stripe.com/invoicing/integration#create-invoice-code

What are you working on?
Developer tools for AI code reviews.

#

@ember sentinel pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Vendor address should appaer on charge receipts.

What actually happened?
It only appears on invoices and invoice receipts.

Reproduction Steps
Longer explaination below in thread.

Question
How can I ensure our address appears on charge receipts?

What are you working on?
Scholastica, a publishing platform for academic journals

cursive heronBOT
#

@coarse bough pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am a bit confused about when to submit an order in our system using stripe. We intend to use embedded form. If we cannot wait for the return url, what event can we use to submit an order on our side? I got the impression users don't always wait for the return url. How do we know the user is finished with the embedded form?

Related Request ID(s)
None

What have you already attempted?
Nothing yet.

cursive heronBOT
#

@lone leaf pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My question is regarding Stripe Connect. End goal is to send payouts to platform users of my SASS product.

I am trying to create a bank account to be used with stripe connect.

I have tried using CustomerPaymentSourceService from .net sdk, but cant find the documentation anywhere... Expecting to pass in connectedAccountId along with bank account number and sort code.

Related Request ID(s)
Create Account -> Create Connected Account Bank Account

What have you already attempted?
Tried this as found something similar on docs but it doesnt recognise the fields

public async Task AddBankAccount(string accountId, CreateBankAccountDto bankAccount)
{
var options = new CustomerPaymentSourceCreateOptions
{
ExtraParams = new Dictionary<string, object>
{
{ "source.account_number", bankAccount.AccountNumber },
{ "source.account_holder_name", bankAccount.AccountName },
{ "source.account_holder_type", "individual" },
{ "source.currency", "gbp" },
{ "source.country", "GB" },
{ "source.ob

What are you working on?
Payout customers in my SASS product

cursive heronBOT
#

@coarse bough pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are planning to implement stripe via embedded form. We collect additional data on checkout before the form is shown. We would like to submit this data when the embedded form is complete. Is there a way to listen for a submit button press on the form? If not can this be done by elements?

Related Request ID(s)
None

What have you already attempted?
Nothing yet.

cursive heronBOT
#

@slim anchor pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Uncaught Error: [data-cc-card] is not a valid field selector.
at t.validateConfig (client-2.0.0.js:1:10908)
at t.createAsync (client-2.0.0.js:1:28793)
at window.firstdata.createPaymentForm (client-2.0.0.js:1:36468)
at Payment:487:26

Question
Why would I be getting an error like this when it works half the time. I do have it as a valid field

What have you already attempted?
I have tried to mess around with this object on the page and still constantly getting this error.

What are you working on?
Payment page

cursive heronBOT
#

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

Question
We have a stripe app that retries failed payments. We have a new customer that is requiring a client_secret (error: Missing required param: client_secret) when confirming the payment intent. But our other customers don't require this. I'd like to know why / in what cases this is needed

Related Request ID(s)
req_qe4kroB6U9LBH6:

What have you already attempted?
Passing in the client_secret works, but we need to know when this is required

#

@ripe pasture pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we are using the module stripe and attempting to list the cards the customer has like such:

def list_payment_methods(*, customer_id, **kwargs):
return stripe.Customer.list_payment_methods(customer_id, **kwargs)

however, the customer has 25 cards and we are only receiving 10 back. is the response paginated and how can we access the rest of the data?

Related Request ID(s)
n/a

What have you already attempted?
n/a

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 1 PM GMT on Monday the 31st of March 2025. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

cursive heronBOT
#

@balmy sun pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripe->subscriptions->create([
"customer" => $cle,
'items' => //...
"payment_behavior" => 'default_incomplete',
"coupon" : ...
"payment_settings" => ['save_default_payment_method' => 'on_subscription']
]);

Question
Hi!
How can I force payment method collection with subscription when the total amount is 0$? I have `default_incomplete`, but the subscription is completed without a payment method (the subscription is not in an incomplete state). Only the first invoice is 0$.

What have you already attempted?
Read the docs, tried customersession

#

@sly crane pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Connect account can manage disputes for platform destination charges with on_behalf_of using the Payment Detail embedded component

What actually happened?
Platform says Charge is not found

Reproduction Steps
Create Destination Charge with on_behalf_of specified. For the on_behalf_of Connect account, instantiate the Payment Detail embedded component and attempt to refund the destination charge

Question
e are trying to give Connect Accounts the ability to manage refunds and disputes via the Payment Details embedded component as described here : https://docs.stripe.com/connect/supported-embedded-components/payment-details?lang=dotnet#allow-your-connected-accoun[โ€ฆ]o-manage-destination-charges.

What are you working on?
Connect setup where the Platform is processing payments at buy rate on_behalf_of Connect Accounts and monetizing payment

#

@manic marsh pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I was working on stripe connect, and I needed to have the ability for all transactions to end up on my connect

What have you already attempted?
I would need to figure out how to set up a connect where automatically for every payment I receive the funds are transferred there

#

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

Question
Can we use setup intents reliably to grab the user's address when the user pays with Google Pay, Apple Pay or PayPal? Is there a difference in reliability using Setup Intend vs Payment Intend? Is it even feasible to grab the user's address when using setup intends? We need the address (mainly country and zip code) reliably for tax purposes.

Doc/Guide Links
https://docs.stripe.com/js/element/payment_element

What are you working on?
Online service with subscriptions and free trials. You can read about it in the previously closed thread. https://discord.com/channels/841573134531821608/1355175494936428765

#

@tepid verge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need help using the billing portal to update a subscription.

Related Request ID(s)
req_rGDDO19eh6rnq6

What have you already attempted?
I'm trying to update a subscription by adding a product/price to a subscription using the billing portal with a subscription_update_confirm configuration but it seems it doesn't work as close as the subscription update direct api as i cant pass an item without an id

What are you working on?
Trying to use the checkout and billing portal object to manage as much as possible the subscription with low code.

cursive heronBOT
#

@covert zodiac pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm adding dynamic tax rates to a Stripe Checkout Session using .addDynamicTaxRate(), but the tax details don't appear in checkout object. Additionally, when I try to retrieve the line items from this Checkout Session (using the /v1/checkout/sessions/{SESSION_ID}/line_items endpoint), I only see the tax amount, but not the ID of the applied tax object or the tax_rate object itself. How can I retrieve the specific tax rate that was applied to the user's session based on his billing address?

Related Request ID(s)
Session object: cs_test_b1LUJ6XgMsUXxl1ssqrkJe2UyBh30b282HLfhVKBO7bHKvnbtx4nLkpR2t

What have you already attempted?
Search documentation at this link: https://docs.stripe.com/payments/checkout/use-manual-tax-rates?payment-ui=stripe-hosted&lang=java#dynamic-tax-rates

#

@faint tundra pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
new SessionLineItemOptions
{
// Provide the exact Price ID (for example, pr_1234) of the product you want to sell
Price = "{{PRICE_ID}}",
Quantity = 1,
},

Question
If you're selling services that vary in price per user, how would you indicate the Price above? In other words, there's no set product with a specific price. It needs to allow dynamic pricing.

What have you already attempted?
Not sure what to attempt here so your help is appreciated.

What are you working on?
ASP.NET web application

#

@vagrant kayak pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Updating API Schedules Phases with discount once time is applied indefinitely, why?

Related Request ID(s)
NONE

What have you already attempted?
I updated the phases and a cupรณn was added, but its applied indefinitely on every invoice.

Phases updated
https://dashboard.stripe.com/test/logs/req_fDjQGCFdIS9Mk4

User subs:
https://dashboard.stripe.com/test/subscriptions/sub_1R7GlOE8gsL5R1XuzpcwXmZO
https://dashboard.stripe.com/test/coupons/MIGRATION3_LIMIT

Using Clock feature.

some invoices:
https://dashboard.stripe.com/test/invoices/in_1R7KoTE8gsL5R1XueBb8tVcD
https://dashboard.stripe.com/test/invoices/in_1R7KoCE8gsL5R1XuKMJgmp5W

What are you working on?
Migrating users to a new plan

#

@stoic trail pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, i have a client that if a payment with saved payment method fail, instantly send a link of a checkout session to redeem the money the customer need to pay instead of waiting for the automatic stripe retry, is there a way to prevents those retry ? And is this best practice ?

Doc/Guide Links
Checkout session and payment docs

What are you working on?
Plateform that collect money of many businesses and transfer it to the right connected account afterward

cursive heronBOT
#

@indigo holly pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When testing payment using Stripe-provided Amex test card on Stripe Element UI, I'd expect it to fail with a CVV code that's not 4-digit in length.

What actually happened?
It did fail when entering a CVV of 2-digit, but it let it pass with a 3-digit CVV

Reproduction Steps
As described above, pretty easy to replicate.

Question
So does Stripe not enforcing CVV validation in test mode according to the test documentation?

What are you working on?
On-boarding Stripe, building api integrations.

cursive heronBOT
#

@flat zodiac pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When supporting bank payment methods, how do you associate a bank payment method that is pending micro-deposit verification with a given customer?

Pending verification bank payment methods are not linked to the customer yet, and do not show up when listing payment methods.

I was looking to derive customer payment methods by listing setup intents for a given customer, but it seems there can be duplicates.

Doc/Guide Links
https://docs.stripe.com/api/payment_methods
https://docs.stripe.com/api/setup_intents

What are you working on?
I work for Docker to implement billing systems

#

@amber steppe pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Would like some guidance implementing subscription upgrades from lower -> higher tier.

Android Subscriptions support an interesting upgrade mode here: WITH_TIME_PRORATION https://developer.android.com/google/play/billing/subscriptions#replacement-modes

How would I make the same type of subscription upgrade as this for my Stripe subscriptions?

Example:
- Customer on a $20/year plan, they have half of their time remaining ($15 value)
- Upgrade Customer to a $10/month plan
- Initial invoice: $0
- Next billing cycle & regular invoice is 1.5 months out ($15 of value in the new plan)

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

@sour mulch pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Working on an elements integration. I'm on step 6 here: https://docs.stripe.com/payments/save-and-reuse?lang=node#submit-payment-details but would like to know if it's possible to redirect when the form save is made. The form is housed in a modal on a screen and I want to be able to capture the I just want the modal to close and then to be able to confirm the setup when the modal is closed and display the results on the screen under the modal.

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@pine swallow pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Complete a test payment with Google Pay

What actually happened?
I received a "REQUEST_TIMEOUT" error after confirming the test payment in the Google Pay window!

Reproduction Steps
This is for an in-house-developed insurance application.

- Complete the onboarding un the payment form (Using express checkout)
- Click on the GPay button
- Ensure it's a test payment in the pay.google.com popup
- Click "Continue"
- Get the "REQUEST_TIMEOUT" after some 30 sesc.

Question
How can I diagnose what the issue is?

I'm using my personal card for testing, the button was rendered correctly and everything seemed as it was going OK, but it wasn't.

What are you working on?
Adding the express checkout button to enable Apple Pay and Google Pay to an existing application using Stripe Elements.

#

@rare hare pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
index-CNqlFGLH.js:1214 Error response: null
index-CNqlFGLH.js:1214 Error setting up Stripe account: Error: Error al crear la cuenta de Stripe (405)
at f (index-CNqlFGLH.js:1214:52760)
index-CNqlFGLH.js:1214 Error response: null
f @ index-CNqlFGLH.js:1214
index-CNqlFGLH.js:1214 Error setting up Stripe account: Error: Error al crear la cuenta de Stripe (405)
at

Question
Hey, i try to make a process of Stripe Connect in my platafom, and does not work the button to make people go to Stripe and connect

What have you already attempted?
Changed URLs and asked AI

cursive heronBOT
#

@patent siren pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What happens when your account closes? Do I get my money which is still in the account

Related Request ID(s)
Na

What have you already attempted?
Iโ€™ve tried to contact stripe but they are not responding

cursive heronBOT
#

@hallow dawn pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Local webhook stopped receiving events from yesterday without any change

Related Event ID(s)
any event

What have you already attempted?
- updated stripe cli
- udpate stripe nodejs package
- tried to resend the event from the cli and got back `no session`

#

@fathom lily pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to get interchange pricing on a single transaction (instead of pulling down custom reports)?

Related Request ID(s)
n/a

What have you already attempted?
Reading documentation on Stripe Docs

#

@faint tundra pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Uncaught (in promise) Unable to load image data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iSW5saW5lU1ZHIExpbmtCdXR0b24tbG9nb1N2ZyIgZm9jdXNhYmxlPSJmYWxzZSIgdmlld0JveD0iMCAwIDcyIDI0IiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjMDExRTBGIiBkPSJNMzYuMTIgMy42NzdjMC0xLjEyOC45NS0yLjA0NSAyLjA2OS0yLjA0NSAxLjExOCAwIDIuMDY5LjkyMiAyLjA2OSAyLjA0NWEyLjA3NSAyLjA3NSAwIDAgMS0yLjA3IDIuMDY5IDIuMDU3IDIu

Question
This error's thrown when implementing the example described here: https://docs.stripe.com/checkout/quickstart. The checkout page loads and looks okay but has multiples of these errors in the console

What have you already attempted?
The error's being thrown from somewhere inside the stripe API

cursive heronBOT
#

@naive robin pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Webhook handler for asynchronous events.
app.post('/webhook', async (req, res) => {
let data;
let eventType;
// Check if webhook signing is configured.
if (process.env.STRIPE_WEBHOOK_SECRET) {
// Retrieve the event by verifying the signature using the raw body and secret.
let event;
let signature = req.headers['stripe-signature'];

try {
  event = stripe.webhooks.constructEvent\(
    req.rawBody,
    signature,
    process.env.STRIPE\_

Question
I followed the documentation to set up an express checkout and it included a webhook, is it truly needed?

What have you already attempted?
It seems to work without it, although I recevied this email from Stripe "We have disabled your webhook endpoint so it will no longer receive these events from Stripe. If you'd like to re-enable your endpoint once you've fixed the problem, click the Enable button for the webhook endpoint in your Stripe settings."

#

@queen epoch pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Weโ€™re using the ExpressCheckoutElement with Apple Pay and Google Pay for our payments flow. Our use case involves placing a temporary hold (authorization) of $50 using a PaymentIntent with capture_method: "manual", and then capturing the final amount later based on usage.

It would be great to show that this payment is a "hold" - I have seen apple pay show "amount pending" in the past but I cannot replicate that behavior. If there is some way to make it more obvious during the checkout flow that this is a "hold" and not the final amount they will be charged that'd be great

Related Request ID(s)
evt_3R8nPtEAeCrNa7ig1pU805Xa

What have you already attempted?
I have tried doing the paymentIntent and setting the capture method to manual since that's my understanding on how to do a preauth but when you go to pay it looks like I am going to be charged $50 which is scary

What are you working on?
We are making an EV charging product where customers can scan and pay for charging. We do a preauth to ensure they are able to pay and then enable charging. We charge final amt when charging completes

cursive heronBOT
#

@crystal tundra pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I display product images on the stripe checkout page, that are hosted on Azure?

Related Request ID(s)
req_JtBXKKvl91WZJD

What have you already attempted?
In the checkout session I have added the image urls to the line items price data product data, but the image on the stripe hosted checkout page doesn't display them at all. The images are hosted on Azure blob storage and have anonymous access enabled

What are you working on?
group management saas

#

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

Question
We have a stripe app that retries failed payments. We have a new customer that is requiring a client_secret (error: Missing required param: client_secret) when confirming the payment intent. But our other customers don't require this. I'd like to know why / in what cases this is needed

Related Request ID(s)
req_qe4kroB6U9LBH6

What have you already attempted?
Passing in the client_secret works, but we need to know when this is required

cursive heronBOT
#

@unreal reef pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are running two versions of our stripe-service microservices. The legacy version, using Stripe Library Java 5.31.0 (2017-01-27) and Card entity for subscriptions/invoices, will run alongside a new version using Stripe Library Java 28.4.0 (acacia) with PaymentMethod entity for new card management. Can these coexist without affecting subscription renewals, given our default Stripe API version remains 2017-01-27? Also, can we create subscriptions with off_session true using SetupIntent and still allow Stripe to automatically charge renewals?

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

What are you working on?
Dual Stripe-Service Deployment: Legacy Subscriptions & New PaymentMethod Integration

cursive heronBOT
#

@past harbor pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const elements: StripeElements = stripeInstance.elements({
...
});

const paymentElement = elements.create("payment", {...});

Question
We're creating a payment element with the Javascript SDK, enabling a zip code and country selection field for card payments.

I'd like to react to users changing their country but it doesn't seem to be possible.

What have you already attempted?
I tried adding a change handler with

paymentElement.on("change", (event) => {

But this does not contain the country that the user chose, just the payment method if it was switched.

What are you working on?
A web funnel checkout page for yearly SaaS subscriptions

cursive heronBOT
#

@prime falcon pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"subscription_update": {
"default_allowed_updates": ["price", "promotion_code"],
"enabled": True,
"products": [
{
"product": "prod_xxxx",
"prices": ["price_xxxx],
],
},
{
"product": "prod_yyy",
"prices":["price_yyyy"]

Question
It is possible to allow a customer to update an existing subscription by adding a promotion code through customer portal, without changing product or price?

What have you already attempted?
I can do a workaround by creating to production with same name and price, allowing the customer to switch and apply a new promo code. However it appear impossible to update an existing subscription with just a promo code.

What are you working on?
I am trying to implement a refer a friend system where users gets promo codes as rewards. I would prefer if the customers could input these in the customer port

#

@queen epoch pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On my previous question in #vineet_api I got feedback that I can try the Merchant Initiated Token and use the deferred payment approach. Is it possible to pass in the applePay configuration into the React <ExpressCheckoutElement />?

https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#merchant-initiated-transactions

I don't see how to pass these options into that component and I configured everything so far to use this component.

Related Request ID(s)
evt_3R8pKaEAeCrNa7ig0xhhYa13

What have you already attempted?
I tried passing in applePay into the options but it was not a valid option. The docs up until that snippet guide me to use the ExpressCheckoutElement component so I would love to be able to try this approach using that component

#

@manic marsh pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
connect account, working oauth2

Question
I would like to figure out via api how I can get the oauth2 token in order to have my users authenticate to the connect

What have you already attempted?
I saw the docs, I would like to understand better if possible how to get it

#

@unreal shoal pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
For the tap to pay , how can i test the code pin on android sdk in simulated mode

What have you already attempted?
I can test the sample mode without the code pin requirement

What are you working on?
Mobile payment application

cursive heronBOT
#

@violet salmon pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We received an email today stating that Radar would start to review ACH payments. Due to the nature of our clients, we are not worried about fraud, as we by definition know precisely who are clients are. So there isn't any risk of them using false ACH payment information. So we want the fraud detection to be as permissive as possible so as to avoid false positives that cause hassles for our clients. The email implied that you could opt out of the new fraud detection, but we haven't been able to find any documentation about it.

Doc/Guide Links
https://support.stripe.com/topics/radar

What are you working on?
We are a legal services company

cursive heronBOT
#

@sudden maple pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am attempting to create a tax calculation and record a tax transaction on a payment intent.

I have implemented the suggested code in the API docs.

Why does it not automatically link the transaction and calculation to the paymentIntent?

Related Request ID(s)
req_HHgX7L6pTr3pSX

What have you already attempted?
I have attempted the suggested requests for the node.js example code in the docs:
https://docs.stripe.com/tax/custom#calculate-tax

What are you working on?
Building a solution for payments in a platform

cursive heronBOT
#

@viscid nova pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The customer should be charged automatically

What actually happened?
The charge doesn't go through with error stating Incorrect PIN

Reproduction Steps
I created a subscription for the customer and after the setup intent succeeds and payment method is attached the customer is charged in the future automatically using invoices

Question
When setup intent is set with usage off session and invoices to charge automatically why does it fail with error as Incorrect PIN

What are you working on?
I am currently working on a IaaS platform where users pay as they use the service

cursive heronBOT
#

@winter schooner pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have attempted to create a virtual card via api, and receive the response back. "This cardholder has outstanding requirements preventing them from activating an issued card. Read more at https://stripe.com/docs/issuing/cards"

Related Request ID(s)
req_TyBbGYxbFiZcYP

What have you already attempted?
I've attempted to go in and manually activate or see if there was some requirement I'm missing on the dashboard, but I can't find anything. I am unable to activate it via the dashboard as well.

What are you working on?
I'm building an application that will distribute virtual cards to users for electronic services.

cursive heronBOT
#

@viscid sail pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Code does not yet exist - building atm

Question
We currently have all of our client's tickets running through our platform account, but are wanting to move them to their respective stripe connect accounts for scale. However, we need a method to ensure the client ends up with an exact amount after funds are processed on each transaction - can we code in a way for stripe's fees to be taken out of our platform fees?

What have you already attempted?
Tried to talk to support via phone - told me to come here.

What are you working on?
We run a ticketing platform.

cursive heronBOT
#

@sour mulch pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why am I getting this error?

Error: "Could not find Elements context; You need to wrap the part of your app that calls useStripe() in an <Elements> provider."

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

@subtle lava pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const product = await stripe.products.create({
name: `Campaign : Montreal - ${new Date().toLocaleTimeString()}`,
});

const subscription = await stripe.subscriptions.create({
customer: customer.id,
items: [
{
price_data: {
product: product.id,
currency: "cad",
unit_amount: 0,
recurring: {
interval: "month",
interval_count: engagementPeriod,
},
},
},
],

Question
My users create campaigns.

They provide multiple daily budgets per region.
exemple:

{region}-{daily budget}
region1-10$
region2-15$
region3-5$

engagement period: 3 months

total should be (10+15+5) * 3 months = 2700$

Based on this plan, user should be charged 2700$ on campaign creation. Also it will be renewable hence why subscriptions.

Problem. Stripe subscription are limited to 20 items per subscription as mentioned multiple times in this discord.

What have you already attempted?
Ive tried go go around by trying the following:

option 2.a: create subscription with a single item of 0 $ THEN add invoice items that represent each daily-budgets/region provided by the user.

problem: subscription is active right away even if not paid as single subscription item is set to 0$.

option 2.b) do the oposite. use total in single sub item and add multiple invoice items as 0$.

option 3: just create my own invoice and link it to stripe invoice and use metadata

What are you working on?
web app where use can create custom campaign (subscriptions)

cursive heronBOT
#

@inner drift pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using the subscription's "Update a subscription" feature to change the products in a user's subscription and have encountered a few questions:

  1. When creating a subscription, we want one of the products to be priced at $0 initially, but charged at the original price upon renewal.
  2. When changing a product in a subscription from $20 to $10, we do not want a refund to be issued.
  3. When adding a product to a subscription, we do not want to charge a prorated amount immediately, but instead charge the full price upon renewal.
    Are there any ways to achieve these?

Related Request ID(s)
no

What have you already attempted?
After reading the official documentation and implementing product modifications, we reviewed the invoices and found that they do not meet our business requirements.

cursive heronBOT
#

@viscid meadow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can we get an estimated tax preview in the Stripe Apple Pay component?

Related Request ID(s)
n/a

What have you already attempted?
The payment itself calculates and charges sales tax just fine, but we haven't figured out how to get the preview to display a calculated sales tax amount. Currently we use the deprecated Payment Request Button, but are happy to upgrade to the Express Checkout Element. It seems like maybe we can use the shippingaddresschange, and then use the shipping address provided to calculate sales tax, but we also have some digital products, for which we'd like to use billing address to calculate tax.

cursive heronBOT
#

@lyric leaf pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our products and prices have been set up to use automatic tax behaviours. The checkout portal then automatically infers the tax amount for the subscription that the user has selected. I would like to get what is the total cost including tax that the user paid for the subscription.

I do not think getting the latest invoice issued to the customer is sufficient because invoices can be partial due to proration.

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/object?shell=true&api=true&resource=invoices&action=retrieve

https://docs.stripe.com/api/invoices/object?shell=true&api=true&resource=invoices&action=retrieve

What are you working on?
Working on a subscription update preview to show what the current price of the subscription including tax they are paying. And if they update their subscription what the new price including tax would be

cursive heronBOT
#

@obsidian sigil pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
After a subscription checkout paid using SEPA Direct Debit payments, the subscription is not active until the money hits stripe's bank account (which can take up to 4 days). My company wants to record their subscription and provide them immediate service, but can't identify these subscriptions since the status is not yet active. What is the lifecycle like for a subscription that's paid via SEPA, and is there a reliable method to identify such subscriptions?

What have you already attempted?
N/A

What are you working on?
A customer support dashboard seeking to provide instant service to subscribers that subscribe via SEPA.

cursive heronBOT
#

@compact wedge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For customer portal subscription updates, if a user changes from a $100/year annual plan to a $10/month monthly plan. This change should occur 1 year from now based on my settings. But the changes is scheduled to be applied 1 month from now.

Settings in Customer Portal
Prorate subscription updates: yes

Downgrades:

When switching to a cheaper subscription: change at end of billing period

When switching to a shorter interval period: change at end of billing period

Related Request ID(s)
na

What have you already attempted?
na

cursive heronBOT
#

@sly brook pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why stripe.Subscription.list(limit=100, status='active') returns has_more=False and does not return active subscription? in test mode?
(sub_1R4bw4JZ9pJk48QCV0NUCcyk)

Related Request ID(s)

What have you already attempted?
.

cursive heronBOT
#

@deep flax pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Blocked payments

Question
I don't know what happens with my account that is rejecting many payments through the integration with my store in wordpress, what happens that my customers can't buy?

What have you already attempted?
I tried to configure radar because it told me that it was because the payment had a high rate of being fraudulent but I recognize all customers and the funds are legitimate, I tried with the rules but I don't understand them very well, I tried to deactivate stripe in wordpress and it didn't work I don't know what to do anymore

#

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

Question
We have a โ€œupdate payment methodโ€ feature which allows user to update their credit card. When they update the card we create a setupIntent (which also authenticate the card if SCA is required) and try to pay all the open unpaid invoices. This all works. However, we understand even though we setup the card properly, off-session SCA might still happen randomly. I wonder when it happens, can we work around the issue by letting customers go through โ€œupdate payment methodโ€ AGAIN with their existing card ?

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

@bitter orchid pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"evidence": {
"access_activity_log": null,
"billing_address": null,
"cancellation_policy": null,
"cancellation_policy_disclosure": null,
"cancellation_rebuttal": null,
"customer_communication": null,
"customer_email_address": null,
"customer_name": null,
"customer_purchase_ip": null,
"customer_signature": null,
"duplicate_charge_documentation": nul

Question
I need the details or description for the evidence object arguments in dispute object

What have you already attempted?
Checked in stripe docs

What are you working on?
Automating Dispute management

#

@mortal star pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Error try again, this is the error to show when use tap to pay mode, after tap the card.

Question
I'm using an android device with version: 14, and I use "@stripe/stripe-terminal-react-native": "^0.0.1-beta.23" , "expo": "~52.0.36", "react-native": "0.76.7", the deviceType is a cotsDevice. the error only show when generate the apk in production mode. What can I do? how can see more detail about the error?

What have you already attempted?
I use different cards, I try use @stripe/stripe-terminal-react-native V beta.20 or higher, I checked the logs however I can't see the error

#

@marble lava pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Payment_intents 402 err: Could not initiate autopay with China UnionPay Credit Card. Is there anyway to solve the issue since many of our clients face this issue

Related Request ID(s)
req_mG5IgC419YqfDY

What have you already attempted?
Set this:
PaymentIntent.SetupFutureUsage="off_session"

What are you working on?
Setting up autopay for China UnionPay Card

#

@sour idol pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
need help in application fee percent in subscption

Question
need help in application fee percent in subscption

What have you already attempted?
need help in application fee percent in subscption

What are you working on?
need help in application fee percent in subscption

#

@cerulean forge pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Bluetooth unexpectedly disconnected during operation

Question
I get this problem during connectReader.
I do the discover correctly which returns me the readers found via Bluetooth. The user selects the correct device and I proceed with the connectReader and get this result.
The device has Bluetooth on and the WisePad 3 device is turned on.
The discoverReader correctly finds WisePad 3 but then I cannot connect.

What have you already attempted?
Ho seguito la documentazione in
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=bluetooth#connect-reader

#

@hushed bloom pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm looking into implementing Stripe subscription trials and want to prevent automatic subscription creation at the end of the trial unless the customer explicitly opts in. As I understand, if a customer adds a payment method via the customer portal, a subscription is automatically created when the trial ends. Our goal is to ensure that adding a payment method alone doesn't trigger the conversion of a trial into a subscription. Do you have any recommendations on how to achieve this?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/free-trials?payment-ui=stripe-hosted
https://docs.stripe.com/api/subscriptions/create

What are you working on?
Implementing Stripe Free Trial feature

cursive heronBOT
#

@fickle rapids pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can the payment_intents ID (pi_xxx-xxxx...) or charge ID, and paymentMethod (pm_xxx-xxx..., card_xxx-xxxx...) be exposed to the public with no risk?

Doc/Guide Links
https://docs.stripe.com/api/payment_intents
https://docs.stripe.com/api/payment_methods

What are you working on?
Building a stripe workflow to collect payment from user's credit card details, and need to record a few transaction IDs as the payment succeeds.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/customization/appearance

Question
For Embedded payments, how do you specify the payment types to just Visa, MC, AmEx? Also, how do you hide the "Link", "Amazon Pay", "Klarna"? Is it possible to display the customer's name and address in the embedded pay?

What have you already attempted?
Not sure what to attempt here

cursive heronBOT
#

@agile flame pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm implementing Stripe payments on my Laravel app trough cashier package.

In local environment events are correctly sent to my webhook handler tanks to stripe cli listener with --forward-to option.

After i moved my project to production server, while keeping testing api and publishing a new webhook, events are not being sent at all. The only way to send events to the public webhook on production server is to use stripe cli listener with --forward-to option pointed to my production server webhook url.

Related Event ID(s)
evt_3R91wYJ2jN8uPSGB1HAMvn22

What have you already attempted?
Deleted and recreated webhook many times. Attempted to use Sandbox account.

cursive heronBOT
#

@weak nymph pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
On Stripe Checkout hosted page form, having the Wallet One Click button display (Paypal one click button too).

What actually happened?
One Click wallets buttons are not here.

Reproduction Steps
Soundiiz Stripe checkout form.

Question
Hi!
We have just pushed in production an update to use the "Stripe Checkout" hosted page form. However, the display is not as expected. Indeed, we are not having the "Pay Paypal" or "Link" or "Apple Pay" or "Google Pay" button in the top of the interface but only some listed under the card payment. No very user friendly. See attached screenshot our interface vs anoth

cursive heronBOT
#

@exotic dragon pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to get a Connected account ID From Payout webhook event

Related Event ID(s)
evt_1R93J5Q3UXKwXFECMBjvpHxN

What have you already attempted?
I'm trying to charge my connected account so I can withdraw from their balance but only upon Payout event.
So as soon as payout.paid is triggered I want to transfer remaining funds to my platform account. The thing is that I don't know what account generated payout.paid event. How can I do this or may be there is another way to achieve same behavior.

What are you working on?
.NET API for Flutter App

cursive heronBOT
#

@hot panther pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm integrating Stripe into a React Native app. The docs give a code sample for the backend when creating a payment sheet. It creates an ephemeral key for the customer, and calls `setStripeVersion`.

My questions is about the ephemeral keys as the docs don't mention it other than in the code sample:
- Where do I find the version string that needs to be passed for `setStripeVersion`
- If the version changes (I assume its tied to the react native sdk?) does it mean the existing ephemeral keys become obsolete / unreadable?

Related Request ID(s)
n/a

What have you already attempted?
n/a

cursive heronBOT
#

@modern crypt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I wanna conenct disputifer to my stripe but I don't have my secret key anymore.

Related Request ID(s)
I did

What have you already attempted?
I've tried making a new secret key but it didn't work

#

@odd pulsar pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<ExpressCheckoutElement options={{ buttonType: { applePay: 'buy', googlePay: 'buy' } }} />

Question
The Google Pay button doesn't display "Buy with GPay" when the "buy" button type is selected. The Apple Pay button is displayed correctly.

What have you already attempted?
I checked all button types for Google Pay and only few of them changing button label.

What are you working on?
Express checkout page

cursive heronBOT
cursive heronBOT
#

@manic marsh pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const transfer = await stripe.transfers.create({
amount: paymentIntent.amount, // in centesimi
currency: paymentIntent.currency,
destination: connectedAccountId,
transfer_group: paymentIntent.id,
});

Question
I have this script to send money directly to the connect when I get a webhook notification on stripe of payment intent success, but it gives me this error message
What is the api that makes me do this right away?

What have you already attempted?
Error: You have insufficient funds in your Stripe account. One likely reason you have insufficient funds is that your funds are automatically being paid out; try enabling manual payouts by going to https://dashboard.stripe.com/account/payouts.

#

@sterile plume pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, for refund api - is this limited to time frame meaning , do we need to make the refund in max days from the original transacation? Is there any limit for banks or credit card too?

Related Request ID(s)
pi_3QyrpJDGKiloojLp1KomkbcO

What have you already attempted?
Calling the api

cursive heronBOT
#

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

Question
Hey can I remove a price id from an existing subscription or can I only add prices to a subscription a user has?

Related Request ID(s)
n/a

What have you already attempted?
Hey can I remove a price id from an existing subscription or can I only add prices to a subscription a user has?

cursive heronBOT
#

@raven mountain pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Email receipt clarification needed for connected accounts.

Overview

Said platform is triggering direct charges for standard connected accounts (via Invoice API and Checkout Session API). Is receipt_email required when using checkout session API or will the connected accounts customer emails settings be sufficient? Likewise for invoicing, do I need to update the payment intent since there doesn't seem to be an option on invoice.create?

Related Request ID(s)
N/A

What have you already attempted?
The docs below say they use customer email settings, but then right below mentions "Platform accounts can send a receipt for a connected account by passing receipt_email when making a charge request"

https://docs.stripe.com/receipts#receipts-for-stripe-connect

I've obviously tried both, but with no emails (tried +test_email and email associated with account(s)) being sent in test env, unable to verify.

What are you working on?
sports registration platform

cursive heronBOT
#

@crisp horizon pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm building an app lets users connect their own Stripe accounts to view and manage subscriptions inside my UI. I currently use Stripe Connect with Standard accounts + OAuth to retrieve the stripe_user_id and perform API calls using stripeAccount

However, I noticed something concerning:
When I connect a Standard account in test mode, I can view that connected accountโ€™s full dashboard, including customers, payments, subscriptions, directly from my platformโ€™s dashboard under Connect โ†’ Connected Ac

Is this the recommended long-term approach for multi-tenant access where I don't want visibility into user billing info, and users retain full control over their Stripe dashboard?

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

https://stripe.com/docs/connect/oauth-reference

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

What are you working on?
I'm building a platform that allows users to: Connect their own Stripe accounts View and manage their own customers and subscriptions within my app

#

@ancient silo pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have Gravity forms connected with a webhook on my Stripe api. I am getting this Error: The payment gateway failed to process the request. Please use a different payment method.

Related Event ID(s)
evt_1R97GLLd9wWCuEk9WDybFIU6

What have you already attempted?
I have tried 3 different credit cards and reconnected my Stripe api and webhook.

What are you working on?
creating a form on my website that is built with Gravity forms, that signs users up for a subscription and charges them monthly.

#

@mortal pendant pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I default upcoming invoice to 90 days in advance on yearly subscriptions? Can I extend the current period?

Related Request ID(s)
None

What have you already attempted?
Created an invoice and paid for subscription but the yearly invoice still gets created and sent to the customer at the end of the current period.

What are you working on?
Support for both automatic renewal and manual renewal. I'm trying to implement manual renewals / allow customers to pay 90 days in advance on yearly subscriptions.

#

@sour mulch pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Help auto populating email address in an elements embedded integration.

Related Request ID(s)
N/A

What have you already attempted?
export const stripeModal = ({secret, email}) => {
const options = {
// passing the SetupIntent's client secret
clientSecret: secret,
defaultValues: {
billingDetails: {
email: email
}
},
// Fully customizable with appearance API.
appearance: {
theme: 'flat',
variables: {
fontFamily: ' "Gill Sans", sans-serif',
fontLineHeight: '1.5',
borderRadius: '10px',
colorPrimary: '#F29035FF',
colorBackground: '#FFFFFF',
colorText: '#626360FF',
accessibleColorOnColorPrimary: '#262626',
},

#

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

Question
I'm trying to create an instant payout for a Connected Account that has a bank account attached, but I'm getting an error stating that the external account doesn't support instant payouts.

I'm currently in test mode, using a test account with everything properly configured and turned on. Is there something I'm missing or a specific limitation in test mode that could be causing this?

Related Request ID(s)
acct_1Qf61RGhim54Jws1

What have you already attempted?
stripe.Payout.create(
ย  ย amount=[AMOUNT],
ย  ย currency=[CURRENCY],
ย  ย api_key=[Connected_Account_API_KEY],
ย  ย stripe_account=[Connected_Account_ID],
ย  ย destination=[Connected_Account_Bank_or_Card],
ย  ย method="instant",
)

Give an error

What are you working on?
Instant Payout feature

#

@odd stream pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to create a partial credit note for an invoice but it keeps giving me an error:

error: Stripe::InvalidRequestError: The sum of
credit_amount, refund_amount and out_of_band_amount ($75.73) must equal the
credit note amount ($75.13) on a paid invoice.

I was told by support that this was because I exceeded the total value of the invoice line item that I am refunding for but how would I then include tax?

Related Request ID(s)
req_Tj7Nrx7ZSXfqjI , in_1R7OwdDAWTp2PXOwTzDJKLCu , sco_S1j0FUZnQAjvXz

What have you already attempted?
- refunding without taxes - I run into an error because it expects tax amounts
- refunding less amounts - still run into the error

cursive heronBOT
#

@river pivot pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We wish to move our subscriptions to be based on teams, instead of users. What are the best options here? Create customers by team or create customers for each user, and simply connect a subscriptionID and the active customer that holds the subscription to the team?

iirc I believe a customer object requires an email?

Doc/Guide Links
Could not find anything on this

What are you working on?
SaaS for gaming servers

cursive heronBOT
#

@robust haven pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am calling the `POST
/v1/billing/meter_events` API and giving it a UTC epoch timestamp, but I am getting an error that it is in the future.

Related Request ID(s)
req_IvYOdLGSyo9pTn

What have you already attempted?
I confirmed the timestamp we are sending is UTC.

cursive heronBOT
#

@runic grove pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Customer search indexing seems to not be functioning currently

What actually happened?
I have tests that wait for customer metadata indexing since we depend on it in our system, and those were breaking. Testing a bit more, seems like indexing for searches for customers, at least in sandboxes and test accounts is currently not functioning even after quite some time.

Reproduction Steps
Create a customer with metadata, search for it with the search API, they don't return results even after many minutes right now.

Question
Mostly I'm checking to see if this is some outage you're not aware of.

cursive heronBOT
#

@mortal pendant pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have Stripe subscriptions for customers that they pay for upfront for a year. I'd like to offer them the option to renew their subscriptions for another year before their expiration day (90 days). Can the currently active subscription be set to extend for an additional year (ending on the same expiration date, just a year later) without having Stripe automatically renew it?

Related Request ID(s)
N/A

What have you already attempted?
Sending an invoice attached to a subscription but the yearly recuring invoice still gets created at billing end.

Billing credits won't work because customers could have multiple subscriptions and wouldn't want the credits to be applied to any subscription.

What are you working on?
I'm trying to allow customers to pay 90 days in advance on yearly subscriptions.

cursive heronBOT
#

@safe fiber pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If i had an existing invoice that is awaiting SCA, and then a customer updates their credit card via setupintents and properly passes the SCA challenge, would i be able to successfully attempt to pay that invoice via the API?

Related Request ID(s)
none

What have you already attempted?
i tried using 4000 0000 0000 3220 where i was challenged for SCA but the invoice still requires authorization so i'm unsure what real world behaviour would be.

cursive heronBOT
#

@reef sand pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a question about "internal" Connect accounts. I would like to build a credits system for promotions, but I am uncomfortable storing the underlying money in the platform account, which is the intermediary for settling all transactions between buyers + sellers. Can I store the money allocated for credits in a separate connect account? I am not sure if I would run into any issues doing this. I am also wondering if there is a more correct Stripe solution for credits in the connect context (could not find anything in the docs).

Doc/Guide Links
http://docs.stripe.com/connect

What are you working on?
Promotional credits for a marketplace

cursive heronBOT
#

@floral maple pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
java.lang.NumberFormatException: Expoected a long but was 1743537821.7420137 at line 16 column 36 path $.data[0].created

Question
In the stripe android app I just refunded someones payment and now whenever I navigate to the payments screen i get the error message above. On stripe dashboard it's fine but it's only on the app

What have you already attempted?
Restarting the app however I think it's at my account level not app level. Seems like a weird data thing?

Reproduction Steps
Load android app then navigate to payment screen (only on my account)

#

@plain crane pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Whatโ€™s the best way to implement this kind of usage-based fee structure? Ideally, Iโ€™d like to automatically calculate and collect the 5% fee from relevant transactions. Should I use application fees with Stripe Connect? Or is there a better approach?

Any guidance or examples would be much appreciated!

Thanksย ๐Ÿ™

Related Request ID(s)
pay

What have you already attempted?
My target users are businesses that use Stripe to process payments. I plan to charge them a fixed monthly fee (e.g. $50), plus a 5% fee on some of the transactions processed (based on predetermined conditions).

Users sign up with their Stripe account, so my platform is linked to their Stripe account.

What are you working on?
I'm currently building a platform that helps Stripe users - especially SaaS businesses - maximize their conversions.

#

@livid oxide pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
While upgrading Stripe API version from 2020-08-27 to 2025-02-24.acacia on the dashboard, can we expect some downtime?

Related Request ID(s)
API version Upgrade

What have you already attempted?
Tested the changes in sandbox seems to work as expected.

What are you working on?
Updating to the latest Stripe API version

cursive heronBOT
#

@sour 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://docs.stripe.com/elements/address-element/collect-addresses

Question
Using Stripe Address Elements, can I use Loqate (Address Autocompletion tool) instead of Google Places API that comes with the Address Element?

What have you already attempted?
I've read though the Address Element doc, and can only find references to Google Places API

What are you working on?
Adding address autocomplete and validation for a Checkout page.

cursive heronBOT
#

@mild solar pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
"Card Name" in transaction export to contain the customer name for every transaction.

What actually happened?
"Card Name" is only filled for card payments. Payments via Link or Klarna will not export a customer name at all.

Reproduction Steps
Export a transaction that was not made via card and observe the "Card Name" field. It is empty.

Question
Please fix this error as I don't want to fill in hundreds of entries manually.

cursive heronBOT
#

@proper niche pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I retrieve the sum of payouts currently in transit to the bank(s)?

Related Request ID(s)
N/A

What have you already attempted?
Searched and scanned the documentation

What are you working on?
Notch Platform

cursive heronBOT
cursive heronBOT
#

@shut jolt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
some how I wanted to connect payment intent and invoice object, via API

current flow of application is creating payment intent, after successful payment intent webhook trigger an then I am creating invoice, but there i no api support or in documentation that i can connect those two object, if it is possible to do so using API support, that will be so easy for user to just create payment intent, take that Id and then connect that to invoice and rest is taken care by stripe.

Related Request ID(s)
req_TefqPXjbUnfSkY

What have you already attempted?
I have tried to create invoice using stripe sdk, in that I have passed parameter called payment_intent but received error that unknown parameter, but i shown that in document that this parameter is return but create invoice API response

What are you working on?
listing customer payment intent to one dashboard application, and in there in payment intent object I want that invoice id to give user right to directly download from there only.

#

@turbid sail pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
latest = Stripe::SubscriptionSchedule.retrieve(Current.user.active_subscription.stripe_schedule_id)
Stripe::SubscriptionSchedule.update(
Current.user.active_subscription.stripe_schedule_id,
proration_behavior: :none,
phases: [
{
items: [ { price: latest.phases.first.items.first.price } ],
start_date: latest.phases.first.start_date,
end_date: "now"
},
{
items: [ { price: latest.phases.last.it

Question
Given SubscriptionSchedule with 1 infinite phase, how do I trigger an instant renewal?

I allow users to downgrade subscription on cycle end, so I've integrated Subscription Schedules. It sounds like it's recommended to wrap all subscriptions in a schedule for consistency. However I can't figure out how to update my instant renewal logic.

When using schedules for some states, is it best practice to use schedules for all subs, or release them when not needed?

What have you already attempted?
I've tried wrapping all my subscriptions in schedules, and renew by updating phases with one that ends "now" and another the starts now.

What are you working on?
I'm working on upgrade/downgrade logic, that allows subscription change at end of cycle

#

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

Question
I need to capture the payment from my customers, and then if they complete the action, I need to execute the charge, if they don't, I need to cancel the transaction and return the capture.

Related Request ID(s)
N/A

What have you already attempted?
I don't know if this is possible with Stripe and if this service has a time limit to keep the payment captured.

cursive heronBOT
#

@frank wraith pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using the Link payment method using a saved card in Stripe - is it possible to get the card type and expiry date associated?

Related Request ID(s)
req_wPRHj2KQEtQ5wd

What have you already attempted?
I've tried retrieving the payment method but it doesn't include the information required.

cursive heronBOT
#

@shut jolt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created an invoice, and according to Stripe's documentation, it should also create a Payment Intent object. While the Payment Intent is created, its ID is not included in the invoice creation response. How am I supposed to retrieve the Payment Intent ID from the invoice creation response?

Related Request ID(s)
req_TefqPXjbUnfSkY

What have you already attempted?
I have generated invoice and as per stripe documentation but didn't received payment intent id in response of invoice create success

What are you working on?
creating one dashboard that display payment intent based on customer that logged in expecting invoice id in payment intent obj

#

@placid dome pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on implementing instant payouts for Connected Account users in Canada and Australia. In my flow, I want to use the React CardElement to tokenize a debit card and then add it as an external account. We can't use their bank account because it does not support instant payouts in those countries. As part of the development, I need to enter a debit card in the Sandbox environment. For the US, Stripe provides various test debit cards that support instant payouts. My problem is that Stripe provides only one test card for Canada and Australia, not a debit card.

Related Request ID(s)
no specific request

What have you already attempted?
I tried using a US debit card for AU, but I'm getting an error that US cards are not supported. I also tried using the credit card and got an error that only debit cards are supported.

What are you working on?
Instant Payouts for connected users in Australia and Canada

#

@ashen kindle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why my subscription billing do not send email? when i do advanced time

Related Request ID(s)
sub_1R9MmfS7EHeaHKil1EibSp7A

What have you already attempted?
I have added the user to the team, turn on billing email option in settings and do advanced time for the subscription

What are you working on?
building and maintaining

cursive heronBOT
#

@tepid verge pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Is that normal that payment made though a pricing-tables don't generate an invoice which then should be visible in the customer portal ?

What actually happened?
The payment did pass but there is no invoice bind to compare to other transaction payments like subscription

Reproduction Steps
Pass a customerSessionClientSecret from an existing customer to a pricing table which has a subscription, pay the product, see the payment on the dashboard but no invoice generated

Question
What are the cases where a payment is done for a customer and no invoice are generated for it ?
Can i create an invoice via API and bind it to a one time payment (without invoice) in this scenario ? Will it be shown on the billing portal of the customer ?

What are you working on?
Add on demand oneshot payment for support product on customer that already have a subscription by using the pricing table.

cursive heronBOT
#

@shut jolt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have tried with getting receipt url using charge_id, but that receipt is not containing line item product catalog that client must to have requirement what are the other alternatives, I have already invested my 6 hours

Related Request ID(s)
req_KRLRSNZ8Ijuro1

What have you already attempted?
tried to get receipt by charge id ch_xxxxx, able to retrieve receipt url that is valid for 30 days, but it's not containing line items.

What are you working on?
want to send receipt to the end customer but it should contain product item that created in product catalog with discounted value

#

@ivory hare pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/financial-connections

Question
Iโ€™m exploring the capabilities of your API and Stripe Financial Connections. Specifically, Iโ€™d like to know if itโ€™s possible to automate an ACH payment to another account once a specific transaction is settled. For instance, after a vendor payment is received into a business bank account, can an ACH transfer be automatically triggered to send funds to the business ownerโ€™s personal account?

What have you already attempted?
We have not attempted this yet because we're seeking clarity if this is possible.

What are you working on?
We're building an aggregator overall, but we're exploring the idea of granting our customers the ability to split revenue amongst their teams automatically.

#

@rain stream pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$paymentIntentId = $invoice
->payment_intent;

Question
I'm updating from 2020-08-27 API to latest. But a payment method attached to my invoice doesn't have the payment method set and therefore fails to finish off-session. What is causing the change?

What have you already attempted?
I checked all the BC breaks (https://docs.stripe.com/changelog#2020-08-27) and couldn't find anything.

What are you working on?
automated top up for customers in background in case they run out of credits

cursive heronBOT
#

@night lake pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My project is laravel and react and I create issuing card using sdk and now I have to add this issuing card to google pay and apple pay using secure token
How to do this?

Related Request ID(s)
I am not sure about this

What have you already attempted?
I tried to in several wasy but not work

What are you working on?
I am building website

#

@past flame pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Team, I'm using the mentioned function for listing the payouts: https://github.com/stripe/stripe-go/blob/15c9d73d61de770e68a9617bd3123ef3340773a8/payout/client.go#L105

This function returns all the payout records even if I'm passing the Limit param.
I don't want all the records in one call. I want to use pagination for fetching records like 20, 50 or 100 records per page.

I think this function is not letting me use the pagination. It's returning all the records. So, could you please check if this is really happening or I'm doing something wrong.

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
I'm building an endpoint for payouts using stripe sdk v79 which supports pagination.

#

@wary haven pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
case 'customer.subscription.created':
case 'customer.subscription.updated':

Question
I'm having monthly subscriptions, I'm trying to log in my DB each subscription period - to do so, does the customer.subscription.updated event get triggered when new period begins?

What have you already attempted?
Sent when a subscription starts or changes. For example, renewing a subscription, adding a coupon, applying a discount, adding an invoice item, and changing plans all trigger this event.
this is coming from the docs

#

@rain stream pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I hoped to continue the discussion, but the #tomasfejfar_code thread was locked already :( Ideally if you could unlock it so we can continue?

Question
Payment method is missing when updating the API version

What have you already attempted?
I examined my code and the code that sets the payment method is one that runs when the topup happens. But currently the code is failing for me earlier - when setting up the off-session.

#

@rare perch pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best way to get the reciept number and the receipt url (that doesnt expire) so that I can display it in my web app for customers. I am using the checkout tool and I am listening to the checkout.session.completed event

Related Event ID(s)
checkout.session.completed

What have you already attempted?
I have tried wreting my own api to get the latest charge and the get the receipt url from the lastest charge but that is on invoice.paid event. That gives me both the invoice and the receipt...

What are you working on?
Node JS ecommerce application

#

@dense berry pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to manually transfer balance to a bank account via API?

Hello, Stripe team,

I need to transfer the balance from a Connect account to an external bank account via API. The transfer should be manual, allowing me to specify the amount to be sent.

How can I enable this functionality in Brazil?

Looking forward to your guidance. Thank you!

Related Request ID(s)
req_G7ClxQLE45c3xN

What have you already attempted?
When attempting to perform this operation manually, I receive the following error:

"message": "You cannot be on a manual payout plan in country BR."

Is there any configuration or alternative to work around this limitation?

I appreciate your help!

What are you working on?
Integrating Stripe into our service marketplace app to process customer payments and transfer funds to professionals.

#

@modest creek pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm using StripePaymentElement and AddressElement from Stripe Elements on my Next JS app and I noticed that - on Android phone ONLY - when I focus an input the the elements reload (show skeleton and when the fields again). This happens because the keyboard opens and it triggers a window resize.

Question
Is there a way to prevent this from happening?

What have you already attempted?
Tried to add overflow: hidden; to the html and body and tried to add fixed heights in different elements (html, body, form parent). Also tried to memoize some elements

cursive heronBOT
#

@ashen kindle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
why billing email is not sent in the test mode even though the email from the customer has become a team? because what I know and I have previously tried it and worked before is that the email will be sent if the user has been invited to the team.

Related Request ID(s)
sub_1R9MmfS7EHeaHKil1EibSp7A

What have you already attempted?
I have added the user to the team, turn on billing email option in settings and do advanced time for the subscription

What are you working on?
building and maintaining

cursive heronBOT
#

@void nimbus pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to add BACS Direct Debit to my integration. The BACS capability is showing as active for the Connected Customer account that I am creating the SetupIntent for using the automatic_payment_methods.enabled = true parameter.

Related Request ID(s)
req_hbFapXNabomJ5h

What have you already attempted?
Updated missing info for the account in question as shown on the Connect -> Payment Methods config screen 2 days ago but it's still showing as missing, and the Capability is showing as enabled on the Customer's profile.

What are you working on?
Adding support for BACS and other regional bank payment methods (SEPA, BECS, etc)

cursive heronBOT
#

@winter shuttle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am not providing cancel_at while creating subscriptions stripe.subscriptions.create

When my subscription will end

Related Request ID(s)
No id

What have you already attempted?
Not able to get cancel time in response

What are you working on?
Stirpe subscription

cursive heronBOT
#

@quick umbra pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating a payment link with metadata, and after a successful payment, I have implemented a webhook for the charge.succeeded event, but I am unable to fetch the payment link metadata in the webhook function.

Related Event ID(s)
NA

What have you already attempted?
Yes

#

@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/build-subscriptions?ui=elements#create-pricing-model

Question
When creating a subscription, if a invoice amount is below $0.50 , the invoice as paid and subscription as active. in my web app flow we are having a payment confirmation step so taht user has to pay first before using our service.

there is a scenario that user skips payment steps though user couldn't access any of our service, user is getting the renewal remainders emails for stripe since we have a active subscription.

either subscription as canceled subscription after a given time

What have you already attempted?
var subscriptionOptions = new SubscriptionCreateOptions
{ Customer = customer.Id,
Items = subscriptionItems,
PaymentSettings = customer.InvoiceSettings.DefaultPaymentMethodId == null ? new SubscriptionPaymentSettingsOptions { SaveDefaultPaymentMethod = "on_subscription" } : null,
PaymentBehavior = "default_incomplete",
PromotionCode = promoCodeId,
BillingCycleAnchorConfig = always_invoice

#

@mystic ingot pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe checkout session

Question
need information regarding a certain stripe session

What have you already attempted?
reviewing my code

What are you working on?
checkout session

cursive heronBOT
#

@snow pasture pressed the ๐Ÿ“š Doc or 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/pricing-table

Question
Is there any way to code a discount to be applied to a specific product / price within the embedded pricing table?

What have you already attempted?
I had custom coded my own pricing table and could pass the coupon code to stripe as well.

What are you working on?
I'm running ads and loading the page with a discount code vs. showing the discount applied is lowering conversion: https://www.bookbrowse.com/join/index.cfm/coupon_code/tryfor5

#

@quaint gull pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Iโ€™m building an AI-powered image generation service. Each user receives monthly credits to generate images, and they also have a monthly limit on how many times they can train their own AI model. At the start of each new billing cycle, these credits and training counts reset.

I offer both monthly and yearly subscription plans via Stripe. For monthly subscribers, I use the invoice.payment_succeeded webhook to grant credits and reset training counts each month, which works fine because a new invoice is generated every month. However, for annual subscribers, Stripe only generates a single invoic

Related Event ID(s)
I donโ€™t have specific monthly event IDs for the annual subscription scenario (since those events donโ€™t fire)

What have you already attempted?
- I rely on invoice.payment_succeeded for monthly subscriptions, but it only fires once for annual plans.
- Iโ€™ve also checked customer.subscription.updated, but again it doesnโ€™t provide monthly triggers for annual billing cycles.
- Iโ€™ve searched the Stripe documentation for a solution to trigger monthly webhooks on annual subscriptions but havenโ€™t found a clear approach.

What are you working on?
Iโ€™m building a subscription-based AI image generation platform where users get monthly credits and monthly AI training opportunities. I want to ensure annual subscribers also receive these monthly res

#

@glad mirage pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When testing Payment Elements integration, some payment options require a specific Country. For example I am in the Uk and need to test the Twint gateway that requires Switzerland as the customer's country. Is there a parameter that can be passed to "force" a specific Country so that the payment option will show even if you are not in the actual country?

Related Request ID(s)
NA

What have you already attempted?
looked at the docs.

cursive heronBOT
#

@timid glen pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to backdate a change? I want to pin all prorations to midnight of the current time to show a static charge per day for customers, my previews still take into account hourly changes

Related Request ID(s)
N/A

What have you already attempted?
"subscription_proration_date": 1745909880,
but this doesnt seem to override "period": {
"end": 1776664800,
"start": 1745906400
},

What are you working on?
billing microservice

#

@limpid bridge pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
I haven't started coding yet because I don't know where to begin with the documentation. I use PHP, HTML, CSS, and JavaScript.
On my website, I want to offer monthly and annual subscriptions. When a customer selects a subscription, it should be added to the cart. The cart also contains products that can be purchased individually. This means that when the customer places an order, it may include both a subscription and individual products.
When I create a product on my website, the prices are stored in my database in USD (for example, $7.99 for a 3D model).
Is there a way to retrieve the stored prices and product information from my database directly?

Doc/Guide Links
https://docs.stripe.com/billing/quickstart
https://github.com/stripe-samples/checkout-single-subscription

What are you working on?
I work on a website offering products for 3D artists.

#

@wary haven pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Promotion code to not be applied when customer changes his subscription.

What actually happened?
I'm creating subscription with promotion code. I have multiple available subscriptions so user can upgrade or downgrade. If he has a promotion code used during the subscription creation, this promotion code apparently is "transferred" to the other subscription he does when he upgrades. Can I remove this behaviour?

Reproduction Steps
I'm creating subscription with promotion code. I have multiple available subscriptions so user can upgrade or downgrade. If he has a promotion code used during the subscription creation, this promotion code apparently is "transferred" to the other subscription he does when he upgrades. Can I remove this behaviour?

Question
Why is promotion code tranferred when user changes his subscription? Is there a setting to remove this behaviour

#

@white horizon pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My clients are running into the error below however the error specifies usbankaccount and our client is adamant they were trying to pay with a card "error": {
"message":
"The provided verification_method (automatic) does not match the expected verification_method (instant). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.",
"param":
"payment_method_options[us_bank_account][verification_method]",
"request_log_url":
"https://dashboard.stripe.com/acct_1R6F9kI2esLnMgKS/logs/req_RcGGgeaAbFZRiW?t=1743539151",
"type":
"invalid_request_error",

Related Request ID(s)
req_RcGGgeaAbFZRiW

What have you already attempted?
Im trying to figure out what could cause the error

cursive heronBOT
#

@queen sandal pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have observed that Stripe is able to issue Apple Wallet passes for Apple Pay transactions. We would like to understand whether it is possible to issue an Apple Wallet pass that is not linked to a Visa or Mastercard, but instead represents a custom card with specific metadata, which can be securely read by a compatible reader.

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

What are you working on?
We are currently developing a secure access management solution with integrated payment processing capabilities. As we utilize proprietary reader hardware, we operate within a dedicated IoT environment.

#

@livid oxide pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way I can test Stripe API upgrade to version 2025-02-24.acacia from 2020-08-27 in 'test mode' without impacting live mode?

Related Request ID(s)
-

What have you already attempted?
Using sandbox is tricky because the connect account ids in sandbox account are not the same as live/test mode account

What are you working on?
Upgrading to latest Stripe API version

cursive heronBOT
#

@ripe ibex pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/upsells

Question
Can the "upsell" checkbox be turned on by default? I have a monthly subscription that upsells to yearly, and I'd like the yearly option to be pre-selected.

What have you already attempted?
I already tried a couple of things:

  1. Used the productId for the yearly subscription and tried to "down-sell" to monthly (but that doesn't seem to work).
  2. Checked the docs to see if thereโ€™s a specific variable I can set from the backend (didnโ€™t find anything).

What are you working on?
Checkout page for my SaaS

cursive heronBOT
#

@sour mulch pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Need help switching to delayed setupIntent flow.

Related Request ID(s)
N/A

What have you already attempted?
Started with this: https://docs.stripe.com/payments/save-and-reuse

Would like to now use this: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=setup

But not sure about where the stuff in checkout.js goes in relation to index.js and setupform.js.

#

@main phoenix pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
invalid link, this link is invalid or has expired

Question
can i have help sorting my account out, i cant login. Ive linked my stan.store with stripe and tried to login to stripe and it keeps hitting me with an error message?

What have you already attempted?
Logging in on different devices, changing networks

Reproduction Steps
iโ€™m not sure what this means

What are you working on?
building my website

cursive heronBOT
#

@tired crater pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When updating / creating / cancelling a subscription, is there a way to provide certain metadata that travels all the way to the webhook and is sent out with it?

We're trying to differentiate between different places a subscription can be changed and do different things based on where the subscription updated.

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

@mighty hemlock pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why does a new subscription create an invoice that has period_start and period_end exactly the same, but a subsequent invoice for the same subscription has period_start and period_end matching the 2nd billing cycle?

Related Request ID(s)
N/A

What have you already attempted?
I'm trying to get the date range of a subscription each payment from a customer represents, and im particularly trying to get the date range thats associated with a subscription quantity update / proration. I.e. a customer added an additional seat, im trying to calculate the commission for the amount charged for that seat, for the timeframe in the billing cycle

What are you working on?
A commission tracker

cursive heronBOT
#

@lunar forge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're trying to build a referral program where new subscribers have their payments split 50/50 with the referring user, but only for the first 6 months of the subscription. After that period, the full amount should go to our platform.

Weโ€™ve looked into Subscription Schedules but found it a bit clunky for this use caseโ€”especially when factoring in both monthly and annual subscriptions. Is there a recommended approach or workaround for implementing a time-bound revenue share like this?

Any guidance or examples would be super appreciated!

Related Request ID(s)
req_YQbf1M2vGWcRoC

What have you already attempted?
A variety of things. Just finding these times integrations are a little tricky.

What are you working on?
A referral/affiliate program for our users with Stripe Connect. (Similar to Beehiiv)

cursive heronBOT
#

@manic arrow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Generating .pdf invoice beside the web view one, so I can download it directly without converting it.

Related Request ID(s)
null

What have you already attempted?
I tried to check the event 'charge.succeded' but doesn't include the pdf version.

#

@mighty hemlock pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why does a new subscription create an invoice that has period_start and period_end exactly the same, but a subsequent invoice for the same subscription has period_start and period_end matching the 2nd billing cycle?

Related Request ID(s)
N/A

What have you already attempted?
I'm trying to get the date range of a subscription each payment from a customer represents, and im particularly trying to get the date range thats associated with a subscription quantity update / proration. I.e. a customer added an additional seat, im trying to calculate the commission for the amount charged for that seat, for the timeframe in the billing cycle

What are you working on?
commission tracker

#

@shy cliff pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-data/import-external-data/connectors/apple-app-store?locale=en-GB

Question
The link in this sentence is broken "Navigate to Users and Access > Integrations in your App Store Connect Dashboard". It links to https://appstoreconnect.apple.com/access/api which returns a 404

What have you already attempted?
Visited the link in the docs

#

@polar quest pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to add a separate name collection besides the existing cardholder name collection to the Checkout Session for an existing customer?

Related Request ID(s)
N/A

What have you already attempted?
I've enabled the customer_update when creating my checkout session but I notice that it just updates the Cardholder name as the customer's name.

In cases where the Cardholder name is different than the Customer's name, I'd like to add another field that allows for Customer Name Collection but can't seem to find any docs on it.

What are you working on?
Stripe Subscription

#

@stone frigate pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a Stripe Connect integration where our customers can automatically generate Stripe subscriptions inside their Stripe account based on data from their contracts.
We had a customer tell us today that the generate Stripe subscription did not have tax enabled, even though they have the Tax module activated. I can see from the requests that we did correctly set the generated Price's tax_behavior to exclusive, and I thought that the subscription would inherit the tax enablement settings from the customer's account. Do we need to send automatic_tax: enabled for every subscription generation?

Related Request ID(s)
req_5yxDFJFWnigNyM

What have you already attempted?
I've tested out sending `automatic_tax: { enabled: true }` in test mode. This errors if the connected account does not have the tax module in their account. I've also looked into detecting if the customer has the tax module using the /tax/settings endpoint, but it's returning a value of `status: 'active'` even for an account that is not fully set up

cursive heronBOT
#

@proper niche pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
private PaymentMethodType toExternalAccountType(final ExternalAccount payoutDestination) {
if (payoutDestination instanceof Card) {
return CARD;
} else if (payoutDestination instanceof com.stripe.model.BankAccount) {
return ACH;
} else {
return UNKNOWN;
}
}

Question
Is this the correct way to determine the type of an External Account in Java? See request req_EHHoIRrg6X7TnU
The response indicates that the destination was fully expanded with type CARD and all relevant fields; however, on our end the type is recorded as UNKNOWN.

What have you already attempted?
Checked some examples where we do similar stuff

What are you working on?
Notch Platform

#

@severe egret pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async function getPaymentIntent(client_secret:string) {
const { paymentIntent, error } = await retrievePaymentIntent(client_secret);
if (error) console.log("retrieve pi error", error, client_secret);
else console.log("retrieve pi success", paymentIntent);
return paymentIntent;
}

Question
This is Terminal code, written in React Native. I am in test mode using a simulated reader. When I call retrievePaymentIntent I get the following error: No such payment_intent:

What have you already attempted?
I've tried a couple of different simulated readers to make sure that wasn't it. Latest attempt was M2 reader, and the PI shows up in my dashboard as incomplete.

What are you working on?
We are a ticketing platform, and I am working on our box office app, allowing it to take in person payments for walkup patrons.

#

@dawn goblet pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I am currently working on a api where I transfer funds from main account to connected account using
/v1/transfers I can successfully achive this however I want to include Description in this payment so the connected account can see on their end. When I add description parameter in my TransferCreateOptions I can see it on my side of the payment but its not visible on the connected account side of the payment.

Related Request ID(s)
tr_1R9XEABZ8dpn0pCVzWOjhS7N, py_1R9XaxBBNgJ2lM2B0tHZNAGl

What have you already attempted?
I have the following code

var options = new TransferCreateOptions
{
Amount = calculatedAmount,
Currency = "gbp",
Destination = clientModel.ConnectedAccountId,
TransferGroup = stripeModel.balanceTransaction.Description,
Description = "Order Number",

};
var service = new TransferService();

service.Create(options);

What are you working on?
and api

cursive heronBOT
#

@blazing apex pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to allow customers to apply promo code on existing subscription in stripe customer portal without updating quantity?

Related Request ID(s)
?

What have you already attempted?
Can't see an option in the stripe hosted customer portal to update the subscription promo code, even though [default_allowed_updates]=promotion_code is enabled.
I can see the promo code field only when upgrading the plan, for example changing the quantity, when that is also enabled:
[default_allowed_updates][0]=quantity

When only this [default_allowed_updates]=promotion_code is enabled then there is no way for the customer to enter the promo code so that the discount would be applied to their next invoice.

What are you working on?
Trying to let customers enter promo code in the Stripe's billing portal, so that their next month's invoice would have the discount.

#

@oblique mango pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I monitor invalid cards during user sign-up? Currently, I only monitor `'customer.subscription.created';'invoice.payment_succeeded';'invoice.payment_failed'; 'customer.subscription.deleted'`.

Related Request ID(s)
N/A

What have you already attempted?
I've tried watching subscription.status, but it always defaults to 'trialing'

cursive heronBOT
#

@noble dragon pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can i unit/integration test local stripe webhooks?

Doc/Guide Links
Stripe docs that show how to trigger webhooks but nothing related to unit testing

What are you working on?
In my backend i have a webhook endpoint that handles events. In this webhook: i use the stripe client to get more information from the invoice event object etc. and then populate my database.

cursive heronBOT
#

@molten 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/testing

Question
I try to test if I can connect an account (client). I want to go through the process my clients would also have to do. So first I go to my platform/ websites that redirects the client to connect.stripe.com/oauth/... But here is the part where it goes wrong my accounts I try to connect are always ineligible... I don't understand why or how I can create one that is eligible. (I work in a sandbox/ test environment.)

What have you already attempted?
I tried to contact the support but without any helpful suggestions..

What are you working on?
I am trying to develop a service where my clients select bills on my platform, gets connected on stripe, provides a payment method (clone that method) and I will pay those invoices.

cursive heronBOT
#

@olive flare pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to apply a promotion code to a pending Subscription Bill,

Related Request ID(s)
req_EkbpaFWWg5FDoz

What have you already attempted?
eg: I use python to create a 12 month subscription bill, and I found a Promotion code from somewhere, I want to apply the Promotion Code into an exist bill.

What are you working on?
Trying to apply promotion code in exist monthly subscription bill

cursive heronBOT
#

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

Question
Is it possible to get information about why a card payment failed? I can see the event in Stripe UI, but can't seem to find a reason in the UI.

Related Request ID(s)
in_1R2WSkKXoj6vqcezmnWEnbIV

What have you already attempted?
Searching the workbench. Can't seem to find anything other than the event

What are you working on?
Debugging an issue in our backend where a card failure occurred, but no error was shown to customer.

cursive heronBOT
#

@past flame pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
func listPayoutsWithPagination() {
// Define the parameters for the first request
params := &stripe.PayoutListParams{
ListParams: stripe.ListParams{
Limit: stripe.Int64(10), // Limit to 10 records per request
StripeAccount: stripe.String(""), // Specify the account if necessary
},
}
iter := payout.List(params)
for iter.Next() {
p := iter.Payout() }}

Question
Hi Team, I'm using the mentioned function for listing the payouts: https://github.com/stripe/stripe-go/blob/15c9d73d61de770e68a9617bd3123ef3340773a8/payout/client.go#L105

This function returns all the payout records even if I'm passing the Limit param.
I don't want all the records in one call. I want to use pagination for fetching records like 20, 50 or 100 records per page.

I think this function is not letting me use the pagination. It's returning all the records.

What have you already attempted?
I tried all the params but I'm not getting the only the specific record instead I'm getting all the records.

What are you working on?
Getting payouts list based on pagination.

#

@dull raptor pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
want to cancel my card off stripe

What actually happened?
i got charged for sth and merchant do not want to cancel my card

Reproduction Steps
i just want to delete my card

Question
is it possivle to delete my card or i need to contact my bank

#

@bronze orchid pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I recently migrated from using Charges to PaymentIntents. However, Iโ€™m encountering an issue when retrieving old bills using the paymentIntents.retrieve API. These bills were created using the Charges API. How can I retrieve these old bills?

Related Request ID(s)
req_dGdL4x1spLCVRk

What have you already attempted?
I recently migrated from using Charges to PaymentIntents. However, Iโ€™m encountering an issue when retrieving old bills using the paymentIntents.retrieve API. These bills were created using the Charges API. How can I retrieve these old bills?

#

@shut jolt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Client requirement is to give pagination in dashboard for invoice table, but when I have checked documentation I found out we can have limit parameter raging from 1 to 100, what should I do to get paginated value

Related Request ID(s)
req_v3Pbs7GBfYyge5

What have you already attempted?
want more than 100 invoice in one go in invoice API, so provided limit parameter as 1000 but it considered 100 only.

What are you working on?
listing invoice by customer in dashboard

cursive heronBOT
#

@bronze orchid pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Ask about interface of payment intent charge API.
According to the interface, in the `Stripe.Response<Stripe.PaymentIntent>`, the `source` can be string | Stripe.CustomerSource | Stripe.DeletedCustomerSource | null, but I only receive it as a string. How can I return a CustomerSource like in the Charge API? Also, according to the description, will it be deprecated in the future?

Related Request ID(s)
req_v3Pbs7GBfYyge5

What have you already attempted?
I want to ask about update interface in payment intent charge API.

#

@vocal shard pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Stripe supports Shopify payment also, do you have any support contact directly here at UAE. (Number or Email)

Related Request ID(s)
N/A

What have you already attempted?
We are signed in under Stripe as our payment provider.

What are you working on?
Activating Payment by Credit Card on our Shopify Page

#

@rain stream pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$item = [
'customer' => $stripeCustomer->id,
'pricing' => ['price' => $this->creditPriceId],
'quantity' => $request->getAmount(),
'tax_rates' => [$taxRate],
'invoice' => $invoice->id,
];
$this->getStripeClient()->invoiceItems->create($item);

Question
After update from 2020-08-27 API to latest, it failed with

> The price specified supports currencies of `usd` which doesn't include the expected currency of `czk`.

req_wBVkRzBPqXXKdn

What have you already attempted?
Switched default currency to USD, didn't help.

What are you working on?
automated top up for clients

cursive heronBOT
#

@subtle plaza pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://github.com/stripe/stripe-terminal-android/blob/master/CHANGELOG.md#420---2025-02-24

Question
Do I have to handle new HIDE_OVERLAY_WINDOW permission on my own or it is handled by Stripe Terminal?

What have you already attempted?
I updated the version to 4.2.0 and everything works fine, just wondering if I should add anything to the code

cursive heronBOT
#

@muted kernel pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const sessionData: Stripe.Checkout.SessionCreateParams = {
payment_method_types: ['card'],
success_url: process.env[ENV_KEYS.STRIPE_SUCCESS_URL],
cancel_url: process.env[ENV_KEYS.STRIPE_CANCEL_URL],
line_items: lineItems,
mode: 'subscription',
metadata: {
data: JSON.stringify(metadataObj),
},
subscription_data: {
metadata: {
data: JSON.stringify(metadataObj),
},

Question
I have updated my subscription price in Stripe. I cancel all users' current subscriptions and inform them to update according to the updated price. When the user navigates to the stripe portal they have the option to renew. How can I remove this renewal option? I want to remove this option because when the user renews the subscription renews from the old price.

What have you already attempted?
Nothing Found.

#

@sharp mauve pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/readers/bbpos-wisepos-e

Question
I am looking to confirm whether Stripe's WisePOS E terminal complies with France's NF525 standard. Stripe's documentation only mentions compliance with PCI and AAA.

I have deployed over 100 of these terminal devices with a distribution partner in France and they are looking for reassurance when it comes to compliance.

What have you already attempted?
I have read all Stripe docs related to the WisePOS E terminal.
I have contacted Stripe support via chat, and the agent I was put in touch with couldn't find the answer.

What are you working on?
We have rolled out Stripe terminal devices at large French retail chains and have planned further deployments for hundreds of devices.

#

@stiff rampart pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I am using the version 2025-02-24.acacia. When I'm using a local webhook after setting it up everything works perfectly, but when I do the same the Webhook created for my Test Environment online my webhook does not receive any event. Could it be that there is something wrong there?

Related Event ID(s)
evt_3R5nJdKDXIK7QcLz0qy0cNZH

What have you already attempted?
I made sure the webhook secret is the correct one, that my webhook endpoint is open to stripe to access. I tried creating events from the dashboard directly but there hasnt been an event sent to my webhook

What are you working on?
I'm trying to implement a payment system for my online ordering system.

cursive heronBOT
cursive heronBOT
#

@sly jasper pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
You passed an empty string for 'card[number]'. We assume empty values are an attempt to unset a parameter; however 'card[number]' cannot be unset. You should remove 'card[number]' from your request or supply a non-empty value.

Question
Since yesterday around 7pmUTC we have a lot of `400 POST /v1/payment_methods` logs and some users are unable to pay using stripe checkout with a coupon of 100% the value of the purchase.

What have you already attempted?
We successfully reproduced the issue in test mode in our dev environment. We didn't update anything close to Stripe in the past few days and it was working fine before that. We use the stripe checkout iframe so we don't have a way to investigate the issue further.

Reproduction Steps
create a checkout session with a coupon superior or equal to the amount, try to pay and see the error message in the UI (in french : "Un problรจme est survenu. Veuillez rรฉessayer.")

What are you working on?
We use stripe coupon as gift cards for joinsezame.com

#

@past flame pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
func listPayoutsWithPagination() {
params := &stripe.PayoutListParams{
ListParams: stripe.ListParams{
Limit: stripe.Int64(10), // Limit to 10 records per request
StripeAccount: stripe.String("acct_saddasdsadsad"), // Specify the account if necessary
},
}

// Create the payout iterator with the specified parameters
iter \:= payout.List\(params\)

// Iterate through the payouts using the Next\(\) method
fmt.Println\("Listing payouts\:"

Question
This piece of code returning 200+ records. Ideaaly it should return 10 records only.

What have you already attempted?
I have tried all the params carefully. But it looks like there is some issue with the stripe's List() function. It does not allow to use Limit field. It's returning all the records present for that stripe account

What are you working on?
I'm working on fetching payouts using pagination.

cursive heronBOT
#

@vale eagle pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
You passed an empty string for 'card[number]'. We assume empty values are an attempt to unset a parameter; however 'card[number]' cannot be unset. You should remove 'card[number]' from your request or supply a non-empty value

Question
Hi i get this error message when users select our free product, for all prices.

What have you already attempted?
For the monthly plan the user can switch tou yearly plan and then back again then everything looks the same but the error is gone

Reproduction Steps
Use pricing page and select any of the free pricing options, and fill out all info and check box and then click the button

What are you working on?
I am pretty sure this was working 2 days ago and i dont think anyone changed anything in the settings for pricing page

#

@pine cloud pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
losses.payments: application
fees.payer: application
requirement_collection: stripe
stripe_dashboard.type: none

Question
Hello, when my platform creates a Connect sub-account, the Account controller configuration is set as follows:
losses.payments: application
fees.payer: application
requirement_collection: stripe
stripe_dashboard.type: none

I would like to ask whether this combination supports Separate Charges and Transfers.

What have you already attempted?
I have already read the following documentation:
https://docs.stripe.com/api/accounts/create
https://docs.stripe.com/connect/design-an-integration?connect-onboarding-surface=embedded&connect-dashboard-type=none&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-charge-type=separate

#

@leaden obsidian pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async initializeStripe() {
try {
// const { publishableKey } = await fetch("/api/config").then((res) => res.json());
this.stripe = await loadStripe(this.publishableKey);

      // const { clientSecret, error\: backendError } = await fetch\("/api/create\-payment\-intent"\).then\(\(res\) =\> res.json\(\)\);
      createOrder\({
        orderid\: this.$route.params.id,
        amount\: this.info.price
      }\).then\(\(res\) =\> {
        if \(res.c

Question
I use the payment element to build a UI to make payments, but the payment fails and the transaction is blocked

What have you already attempted?
I can't get in touch with support and they are so slow to respond, I want to ask if there is something wrong with my code

cursive heronBOT
#

@stiff rampart pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have previously opened a ticket which has been closed because I couldnt answer in time about my online webhook for test environment. It works completely fine with localhost and the stripe CLI but i cant make stripe sent me the event.

Related Event ID(s)
evt_3R5nJdKDXIK7QcLz0qy0cNZH

What have you already attempted?
I tried everything what in the docs is, we can go about it in the chat to explain more into detail.

What are you working on?
Online restaurant ordering payment system

cursive heronBOT
#

@rain stream pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$chargeId = (string) $invoice->charge;
if (!$chargeId) {
// invoice was paid outside of stripe
$this->validateOutOfBandInvoice($invoice);
$stripeReceiptUrl = null;
$description = 'Paid outside of stripe';
} else {
$charge = $client->charges->retrieve($chargeId);
$stripeReceiptUrl = $charge->receipt_url;
$description = $invoice->description;
}

Question
How do I check for the invoice charge in latest API?

What have you already attempted?
$invoice = $this->getStripeClient()->invoices->retrieve($invoice->id, ['expand' => ['payments', 'charges']]); - doesn't work "This property cannot be expanded (charges)."

What are you working on?
updating API from 2020-08-27

cursive heronBOT
#

@olive falcon pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Gi stripe, I'm using Stipe Connect with custom connected accounts. On the accounts balance page I'm building, I'd like to show information about the next estimated payouts, like we can see in the dashboard. I cannot find this information when requesting account balance through API call.

Related Request ID(s)
req_4aA5b3KjuD5QwI

What have you already attempted?
The returned balance object doesn't show when pending balance should be payed out.
Listing payouts only show created payout and no previsionnal data.

What are you working on?
Sports club business operations SaaS

cursive heronBOT
#

@stiff rampart pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
API version 2025-02-24.acacia
I have some trouble following the process of a checkout session combined with my backend and the webhook. I might be missing something.

Related Event ID(s)
cs_test_a1VmnMk79CbICYN63tVTfW0v4qAtO5W8sHTuvO6fR7cWwJyup6MRM4KboM

What have you already attempted?
I tried to fire the events with the Stripe CLI and it works but not through the checkout session.

What are you working on?
Online Restaurant Payment Platform

#

@night lake pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to test webhook for my project
I want to send test endpoint to my project

Related Event ID(s)
I am not sure

What have you already attempted?
I am not sure

What are you working on?
building project

cursive heronBOT
#

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

Question
Hi!

I've been trying to implement the connected account side of my stripe development but I can't confirm the payment intent using hosted form

Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1QmA1eClZwmeNsj0/payments/pi_3R9nVVClZwmeNsj01i435BjH

What have you already attempted?
I've tried to pass the onBehalfOn when creating the payment intent but It doesn't work and also tried using "application"' when creating payment intent

cursive heronBOT
#

@old halo pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Your Card Declined Try different form of payment

Question
I'm trying to create subscription using Apple Pay card on a terminal. but it is failing with the message above.

What have you already attempted?
I have tried one time payment it worked with Apple Pay, but when attempting to create a subscription it fails. The subscription has an end date.

Reproduction Steps
create setup intent, then tap Apply pay card, fails

#

@normal dust pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For example, in EU bank transfer, virtual IBAN can be created (localized) only in FR, DE, BE, NL and IE. What are the countries in case of sepa credit transfer?

Related Request ID(s)
NA

What have you already attempted?
NA

#

@fossil stone pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Should I use Payment Intent differently? On my mobile application, when the user presses โ€œPayโ€, this creates a new Payment Intent and opens a payment interface (method selection, etc.). In my business, the user can go back to the previous step because hethought of another product at the last moment, wants to correct hisaddress, ... My current integration creates a new payment intent each time they press "Pay" (but also a new order in my system.)
Previous orders and payment intents are cancelled correctly.

I'm afraid this isn't really the right use of payment intent, but it's how my business currently works with another payment provider, and changing that would be a big job.

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

What are you working on?
Food delivery service company

#

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

What did you expect to happen?
google pay is not showing up for both test and prod

What actually happened?
google pay is not showing up in react native app while testEnv is set to true. If I set testEnv to false it works fine.

Reproduction Steps
use stripe sdk for react native and call initPaymentSheet.

Question
how to fix this issue? why it doesnt work for test?

What are you working on?
rebulding my checkout form

#

@south cedar pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i don't know why my Charges and payouts are paused can you help me and let me find out what happened i have sent so many emails to the support stripe team and they didn't answer any of my questions my balance is stock in the stipe can u help me to let me continue working on my account, Thanks for helping

Related Request ID(s)
req_MmpiX5aRrdlKEI

What have you already attempted?
i have tried sending emails and talk with agent, i have everything if you need anything i will sent is to you

What are you working on?
iam membership of so many companies in europe and iraq and UAE help people how to earn money i just need stripe account to the donations of my customers

#

@scenic swallow pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When a subscription is set to cancel at the end of current billing cycle, A zero amount prorated invoice is generated after the subscription expire.

What actually happened?
It should not generated any prorated invoice since the cancellation is set to end of billing cycle.

Reproduction Steps
Create a subscription
Mark cancel_at_billing_end: true

Question
The user had created a schedule then released it and then cancelled the subscription. Not sure that this is the cause.

#

@grand flint pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When customers checkout via Stripe Checkout and they get asked to use Link, they are prompted with a phone number they own & recognize.

What actually happened?
A few customers have reported that they are being prompted with phone numbers they neither own nor recognize.

Reproduction Steps
Unfortunately I do not know how to reproduce at the moment.

Question
Is there a reason this is happening? Is there a way to debug this?

cursive heronBOT
#

@median echo pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is the customer portal online? We're having trouble hitting it. We're getting a blank screen when trying to hit the billing portal but I'm not seeing any errors.

Related Request ID(s)
NA

What have you already attempted?
I've looked for errors but am not seeing any. We're just getting a blank screen.

What are you working on?
A SAAS product

#

@muted widget pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
* What went wrong:
Execution failed for task ':stripe_stripe-react-native:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --deb

Question
So, after i installed stripe in my react native application, i can no longer start the application because i get the previously showed error.

What have you already attempted?
I tried to add version in android/build.gradle but it did not make any difference

cursive heronBOT
#

@grave pendant pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/checkout/embedded/quickstart?client=react&lang=dotnet#retrieve-endpoint

Question
I have the full embedded checkout form working, but having some questions about the "Return Page" part.

When will Stripe call this return URL? We have not been able to have it called on our test environments.

When Stripe calls the return URL, and the session is "open", do I need to retrieve the same secret for the user (i.e. by storing it on our side), or do we create a new secret by recalling `create-checkout-session`?

Is it ok to skip the return URL & session status retrieval if we handle the success page on our own (with `onComplete` option)?

What have you already attempted?
Right now we are redirecting to our "Success" page ourselves, with the `onComplete` option.

It is working properly on our test servers. We have tried with a lot of Stripe cards, 3d secure, error card, successful cards, etc. and our flow seems to be working fine.

However, we have not at all implemented the "Return Page" part of the doc, and wondering what could break in production.

What are you working on?
I'm working on using embedded checkout forms to my app that is already using a Stripe Hosted page.

#

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

Question
Why does this checkout session add 19% tax although the customers address is in Austria? Through reverse charge the checkout should not show tax.

Anything wrong with the checkout request or is it due to other settings being wrong?

Related Request ID(s)
none

What have you already attempted?
reached out via chat but did not receive any helpful answer.

#

@pseudo python pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'd like to retrieve the next payout estimated amount for connected accounts. How can I achieve that ?

Related Request ID(s)
None

What have you already attempted?
Looking at the Balance API, but there is only instant_available balance, and I'm not sure if I can rely on it ?

#

@normal pagoda pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm having an issue with the payout configuration in Brazil, and I'm getting the following message:

"You cannot be on a manual payout plan in country BR"

Since we are working on a gateway system, we need control over payouts. To avoid fraud on our side, it's not possible for us to allow daily automatic payouts โ€” it would need to be manual, where each payout request goes through a review process first.

Could you let me know if there's any solution for this?

Related Request ID(s)
Request ID: req_G2xqmnxzH8YsJI

What have you already attempted?
I tried creating a Connect account to work with the sub-account model.

What are you working on?
We are using Stripe for a payment gateway system.

#

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

Question
How long can I capture a payment?

I need to capture the registration payment for an event, and to know if they should be charged or canceled I have to wait approximately one month. Is this possible?

Related Request ID(s)
N/A

What have you already attempted?
.

#

@plucky trout pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Hi, i've been sruck for a year where my payouts are blocked so i can't get my money and the email i have on stripe i dont have acces to anymore and the id verification just rejects me everytime even tho it's my id and its good pictures. So i can't even conatct support cuase they'll respond to that email and i dotn have acess to it.

Question
Hi, i've been sruck for a year where my payouts are blocked so i can't get my money and the email i have on stripe i dont have acces to anymore and the id verification just rejects me everytime even tho it's my id and its good pictures. So i can't even conatct support cuase they'll respond to that email and i dotn have acess to it.

What have you already attempted?
Hi, i've been sruck for a year where my payouts are blocked so i can't get my money and the email i have on stripe i dont have acces to anymore and the id verification just rejects me everytime even tho it's my id and its good pictures. So i can't even conatct support cuase they'll respond to that email and i dont have acess to it.

Reproduction Steps
Hi, i've been sruck for a year where my payouts are blocked so i can't get my money and the email i have on stripe i dont have acces to anymore and the id verification just rejects me everytime even tho it's my id and its good pictures. So i can't even conatct support cuase they'll respond to that email and i dont have acess to it.

cursive heronBOT
#

@quick cloud pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was trying to hit /payment_intents api for ach bank transfer with setuo_future_usage as on_session. The payment is failing, what is the reason?

Related Request ID(s)
req_wTCAS9pRaXEUyc

What have you already attempted?
I have attempted to pass setup_future_usage as on_session.

cursive heronBOT
#

@glad stump pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Customers are getting a blank screen when making a payment

Question
I had a call about this last week thought my customer was doing something wrong but now I have gotten 2 more calls saying there screen goes blank after submitting payment and it does not go threw

What have you already attempted?
Nothing

Reproduction Steps
No steps have been taken

What are you working on?
Nothing

cursive heronBOT
#

@analog tulip pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

We want to fetch price info for a given price id. We want to rely on Stripe API for source of truth, however, we are concerned with Stripe's rate limits on read operations

Doc/Guide Links
https://docs.stripe.com/rate-limits#rate-limiter

What are you working on?
We are adding subscription functionality to our web app. We want to show price of subscription in real time

cursive heronBOT
#

@rich wind pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
{"code":400,"message":"Invalid response body from API:
<html>
\r\n
<head>
<title>
400 Bad Request
</title>
</head>
\r\n
<body>
\r\n
<center>
<h1>
400 Bad Request

Question
We are attempting to detach payment methods and receiving the above error.

The requests don't even show up in our dashboard for some reason. It seems like an error on the Stripe API end such that it's not even giving us a reasonable response.

What have you already attempted?
This was previously working as expected, but it seems like with a particular customer and payment method it doesn't work.

I can retrieve the payment method without issue through the dashboard shell, but detaching it from our API requests seems to be failing.

Reproduction Steps
Attempt to detach payment method pm_1R7sWCIVLuRzysjdP0ijXtvj

What are you working on?
Working on a stripe integration with WHMCS that uses the API to create payment methods and handle recurring payments

#

@errant silo pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Retrieve Product ID at checkout.session.completed event

Related Event ID(s)
None

What have you already attempted?
I have a working on integration of the webhook by storing the product id at the price metadata, then proceed to do the bussiness logic according to this ID

What are you working on?
I have a project where i want to have suscriptions. maybe i do the same approach already explained. But i want to know if exists something better

cursive heronBOT
#

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

Question
When receiving a payment method using an Express Checkout Element and a Payment Element, is there a way to set the Customer's default payment method when they submit their card details?

Related Request ID(s)
n/a

What have you already attempted?
We are currently handling this in a webhook, but would prefer not to wait for a webhook to arrive to set this.

What are you working on?
Adding backup payment methods to our app.

cursive heronBOT
#

@patent cloud pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/sdks/react-native

Question
I want to integrate stripe SDK in react native and want to display the transaction history and listing through the SDK is that possible with react native SDK?

What have you already attempted?
Just tried the Payment sheet from React Native SDK

What are you working on?
Marketplace feature in my app

cursive heronBOT
#

@quasi plume pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We create invoices via the Stripe invoice API, and are wondering if there is anyway to add an additional payment link to the generated invoice pdf? We have a custom page that shows all of the customer's open invoices and allows payments and would like to include this link in the PDF. Can you tell me if this is possible or not? I can't find anything in the API docs that would allow this. Thanks!

Related Request ID(s)
Example invoice: in_1R9qmfF0x5SNp72DFzOKt0ig

What have you already attempted?
Reviewed API docs for stripe.invoice

What are you working on?
Ecommerce website

cursive heronBOT
#

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

Question
We're trying to figure out how to set up "referral links" or similar using Pricing Tables or Payment Links particularly, so we're able to attribute a sale to a certain source or link. For example, we want to send out a link to a page on our site that has a Pricing Table embedded, and be able to add some attribute to that link that allows us to see in our reports how many purchases/subscriptions were made via that link. We could also use Payment Links for this, but in the Sandbox I couldn't find a way to see which link or mechanism a particular transaction or subscription was made through.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/pricing-table
https://docs.stripe.com/payment-links

What are you working on?
Print subscriptions to our newspapers.

#

@viscid meadow pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
we use the Card Element as a credit card form in our react app. most of our subscriptions are auto-renewing. seems some indian credit cards may not handle autorenewal. product and legal would like to display a disclaimer about this limitation in autorenewal for indian credit cards, but only for customers with indian credit cards.

Question
how can we use the card element to perhaps check the BIN, and then display the copy, hopefully using only react, and not having to use our backend?

What have you already attempted?
sorry if this is the wrong category

cursive heronBOT
#

@delicate ridge pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to reuse a connection token to do multiple transactions?
In our flow, we create a connection token, discover the ble readers, pair and connect and then do the payment. But, if i dont want to connect to the device again and again and just remember the device with already generated and used connection token, is it possible? Pls let me know.

Doc/Guide Links
https://docs.stripe.com/api/terminal/connection_tokens

What are you working on?
Remembering the already connected M2 reader

cursive heronBOT
#

@stray swift pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const handlePaymentElementChange = (event) => {
if (event.complete) {
console.log(event);
//updateTaxes(orderBasket);
}
};

return \(
    <form onSubmit={\(e\) =\> e.preventDefault\(\)}\>
        <PaymentElement
            options={options}
            onChange={handlePaymentElementChange}
        /\>
    </form\>
\);

Question
We have a fairly straight forward implementation of the React PaymentElement, except maybe, that we don't create the PM until the user submit the form and the order is validated.
However, we would like to show a tax summary to the user before they actually submit the form. In the past, with the card element, we would be able to get the zip code from the event, that's not the case with the payment element. Is there a work around that doesn't require saving the PM ahead?

What have you already attempted?
Looked at https://docs.stripe.com/js/element/events/on_change?type=paymentElement which indicates a zip code will only be available for a user selecting an existing card (so pre-existing user).
Seems that the only option is to save the PM ahead of time so that we get a payment method back which will have a postal code.
Why would the Payment element not return the zip code just like the Card element does?

What are you working on?
React embeddable widget

#

@flat robin pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
N/A -- Testing payments and refund flow and now blocked due to automatic checks.

Question
We're testing the payments flow in prod prior to production launch, but running into issues now with our payments being paused due to testing the refunds flow. Would someone be able to assist?

What have you already attempted?
Attempted to contact support, not getting a response.

What are you working on?
Testing payments and refunds in a production environment

#

@graceful imp pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<ExpressCheckoutElement
onReady={() => setLoading(false)}
onLoadError={onLoadError}
onConfirm={onConfirm}
options={{

        buttonTheme\: { applePay\: "black", googlePay\: "black" },
        wallets\: { applePay\: "always", googlePay\: "always" },
        layout\: { maxColumns\: 2, maxRows\: 2 },
      }}
    /\>

Question
Im trying to use the ExpressCheckoutElement, but do not have access to the options such as: emailRequired, phoneNumberRequired, etc. All i'm seeing are style options related to style

What have you already attempted?
Referring to docs, which state they should be there

What are you working on?
Trying to create a one-click checkout flow for my checkout section

#

@sonic raft pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We run a marketplace for tattoo artists where customers pay either through a booking system or via direct payment links generated by the artists.
We use Stripe Checkout Sessions in both flows:
Booking Flow โ€“ After a tattoo session is reviewed, funds are transferred to the artist via stripe.transfers.create.
Fast Link Flow โ€“ Artists generate direct payment links where Stripe automatically handles the split via application_fee_amount and transfer_data.destination.
Now we need to generate a list of all transactions (from both flows) with the gross value

Related Request ID(s)
req_zfZ11eUlpELH9E, req_Ze4n76Oqxmguiy

What have you already attempted?
Weโ€™ve checked the Stripe Dashboard and can see the data per transaction, but itโ€™s not aggregated.

We explored the /v1/balance/transactions and /v1/charges endpoints, but need guidance on the most complete and efficient way to combine booking and fast-link flows.

Weโ€™ve implemented metadata tagging (bookingId, artistId, etc.) in both flows for traceability.

What are you working on?
Weโ€™re building an admin dashboard to track and report revenue per artist, including the fees and net payouts across both flows.

#

@noble dragon pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can i test upgrades to the api without sandbox?

Related Request ID(s)
Look for api upgrades pages and it does say to initialize the stripe client with the specified apiVersion.

What have you already attempted?
I have initialized the client with the specified api version.

What are you working on?
Just a backend for managing the webhook

#

@snow brook pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Display only Card payment method

What actually happened?
The accordion displays Card and Google Pay

Reproduction Steps
Create a payment method with Stripe SDK
Get that payment method from the frontend
Create the stripe.elements on the frontend
See the payment options

Question
In some devices there's a "Google Pay" option due I hardcode the "Card" payment_method_type for create payment intent

What are you working on?
New Ecommerce using Stripe for payments

cursive heronBOT
#

@misty cobalt pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Charges and payouts are paused

Question
I want to know why is my Stripe stopped and literally didnt getting payout.

What have you already attempted?
I tried opening a support in website but doesnt work.

What are you working on?
Selling Softwares

#

@undone creek pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For a recurring invoice that is still in draft, am I able to modify the invoice items (e.g. to another price value) when we receive a invoice.created event?

Related Request ID(s)
evt_0R9v2x3MFIk84T3nTC8xluaB

What have you already attempted?
https://docs.stripe.com/invoicing/invoice-edits?testing-method=with-code: I learned that invoice.update endpoint cannot be used when invoice is finalized

https://docs.stripe.com/billing/invoices/subscription?locale=en-GB#adding-draft-invoice-items: I learned that we can create invoice items on draft invoice, but it doesn't specify if we can update an existing invoice item.

cursive heronBOT
#

@dawn goblet pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there I am currently using stripe transfers function to transfer money from main account to connected account I want to add description to this payment so this can be seen by the connected account however when I add Description parameter in TransferCreateOptions I can see the description in main account but it is not visiable on the connected account side.

Related Request ID(s)
py_1R9bpfBBNgJ2lM2BqdYiXbqe, tr_3R9bmxBZ8dpn0pCV1PHqmmmy

What have you already attempted?
I have done so research and found that I can use TransferUpdateOptions to attach desctription its currently working updating the transfer description on source transactrion but it is not visiable on the client side of the panel because its not updating on the py side of the transaction therefor I cant see on the Description or Statement descriptor sections of the stripe panel

What are you working on?
and API

cursive heronBOT
#

@devout zodiac pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The type of the provided PaymentMethod is us_bank_account. This does not match the expected type card. Try confirming with a PaymentMethod of type card.

Question
I understand the error message but I'm not sure how to exactly replicate it in my test account to debug and find a solution for it. How can I replicate this error message in the test account?

What have you already attempted?
I tried using the stripe bank accounts to replicate the problem but I'm not being able to replicate.

cursive heronBOT
#

@ivory olive pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/when-to-categorize-transactions-as-mail-order-telephone-order-(moto)

Question
I've gotten Payment Elements set up to accept a payment_intent on our website which is working perfectly.

Now I'm adapting it so it can be used internally by our support agents (think call centre) for MOTO payments. However when I flag the payment_intent for MOTO it requires Confirm = TRUE and a Payment Method.

This seems to be a chicken/egg problem, I need a payment intent for the elements component to capture the payment details but can't create it if I don't already have a payment method?

What is the best practice around safely taking MOTO payments?

What have you already attempted?
Looking at other people's questions it appears that Payment Elements does not support MOTO. So hoping to get an understanding of the order of execution should be.

Current state

  1. Create Payment Intent
  2. pass client secret from created PI to Payment Elements
  3. user transacts and payment is confirmed.

What are you working on?
salesforce integration with stripe for internal and external use

cursive heronBOT
#

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

Question
We are registering the customerโ€™s default card at the time of the checkout.session.completed event callback via webhook.
We retrieve the setup_intent from ::Stripe::Checkout::Session.retrieve(id) and use the payment_method.
This method was kindly suggested in this Discord channel the other day.
However, sometimes checkout_session.setup_intent is nil.
Do you know why this happens?

Let me know if youโ€™d like to adjust the tone (more formal, technical, etc.)!

Related Request ID(s)
evt_1RA06RJeNdmp8jhmuRkllSXx

What have you already attempted?
checkout_session = ::Stripe::Checkout::Session.retrieve(@data_object[:id])
pp checkout_session
setup_intent = ::Stripe::SetupIntent.retrieve(checkout_session.setup_intent)
pp setup_intent

What are you working on?
CtoC service

cursive heronBOT
#

@remote oyster pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, please tell me how to create an invoice based on an existing payment or based on a paid payment intent?

Related Request ID(s)
api

What have you already attempted?
I am trying to create an invoice based on a completed payment

#

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

Error Message
google pay button not displaying

Question
can you please check that google pay button is displaying or not.
https://cvmadebetter.com/

please select writing services -> cv/resume writing-> order any plan and you will redirected to checkout page.
Google pay button need to display under place order button

What have you already attempted?
i tried with browser with google account connected to test suit.

cursive heronBOT
#

@gaunt talon pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have users sign up before they can access the subscription section, but I do not want to create a stripe customer until they complete subscription (for less stripe customer clutter). My problem with doing this is that I cannot find a way to pass the auto-generated customer my database's userId. What I would do with that, is when I receive the customer created webhook, I would then get the userId to be updated with the corresponding customerId. How can I give my userId to the auto generated Customer?

Related Request ID(s)
req_PGQuBBLwgxKnOv

What have you already attempted?
I have already tried creating the customer on payment submit, but the customerId is needed on checkout creation. Also, I tried passing it as metadata in the checkout session, but I cant find a way to use that on my server side (with the customer object).

What are you working on?
Subsctiption based SaaS with Next.js

cursive heronBOT
#

@cursive roost pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Trying to download a pdf by fetching it from the link in stripe app, but it is not working.. what is the way to do that ?

Question
Trying to download a pdf by fetching it from the link in stripe app, but it is not working.. what is the way to do that ?

What have you already attempted?
I have added the pdf's url source in content permision src as well

What are you working on?
trying to build a stripe app where I will send pdf from my backend and let the user open or download that pdf in the stripe app

cursive heronBOT
#

@teal coral pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When accessing the stripe portal api and creating a session, can I somehow pass which products are up- and downgradeable and which are not? The issue I am having is that a user can have multiple different products and I specified in the Customer Portal settings, that the user can downgrade and upgrade from a wide range of plans. However, when the user has a plan that is not in this plan list, the user is still able to up and downgrade to a product not within that product category

Related Request ID(s)
https://dashboard.stripe.com/settings/billing/portal

What have you already attempted?
Read the docs but couldn't find a solution for my issue

What are you working on?
SaaS product

#

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

Question
How can I do line break while submitting text string evidence on a dispute with the API?

Related Request ID(s)
dp_1RA4T5EAXIGNKSo5fo2fASHN

What have you already attempted?
Everything, \n or <br> etc... But that is still not doing line break. That is working well on a product description for example BUT not while submitting text string evidence in a dispute with the API.

#

@mystic roost pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
s of March 1st, 2025, google.maps.places.PlacesService is not available to new customers. Please use google.maps.places.Place instead. At this time, google.maps.places.PlacesService is not scheduled to be discontinued, but google.maps.places.Place is recommended over google.maps.places.PlacesService. While google.maps.places.PlacesService will continue to receive bug fixes for any major regressions, existing bugs in google.maps.places.PlacesService will not be addressed. At l

Question
We are seeing the above warning in console. is there way to fix this.

What have you already attempted?
Found no reference on this issue with docs

What are you working on?
We are building out checkout pages with stripe web elements

cursive heronBOT
#

@mystic roost pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
follow up on the previous https://discordapp.com/channels/841573134531821608/841573134531821616/1357615802089607199 Question.

Question
https://docs.stripe.com/elements/address-element
i can see the same issue with stripe docs also.
just using AddressElement will log this error in console

What have you already attempted?
Did not fine any ref

cursive heronBOT
#

@magic lance pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating app with one-time payments in stripe checkout where after successfull purchase I need to update logic for user (credits, etc.)

What event should I listen in my stripe webhook to execute that logic on successfull payment?

checkout.session.completed?

Related Event ID(s)
xx

What have you already attempted?
xx

#

@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/webhooks#acknowledge-events-immediately

Question
Is it strictly required to always send Stripe response code 200 on stripe webhooks?

What if my logic fails and throws error. How should handle this one?

What have you already attempted?
My custom fails and throws error. The stripe resends it thrice with certain interval. Is this connected that the stripe webhook should return 200 as soon as possible?

cursive heronBOT
#

@lilac 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/changelog/basil/2025-03-31/deprecate-legacy-usage-based-billing

Question
Hello, this is kind of a two-pronged question.

We are currently in a situation where we want to listen to webhooks locally using the Stripe CLI. However, the CLI only allows the default API version of our account (2018) or the current latest (2025-03-31.basil). We initially planned to bump our account default to the latest to achieve this, however the changelog for this version mentions this explicitly:
- Removed `billing_thresholds` from Subscription endpoints
Does this mean this feature is entirely removed or an alternative exists, as we depend on it?

What have you already attempted?
Attempted to find an alternative for this feature through the Subscriptions API but I couldn't find anything.

What are you working on?
Stripe integration using subscriptions

cursive heronBOT
#

@quick cloud pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to do a bank redirect payment with sofort, passing setup_future_usage as off_session, why the mandate data is needed here?

Related Request ID(s)
req_7ojW4QxOISGg0U

What have you already attempted?
I am trying to do a bank redirect payment with sofort, passing setup_future_usage as off_session, why the mandate data is needed here?

#

@night sedge pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
According to the following docs the payment_method_types array should accept "crypto" as an option, but the latest stripe SDK doesn't accept it.

https://docs.stripe.com/crypto/accept-stablecoin-payments

Question
How can I enable crypto payments on my checkout session using the stripe SDK ?

What have you already attempted?
I've already attempted adding a "crypto" as a type in the payment_method_types but the typescript sdk is throwing an error.

What are you working on?
Building a meeting scheduler platform called Huddle01

#

@leaden coyote pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am building a marketplace in which users have their own Stripe Connect account that behaves like a wallet, with a balance. I want users to be able to checkout using their available balance.
Current checkout is built using Stripe Elements, so on top of the Payment Intents API.
I found 2 solutions to enable "wallet balance checkout" :
- use the Charpes API : create a charge with the user's connected account id set as its source param
- use the Transfer API : make a transfer to the platform account (the main one) on behalf of the user's connected account

Which is the best solution? I feel like making a charge is more aligned with the action of buying, but its now deprecated.

Doc/Guide Links
Using the Charges API with source param : https://docs.stripe.com/payments/charges-api/connect#destination-charges
Create a charge (deprecated) : https://docs.stripe.com/api/charges/create

What are you working on?
A marketplace dedicated to pop culture items, such as retro arcade games or trading card games

cursive heronBOT
#

@modest leaf pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
It seems not possible to update the customer tax value and type when updating a customer through the update endpoint. What am I missing?

Related Request ID(s)
.

What have you already attempted?
.

#

@loud zinc pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
I want just to enable the option โ€œKlarna Pay Nowโ€ and to disable the option โ€œKlarna Pay Laterโ€

Question
how to pass the the payment intent for this?
can able to do this?

What have you already attempted?
nothing

cursive heronBOT
#

@tepid verge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do we set our current version API on the Stripe account which is then selectable in the webhook creation process (between current and last) choices ?

Related Request ID(s)
evt_1RA7zkEHsAIKY6jw8Eocnjkm

What have you already attempted?
Still searchin where we can set it from the Stripe Dashboard

What are you working on?
Just trying to make webhook works but got conflict with version

#

@rancid pivot pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi
We saw the new stripe API release basil.
Here it says billing threshold feature is removed.
https://docs.stripe.com/changelog/basil/2025-03-31/deprecate-legacy-usage-based-billing

Do we have any replacements for billing_threshold ?

We are using metered billing and at some point if our customer's usage reaches certain limit, we want to charge them immediately. Up till now we were using billing threshold for this. Do you have any other way to implement this ?

Related Request ID(s)
-

What have you already attempted?
https://docs.stripe.com/changelog/basil/2025-03-31/deprecate-legacy-usage-based-billing

What are you working on?
metered billing

cursive heronBOT
#

@warm epoch pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to create a subscription for the customer that has been created not in the stripe connect area, but in the host account? This subscription should be created for stripe connect

Related Request ID(s)
req_nd1mRqSaa1mQoD

What have you already attempted?
As in question I wanted to create a subscription for host's customer in the stripe connect with merchant.

{"code":"resource_missing","doc_url":"https://stripe.com/docs/error-codes/resource-missing","status":404,"message":"No such customer: 'cus_XXXXX'

which is quite understandable, the thing is that I wanted to be able to set up billing in my application globally and from this customer can create subscriptions with merchants

cursive heronBOT
cursive heronBOT
#

@errant girder pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am implementing usage-based pricing (https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#credit-burndown)

I can send metered events successfully, my meters are connected with prices and products and credits are depleted when the invoicing cycle ends.

Question: How can I block the user from continuing during the period if they use up all the credits? When I query the creditBalanceSummary API, the `ledger` and `available_balance` remain the same until depleted by invoice finalisation. The available balance isn't deducted in reaction to metered event receipts.

Related Request ID(s)
req_mXU1s7ZRJweTjR, req_macxMWCNyGpz3z

What have you already attempted?
API and usage docs related to metered billing.
I've used time simulation on the dashboard to check how credit reacts to subscription invoices over time. It works, but metered events don't reduce the "available credit". Only invoices that finalise do.

What are you working on?
Usage based pricing with pre paid credits

#

@languid jolt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to debug billing meter event with synchronous validation using https://docs.stripe.com/api/v2/billing/meter-event-stream/create.

I am having issue in adding meter event using billing meter event stream session

Related Request ID(s)
-

What have you already attempted?
I have already tried listening webhook events, but no event received.

What are you working on?
metered billing

#

@radiant jacinth pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
ShippingAddressCollection = new SessionShippingAddressCollectionOptions() {
AllowedCountries = new List<string> { "US", "CA"},
},
ShippingOptions = new List<SessionShippingOptionOptions>() {
new SessionShippingOptionOptions() {
ShippingRateData = new SessionShippingOptionShippingRateDataOptions() {
FixedAmount = new SessionShippingOptionShippingRateDataFixedAmountOptions() {
Amount = (int)(SelectedQuote.Quote.FinalQuoteAmountWi

Question
I am trying to create a checkout session for just shipping costs that uses tax code 'txcd_92010001' to automatically shipping taxes for a origin and destination location. Can you please suggest how to achieve?

What have you already attempted?
I have already tried to look into ShippingOptions object and can't find any fields that let me set the origin and destination

What are you working on?
I am building a online platform that offers shipping services.

cursive heronBOT
#

@lime bear pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Card-present refund on interac_present transaction. I was expecting to get a final refund.updated event after the refund was complete, but only got charge.refunded.

Related Event ID(s)
evt_3RA9sxBb9dNaU75s02RlvYu4, evt_3RA9sxBb9dNaU75s0KgSZvpo

What have you already attempted?
Attempted card-present refund for interac_present transaction.
https://dashboard.stripe.com/test/payments/pi_3RA9sxBb9dNaU75s02eoZrL5

What are you working on?
Terminal transactions

#

@lethal shadow pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are using nextJs with the latest @stripe/react-stripe-js and @stripe/stripe-js
On the frontend:

const stripePromise = loadStripe(KEY,{apiVersion:"2025-03-31.basil;vipps_preview=v1"});

Question
Want to support the "Vipps" payment system. We got the button to show up on the payment form but when we click the button and /v1/payment_intents api gets called, from the frontend we get this error:
In order to access this beta feature, you must explicitly specify which version of the beta you want, by passing an HTTP header "Stripe-Version: 2025-03-31.basil;vipps_preview=v1
Upon adding this to the code above we get
Can not provide apiVersion to Stripe()

What have you already attempted?
Adding apiVersion to Stripe(), doesnt work

What are you working on?
Maintaining hotel booking site

cursive heronBOT
#

@neon hemlock pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Iโ€™m trying to process a payment through stripe and itโ€™s saying the card is declined.

Question
The card Iโ€™m using is a prepaid debit visa gift card. Stripe says that they accept these types of gift cards. Iโ€™ve went to the gift card website giftcardmall.com and confirmed that they funds are on the card. I even registered the card through their website. Thereโ€™s no reason that the card should be getting declined unless stripe doesnโ€™t actually accept gift cards

What have you already attempted?
Triple checking that Iโ€™m using the right credentials for the card, that funds are available on the card, and the card is registers

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/radar/rules/supported-attributes#card-info

Question
Radar supported attributes list card_bin as being a card's BIN number (6 digits), but newer bins are 8 digits instead of 6. Are 8 digit bins supported when using card_bin for rules or not?

What have you already attempted?
Nothing yet, just reading the docs to plan future payment integrations.

What are you working on?
Sports booking platform where we allow B2C customers to book e.g. tennis courts from a sports venue (Connect account)

#

@bleak zodiac pressed 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/stripe-terminal-support-for-apple-pay-google-pay-samsung-pay-or-contactless-cards

Question
I am a bit lost here moreover I have no idea how to start. I have a M2 terminal integration, my front end is React Native, Backend C#. Everything works perfectly. As default for our operation, we save all clients on file (SetUp Intent) then Subscription is created using card on file as payment. I am now in need to implement Apple Pay, but I have no idea how to start and I have several questions:
- Is tapping Apple Pay on M2 Terminal transparent and transaction is going through as a card present ?
- Can I create a setupIntent and Save card on file is Apple Pay is Tapped on the terminal ?

What have you already attempted?
I have basic integration working, I just need to add Apple Pay. I tried to look the docs. Also how can I use simulator to simulate apple pay tap ?

What are you working on?
Gym POS

cursive heronBOT
#

@limpid bridge pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
require "./shared.php";
$paymentIntent = $stripe->paymentIntents->create([
'amount' => 7099,
'currency' => 'usd',
'automatic_payment_methods' => ['enabled' => true],
])

    const stripe = Stripe\('<?= $\_ENV\["STRIPE\_PUBLISHABLE\_KEY"\] ?\>'\)
    const elements = stripe.elements\(
        clientSecret\: '<?= $paymentIntent\-\>client\_secret ?\>'
    \)
    const paymentElement = elements.create\('payment'\)
    paymentElement.mount\('\#payment\-element'\)

Question
Hello, I've been following this tutorial https://youtu.be/D_XL3P4MFH4?si=DMIxAmY4c28NzDgE from the beginning until 10:37 but I can't see my elements appear.
I also followed this from the documentation https://docs.stripe.com/checkout/embedded/quickstart but I have the same problem.
Maybe it's a requirement I've missed, but I've installed composer, the vendor, everything seems to be fine.

What have you already attempted?
I've tried the quickstart code and followed the video tutorial, but the elements won't appear.

What are you working on?
I'm trying to create a payment system that handles both one-time payments and subscription.

#

@dawn goblet pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I update the description of this charge. I have the following where I try to update description of the charge however when I try do this I get an error saying there no charge but this is not true since I can see the charge details on my panel.

Related Request ID(s)
n/a

What have you already attempted?
public void UodateDatils(string transferId, string apiKey)
{
StripeConfiguration.ApiKey = "";

   var options = new ChargeUpdateOptions
   {
       Metadata = new Dictionary<string, string\> { { "shipping", "express" } },
       Description = "AE Test",
       

   };
   var service = new ChargeService\(\);
     service.Update\("py\_1RABLTBBNgJ2lM2BBJCFNbq1", options\);

}

What are you working on?
API

#

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

Question
Where is the link for the stripe apple domain verification file? i can no longer find where to download the file to upload to our web server

Related Request ID(s)
n/a

What have you already attempted?
I added a domain here https://dashboard.stripe.com/settings/payment_method_domains?enabled=true but there's no option to download the verification file

What are you working on?
Enable apple pay on a new domain

#

@whole tide pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Charges are paused contact stripe for more information

Question
My business is not a high risk business. I sell clothing goods and shoes online. It is not in the prohibited or restricted business list. I have provided all documentation and information requested only to be denied. I have been told I will have to refund or forfeit all funds and balances in my account. Which will in turn kill my business.

What have you already attempted?
Reaching out to customer services, reading faqs, chatting with online service, submitting my business for review, reading through prohibited and restricted business list. And emailed Pamela back and forth. To no avail.

What are you working on?
I own a small novelty and clothing brick and mortar in eastern New Mexico . We offer some of our products online to ship.

cursive heronBOT
#

@bleak zodiac pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How Apple Pay works for front end and back end? Do I need to have specific code in place ?

Related Request ID(s)
in_0

What have you already attempted?
I tried read docs, I also tried to speak with docs and guide team, they ignored my most basic questions.

What are you working on?
GYM POS

cursive heronBOT
#

@oblique mango pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Error retrieving customer's subscription when using the same card vor 2 subscriptions (and 2 customers)

Related Request ID(s)
N/A

What have you already attempted?
` // list subscriptions for this customer
const subscriptions = await stripe.subscriptions.list({
customer: customerId,
limit: 10,
});

  // try to match the setup intent
        const subscription = subscriptions.data.find\(
            \(sub\) =\> sub.pending\_setup\_intent === setupIntent.id
        \);\`
cursive heronBOT
#

@subtle arrow pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey so i wanted a create checkout session when user wants to subscribe to my platform the checkout session api mention something like create a new session everytime user tries to pay
should i expire the current checkout if user tries to create a new checkout again?

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

What are you working on?
a services platform?

cursive heronBOT
#

@thin ravine pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there an api endpoint, or a way to delete a customer billing portal configuration completely?

We have a billing portal configuration ID stored in our database, but when we try to use it, we get an error that the configuration doesn't exist, and I'm trying to troubleshoot what happened to it. I don't see an endpoint or a way that a configuration can be completely deleted, so I'm not sure if that could have happened, or if I'm barking up the wrong tree.

Related Request ID(s)
Cannot find any related request IDs

What have you already attempted?
I've searched Developer > Logs and Developer > Events

What are you working on?
A customer billing portal page

#

@split wind pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The start end and end dates in an invoice subscription to match with the period_start/period_end dates from the api for an invoice

What actually happened?
These dates did not line up

Reproduction Steps
I am not sure how to repro this

Question
I have an invoice that was sent to a customer where the start/end dates in the description do not line up with the period_start/period_end dates coming from the api for the same invoice

cursive heronBOT
#

@odd stream pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am wondering if it's possible through the API to add an internal note to the credit note object. It looks like it's possible via the Stripe Dashboard but I can't seem to find documentation via the API to do that.

Second question is related to refunds:
- Are refund objects created asynchronously when a credit note is created?

Related Request ID(s)
https://dashboard.stripe.com/test/credit_notes/cn_1RADXWDAWTp2PXOwCAhXHgfg

What have you already attempted?
I have looked through the API docs

#

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

Question
We have have billing_address_collection: true in the stripe.checkout.sessions.create call and we do see in the dashboard. Where do we actually go to see those details because is not under customer details

Related Request ID(s)
NA

What have you already attempted?
NA

#

@modest cloak pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're working on setting up volume pricing for our products, these are one time purchases where you can buy 1+ item (I'll use screws as an example).

The base price for screws is $0.10
If you buy 100+, the price drops to $0.08
If you buy 200+, the price drops to $0.07.

I have found the tiered pricing options for a Price, which seems to do exactly what I'm wanting, but as far as I can tell this only works with recurring payments.

I've also found this (link in already attempt), which has our exact use case, but I cannot find any reference to setting this up other than tiered pricing on a Price

Related Request ID(s)
N/A

What have you already attempted?
https://stripe.com/gb/resources/more/what-is-volume-pricing-heres-how-volume-discounting-works

#

@severe egret pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm having trouble connecting my Stripe M2 reader to my Terminal App. It is a React Native App, and I am using an M2 reader. I am using it with Connect.

Question
When I use simulated mode, everything works ok, and I can make a test charge. When I move to hardware mode, it sits in 'connecting' mode indefinately.

What have you already attempted?
I switched it out between a location ID I created in dashboard and a location created on my server using the account ID of the connected account.

cursive heronBOT
cursive heronBOT
#

@young leaf pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Webhook signature verification failing despite correct secret. Events (checkout.session.completed, customer.created) show as failed. Using SvelteKit/Vercel with better-auth. Webhook secret (whsec_shrzUnKlXl5QdFgWhxWsWaGCBT5rWcvy) matches in Stripe Dashboard, .env, and Vercel. Getting "Missing Stripe Signature" error. Is there a known issue with SvelteKit/Vercel raw request body handling affecting signature verification? Should I use a different approach for accessing raw request body? Any known issues with better-auth webhook handling?

Related Event ID(s)
checkout.session.completed at 12:39:37 PM "id": "evt_1RAFaEC6ps9asS5BsCUA2r9c", "object": "event", "api_version": "2024-10-28.acacia",

What have you already attempted?

  1. Verified webhook secret matches in Stripe Dashboard, .env, and Vercel
  2. Confirmed webhook endpoint is accessible
  3. Added detailed logging for webhook requests
  4. Tried both test and live environments
  5. Updated webhook handler to use raw request body
  6. Checked Stripe Dashboard for failed events
  7. Verified customer creation and payment success

What are you working on?
Building a dashboard with premium subscription features. Using SvelteKit frontend, Vercel deployment, and better-auth for authentication/Stripe integration.

#

@severe egret pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const location = await stripe.terminal.locations.create({
display_name: "The Crane Theater",
address: {
line1: "2303 Kennedy St NE Unit 120",
city: "Minneapolis",
state: "MN",
country: "US",
postal_code: "55413"},
},
{
stripeAccount: user.stripeAccount,
});

Question
I am having trouble pairing my Stripe M2 reader via Bluetooth. I am using Terminal with the React Native SDK and it is for creating a charge on a connected account. I can successfully complete a transaction in simulated mode, but when I switch to non-simulated mode, I am unable to pair with my reader.

What have you already attempted?
I have tried using the code above on my server to create a new location with the connected account ID and I have created a location in Stripe Dashboard.

What are you working on?
Trying to build a box office app for our Ticketing Platform.

cursive heronBOT
#

@ruby iron pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
try {
$this->stripe->paymentIntents->cancel($paymentIntentId);
} catch (ApiErrorException $e) {
// This is a cleanup method and can be called after a Stripe payment intent has expired
// in which case we expect this error and there is nothing that needs to be done
}

Question
Working on some code related to Payment Intents and the Payment Element. We are trying to create a simple way to cancel the payment intent from the Javascript side of things in a beforeunload call so that we don't have a bunch of uncaptured payment intents sitting around. We have noticed that nowhere in the JS docs is there a way to cancel a PI, so I'm wondering if there is a security implication we aren't thinking about and Stripe explicitly only lets this hapen a server

What have you already attempted?
See code- that is the PHP version we are doing successfully - but requires us to call an additional script via Ajax/axios rather than a simple (this.stripe.cancelpaymentIntent(payment_intent_id)

What are you working on?
An ecommerce app

#

โ›”๏ธ Stripe developers aren't currently available on Discord

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

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

cursive heronBOT
#

โœ… Stripe developers are currently available on Discord!

cursive heronBOT
#

@candid pulsar pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/tokens/create_card?lang=curl#create_card_token-card-cvc

Question
It states in the link that the card.cvc is 'Usually required' for creating a card token. But does it drastically drop the accuracy of determining the card funding if we don't include the cvc in our request?

What have you already attempted?
I've tried a test request without the cvc and got a response with correct funding but I'm wondering if the accuracy will be the same even if we don't provide the cvc.

What are you working on?
We're applying surcharge compliance in our payments solution but this requires us to confirm what the funding type for a payment card is.

#

@mossy swallow pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am setting up meter-based billing. I have a subscription-based product that has three prices, two of which are meter-based. In the dashboard, I see that stripe is successfully detecting meter events because they show up. But these usages are not being reflected in the customer's next invoice.

Related Request ID(s)
I am not rly sure what to put here tbh

What have you already attempted?
I have tried using both v1 and v2 endpoints (/v2/billing/meter_events), live mode and test mode

cursive heronBOT
#

@shrewd zephyr pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
*not related to Stripe integration, but user's DMING* which

What actually happened?
Wanted to report a user DM'ing me. server's usually take actions

Reproduction Steps
NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA

Question
NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA

What are you working on?
NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA

#

@atomic prairie pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentRequest = stripe.paymentRequest({
...
});

paymentRequest.canMakePayment().then((result) => {
if (result && result.googlePay) {
setCanPay(true);
} else {
setCanPay(false);
}
});

const opt = {
    clientSecret,
    paymentRequest,

}
return {canPay && <PaymentRequestButtonElement options={options} />}

Question
I want to accept google pay into our site and I am getting error

What have you already attempted?
I have tried Express Checkout Element but can't get to work.

What are you working on?
working on GPayments

cursive heronBOT
#

@mild estuary pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a price P1, I create a new price P2 under same product. What is the best way to manage prices of existing subscriptions? Currently, we update existing subscriptions with new prices without proration, so that in the next billing cycle, customers will pay new price. However, if customer upgrades the plan midway, Stripe calculates the price based on the new price, instead of the old one. Is there a way around it?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#upgrading-subscriptions

What are you working on?
I am maintaining existing subscription service which uses stripe, and need to add and migrate prices, and support upgrade, downgrades, etc.

#

@hearty lodge pressed the ๐Ÿ“š Doc or 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/errors#errors-network_advice_code

Question
Is there anywhere we can see what each code means ? Is there anything we can advise clients to do when we see a specific code ?

For example can I tell why this card was declined based on "network_advice_code": "01", "network_decline_code": "83", as seen in req_KDTXp5iFt6SREV ?

What have you already attempted?
nothing yet

cursive heronBOT
#

@civic zenith pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I think I hit my API Limit for 30 days with WhaleSync and Make.com

Related Request ID(s)
I've looked in the Workbench > Overview

What have you already attempted?
It all started when I was unable to search my customer account while building out in make. When I was able to previously.

Creating a new API Key. I had no idea I hit this API Request Limit of 50k it started at 12:37am.
After I removed and added a new API Key to Whalesync.

What are you working on?
I've been building within make a Webflow > Create an invoiceStripe > Weblfow

#

@slim moss pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Login on portal link redirects to selected customer

What actually happened?
Login on portal link redirects to wrong customer

Reproduction Steps
I enabled "Limit customers to 1 subscription". After that I created two customers with the same email address. For each of the two customers I created a subscription. Now, when creating a checkout session for the first created customer, I receive an email with a link to the billing page and the last created customer is shown.

Question
How can I make the billing page respect the customer ID for which the checkout session was created and show the correct customer after login?

#

@manic igloo pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
from a captured payment intent, how do i find out about the stripe processing fee amount?

Related Request ID(s)
NA

What have you already attempted?
i tried to see the api documentation of payment intent object but couldn't find anything that tells me what was the processing fee of stripe

What are you working on?
NA

cursive heronBOT
#

@exotic burrow pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello :)

We are currently creating our first Stripe App which will be submitted to review soon. I am currently doing OAuth part on the backend and trying to call verifyHeader method but I've got the same error whatever I do.

No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.

Here is my code: https://www.codebin.cc/code/cm96t0gmj0001kv030smlyfej:961Eeddxop

Related Event ID(s)
Verify Headers

What have you already attempted?
I am currently coding on a local env. with Ngrok configured on the Stripe App with the code provided here in Front: https://github.com/stripe/stripe-apps/blob/main/examples/basic-auth/frontend/src/views/App.tsx

I tried to update route to allow rawBody and double checked my webhook secret

What are you working on?
An automation for charges events related to specific activities in France.

cursive heronBOT
#

@limpid moat pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
pr.canMakePayment().then((result) => {
console.log('result =>', result);
setResult(result);

    // Only set paymentRequest if Google Pay or Link is available
    if \(result?.googlePay \|\| result?.link\) {
      setPaymentRequest\(pr\);
    } else {
      console.log\('Payment method not available'\);
    }
  }\);

Question
hi i want to use apple pay and google pay with stripe in my nextjs app
My problem is that Google Pay and Apple Pay are enabled in the panel, but this function returns false. The domain address is https and I'm testing it on Chrome.
my domain is => https://quiz.matcha-fit.com/checkout/

dont show google pay button
just show pay with link

What have you already attempted?
no

#

@crude ocean pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const subscriptionData: Stripe.SubscriptionCreateParams = {
customer: customerId,
items: [
{
price: priceId,
},
],
expand: ["latest_invoice.payment_intent"],
payment_behavior: "default_incomplete",
payment_settings: {
save_default_payment_method: "on_subscription",
},
};

Question
I'm trying to create a Subscription (for connected account) with the parameters above. Steps: create Subscription obj, take the invoice, from the invoice get the payment intent, send the payment intent's client_secret to my client to confirm the payment. The first payment/invoice is successful. However, the next billing always fails. The status of the payment is requires_payment_method. These are all test Subscription in the sense that I use the Sandbox and test cards.

What have you already attempted?
- I tried all different billing cycles, e.g Daily, Weekly, Monthly but the result was the same; the next billing failed.
- I tried to update the first payment_intent with setup_future_usage: off_session to save the payment method but that didn't work either.

What are you working on?
Building a payment system for a sport booking app

#

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

Question
Why is tax_exempt provided in customer_details in a checkout session not transfered to the customer object?

Related Request ID(s)
Checkout session cs_live_b1ESnHljwfGgcQ18DTqcUDKhd9t4RZ8TOc5kJ7rpFgohukvtSFCnqyEdLr

What have you already attempted?
Customer details does not exist on the charge object and we can only get the customer & billing details. tax_exempt = reverse in customer details in a checkout session does not transfer over to the customer object so we can get it on the charge.

What are you working on?
Helping a Stripe customer to automate their bookkeeping

#

@swift lintel pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Test site Webhook is throwing error.

We are getting below exception "The signature for the webhook is not present in the Stripe-Signature header. at Stripe.EventUtility.ValidateSignature(String json, String stripeSignatureHeader, String secret, Int64 tolerance, Int64 utcNow) in /_/src/Stripe.net/Services/Events/EventUtility.cs:line 154 at Stripe.EventUtility.ConstructEvent(String json, String stripeSignatureHeader, String secret, Int64 tolerance, Int64 utcNow, Boolean throwOnApiVersionMismatch) "

Related Event ID(s)
"evt_1RAbXbDwT5gdvn7n3MyvmrK

What have you already attempted?
I have check StripeEndPointSecret and tested locally and it works

cursive heronBOT
#

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

Question
i m trying to create a payout to by connected account's external account but its failing

Related Request ID(s)
req_9iE3OdojU8140x

What have you already attempted?
Error in transferring to connected account: Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments; code: insufficient_capabilities_for_transfer; request-id: req_9iE3OdojU8140x
com.stripe.exception.InvalidRequestException: Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments; code: insufficient_capabilities_for_transfer; request-id: req_9iE3OdojU8140x

cursive heronBOT
#

@fluid trench pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const account = await this.stripe.accounts.create({
type: 'express',
email: stripeAccountEmail,
business_type: 'individual',
country: 'DE',
business_profile: {
mcc: '4789',
name: `${user.firstName} ${user.lastName} (via Muvn)`,
url: 'https://www.muvn.de'
},
individual: {
email: user.emai

Question
Hello,
I've integrated stripe express account to create connect accounts, these are working fine but on stirp hosted ui onboarding at final step to review the information by visiting accounLink for onboarding, its showing business type which my client dont want to show that, due to that reason im going to use api onboarding but there stripe not asking for phone verifications etc.
if you want then i can show yo my code

What have you already attempted?
all the possible ways

What are you working on?
Hello, I've integrated stripe express account to create connect accounts, these are working fine but on stirp hosted ui onboarding at final step to review the i

cursive heronBOT
#

@light bough pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to get the disputes that have been lost in a given time period, e.g. the last month?

I can't find a variable to view a closed at date.

Related Request ID(s)
req_PshYRvlDc5DiEE

What have you already attempted?
Tried to call the dispute API endpoint but this seemingly only allows date filtering based upon when a dispute was created.

#

@safe notch pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
r.Body = http.MaxBytesReader(w, r.Body, int64(65536))
payload, err := io.ReadAll(r.Body)
if err != nil {
dep.log.Error("error reading stripe request body", err.Error())
return nil, &utils.BadRequestError{}
}

signedPayload \:= webhook.GenerateTestSignedPayload\(&webhook.UnsignedPayload{Payload\: payload, Secret\: dep.env.StripeWebhookSecret}\)
event, err \:= webhook.ConstructEvent\(signedPayload.Payload, signedPayload.Header, signedPayload.Secret\)

Question
My application is using stripe-go 80.2.1 and stripe cli via docker to test payment_intent.succeded webhook. When I execute a webhook request, it fails to verify my webhook with the error `error verifying webhook signature Received event with API version 2
023-08-16, but stripe-go 80.2.1 expects API version 2024-09-30.acacia. We recom
mend that you create a WebhookEndpoint with this API version. Otherwise, you ca
n disable this error by using `ConstructEventWithOptions(..., `

What have you already attempted?
According to stripe-go release notes starting from version 80.2.0 'This release changes the pinned API version to 2025-03-31.basil.' so I am not sure what is going on.
Also in my dashboard, I upgraded API version from 2023-10-16 to 2025-03-31.basil. I see in test mode, api version 2024-09-30.acacia is available but to downgrade to this version, it is not possible in live mode.

What are you working on?
Backend for a web extension I am about to release

#

@hidden moss pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
There are two events that Stripe provides - `invoice.payment_failed` and `payment_intent.payment_failed`. Is there any scenario where one event is fired and the other is not?

Doc/Guide Links
https://docs.stripe.com/api/events/list

What are you working on?
I want to listen to these events and do some work. Right now, I am listening to both the events and doing some work, Ideally I would want to listen to only one of them

cursive heronBOT
#

@chilly stratus pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public Session session(String customer, Subscription subscription, BillingCycle billingCycle, String tx) {

    try {

        // Build Stripe Checkout Session parameters for a subscription
        String priceId = subscription.getPriceIds\(\).get\(billingCycle\);
        long trialDays = subscription.getFreeTrialDays\(\);
        double discount = billingCycle == BillingCycle.MONTHLY ? 0 \: subscription.getDiscount\(\);

        SessionCreateParams.Builder ses

Question
Hi Stripe Team,

I'm trying to propagate a custom transaction key (tx) that I generate when creating a Checkout Session for a subscription. I need this key to be consistently available in the webhooks for the following objects:

checkout.session.completed

customer.subscription.created / updated

invoice.created / paid

What have you already attempted?
I can confirm that the tx metadata is present on the Session object, but it's not automatically carried over to the Subscription or Invoice objects. I tried using putExtraParam("tx", tx) in SubscriptionData, but it doesnโ€™t seem to be showing up in the webhook payloads for subscriptions or invoices.

What are you working on?
I working on a protal for Iot Devices whenere user can by subscrption for GPS Tracking, Camera and other things

#

@austere gull pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Ukraine is not supported

What actually happened?
When will you add support for my country?

Reproduction Steps
Thanks a lot for answer

Question
When will you add support for my country? For Ukraine?
Thanks

#

@vapid jay pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i am using
const usageRecord = await stripe.subscriptionItems.createUsageRecord(
subscriptionItemId,
{
quantity: usageQuantity,
timestamp: Math.floor(Date.now() / 1000),
action: 'set',
}
);
to create a usage record for a subscription but i dont want to add another record if its the same as the latest record as this is being checked daily. i cant seem to get the current usage record and there is no information in the subscription details. is there a specific way to get this information or is there a extra param to add to do this

Related Request ID(s)
unsure

What have you already attempted?
i have tried stripe.subscriptionItems.listUsageRecords but it doesnt exist

cursive heronBOT
#

@sour plover pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to know where I can find the approval code/authentication code after successful authorization. I have checked the wehbook logs and also, the docs but not able to get it.

Related Request ID(s)
req_QYCYgXjZmS5HQ9

What have you already attempted?
I have checked the different payment intent logs and official doc.

cursive heronBOT
#

@uncut beacon pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to trigger customer.source.expiring event on Test mode

Related Event ID(s)
pi_3RBF7QL8ssKkKSvn0kAEudLE

What have you already attempted?
Tried to use Test Clocks, nothing happened, event was not triggered.
stripe trigger customer.source.expiring is not available.

What are you working on?
Need to check email notification when customer card is expiring

cursive heronBOT
#

@twin thicket pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using destination charges with `on_behalf_of` with Express accounts, and I'm trying to match the `application_fee_amount` with the Stripe fees my platform pays. Currently, I'm calculating it manually when creating invoices and when receiving events about a new recurring invoice, but it's unreliable โ€“ย I can't predict the payment method type to be used. Can I use pricing schemes for this instead? I'm having problems finding a rule that would detect a subscription payment (as these have higher fees), but I can't find one. Is there an easier alternative to achieve what I want?

Related Request ID(s)
req_eGcS1Ijtf44oCq

What have you already attempted?
I tried setting up invoice/payment intent/metadata in a way that makes it possible to detect the subscription payments. The problem with this is that for recurring invoices I need to set it by reacting to webhook events, and most of the time, the payment succeeds before this is done, which makes the pricing schemes rules not apply.

cursive heronBOT
#

@mighty grail pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
invalid link
the link is either invalid or expired

Question
I'm tryin to login to stripe using stan.store but whenever I click "login through stan" it says invalid link or the link has expired.

What have you already attempted?
I tried clearing the cache and cookies, even tried 2-3 different steps

cursive heronBOT
#

@cerulean forge pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Iโ€™d like some clarification on the correct flow of operations.
Currently, I request a connectionToken to authenticate, then I call discover, connect, and finally process the payment.

Once the payment is completed, am I supposed to disconnect the terminal, or should the connection remain active?

If I do disconnect, and later try to reconnect, I get an error saying I can't reuse the same token and need to re-authenticate. Is that expected behavior?

Also, if the connection drops unexpectedly, how should I handle that?
Is there a way to check the current state of the terminal?

For context, this is all happening on the client side using the Android SDK.
Thanks in advance!

Doc/Guide Links
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=internet
https://docs.stripe.com/terminal/payments/collect-card-payment

What are you working on?
Correct Terminal connection flow

cursive heronBOT
#

@buoyant loom pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we're using Stripe via Chargebee. For US customers, Chargebee auto-generates virtual bank accounts (VBANs) for ACH bank transfers. However, for international customers, it defaults to using our real bank details, which requires manual reconciliation. Can Stripe generate VBANs for international clients (e.g., in the EU or UK) to enable auto-reconciliation? If so, how can we enable this on our account?

Doc/Guide Links
https://stripe.com/resources/more/international-payments-101-what-they-are-and-how-they-work

What are you working on?
A SaaS business

#

@twilit charm pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to reset a couponโ€™s duration using a subscription scheduleโ€™s phases. What is the proper way to do this?

Related Request ID(s)
None

What have you already attempted?
Iโ€™ve tried to make two phases for a yearly subscription, with the same coupon applied to each, but when advancing the test clock, it just removes the coupon on the second phase. It does not reapply it.

What are you working on?
Iโ€™m trying to extend an offer to a customer for N number of years. I want the default duration of the coupon to be one year, but I want to conditionally reapply it to some customers.

cursive heronBOT
#

@rare timber pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
{
transfer_data: { destination: 'acct_1LIuBZLsBlXKez2C', amount_percent: '100.00' },
on_behalf_of: 'acct_1LIuBZLsBlXKez2C'
}

Question
If when we create a subscription, if we add this: (dev code)

The stripe fees will be charged from the connected account?
Or there's other option I need to add to stripe charge from the connected account?

What have you already attempted?
I don't now the best approach to this, my account is paying the fee, but for this connected account I need do transfer 100% and them pay the stripe fees

#

@zealous spear pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the Stripe Salesforce Connector and we want to store payment methods to be used in the future so are using `off_session` for `setup_future_usage`. We would like to allow the customer the option to do this vs not however which looks like it would be through `saved_payment_method_options.payment_method_save` but I don't see `saved_payment_method_options` as an available option in the Flow, is there a better way for handling this?

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage

What are you working on?
Salesforce Flow for having users opt-in to a charge that would allow for future charges to the same card.

#

@misty marten pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to use the express checkout element with subscriptions. I already have a working integration by using `subscription.latest_invoice.subscription.latest_invoice.client_secret`, but my problem with this is that if the card is declined, we end up with a finalized invoice which will likely end up getting voided. I was wondering if there's a recommended approach to prevent this.

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
#1166298577497247804 message

What are you working on?
A subscription service for https://pelicanparty.games/

#

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

Question
Save a customer's payment method without making a payment

Related Request ID(s)
N/A

What have you already attempted?
I am creating a Setup Intents for my customers to load their card data from the Front for storage. Is there any way to not use the Stripe.Elements but to send the customers to a Stripe website as Checkout to load this data and store it without charging any amount?

#

@sly crane pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Custom Connect Scenario - Platform is processing destination charges with on_behalf_of for Connect Accounts. Platform is enabling dashboard features with Connect Embedded Component.

For the Payments / Payment Detail Component, destination_on_behalf_of_charge_management is set to true.

When the Connect Account uses the Payment Details component to initiate a Refund or respond to a Dispute, is the reverse_transfer done automatically to move the refund/dispute amount from the Connect Account balance or does the platform need to person the reverse_transfer?

Doc/Guide Links
https://docs.stripe.com/connect/supported-embedded-components/payments#allow-your-connected-accounts-to-manage-destination-charges

https://docs.stripe.com/api/refunds/create#create_refund-reverse_transfer

What are you working on?
Building a Custom Connect environment processing charges for Connected Accounts using destination charges with on_behalf_of

cursive heronBOT
#

@half nova pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
Is there a guide available that shows how to implement tax with subscriptions using Advanced Integrations / Stripe React Elements?

What have you already attempted?
I assume I have to provide an `AddressElement` in my checkout flow, but I'd like to know how to implement / pass along this information to automatically calculate inclusive tax by region on my subscription

What are you working on?
SaaS

#

@bleak zodiac pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I manually pay a invoice using a Collected Payment Intent / Charge ?

More Info:
I created a payment intent using these options:
{
Amount = request.Amount,
Currency = "usd",
Customer = customerId,
CaptureMethod = "manual",
PaymentMethodTypes = new List<string> { "card", "card_present" },
}

Related Request ID(s)
ch_3RBHo1Dn6CAQGXZn2K5zP4K3

What have you already attempted?
invoiceService.FinalizeInvoice(invoice.Id, new InvoiceFinalizeOptions { AutoAdvance = false });

paymentIntent = await paymentIntentService.CaptureAsync(request.IntentId);

if (paymentIntent.Status != "succeeded")
{
await LogError($"WALLET INVOICE: Fail to Capture Payment: {invoice.Id}::{request.IntentId}");
NotifyError($"WALLET INVOICE: Fail to Capture Payment: {invoice.Id}::{request.IntentId}");
return CustomResponse();
}

var chargeId = paymentIntent.LatestChargeId;

invoice = await invoiceService.PayAsync(invoice.Id, new InvoicePayOptions { Source = chargeId })

What are you working on?
Gym POS

#

@cerulean forge pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The Stripe Terminal ConnectionToken has already been redeemed. Please generate a new one using v1/terminal/connection_tokens.

Question
I am experiencing this problem in this scenario. I am checking the error and disconnection cases of the terminals.
The first time I run a connection token.
I run a discover, connect to the terminal, and initiate a payment.
During the payment I turn off the terminal (simulating that it has turned off), wait for my disconnect event to be triggered, and turn the termin

What have you already attempted?
I tried making a new connection Token before doing the connectReader but the problem remains

#

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

Question
1) We are setting up the stripe connect account setup, it seems the Stripe API forces us to provide a country for the connected account - so does that mean we need to separately take the userโ€™s country information to provide it to the stripe account creation?

2) Also looking at the possible capabilities we can select we added them ALL but soon realised not all capabilities are able to be used based on the country (as the stripe API errors if you try to) - in which case how do we enable ALL capabilities based on the users country? Is there some map of countries to supported capabilities maybe?

Related Request ID(s)
N/A

What have you already attempted?
2) I have already tried to set all the capabilities to requested: true but the stripe API provides an error message that a capability is not supported for a specific country

What are you working on?
a platform using stripe connect for our sellers to be able to sell

cursive heronBOT
#

@devout zodiac pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The type of the provided PaymentMethod (pm_1RAJFKA9aM3BHy1ibvtQf2Io) is link. This does not match the expected type card. Try confirming with a PaymentMethod of type card.

Question
I'm creating a payment intent with the payment_method_types set as "link" and "card". Why am I getting the error if I'm specifying the payment_method_types as "link?

What have you already attempted?
- Changing the "payment_method_types" attribute.
- Allowing the payment method in the stripe configuration
None of those worked

Reproduction Steps
Create a payment intent with an "automatic" capture method and also a "link" payment_method_types

Then, attach a Link payment method into the payment intent. The payment then fails with the error message show above.

What are you working on?
Checkout page

cursive heronBOT
#

@normal venture pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're implementing a referral scheme. Both a customer who referrers and who is referred should get $20 off their payment.

For the people who refer we've implemented it via `balance transaction` - and it works.

For the users, who've been referred, it does not work. More specifically, we create a customer object via `customers.create` and we assign a balance there. So far so good. A customer is created and they do have a balance.

But when we ask them to pay via creating a checkout session, then their balance is ignored and they still pay a full amount. The balance is reset after a checkout.

Related Request ID(s)
Customer creation with a balance: req_Xac5hsQLg1b9fZ. Checkout session creation: req_Zkzhd7fJWxcIrw

What have you already attempted?
See above

What are you working on?
Referral scheme

#

@sudden river pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a tiny slice of customers using a specific bank that does not allow refunds. Every single time one of these customers is due a refund, their bank rejects it.

This isn't a technical question per se, but does this violate any rules on your side? Their customers get VERY upset we can't issue funds. It seems to me like Stripe should just block this bank at the platform level. Is that something you've done? Would you consider it? Otherwise we have to manually ACH accounts with this specific bank. But I'm sure other merchants have the same issue with them.

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

What have you already attempted?
We've tried to refund via the API, but it fails every time.

What are you working on?
Parking technology and payments company.

cursive heronBOT
#

@arctic mesa pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I cannot recieve the money

What actually happened?
I buy clothes to my friends and we tried many times to pay me but itโ€™s not works and I didnโ€™t recieve nothing in my account, then they suspended my account

Reproduction Steps
I cannot recieve my money to my account

Question
What should I do ? Iโ€™m a free buyer in the street and till now how I can meet people that they already paid me ?

What are you working on?
Im working on my self I buy clothes and I re buy them to people in street

cursive heronBOT
#

@reef gazelle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create a subscription with payment_behavior default incomplete (or allow incomplete) on a customer that doesn't have a payment method, so that I can later mark that invoice with the "paid out of band" flag. Trying

Related Request ID(s)
req_z17Fe1Nhm8rPh7

What have you already attempted?
I'm not really sure where to go from here so not much.

What are you working on?
I am adding the ability to purchase my product through the Azure marketplace, with Stripe as the source of truth for subscription management.

cursive heronBOT
#

@cunning goblet pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message

  1. Discrepancy in Displaying Payment Methods Across Environments: (PFA for reference)
    In our production environment, we observe that the Payment Request Button displays Link, Apple Pay, and Google Pay options as expected. However, in our test and development environments, only Apple Pay and Google Pay are visible; the Link option is absent.

Question
2. Race Condition When Updating Price with Offers/Coupons:
When invoking paymentRequest.update to adjust the price with applied offers or coupons, we encounter a race condition. The price does not update to the latest state, leading to incorrect price displays in the browser's payment interface. This issue disrupts the user experience and payment accuracy.

What have you already attempted?
We have reviewed the Stripe resources to troubleshoot these issues but despite our efforts, we have not been able to resolve the issues.

What are you working on?
Payment Request Button Integration Issues

#

@vast plinth pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<form id="payment-form" onSubmit={handleSubmit}>
{/* <EmailInput email={email} setEmail={setEmail} error={emailError} setError={setEmailError} /> */}
<h4>Billing Address</h4>
<AddressElement id="billing-address-element" options={{ mode: 'billing' }} />
<h4>Payment</h4>
<PaymentElement id="payment-element" />
<button disabled={isLoading} id="submit">
<span id="button-text">
{isLoading ? (
<div className="spinner

Question
I am using react stripe to render a checkout session using elements. I am following the guide provided here: https://docs.stripe.com/checkout/custom/quickstart
When I create the session, i set "consent_collection: { terms_of_service: 'required' }," but this part is not showing up in the UI. When i try to make a test payment using checkout session i get the error "Please accept the merchant's terms of service before checking out." but there is no UI to make this selection.

What have you already attempted?
Tried to manually pass consent via "checkout.confirm" but it does not accept the consent values.

What are you working on?
Working on a checkout session to allow users to upgrade their subscription

#

@calm vector pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Following error received when attempting to integrate the Stripe tap-to-pay on Android SDK.

class=CotsAdapter message="updateReader failed: com.stripe.stripeterminal.external.models.TerminalException: Contactless transaction failed kotlin.NotImplementedError: updateReader is not implemented in SimulatedCotsClient."

Question
Working in simulated mode, pass device checks and token fetching.

Still can start discovery etc. on the device but unsure how to remove this error.

What have you already attempted?
Online indicates this may be because the SDK isn't fully released in my area (Australia)? Is that true?

What are you working on?
tap to pay app on a custom android phone

#

@bleak zodiac pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to Capture a PaymentIntent and getting this error:

The payment could not be captured because the requested capture amount is greater than the amount you can capture for this charge and MCC (8299).
Contact us via https://support.stripe.com/contact for help

Related Request ID(s)
req_PZ8tntpiUTfykk

What have you already attempted?
When the Payment Intent is create there is no taxes added yet. So when about to collect I make the Amount to Collect be equal invoice AmoundDue:

	paymentIntent = await paymentIntentService.CaptureAsync\(request.IntentId,
		new PaymentIntentCaptureOptions { AmountToCapture = invoice.AmountDue }\);

What are you working on?
Gym POS

cursive heronBOT
#

@warped basin pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
end_time must be greater than start_time

Question
Trying to cancel subscriptions through the UI or API fails with `end_time must be greater than start_time`.

What have you already attempted?
Switching to different ways of cancelling subscriptions (UI, API), confirming the subscription was started in the past

Reproduction Steps
Try to cancel subscription sub_1RB7jeLnmNuDWyYUAjq7YlYY via UI or via API, see error

What are you working on?
AI workflow engine, 15 employees

#

@bleak zodiac pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Very simple question, I cannot find a place to inform DaysUntilDue when Setting up Subscription Schedule that Have "send_invoice"

Related Request ID(s)
req_GkXNjpY59GzKQb

What have you already attempted?
Everything works, I know I need to inform this data, cant find the place. I am using C# SDK

What are you working on?
Gym POS

#

@unborn crater pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm implementing Mutibanco payment method with Stripe checkout. It is working in test mode but not in live mode. It is active on both, and the live API key is correct. Help please?

Related Request ID(s)
N/A

What have you already attempted?
Deactivate and reactivate Multibanco in live mode.

What are you working on?
I'm building a platform that provides online veterinary appointments.

cursive heronBOT
#

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

Question
`onShippingRateChange` handler is not triggered on loading the Apple Pay dialog when using screen recording or screen sharing. It leads to resolving the previous selection of the shipping rate and hence incorrect result

Doc/Guide Links
https://docs.stripe.com/js/elements_object/express_checkout_element_shippingratechange_event

What are you working on?
Apple Pay with Express Checkout Element

#

@mossy talon pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
SessionCreateParams.SubscriptionData subData =
SessionCreateParams.SubscriptionData.builder()
.putMetadata("customField", "example")
.setCancelAt(expirationTimestamp)
// Tried to set cancel_at, but no method
.build();

Question
Using stripe-java 29.0.0, Iโ€™m creating subscriptions via Checkout and need to set an end date (cancel_at). However, SubscriptionData in SessionCreateParams has no setCancelAt. Is there a direct way to set the subscriptionโ€™s end date at creation, or must I update the subscription afterward?

What have you already attempted?
Tried calling setCancelAt on SubscriptionData, but it doesnโ€™t exist.

Searched docs, found cancel_at in the Subscriptions API, not Checkout.

We can update the subscription post-creation, but that complicates our flow.
Looking for a direct approach in Checkout.

What are you working on?
A donation platform where donors pick an optional end date for recurring donations. Weโ€™d like to set cancel_at during Checkout session creation so the subscript

cursive heronBOT
#

@jade wagon pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { paymentIntent } = await stripeInstance.retrievePaymentIntent(
clientSecret
);

Question
I have the above code done with the stripe react sdk. While debugging I see the stripe instance being initialized and the PI client secret being passed but the code just freezes after calling, no error, no response. I don't have request id, I don't see the call being made on the network tab

What have you already attempted?
Debug, gone through docs.

cursive heronBOT
#

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

Question
Hello, I have a question about managing Stripe environments, Stripe has tons of configurations, radar, portal just to name a few products....I'm still developing my app but what I found a bit difficult is to keep all the environment updated, for example if I set a rule in Radar I need to remember to add it in the other envs too....are there any tool to keep track of the the configurations? for example a great tool could be terraform

Doc/Guide Links
I didn't follow any guide

What are you working on?
saas

#

@vernal moss pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
With the latest API change to Basil, I understand that invoice has been removed from payment_intent. When someone purchases a subscription all I get in the return url for confirmPayment is a payment intent id. Previously I used this id to lookup the invoice and the invoice to lookup the subscription to find the users subscription id. How do I find that information now that the link between payment intent and invoice has been severed? I posted the original guide I used which is now outdated with Basil. I see how I can find a payment intent if I have an invoice id. But I canโ€™t see how to go the other direction and find an invoice from a payment intent. Thanks.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription

What are you working on?
The payment system for a website.

#

@zenith shoal pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to create invoice items with a price, name, quantity, and description, then link them to a single invoice, then use the invoice to automatically charge the customer's default payment method, without explicitly using stripe products?

https://cdn.discordapp.com/attachments/794038116397613057/1358925230642430002/Screenshot_2025-04-07_at_3.03.38_PM.png?ex=67f59d3e&is=67f44bbe&hm=b3bd07ae3f367a3460fe2e94d84be22d7fd5d7d718ffd5c6d56b8ad02bcfd0a5&

Related Request ID(s)
n/a

What have you already attempted?
I managed to charge the customer with payment intents, however it did not create a receipt or invoice for the transaction.

I tried to create an invoice using the invoice and invoice item apis to charge the customer. However, when I went to verify the status of the transaction on my Stripe dashboard: the customer had a pending invoice item of $10, and a paid invoice of $0.

What are you working on?
I am building the billing flow for a backend platform that is similar to Anthropic. I want support auto credit top ups on a pre-authorized payment method.

cursive heronBOT
#

@sudden maple pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the stripe tax.calculation.create API and providing a list of line items. I also have a discount that should be applied to the entire amount. Is there a way to pass the discount amount through for the line items, or should each line item amount be reduced by the discount across the order before it is sent to the stripe API ?

Related Request ID(s)
none

What have you already attempted?
I don't see any available parameters to pass through a discount amount during tax calculation requests

What are you working on?
Platform for orders

cursive heronBOT
#

@unkempt hull pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
try {
stripe.confirmPayment({
elements,
confirmParams: {
return_url: 'https://app.getcomedyseen.com/ticketsuccess'
},

        }\)

            .then\(function \(result\) {
               ...raise alerts...

}else{
recordsale()
}

Question
I am using confirmPayment. I can get it to detect if there are errors and then raise alerts for the user based on the error code. However for a card that should work fine, how do I run a function that will record in my database the details of the sale? Instead this goes straight to my return_url without me recording a sale.

What have you already attempted?
I've tried the above code. I've also tried an if(result.error){
}else{
recordsale()
}

and it doesn't work.

What are you working on?
An event ticketing app

#

@plain crane pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Whatโ€™s the best way to implement this kind of usage-based fee structure? Ideally, Iโ€™d like to automatically calculate and collect the 5% fee from relevant transactions. Should I use application fees with Stripe Connect? Or is there a better approach?

Related Request ID(s)
req_0dm1c0SqrCaVD9

What have you already attempted?
Hi everyone! ๐Ÿ‘‹

My target users are businesses that use Stripe to process payments. I plan to charge them a fixed monthly fee (e.g. $50), plus a 5% fee on some of the transactions processed (based on predetermined conditions).

Users sign up with their Stripe account, so my platform is linked to their Stripe account.

What are you working on?
I'm currently building a platform that helps Stripe users - especially SaaS businesses - maximize their conversions.

cursive heronBOT
#

@candid pulsar pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/tokens/create_card?lang=curl#create_card_token-card

Question
I had a discussion yesterday with Stripe team about an approach for getting a payment card's funding type. My team currently uses card token creation to get the funding type but Stripe team suggested to use SetupIntent instead because token is legacy and it is strongly discouraged to use it in 2025. Do you have a depreciation date for tokens so we can plan the updates needed on our end?

What have you already attempted?
NA

#

@warped basin pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using credit grants to do prepaid usage billing, where adding a plan creates a credit grant that expires and is replaced by a new one when the next invoice is finalized. Is it possible to check the balance of an account, where you compare the meter events for the next invoice against existing credit grants and calculate the balance?

Related Request ID(s)
N/A

What have you already attempted?
Creating preview invoices - Doesn't work because the balance is only computed when the invoice is finalized, and preview invoices can't be finalized

Checking metering events - Not seem possible to match metering events against credit grants

What are you working on?
AI workflow engine, 15 employees

cursive heronBOT
#

@tepid igloo pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using Stripe for bank transfer payments.

When the bank transfer payment is confirmed, Stripe automatically opens a modal displaying the bank transfer details to the customer.

Is there any way to hide this modal?

If users close this modal, they are redirected to a purchase completion page, which allows Google Tag Manager to track the purchase completion accurately.

However, many users do not close the virtual bank account modal, making it difficult for Google Tag Manager to reliably track completed purchases.

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

@pine cloud pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
losses.payments: application
fees.payer: application
requirement_collection: stripe
stripe_dashboard.type: none

Question
Previously, I asked in the community and was informed that it was possible. However, when I created an account using Account.create(params), I encountered the following exception:

com.stripe.exception.InvalidRequestException: When stripe_dashboard[type]=none and requirement_collection=stripe, Stripe must be liable for negative balances or refunds and chargebacks.; request-id: req_tD7FpsdF5y0fJ1

What have you already attempted?
https://docs.stripe.com/api/accounts/create
https://docs.stripe.com/connect/migrate-to-controller-properties?migrate-to-controller-properties-samples=specifying-all-properties
https://docs.stripe.com/connect/design-an-integration?connect-onboarding-surface=embedded&connect-dashboard-type=none&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-charge-type=separate

#

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

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

Question
I'm trying to create a custom API to change customer subscription that will renew immediately and disable proration. I was reading the description for the update subscription part and it says:

If you donโ€™t want to prorate, set the proration_behavior option to none. With this option, the customer is billed 100 MYR on May 1 and 200 MYR on June 1.

This sounds to me that the subscription will renew on next month instead of today.

Is there any methods to renew the subs immediately while disable the proration?

What have you already attempted?
The docs in https://docs.stripe.com/billing/subscriptions/upgrade-downgrade mention to set proration_behavior to always_invoice but this will results in proration.

What are you working on?
Change customer sub with proration disabled and renew immediately

cursive heronBOT
#

@dire lily pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Duplicate Invoice

Question
We used Stripe integration for Zoho when sending invoices. I create invoice manually in Zoho end, but when I click SEND STRIPE INVOICE, a new invoice is being created again, and that will be the invoince connected in Stripe.

What have you already attempted?
Zoho support but they asked me to reach out to Stripe

#

@wooden mesa pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://pub.dev/packages/flutter_stripe

Question
Hello,

I am a mobile application developer at Seznam.cz a.s., we are planning to implement Stripe into the Sbazar application. We are writing the application in Flutter.

I would like to ask whether this Flutter library is fully supported by you and whether it is possible to use it correctly: https://pub.dev/packages/flutter_stripe

Thank you

What have you already attempted?
We haven't started implementation yet, we are in the analysis phase

cursive heronBOT
#

@charred lodge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have created 30+ invoice items for a customer and then afterwards created an invoice where I expect the invoice items just created to attach themself to the invoice, since it is stated so on 'Create an invoice item' in the documentation: https://docs.stripe.com/api/invoiceitems/create.
It states: "... If no invoice is specified, the item will be on the next invoice created for the customer specified.".
Unfortunately when I created the invoice all the items didn't get attached to it automatically. Look at the IDs.

Related Request ID(s)
req_28yty6WnPhrkdF, req_7eAwamf8QCcg7V, req_pyKGblNjcErx3Z

What have you already attempted?
Created the invoice items first, then afterwards created the invoice:
```
foreach (var customerUsage in customerUsages)
{
var invoiceItemOptions = new InvoiceItemCreateOptions
{
Customer = customer.StripeId,
Description = $"Data usage - {customerUsage.MeterDate:yyyy-MM-dd}",
Quantity = customerUsage.UsageCounter,
UnitAmount = 130, // Cents = 1.30 EUR
Currency = "EUR",
TaxBehavior = "exclusive",
};
await invoiceItemService.CreateAsync(invoiceItemOptions);
}
```

What are you working on?
I'm working on integrating my app with Stripe, to be able to invoice my customers for data usage. (don't question why I don't use a subscription or a plan)

#

@rugged seal pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I use the stripe cli to test events locally from multiple Stripe accounts (different acct_xxx identifiers)?

Related Event ID(s)
Test mode: evt_1QsLQ1BA9dbzR13CkhEncONL Live mode: evt_1QsLVaBA9dbzR13CahtfIT59

What have you already attempted?
I've logged in to each account using `stripe login -p <profile-name>`, started the local listener with `stripe listen -p <profile_name> --forward-to ...`, and tried `stripe events -p <profile_name> resend evt_xxx`, but it fails. `stripe events -p <profile_name> resend evt_xxx` returns a "resource_missing" error even though the event exists in test mode, and `stripe events -p <profile_name> resend --live evt_xxx` returns "The provided key 'rk_live_xxx' does not have the required permissions for this endpoint on account 'acct_xxx'" even though that key has Read permissions for Events and Webhook

cursive heronBOT
#

@steep valley pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When listing payment intents, one could expand `invoice`, which is no longer available. What is the preferred way of getting from a payment intent to the corresponding invoice?

Related Request ID(s)
Not sure what this field is.

What have you already attempted?
Reading the documentation.

#

@limpid moat pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
pr.canMakePayment().then((result) => {
setResult(result);

    if \(result?.googlePay \|\| result?.applePay\) {
      setPaymentRequest\(pr\);
    } else {
      console.log\('Payment method not available'\);
    }
  }\);

Question
The Apple Pay and Google Pay buttons are never displayed and are always false

What have you already attempted?
The site domain is https and is tested on Chrome.

cursive heronBOT
#

@limpid moat pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
pr.canMakePayment().then((result) => {
setResult(result);

    if \(result?.googlePay \|\| result?.applePay\) {
      setPaymentRequest\(pr\);
    } else {
      console.log\('Payment method not available'\);
    }
  }\);

Question
i have a valid payment method in my chrome setting but dont show google pay button

What have you already attempted?
no

#

@copper thorn pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using idempotency keys in our requests to create billing meter events.

We already ran into a situation where we reached the rate limit of requests in test mode (25 reqs/s) and I was wondering if the idempotency keys for the rate-limited requests could be reused for subsequent retries.

We're receiving a bunch of `idempotency_error` responses if we try that and I'm wondering if there's a bug in our code or if we shouldn't use the same idempotency key for retries of previously rate-limited requests.

Related Request ID(s)
req_x0aLQeZXIhZdvg

What have you already attempted?
- https://docs.stripe.com/api/idempotent_requests
- https://docs.stripe.com/api/billing/meter-event/create

#

@open edge pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Very strange behaviour for subscription. Looks like invoices stucks. Need help to invistigate . Sub Id , sub_1R9kkl2NKFm8g2byEssck79N

Related Request ID(s)
1

What have you already attempted?
1

#

@jolly turtle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create account session from stripe API, in order to embed the stripe dashboard in my frontend. As per documentation provided by Stripe, for embedding payment method component, this is the server side code required:
const accountSession = await stripe.accountSessions.create({
account: '{{CONNECTED_ACCOUNT_ID}}',
components: {
payment_method_settings: {
enabled: true,
},
},
});

but in stripe api documentation, I couldnt find this parameter called "payment_method_settings"
https://docs.stripe.com/api/account_sessions/object

Related Request ID(s)
req_l2bij3vHWZpOcU

What have you already attempted?
I tried passing payment_method_settings in the account session create api, but received error that parameter_unknown

What are you working on?
I am trying to embed stripe dashboard components in my frontend, for this I need to create account session from server side

#

@past vault pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currently we create 1 subscription and 1 product in that subscription for anything we do with stripe. we recently added many โ€œaddonsโ€ for our service and through some research found out the more optional way to is to add many products into one subscription.

is there a recommended migration or preferred way of conversion? we want one subscription with many products to save on fees but also make billing logistics easier on customers. any direction on this would be appreciated

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

What are you working on?
Langusge exchange mobile app

#

@dark kiln pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have some questions regarding webhooks, I'd appreciate if you answer.

Related Event ID(s)
a

What have you already attempted?
I have some questions regarding webhooks, I'd appreciate if you answer.

cursive heronBOT
#

@vague pecan pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting the error message while calling the upcoming invoice API

Related Request ID(s)
req_ABrPgG9U8n8mWZ

What have you already attempted?
I reproduced the same scenario on the test account but didn't face it.

#

@unkempt trench pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
insertPaymentsMethods function is moved in new file.

Question
In new Stripe ugraded version 4.4.0 in magento, we are not calling insertPaymentsMethods in vendor/stripe/module-payments/Model/PaymentMethod.php. we have removed this function call in new version, So because of this card details are not getting store in stripe_payment_method table. so what is fix for adding card data in above mentioned table.

What have you already attempted?
We have tried to calling insertPaymentsMethods in vendor/stripe/module-payments/Model/PaymentMethod.php as per old version, but we are not getting card data in result.

cursive heronBOT
cursive heronBOT
#

@upper wadi pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
PaymentIntent event - 500 errors on new API version?

Related Event ID(s)
evt_3RBZssQdcHg9wdOS2VZPxtv4

What have you already attempted?
We integrated with stripe whith sdk version 15.3. After a payment, we used a webhook to create an invoice in our system. It worked fine for a while.

Now, when I use this code: $invoiceData = $stripe->paymentIntents->retrieve($parameters['data']['object']['invoice'], []);
$invoice = $stripe->invoices->retrieve($invoiceData->invoice, []);

I get one of this errors:
either
The resource ID cannot be null or whitespace.
or
No such invoice: 'in_1RBZkaQdcHg9wdOShlmxK7qW'

For the second error, I used $stripe->invoices->all(['limit' => 3]); and I could see that the invoice was there.

#

@cerulean forge pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Contactless transaction failed java.lang.IllegalStateException: App Error: SERVER_ERROR 'An unknown error has occurred: java.lang.NoSuchMethodError: No static method startTimedMetric$default(Lcom/stripe/loggingmodels/MetricLogger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Lcom/stripe/loggingmodels/Metric; in class Lcom/s

Question
I am implementing Tap To Pay on one of my devices. I ran the command to check if it is supported and Stripe tells me that โ€œit is supportedโ€. I am running the app in release by setting the "isSimulated" flag in
DiscoveryConfiguration.TapToPayDiscoveryConfiguration to false.
I am using

stripeterminal = { module = "com.stripe:stripeterminal-core", version.ref = "strip

What have you already attempted?
.

#

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

Error Message
Expired API Key provided: pk_test_*********************************************************************************************bSPV6r. Platform access may have been revoked.

Question
why this error occurs?
the publish key is not valid.
it get now

What have you already attempted?
nothing

#

@pure root pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is is best practice to delete customers in stripe if the are not a customer any more. Or only leave them without subscriptions

Doc/Guide Links
Can find any info where i can find this best practice

What are you working on?
A application vPlan. See vPlan.com

#

@crimson dune pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to set up subscription upsells via the API?

Related Request ID(s)
req_RtKaN5VXs9MT2L, req_23B3xbBoHAu2Yu

What have you already attempted?
Create a monthly and annual price object via API, all good. Update the monthly price object with an "upsell_price" parameter, the API errors.

But doing the same via the UX just works, POST request URL and body are the same.

What are you working on?
A mapping platform where the user pays by the size of their map, subscription price is variable, but we still want annual discount upsells

#

@severe pier pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a issue in intentCreationCallback it is sending false and stating that " (NOBRIDGE) ERROR โŒ Error in confirmHandler: intentCreationCallback is not a function (it is false)"

Related Request ID(s)
req_fCYVJbU2Ra8yhS

What have you already attempted?
I am doing finalized payment from the server this is my code
const client_secret = response.data?.data?.clientSecret;
if (client_secret) {

            console.log\('client\_secret', client\_secret\);

            intentCreationCallback\({ clientSecret\: 'your\_client\_secret' }\);

        } else {
            throw new Error\('Client secret not found in response'\);
        }

What are you working on?
React native

#

@humble plover pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to get saved card list to show in webview

Related Request ID(s)
..

What have you already attempted?
I had implement stripe checkout session to make payment within app in ios .but now I want to save card and want to get saved card list and want to make payment within app.suggest me possible way to do this.

#

@frosty bear pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripeApi.oauth.token({code: '', grant_type: 'authorization_code' })

Question
Stripe Connect Enquries - When a merchant connects the same stripe account to different application , the earlier one gets deauthorized by stripe. We get a webhook with deauthorize event and accountId.
Is there a way to know when the merchant is using the same account to connect before our application hits `stripeApi.oauth.token({code: '', grant_type: 'authorization_code' })` which grants the token for the same account.

What have you already attempted?
I am clueless on how can we get the accoutnId with just the code which we get from the query in the callback returned from stripe

cursive heronBOT
#

@cerulean forge pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Contactless transaction failed java.lang.IllegalStateException: App Error: SERVER_ERROR 'An unknown error has occurred: java.lang.NoSuchMethodError: No static method startTimedMetric$default(Lcom/stripe/loggingmodels/MetricLogger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Lcom/stripe/loggingmodels/Metric; in class Lcom/s

Question
I am implementing Tap To Pay on one of my devices. I ran the command to check if it is supported and Stripe tells me that โ€œit is supportedโ€. I am running the app in release by setting the "isSimulated" flag in
DiscoveryConfiguration.TapToPayDiscoveryConfiguration to false.

What have you already attempted?
I am using

stripeterminal = { module = "com.stripe:stripeterminal-core", version.ref = "stripeterminal" }
stripeterminal-taptopay = { module = "com.stripe:stripeterminal-taptopay", version.ref = "stripeterminal" }

stripeterminal = "4.3.0"

cursive heronBOT
#

@glad mirage pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
A subscription on Stripe that is Canceled on March 1 for example and has a payment method (card) which expired, can you update the payment method on that subscription via API?

Related Request ID(s)
None

What have you already attempted?
none

cursive heronBOT
#

@severe pier pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My app crashing on intentCreationCallback({ error: errorMsg });

Related Request ID(s)
req_fCYVJbU2Ra8yhS

What have you already attempted?
I have received the error from the backend i tried by doing type of function and try catch for safe and better way but it didn't work out my code is else if (responseData?.error) {
console.log('Error', responseData.error);
intentCreationCallback({ error: responseData.error });

What are you working on?
React native

cursive heronBOT
#

@feral steeple pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
This integration surface is unsupported for publishable key tokenization. To enable this surface, please go to your dashboard (https://dashboard.stripe.com/settings/integration). See https://support.stripe.com/questions/card-tokenization-restrictions-using-publishable-keys for more details

Question
I am using Dokan with woocommerce and get this error message. We are using stripe connect. It is in test mode right now. Can someone help with next steps?

What have you already attempted?
I am not sure what to do next

Reproduction Steps
I put an item in my cart and went through checkout at mostevery.com. Then I received the above error message.

What are you working on?
A multi-vendor marketplace with Dokan

cursive heronBOT
#

@indigo holly pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are integrating with Stripe using Payment Element. Business has the desire to limit accepted cards to certain brands. It sounds like Radar for Teams can support this, but comes with a higher fee per event than base Radar. It's also mentioned that we could use client side validation to check for card brands. Given the use of Payment Element UI, how do I intercept JS call to read the card brand - that's not collected on the form, but something returned in Payment Method details.

Doc/Guide Links
https://docs.stripe.com/payments/cards#exclude-card-brands

What are you working on?
In development phase to migrate onto Stripe

cursive heronBOT
#

@steel pawn pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any method to pass custom tax amount into a stripe checkout session/payment intent?

We're in US and using stripe & paypal to accept payment, which means we cannot use stripe tax api and have to calculate by ourselves (or 3rd party services), therefore, I'm looking for if there is any way I can tell the tax amount from stripe transactions. I've checked creating payment intent and creating checkout session, but neither of them provide a field which I can pass custom tax amount , they seems only support tax rates created in stripe, or auto tax from the tax api.

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create?lang=node
https://docs.stripe.com/api/payment_intents/create

What are you working on?
Payment system which support stripe and paypal in US

#

@dark kiln pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When users make a payment they go back in the website and change the order items, add or remove items, what's the best practive to prevent this in stripe ?

Related Event ID(s)
a

What have you already attempted?
When users make a payment they go back in the website and change the order items, add or remove items, what's the best practive to prevent this in stripe ?

cursive heronBOT
#

@scenic yoke pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
All types provided in payment_method_types are invalid. Please ensure the provided types are activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use.

Question
We are able to request payments of credit or ach and credit but when trying to request a payment of just ach, it gives this error.

What have you already attempted?
updating on the dashboard all things we can think might effect this

What are you working on?
We have multiple clients using stripe, they each input the credentials but only one customer is seeing the error

cursive heronBOT
#

@unborn tapir pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```
session = await stripe.checkout.sessions.create({ ... }
```

Question
I cannot seem to get recurring payments working for Indian customers.

Customer reached out saying that the same card works for this on another Stripe checkout, so I am not sure what I am doing wrong.

The documentation on this seems to indicate that when using a stripe-hosted checkout session, this should "just work"

What have you already attempted?
Checked documentation pages for Indian payments, subscription creation, and checkout session creation.

#

@orchid brook pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/tax/customer-locations?address-format=india

Question
When was the "India" section of minimal address collection added? I don't recall seeing the India-specific rules here in the past. Was this added recently?

What have you already attempted?
Used wayback machine but because of the collapsable sections, I can't open them via archive.org :(

cursive heronBOT
#

@thorn tartan pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Having trouble adding addresses to existing Stripe customers through the API

Related Request ID(s)
n/a

What have you already attempted?
require 'stripe'
require 'csv'

Stripe.api_key = 'sk_live_โ€ขโ€ขโ€ขhxxU'
Stripe.max_network_retries = 10

if ARGV.empty?
puts "No CSV path specified"
exit 1
end

csv_path = ARGV.first
csv_mapping = CSV.read(csv_path, headers: true)

csv_mapping.each do |csv_line|
stripe_customer_id = csv_line['stripe_customer_id']
address1 = csv_line['address1']
address2 = csv_line['address2']
city = csv_line['city']
state = csv_line['state']
country = csv_line['country']
zip = csv_line['zip']

stripe_cust

cursive heronBOT
#

@kindred phoenix pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
You double charged a client

Question
I am reaching out regarding a customer who is showing two charges on their Affirm account for a single transaction with our business. However, on our end, we only processed one payment, and we only received one payout from Affirm.

We have already issued a refund for the charge that we can see in our system. There is no record of a second transaction, no duplicate pa

What have you already attempted?
The customer is being sent back to us by Affirm support, but we cannot resolve an issue we are not responsible for. Please confirm what actions need to be taken on your end to correct.

Reproduction Steps
I need you to fix this now

What are you working on?
Fix it. Now.

cursive heronBOT
#

@narrow cipher pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I create a Checkout with the following settings:
```json
tax_id_collection: {
enabled: true,
required: 'if_supported',
}```
It appears that only businesses that are registered for VAT are allowed to fill in their tax id? If I don't enable the collection, there appears a checkbox saying "I'm purchasing as a business", that when checked shows the exact same fields.

Related Request ID(s)
not applicable

What have you already attempted?
Turning it off and on again

What are you working on?
a B2B SaaS

cursive heronBOT
#

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

Question
We support pickup as one of the shipping options/rates when using Apple Pay (Express Checkout Element)? But we seem to run into a deadlock that:

  1. When creating/confirming the payment intent (with confirmation token returned by the Express Checkout Element) on the server, it errors out with a "Missing required param: shipping[address]." error.

  2. Making shipping address not required by setting `shippingAddressRequired: false` for the Express Checkout Element raises and integration error on the client side: "You must specify `shippingAddressRequired: true` when providing `shippingRates`."

We're wondering it there is a recommended way to support pickup for Apple Pay.

Doc/Guide Links
https://docs.stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-shippingAddressRequired

What are you working on?
Supporting pickup for Apple Pay

cursive heronBOT
#

@vocal ravine pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have stripe checkout (with Stripe Connect) implemented on my webapp for staging and production.
Staging is plugged to Stripe test account and production to Stripe Live.
I can perform my checkout flow on both environment, and I am successfully redirected to my webapp success URL.
I am listening to "checkout.session.completed" in my backend.
In staging, "checkout.session.completed" gets triggered properly. I can see it in Stripe dashboard, and I receive it properly in my backend.
In production, I don't see that event being triggered by Stripe, only "application_fee.created"

Related Event ID(s)
Production event: evt_1RBiYU3hPfnNulP5VIesCgpj - Staging event: evt_1RBiELQT4JePipbpSGIEsAiu

What have you already attempted?
I looked in the webhooks, events and logs sections, but no clue what is happening. I can confirm that my account is verified.

What are you working on?
A wedding list platform

cursive heronBOT
#

@real matrix pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm having trouble finding the right way to achieve the following:

We have a subscription that has an item that is charged yearly. Is there a way I can schedule that item to update to a new price at the end of it's cycle? I left an example of a test subscription that we would want to update

Related Request ID(s)
https://dashboard.stripe.com/test/subscriptions/sub_0R1qJtFH8YjjVMbFhpJTEQOQ

What have you already attempted?
I've tried removing the current price line item and adding the update price line item, but that immediately updates the price

What are you working on?
A peer review software

cursive heronBOT
#

@warped basin pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Metering events no longer appear in preview invoices, we send metering requests to the same meter we always have, but now preview invoices show 0 on usage

Related Request ID(s)
req_uNhuwYOQAZHuzo req_Je4ykTyQuBMYUt req_VqmJj4WSePkjoS (and many more)

What have you already attempted?
Validating the meter is connected to the price, the price matches the user, the meter shows requests, the price does not update, as well as manually creating metering events following the instruction here and seeing that usage no longer updates: https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide#test-usage

What are you working on?
AI workflow engine, 15 employees

cursive heronBOT
#

@open sable pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the Ruby gem and just upgraded to v14.0.0. Now the 'discount' field has been removed, all the new 'discounts' field gives me are IDs. That would be fine but the Stripe::Discount model doesn't seem to have a way to retrieve them.

Related Request ID(s)
N/A

What have you already attempted?
I've inspected the Discount object but it doesn't seem to have any 'retrieve' method.
I raised a bug here: https://github.com/stripe/stripe-ruby/issues/1570 but it got closed ๐Ÿคท

cursive heronBOT
#

@unkempt hull pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
lets say for example, I want to record the users name, email, and id when they buy something. I originally created a function client side in the app that gets called when a transaction is successful. I pass in the user id, the number of items they bought, first name, last name, etc... Turns out it doesn't work great (it didn't fire when I wanted it to). I've been told that webhooks are more reliable. I started messing around with it and get it to work, but how do record things like the user id, the first and last name of the user and other details from a webhook?

Doc/Guide Links
https://github.com/stripe/stripe-python/blob/master/examples/webhooks.py

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

What are you working on?
An event ticketing app

cursive heronBOT
#

@regal solar pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to run some logic before a subscription renewal, what is the best way to do this?

Related Event ID(s)
invoice.created

What have you already attempted?
I'm waiting for invoice.created, running a balance check on the user and altering the billing anchor if it fails.

What are you working on?
Is it an issue that there is a race condition created due to automatic collection? Is there a better tool to do this with? I know there is invoice.upcoming, but I need this logic for the curr cycle

cursive heronBOT
#

@prime citrus pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello My Dev is saying I need to contact support, to enable API settings so he can work?

Related Request ID(s)
APO

What have you already attempted?
Tried calling everywhere

What are you working on?
Platform for tutors

#

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

Error Message
Expired API Key provided: pk_test_*********************************************************************************************hCs7Go. Platform access may have been revoked.

Question
I got a error the below error.
I was testing my plugin working and i got this error.
there is no chance of expiry i connected to stripe via oauth 5 minutes before.

i tried with another account it worked.

so this issue with the account?
also some of my client also reported issue like this.
my account id is acct_1Pza6dGv07M9Hyxh

What have you already attempted?
connected to another account and worked fine.

cursive heronBOT
#

@limpid moat pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
tokenizationSpecification: {
type: 'PAYMENT_GATEWAY',
parameters: {
gateway: 'stripe',
gatewayMerchantId: "example",
},
},

Question
i using Gpay button from @google-pay/button-react, and this package give parameters: {
gateway: 'stripe',
gatewayMerchantId: "example",
},
how to get gatewayMerchantId in my stripe panel?

What have you already attempted?
n

cursive heronBOT
#

@upper wadi pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get invoice ID from payment intent object? (as the invoice property is no longer availabe in the basil version)

Related Event ID(s)
evt_3RBdLwQdcHg9wdOS58HVB6dc

What have you already attempted?
Previously, we used the invoice property from the payment intent (e.g. in_1RBdLwQdcHg9wdOSizX0dx7s) to get the invoice number.
I the current version, the invoice property is no longer available.
@tarzan suggested listing payments and filtering them by payment intend ID (gave this link https://docs.stripe.com/api/invoice-payment/list) to get the invoice ID but it seems like payments can only be filtered by invoice ID and not by payment intent ID.

cursive heronBOT
#

@wooden axle pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Not able to connect reader simulator in test envrionment.

Related Request ID(s)
1744186877257

What have you already attempted?
Try connecting multiple stripe accounts with my platform in test.

#

@gloomy quail pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
This is code from user schema, I'm using mongoose schema
stripeCustomerId: { type: String, default: null },
subscriptionId: { type: String, default: null },
subscriptionStatus: { type: String, enum: ['trialing', 'active', 'past_due', 'canceled', 'unpaid', null], default: null },
planType: { type: String, enum: ['monthly', 'yearly', null], default: null },

// Trial tracking
trialEndsAt: { type: Date, default: null },

Question
I'm a beginner backend developer but having 2 year experience in frontend development, I have user schema and now i want to add stripe subscription related fields, I want to need some suggestions

What have you already attempted?
Adding stripe subscriptions related fields in user schema

What are you working on?
I'm implementing stripe subscriptions in my web app

cursive heronBOT
#

@low spindle pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello - we have a deployment of stripe in Magento - credit card payments are working well but if a customer pays with Klaran they order sits on the admin system as payment pending not complete like other stripe transactions.

Related Event ID(s)
pi_3RBXxhIpUU0Nl5bo0BQyekM7

What have you already attempted?
Nothing at this point

What are you working on?
Website shop for fruit and veg devilries.

cursive heronBOT
#

@upper wadi pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Missmatch between payload when called from webhook vs manually?

Related Event ID(s)
evt_3RBv8TQdcHg9wdOS1SVj9FiW

What have you already attempted?
Missmatch between payload when called from webhook vs manually?

cursive heronBOT
#

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

Question
My Stripe Dashboard shows a business address under Settings > Business Details, but the API (GET /v1/accounts/acct_XXX) returns "address": null while "support_address" populates correctly.
Why doesnโ€™t the dashboard UI sync to address automatically?

Related Request ID(s)
https://api.stripe.com/v1/accounts/acct_1PspzvGNQ570gX7g

What have you already attempted?
I set the address in Stripe Dashboard โ†’ Settings โ†’ Business Details

Expected: Should sync to APIโ€™s address object

Result: Only updates support_address in API (address remains null)

What are you working on?
Iโ€™m trying to ensure accurate sales tax compliance by syncing a Stripe merchantโ€™s legal business address (address object) with our records.

cursive heronBOT
#

@night yacht pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello.
I'm setting up a property on Booking and I'd like to collect deposits using Stripe.
I imagined it like this: I'll create some link that I can send to the guests, where they will fill out their card, and Stripe will place a hold on the card. The funds would then be released 7 days after the guest checks out, or captured, if they damaged the property. I do not want to handle guest card numbers at all.
I do not see any field that I can fill out to set the release date, and I am not sure I understand the intended workflow.
Thank you

Related Request ID(s)
req_FjTsgd1Svt0ICI

What have you already attempted?
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method - How do I create a link from this?
I also tried to do /payment_links, but I'm not sure if it created a link that can hold funds

What are you working on?
I'm setting up a property on Booking and I'd like to collect deposits using Stripe.

cursive heronBOT
#

@silent rampart pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If i execute
curl -X POST https://api.stripe.com/v1/crypto/onramp_sessions -u sk_live_โ€ขโ€ขโ€ขxxxx
Then i open the redirect url, connect with secondary account contact@net-assembly.com but then i get "Failed to start payment process"

Related Request ID(s)
cos_1RBx41GYiDhXBV9V6Cus1Xgg

What have you already attempted?
I was trying to integrate the node.js crypto onramp sdk using next.js but i was having this problem. Then i tried again with a more simple solution to see where the problem comes from, but i get the same error creating the onramp session with CURL.

What are you working on?
P-Link.io

cursive heronBOT
#

@limber compass pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Error when integrating "mondu" payment method via API

Related Request ID(s)
None

What have you already attempted?
We are integrating Mondu right now and I want to confirm confirm a payment with mondu but I get the error that this payment method does not exist

What are you working on?
EComm

cursive heronBOT
#

@rare timber pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
body.transfer_data = {
destination: '----',
}
body.on_behalf_of = '----'
const feeP = 3.99 / 100; // 3,99%
const feeT = 0.39; // R$ 0,39
const totalFee = (amount_due * feeP) + feeT;
const percentage = (totalFee / amount_due) * 100;

body.application\_fee\_percent = percentage.toFixed\(2\)

let subscriptionUpdated = await stripe.subscriptions.update(
subscriptionId,
body
)

Question
a error return when I tried to update the subscription removing transfer_data[amount_percent] to add application_fee_percent

Error:
only one of application_fee_percent and transfer_data[amount_percent] can be specified

What have you already attempted?
If I remove first the amount_percent and in other request add application_fee_percent works, but I need 2 requests

What are you working on?
I'm changing the fee from amount_percent to application_fee_percent

cursive heronBOT
#

@limpid moat pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
pr.canMakePayment().then((result) => {
console.log('result =>', result);
setResult(result);

     // Only set paymentRequest if Google Pay or Link is available
     if \(result?.googlePay \|\| result?.link\) {
       setPaymentRequest\(pr\);
     } else {
       console.log\('Payment method not available'\);
     }
   }\);

Question
Hello
Everything is set correctly in my code but the google pay and apple pay buttons are not displayed and only the link is empty.

What have you already attempted?
check all environment

What are you working on?
nextjs app

#

@cunning goblet pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Race Condition When Updating Price with Offers/Coupons, paymentRequest.update is not showing latest one it loads late and old price is displayed

What actually happened?
When invoking paymentRequest.update to adjust the price with applied offers or coupons, we encounter a race condition. The price does not update to the latest state, leading to incorrect price displays in the browser's payment interface. This issue disrupts the user experience and payment accuracy. We would appreciate guidance on how to resolve this race condition to

Reproduction Steps
payment request button, legacy implementation

Question
We would appreciate guidance on how to resolve this race condition to ensure that price updates are reflected correctly during the payment process

What are you working on?
Payment Request Button Integration Issues

cursive heronBOT
#

@severe pier pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const initializePaymentSheet = async () => {

    const { error } = await initPaymentSheet\({
        // customFlow\: true,
        merchantDisplayName\: 'Intercargo Logistics',
        intentConfiguration\: {
            mode\: {
                amount\: \(bookingPrices.totalPrice \* 100\),
                currencyCode\: 'gbp',

            },
            confirmHandler\: confirmHandler,
        },

        defaultBillingDetails\: {},

Question
My googlePay is not showing Region : Pakistab

What have you already attempted?
I have added in androidManifest as the document stated and in build.gradle

What are you working on?
React native

cursive heronBOT
#

@silent kelp pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Create the Address Element in billing mode
var billingAddressElement = elements.create('address', {
mode: 'billing',
});

Question
We are trying to implement the Stripe payment element with a full billing address within the Credit Card section. I'm showing the standard JS version of the code but we are using the React version. Is there a way to require a full billing address when asking for credit card information? If that is not possible, is there a way to choose which accordion is open by default when you reorder the payment types?

What have you already attempted?
We could not find options to allow for the above approach so we decided to load the payment types separately and create our own accordion to render them out with a custom billing address form in the credit card section. The problem now is that we can't break Apple Pay out into it's own section as it is not technically it's own payment type but automatically included with the card type.

What are you working on?
We are building out a Stripe implementation for a one-page-checkout page for our customers.

#

@half idol pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there. Currently my Stripe generates invoices. If i integrate via API key with an invoicing company, will i still have the stripe invoices generated?

Related Request ID(s)
NA

What have you already attempted?
Research on the internet

#

@sacred bramble pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm confused by the coupon deprecations in basil. Currently I use Stripe::Subscription.create(..., coupon_id: xxx) to create a subscription with, eg, a lifetime discount of 20%. it sounds like this is no longer supported and I need to set it on the invoice.
That's fine for future invoices where I can set the discount on the invoice.created hook, but what about the first invoice? That's likely to be charged before I can set the discount, no?

Doc/Guide Links
https://docs.stripe.com/changelog/basil/2025-03-31/restrict-coupon-duration

What are you working on?
Subscriptions for podcasts

#

@faint galleon pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Apple Pay to show up for express connected accounts when using Payment Elements inside a nested iframe where top level domain is not verified.
The domain of the iframe src is verified and when not inside an iframe it works.

What actually happened?
apple pay not showing up

Reproduction Steps
Not sure if relevant but this is an example setup in test mode:
https://adintra.pl/tst

Question
We were hoping express customers' domain (the one they input during registration) would also be verified automatically for payment methods.
Or there would be a way for express customers to add their website domain.
Seems like the only way to ensure the domain is verified is adding it "manually" using API, is there a better way of doing this or circumventing ?

What are you working on?
web app for healthcare institutions (online booking in this case)

cursive heronBOT
cursive heronBOT
#

@limber compass pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Mondu is not available in payment options for invoices

Related Request ID(s)
nA

What have you already attempted?
Why is Mondu not showing up in this list of available payment options in my invoice settings? It is activated and should be working?

What are you working on?
Ecomm

#

@turbid cedar pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Create subscription with a terminal payment

Related Request ID(s)
Still in investigation stage

What have you already attempted?
Terminal payment works with payment intent, but subscription creates the invoice which internally creates the payment intent. how it can be associated with terminal payment?

cursive heronBOT
#

@indigo bolt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Iโ€™m trying to determine from the API if a connected account is going to be โ€œtemporarily suspended soonโ€ (e.g. Stripe Dashboard shows โ€œPayouts soon to be suspendedโ€ in orange).

However, when I retrieve the account via the API (\Stripe\Account::retrieve), fields like future_requirements->currently_due, eventually_due, and past_due are all empty.
Yet in the dashboard, I still see the warning.

How can I detect this โ€œsoon suspendedโ€ status programmatically through the API?

Related Request ID(s)
N/A โ€“ This is not linked to a specific request ID but a connected account retrieved via API.

What have you already attempted?
Iโ€™ve retrieved the connected account object via the API and dumped the following fields:
โ€ข $account->charges_enabled
โ€ข $account->payouts_enabled
โ€ข $account->requirements->currently_due
โ€ข $account->requirements->disabled_reason
โ€ข $account->future_requirements->currently_due
โ€ข $account->future_requirements->eventually_due
โ€ข $account->future_requirements->past_due

All of them return empty arrays or null, even though the UI shows an orange โ€œSoon suspendedโ€ status for payouts.

What are you working on?
Iโ€™m building a custom Stripe integration to automate payouts to connected accounts based on order status in WooCommerce. Iโ€™d like to prevent payouts or trigger alerts if a connected account is at ris

#

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

Question
I am trying to track down if stripe perform $0 auths when we add a new credit /debit card to our system.

We are currently setting up our customer cards by first:
- creating a new PaymentMethod (https://docs.stripe.com/api/payment_methods)
- we then pass this into a new SetupIntent we create (https://docs.stripe.com/api/setup_intents)

We were under the impression Stripe performed some 0$ auth on these cards, but I can't find where thats documented, or whether that is still accurate today in 2025.

Or even, if there is something else we would need to do differently.

Doc/Guide Links
- https://docs.stripe.com/api/payment_methods
- https://docs.stripe.com/api/setup_intents

What are you working on?
A refund platform, specifically we are looking into how to verify our credit cards/debit cards as we are seeing a spike in fraudulent use, and trying to reduce this impact through $0 auth or something similar verification

cursive heronBOT
#

@wintry timber pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I retrieve the charge Id created on the connected account so that I can reference it in a transfer to be made from a non-US account?

Related Request ID(s)
part of a dispute

What have you already attempted?
I tried the charge Id I see on the dispute closed event, which the the charge Id on my account. But docs indicate that I have to pass the charge_id created on the connected account

What are you working on?
Making a transfer for the fee lost in a dispute

cursive heronBOT
#

@twilit charm pressed the ๐Ÿ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I align a subscription schedule phase's duration with its coupon's duration? What's the best practice?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules#phase-length

What are you working on?
We're creating a step-up pricing model whereby a customer subscription price gradually increases to full price, overtime.

cursive heronBOT
#

@grand crater pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm getting an error response "(Status 400) (Request req_acHAmYTM36HVL1) You requested an account link for an account that is not connected to your platform or does not exist." when attempting to generate an account link for a connected account.

The account creation request succeeds and in the dashboard I confirm the connected account with the ID I provided exists.

Going through the dashboard I'm able to generate a remediation link that properly links to an onboarding form.

Inspecting the request body of the dashboard request it's using the same account ID.

Related Request ID(s)
Failing request: req_acHAmYTM36HVL1

What have you already attempted?
I've generated an account link through the dashboard successfully (remediation link from clicking 'request information'. I've regenerated API keys and verified the account IDs used in the requests are the same

What are you working on?
Connect Custom onboarding (stripe-hosted form)

cursive heronBOT
#

@vivid jolt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to flag a stripe checkout session to not allow refunding of application fee? We are using stripe connect but we do not want the connected account to be able to refund our fee.

Related Request ID(s)
NA

What have you already attempted?
NA

#

@warped basin pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Metering events aren't being billed against in preview invoices, despite appearing in the logs with prices matching both the meter event name and the subscription for the preview invoice

Related Request ID(s)
req_s0Px7PytX3aTGu (metering event) -> req_M6KCb2YS1VyOU1 (preview invoice not showing metering event)

What have you already attempted?
Multiple rounds of resolution attempted with other Stripe engineers via this discord, acknowledged as a Stripe bug (please see support ticket 21575150)

What are you working on?
AI workflow engine, 15 employees

cursive heronBOT
#

@maiden thorn pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I send decrypted Apple Pay tokens to Stripe to create a PaymentIntent or SetupIntent?

Related Request ID(s)
none

What have you already attempted?
I tried to use the API specs that accept external 3DS provider data.

What are you working on?
Building a multi-psp orchestration layer

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/changelog/basil/2025-03-31/add-support-for-multiple-partial-payments-on-invoices

Question
Does partial payment support extend to being able to record multiple out-of-band payments? I.E. someone pays us via check $50 for an invoice that's balance is $100.

What have you already attempted?
I have scoured the API and billing docs to see if there's an endpoint that would allow me to put a partial out of band payment, but I have not found one.

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

#

@white hedge pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<script
async
src="https://js.stripe.com/v3/pricing-table.js">
</script>
<stripe-pricing-table
pricing-table-id='{{PRICING_TABLE_ID}}'
publishable-key="pk_test_A7jK4iCYHL045qgjjfzAfPxu"
>
</stripe-pricing-table>

Question
We are trying to create a pricing table. We are finding that they are small on the browser and the view looks tiny and we would like to widen the columns. is there a way to customize the styles of the pricing tables?

What have you already attempted?
search for relevant documentation but cannot find any

cursive heronBOT
#

@bitter prawn pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why do I see multiple webhook events for the same event but with slightly different payloads. For example:

STRIPE CONNECT WEBHOOK - EVENT:
id: evt_1RC6xt2hqajdreQxxND3Wj0A
type: customer.subscription.updated
api_version: 2016-03-07
account:
request:
pending_webhooks: 6
user_id:

STRIPE CONNECT WEBHOOK - EVENT:
id: evt_1RC6xt2hqajdreQxxND3Wj0A
type: customer.subscription.updated
api_version: 2016-03-07
account: acct_102u3f2hqajdreQx
request:
pending_webhooks: 6
user_id: acct_102u3f2hqajdreQx

Notice user_id and api_version are null in the first hook.

Related Event ID(s)
evt_1RC6xt2hqajdreQxxND3Wj0A

What have you already attempted?
I'm using stripe cli w/ stripe listen locally to test.

What are you working on?
I'm updating and testing some webhooks to work with newly created subscription schedules.

cursive heronBOT
#

@rustic swallow pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const sub = await stripe.subscriptions.create({
...,
expand: ['latest_invoice', 'latest_invoice.payment_intent'])

Question
In GO SDK, in the same call to create a sub, one can add expand on "latest_invoice.payment_intent" to get the payment_intent.
But that does not seem to be possible with Stripe JS SDK.

What have you already attempted?
Tried many times.

cursive heronBOT
#

@last bramble pressed the ๐Ÿคจ Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Setting up my account for clearlydev wanted to set my contry to denmark

What actually happened?
Well it just locked to the UK

Reproduction Steps
Trying to create an account with clearlydev

Question
How in the world can i change the contry?

cursive heronBOT
#

@grave vine pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi!

if a vendor sends me an invoice link for me to pay to, is there a webhook that captures my payment transaction via webhook?

Related Event ID(s)
invoice and webhook

What have you already attempted?
search documentation

What are you working on?
I pay vendors via invoice link they sent me, and currently I manually update the status in my websystem, is there a way to automate it?

#

@hazy meteor pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
STPAPIClient.shared.publishableKey = publishableKey
var configuration = PaymentSheet.Configuration()
configuration.customer = .init(id: customerId, ephemeralKeySecret: customerEphemeralKeySecret)
configuration.returnURL = "td://stripe-redirect"
configuration.paymentMethodLayout = .horizontal

let paymentSheet = PaymentSheet(
paymentIntentClientSecret: paymentIntentClientSecret,
configuration: configuration
)

Question
Alipay not appearing in payment element UI of iOS .

What have you already attempted?
Issue detail: https://github.com/stripe/stripe-ios/issues/4786

What are you working on?
I'm using "StripePaymentSheet" module of Stripe's iOS sdk.

cursive heronBOT
#

@chilly coyote pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
2025/04/10 11:16:02 Request completed in 543.616833ms (retry: 0)
2025/04/10 11:16:02 Request error from Stripe (status 404): {"status":404,"message":"Unrecognized request URL (GET: /v1/exchange_rates/usd). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.","request_id":"req_h7ypOhd9RNM8hl","type":"invalid_request_error"}
2025/04/10 11:16:02 Oi Exchange rate fetch failed: {"status":404,"message":"Unrecognized request URL (GET: /v1/exchange_rates

Question
I want to Have a echange rate request without payment I dk how

What have you already attempted?
curl to endpoint with auth

What are you working on?
a company project to get foreign exchange rate

cursive heronBOT
cursive heronBOT
#

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

Question
Does there is need of handling timezones while working with stripe, currently I'm handling 5 timezones in my app

Related Request ID(s)
Nothing

What have you already attempted?
Nothing

What are you working on?
I'm implementing stripe subscriptions with trial period with asking user to add payment details

cursive heronBOT
#

@mellow harbor pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I currently have an USA afterpay merchant account on my website, powered by Stripe.I wonder if the Australian afterpay customers, using their AUS afterpay account to purchase my product, will it be accepted, and will it show their local currency, which is the AUD, rather USD?
I saw this on your website, but I want to hear from your side.

Related Request ID(s)
I'm not a developer

What have you already attempted?
I'm just asking for my dev

What are you working on?
Afterpay

cursive heronBOT
#

@hard chasm pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm working on a payment flow using Stripe, Next.js (frontend), and Laravel (backend). Here's a quick summary:
1.Frontend calls createUserPayment: creates Stripe customer, adds card, and creates a payment intent.
2.Then uses stripe.confirmCardPayment.
3.On success, calls /payment/confirm_payment_success on backend to store data and create a transaction

Question
Does this flow make sense overall?
Could there be any async issues in the useConfirmCardPayment logic?

What have you already attempted?
Iโ€™m not fully sure if the async flow in useConfirmCardPayment is solid

#

@shut jolt pressed the ๐Ÿ“ก API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to fetch payment methods by customer from stripe that saved for future payment purpose, I have used payment method list by customer API, that API return only 2 payment method one is card and 2nd is bank account type, but I have 3 payment method added there, One is card type and other two is bank account type, but I is verified and one is not.

so stripe is returning the verified one not unverified one
but client requirement is that we need all payment method that added to customer account if not verified will indicate something on our app that please verify this before proceed.

Related Request ID(s)
req_H6OqBRS72snOTt

What have you already attempted?
used list all payment method by customer id

What are you working on?
listing users payment method that they have saved with stripe for future payment automation

#

@subtle arrow pressed the ๐Ÿ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices/finalize

Question
hey i am creating a invoice and then finalizing it manually on the back-end
i set the auto advance true attach ,the payment method
but the pay_attempt never happen the expected behaviour after finalizing the invoice the payment should be deducted instantly or either failed
what i am doing wrong

What have you already attempted?
i follow the api of invoice

cursive heronBOT
#

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

Question
I'm trying to return my customer to a return URL Using stripe sdk js but its not working.

Related Request ID(s)
pi_3RCFbzCj8Wreu2Ie02CRYkC3

What have you already attempted?
Here's the confirm sent by the confirmcardpayment function in js

return_url: https%3A%2F%2Flocalhost%3A8000%2Fapi%2Fwidgets%2Fconfirmation
payment_method_data[type]: card
payment_method_data[billing_details][name]: dfsghfjg
payment_method_data[card][number]: ***
payment_method_data[card][cvc]: ***
payment_method_data[card][exp_month]: 03
payment_method_data[card][exp_year]: 28
payment_method_data[guid]: b588c93f-4622-4746-8c44-284d0cad9bef28f00c
payment_method_data[muid]: bc21407c-76af-4501-b65d-f807f60173f4df37c5
payment_method_data[sid]: 183722e3-b33b-450b-80f2-d0fbbcf0ab056c9adb
payment_m

cursive heronBOT
#

@split viper pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
We get an Apple Pay Error - we are using Stripe Elements during Checkout

Question
Is there an Issue with Apple Pay at the moment?

What have you already attempted?
not much - we really don't know where to start

cursive heronBOT
#

@keen crag pressed the โŒ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':stripe_stripe-react-native:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details

Question
I was trying to integrate Stripe with my react native app.

What have you already attempted?
ext {
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.24"
RNMapboxMapsVersion = '11.4.1'
}

"@stripe/stripe-react-native": "^0.37.1",
"react-native": "0.76.1",
"react": "18.3.1",

What are you working on?
A travel based application

#

@split viper pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
apple pay returns an error message within stripe payment elements

Question
we cant see any errors in stripe logs

What have you already attempted?
we tried on many different devices but we are a bit clueless on what else to try

#

@vital brook pressed the ๐Ÿง‘โ€๐Ÿ’ป Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Creating an intent in backend with conditional intent_params:

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

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

Frontend on PaymentElement:

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

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

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

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

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

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

cursive heronBOT
#

@modest creek pressed the ๐Ÿช Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I have a JS integration with Stripe and I'm listening for some webhooks. For some reason, the webhooks related to invoices return a 403 error. E.g. when I upgrade a user subscription on my app, I listen to 5 events, but always the same 2 webhooks related to invoices fail.

Related Event ID(s)
evt_1RCIfS2sDVri7Vidwm0jI4zU, evt_1RCIfS2sDVri7Vid7ynsr6LR

What have you already attempted?
I've tried to debug on the controller level, and I can see 3 requests reached the controller and the 2 failing webhooks didn't. I verify most of the security/middleware configuration and none of my attempts worked. Always the same 2 invoice related webhooks failing.

What are you working on?
subscription platform