#dev-help

1 messages · Page 96 of 1

cursive heronBOT
#

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

Question
We use the Stripe API version 2020-03-02 and Our project listens to the `transfer.failed` event. Looks like the `transfer.failed` event was removed from the latest Stripe API version.
We use the Stripe transfer API to do the transfer. If the create transfer request is successful then is it possible transfer may fail later(asynchronously)?

if the create transfer request is successful then it will not fail. am I right?

Related Event ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Transfers

cursive heronBOT
#

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

Question
Why does Stripe Billing Session created with on_behalf_of set make it possible to use blocked payment methods? For example, I see card and Google Pay when I enter this billing session, while Google Pay is disabled. I want to add SEPA Debit, which is enabled, but it's not visible there.

Related Request ID(s)
req_O0xyAHq5yqk3xU

What have you already attempted?
I have attempted modifying platform and connected accounts' payment method config.

#

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

What did you expect to happen?
We are utilizing Customer Portal for upgrade/downgrade scenarios. Our setup is good|better|best with 1 product having 2prices(monthly|yearly) and each price has USD(tax inclusive) and CAD(tax exclusive) currencies. The setup is correct and verified by support.

For some reason CAD customers can't upgrade/downgrade and only see their own product.

What actually happened?
When the customer goes to the Customer portal and clicks on the Update subscription button they don't see any other available products, but only their own that they are currently subscribed to

Reproduction Steps
Have the same setup as described above. Create custom tax rates. When doing the checkout session provide "tax_rate" parameter in the items list for a product

Question
How can I make upgrade/downgrade flow work in Customer Portal for CAD customers by using our own tax rates instead of using automatic_tax: true or fully disabling the tax rate calculation

What are you working on?
Upgrade/Downgrade scenarios with Customer portal for customers in US/CA

cursive heronBOT
#

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

Question
Invoice is not paid automatically.

Intended outcome: if the user is in trial, just change the subscription amount and let it be charged when the subscription trial ends. If the user is not in trial and they upgrade, charge immediately the difference between the two sums, by creating and paying an invoice. If the user is not in trial and downgrades, change the charged amount the next billing cycle (1 year).

Related Request ID(s)
N/A

What have you already attempted?
Read the docs

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/upgrades#2022-11-15

Question
We are currently upgrading the Stripe library version to 28.1.0. According to your Stripe documentation the charges property on PaymentIntent has been removed, and we can use the latest_charge property instead. Before we were using the paymentIntent.getCharges() and getting the first element to obtain the Charge object, right now we are using paymentIntent.getLatestChargeObject(); However it turns out to be null. How could we obtain the Charge object properly?

What have you already attempted?
Using the paymentIntent.getLatestChargeObject(); is returning null and we were wandering why is that and how could we get the ChargeObject

#

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

Question
I want to confirm if the flow I'm using for subscriptions is correct or if there's a better approach.

Here's my current flow using Stripe Elements:

When the user clicks to go to checkout, I create a customer in Stripe.
Then, I create a subscription with a 7-day free trial.
The subscription generates a setupIntent.client_secret, which I use to initialize <Elements>.
Upon creating the subscription, an invoice with a $0 amount is automatically generated and marked as paid. At the same time, a new invoice is scheduled for the end of the trial (7 days later) with automatic payment.
The next step would be for the user to complete the checkout and add a payment method. Is this the

Doc/Guide Links
https://docs.stripe.com/js/setup_intents/confirm_setup

What are you working on?
Subscription with Stripe Elements

#

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

Question
We are developing a project that requires onboarding vendors using Stripe Connect (Express Accounts). The main challenge is determining the best approach to implement the integration while ensuring it is:

Scalable: To handle a growing number of vendors and transactions.
Secure: To protect sensitive data like API keys and vendor tokens.
Maintainable: For easy updates and future enhancements.
Aligned with Stripe Best Practices: For managing API interactions, logs, and webhooks.

Related Request ID(s)
@waqassafdar

What have you already attempted?
Our project uses:

Laravel Backend API: Handles core logic like vendor operations (products, bookings, etc.).
Vue 3 Dashboard with Quasar: Allows vendors to manage their accounts, products, payments, etc.

What are you working on?
We're unsure whether the Stripe Connect integration should primarily reside in the Laravel API or the Vue.js dashboard. Each approach has implications for security, scalability, and long-term maintain

#

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

Question
Customer called saying checkout is giving him an "error" with no message. Looking into it further, I think the issue is coming down to the customer already existing but Stripe not allowing his payment process. We took his order over the phone and now he's in the Stripe dashboard customers twice as different IDs. Although I can't find any error pertaining to this so I'm in the dark. I'm hoping someone can maybe point me in the right direction.

Related Request ID(s)
req_uD9vJ7UsgOPz1Z

What have you already attempted?
Nothing as I'm not sure what to do here. I found both his ID's. Note the same email/customer/payment info:
cus_RFnUPvi5sphBeN
cus_RfExAZT3ve4eGr

What are you working on?
ecomm site

#

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

Question
We are using "https://files.stripe.com/v1/files/<file_token>/contents" to get the contents of the file in GET request.

Unable to fetch file contents using stripe secret key. Returns access denied error.

Related Request ID(s)
req_lwB3MX2AyAXl4O

What have you already attempted?
"<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>requestId</RequestId><HostId>hostId</HostId></Error>%"

What are you working on?
Download source to payment token migration related file using file token.

#

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

Code
<?php
header('Content-Type: application/json');
require 'vendor/autoload.php';

\Stripe\Stripe::setApiKey('sk_live_•••cZDR');

try {
$content = trim(file_get_contents("php://input"));
$data = json_decode($content);
$customerName = $_COOKIE['name_logged'];
$customerEmail = $_COOKIE['email_logged'];

$lineItems = array\(\);
foreach \($data as $object\) {
    $tmp

Question
Im integrating Stripe with my personal Javascript using Bootstrap 5 website, but im not able to reach from my cart Stripe checkout view

What have you already attempted?
I have tried checking format and adding breakpoints of each method before Stripe checkout PHP method gets called

cursive heronBOT
#

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

Question
Hi there - are write rate limits separate for connected accounts and for platforms making calls on behalf of the connected account? E.g. if we have a stripe app making a lot of calls, would it eat into the allocation that the stripe merchant themselves might need?

Related Request ID(s)
na

What have you already attempted?
Looked up here: https://docs.stripe.com/rate-limits

What are you working on?
Building Stripe App

#

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

Question
I have four different bank accounts that will receive payouts and currently have them set up as separate Stripe accounts (we'll route users to use the right Stripe account on our side based on their location). However, I don't want to pass Stripe fees on to either the customer or the payout bank account. I think my options are to either do manual top-ups of each individual Stripe account to cover fees, or to wrap the individual Stripe accounts in a Stripe Connect platform (where the platform would cover the fees and I'd do top-ups through the API). Is it reasonable to set up my separate Stripe accounts under a Connect umbrella like this?

Doc/Guide Links
https://stripe.com/connect
https://docs.stripe.com/connect/top-ups
https://docs.stripe.com/get-started/account/add-funds

I have also fully integrated Stripe Payments with my individual Stripe accounts (and consumed the docs necessary to do that).

What are you working on?
We are a title company that is intending to use Stripe to collect earnest money deposits at the beginning of the transaction and move them into our escrow accounts.

cursive heronBOT
#

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

Question
WHMCS
payments for new customers remain in the "requires_action" state and are not being captured automatically. Could you help me understand why this is happening and how to resolve it?

Thank you!

Related Event ID(s)
payment_intent_unexpected_state

What have you already attempted?
The webhook is correct
The Stripe keys are correct

What are you working on?
I’m working on resolving an issue where payments for new customers stay in the "requires_action" state and don’t get captured automatically.

#

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

Code
<Elements stripe={stripe} options={options}>
<PaymentElement options={paymentOptions} />
</Elements>

const paymentOptions = {
layout: {
type: 'accordion',
defaultCollapsed: false,
radios: false,
spacedAccordionItems: true,
},
}
const options = {
mode: 'setup',
currency: 'usd',
appearance: {
theme: 'flat',
fontFamily: 'Plus Jakarta Sans',
variables: {
colorPrimary: '#4461F2',

Question
Im having issues with the default layout from the Elements Payement element. The credit card is being added to the same row as the expriation date and cvc number.

What have you already attempted?
Tried different layouts and options from the stripe website, however, it looks like this should just come through as default the way i need it setup, however, it's not.

#

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

Error Message
You cannot confirm this SetupIntent because it has already succeeded

Question
I show the CustomerSheet to add the Payment method.I receive the SetupIntent from API but I can use this intent only one time. I checked the Demo android app with Stripe sdk and I was able to add card couple of time using same intent.

How to achieve this?

What have you already attempted?
Not sure where to start.

What are you working on?
Integration StripeSDK into android app.

cursive heronBOT
#

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

Question
I am wokring on the payment element. can you guys tell me how to catch the intergation error thrown by stripe payment element. Like amount should be greater than 0. I was able to catch the error, but when i chnage the amount, i throws element instance has been destroyed. please create the new one

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Code
Nothing fits, heh. I'll share it after submitting

Question
We have two tiers, both have two prices. One base, and one graduated. If someone has usage on the current sub, it seems like when upgrading it sums up all the usage before moving it over and adds a HUGE usage record.

What have you already attempted?
I've tried to change the proration_behavior to "none"

What are you working on?
CDN Saas and logging service

cursive heronBOT
#

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

Question
I am exploring migrating a billing system to Stripe. the current system uses Authorize.net's stored credit card tokens to charge existing customers an amount calculated once per month based on internal business logic. I see that Stripe has features for recurring billing on fixed amounts and metered costs. Does Stripe have a feature that would allow us to charge a customer a varying amount calculating by our internal billing rules? If so, what is this feature called? Thanks!

Doc/Guide Links
https://stripe.com/billing
https://docs.stripe.com/recurring-payments

What are you working on?
Migrating existing website to Stripe

cursive heronBOT
#

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

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

Question
We're looking into Payment Element and wonder how much we can change the UI in the iframe. For example, can we add our custom payment methods to the Payment Element (e.g. additional tabs in the tabs layout) and trigger custom action? Can we change the error text of the inline input validation?

What have you already attempted?
I understand the Payment Element UI is inside an iframe, and I wonder what's the recommendation for our cases that might require customization beyond appearance. Or please let me know if I missed some documentation. Thank you!

What are you working on?
Payment Element in the checkout flow

cursive heronBOT
#

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

Question
Is there a way to update the price_ of customers who have already purchased their subscriptions to the new price_ I've added?

Related Request ID(s)
Update price

What have you already attempted?
NA

What are you working on?
Upgrade and downgrade at the end of the billing period

#

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

Question
My team has two apps - one is using payments within the UI, the other is accepting payments via Stripe M2 card readers.

We recently received a notice from Apple that our iOS Merchant Certificate is expiring. We are updating this within the UI payments app currently. For the card-reader-based app, is there anywhere we will need to also update the iOS Merchant Certificate? Some stakeholders are concerned about this, and I can't find anywhere in the docs that explicitly states you do not need to renew certificates for reader-payment based apps - we'd really like to be certain if we can.

Doc/Guide Links
We are following the docs here for the UI-payments update:
https://docs.stripe.com/apple-pay/best-practices#apple-pay-certificate-renewal

What are you working on?
Our team is responsible for two apps - both are selling digital tickets. One is selling through the UI, the other is a point-of-sale app only accepting payment through the Stripe card reader.

#

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

Question
Is it possible to convert a platform (card) source object to a platform paymentmethod directly?

Related Request ID(s)
req_SuN74jr1TFYRRE

What have you already attempted?
I have successfully:
- converted a platform-source into connect-paymentmethod
- converted a platform-source into connect-paymentintent

Failed to:
- convert platform-source into platform-paymentmethod
- convert platform-source to card-token to platform-paymentmethod

What are you working on?
Trying to migrate (card) Sources object into PaymentMethods on the same platform account.

#

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

Question
I am trying to retrieve the tax settings for my connected account using Stripe_Account header. but the response that i got doesn't have a status field.

Related Request ID(s)
req_hbH8Fpc6v5MP1B

What have you already attempted?
nothing

What are you working on?
I am trying to get the tax status.

cursive heronBOT
#

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

Question
My invoices are getting automatic "Applied Balance" messing up my invoice totals for new and old customers.

Related Request ID(s)
https://dashboard.stripe.com/workbench/logs?created[lte]=1738014468&method[0]=post&method[1]=delete&direction[0]=connect_in&direction[1]=self

What have you already attempted?
I am creating an invoice for a customer and it's automatically going to zero with an Applied Balance (and gets set to Paid), if I try again, the last set amount gets applied to the new invoice and is totally wrong.

What are you working on?
Automating Stripe invoices using Make.com

cursive heronBOT
#

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

Question
We are creating payments in stripe using the ruby gem. We collect the charge params and then do something like this:

Stripe::PaymentIntent.create(
charge_params,
idempotency_key: idempotency_key(
transaction,
capture_method,
),
)

Sometimes we are getting 402 (do_not_honor) responses. When that happens we sometimes see logs in the stripe dashboard. Other times we do not.

Is there a reason why we sometimes might be seeing logs but not other times?

Is there any more information we can get as to why we are getting 402 responses?

Related Request ID(s)
req_EscmHSFWmcEegq

What have you already attempted?
The docs said that customers should follow up with their bank in these instances but the bank has no record of the transaction. I am also confused how we are recording 402 errors but they aren't visible in the customer logs. Here's an example: https://dashboard.stripe.com/customers/cus_LnNvH5QCIiMWpD

That customer has successful transactions too, but we have 402 errors recorded for other payments of theirs.

What are you working on?
Video subscription/pay per view platform

#

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

Question
When attempting to connect an ephemeral stripe account by selecting "skip this step" in test mode in the stripe oath flow, we have started to get the following error on redirect to our webhook handler:

{"errors":{"invalid":"400 Bad Request -- {\n "error": "invalid_grant",\n "error_description": "This authorization code has already been used. All tokens issued with this code have been revoked."\n}: invalid_grant: This authorization code has already been used. All tokens issued with this code have been revoked."}}

As though the account token is immediately expired.

Related Event ID(s)
None

What have you already attempted?
When attempting to connect to a non-ephemeral account we have no issues so we have ruled out an issue with a misconfigured oauth redirect uri. I know these ephemeral accounts expire after some period of time but this seems immediate. Have we reached some sort of limit that does not allow us to create more?

cursive heronBOT
#

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

Code
const paymentRequest = stripe.paymentRequest({
country: 'US',
currency: 'usd',
total: {
label: 'Demo total',
amount: 1099,
},
requestPayerName: true,
requestPayerEmail: true,
});
const paymentRequestButton = elements.create('paymentRequestButton', {
paymentRequest: paymentRequest,
});
paymentRequestButton.mount("#payment-request-button");
paymentRequest.canMakePayment().then(function(result) {
if (result) {
prButton.mount('#payment-request-button')

Question
Is it possible to use the client secret to use the payment request ?

What have you already attempted?
Migrating to the Express checkout Element which does not appear

#

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

Question
i need to get the name of the plan the customer assigned from the charge object, can i get it?

Related Request ID(s)
dont understand

What have you already attempted?
i tried to see on charge object, i found something on description attribute on list data on invoice.lines.data[0].description, but is a string with anothers informations that i dont want to, for example, this description: "description": "1 × Plano Tipster (at R$ 220.00 / every 3 months)", i just want the "Plano Tipster"

cursive heronBOT
#

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

What did you expect to happen?
I’m experiencing an issue where my product, created in USD, is being displayed in GBP when customers use Apple Pay. This is occurring for customers in Brazil, the US, and the UK, where the default currency appears to be GBP regardless of location.

What actually happened?
Here’s an overview of my setup:

-The product is configured in USD.
-I’m using a free trial flow that involves a SetupIntent.
-I retrieve the clientSecret and use it with Stripe Elements.
-I configure the PaymentElement to display Apple Pay.
The issue is that I don’t see any option to explicitly set the currency when displaying Apple Pay through the PaymentElement.

Reproduction Steps
same on what actually happened.

Question
Could you clarify how to ensure the correct currency (USD) is shown when using Apple Pay in this scenario?

cursive heronBOT
#

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

What did you expect to happen?
We have a react Payment Element in a modal. When the modal is closed the form should not effect the page any more.

What actually happened?
After closing the modal, when the user clicks anywhere on the page the page will scroll down, as if to bring a field into view. It is a smooth scroll (i.e. triggered by JS), not a jump as happens when focusing to an element outside of view.

Reproduction Steps
1: Scroll the page down (e.g. half a page), and open a modal containing a react Payment Element form
2: Focus on a field within the form
3: Close the modal
4: Scroll back to the top of the page
5: Click in whitespace anywhere

Question
How can we avoid this scrolling issue? It persists even after interacting with buttons, doing client-side navigation etc. and requires a full refresh to resolve. We particularly want to avoid this as we are providing an SPA.

Project is React + Nextjs, and uses React-Modal. Stripe SDK is included through npm, and otherwise works great.

What are you working on?
Customer dashboard so customers can manage their subscriptions

#

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

What did you expect to happen?
When user enters payment details online they receive a 404 error in blue

What actually happened?
the payment goes through but user thinks error and pays again. The card is not declined and all appears OK at my end

Reproduction Steps
There are no indicators at my end that there was an issue and I see the payment has gone through

Question
I apologise if this is dumb, but when I check it out and make a payment on my website all goes well.

What are you working on?
WordPress web page

#

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

Question
Is it possible to remove a coupon from an draft invoice?

Related Request ID(s)
req_mXs46VVQrklrnn

What have you already attempted?
Specified empty array under discounts.coupon, specified empty string under discount.coupon

What are you working on?
Removing coupon from draft invoice

cursive heronBOT
#

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

Code
def createPayOut(){
Stripe.apiKey = grails.util.Holders.getGrailsApplication().config.mks.stripe.apiKey
PayoutCreateParams params = PayoutCreateParams.builder()
.setAmount(1100L)
.setCurrency("usd")
.setDestination('ba_1QkLDZC50Rk7rYypGI8JT2Ui')
.setMethod(PayoutCreateParams.Method.STANDARD) // Optional, can be "standard" or "instant"
.build()

    // Create the payout
    Payout payout = Payout.create\(pa

Question
i have created a manual payout in my code i have added a destincation external account no. for my connected account

What have you already attempted?
even though my external account number is correct
still my error is coming like below:

No such external account: 'ba_1QkLDZC50Rk7rYypGI8JT2Ui'; code: resource_missing; request-id: req_aA35gWP0wGxXWL. Stacktrace follows:

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

cursive heronBOT
cursive heronBOT
#

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

Code
Stripe::PaymentMethodConfiguration.list({}, { stripe_account: stripe_account_id })

Question
Hi, I want to fetch all the payment methods that are enabled on stripe dashboard for a specific connected account. I tried using the api mentioned above, but I don't think that is what I actually need. Can I get some guidance on this please?

What have you already attempted?
PaymentMethodConfiguration and capabilities call but they are not what I am expecting

What are you working on?
I am implementing a dropdown that renders only those payment methods that are enabled on stripe dashboard for a given connected account

#

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

Question
Trying to update account capabilities using API. Facing the following error - Cannot create a test mode account capability for a live mode merchant, or vice versa.

Related Request ID(s)
https://dashboard.stripe.com/acct_19o4IFJv9j0DyntJ/test/logs/req_OGIgowbvORBgjS?t=1738048691

What have you already attempted?
curl --location --request POST 'https://api.stripe.com/v1/accounts/<acc_id>/capabilities/us_bank_transfer_payments'
--header 'Stripe-Version: 2019-05-16'
--header 'Authorization: Basic <platform-account-secret key>'

What are you working on?
Enabling US Bank transfer for connected accounts from platform account

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://developer.apple.com/documentation/merchanttokennotificationservices

Question
The PKRecurringPaymentRequest object from Passkit accepts a tokenNotificationUrl that is used to handle MPAN token life cycle events.
Does Stripe handle those events on its own or do i need to do something about those.

What have you already attempted?
I tried passing a tokenNotficationUrl argument when creating a PKRecurringPaymentRequest object but it says Extra argument in call.

cursive heronBOT
#

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

Question
How do I need to adjust my payment method flow when adding PayPal? Currently, our SaaS only supports credit card payments but now we'd like to add PayPal. I thought it would work out of the box when simply configuring it in the dashboard but there was an error saying that `return_url` is missing. I was hoping I could simply pass that parameter in my existing flow, but it seems like I need to add a `stripe.confirmPayPalPayment` somewhere – is this correct? If so, where/how would I need to add it? More info below

Related Request ID(s)
NA

What have you already attempted?
Reading the docs https://docs.stripe.com/js/payment_intents/confirm_paypal_payment

#

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

Question
in Subscription, Is that possible to create an external draft invoice (xero invoice) every time before customer got charged?

Related Request ID(s)
sub_1QjBPvKxUzgEvuWhm77oVgC8

What have you already attempted?
create subscription

cursive heronBOT
#

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

Question
I want to add adaptive pricing to the eshop. It's written in Django. I don't see local prices in the Stripe checkout.

Related Request ID(s)
-

What have you already attempted?
I updated the stripe python package to 11.4.1, we enabled adaptive pricing in the dashboard, I also tried to add adaptive_pricing={"enabled": True} to the Checkout Session and I tried to create Checkout with localized email (test_location_CZ@test.cz) I don't see local prices (CZK) in the Stripe Checkout. Please can you advice what can I try next. Thank you.

What are you working on?
Stripe adaptive pricing

cursive heronBOT
#

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

Question
hi . i want clarification on payment intent,setup intent,payouts and transfers what are their differences and in my use case(defined below) what is the best approach

Related Event ID(s)
evt_3Qm9KmHmKGPGvI3A0uDu4R0o.

What have you already attempted?
Have read about payment intent ,stripe connect, onboarding process. Haven't deployed live. testing locally for now

What are you working on?
hospital creates a job with some hourly fee which contains multiple shifts. vets apply to shift . upon hiring ,deduction from hospital to platform and on completion transfer to vet ,- platform fee

cursive heronBOT
#

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

Code
cart.html:816

POST https://www.dennis-snkrs.com/create-checkout-session.php 405 (Method Not Allowed)

initiateStripeCheckout @ cart.html:816
proceedToCheckout @ cart.html:871

onclick @ cart.html:772Understand this errorAI

cart.html:836 Error: SyntaxError: Unexpected token '<', "<html>

Question
This error Im getting when proceeding to checkout and fetching PHP Stripe checkout file

What have you already attempted?
Debugging

#

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

Question
I'm doing accounting on my Stripe account and I need to get all subscriptions ever activated, the associated total payout and refunds for the product id the subscription was made for. However, the data exported from Stripe does not look correct and there are no direct API's to support this.

Related Request ID(s)
N?A

What have you already attempted?
Exported data from Stripe dashboard, pulled data from subscription api, pulled data from transactions api,

#

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

Question
Stripe customer portal configuration seems extremely lacking api. Is there really no way to set min and max quantity via the api? Is there really no way to delete a configuration once created?

Related Request ID(s)
Stripe Customer Portal API

What have you already attempted?
Read through entire documentation @https://docs.stripe.com/api/customer_portal/configurations?lang=curl

What are you working on?
subscriptipm plarform

#

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

Question
https://dashboard.stripe.com/test/subscription_schedules/sub_sched_1QmCOJIE5Vvk0efGHtTiPvHD

I have a subscription, and I updated the quantity from 2 to 1 directly from the Stripe dashboard. Firstly, why is a credit balance being generated when the subscription is in the future, even with proration behavior not enabled, because there not option on the future subscription?

The price for a quantity of 2 is $100. If I update it to 1 via the Stripe dashboard, the resulting credit balance should be -50. Why is it showing -136 instead?

Related Request ID(s)
123Ds

What have you already attempted?
chat on stripe its not give me answer.

What are you working on?
Need to know calcuation of credit bal.

#

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

Question
integrate iOS checkout - just want to collect payment details, i've already created a checkout session with subscription details on the backend - i just want to collect the payment details. also i don't want to redirect within the app

Related Request ID(s)
na

What have you already attempted?
trying to understand this doc https://docs.stripe.com/payments/accept-a-payment?platform=ios + when ui_mode (during checkout) is set to embedded i am getting a client secret but it is not working

cursive heronBOT
#

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

What did you expect to happen?
We use stripe to collect card donations, we also accept AMEX cards which users can use to donate

What actually happened?
AMEX cards are declined through the API with the "do_not_honor" decline but same cards work with the stripe dashboard

Reproduction Steps
Visit https://www.tcf.org.pk/donate and try to donate using an AMEX card

Question
I understand this discord does not support declines so my question is not regarding declines.

What I need to know is how come the card works through the Stripe Dashboard but does not work through card element, can we be missing something in the API Integration?

#

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

Code
I want to allow user to pay using google pay

Question
How can I enable google pay in my application?

What have you already attempted?
I enabled google pay option from dashboard. I want to know what is the enum that I will provide in payment_method_types while creating intent e.g ["card", "paypal", "us_bank_account", "cashapp"]

cursive heronBOT
#

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

Code
async createSetupIntent(
customerId: string,
paymentMethodId: string,
user: User,
): Promise<{ clientSecret: string }> {
const userId = user.id;

const setupIntent = await this.stripe.setupIntents.create\({
  customer\: customerId,   
  confirm\: true,
  usage\: 'off\_session',
  payment\_method\_types\: \['card'\],
}\);

if (setupIntent.client_secret) {
return { clientSecret: setupIntent?.client_secret };
}

Question
i want to setup intent for future use. and want to fetch it afterwards after some time. do i have to store client secret or payment method id in db to get the same payment method when i am ready to create a payment intent after some time

What have you already attempted?
haven't tried but thinking to pass the payment method id while setting up intent and save the transaction in db and fetch while creating payment intent the same payment method id

What are you working on?
hospital creates shifts and vets apply to it. deduct fee from hospital while hiring vet and transfer to vet once shift is completed minus platform fees

cursive heronBOT
#

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

Question
For card payment method, how to identify if customer has used debit card or credit card? Is there a way to find out?https://docs.stripe.com/payments/payment-methods/overview#cards

Related Request ID(s)
NA

What have you already attempted?
https://docs.stripe.com/payments/payment-methods/overview#cards

What are you working on?
Building an integration from Salesforce

cursive heronBOT
#

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

Question
Hi! Is there a way how to correlate Stripe fees on custom pricing (such as 3D secure lookups), that are grouped daily to a specific payment intent / charge ID?

Related Request ID(s)
n/a

What have you already attempted?
Tried checking out the reporting APIs

cursive heronBOT
#

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

Question
I have more question regarding the topic specified in related requests ID

https://discord.com/channels/841573134531821608/1333757879592943639

Trying to create subscription with mandate/BACS, get the payment intent and then continue with the collecting that payment in the mobile app

Related Request ID(s)
https://discord.com/channels/841573134531821608/1333757879592943639

What have you already attempted?
Trying to create subscription with mandate/BACS, get the payment intent and then continue with the collecting that payment in the mobile app

#

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

Question
I am looking for a way to display all of a customers order history/payments with detailed line items they’ve purchased

Related Request ID(s)
N/A

What have you already attempted?
I have setup a customer billing portal and used other various endpoints to try and grab ahold of this information

What are you working on?
An e-commerce website

cursive heronBOT
#

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

Question
Stripe now allow the Twint payment method (https://docs.stripe.com/payments/twint) but when initiate a payment, the merchant name displayed on https://pay.twint.ch/ isn't correct. Instead, the merchant name of another account I manage is displayed. sk_ an pk_ keys are correct beacause transaction and funds appear under correct account.

Related Request ID(s)
req_BkDkqZQq5maPzb

What have you already attempted?
Multiple check that all keys used are correct and multiple tries without success. At start, seems merchant name displayed was "Stripe ltd" or similar (not the account merchant name) but now there is the wrong merchant name

What are you working on?
Prestashop e-commerce shop

cursive heronBOT
#

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

Error Message
HI! We have been trying to update the information of our UAE based company. Apparently, Stripe will block the payouts if our information remains unverified. It requires us to put VAT number, even though we are not required to register. Account is linked to zorinavioletta@gmail.com

Question
Stripe used to work before, but for some reason, it now asks for VAT number even though we are not required to register. Can you please advise what shall we do in this case?

What have you already attempted?
We did everything we could, mention our corporate tax registration number instead. But it's not working.

#

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

Link to the Doc/Guide in question
https://stripe.com/in/guides/guide-to-managing-network-costs

Question
I would like to save on network cost by passing level 2 transaction data to Stripe. I would like to know what are the paremeters I will have to send when I create the payment intent and also when I create the checkout link via Stripe (I would like to send level 2 transaction data to them as well)

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

What are you working on?
The business needs to save on the cost and given the volume of transactions we go through we would like to utilize the level 2 transaction to save on network cost. So my team need to implement that.

#

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

Question
I'm making an API call from Salesforce to stripe to this endpoint (/checkout/sessions). I'm also passing an attribute for "success_url" as well. When payment is done, user is getting re-directed to success url. Question is, would success url re-direction always happen only on successful payment? If not, how to validate if payment is successful instead of checking "getStatusCode() == 200"?

Related Request ID(s)
na

What have you already attempted?
na

What are you working on?
Salesforce - Stripe Integration

#

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

Question
My understanding is that Stripe accounts for the Payments product start with a weekly ACH limit of $20k but that it can be configured based on a business's risk tolerance.

Two questions:
- If I'm setting up a Platform Account using Stripe Connect and its "separate charges and transfers" pattern, will that Platform Account have the same weekly ACH limit ($20k), or does the weekly limit get enforced for each of its Connected Accounts instead?
- How does one manage the weekly ACH limit over time?

Doc/Guide Links
https://docs.stripe.com/connect/separate-charges-and-transfers
https://docs.stripe.com/payments/ach-direct-debit
https://support.stripe.com/questions/bank-debits-transaction-size-and-weekly-volume-limits

What are you working on?
We are building a way for buyers in real estate transactions to submit earnest money deposits through Stripe, which have to be done via ACH or Wire, and average about $1500 each

#

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

Question
In recent days we noticed, that contactless payments via terminals on our production environment has "generated_card": null where as in our development environment it returns a value. The terminal we use on development environment is a Verifone P400 and our clients are using BBPOS WisePOS E. How do I replicate this same behavior in my development environment.

Related Request ID(s)
pi_3QkQyzCtARCrqTS40pwwPBrT, pi_3QlIOSBdQ5PeA8Kc1MUp1iug

What have you already attempted?
We have just been unable to get a similar kind of response in development environment

What are you working on?
Stripe Connect

cursive heronBOT
#

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

Question
I have a quick question on best practices for my companies' business case as it relates to implementing Stripe on our e-commerce site.

Currently, we sell a physical product that takes up to 10 days to fulfill from our print vendor. Our accounting/finance team would like to authorize funds on the e-com site (which I have already setup via payment intent api) however, I'm wondering what is the best way to satisfy our requirement of waiting until fulfilled which could be 10 days past the auth (payment intent authorization lasts for 7 days) .

I've looked at the increment auth api call (but the amount would not go up in our case so I don't think this would work) .

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

What are you working on?
E-commerce site selling physical print goods.

#

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

Question
I'm trying to update an existing checkout flow that 1) uses CardElement and 2) obtains the client secret on the backend via creating a Subscription and expanding `latest_invoice.payment_intent`.

I'm still iffy on using PaymentElement, but it's crucial that my new flow has a "confirmation" step.

Doc/Guide Links
https://docs.stripe.com/payments/build-a-two-step-confirmation

What are you working on?
SaaS checkout, subscriptions only

#

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

Question
We are trying to categorize the products on the invoices based on the values assigned to them in metadata (for example metadata: key: type, value: accounting), however whenever we try to do that we get CEL expressions errors or the products are not being categorized at all.

Related Request ID(s)
Dashboard -> Settings -> Billing -> Invoice templates

What have you already attempted?
The only thing that shows any kind of effect is when we assign the metadata directly to the subscription and access it via the following CEL expression:
line_item.subscription.expand().metadata['pls']. However when we do that on items in subscription it throws an error: CEL expression compilation error - undefined field 'items.

What are you working on?
Issuing invoices and organizing the products on it based on categories

#

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

Question
why need for two separate webhooks for connect and for normal stripe

Related Event ID(s)
none

What have you already attempted?
none

What are you working on?
i wanted to ask why the need for two separate webhooks,one for stripe connected accounts and other for normal stripe webhooks when we can listen connect webhook events in normal webhook

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/references/testing?terminal-sdk-platform=android#simulated-reader-updates

Question
I previously discussed the Stripe M2 reader card updates with a member of your team and was advised to file an issue regarding the matter. However, it has been over a month, and I have not received any updates. Could you kindly provide a status update on this? Below is the link to the thread

https://discord.com/channels/841573134531821608/1328777309691576412

What have you already attempted?
I have attempted to use Terminal.getInstance().simulatorConfiguration
as mentioned in the documentation along with the callbacks. I am receiving other callbacks normally.

What are you working on?
I am working on testing the behavior of a Stripe reader when there is a reader update to install in Android.

#

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

Question
We have webhook coming from Stripe and there is an interesting thing we noticed is that when we receive the payout webhook (payout.paid), the trace id is not there, meaning the trace_id's value is null and status is pending. We later can get the traceIds if we request for that payout information. So the question here is, can we get the traceid in the webhook?

Related Event ID(s)
evt_1Qhhh7Q9laWXkWcFQb3FMxQ5

What have you already attempted?
https://docs.stripe.com/changelog/acacia/2024-11-20/payout-trace-id-api

checked this doc and though it mention that based on various status stripe sends the value too. But in our case since the status was pending the value was blank. But when you get the data from the bank do you send out webhook to notify integrations about it?

What are you working on?
Maintaining and Enhancing Integration

#

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

What did you expect to happen?
When paying using Stripe Express Checkout Element and Apple Pay, the payment should go in.

What actually happened?
Using Express Checkout Element to pay with Apple Pay is working on every device except on iOS 17 and iPhone 11.
I checked on the console from the device and we are getting "The server responded with a status of 400 ()" and the API is https://api.stripe.com/v1/apple_pay_sessions.
The UI is never reaching the Confirmed status and just closing the Apple Pay Sheet

Reproduction Steps
Pay using Express Checkout Element on an iPhone 11 with iOS 17. Apple will display the Apple Payment Sheet and after selecting the card and verify by biometrics it is showing "Processing" and closing the Apple Pay sheet without any error.

Question
We do not have any iOS 17 device and we can't understand whats going on. This is not reproducible with iOS 18.

#

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

Link to the Doc/Guide in question
https://github.com/stripe/stripe-node/pull/2206

Question
In this pull request Gopay and QRIS is mentioned. These are two payment methods we are highly interested in activating on our Stripe account. How do we proceed?

What have you already attempted?
Search Stripe Docs and Git repos.

What are you working on?
Implementing new payment methods to extend our markets in Indonesia.

#

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

Question
When attempting to connect an ephemeral stripe account by selecting "skip this step" in test mode in the stripe oath flow, we have started to get the following error on redirect to our webhook handler: {"errors":{"invalid":"400 Bad Request -- {\n "error": "invalid_grant",\n "error_description": "This authorization code has already been used. All tokens issued with this code have been revoked."\n}: invalid_grant: This authorization code has already been used. All tokens issued with this code have been revoked."}} As though the account token is immediately expired.

Related Event ID(s)
none

What have you already attempted?
When attempting to connect to a non-ephemeral account we have no issues so we have ruled out an issue with a misconfigured oauth redirect uri. I know these ephemeral accounts expire after some period of time but this seems immediate. Have we reached some sort of limit that does not allow us to create more?

What are you working on?
Checkout application

#

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

Question
We are implementing bank transfers (wire/ACH) as part of a "Prepay" program. Users wire or ACH funds upfront to load their virtual account, and we update their dashboard to reflect the balance for purchases. I’m trying to understand when Stripe charges the ACH/wire fee. My AE mentioned the fee is taken “when the PaymentIntent succeeds,” but this is unclear. Does Stripe deduct the fee when funds are deposited into the virtual account, or when we first pull the funds to apply them toward an invoice? Can someone clarify how and when these fees are processed?

Doc/Guide Links
I have reviewed the Stripe pricing page and contacted our AE.

What are you working on?
Building out a new product feature backed by the Stripe Bank Transfers feature.

cursive heronBOT
#

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

Error Message
StripeInvalidRequestError: Invalid bank account currency for US-based bank account: USD

Question
I'm integrating the stripe account connect feature on my platform but when i try adding a bank account of a different nationality to the connected account i get the above error

What have you already attempted?
I've attempted using the same nationality for the connected account and the bank account that works without throwing this error, but can't have that because i still need to setup a taxForm for the connected account.

What are you working on?
A platform for selling digital products where sellers can receive their payouts from sold products.

cursive heronBOT
#

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

Question
Using `stripe.Invoice.upcoming()` in the Python lib, if I pass an existing customer and they have an existing Subscription with Item `foo` (quantity 1), and a new Item `bar` (quantity 1), is there a difference between

1) submitting both items (with the existing SubscriptionItem's `id` for `foo`) and not changing the quantity, and
2) only submitting the new item

The error I'm getting is posted below, so I'm trying to learn what my available solutions are: if both 1) and 2) will work or only 2).

Related Request ID(s)
req_zHBSR3SMYMgbyo

What have you already attempted?
A new item with Price price_1Qf5qLCoTIfwbn28dxa5VSO6 can't be added to this Subscription because an existing Subscription Item si_Rfd3odaPClVPmw 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
#

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

Question
The stripe dashboard provides a balance summary report, breaking out additional stripe fees and network costs by date or date range. Is there a way to retrieve these totals via api?

Related Request ID(s)
bring in a daily summary report internally

What have you already attempted?
https://dashboard.stripe.com/reports/balance

What are you working on?
bring in a daily summary report internally

#

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

Error Message
{
"code":"CommandNotAllowed"
"message":"Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid."
}

Question
I'm working on Tap to Pay for mobile using React Native. I'm following your documentation and the sample app in https://github.com/stripe/stripe-terminal-react-native/tree/main/example-app. I'm getting the error above. What do I need to do to resolve it?

What have you already attempted?
Made sure that I'm fetching a token before initialization. Tried setting discoverReaders.simulated to true, which "works" and does not give an error, but that does not really help with what I need to do. Made sure that embedded.mobileprovision file has com.apple.developer.proximity-reader.payment.acceptance equal to true.

What are you working on?
Tap to Pay for mobile using React Native

#

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

Question
My app detached payment method from a customer on mistake. Now I can't attach it back. Is it possible to add the payment method back or I should ask customer to enter their credit card again?
I am getting:
This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again.

Related Request ID(s)
req_zspzF7a39sdhVg

What have you already attempted?
sending it again.

What are you working on?
Stripe integration in rails app

#

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

Question
I'm trying to get a list of all subscriptions that are either cancelled or scheduled to cancel. Currently, this takes a very long time as I need to loop through all subscriptions and check the cancel_at_period_end field. I just discovered the search query for subscriptions but it seems cancel_at_period_end is not a valid search field for subscriptions. Is there any easier way to do this?

Related Request ID(s)
N/A

What have you already attempted?
search_queries = [
'status:"trialing" AND cancel_at_period_end:"true"',
'status:"active" AND cancel_at_period_end:"true"',
'status:"canceled"'
]

What are you working on?
SaaS

cursive heronBOT
#

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

What did you expect to happen?
Successfully test the Apple Pay

What actually happened?
The payment box is displayed, but there is no success in the payment, and the console on Safari drops the message "An unknown error occurred."

Reproduction Steps
For example, using the following checkout link:
https://pay.go2atlas.com/b/test_7sI184agO5gj78Q3cQ

Question
The integration process with Apple was made back in 2023, but we have not used this payment method since then. Do we need to redo that process, or is the issue related to something else?
Thanks in advance

#

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

Question
Hi,

We have a product subscription product which has monthly and yearly prices with existing customers. due to some technical issue with a third party service we use, we want to move all our existing customers to have 30day recurring and 365days recurring without causing another invoice/charge(if period is still active) for customers. Since we have yearly plans as well we would like to migrate all customers to new prices as soon as possible. Whats the easiest way to switch the prices and plan? (new plan's prices are same as old ones).

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

What are you working on?
Subscription price change for existing customers

#

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

Question
I creaated a payment link. A customer checked out using a coupon that made it free. The "transaction" is not appearing in the stripe dashboard. I need to know that the product was purchased, even it it was at no cost. I have records of this working in the past.

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

What have you already attempted?
I have no idea what to do. I can try to use the API to pull the appropriate thing but other non-coders need the info as well.

What are you working on?
Dance payments

cursive heronBOT
#

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

Question
Is it possible to group tax lines that have the same description being passed from our tax engine? We have an example where Sales Tax is listed as three different tax line items (they have different tax rates as they represent state, county, and local) on a Stripe invoice and we would like to group them into a single Sales Tax line item. Is that possible?

Related Request ID(s)
na

What have you already attempted?
we cannot find any documentation on how to fix this.

#

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

Question
Our project relies heavily on the use of Subscription Plans, and we have recently implemented a free plan where users can be subscribed to our services and still have all the same features as paid subscribers (making additional purchases that bill on a cycle etc) . In environments using the test mode when a user is subscribed to that $0 product, an invoice is created, finalized and paid upon subscription as expected, and no webhook is sent. In live mode, the webhook is sent which causes our app to create the $0 invoice. Harmless, but curious to know if there is some config in the dashboard or via API to control this or if it is a local listener vs live URL webhook setup thing

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

skimmed through subscription docs to see if there were any invoice settings that I could tinker with

What are you working on?
Free subscription plan

#

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

What did you expect to happen?
We use stripe to collect card donations, we also accept AMEX cards which users can use to donate

What actually happened?
AMEX cards are declined through the API with the "do_not_honor" decline but same cards work with the stripe dashboard

Reproduction Steps
Visit https://www.tcfusa.org/donate and try to donate using an AMEX card

Question
I understand this discord does not support declines so my question is not regarding declines.

What I need to know is how come the card works through the Stripe Dashboard but does not work through card element, can we be missing something in the API Integration?

cursive heronBOT
#

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

Question
I am trying to register domains programmatically in my app.

I'm following this: https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect

It looks successful, but when I go to the Stripe dashboard (⚙️ > Settings > Payments) I do not see that domain in the list when I click on Payment Method Domains. Is that expected?

Related Request ID(s)
req_0t6KGfpjBxpbkn

What have you already attempted?
API call worked but was wondering about results

#

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

Question
Can I add an optional item to a defined price_?

Related Request ID(s)
NA

What have you already attempted?
I'm trying to make it so that when the customer goes to purchase a subscription, they have the option to add an item as a boost and receive a discount.
https://docs.stripe.com/billing/subscriptions/multiple-products?locale=es-419

What are you working on?
Customer portal configuration

cursive heronBOT
#

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

Error Message
An unknown error occurred

Question
We're seeing a 500 when attempting to get an upcoming invoice in test mode. An example request: `req_GRwM0GgFqdD3Be`

What have you already attempted?
Without further details, we're unsure of what to do.

Reproduction Steps
Try to get an upcoming invoice via the .NET SDK.

cursive heronBOT
#

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

Question
I am using the Address Element and want to customize the labels (capitalize each word) and to add an icon before the error message to make it consistent with the rest of the UI

Related Request ID(s)
N/A

What have you already attempted?
using CSS (text-transform, before)

cursive heronBOT
#

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

Question
Are off-session payments (via PaymentIntent API) exempt from Stripe 3DS authentication requirements?

Is it possible to require 3DS on an off-session PaymentIntent, or would that always fail?

Does 3DS authentication require the PaymentIntent to be on-session?

Related Request ID(s)
req_Pt3jo2vACCLUmB

What have you already attempted?
We tested creating a PaymentIntent with `"payment_method_options": {"card": {"request_three_d_secure": "any"}}`, but used a previously saved card for the payment (which would be off-session). This returned the error "This PaymentIntent requires an on-session action. Please get your customer back on session and re-confirm the PaymentIntent with a payment method when the customer is on session."

What are you working on?
We are updating our Stripe integration to comply with the upcoming 3DS Authentication mandate for Japan.

#

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

Question
I'm using the Stripe python SDK to update a payment method. I'm having trouble understanding how to go from having an address that has `line2` set to one that has line2 set to null.

Related Request ID(s)
req_1gaM3Z01sqwCN4

What have you already attempted?
If I set line2 to None in UpdateParamsBillingDetailsAddress it seems to be ignored, and the only other option seems to be to set it to "", but that's not the same as null, and not what I want. Future requests return "" instead of null when I get a payment method. Addresses created without a line2 have a null line2 as you'd expect.

The only other solution I see is to set the whole address to "" in UpdateParamsBillingDetails, which seems to null all fields, and then set it all again, but that requires 2 API calls and is less than ideal. Am I missing something?

What are you working on?
Programmatically updating the address on a payment method from our UI

#

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

Question
I would like to know if it’s possible to create an invoice using the API but with the same email-style view, similar to how invoices are displayed in the Stripe Connect dashboard (showing the invoice as an element within the site).

Related Request ID(s)
Endpoint parameter -> create invoice (email style)

What have you already attempted?
I did not find an parameter to do that

What are you working on?
Medical website

#

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

Link to the Doc/Guide in question
docs.stripe.com/billing/subscriptions/prorations

Question
Hi, looking for a bit of implementation help with prorations. I would like to only prorate in one direction (positive proration if a subscriptions' quantity increases, but don't give negative prorations if quantity decreases). When the billing cycle renews, I would like the subscription's starting price to be on the current quantity, without any prorations. For example period 1: starting Q: 10, updated to Q:20 during billing cycle -> period 2: price starts at Q:20

What have you already attempted?
I've been accomplishing this by just comparing the new quantity to update with the existing quantity on the subscription. If new quantity > existing, enable proration_behaviour, if new < existing, then set proration_behaviour = 'none' on the request. The problem with this is that for example: if initial quantity=10, updated quantity to 15 (creates proration for 5, this is fine), then quantity is updated to 12 (no proration, price still based on 15 units, this is fine), then quantity is updated to 13 (creates proration for 1, this is not desired) even though user has really paid for 15 already

What are you working on?
Is there a better way of doing this?

cursive heronBOT
#

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

Error Message
We are getting an error when using the payment_intents/{id}/confirm API

Question
req_w0JhVZqzYPCs8D?t=1738102232
says payment intent is missing, but it exists

What have you already attempted?
trying to confirm a payment from stripe.js api

#

@grim 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/plugins/stripe-connector-for-salesforce/configure-events

Question
Hey so we've implemented the connect package and are receiving events no problem. However, when I create a flow to cast the event body I do not see any available apex actions except for API call

What have you already attempted?
Went through the setup twice and ensured permissions were assigned properly. (I am a sys admin as well)

cursive heronBOT
#

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

Question
Hey How can i add Google Pay to my Google kalender

Related Request ID(s)
Google Pay

What have you already attempted?
i dont see Googel Pay as a Method if i go to my payment setting from my google kalender

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based

Question
I understand that metered based billing is intended to work such that at the start of a subscription (or billing period): no initial charges are created, and an invoice is generated at the end of the billing cycle for the recorded usage. Is it possible to set up usage-based subscription in a way that charges an initial invoice based on the starting quantity, then charges another invoice at the end of the billing cycle for any subscription changes for prorations, while keeping the record keeping and aggregate functionality of meters?

What have you already attempted?
This seems not possible because metered subscriptions do not allow you to specify an initial quantity and the idea of prorations seems non-congruent with how metered subs work but wanted to check if I was overlooking something. (ie do we really allow/permit prorations in metered products?)

cursive heronBOT
#

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

Error Message
We ran into a problem when attempting to start the phone reset process, if you no longer have access to the number ending in 5496 please contact stripe support to help you update it

Question
I have been trying to update my phone number so I can access my account and the money I earned. It won't even send the code to my email instead so I can update it myself

What have you already attempted?
I have tried emailing stripe support but all they have done is update my email

What are you working on?
I am truing to access my funds

#

⛔️ 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 10am CET on Wednesday, January 29. In the meantime, you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Question
How to implement a subscription with 7 days trial with card check like 0 eur payment or sth similar at the beginning. Now i see that there is no card verification.

Related Request ID(s)
N/a

What have you already attempted?
return await stripe.subscriptions.create({
customer: stripeUserId,
items: [
{
price: '',
},
],
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' },
expand: ['latest_invoice.payment_intent'],
trial_period_days: 7,
});

What are you working on?
subscription app

cursive heronBOT
#

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

What did you expect to happen?
All the payment intents for the customer to succeed

What actually happened?
The payment intent succeeded (pi_3QjeHLD5KYFi3zJG0CDkE7uB) with 3D Secure attempt acknowledged with message: 3D Secure was completed, but the customer hasn't been verified because the bank does not support 3D Secure, has not set up 3D Secure for the card, or is experiencing an outage. The card network has provided proof of the attempt.

Reproduction Steps
Payment intent with 3ds unsupported card

Question
The payment intent pi_3QjeHLD5KYFi3zJG0CDkE7uB succeeded. But all the subsequent payment intent failed.
Failed intents:

  1. pi_3QjfbED5KYFi3zJG1zyd7umf
  2. pi_3QjfbvD5KYFi3zJG0RSgdWd1
  3. pi_3Qjfd8D5KYFi3zJG1DTTWOQa
  4. pi_3QjfedD5KYFi3zJG1TaJn8YZ
  5. pi_3QjffCD5KYFi3zJG09DOXgGo
#

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

Question
Expecting a payment_intent status to be 'requires_action' instead of 'requires_payment_method' when calling Invoice Pay API with Stripe link 3DS card as a payment method.

When attaching a normal 3DS card (pm_card_authenticationRequired), the API returns a correct status response in payment_intent but when the card is connected with a stripe link. It returns `requires_payment_method` as the status for payment_intent. Why?

Related Request ID(s)
req_WURFhxicrNCMWG

What have you already attempted?
Nothing

cursive heronBOT
#

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

Code
const { error } = await stripe.confirmPayment({
elements,
confirmParams: {
// Make sure to change this to your payment completion page
return_url: paymentRedirectUrl,
},
});

Question
Is there a way to keep opening the return_url inside and iframe?

What have you already attempted?
Nothing. Only checked docs

What are you working on?
I'm providing widgets with login and payment page for some bookings.

#

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

Code
dataToCreatePaymentIntent: {
amount: 10000,
currency: 'USD',
customer: 'cus_RftafZSCAAgmXR',
payment_method: 'pm_1QmXnCGmD7nFHqiYlQuWrk6D',
automatic_payment_methods: { enabled: true },
description: 'Dollar OT',
metadata: {
altId: 'k5eSZvkgPsB7afn3NGMX',
altType: 'location',
orderId: '6799fb2060b44f6085030630',
contactId: 'Rq6x8iDzLYYlgLxfn1uf'
},
setup_future_usage: 'off_session'
}

Question
I'm using above data to create payment intent for charging through cashapp payment method id. On confirming I'm getting this error: "mandate_data is not allowed because this payment intent already has a reusable Cash App Pay payment method attached to it".
Although I haven't attached mandate_data field while creating payment intent.

What have you already attempted?
For confirming payment I'm using stripe sdk payment element method on client side:
confirmCardPaymentPayload = await stripe.value.confirmCashappPayment(
clientSecret,
{
payment_method: paymentMethodId
}
)

#

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

Question
Hi! When I add an external account through the https://docs.stripe.com/api/external_account_bank_accounts/create API. Will the new account be included in the external_accounts object in the response from the https://docs.stripe.com/api/accounts/retrieve and https://docs.stripe.com/api/accounts/update if I call them after the external_account_bank_accounts API returns?

Basically, are the APIs strongly consistent between each other?

Related Request ID(s)
NA

What have you already attempted?
Not straightforward to test consistency

What are you working on?
Listing a user's external accounts after they add an external account

#

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

Question
I have two Price Items which are included in a monthly subscription and charged upfront.

  1. Recurring fixed fee of e.g 10$
  2. Recurring fee of hourly usage in a month i.e metered price

Upon cancellation of subscription, I want metered price to be prorated while fixed fee remains untouched. Is it possible?

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

What are you working on?
Webhosting busines.

#

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

What did you expect to happen?
I'm implementing Connect Embedded components in my app. To initialize the component, I need a client secret, which I'm trying to obtain by making a post call to /account_sessions. However, I'm getting an error stating that the expected format of the client secret is ${id}_secret_${secret}.

What actually happened?
The post call to /account_sessions returns the client secret in the form of accs_secret__XYZ

Reproduction Steps

  1. Make a post call to /account_sessions.
  2. Initialize the Connect Embedded component using the returned client secret.

Question
What am I doing wrong here? Should I call another endpoint? Using the Stripe shell stil returns the client secret in the same format as my API call.

#

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

Question
hello, I use stripe PaymentElement component in my react app. My question is can I create my own Google Pay/Apple Pay buttons and use them with this component? as far as I know there is no built-in buttons for this component.

Some time ago I was using stripe PaymentRequestButton and there were built-in google/apple pay buttons.

desired behaviour:
when user selects google/apple pay in stripe PaymentElement component - my app shows google/apple pay button.

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

What are you working on?
rebulding my checkout form

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/pause-payment

Question
How can I resume my subscription with platform so that I don't have to change the billing anchor, and I can charge the user if the user is resuming subscription after my billing anchor (that I have set for subscription i.e 1st of each month) such as mid of month and I want to charge for remaining days.

What have you already attempted?
I'm thinking of using billing cycle anchor as 'unchanged' and proration behavior as 'create proration' in subscription update API

What are you working on?
I'm building a platform in which user creates a community by paying a subscription fee for every month and user can set the community as paid and then other users can join his community.

cursive heronBOT
#

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

Question
I need help with API setup. We are building an Uber-like platform. Where after we charge the user, we want to keep a certain amount and transfer the remaining amount to the driver using Stripe connect

Related Request ID(s)
NA

What have you already attempted?
We are trying to build this using Stripe Connect in test mode but cannot achieve it. We have added accounts in Connect.

What are you working on?
Uber-like platform.

cursive heronBOT
#

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

Question
Is there any way that I could get the product id "prod_[ID]" from a certain charge (https://api.stripe.com/v1/charges).

Related Request ID(s)
N/A

What have you already attempted?
I have gone through all API links already, trying to see if any would contain the product id information needed to complete my objective. The id/links I have checked are; "txn_", "py_", "pi_", "ch_", "pm_", "cs_" and have checked to see it "prod_" contained any information regarding it's purchases, but does not.

Maybe there is another way I should look at gathering this information?

What are you working on?
I am trying to gathering the information of a charge/transaction to determine what product they purchased from.

#

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

Question
While making an off_session payment with a saved card, if the card has 3ds authentication the payment fails(even if authenticated during setupintent create),is there a way to prevent this

Related Request ID(s)
req_CC0yROunYiExWM

What have you already attempted?
During card save with setupintent.create ,used a test card which is always authenticate, showed popup for 3ds authentication .Used this card for off session payment ,raises error that this card requires authentication

What are you working on?
make payment with saved card in off-session

cursive heronBOT
#

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

Question
Hello! We started using Stripe live mode today and we have really weird behaviors. Subscription is created (even we have set property CollectionMethod = "charge_automatically" it is charged 1hour later and then payment failed even subscription is created. Could you please help with this since it's pretty urgent?

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

What have you already attempted?
CollectionMethod = "charge_automatically"

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

cursive heronBOT
#

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

Code
self.configuration.billingDetailsCollectionConfiguration.address = .full
self.configuration.allowsPaymentMethodsRequiringShippingAddress = true

Question
I'm using the ios stripe payment sheet and have enabled address collection for billing but see no way to enable a shipping address.

What have you already attempted?
The docs don't seem to explain how to enable it in swift

https://docs.stripe.com/elements/address-element?platform=ios

Thanks

#

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

Question
Hi! When I add an external account through the https://docs.stripe.com/api/external_account_bank_accounts/create API. Will the new account be included in the external_accounts object in the response from the https://docs.stripe.com/api/accounts/retrieve and https://docs.stripe.com/api/accounts/update if I call them after the external_account_bank_accounts API returns?

Basically, are the APIs strongly consistent between each other?

We call the Account API with controller[is_controller] : true.

Related Request ID(s)
NA

What have you already attempted?
Not straightforward to test consistency

What are you working on?
Listing a user's external accounts after they add an external account

#

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

What did you expect to happen?
I expect to keep showing Stripe TaptoPay screen

What actually happened?
Stripe TaptoPay Screen disappears

Reproduction Steps
1 - Launch TapToPay intent
2 - Press home button and go to home screen
3 - Reopen application
4 - TapToPay disappears

Question
Is there any solution for it and keep showing TapToPay screen ?

If not, can I listen if TapToPay screen is closed ?

What are you working on?
I am integrate React Stripe TapToPay on Android.My project is a Expo

#

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

Question
We have a Stripe platform account that is using the API version 2024-12-18.acacia, but our system has configured the 2020-03-02 because we have other Stripe Platform accounts with that version. is it possible to downgrade the API version from the 2024-12-18.acacia to 2020-03-02?

Related Request ID(s)
evt_3QmY8QDtIbxVdmxH2lFXEPyy

What have you already attempted?
I see how to upgrade the version to the 2025-01-27.acacia, but not to downgrade it to the 2020-03-02

#

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

Question
I am a bit confused by the relationship of customers and invoices. A customer can have N invoices but what if the invoice email needs to be different in some cases? I do not see a way to attach an email to an invoice but only the customers email.

But I do not want to update the customer's email every time they need to send it to a different email. Imagine customer company@gmail.com made 2 orders with billing email identical to their registration email and then on the third order needs the invoice email to be xyz-company@gmail.com.?
How would I deal with this from an API perspective?

Related Request ID(s)
None

What have you already attempted?
Check Docs for Invoice Email attachment

What are you working on?
Invoicing in Ecommerce Checkout

#

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

Question
I implemented an integration to Stripe to enable a checkout session from my backend service to a front-end one. Looking at Stripe's Sandbox Dashboard, after 6pm BR time, the requests started to fail. I ran a lot of requests this morning and it is working fine. I double checked the my backend code and did not find anything weird, the service is receiving the payload from the front end, containing customer_id, success_url and cancel_url properly and requesting checkout session to Stripe.

It failed due to Missing required param: success_url.

Look at this image from Stripe SBX dashboard:

Related Request ID(s)
NA

What have you already attempted?
Investigated my code, the service logs and stripe dashboard.

#

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

Question
I recently created a business account on Stripe and successfully completed all verifications, including address verification. One of my clients made a payment via WeChat, and my account was immediately blocked. The reason stated was that my business is considered high-risk and prone to chargebacks. However, I have two businesses linked to my Stripe account, and neither has had any disputes.

I submitted an appeal with all the necessary details, but I am not receiving any responses to the questions I have asked.

Could your department assist in resolving this issue? I simply want to run my busi

Related Request ID(s)
12222

What have you already attempted?
I provided a response to support with details of my business - but they just respond and write the same messages

What are you working on?
Business with Design

cursive heronBOT
#

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

Error Message
dispute lost or changed you are taking 20$ where my business service 19$, please refund this.

Question
dispute lost or changed you are taking 20$ where my business service 19$, please refund this.

What have you already attempted?
dispute lost or changed you are taking 20$ where my business service 19$, please refund this.

Reproduction Steps
dispute lost or changed you are taking 20$ where my business service 19$, please refund this.

What are you working on?
dispute lost or changed you are taking 20$ where my business service 19$, please refund this.

#

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

Code
<ConnectComponentsProvider connectInstance={connectInstance}><ConnectAccountManagement /></ConnectComponentsProvider>

Question
In a multi-wallet/account dashboard, when opening a wallet I embed ConnectAccountManagement, but Stripe prompts the user to log in each time it's shown. After login, the account management page appears. When switching wallets and showing ConnectAccountManagement for another connectInstance, Stripe asks for login again, logging out the previous session. This forces the user to log in every time they access a different wallet. Can this be prevented, or is it expected behavior?

What have you already attempted?
Nothing for now.

What are you working on?
I have a dashboard where users can create multiple wallets, each associated with a Stripe Connect account.

#

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

Question
How to charge immediately when creating subcription?

Related Request ID(s)
https://dashboard.stripe.com/subscriptions/sub_1QmXal02Eb1sVOaRtUYeXjK1

What have you already attempted?
We set CollectionMethod = "charge_automatically" and PaymentBehavior = "error_if_incomplete". Will this preventing creation on subscription on Stripe if card is not valid?

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

cursive heronBOT
cursive heronBOT
#

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

Error Message
Error: Could not find expected shipping address by id.
The error may be correlated with this previous error:
Error: Could not find expected shipping address by id.

Question
Error with Stripe Elements and Saved payment, the address element is not able to display. I do not understand the error.

What have you already attempted?
n/a since we are not sure what is causing this error.

Reproduction Steps
n/a, not able to reproduce.

What are you working on?
Stripe elements purchase flow

cursive heronBOT
#

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

Error Message
Sorry we couldn't process your payment. Invalid URL: Non-ASCII characters in URLs must be percent-encoded in order for the URL to be valid

Question
The payor has a ' (single quotation mark) in last name, is that the problem?

What have you already attempted?
They are the only people having the problem.

Reproduction Steps
Resubmitted several times.

What are you working on?
Payment form

#

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

Question
In the AddressElement I would like to hide or disable the Name input (we already have that data and don't want it updated here). How can i do that?

Related Request ID(s)
N/A

What have you already attempted?
I searched through the Discord and didn't see anything relevant

cursive heronBOT
#

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

What did you expect to happen?
One of cutomer paid 17.30 € with our webshop (on ODOO) but there is no any records in the stripe dashboard. Actually He needs refund.

What actually happened?
I setted connection Between odoo and stripe by using odoo interfaces. than tried a real payment by our customer

Reproduction Steps
He saw and shared his payment proof by his card extract.

Question
How can I receive and refund this payment.

What are you working on?
webshop managing

#

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

What did you expect to happen?
Does Stripe have an Innovations team? My company has a competitive solution to Checkout & Commerce Components.

What actually happened?
Stripe offers Single Layer Input Masks (Commerce Components).
Form-Validation.com has Dual & Triple Layer Input Masks.

Reproduction Steps
What is an Input Mask?
https://www.form-validation.com/input-masks/

Question
Do you have a contact that I can show these innovations to? Can a direct competitor to Stripe Checkout still work with other services?

What are you working on?
I've been marketing Triple Layer Input Masks to large companies like Ticketmaster.com. Triple Layer Guitar Strum Effect

cursive heronBOT
#

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

What did you expect to happen?
I expected the billing session to show the same set of payment methods regardless of the end user's country

What actually happened?
Google Pay is not available when system country is set to US. It's showing up for Poland.

Reproduction Steps
I'm creating a billing session with configuration that allows only payment methods update. I provide the connected account's ID as `on_behalf_of` value.

Question
In this thread https://discord.com/channels/841573134531821608/1333454170241503303, we've discovered that `on_behalf_of` doesn't matter, the billing session uses the default payment method configuration of the platform account. It's unclear to me why the payment method set is different for users connected in the US, and different in Poland. What are the rules here?

cursive heronBOT
#

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

Code
To confirm payment intent for cashapp payment method I'm using this code: this.stripe(secretKey).paymentIntents.confirm(id, params, options), where id="pi_3QmeaOGmD7nFHqiY0xTHTXdf" and params=
{
"expand": [
"payment_method",
"latest_charge"
],
"mandate_data": {
"customer_acceptance": {
"type": "online",
"online": {
"ip_address": "::1",
"user_agent": "xxx",
}
}
}

Question
In the above process when I'm trying to confirm payment intent I get error: "mandate_data is not allowed because this payment intent already has a reusable Cash App Pay payment method attached to it"

What have you already attempted?
According to the error if I don't pass mandate_data then I get this error: "When confirming a PaymentIntent with a `cashapp` PaymentMethod and `setup_future_usage`, `mandate_data` is required.".
I'm using stride sdk to load payment element in frontend. And In backend we are creating subscription and for that one invoice is generated in which this payment Intent is attached. Now when I'm trying to confirm the payment Intent which is attached to cashapp PM it is throwing error

#

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

Question
I’m looking to offer commission to a small percent of a transaction when someone makes a purchase with a coupon code given at checkout. I think connect would be a good idea for this, but I’m not for sure where to start

Doc/Guide Links
None really fit my use case :(

What are you working on?
SaaS

#

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

Question
I am trying to get and change a customer's billing email address via the API

Related Request ID(s)
N/A

What have you already attempted?
I have tried looking at the existing customer documentation as well as example data coming back, but I can't see a property that's relevant.

What are you working on?
Working on letting a customer set the email address that their Stripe invoices get sent to.

#

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

Question
We recently purchased the Stripe s700 smart reader, we are currently attempting to create an application for the reader. The stripe api does not clearly describe how we can create an application for it.

Related Request ID(s)
IDK

What have you already attempted?
We have attempted to read through all the docs, but it does not seem to include any useful information on how to load into the reader an application.

What are you working on?
custom application for taking payments from the reader

#

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

Question
I'm trying to close, or delete, or void a draft invoice that is associated with a subscription. What is the best way to do this?

Related Request ID(s)
none

What have you already attempted?
I can't delete the invoice because its associated to a subscription. I can't void it because its a draft invoice. What has worked is finalizing the draft invoice then voiding it. But I rather just have some way to void/delete it in draft mode without having to finalizing it first. Is there a way to do that? Or is the way I found the only solution?

What are you working on?
I'm trying to make some final updates to a subscription invoice. The way I'm doing this is to void the invoice, look at the previous draft invoice and create a new invoice re-calculating everything.

#

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

Question
When I use postman as GET on {{base_url}}/checkout/sessions?status=complete

I got all the checkouit session that shown the payment_intent ID no problem.

However, When I do python code as
cs = stripe.checkout.Session.list(limit=100, starting_after=last_checkoutsession)

the cs.data show payment_intent is null

Note, payment_link worked for both postman and python API code.

Any advice that why the Stripe SDK API call return different JSON value compare with postman GET.

Related Request ID(s)
Stripe SDK API call result compare with postman GET

What have you already attempted?
Test on both environment and see payment_intentis null when using Stripe SDK API but postman show payment_intent correctly on the GET {{base_url}}/checkout/sessions?status=complete

cursive heronBOT
#

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

Question
When using the Stripe onboarding flow to onboard a connected account with an attached treasury account the flow never asks a user to connect an external bank account. Docs (like https://docs.stripe.com/connect/custom/hosted-onboarding) suggest that the external bank account should be collected when a user is sent to the url returned by /v1/account_links.

Related Request ID(s)
req_owFRBfxQCc4RkY

What have you already attempted?
I have tried various parameters passed to /v1/account_links

What are you working on?
Beverage Alcohol issuing program

#

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

What did you expect to happen?
Stripe Terminals to be using same API version as platform account default API version.

What actually happened?
We are getting a lot of request from client_type "ANDROID_READER" to API version 2019-02-19

Reproduction Steps
They are just using the terminals as normal right out the box is my belief.

Question
Is there a way to force Terminals to use platform account default API version?

What are you working on?
Payments platform for health services

#

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

What did you expect to happen?
Building on the Stripe Terminal Android SDK and utilising Tap to Pay on Android (TTPA). When the reader is invoked the app loads the reader screen and matched the device orientation.

What actually happened?
When the reader is invoked, the reader screen forcibly orients to landscape, no matter the device orientation nor whether rotation lock is enabled or not. I require the app and payment screen to stay in portrait.

Reproduction Steps
I am using a Hosoton 14" tablet (H104) screen resolution 1080x1920 running Android 14. Initially my app utilised SDK version 2.23.3 and behaviour was as expected. However I require the customisation options on the payment screen which were enabled in version 3.8.0. This version does not work nor version 4.0.0. nor version 4.1.0.

Question
Can this issue please be reviewed and fix implemented for next sdk update? A issue ticket has been logged by another user on Github experiencing the same issue: https://github.com/stripe/stripe-terminal-android/issues/537

What are you working on?
Attended payment kiosk app.

#

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

Question
hello, i would like to get help with stripe onramp in my visual studio code
please let me know

Related Request ID(s)
stripe onramp embedded

What have you already attempted?
i have tried to work on embedded stripe onramp

What are you working on?
crypto onramp

#

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

Code
https://github.com/roudiapp/whmcs-stripe-checkout-legacy

Question
Hello, after contacting your support, they redirected me to WHMCS, but maleuresement, WHMCS told me to make my module myself. So I'd like to know how I can, instead of paying by credit card, pay via Twint and be redirected to the payment page etc. ... .

Is it possible to help me? Thank you very much.

What have you already attempted?
I don't really understand the documentation

What are you working on?
Not included

#

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

Question
Hi, I want to implement link button to my custom checkout page. i have seen that paymentRequest button is deprecated. how can i implement link button using payment element?

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

What did you expect to happen?
We had a customer who upgraded from a free subscription to a paid subscription using the stripe customer portal. He used SEPA debit as the payment method. I expected the subscription to be active the same way, it is when a customer creates a new paid subscription with SEPA debit as payment method.

What actually happened?
The Subscription was set to the status past_due, which caused the users access to be revoked in our system.

Reproduction Steps
Create subscription wit a free 0$ plan and update it through the stripe customer to a paid plan via sepa debit.

Question
Is this the expected behaviour or are we missing a setting in the dashboard to configure that async payment methods do not cause past_due states on subscription updates. If this is the expected behaviour, what is the best practice to deal with it?

What are you working on?
The jobmatching pattflorm jobmatch.me

#

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

Question
I created a subscription with a free trial starting on the same date as its creation. Typically, when I do this, the related invoice shows a $0 amount due to the trial, meaning no charge to the client. However, in one case, despite the free trial starting at the same time as the subscription, the invoice reflected the full subscription price instead of $0. This triggered a payment intent and charged the client, even though it was supposed to be a free trial. Why did this happen?

Related Request ID(s)
req_l7fKFozpSPQmKj

What have you already attempted?
I first attempted to reproduce the issue by creating a free trial subscription, and everything worked as expected. I then compared the invoice and subscription objects from the faulty case with those from the successful one, but they appeared identical.
Additionally, no updates were made to the subscription that could have altered the free trial period.

What are you working on?
Purchasing a subscription scheduled to bill the client on a specific date. To achieve this, we set a free trial period that ends on the intended billing date.

#

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

Question
I have created an a connected account through the API, I was wondering as the account Is express can the connected account handle refunds etc themselves? I have read the docs but I am a bit confused still can you please guide me?

Related Request ID(s)
None

What have you already attempted?
@CatchErrors
async createConnectedAccount(email: string, country: string): Promise<string> {
const account = await this.stripeAPI.accounts.create({
country: country,
email: email,
type: "express", // Express accounts are managed by Stripe
business_type: "company",
});

console.log\(account\);
return account.id;

}

What are you working on?
Creating PayOuts for Venues as they required a min charge for reservations

cursive heronBOT
#

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

Question
Hello, is it possible to update the subscription name so that it's not pertain to just one product? We are building an add-on subscription that should include multiple usage-based products.

Related Request ID(s)
NA

What have you already attempted?
making the create subscription call

What are you working on?
Subscription creation

#

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

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

Question
Do we need to include the destination attribute when we make a charge using on_behalf_of? They are both the same account so it seems redundant.

What have you already attempted?
we currently create charges with on_behalf_of like this:

```
Stripe::PaymentIntent.create(
amount: 10000,
currency: 'usd',
payment_method_types: ['card'],
on_behalf_of: 'acct_123456789', # The connected account is the merchant of record
transfer_data: {
destination: 'acct_123456789' # Funds go directly to the connected account
}
)
```

What are you working on?
making charges where the settling merchant is the connected account.

#

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

Question
I am confused by the distinction between a PaymentMethod and an External Bank . Following the docs here: https://docs.stripe.com/treasury/examples/moving-money#connections

I can create a PaymentMethod using the financial connections UI. The account is attached to the connected account as a Payment Method but it does NOT satisfy the "external_account" requirement of the connected account.

You can see this in the sandbox account: acct_1QmgOBH0O8KPfzIH

Payment method: fca_1QmiCDH0O8KPfzIH9jIX8iy0

Related Request ID(s)
req_dJkOZEUjkb99nJ, req_zYJE8RzDpyUKNI

What have you already attempted?
Followed the docs here:

https://docs.stripe.com/treasury/examples/moving-money#connections

What are you working on?
Beverage Alcohol issuing app

cursive heronBOT
#

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

Question
Is there a way to generate a secondary "dummy" invoice? Where we have one invoice displayed and sent to the customer, but another one generated for internal use only?

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

What are you working on?
We offer a plan where we do not collect taxes for customers, but also need an invoice record of the taxes that would be on the plan in invoice form.

cursive heronBOT
#

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

What did you expect to happen?
The React Native Stripe Payment Wallet should show the Google Pay button when setting up cards for future usage when testEnv is set to true

Ref Github Issue: https://github.com/stripe/stripe-react-native/issues/1588

What actually happened?
Google Pay button not showing when testEnv is set to true

Reproduction Steps
Set Google Pay config in initPaymentSheet to:
googlePay: {
testEnv: true,
buttonType: 2,
merchantCountryCode: 'US',
},

Question
How can we get the Google Pay button to work when testEnv is set to true

cursive heronBOT
#

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

Error Message
{
"error": {
"code": "parameter_invalid_empty",
"doc_url": "https://stripe.com/docs/error-codes/parameter-invalid-empty",
"message": "You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.",

Question
Why doesn't it recognize the customer_Id that is being passed to it?

What have you already attempted?
Send the customer_id separately

Reproduction Steps
When doing a checkout session from the API, the effective purchase of subscriptions is made, when wanting to update the subscription it says that the customer id is empty

What are you working on?
Implementing Stripe on Bubble.io

cursive heronBOT
#

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

Question
I need someone to hold my hand here. I have tried everything I can think of to launch the financial connections UI and attach the result as an external_account to a treasury connected account.

Right now I can launch the UI and confirm a SetupIntent (req_lfmLoF46WDtQoB) but when I attempt to tokenize the result (req_gYT5sObIFv6Yxr) I receive the error "No Such PaymentMethod".

The GO SDK has some very scary language around this (see below). What am I missing here?

Related Request ID(s)
req_lfmLoF46WDtQoB, req_gYT5sObIFv6Yxr

What have you already attempted?
Everything

What are you working on?
Beverage Alcohol Issuing App

#

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

Question
Automatically rerouting profits after a certain threshold to a second bank account.

Related Event ID(s)
?

What have you already attempted?
?

What are you working on?
I'm trying to more easily transfer payments to my other bank account after an original profit threshold is reached. I don't want to have to transfer remaining amount at the end of a month.

#

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

Question
Hi, my company operates two Stripe accounts—one for the USA and another for the rest of the world. Is there a way to dynamically generate a token from the frontend using different public keys? Currently, I’m encountering this error: Uncaught (in promise) IntegrationError: Please use the same instance of Stripe you used to create this Element to create your Source or Token. Any guidance would be appreciated!

Related Request ID(s)
I dont have one

What have you already attempted?
I tried switching the public key dynamically, but I want to avoid fully refreshing the form when the user changes their country, as that would require them to re-enter their card details.

What are you working on?
Nextjs + Django

cursive heronBOT
#

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

Question
Did by any mean "customer" parameter of checkout session become required if "saved_payment_method_options" -> "payment_method_save" is set within last 5 days, but it was not required previously.

Related Request ID(s)
req ID: req_5xI656YlqBH9mt

What have you already attempted?
I fixed it now to include this parameter only when customer is existing, but it sounds crazy that I believe I used "saved_payment_method_options" without customer provided 5 days ago.
To give more context I am using stripe go v81

What are you working on?
Donations

cursive heronBOT
#

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

Question
We use standard connect accounts and want to display errors when an account has verification problems. Is there a way to provide a login link to the Stripe dashboard or do we have to build out forms to collect the required data?

Doc/Guide Links
https://docs.stripe.com/connect/handling-api-verification

What are you working on?
Order/menu management platform

cursive heronBOT
#

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

Question
Are there any webhooks available when a connected account is suspended or when additional documentation is required from the connected account?

Related Event ID(s)
None

What have you already attempted?
Manually checks once a connected account is blocked.

cursive heronBOT
#

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

Question
Detailed Order History - Is there a way to add detailed order history to the billing portal for a customer?

Related Request ID(s)
N/A

What have you already attempted?
I have attempted a billing portal but it does not show a customers payments, only invoices.

What are you working on?
I am working on an ecommerce website

#

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

#

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

Code
await Stripe.instance.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
setupIntentClientSecret: response.setupIntent!.clientSecret,
customerId: response.setupIntent!.customer,
customFlow: false,
merchantDisplayName: 'SOLU',
returnURL: 'solustripe://payments.solu.de',

Question
I have added Flutter Stripe SDK and used the code to init and show the payment screen. In the payment sheet, when i click on PayPal and add details to authenticate, the page gets stuck on loading screen.

What have you already attempted?
Added Deeplink in Android Manifest File, Added Return url scheme in main.dart for Stripe, added return URL in initPaymentSheet Method.

What are you working on?
I am integrating Stripe payment for card, paypal, apple pay and google pay in Flutter App

cursive heronBOT
#

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

Code
i am a developer i want to payment user to user how can do that

Question
i am developer i want to payment user to user how i do it

What have you already attempted?
i am developer i want to payment user to user how i do it

What are you working on?
i am developer i want to payment user to user how i do it

#

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

Code
let paymentBody = {
amount: 5099,
currency: "eur",
payment_method_types: ["card"],
payment_method: "pm_card_visa_credit_fr_cartesBancaires",
};

const paymentIntent = await stripe.paymentIntents.create\(paymentBody\);

Question
I am using this payment to body create a payment intent. I have already enabled "Cards" and "Cartes Bancaires" in payment methods through stripe-dashboard(test mode). I am trying out the "Mobile Payment Element", and trying to test out co-badged cards flow. I think I am missing something, so that the payment sheet only shows visa on test-card "4000 0025 0000 1001". What am I missing here to have the co-badged selection option in payment sheet (iOS)?

What have you already attempted?
I have gone through the docs and tried implementing the same, but feels like I'm missing something.

What are you working on?
I am trying to test out stripe's payment solution for a personal project

cursive heronBOT
#

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

Question
I am using payment intents API and using source as parameter.
I am trying to use legacy bank account tokens for ACH in payment intents API

Related Request ID(s)
req_OQkFqOoHgoqEJ9

What have you already attempted?
curl --location 'https://api.stripe.com/v1/payment_intents'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Basic <secret-key>'
--data-urlencode 'amount=1100'
--data-urlencode 'currency=usd'
--data-urlencode 'payment_method_types[]=ach_debit'
--data-urlencode 'confirm=true'
--data-urlencode 'customer=customer_id'
--data-urlencode 'source=<bank_account>'

And it worked fine. Wanted to confirm if this will continue to work post sources deprecation.

cursive heronBOT
#

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

Code
No specific code, its just a question about flow and how to manage dynamic shipping calculations

Question
I want to dynamically calculate shipping cost and estimated delivery based on external data from the company that handles our packages. I can easily get this data, but the problem is that they require a postal number/address before they are able to calculate these values.

It looks like the shipping_options array has to be passed when creating the session and cannot be modified afterwards. Is the best solution to capture the users address and postal data before checkout?

What have you already attempted?
Have I missed something or is there no cleaner way to achieve this? I feel like we are losing a lot of value from the checkout page when we need to capture most of the user data and do the validation before creating the checkout page.

#

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

Code
I want to show customer life time value spent on Stripe and dont know how to get this information.

Question
Want the total value a customer has spent in subscriptions

What have you already attempted?
Seen documentation for API

cursive heronBOT
#

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

Question
I have created a "card" payment method for my customer, that i want to use in the checkout payments later on.

Related Request ID(s)
NA

What have you already attempted?
I have tried passing the payment method ids in different parameters in the checkout session create api.

cursive heronBOT
#

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

Question
Tengo un problema en mi moodle a la hora de hacer el pago no me deja, pongo la clave publica y secreta y a la hora de realizar el pago me da errir

Related Request ID(s)
pago

What have you already attempted?
al intentar pagar

What are you working on?
hacer pago desde moodle en stripe

cursive heronBOT
#

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

Code
CustomerSheet.initialize({
applePayEnabled: true,
googlePayEnabled: true,
...
})

Question
These flags result in apple/google pay showing as an option when using CustomerSheet. But upon selection, do not prompt user to add apple/google pay, and instead return an empty paymentMethod.id

What have you already attempted?
Searching the channel, and found this:
#dev-help message

What are you working on?
A way for users to manage their payment method, including apple/google pay.

#

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

Error Message
The operation couldn't be completed.
(Stripeldentity.VerificationSheetFlowController-
Error error 3.)

Question
We are using iOS SDK version: 23.31.1.
In identity flow, on screen "Get ready to take selfie" press contunue, flow is unterrupting with error message: Stripeldentity.VerificationSheetFlowController-
Error error 3.

We don't always catch this error, it floats around.

What have you already attempted?

  1. https://stripe.dev/stripe-ios/documentation/stripe
  2. https://stripe.dev/stripe-ios/documentation/stripe

Reproduction Steps
In identity flow, on screen "Get ready to take selfie" press contunue, flow is unterrupting with error message: Stripeldentity.VerificationSheetFlowController-
Error error 3.

What are you working on?
Identity verification

cursive heronBOT
#

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

Question
Hi
I've implemented Stripe Checkout using stripe.checkout.Session.create(). When a payment is unsuccessful, my webhook receives events like payment_intent.payment_failed and charge.failed. However, these events contain payment_intent and charge objects that don't seem to have a direct reference to my original Checkout Session. What's the best way to find the corresponding Checkout Session using the payment_intent information from these webhook events?

Related Event ID(s)
evt_3Qmx0cKNWEK6MeaE0lDZ39Mm

What have you already attempted?
I made a function for creation stripe.checkout.Session and router for webhook for checkout.session, payment intent and charge objects

#

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

Question
curl https://api.stripe.com/v1/transfers
-u "sk_test_•••GvyS:"
-H "Stripe-Account: acct_1OuXXXXXXJLt8"
-d amount=412
-d currency=USD
-d destination=acct_1OPnSsXXXXXXXXgaP
{
"error": {
"message": "Cannot create account debit on this account; please contact us via https://support.stripe.com/contact with details for assistance.",
"request_log_url": "https://dashboard.stripe.com/acct_1OuXXXXXXXLt8/test/logs/req_D3ZlgP9mYFhU4w?t=1738242437",
"type": "invalid_request

Related Request ID(s)
req_O8RsuTAXK1tXry

What have you already attempted?
It is working fine before

What are you working on?
Transfer fund from connect account to master account

#

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

Code
return $this->stripe->paymentIntents->create([
'amount' => $order->amountAsInteger(),
'currency' => $order->amount()->currency(),
'customer' => $customer,
'payment_method' => $paymentMethod,
'off_session' => true,
'confirm' => true,
'metadata' => [
'order_id' => $order->id(),
],
]);

Question
I've tokenized the customer and the payment method using `$stripe->checkout->sessions->create(...)` and stored that info in Webhook. Now I need to do a purchase with that information but don't know how to proceed

1) Is my code correct? copied it from the docs
2) How can I see how many `status` are available? I'm using `succeeded` as in the Webhooks
3) In case the customer needs to confirm the action, how can I obtain the link to do so? some gateways call it challenge

What have you already attempted?
I've read the docs but unable to find the right solution

What are you working on?
Integrating Stripe into our hotel's booking system deployed in more than 400 establishments arounds the globe 😬

#

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

Error Message
{"error":{"message":"Please use the `read_write` scope, or contact support at https://support.stripe.com/contact/ in order to use read-only connections."}}

Question
Using Stripe connect, I cannot create a read_only request. read_write is way too much permissions than i need. I'd also loev to not ask users for restricted keys

What have you already attempted?
tried `read_only`

cursive heronBOT
cursive heronBOT
#

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

Question
I am using the stripe express checkout component with apple pay and google pay. When I set the google pay button type to something other than "plain", the changes don't reflect on my site.

Related Request ID(s)
N/A

What have you already attempted?
Setting the button type to 'order'

               buttonType\: {
                    googlePay\: 'order',
                },

What are you working on?
An ecommerce website

#

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

Question
I included metadata when I created the payment link, but when I receive the payment completion data via webhook, the metadata is not included. How can I receive the metadata?

Related Request ID(s)
req_CUqBjUkBkwtrD

What have you already attempted?
I have already read Python API's docs.But, I could not solve this problem.

#

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

Code
As we have successfully onboarded our Stripe Connect account and are approaching the launch of our application, I am preparing to test the Stripe Tap to Pay (TTP) interface using the production client key.

Question
We encountered an issue when launching the Stripe TTP component in our Android app. The app crashes with the following error:

com.stripe.stripeterminal.external.models.TerminalException: KEY_ERROR (null): Error setting key entry during secure import

I can confirm that the TTP component works smoothly in the non-production environment, but the issue persists in the production environment.

What have you already attempted?

  1. Built a release version of the Android application.
  2. Created a payment intent using a live client key.
  3. Retrieved the payment intent in the application and passed the secret key.
  4. The app crashes before launching the Stripe activity.

What are you working on?
we have an android application with jetpack compose, kotlin, hilt and dagger.

cursive heronBOT
#

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

Error Message
FailedTransferError: Request req_hENqrI5j0WoX1W: Cannot create account debit on this account; please contact us via https://support.stripe.com/contact with details for assistance.

Question
We're not sure why all of a sudden we're getting this error, we've got two accounts we have setup for our test cases and as of today they've started failing tests with this error message and we're unsure how to go about fixing it as nothing has changed our side.

What have you already attempted?
The error message says to contact support which I did and they couldn't help me and said they'd pass it on but I haven't heard anything in the last few hours.

Reproduction Steps
I believe its creating a Transfer from one of the connected accounts to the platform.

What are you working on?
Our Stripe test cases

#

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

Code
```php
return $this->stripe->paymentIntents->create([
'amount' => $order->amountAsInteger(),
'currency' => $order->amount()->currency(),
'customer' => $customer,
'payment_method' => $paymentMethod,
'off_session' => $onSession,
'confirm' => true,
'return_url' => $order->urlSuccess(),
'metadata' => [
'order_id' => $order->id(),
],
]);
```

Question
I just tested the `Charge the saved payment method later` flow, and it worked, but I want to test the flow where I need to redirect to `next_action` url, is there anyway I can test that in localhost?

What have you already attempted?
I checked docs but can't find if this is possible during development

What are you working on?
Working on adding this payment gateway in our Hotel's booking system used by hundreds of hotels around the world :)

#

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

Question
Can an external bank account (id prefix: btok_) from a financialConnection session?

Related Request ID(s)
req_etp22Z0SvWNtEs

What have you already attempted?
I've tried creating a payment method and then using that id to create an external account. I've tried retrieving the info needed to create an external account from the financial connection session (it does not return the whole account number)

What are you working on?
Each user has a customer and connected account created. I'm currently trying to create a payment method and external account from one financial connections session

#

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

Error Message
There was an issue processing your payment. Try again or use a different payment method.

Question
Why does it show? I have stripe fully connected to my store and it still keeps showing. When i pay via paypal it works fine. Thank you

What have you already attempted?
I have tried to purchase an testing item from my store. I tried to pay via Stripe and it kept showing that error message. I payed via paypal and it worked smoothly.

cursive heronBOT
#

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

Question
I was wondering about the "Billing credits" Feature. It's a preview Feature. When will the feature reach production.
From the Api Documentation it seems that the credit applicapility can't be limited to certain meters and has to be monetary?
We are considering it for use, but we would have multiple metered objects and would like to limit the credit to a certain meter, while using meter units instead of a monetary value.

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

What are you working on?
Like let's say we want to sell 100,000 api tokens as bundle for a better price. But we would like it to actually end up being 100.000 api tokens not the monetary value of 100,000 api for all out metered products.

cursive heronBOT
#

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

Question
Is there a way to change Stripe Connected Account (Express) attributes like individual.first_name / individual.last_name after the account is created? I have a user in India who started their Stripe-hosted Connected Account onboarding with apparently the wrong name, and he doesn't want to finish the onboarding because it will link his bank account with the wrong name.

Can I change his individual.first_name / individual.last_name via API or some other Dashboard means or do I need to reject the Connected Account and have him create a new one from scratch?

Related Request ID(s)
req_stYmDI3z71qbpR, req_5Y0l0gL90I32Q0

What have you already attempted?
Tried Update Account API req (req_5Y0l0gL90I32Q0):
https://docs.stripe.com/api/accounts/update

Got the following error:
oauth_not_supported
This application does not have the required permissions for the parameter 'individual' on account (name of account)

Checked Stripe Connected Account on Dashboard as well, did not see any area to change the name.

#

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

Question
I want to store in our DB when a customer adds a payment method such as Apple Pay. In the event I've added, there is wallet.type = "apple_pay". But at the bottom there is type = "card". So when I'm retrieving the payment method object, how can I get the "apple_pay" value?

Related Event ID(s)
evt_1Q01SzG3ZxgN8JF7K4dO52KR

What have you already attempted?
I want to know where to look for the source of the payment method. Looking at this https://docs.stripe.com/api/payment_methods/object

I don't see how to get that value.

#

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

Code
".Label": {
fontWeight: textStyles.body1.desktop.fontWeight,
lineHeight: "22px",
color: customColors["grey-text-dark"],
},
".Label--floating": {
fontSize: "10px !important",
}

Question
While using Stripe Elements, is there a way to specify a floating label font size of 12px while having the rest of the fonts bigger? (14px), the idea is once a field is focused, keep the label smaller so it looks less cramped.

The docs in https://docs.stripe.com/elements/appearance-api seem to imply that overriding .Label—floating or .Label—resting is allowed, yet the implementation has an !important style that doesn’t allow for this customization.

What have you already attempted?
Overriding the styles various ways

cursive heronBOT
#

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

Question
Should I create one product and multiple prices. One price for each cleaning, or multiple products? There might be around 1500 cleanings a year (if that helps)

Doc/Guide Links
https://docs.stripe.com/products-prices/how-products-and-prices-work

What are you working on?
I work for a rental company. I want to charge customers for cleaning fees but prices are non-standard.

#

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

Question
при создании нового аккаунта адрес электронной почты может быть написан по-разному с разными сочетаниями заглавных и строчных букв

на данный момент, и это наш недосмотр, у нас есть несколько аккаунтов, которые были созданы при оформлении заказа и которые написаны с разными сочетаниями заглавных и строчных букв, и при последующем использовании этих же аккаунтов в нашей системе происходит несовпадение адресов электронной почты, и система создает новые аккаунты

вопрос, можно ли объединить эти аккаунты между собой?

Related Request ID(s)
none

What have you already attempted?
none

#

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

Question
We're interested in using a Payment Intent to pay for a Terminal Hardware order. There's not much documentation around how to do this here: https://docs.stripe.com/api/terminal/hardware_orders/create

Our goal is to use a Payment Intent to charge our Connected Account so that they can pay for it directly instead of it being invoiced to our main account and we manually create a transfer from the Connected Account to re-coup the cost.

Related Request ID(s)
-

What have you already attempted?
We're looking into this option because we're hoping to track the refunds on the PaymentIntent as a way to know when a return is complete. (Since there's no webhooks/API feedback for return information).

Our thought process is basically if we can't track returns can we :
1) Pay from our Connected Account with a payment intent
2) Track the refunding of that payment intent to see if the Return has been processed.

I was speaking with Mike and Theo about this over email and somehow wasn't able to reply to the ticket anymore. They're familiar with my issue.

cursive heronBOT
#

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

Question
We're looking at using percentage discount codes for the first time. We've always done full dollar amount discounts. We like the clean full dollar amount so we were wondering if there's a way to enforce rounding to the nearest dollar when using percentage discount codes. We are planning to use the discounts in conjunction with Checkout and the Customer Portal.

Related Request ID(s)
NA

What have you already attempted?
I've looked at the docs for coupons/discounts and for using them with Checkout and the Customer Portal.

What are you working on?
A SASS subscription integration.

#

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

Question
Anyone know if it's possible to use Stripe Webhooks behind a Cloudflare Zero Trust application. I know about the creation of service accounts, but I can't see any way to add headers to the webhook configuration. Is there any way to do this (I'm looking in the dashboard right now), is this in the pipeline or is this something unlikely to ever be supported?

Related Request ID(s)
none

What have you already attempted?
Looked in dashboard
Looked in documentation

What are you working on?
SaaS platform

#

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

Question
I'm attempting to integrate the Capital Financing Application embedded component. See https://docs.stripe.com/connect/supported-embedded-components/capital-financing-application?lang=curl When using curl to generate my stripe account session per the example, I receive back an error:

"message": "Received unknown parameter: components[capital_financing_application]",
"param": "components[capital_financing_application]",
"request_log_url":

Is there something that needs to be configured with my account to enable access to this embedded component?

Related Request ID(s)
req_BklMfrPaWM5Fzj

What have you already attempted?
I tried using the latest Stripe beta version 2025-01-27.acacia

cursive heronBOT
#

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

Question
Why is this request failing? req_1ErRUB5t42aA6F

Related Request ID(s)
req_1ErRUB5t42aA6F

What have you already attempted?
Reviewed documentation and request logs

What are you working on?
API integration

#

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

Question
I'm in a middle of a migration process which is supposed to import customers with their ACH as a verified payment_method(this verification would be bypassed by the migration team).
I'm trying to prepare for the post-migration part, where I need to make any final adjustments(create setup intent, set default payment method, etc) before creating the subscriptions for the imported customers.
My issue is I'm not finding a way to simulate having these payment_method objects verified. I tried creating a customer and the payment method without the verification, but it fails to attach to the customer

Related Request ID(s)
req_2Qh9tIEp5ZCzS3

What have you already attempted?
Create the customer and payment method and try to attach it, but it fails. Expertimented with a setup_intend instead and it worked, but it would replicate my scenario for this post migration

What are you working on?
Subscription based service

cursive heronBOT
#

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

What did you expect to happen?
Taxes are not getting calculated correctly for buyers in Washington D.C. when a shipping rate is included in the Stripe checkout session

What actually happened?
When a shipping rate is set and buyer selected "shipping", the amount of the left hand side displays the incorrect tax % being charged but what is actually being charged and listed in the subtotal and tax on the right hand side is correct. If the buyer then selects "pickup" in the same checkout window, the amount of the left hand side not only says the wrong amount.

Reproduction Steps
- Create a checkout session with the buyer address in Washington D.C.
- Include a shipping rate in the checkout session
- Open the checkout session url (payment page) and see the tax % will be incorrect
- Click the option for pickup, see the tax includes shipping even though there is no longer a shipping charge

Question
How do I fix incorrect taxes being reported in the checkout session for shipping and pickup fulfillent?

#

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

Question
Are metered events supported by test clocks? I'm trying to figure out how to test my subscription with usage based payments. The implementation triggers the meter events on the invoice upcoming webhook. Everything is working fine, but the usage data is not taken into account in the upcoming invoice. The webhook is triggered, the event was sent but transmitted values are missing in the invoice.

Related Request ID(s)
req_fHDtWUGPcGsPUn, req_VDLG8I6tZz0yCz, req_r9TXk3BtUx3XOA, req_VNgcTInbZKh0tV, req_l0tsg3Bb38VAyz

What have you already attempted?
I tried to use different webhooks to trigger the meter event (invoice upcoming, invoice created, invoice finalized). Tried to freeze the clock right before and after the webhooks so that stripe has time to process it correctly. I didn't find any further documentation about how to test usage based billing.

What are you working on?
It's a SaaS with licence based monthly billing.

#

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

Code
const session = await stripe.checkout.sessions.create({
line_items: [{
price_data: {
currency: "brl",
unit_amount: preco,
product_data: {
name: "Test product",
},
},
quantity: 1,
}],
mode: 'payment',
success_url: process.env.VUE_APP_URL+ '/success?session_id={CHECKOUT_SESSION_ID}',
cancel_url: process.env.VUE_APP_URL+ '/cancel?session_id={CHECKOUT_SESSION_ID}',
});

Question
I'm having some issues with a checkout session redirect. After completing the checkout session, I can't get to the success or cancel pages, and there's no response from the process. I’d like some help understanding what I might be doing wrong, and I’m wondering if I should be getting all new input from Stripe via webhooks, or if there’s a response I’m missing.

What have you already attempted?
I tried many different url's. I can get back to some of my app url's but obviously without any response from the API due to the redirect

What are you working on?
new shop in brazil

#

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

Code
let paymentBody = {
amount: 5099,
currency: "eur",
payment_method_types: ["card"],
};

const paymentIntent = await stripe.paymentIntents.create\(paymentBody\);

Question
I want to try the co-badged cards flow in mobile payment element. I have used the above code to create a payment-intent also I have enabled the cards payment method and Cartes Bancaires from dashboard. What can be wrong with my implementation?

What have you already attempted?
I have created a bussiness account in test mode in france region.

What are you working on?
personal project for ecommerce

cursive heronBOT
#

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

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

Question
What is the root cause of the error, how can we fix this?

What have you already attempted?

  1. Confirmed that the customer id exists on the stripe account
  2. Confirmed that the Payment Intent is created with automatic_payment_methods: { enabled: true }

Reproduction Steps

  1. Initialized payment element with customer session secret, mode (payment), currency, appearance
  2. Created confirmation token on form submit, then passed the confirmation token while confirming payment intent with - {confirm: true, amount: 1099, currency: 'usd', `automatic_payment_methods`: {enabled: true}, confirmation_token: confirmationId}

What are you working on?
Currently building a custom checkout flow for a eCommerce website using stripe

#

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

Error Message
i want to delete my stripe account and its not getting deleted due to the payout balance which is non zero help me to make it zero to delete my account

Question
how to make balance non zero of payout in stripe

What have you already attempted?
i had attempted to delete the stripe account and also contacted the stripe support and did not get responded ans still waiting for their response

Reproduction Steps
help me to make balance zero or delete the account

What are you working on?
i want to delete my stripe account and its not getting deleted due to the payout balance which is non zero help me to make

#

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

Question
Is it possible to change the subscription name so that it's not the product name? I need to create subscriptions that contains multiple products

Related Request ID(s)
NA

What have you already attempted?
creating subscription

What are you working on?
add-on product subscription creation

cursive heronBOT
#

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

Question
Hello! I'm using the express checkout component with paypal and google pay. The google pay window shows a breakdown of price line items (subtotal, shipping, tax, etc), but paypal does not. Is there any way for me to implement that behavior in paypal?

Related Request ID(s)
req_cDuc4IOCdEKKUy

What have you already attempted?
Passing line items to the express component

What are you working on?
An ecommerce website

#

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

Question
How can I make the phone number required in the AddressElement?

Related Request ID(s)
N/A

What have you already attempted?
I looked at the docs and seems like I should be able to do this but

fields: {
phone: 'always',
},

shows up as optional in my UI

#

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

Question
Stripe checkout -> statement_descriptor

Related Request ID(s)
statement_descriptor

What have you already attempted?
Hello,

I have connected accounts through API and want to achieve that when Payment will come to bank account the title will be "Client Company"

I found that can use statment_descriptor
But in docs is said that for card payments i should use statement_descriptor_suffix instead of statement_descriptor

I tried booth and gives 2 diffrent results

statment_descriptor result -> "Client Company"
statement_descriptor_suffix result -> "App* Client Company"

Should I use statment_descriptor even when docs saying no use statement_descriptor_suffix

#

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

Question
Within the last hour we've started received two events for `customer.subscription.created` when a user subscribes. One of the events is referencing a subscription and invoice id that doesn't exist in our account.

Related Event ID(s)
n/a

What have you already attempted?
This feels like a bug on stripes end so i've attempted to narrow down of that's the case.

cursive heronBOT
#

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

Question
I just activated tips for locations on web pos terminals yet connect accounts are not transferring the tipped amount

Related Request ID(s)
pi_3Qn5maHKxLvr7YBb1JC2gQMh

What have you already attempted?
Added tip to location settings, and tip pulled appropriately on charge, yet when connect sends the transfer for my customer the tip is missing

What are you working on?
point of sale platform

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
Some states require shipping to be taxed (MN, DC, NY, etc) but the Stripe checkout session is only applying the tax to the line items and not the shipping

What actually happened?
When we pass the tax % to the Stripe TaxRate object, we then pass that along with our Stripe session. If the address used in the Stripe checkout is one of the states that require shipping to be taxed, it doesn't look like Stripe is handling that.

Reproduction Steps

  1. Create a stripe checkout session with 1 item, a shipping charge and use an address for Minnesota
  2. View the stripe checkout - taxes are only applied to the line items

https://checkout.stripe.com/c/pay/cs_test_b1xcd9LSH5evtpfDBzU6qsaAvy6uLbyD8jdjJuGT3SAnOcIXGb2jPd5rCw#fid2cXdsdWBEZmZqcGtxJz8nZGZmcVo0VUR%2FaGlGUn1jV2pSVH9GJyknZHVsTmB8Jz8ndW5acWB2cVowUmldNm5gNEtVSz

Question
How do I get Stripe to calculate taxes including the shipping if the checkout is in an applicate US state that requires this

#

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

Question
Is it possible to disable/enable charges through the API similar to the pause payments button in the dashboard.

Related Request ID(s)
req_jCHhGoweCJ2hv3

What have you already attempted?
It is possible to remove individual capabilities (e.g. card_payments) in the Account.modify api but the dashboard options instead add a requirement disabled reason "platform_paused", is there a way to add/remove this requirement programmatically

What are you working on?
We want to disable payments on connect accounts while doing internal risk review and then enable it

#

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

What did you expect to happen?
When rendering the Stripe Payment Element and setting the wallet options to never I expect the google pay option to not display in the widget.

What actually happened?
The Google pay option displays in the Payment Element widget even though the wallet option for googlePay is set to never.

Reproduction Steps
Rendering the Payment Element with GooglePay set to never in wallet options

Question
Funnily enough there is a scenario where it renders correctly. When the Payment Element doesn't straight away and is behind a radio button it displays correctly. I'm wondering if there is something I can do to stop if from showing google pay

cursive heronBOT
cursive heronBOT
#

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

Question
We take payment from a customer and then transfer to a merchant using connected accounts. As the credit cards payment from the customer hasn't yet processed we are getting an error from Stripe saying there is not enough funds and therefore the process to transfer to the connected account fails.Do we need to either a) Have a balance of cash in the account to cover these transfers, b) perhaps we are processing the credit card incorrectly wth the APIs.

Related Request ID(s)
N/A

What have you already attempted?
Just attempted to process payment.

What are you working on?
Medical Certificate app.

#

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

Question
When using stripe.confirmCardSetup(handleActions=True), what happens when 3DS authentication is required AND authentication happens on a separate site? Does the browser stay on the authentication site without returning to your site?

Since return_url cannot be specified when handleActions is true, but 3DS authentication is still handled, surely this will result in the browser url changing to authentication url specified by the card provider, and not going back after authentication completes.

(Only applies for card providers who's 3DS auth implementation occurs on separate site)

Related Request ID(s)
none

What have you already attempted?
Looking for ways to emulate or test 3DS authentication that occurs on a separate url to my site

What are you working on?
Migrating from Charges API to PaymentIntents.

#

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

Question
Businesses that use my application invoice their customers and funds are transferred to them using stripe connect and stripe transfers.
I have recently setup invoice payment plans (I got access to the beta).
What I would like to do is initiate a stripe transfer to a business once a deposit is paid, and then initiate another transfer once the remaining balance is paid.

Related Event ID(s)
evt_1Qn7yfL9XGXfVuTvnFfXCKi3, evt_3Qn7yaL9XGXfVuTv0hPoKVQm

What have you already attempted?
From what I can see, I can't do this because there is no way to link the initial charge to invoice.update event. Seeing as there seems to be no "invoice.deposit" event, ideally I would do this on invoice.update but chargeId is null.
Additionally, the payment intent used for the deposit seems to be seperate from the invoice.
Is there a better way around this?

What are you working on?
A B2B SaaS startup for equipment rental businesses.

cursive heronBOT
#

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

Code
const handleExpressClick = ({
resolve,
}: {
resolve: (options: any) => void;
}) => {
//placeholder shipping rates (we'll update them on address change)
const defaultShippingRates = [
{
id: "standard",
amount: 599,
displayName: "Standard Shipping",
deliveryEstimate: {
minimum: { unit: "b
[...]
resolve({
shippingAddressRequired: true,
shippingRates: defaultShippingRates

Question
Is there a better way than this?

What have you already attempted?
I've attempted to not put in any shipping rates initially, but it fails saying that if `shippingAddressRequired`, then `shippingRates` is required.. Currently I'm using "placeholder" shipping rates - and then update them when the shipping address changes.

What are you working on?
Adding commerce functionality to a 1m user app

cursive heronBOT
cursive heronBOT
#

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

Question
i use payment link api but i cant see any payment methods like cash app or something in the link

Related Request ID(s)
req_Nc1YLgHCZ0zlXK

What have you already attempted?
i want to show all of payment method at payment link using web browser on mobile

What are you working on?
create payment function

cursive heronBOT
#

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

What did you expect to happen?
I expected that after adding the necessary metadata to the subscriptions, invoices, and checkout sessions, the metadata would automatically be included in all future invoices generated for the subscriptions. This would allow us to set up webhooks and automations effectively.

What actually happened?
Despite updating the subscriptions, payments, and invoices with the metadata, the metadata has not been automatically included in future invoices. We are unable to access the metadata in subsequent invoices, which is causing issues with our integration.
(We tried pulling the Invoice Details for the selected customer Id via Stripe NodeJS SDK)

Reproduction Steps

  1. Initially set up subscriptions without metadata.
  2. Added metadata to subscriptions, invoices, and checkout sessions using a NodeJS SDK
  3. Expected that new invoices created for these subscriptions would include the metadata.
  4. Verified that future invoices were generated, but found that they do not include the metadata.

Question
How can we ensure that the metadata is automatically included in future invoices and payments for existing subscriptions in Stripe? Do we need to take additional steps to ensure this happens, or is there a configuration we missed?

cursive heronBOT
#

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

Question
Assistance Required for Stripe Payment Integration

Dear Stripe Support Team,

I need guidance integrating Stripe for a three-party payment flow in my Next.js app:

Sender pays (e.g., ₹10).
My company receives the full amount (₹10), deducts a commission (e.g., ₹2), and transfers the remaining ₹8 to the Receiver's bank account.
Can Stripe Connect support this use case? How do I split payments, link Receiver accounts, and automate commission deduction and payouts? Please advise on the best approach and relevant APIs for this setup.

Thank you!

Best regards,
Vinay M
+91-9916124422

Doc/Guide Links
https://docs.stripe.com/payments/mobile/external-payment-methods

What are you working on?
creating web application on nextjs framework using react and node

cursive heronBOT
#

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

Question
Hey, I need help with payment amount. I tried creating a new Subscription with a discount coupon of $36 and the subscription was also of the same amount but unexpectedly at the end it shows invoice of $41, I did not know how it added $5 more to it. Event Id: evt_1QnCf0JrW4qoE0zyVtcbh3Iy

Related Request ID(s)
log Id: req_VQBJEgcMxcEVKk

What have you already attempted?
I tried creating a new Subscription which was of amount $36

#

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

Question
i want to pause subscriptions for month & add one more month

Related Request ID(s)
i want to pause subscriptions for month & add one more month

What have you already attempted?
i want to pause subscriptions for month & add one more month

What are you working on?
i want to pause subscriptions for month & add one more month

cursive heronBOT
#

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

Question
When sending API Request, I am getting the following message with 400 response

The version given was unknown or has no registered routes.

Related Request ID(s)
req_vmRkgRWjoPcR9c

What have you already attempted?
API returns error

#

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

Code
await stripe.subscriptions.update(
{'SUBSCRIPTION_ID'},
{
pause_collection: '',
billing_cycle_anchor: 'unchanged',
cancel_at_period_end: false,
proration_behavior: 'create_prorations',
},
);

Question
How can I use the subscription update API to resume a paused subscription? I have a feature in which I set billing cycle anchor to 1st day of each month. When a user pauses their subscription, where subscription is updated to `pause_collection: 'mark_as_uncollectible'` which marks upcoming invoices as uncollectible. But if the user resumes subscription after 3 months in the mid of month then I want to charge the user for remaining days of the month.

What have you already attempted?
I have tried to update the subscription with billing_cycle_anchor: 'unchanged', proration_behavior : 'create_prorations' and 'none' (tried both separately). I also tried to update billing cycle to 'now' which was creating the invoice for remaining days of the month but it changed the billing cycle to the resuming date to same date of next month (which isn't the requirement of my app).

What are you working on?
I'm creating an app which will be a platform for users to create communities by creating a subscription with my app and pay subscription fee each month

#

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

Question
We use the Stripe API version 2020-03-02 to do the transfer. We use the source_transaction parameter in the transfer request. Does stripe raise an insufficient error when we use this parameter(source_transaction)?

How can we test the scenario of insufficient transfer error by using the parameter(source_transaction) in the test environment?

Related Event ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Transfer API

cursive heronBOT
#

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

Question
I am trying to use stripe embedded payment details component.

When I try to create a payment details component it shows payment intent or charge id doesn't exists.

I am using Destination charges with Application Fees.
The payment intent is present in the platform account not the connected account.

Related Request ID(s)
req_dl2e3Mw9JOj0YV

What have you already attempted?
I created a payments listing component. From the payments listing component when I click on this payment its opening up correctly.

But when I tried to create a separate payment details component its not working

cursive heronBOT
#

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

Question
I am trying to use stripe embedded payment details component.
When I try to create a payment details component it shows payment intent or charge id doesn't exist.
I am using Destination charges with Application Fees.
The payment intent is present in the platform account not the connected account.

Related Request ID(s)
req_dl2e3Mw9JOjOYV

What have you already attempted?
What have you already attempted?
I created a payments listing component. From the payments listing component when I click on this payment its opening up correctly.
But when I tried to create a separate payment details component its not working

What are you working on?
Embedded components

cursive heronBOT
#

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

Question
Basically in our application, we have different organizations that receive donation from user in their connected account through direct charge. And for each organization's donation page has a custom domain. E.g "abc.donate.extensia.cloud" or "xyz.donate.extensia.cloud". And docs mention I have to regiserter domain that show payment element to be able to view apple pay. My question how to all domain with wildcard e.g *.donate.extensia.cloud as subdomain in our application like abc or xyz can be changed. So, it handle all. Thanks

Doc/Guide Links
https://docs.stripe.com/apple-pay?platform=web&shell=true&api=true&resource=payment_method_domains&action=create#web-integration-considerations

What are you working on?
I am working on allowing apple way when a user pay on a connected account

#

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

Question
Received webhook events for subscriptions which do not exist.
The endpoint received 2 customer.subscription.created events, one for subscriptions which exist, and one for subscriptions which do not exist. It was happening in a short period yesterday, and stopped after about 1 hour, it resulted in about 10 such webhook events. Just to mention that we do not create subscriptions in any part of our code and only listen for subscription events.

Related Event ID(s)
evt_1Qn4to2L54HYtpsWrrn4aS5Q, evt_1Qn4wY2L54HYtpsWxxubiedS

What have you already attempted?
Nothing

What are you working on?
sports data

#

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

Question
I’m using @stripe/react-stripe-js to collect card details in my custom checkout flow and want to mask the CVV (security code) so it appears as dots or asterisks, similar to a password field. Currently, the CVV is shown as plain text. Is there a way to override or configure this behavior in Stripe Elements so that the CVV is hidden while typing? I’d like to ensure an additional layer of security for our users and haven’t found any direct references to this in the docs.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=react
https://docs.stripe.com/sdks/stripejs-react

What are you working on?
I’m building a custom Next.js platform where users can get a membership with Stripe

#

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

Question
When updating subscription for a user its not considering the prorate changes. I tried updating user seats from 4 to 6. For 4 seats charge was $36 and for 6 seats charge was $54 with prorate changes it should only charge approximately $18 but why it is charging $54?

Related Request ID(s)
event id: evt_1QnH3DJrW4qoE0zyydHdwuJ8

What have you already attempted?
I was trying to update the subscription for a user, earlier user had 4 seats I want to update it to 6 with prorate changes

#

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

Question
I’m implementing Stripe’s metered billing for the Teams feature in my project, where users are billed based on the number of active team members. Each time the count changes, I send the updated total to Stripe to ensure accurate billing.

Scenario:

A team starts with 10 active members at the beginning of the month.
By mid-month, the count increases to 25 members as more users join.
Towards the end of the month, some members leave, bringing the total down to 12 active members.
My question is regarding the aggregation method "sum" in Stripe’s metered billing. Since I’m sending the current total

Related Request ID(s)
[NONE]

What have you already attempted?
I have:
✅ Created a meter
✅ Created a product
✅ Created pricing and linked the newly created meter

I’ve also reviewed the Stripe documentation on metered billing and aggregation methods, but I want to confirm the correct approach for tracking the latest active team members without accumulating past values.

What are you working on?
I’m building a team management feature where users are billed based on the number of active team members using Stripe’s metered billing. The goal is to ensure that billing reflects the latest count of

cursive heronBOT
#

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

Question
query for subscription in stripe dashboard

Related Request ID(s)
query for subscription in stripe dashboard

What have you already attempted?
query for subscription in stripe dashboard

What are you working on?
query for subscription in stripe dashboard

#

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

Question
We need to reauthorize stripe payment method token of existing order to place a new order for a customer from Magento 2 admin.
We have tried creating new payment intent id as per stripe payment intent APIs doc.

Related Request ID(s)
na

What have you already attempted?
We tried creating new payment intent id from below request:
$stripe = new \Stripe\StripeClient('sk_test_XXX');

$newPaymentIntent = $stripe->paymentIntents->create([
'amount' => '576',
'currency' => 'usd',
'payment_method' => 'pm_xxxx', //using same paymentmethod which we place in earlier order for same customer.
'confirmation_method' => 'manual',
'confirm' => "true",
]);
But we get below error:
is PaymentIntent is configured to accept payment methods enabled in your Dashboard.

cursive heronBOT
#

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

Question
Subscription Prorations wrong amount for proration (I don't know how it gets calculated).

Current Plan: 790 € / Year (active since 2 days)
New Plan: 490 € / Year (Downgrade invoked)
Proration amount: 191.42 €

790 / 365 * 363 (-2 days) = 785,67 €
- 490 € = 295,67€ expected proration amount (credit)

Whats wrong? Thanks!

Related Request ID(s)
Price Current Plan: price_1QTkIFLZihhBkt1cC2mPAMUe / Price new plan: price_1QTkIWLZihhBkt1cJ7M1rbyy

What have you already attempted?
Calculating it myself, asking ChatGPT for advice, trying to change the behaviors. Nothing helped.

What are you working on?
Subscription Down- or Upgrades with Prorations

#

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

Question
Unable to create a charge for connected account

Related Request ID(s)
req_YsDQgIj5y7FjRC

What have you already attempted?
Tried from cli. Added funds manually to the account to avoid negative debit.

#

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

Code
I don't create the checkoutSession but i create the payment intent only https://ray.so/NDvh3wG
I set ACH direct debit in Stripe dashboard already https://paste.pics/c5b86a7c2fe8cb9f17bebadd5293a0b9

Question
Stripe element not showing paymentMethodTypes: us_bank_account. How to solve this?

What have you already attempted?
This is my payment intent that i fetch in frontend https://ray.so/0LsWzwk i has already paymentMethodTypes.us_bank_account

I’m having a bit of a puzzling issue with my Stripe element https://paste.pics/81edf344f8bce896bf08102085095b98. Despite setting up the payment options correctly, I still see the card option available for payment. Can someone shed some light on this bug or guide me on the next steps I should take to resolve it? I’d really appreciate your help!

#

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

Code
const accountSession = await stripe.accountSessions.create({
account,
components: {
account_onboarding: {
enabled: true,
features: {
external_account_collection: true,
},
},
},
});

Question
how can I log the http request sent to api.stripe.com (including headers, body, etc.)?

What have you already attempted?
the logger shows the reqId but I cannot find it in Dashboard/Developers/Logs:

[12:36:16.028] INFO (89405 on HOST): [StripeClientProvider] Calling https://api.stripe.com {"reqId":"eqs1omkb","ctx":"StripeClientProvider"}

#

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

Question
i'm trying to add "domain" to a subscription, so as whena user subscribes, we take the domain in a box, pass it through checkout in the background o metadat, but we are trying to get it tothen show on invoices, so as we have a subscription description such as "great subscription - Domain allowed: domain.com" but we cant for the life work out how to do this, I'm tried several ways and all i can get is the domain into the payment desscription that shows for a custome, not in the customer portal on receipts & invoice and also in the invocie line items

Related Request ID(s)
n/a

What have you already attempted?
too much to start, going in circles, got nowhere on it

cursive heronBOT
#

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

Question
Debiting from a connected account to the platform account stopped working in development environment yesterday (note that it worked for the last 2 years as is without change from our part).

seems similar case with these reports (that got affected at the same time yesterday):
#1334521221844570123 message
#dev-help message

is my platform account also disabled for debits?
do I need to do API changes ? or wait for a fix from stripe?

Related Request ID(s)
req_5tzYA7IGuZTq1i req_BHTgp0tFUoiA9R req_njhohYb0L8PQiQ

What have you already attempted?
Talked with support team, they said to use transfers api, but that is not our usecase here.

What are you working on?
We are charging one of our connected account for provided services through our platform.

#

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

Question
I want to create connect account and attached with my customers account (netherland bank account) with IBN account

Related Request ID(s)
no

What have you already attempted?
stripe.accounts.create({
country: 'NL',
email: 'j',
controller: {
fees: {
payer: 'application',
},
losses: {
payments: 'application',
},
stripe_dashboard: {
type: 'express',
},
},
});

stripe.accounts.createExternalAccount(
connectedAccountId, {
external_account: {object: 'bank_account',
country: 'NL',
currency: 'eur',
account_holder_name: 'Je',
account_holder_type: 'individual',
iban: "NL91ABNA041716430"

What are you working on?
Received unknown parameter: external_account[iban]

#

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

Code
#server
@session = Stripe::Checkout::Session.create(
# ...
)

//client
this.checkout.updateBillingAddress({
//...
})

Question
I'm using the public preview "Embedded components" Checkout API.

I'm trying to make sure Country X always pays in in EUR, while all other countries pay in USD.

It is possible to listen for address change, redirect if country is X, and recreate checkout session with new currency.

*however*, since that code runs on the client, it would be possible for the client to avoid the redirect, and confirm the payment with currency USD to Country X.

Is it possible to avoid this?

What have you already attempted?
Things I've tried, but appears not to be possible:
- Set billing address on server instead
- Set list of allowed_countries on server
- Require server to do final confirmation when confirming payment on client

What are you working on?
Checkout flow

#

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

Question
Can you help me with the PayPal payment method? it is enabled in the dashboard, I've added it to the web form, but I got the error "The allowed types provided (card, bancontact) are incompatible with the PaymentMethod provided. Please include paypal in the allowed types."

Related Request ID(s)
req_L3swBa5EnZAtFo

What have you already attempted?
I've already reached the support via email (dlytvynov@ascendix.com) I was suggested to check if PayPal is enabled in the Platform Account and it is enabled. Also, I send some screenshots to support via email. If you need more info please ask and I will send all the necessary info to you

What are you working on?
I'm trying to enable the PayPal payment method on the existing account

#

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

Question
Is there a way to check payout status via the api? I have a revenue share type model on my project and i need to keep track of successful, pending and failed payouts on my side but couldnt find a way in stripe to fully confirm that a payout has successful gone through or failed via the api. If there is a webhook that would be awesome (could not find one) or if there is an endpoint that allows me to list payouts and their statuses that would also be super helpful.

Related Request ID(s)
no id just general question

What have you already attempted?
Currently I have it set up so that once I get hit by balance.available webhook I send a payout and mark it as paid but I don't know if thats the most fool proof way of doing it.

What are you working on?
Ecommerce portal for sellers and vendors

cursive heronBOT
#

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

Question
I am using stripe hosted onboarding platform for my connect express accounts. And when i retrieve their tax settings i got a predefined tax_code with my accounts. Is there a way that i can use to fix that tax_code. and secondly what other options do i have to control the information required in the form that user fill out while onboarding. and how to do that?

Related Request ID(s)
null

What have you already attempted?
null

#

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

Question
How we can modify a stripe subscription but make the changes apply at the end of billing period?

Related Request ID(s)
NA

What have you already attempted?
await stripe.subscriptions.update(subscription.id, {
items: [
{
id: subscription.items.data[0]!.id,
price: this.data.newPlanId,
},
],
...(subscription.status === "trialing"
? {}
: {
proration_behavior: "none",
payment_behavior: "pending_if_incomplete",
}),
});

cursive heronBOT
#

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

Question
We recently did migration from stripe SEPA credit transfer to bank transfer.

It was working fine for 3 weeks now.

Today is our deadline.

So today we are experiencing issue. The customers who use old IBAN to transfer money is not revert to new bank transfer cash balance.

We are receiving source transaction created event. Which I assume customer transferred money to us using old IBAN.
But cannot see money in bank transfer cash balance transactions.

Example customer https://dashboard.stripe.com/customers/cus_QjXlY8HNZ3cnMA

Source transaction received event - evt_1QnFncCwXI9yfnGawPfsnRPJ

Related Event ID(s)
.

What have you already attempted?
.

cursive heronBOT
#

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

Question
Hi, I am using Checkout to make card imprints. I would like to know if when my customer is redirected to the success_url, I can tell them for sure that their card was imprinted, or if there is a chance that the checkout session was successful but something might have gone wrong with the payment intent.

Related Request ID(s)
No related id

What have you already attempted?
I am handling webhook requests in my backend, but need to know what to do in the front

What are you working on?
A platform that will let users pay for a service, with a card imprint, to other individuals.

#

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

Question
Stripe refuse to create "sepa_credit_transfer" Source
We need it until the end of the migration !
Do you have information about this. It's a nightmare !

Related Request ID(s)
N/A

What have you already attempted?
Create a source "sepa_credit_transfer"

What are you working on?
Production purpose

#

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

Question
Hi
When I'm testing payment
I create a case with
Payment requires authentication

And in my logs
I get payment_intent.requires_action and then payment_intent.created
Is it ok?
I thought that payment_intent.created should come firstly

Related Event ID(s)
evt_1QnI41KNWEK6MeaEUQVhLEpS

What have you already attempted?
I create a webhook with payment_intent cases

#

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

Question
This price: price_1Qmgq6CGqjbvMxqhYDGZvnUo was automatically created (and archived) by stripe but when I search the logs there are no results, even though I can see the price id listed in the results below. I am trying to advise my client how this price was created but I can't see its history.

Related Request ID(s)
price_1Qmgq6CGqjbvMxqhYDGZvnUo

What have you already attempted?
tried to search in logs and check obj data/history

What are you working on?
this issue was reported by one of our connect accounts

#

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

Question
Im getting a "limit for sending invoices has been exceeded" error message which I'v not encountered before. What is the limit? Is there any documenation on this? I've only created 53 invoices so this doesnt seem appropriate. Any help would be appreciated.

Related Request ID(s)
req_ePdApxbBckA6vo

What have you already attempted?
Looked up errors in logs. Directed to contact support.

cursive heronBOT
#

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

What did you expect to happen?
thread open, been closed

What actually happened?
thread has been closed for no reason

Reproduction Steps
thread has been closed for no reason

Question
thread has been closed for no reason

cursive heronBOT
#

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

Error Message
No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?

Question
I have updated the webhook secret on my new domain backend.mydomain.com. But it's still calling the webhook on my old domain.

What have you already attempted?
I have updated webhook secret 2 times.

What are you working on?
I am working on a ride share web application

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/object#subscription_object-cancel_at_period_end

Question
We're building the report to list the predicted charges, and we need to be sure that subscription listed there are still active. To do that we're filtering the subscriptions by `status` (active and past_due) and by `cancel_at_period_end` (false) . For one of our customers that works. The problem here is that for our test instance that approach doesn't work. I assume it could be related to the fact that plan amount value is equal to 0. Is it a reliable approach? Am I right and such behaviour is related to plan amount value?

What have you already attempted?
I rely on the subscription object documentation.

What are you working on?
we're building the report to list the predicted charges

#

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

Question
URGENT: We thought we migrated from source-based transfers but it keeps saying we didn't. today is our last day to migrate, so we don't want flow of funds to be impacted, please help.

Related Request ID(s)
N/A

What have you already attempted?
We upgraded our Stripe API versions and tried following the recommendations in the migration guides.

What are you working on?
Billing for our app

#

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

Question
I'm trying to cancel some subscriptions via the API/CLI and it's saying the subscriptions don't exist even though I can see them in the dashboard. I've double-checked my api keys. What's also weird is the request IDs it's show me DON'T show up in the dashboard, it's as if it's looking in a different account.

Related Request ID(s)
req_YOZalFIbw8QxeR

What have you already attempted?
I've tried every command line switch I can think of including "--live". I've looked in test mode to see if the requests were somehow going there but definitely using a live-mode api key.

What are you working on?
trying to cancel subscriptions for a migration

#

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

Question
Is there an API to fetch VBAN information?

I can provide a test customer ID

Related Request ID(s)
N/A

What have you already attempted?
Tried the List bank account information for the customer. Returned empty.

What are you working on?
Migrating to PaymentIntents API from sources.

cursive heronBOT
#

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

Code
private readonly IOptions<StripeOptions> options;

    public BillingController\(IOptions<StripeOptions\> options\)
    {
        this.options = options;
        StripeConfiguration.ApiKey = options.Value.SecretKey;
    }

Question
Was the StripeOptions class removed from Stripe.NET? It's used in the example code above from https://github.com/stripe-samples/subscription-use-cases/blob/main/fixed-price-subscriptions/server/dotnet/Controllers/BillingController.cs but does not exist when I try to use it with Stripe.net 47.2.0

What have you already attempted?
Googling for it's removal and searching the repository at https://github.com/search?q=repo%3Astripe%2Fstripe-dotnet+StripeOptions&type=issues

What are you working on?
Adding Stripe.NET to my API.

cursive heronBOT
#

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

Question
Why are the subscriptions in the dashboard active when making a purchase from the API with the checkout session, but the webhook response is incomplete?

Related Request ID(s)
evt_1QnOlB09LC4lNyTLVNzrMhED

What have you already attempted?
NA

What are you working on?
Implementing Stripe on Bubble.io

#

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

Question
Trying to use Stripe Elements with a Checkout Session in C# asp.net version 9. When using Stripe.Checkout.Session CreateAsync with UIMode = "custom", I get the error 'invalid ui_mode: must be one of hosted or embedded (Hint: 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-01-27.acacia; custom_checkout_beta=v1' How can I pass this header as I don't see a setting to pass apiVersion.

Related Request ID(s)
req_IkwyvKk0QDEqQi

What have you already attempted?
I tried adding the header as a DefaultHeader.Add on the httpClient: _httpClient.DefaultRequestHeaders.Add("Stripe-Version", "2025-01-27.acacia; custom_checkout_beta=v1");
_stripeSessionService = new Stripe.Checkout.SessionService(stripeClient);

#

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

Code
const config: Stripe.StripeConfig = {
// This can be bumped whenever there is a new version, as long as
// the suffix is acacia, all changes should be backwards compatible
apiVersion: "2024-10-28.acacia",
}
if (process.env.API_HOST) {
config.host = process.env.API_HOST
}
if (process.env.API_PORT) {
config.port = parseInt(process.env.API_PORT)
}
return new Stripe(process.env.API_KEY!, config)

Question
I am mocking out API requests for integration tests by overwriting the `config.host` manually to something internal, which works well and I can successfully exchange requests from `api.stripe.com` to `my-internal-url.com`

EXCEPT for the `oauth` URLs since they do not use `api.stripe.com` as the host, and instead use `connect.stripe.com`, which seems like it is hard coded into the package as `oAuthHost` which I cannot overwrite, so i cannot redirect API requests to my endpoin

What have you already attempted?
I have tried reading through docs and the package code (this is where the `oAuthHost` is hardcoded: https://github.com/stripe/stripe-node/blob/04f409b710756f109c18bc45566da1d9bb2af6cd/src/resources/OAuth.ts#L14)

In the node SDK for Stripe there is no way to set this `host` for `oauth` endpoints

What are you working on?
Integration tests with a mock API handler that redirects API requests to a different host that I have internally to manually mock requests

#

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

Question
Should I update or create a new subscription?

I have these steps in my frontend:

  1. The customer has an active subscription
  2. He can switch plans (Up- or Downgrade)
  3. Once he selected (clicked) on a new subscription, my backend is delivering him correct prorations for the up- or downgrade
  4. If he's satisfied he will click on "Switch Subscription Now"
  5. My backend performs a ->update() on subscription - but should I just create a new one here?

As I haven't received after ->update() to a higher subscription ANY invoice with the remaining amount to pay (19,99€ from prorations)

He hasn't paid yet as I've just delivered the payment intent. Should I update status to incomp?

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

What are you working on?
Up- or Downgrade of Subscriptions

#

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

Question
ACH Credit Transfers & Sources API deprecation

I understand the sources API is being deprecated today. From an API POV, this is fine.

From a "receiving funds" perspective, I am unsure: we still have a handful of customers paying us through the virtual account/routing numbers on our source objects. Will these continue to work?

Related Request ID(s)
support case: sco_Rglr0RbyjcCYVg

What have you already attempted?
The documentation in various places seems contradictory unclear, e.g.

https://docs.stripe.com/payments/customer-balance/ach-ct-automigration suggests an automatic migration

but

https://docs.stripe.com/payments/customer-balance/migrating-from-sources#how-stripe-migrates-objects-to-support-bank-transfers and https://docs.stripe.com/payments/customer-balance/direct-sources-migration suggest manual action is required.

I have tried having the account owner enable bank transfers to complete the manual steps but it has not yet been approved.

#

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

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

Question
Hi everyone! I’m testing Stripe Issuing and using the authorization object (per Stripe docs) to track transactions. I see various fields under merchant_data (e.g. name, city, country, network_id, etc.), but I don’t see a straightforward “merchant ID” that is guaranteed unique across all transactions.

Does anyone know if there is a dedicated field or combination of fields recommended for reliably identifying the same merchant across multiple Issuing transactions? Or do we need to create our own unique identifier from something like merchant_data.network_id or other fields?

Thanks in adva

What have you already attempted?
nothing yet

What are you working on?
Im working on a expense tracking platform

#

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

Question
Is there a way to turn off "stripe-hoisted" links in manually paid invoices ("send_invoice") programatically on an invoice by invoice basis when they are created?

Related Request ID(s)
I don't have one

What have you already attempted?
I know that you can turn off "stripe-hoisted" links for all invoices by going into settings>billing>invoices and scrolling down and unchecking "include a stripe hoisted link....". But I'm not sure how to do it in the code.

What are you working on?
manual pay invoices (send_invoice) for our company

cursive heronBOT
#

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

Question
Testing off-session 3DS authentication flow

Related Request ID(s)
req_QGQui9HjZOGyZX

What have you already attempted?
I'm trying to test the behavior of an off-session payment requiring a 3DS authentication flow, but the payment just returns failure rather than being incomplete.

What are you working on?
off-session 3DS authentication flow

#

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

What did you expect to happen?
When providing a link to a customer from an invoice using invoice.hosted_invoice_url, I expect the customer to have the ability to pay the invoice.

What actually happened?
Unable to load payment form
This application does not have the required permissions for this endpoint on account 'acct_1Om0V7RqTjVjlW7k'. Having the 'read_only' scope would allow this request to continue.

However, I have to access to control the API keys at this endpoint. It should be noted that this account is a connected account (child of a platform account)

Reproduction Steps
Browse to the hosted_invoice_url at https://invoice.stripe.com/i/acct_1Om0V7RqTjVjlW7k/live_YWNjdF8xT20wVjdScVRqVmpsVzdrLF9QcFlybE5KTk11MklLc1BicGRwazdoczlFcjBUTVRMLDEyODg5NjY1OA0200vTKYaRyM?s=ap

Question
How can I change the permissions for the invoice.hosted_invoice_url

What are you working on?
Parcelcraft Shipping app for the Stripe Apps Marketplace

cursive heronBOT
#

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

Question
I'm looking for any guidance/docs on how to build card-on-file feature for a healthcare system: Need to store payment details with patient signature authorization, then charge up to $300 for post-visit balances after insurance processes claim. This authorization would last for a year.

Is this something I can build with Stripe?

Doc/Guide Links
https://stripe.com/resources/more/how-do-credit-cards-on-file-work-a-quick-guide-for-businesses
https://docs.stripe.com/payments/save-during-payment
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements

What are you working on?
Healthcare payment system with Stripe card-on-file integration

#

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

Question
Im lock in test mode, when i try to do an payement with stripe integration its write "test mode" and i pay 0.50 for 50€ value

Related Request ID(s)
req_Nm5yzM7ozkX7RB, req_MRYPNCLyA6EIgg

What have you already attempted?
All i need your hel^

What are you working on?
Mobile Applications with flutterflow

#

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

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

Question
which api should i need to use (my mechant came and asked edit his exertnal Bank account ) to change connected bank account details i have not given permission for a stripe dashboard to my merchant which i dont want

Related Request ID(s)
NA

What have you already attempted?
tried by retriving account

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

cursive heronBOT
#

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

Error Message
class=CotsAdapter message="updateReader failed: com.stripe.stripeterminal.external.models.TerminalException: Contactless transaction failed kotlin.NotImplementedError: updateReader is not implemented in SimulatedCotsClient."

Question
I have updated android version latest for tap to pay and m2 device with stripe SDK 4.0.0 and got this error

What have you already attempted?
I have check migration and other issue on Git

cursive heronBOT
#

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

Question
We would like to have them (the sellers) pay for the Stripe fees so we switched from Destination to Direct Charges.

The problem is that the branding, when paying, is that of the seller and not the platform. Is there a way to achieve both outcomes (Stripe fees on seller and platform branding)? Thanks in advance

I read that maybe Custom/Express accounts are needed but it would be better to get confirmation here

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

https://docs.stripe.com/connect/accounts

What are you working on?
Our platform allows sellers to advertise and sell their services to clients -- so we're using Stripe Connect for this.

cursive heronBOT
#

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

Question
How can I create a test case that pays an invoice as if the user visited the invoice page and paid it?

Related Request ID(s)
req_BVTuK48U1RCiEz

What have you already attempted?
I tried using the /api/invoices/pay endpoint, but that requires a payment method to be stored with the customer. Is there another way to simulate paying directly on the invoice page without saving any payment intent? What's the approach for that?

What are you working on?
Testing my app's billing module

#

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

Question
I am saving cards for customer using checkout session in setup mode. Now when I go to the payment page I am only being show 1 card. How can i implement in such a way that I can see every card that I add on the payment page to choose from.

Related Request ID(s)
NA

What have you already attempted?
I have attempted changing the parameters while creating a setup checkout session, I have attempted creating a payment method using paymentmethod api.

#

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

Question
Is there any way we can call invoices list API passing multiple states in request. Right now only one state is permitted in https://docs.stripe.com/api/invoices/list

Related Request ID(s)
https://docs.stripe.com/api/invoices/list

What have you already attempted?
I have tried looking in to documentation but that did not helped.

What are you working on?
I am working on Chargeback automation product

cursive heronBOT
#

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

Question
We are having a problem with 3DS. We allow our users to create products that use schedules to iterate through different states. You can sell them to start now, or start later (they are recurring). When testing with 3DS always auth card, we get an error declining the card stating an action is required. However, in our backend that action is not available. We create the sub via the schedule, finalise the invoice and then call pay on the invoice. But the invoice has a status of requires_confirmation, not requires_action

Related Request ID(s)
n/a

What have you already attempted?
Tried confirming the payment intent but I get a variety of errors

What are you working on?
php laravel

#

@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#test-webhook

Question
We have already a deployed webhook in stripe. At the same time when we developed, we used our local endpoint webhook to listen. However, if there is an event, both deployed webhook and local webhook are triggered at the same time.

Is it possible idenitfy the webhook between deployed on stripe and the local one?

What have you already attempted?
I can't think of any solution

What are you working on?
We create a subscription object when an invoice for one time product is created.

cursive heronBOT
#

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

Code
#server
@session = Stripe::Checkout::Session.create(
# ...
)

//client
this.checkout.updateBillingAddress({
//...
})

Question
I'm using the public preview "Embedded components" Checkout API.

I'm trying to make sure Country X always pays in in EUR, while all other countries pay in USD.

It is possible to listen for address change, redirect if country is X, and recreate checkout session with new currency.

*however*, since that code runs on the client, it would be possible for the client to avoid the redirect, and confirm the payment with currency USD to Country X.

Is it possible to avoid this?

What have you already attempted?
Things I've tried, but appears not to be possible:
- Set billing address on server instead
- Set list of allowed_countries on server
- Require server to do final confirmation when confirming payment on client

(Sorry, i already asked this on januar 31, but didn't have time to follow up and now the thread is closed)

What are you working on?
Checkout flow

#

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

Question
can i create an invoice for a transfer out of a connect account.
just like i create invoice to for payment made can i also create one for a transfer out of a connect account to the main account

Related Request ID(s)
none

What have you already attempted?
nothing

#

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

Question
Hello,

I am a PHP developer, and I am trying to replicate the deletion of a price via the API, whether it is the default price or not. This seems to be possible only through the Stripe dashboard.

From the dashboard, I can delete a price if it has never been used, without affecting the product. However, I don’t see any endpoint related to deleting a price object via the API. On the other hand, I noticed that there is a delete endpoint for the product.

Does deleting the product also delete its associated price(s) indirectly?

Thank you.

Related Request ID(s)
sco_RgfJyMyH7o6FLk

What have you already attempted?
I tried to archive a default price independently of the product using the update endpoint. I have also reviewed the Stripe API documentation.

What are you working on?
I would like to clean up my entire catalog via the API. We're talking about more than 1,000 products and prices. I want to delete as many as possible or archive them if deletion is not an option.

#

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

Question
is it possible to block klarna payment options ?

Related Request ID(s)
no ids

What have you already attempted?
i have integrated klarna and want to know if it is possible to block all payment options except the 3x 4x payment options

What are you working on?
Klarna integration

cursive heronBOT
#

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

Question
Hello, I want to integrate Klarna. I see in the demo that you have to send the buyer's country in the creation of the payment intent. Is this mandatory? It should be known on the customer's klarna.
And second question: Can we limit the payment intent to the use of klarna only to payment in 3 times? (remove the immediate payment)

Related Request ID(s)
pi_3QnMigK9AB1l4svb0GESLkZM

What have you already attempted?
Test phase

#

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

Question
Hello. I'm trying to test out the payment intent multicapture feature. However, when creating the payment intent it fails saying that my account isn't eligible. I understand that the account needs to be on IC+ pricing plan. Is there a way for me to test multicaptures in test mode currently?

Related Request ID(s)
pi_3QoLwrP32NF091LO1s5xL6g2

What have you already attempted?
Just tried creating a payment intent using the steps mentioned here: https://docs.stripe.com/payments/multicapture

#

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

Question
I was trying to create a payment method and encounter this error: StripeInvalidRequestError: No such paymentmethod: 'pm_1QoMHdJrW4qoE0zyDn9YeAAF'; a similar object exists in test mode, but a live mode key was used to make this request.

Related Request ID(s)
req_47zpeUROeheesS

What have you already attempted?
I was trying to create a payment method

#

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

Code
#server
@session = Stripe::Checkout::Session.create(
# ...
)

//client
this.checkout.updateBillingAddress({
//...
})

Question
I'm using the public preview "Embedded components" Checkout API.

I'm trying to make sure Country X always pays in in EUR, while all other countries pay in USD.

It is possible to listen for address change, redirect if country is X, and recreate checkout session with new currency.

*however*, since that code runs on the client, it would be possible for the client to avoid the redirect, and confirm the payment with currency USD to Country X.

Is it possible to avoid this?

What have you already attempted?
hings I've tried, but appears not to be possible:
- Set billing address on server instead
- Set list of allowed_countries on server
- Require server to do final confirmation when confirming payment on client

(Sorry, i already asked this twice, but didn't have time to follow up and now the threads areclosed)

What are you working on?
Checkout flow

#

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

Question
Payments are failing in the Production. I am getting the below error from the stripe console.

Blocked by a default Radar rule due to a high risk of fraud Included with your Stripe integration, Radar uses machine learning powered by hundreds of signals from across the Stripe network (like IP address, user agent, and more) to identify and block suspected fraudulent payments. Fraudulent payments that are not blocked or refunded may result in dispute fees or other associated costs.

Related Request ID(s)
cus_RggZdjVGto9DFo

What have you already attempted?
For some payments, I am not able to make the process. The error message I am getting is "Card was declined". Some payments have succeeded, and some of them are failing. I am not able to find out the reason. Can you please check from your side?

The last four digits of Credit Card is - 8219.

#

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

Question
We have a website that uses Stripe for payments. During the checkout process, customers enter their card details, and we perform 3D Secure (3DS) authentication by creating and confirming a SetupIntent. We store the Stripe payment_method ID for future use and do not charge the card immediately. Later, when fulfilling the order, we charge the customer using the stored payment_method ID.

While this workflow works seamlessly for standard cards, we are encountering an issue with 3DS-enabled cards: they require re-authentication every time we attempt to charge them, even though they were authentica

Related Request ID(s)
N/A

What have you already attempted?
We’ve tried setting off_session: true during both the SetupIntent creation and the PaymentIntent phase, but 3DS-enabled cards still require re-authentication when charging. We want to avoid pre-authorizing and capturing payments later, as it doesn’t fit our workflow. Our goal is to charge the card off-session without re-prompting for 3DS after the initial setup.

What are you working on?
We are an online clothing ecommerce company

#

@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#handle-duplicate-events

Question
"Webhook endpoints might occasionally receive the same event more than once. You can guard against duplicated event receipts by logging the event IDs you’ve processed, and then not processing already-logged events.

In some cases, two separate Event objects are generated and sent. To identify these duplicates, use the ID of the object in data.object along with the event.type."

Is is it possible to have sample code on this one in checking already logged event?

What have you already attempted?
I'm not entirely understand how can we know the already logged event. Do we need to store it on a database?

cursive heronBOT
#

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

Question
I have apple pay and google pay integrated as payment methods through stripe on my site. I am trying to allow users to save their payment methods which is Apple and google pay so it is easier for them to pay next time. However, every time the user tries to save the payment method, these wallet payment methods trigger a re-auth. Is it required or there is a way to skip it?

Related Request ID(s)
NA

What have you already attempted?
basically the question.

#

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

Question
We are transfering our new susbscription system to Stripe.

We have enabled the setting to "Send finalized invoices and credit notes to customers"

But only the invoices for the customers that have payment_collection via EMAIL recieved their Invoice

The customers who have automatic payment collection with SEPA in Stripe did not recieve their invoice after it was finalized.

Will this invoice be sent only when the status changes to paid?

Please help.

Related Request ID(s)
Settings -> Billing -> Subscriptions and emails

What have you already attempted?
We have tried to manually send the invoice but the Stripes API is blocking this request and the response is:
"You can only manually send an invoice if its collection method is 'send_invoice"

What are you working on?
Custom Subscription Management System

#

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

Question
I am using checkout.session.completed to update my payment status. I would like to capture stripe transaction fee amount. Payout.created and Balance.available events doesn't have payment_intent in the response. Which event should I Use?

Related Event ID(s)
N/A

What have you already attempted?
N/A

#

@sinful iron pressed 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/ach-direct-debit/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api#web-verify-with-microdeposits

Question
Can I add return url in verify microdeposits link from `https://payments.stripe.com/microdeposit/`

What have you already attempted?
While I can build a custom UI and use the Stripe API for this, I'd prefer to avoid that complexity. Is there a way to specify a return URL within the microdeposit verification process itself, perhaps through a parameter in the verification link? Or does Stripe Elements offer built-in support for microdeposit verification with automatic redirection, thus eliminating the need for a custom UI altogether?

What are you working on?
I'm looking to implement microdeposit verification for bank accounts directly on our website, with a redirect to a booking page upon successful verification.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/hosted-onboarding

Question
Is there a way I can make the VAT number required in the self hosted onboarding?

What have you already attempted?
I went through the settings but I cannot find this info anywhere.

What are you working on?
B2b marketplace where the payment is happening through stripe invoices. My vendors need to complete this stripe onboarding before anything else and the VAT number would be required for stripe tax

#

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

What did you expect to happen?
It was working fine in "test mode". But doesn't work in sandbox.

Setup intent's status should be "requires_action".

What actually happened?
Setup intent's status become "succeeded".

Reproduction Steps
Request ID: req_VNQLE9kJc4ZW1z

We have radar rule that asks 3DS when certain condition met but it is not asking 3DS confirm.

Question
How make it to require 3DS when setting up intent?

cursive heronBOT
#

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

Question
we are seeing the same payment method appear in the user portal on signing up for multiple subscriptions

Related Request ID(s)
req_NSHhV7DRysM8XI ,req_zOuUqxueeYPEon

What have you already attempted?
doesnt really apply, as we are just making subscriptions

What are you working on?
checkout process

cursive heronBOT
#

@gentle badge 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
Charges and payouts are paused
Contact support for more information.

What have you already attempted?
Charges and payouts are paused
Contact support for more information.

Reproduction Steps
Charges and payouts are paused
Contact support for more information.

What are you working on?
im trying to setup stripe but my i get this error: Charges and payouts are paused Contact support for more information.

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/webhooks#handle-duplicate-events

Question
Is the occasional duplicate event send at the same time? or is there an interval?

What have you already attempted?
I'm thinking to store the event id on database and check it on the webhook if it is already seen. However, I'm thinking that it might need able to read duplicate events if they are send at the same time.

cursive heronBOT
#

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

Question
Our use case is as follows:
A consumer to consumer portal for selling preowned items in Woocommerce

  1. The buyer gives their credit card info and a payment intent is created (or a payment from card to Stripe made?)
  2. The seller approves the purchase (to confirm they still have the item) and ships it to the customer.
  3. The buyer confirms they have received the item.
  4. The seller gets a notification to receive payment and they are asked their card information, and they are paid the amount minus our and Stripes commission and shipping costs.

Related Request ID(s)
req_N7FYLtgTjmmrLo req_4dxmmROiGtueLL

What have you already attempted?
I have tried creating a payment intent with javascript and save that to the woo order meta. This works and I can see the transaction in the sandbox.

I cannot seem to confirm the payment or save the payment intent id so I could confirm the payment when the seller confirms they approve the buyer's price.

What are you working on?
A consumer to consumer portal for selling preowned items in Woocommerce

#

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

Question
If a customer saves their card payment information for future transactions, all consequent transactions are currently labeled as off-session as per documentation. This includes both subscription deliveries (off-session) and for future unrelated payments to the initial order. Should these future unrelated payments (non-subscription) be labeled as on-session and trigger a 3DS check or should they remain in off-session for the ease of the checkout flow?

Doc/Guide Links
https://support.stripe.com/questions/what-is-the-difference-between-on-session-and-off-session-and-why-is-it-important

https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-off_session

https://docs.stripe.com/payments/3d-secure/authentication-flow#controlling-when-to-present-the-3d-secure-flow

What are you working on?
Seeing if the internal code needs to be updated to be on-session and trigger a 3DS every session even if the card details have been saved in the past.

#

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

Code
checkout_session = stripe.checkout.Session.create(
ui_mode="custom",
return_url="http://127.0.0.1:8000/payment/request_embed_payment/verify/?session_id={CHECKOUT_SESSION_ID}",
mode="subscription",
customer=self._customer_id_bank,
line_items=[{"price": self._price_id, "quantity": 1}],
subscription_data={"trial_period_days": 11},
)

Question
I'm integrating Stripe embedded checkout for our Django website. One-time payments and regular subscriptions (without a trial) work fine, but there's an issue with subscriptions that include free trial days. After checkout, Stripe redirects to return_url, but the subscription status is unpaid, and no subscription is created. Strangely, if I refresh the return_url (which includes session_id), the status updates to paid, and the subscription appears.

What have you already attempted?
Why doesn’t Stripe immediately mark the subscription as active upon returning from the bank? Is this expected behavior for trial-based subscriptions? Should I handle return_url differently or verify the session manually? Any insights on best practices for handling trial subscriptions in Stripe would be greatly appreciated. Thanks!

What are you working on?
Django - html/javascript for front

cursive heronBOT
#

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

Question
we are finalising our stripe integration but due product complexities the subscription model offer by stripe wouldnt give us all the functionality we wanted, long story short we are about to add our own retrying mechanism.

As we save users payment methods and reuse them to do our own scheduling, it is not clear what limitation are there with simple payments (docs seem to all focus on subscriptions).
- are there any docs regarding payments retries for non subscriptions?
- how often can we retry, how are limits declared?
- are limits standard or pay per payment method (are there stripe docs for these)?

Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse
https://docs.stripe.com/billing/revenue-recovery/smart-retries

What are you working on?
we are replacing our existing braintree solution with stripe using our own subscription logic

cursive heronBOT
#

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

Question
cannot deserialize VerificationSession from webhook event. The below code snippet is from Stripe document:

EventDataObjectDeserializer dataObjectDeserializer = event.getDataObjectDeserializer();
if (dataObjectDeserializer.getObject().isPresent()) {
verificationSession = (VerificationSession) dataObjectDeserializer.getObject().get();
Log.info("verificationSession deserialized: ");
} else {
Log.info("verificationSession deserialized failed ");
return Response.status(Response.Status.INTERNAL_SERVER_ERROR).build();
}

here the dataObjectDeserializer.getObject() is always empty

Related Request ID(s)
none

What have you already attempted?
https://docs.stripe.com/identity/handle-verification-outcomes

What are you working on?
user identity verification.

#

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

Question
My customers will create a setup intent to authorize me to automatically charge their card off-session periodically. I want to also allow them to revoke that authorization, but leave the payment method on file for future on-session manual payments. I'm not sure how to do this.

Related Request ID(s)
NA

What have you already attempted?
I see in the doc that setup intents can be canceled before they're confirmed but not after they're confirmed. I see in the dashboard that each of the customer's payment methods that's authorized for off-session payments in this way is associated with a setup intent object id, but I don't see in the API that the payment method object actually stores this setup intent id. In the setup intent object I see that the payment method id is stored, so I'm wondering if I should use the update function (https://docs.stripe.com/api/setup_intents/update) to blank out that payment method.

What are you working on?
Allow my customers to transition an existing payment method from authorized for off-session automatic payments to authorized only for on-session manual payments.

#

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

Question
I have a form component for collecting payment information (such as name, address, and card details), and I'm wondering if it's possible to reuse it when integrating with Stripe. I do not intend to store any of this sensitive data. What's the best approach to make this integration secure and efficient while keeping the existing form?

Doc/Guide Links
https://docs.stripe.com/checkout/custom/quickstart#set-up-frontend

What are you working on?
Integrating stripe in my app

cursive heronBOT
#

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

Question
One of our user has cancelled the subscription . Can you tell us how they cancel it. Do Stipe Send them Any emails before 7 days of auto charge ?
Do they provide any link to cancel it. In which they can mention the cancel reason also .

Related Request ID(s)
req_b17xojncalnswb,evt_1QlYBuCPNFWzQIezorpfEoBe

What have you already attempted?
I am trying to find out how they got into it.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/events/types

Question
I received an early fraud right some days after receiving a "payment_method.automatically_updated", where it looks like stripe updated the credit card information of a customer with some updated credit card number which is different from the one the customer used. I'd like to understand how this happens, since the customer didn't change/update the card from our systems.

What have you already attempted?
nothing, just need to clarify

What are you working on?
trying to understand when happens this thing

#

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

Question
If I'm using Stripe for KYC Verification and Connected Accounts to setup payouts, can I avoid having my users input their personal details twice? Also, can Connected Accounts be setup for individuals who are not necessarily sole traders but just users of my platform that isn't a marketplace?

Related Request ID(s)
N/A

What have you already attempted?
I've been reading the API docs and looking at provided examples + demos.

What are you working on?
I'm creating a react native app that allows users to buy our credits, use them and then get money back for their credits. The issue is going about how to configure users selling credits (payouts)

cursive heronBOT
cursive heronBOT
#

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

Question
I have a customer paying a contract 2/7 - 2/7 that renews annually. I want to change them to 6/1 - 6/1 billing cycle. How would I bill from 2/8 - 6/1 then have the new billing cycle start back on the new side?

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

What are you working on?
Case Management for organizations serving people with disabilities.

#

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

Question
I want to know what the best solution for my specific need. I am developing an application where users can sign up under a membership, or pay as you go. If they sign up under a membership, I will use the Stripe subscription API and charge them automatically. The user should also be able to downgrade to pay as you go.

If they decide pay as you go, then I need to collect their card details for future charges + make sure the card is valid. On pay as you go, the customer will only pay when they use a service, and it should have an authorisation hold until the service is complete. The customer can upgrade to a subscription.

I'm looking for advice on the best flow for this scenar

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

What are you working on?
SaaS

#

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

Link to the Doc/Guide in question
https://stripe.com/guides/charge-cards-101

Question
The page mention this: Our credit APIs can set credit limits and billing terms for each user and supports flexible repayment options such as weekly, monthly, etc. Platforms can make a single API call to retrieve the amount a business owes at any point in time, instead of manually calculating how much credit has been spent and accounting for refunds and disputes...
However, I can't seem to find APIs that do these things in the Stripe docs. Are they undocumented?

What have you already attempted?
Looked through https://docs.stripe.com/api and can't find anything about credit limits, billing terms, etc.

#

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

What did you expect to happen?
I disabled ACH credit transfers for invoices, I am expecting users to be able to pay for invoices using cards and bank transfers

What actually happened?
Users are still paying for invoices using ACH credit transfer even though I disabled it in October

Reproduction Steps
Check this transaction over here: https://dashboard.stripe.com/payments/pi_2QT6lynfCxLkSG4V1W0vgooh

Question
How are users still able to pay for invoices using ACH credit transfers even though I disabled it?

#

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

Question
I'm performing a PCI-DSS SAQ for a client that uses strip.com as their payment processing on their page. Is there a document or official position I can refer to as evidence to Stripes policy around not implementing or implementing SRI on js.stripe.com integrations? I've looked around a bit and I don't find many references to SRI. Thank you!

Doc/Guide Links
https://stripe.com/en-fi/guides/pci-compliance

What are you working on?
PCI-DSS SAQ

#

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

Question
We are trying to specify manual entry transactions from regular card not present transactions but I don't see a way to do that in the API docs. And how do we specify MKE vs MOTO?

Related Request ID(s)
n/a

What have you already attempted?
We've tried looking through all of Stripe's API docs but can't find anything referencing it. There is a 40bps difference in cost and obviously the risk profile is very different as well since MKE is card present manual entry and MOTO is card not present manual entry.

What are you working on?
Platform (PayFac) Account

#

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

Code
const collectedPayment = await collectPayment(payment);

Question
We are collecting payments using Stripe Terminal. How can we pull the customer's name and billing information straight from the credit card.

What have you already attempted?
We collect it using a default collection method, but no billing information is coming through automatically

#

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

Code
# Server
data = stripe.CustomerSession.create(
customer=customer_id,
components={"pricing_table": {"enabled": True}}
)
return Response(data=data)

# Client
<stripe-pricing-table
pricing-table-id={pricingTableID}
publishable-key={stripeKey}
customer-session-client-secret={customerSessionSecret}. # get client secret from server
/>

Question
With this approach I've exhaustively checked your documentation and it seems you deprecated the trial_period_days on Price and the only way to update a custom trial days besides 30 days it's on this

stripe.checkout.Session.create(
mode="subscription",
ui_mode="custom",
return_url="https://example.com/return",
line_items=[{"price": '{{PRICE_ID}}', "quantity": 1}],
subscription_data={"trial_period_days": 14},
)

but on Pricing Table I use CustomerSession not checkout

What have you already attempted?
I've tried update the trial period day on subscription.created webhook event after purchase the free trial and it works but on UI it shows the client that are 30 free trial days but it should show 14 since on the table is still 30

What are you working on?
Modify the default free trial on a Pricing Table with a CustomerSession

cursive heronBOT
#

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

Question
We have auto charge recurring . Can Stripe Send an email to Customer for their card Expiration before the auto pay deduction . So prevent failed payment

Related Request ID(s)
NA

What have you already attempted?
Need email to be sent.

cursive heronBOT
#

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

Error Message
Your card's expiration year is invalid.

Question
Since the new year there is this above error that comes up on our checkout side. I'm not sure if this is Stripe related or bank related.

What have you already attempted?
Nothing, looking for a direction

Reproduction Steps
checkout -> inserted a date of 10/25 with and w/o a full credit card and either option comes back saying it's expiration year is invalid.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/pay-by-bank

Question
Previous support query: #1319627416431497218 message

What have you already attempted?
I have an account with GBP currency settlement. I am _not_ in Germany.

The guide suggests I should be able to use "Pay by bank":

> Stripe accounts in the following countries can accept Pay by Bank payments with GBP currency settlement.
> United Kingdom

It does not work when I try.

```
curl https://api.stripe.com/v1/payment_intents
-u "$KEY:" \
-d amount=1099
-d currency=gbp
-d "payment_method_types[]"=pay_by_bank
{
"error": {
"code": "payment_intent_invalid_parameter",
"message": "The payment method type "pay_by_bank" is invalid....
```

cursive heronBOT
#

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

What did you expect to happen?
When creating a subscription with a determined number of cycles, on the last cycle a proration adjustment is automatically triggered by Stripe.

What actually happened?
A subscription is created with 3 cycles, the two initial invoices were generated correctly with the correct amount of the subscription, however, before generating the final invoice, a proration adjustment is created by Stripe,

Reproduction Steps
A subscription is created with 3 cycles, let the renewals occur, for the final cycle, the invoice should be generated with a proration adjustment.

Question
Why does stripe create a proration adjustment automatically, when no renewal dates or updates have been triggered? No updates are triggered via API. And usually, when triggering an update via API, we include the proration_behaviour value set to none. Here's an event ID for a proration adjustment automatically triggered by Stripe: evt_1QmijAHa8lMqdc2uiIlOkZaG

#

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

Question
I am trying to set up a dynamic session checkout which a connected account chooses who will be the application fees (B2B or B2C) I am lost a bit on the stripe fees please

Related Request ID(s)
None

What have you already attempted?
I have set up an application fee and I want to try to see the total fees stripe took from my application fee, I have used the charge object and payment intent I can not see the stripe fee so I can understand how much NET I have gotten

cursive heronBOT
#

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

Error Message
Your Stripe account balance has insufficient funds available. If your incoming payments aren’t enough to cover this refund, work with an Administrator or account owner to add additional funds to your Stripe account.

Question
This is for a connect account. I am wondering what the policy is on retrying this refund once funds land in their account. Do I need to manually send another API request? Does Stripe internally figure out what refunds it can automatically re-attempt, when funds become available?

What have you already attempted?
https://support.stripe.com/questions/fix-your-pending-refund#:~:text=Pending refunds require you to,pending refund after 45 days.

Reproduction Steps
https://dashboard.stripe.com/connect/accounts/acct_1I91DhENCQx4gDGo/payments/pi_3Qf9SSENCQx4gDGo14C9Hszl

What are you working on?
refunds

cursive heronBOT
#

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

Question
I want to make sure that when the user pays an amount 90% goes to the vendor and 10% will goes to the site as a fee for selling their product on site. I would like to understand what fields do I need to store it in the db? Only the stripe_user_id only?

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

What are you working on?
I am working on a marketplace.

#

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

Question
How can I create a custom checkout when selling digital products, where users pay in fiat and i recoeve the payment directly into my specified wallet eg USDC address to then be transfered to my hard wallet. All this without the user knowing anything except that they paid for the product normally.

Related Request ID(s)
N/A

What have you already attempted?
I am new to this

What are you working on?
Creating a checkout page for my estore

#

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

Question
I was curious if theres a way we can save a customers payment information in our application to allow charging of different accounts we have setup inside our account. Example. We want the customer to save their credit card or ACH information one time in our application but we can use this same payment method to charge using the different accounts we have inside our account. Right now we have 3 accounts inside our account and each one deposits to a different bank account.

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
I am developing a website to sell merchandise. I will be selling merchandise for clients on a website alistmerch.com and my registered company is BRAVE ENTERTAINMENT AND SPORTS MANAGEMENT LIMITED. I am based in ireland. I hope to be selling merchandise globally. I want to set uo stripe as my payment method linked to my business revolute account. How do I do this to the best possible way.

Doc/Guide Links
I have no links or documents to provide yet. The website is just being developed at the moment.

What are you working on?
My website is to sell merchandise for my clients that I have on my resume.

#

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

Code
export function FacilityParkerStripePaymentDetailsPage() {
const { paymentId } = useParamIds();
const [show, setShow] = useState( true );
const payment = useLoaderData() as Payment;
return <Container fluid>
<Row>
<Col>
<PageTitle>
Payment Details
</PageTitle>
{show && <ConnectPaymentDetails
payment={payment.paymentKey!}
onClose={ () => setShow( false )} />}
</Col>
</Row>
</Container>;
}

Question
What is the correct way to use the ConnectPaymentDetails react component when using destination charges (on_behalf_of)?

I get notified about the payment_intent.succeeded webhook and I store the payment intent id and the charge id, but plugging these in doesn't work for viewing the payment on the connected account.

What have you already attempted?
When I pass in a pi_ id or ch_ id, it doesn't load, when I manually put in a py_ that I found on stripe's dashboard, it loads properly, I'm not sure how my db was supposed to have this py_ id on hand

This is my PmtIntentCreateOpts
Customer = key,
Amount = price,
Currency = "USD",
CaptureMethod = "manual",
SetupFutureUsage = "off_session",
ApplicationFeeAmount = 100,
OnBehalfOf = acctKey,
TransferData = new () { Destination = acctKey },

What are you working on?
Parking Marketplace (I build Platform) Parking Garages are connected accounts

cursive heronBOT
#

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

Question
When I create a refund from a payment intent (that is linked to Stripe Tax Calculation). I know the tax reversal is created automatically. But how do I figure out how much tax was refunded. I cannot seem to get to the new tax ref ID so I know the reversal amount. I can see it in my dashboard. tax_1QoUgPJFLIdr0y4UtPaBPHtR

Related Request ID(s)
pi_3Qhs9ZJFLIdr0y4U1E2GU3ax, re_3Qhs9ZJFLIdr0y4U1vUtq4WB

What have you already attempted?
Checked the pi, the re, the taxcalc IDs, but I can't seem to get to the tax_.

What are you working on?
POS system that will record tax and update records if there's a refund.

#

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

Error Message
"Mandate options can't be updated after confirmation."

Question
Making payment on a subscription invoice resulting in the error from the API: "Mandate options can't be updated after confirmation."

req_O9Vx9QUxT71HTT

What have you already attempted?
Tried looking for documentation on what this error message means

cursive heronBOT
#

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

Question
I'm trying to create a test customer inside a rspec test. Everything works fine locally in dev mode (in browser).

But in the spec I get:

```
Stripe::APIError:
Invalid response object from API: "" (HTTP response code was 200)
# ./app/models/concerns/stripe_charge.rb:93:in `create_with_token'
# ./spec/factories/user.rb:19:in `block (3 levels) in <top (required)>'
# ./spec/factories/event.rb:23:in `block (4 levels) in <top (required)>'
# ./spec/factories/event.rb:22:in `times'
# ./spec/factories/event.rb:22:in `block (3 levels) in <top (required)>'
```

Related Request ID(s)
n/a

What have you already attempted?
Tried other stripe methods, e.g. listing charges, inside a spec and that worked. Set the api version to a recent version.

What are you working on?
billing system for event company.

#

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

Error Message
customer_tax_location_invalid
When `automatic_tax[enabled]=true`, enough customer location information must be provided to accurately determine tax rates for the customer.

Question
This seems self explanatory, but the customer and invoice have full billing and shipping information, the customer's "tax location status" says "Valid", Tax status and IDs says "Taxable".

The invoice "automatic tax calculation" shows "Shipping address Not determined"

Invoice: in_1QoW8nJ3HL2D6vdefY4SAe
Customer: cus_RR1JEG65JYb7km
Payment Attempt: req_GPOUATEfeiflMi

What have you already attempted?
I've attempted any combination of address settings I could find in the API. I have tests that go through all this functionality and succeed, but existing customers fail with that error despite showing "tax location status: Valid"

I've tried updating the customer with validate_location="immediately", but that didn't help.

What are you working on?
Converting existing API driven payment to use Stripe Tax from previous Avalara solution.

cursive heronBOT
#

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

Question
Create Session Checkout API with payment intent at a destination account. Additional fees?

Related Request ID(s)
None

What have you already attempted?
I have cacluated that stripe fees are 4.04% with my session checkout and I can not understand why. I have read the pricing list and it seems there is an additional fee somewhere? but not sure?

#

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

Question
Stripe Tap to Pay. can i generate terminal on backend and use mobile to only generate readers for terminal?

Related Request ID(s)
Tap to Pay

What have you already attempted?
hello!
I was asked to find how works Tap To Pay in stripe. Company wants connect Tap To Pay on mobiles but they want to create reader for terminal on mobile but terminal on web.

Could you please help me with does questions?

  1. Does the location of the created reader have to be the same as the location of the terminal?
  2. can i create a terminal on the web and use it on mobile? i wanted to create a terminal on the backend and use it on mobile

Any tips would be cool

#

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

Code
We have Stripe module for Magento. On checkout there is payment block with Card number, Expiration date and Security code. Issue is with Expiration date. When try to ender any month with year 2025 - it gives error: "Your card's expiration year is invalid." If put 2026 year - everything is fine.

Question
Can you please assist in this? Why only 2025 year is considered as invalid?

What have you already attempted?
Tried to put 2026 year and everything is fine in this case

#

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

What did you expect to happen?
The present function from the React Native Stripe Identity module to bring up the verification screen

What actually happened?
Code seems to work as expected (no errors, secret and id comes through fine and the developer dashboard shows request as expected), however, the verification flow doesn't pop up

Reproduction Steps
Follow this guide exactly, using react native expo

https://docs.stripe.com/identity/verify-identity-documents?platform=react-native&type=new-integraion

With any backend of choice

Question
Is the React Native Identity module not supported in expo? Popups aren't showing which is very odd

What are you working on?
A gaming app that required KYC verification

#

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

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

Question
How can I pre-populate the personal address of a connected account during the onboarding flow?

Related Request ID(s)
?

What have you already attempted?
The docs say that I can pre-populate any information when creating a connected account through the API. However I cannot find how to pre-populate the connected account personal address.

cursive heronBOT
#

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

Question
I am writing to inquire about an issue with the checkout.session.completed webhook.
Currently, this webhook is returning a 403 error at the following URL: https://osms-dmapi.lge.com/jsp/stripe_test.jsp
However, the setup_intent.succeeded webhook, which uses the same URL, is successfully returning a 200 response.

Related Event ID(s)
evt_1QoK4609hGunKqU8hG5cz00n

What have you already attempted?
I received it using the same URL on a different webhook, and it was
successful.

cursive heronBOT
#

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

Question
Were implementing stripe terminals. We're running into an issue when trying out test cases 5.02 and 5.03. If we try 5.02 our terminal asks to insert the card (this is a stripe test card and does not have a pin). The payment intent succeeds and we get the webhook payment_intent.succeeded. However when we try to process the next transaction stripe returns terminal.reader.action_succeeded error: Stripe event handler threw an error - Error: Reader is currently busy processing another request. Which is not true, there is no request on the terminal.

Related Event ID(s)
evt_3Qoc1VCaLkjsBQsV0vwSJ7md evt_1Qoc1aCaLkjsBQsVH3kcK677

What have you already attempted?
Everything but there is no clear reason WHY this is occurring.

What are you working on?
Stripe Server Driven Terminal Integration

#

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

Question
We are an existing Stripe account holder with other accounts "linked to/under" our account via Connect. We are working with another party who also has a stripe account and they are interested in having us setup Stripe connect with them where we become a connected account under them. The reason for this is that they want to be able to clone payment methods so that we can leverage them to process payments into our account.

I have 2 questions

  1. Since we use Connect already, will this work? Can a Stripe account having connect accounts under it be a Connected account on another Stripe account?

  2. How would access to our account work, can they see all our transactions?

Doc/Guide Links
https://docs.stripe.com/connect/accounts, https://docs.stripe.com/connect/how-connect-works

What are you working on?
Integration with existing Stripe customer, need a means to share payment methods

#

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

Question
I'm trying to tie a customer to each user in my database BEFORE checkout, so I can easily get customer details from the Stripe API whenever required. My issue is that I am using Direct Charges via Stripe Connect, and so I am getting an error, 'No Such Customer'. I assume this is because I am creating a customer object on the platform account rather than the connect account. Is it possible to 'share' the customer from the platform account to the connect account because that would be much better than creating a customer for every single connect account per user.

Related Request ID(s)
req_nkEPQCoHQlkOhJ req_IwPNLhPtHHgShr req_hzGrvE1vhosc5A

What have you already attempted?
I've read 'Share payment methods across multiple accounts for direct charges' (https://docs.stripe.com/connect/direct-charges-multiple-accounts), but that seems to be for sharing payment details. I want to instead share a customer object (as I haven't collected payment details yet)

#

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

Question
I have SaAs offering. I need to setup subscription for my sas customers. Can you help me with
the document reference for end-to-end solution?

Doc/Guide Links
Stripe Subscription document

What are you working on?
Stripe Subscription

#

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

Code
We have Stripe module for Magento. On checkout there is payment block with Card number, Expiration date and Security code. Issue is with Expiration date. When try to ender any month with year 2025 - it gives error: "Your card's expiration year is invalid." If put 2026 year - everything is fine.

Question
Can you please assist in this? Why only 2025 year is considered as invalid?

What have you already attempted?
Tried to put 2026 year and everything is fine in this case

cursive heronBOT
#

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

Question
How can we disable the website url requirement when using connect accounts?

Related Request ID(s)
none

What have you already attempted?
I've created a stripe account as an individual but when I create the onboarding link, it prompts me for a website url. I've tried using the controller property to disable the website url but this doesn't seem to work.

What are you working on?
a website where our application can send out reimbursements to our members when they upload a receipt.

cursive heronBOT
#

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

Question
I am unable to verify the security mechanism manually for webhooks. I have followed official stripe documentation and created signed payload, concatenated timestamp and then did sha 256 encryption but the result and v1 from header is not matching.

Related Event ID(s)
evt_1QoblBQEpmOqHln1rloK19UE

What have you already attempted?
Attempted steps given in the official documentation.

What are you working on?
Integrating webhooks for my application

#

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

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

Question
I want to ensure that when a customer makes a payment, card transactions are processed as direct charges, while PayPal payments are handled as destination charges using checkout session.

What have you already attempted?
I have tried destination charge for the card.

What are you working on?
I want to ensure card transactions are handled as direct charges

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/crypto/onramp/embeddable-onramp-quickstart?lang=node&client=html

Question
KYC on the form is not going through even though I have been trying valid details for test purpose it just doesn't go through and support link tells me bunch of stuff and my onramp fiat to crypto app is already approved while i am using, i don't know what's the issue and why it doesnt let me go through I can test it

What have you already attempted?
http://35.161.206.83/
The app is hosted here i just want to test it fro now and I am stuck when I provide KYC answers

What are you working on?
Just want to setup the onramp method on the website for crypto buying/selling

cursive heronBOT
#

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

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

Question
Can I log into more than one phone with my app details? So that I can have more than one person taking money?

What have you already attempted?
not tried anything yet

What are you working on?
have different phone that its log in to stripe to accept payment

#

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

Code
byte[] rawPayload = inputRoot.getLastChild().getLastChild().toBitstream(null, null, null, 0, 0, 0);
String payload = new String(rawPayload, StandardCharsets.UTF_8);
MbElement httpHeader = inputRoot.getFirstChild().getNextSibling().getNextSibling().getNextSibling().getFirstElementByPath("Stripe-Signature");
String sigHeader = httpHeader.getValueAsString();
Event event = Webhook.constructEvent(payload, sigHeader, endpointSecret)

Question
I am getting this error "Invalid signature: No signatures found matching the expected signature for payload" and not understanding where exactly the issue is.

What have you already attempted?
I have already tried verifying if the endpoint secret payload and signature is correct and is correctly being extracted from the input message.

What are you working on?
I want to extract the header, signature and endpointsecret from the payload and verify the signature.

#

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

Error Message
I raised a support request on Strip yesterday, but there seems to be a bug. It's been saying this for more than 12 hours

We've got it! Keep this tab open
Squarespace 1
~3 minute wait

Security codes
For your security, your support agent will provide you with the following code to verify their identity:

Question
Please could you cancel the request from my side so that I can raise another one?

What have you already attempted?
Closing the pop up / seeing if I could find Strip customer support email

#

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

Question
What would be the best practice to handle upgrading and downgrading a usage based product? I've been working on figuring out the best way to handle upgrading and downgrading subscriptions which have usage in them. I have two prices set up - one for the flat fee and one that uses a meter and is my usage based one. I've noticed that when I report usage to a price A, upgrade to price B and then downgrade to price A if it's in the same day the usage gets returned to price A in the end, but if I downgrade on the next day this usage doesn't show. Is this expected behaviour? Also how should I handle this - upgrading and downgrading these kind of prices in my app? I'm using Cashier.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/manage-billing-setup#mid-cycle-updates

What are you working on?
I've been working on figuring out the best way to handle upgrading and downgrading subscriptions which have usage in them.

cursive heronBOT
#

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

Code
//creating payment_intent via ajax <--SUCCESS
stripe = Stripe(publishableKey);
elements = stripe.elements();
paymentElement = elements.create('card');
paymentElement.mount('<element>') <--SUCCESS
paymentElement.on('change', function(event){
if(event.complete){
stripe.createPaymentMethod({
type: 'card',
card: paymentElement
})
} <-- FAIL

Question
I first create a customer & payment intent with the customer's data, then I create and mount a Card element. When the card information is complete, I try to create a payment method for the paymentIntent, but this is not working

What have you already attempted?
I have tried following the documentation here: https://docs.stripe.com/api/payment_intents

What are you working on?
A consumer to consumer shop for used items

cursive heronBOT
#

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

Error Message
Hello Stripe team,

While testing failure use cases via Stripe using the test card below, we are observing inconsistent payment statuses—sometimes receiving requires_action and other times failed.
We are setting payment_method_options[card][request_three_d_secure] to automatic because we intend to test only non-3DS flows. Can you help us understand why this happens?

Question
Is there a way to enforce non-3DS payments on Stripe?

What have you already attempted?
Failed Card:
Stripe Transaction ID:pi_3QoMdED5R7gDAGff01QLrqgG
{
"card_number": "4000000000009995",
"card_exp_month": "12",
"card_exp_year": "34"
}

Reproduction Steps
Additionally, while using the CVV check fail test card below, we occasionally receive a requires_action response even when attempting a non-3DS transaction.

CVV Check Fail Card:
Stripe Transaction ID: pi_3QoMdTD5R7gDAGff0rbklp6x
{
"card_number": "4000000000000101",
"card_exp_month": "12",
"card_exp_year": "34"
}

What are you working on?
Payments page

cursive heronBOT
#

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

Code
<PaymentElement
options={{ layout: { type: 'accordion' } }}
/>

Question
Card number input has dots on different levels when navigating to edit of redacted card

What have you already attempted?
Different examples on web

cursive heronBOT
#

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

Question
When generating a checkout (session) link through the PHP SDK for a subscription with one or more metered prices. e.g. let's say base subscription at $50, and two metered prices with API calls and emails sent - is there a way we can trigger Stripe to show the names of the meters? It seems to always show the product name and nothing else, which isn't very clear to customers in the overview when doing the checkout

Related Request ID(s)
req_D5rr6fNCgt4Qow

What have you already attempted?
when creating a session you have line_items.price_data available, here we have a name and description available, however, this seems to be generating new prices on the fly, and not using existing prices such as meters, or prices linked to a meter / usage based billing - seemingly we can't put a description on these meters that's visible to customers.

cursive heronBOT
#

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

Code
const { error } = await stripe.confirmPayment({
elements,
confirmParams: {
// Make sure to change this to your payment completion page
return_url: paymentRedirectUrl,
},
});

Question
We followed this checkout process from documentation https://docs.stripe.com/payments/quickstart?lang=node&client=react . Works really well on our website. Now we have a issue when our website is used inside an iframe. The issue relates to return_url which redirects the parent of the iframe.

What have you already attempted?
I only looked into documentation if there's any possible way of handling the redirect. But haven't seen any option

What are you working on?
Fix the redirect issue when our website is used inside an iframe

#

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

Error Message
I want help in testing just non-3ds transactions on stripe for cards.

Question
I want to know how to enforce non-3ds flow for cards on stripe?

What have you already attempted?
For now if I use test card 4242424242424242 sometimes the transaction goes to succeeded and sometimes it triggers required_action flow

Reproduction Steps
Stripe request id: pi_3Qok0iD5R7gDAGff17oRjXfj

#

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

Question
In CMD window where I initiated the command for listening events locally, I see successful events, but in the Stripe dashboard it's nothing there.

I'm listening for event from connected accounts:

stripe listen --forward-connect-to localhost:8080/webhook

event id example:
[evt_1QojwpGSblWe99uempmYyxtp]

On the other hand I see those event going to my test webhook (and they are failing obviosuly because I'm using local wh secret expecting the event to happen on local listener, not the live one (https://dev.api.afterfund.co/webhook
)

Related Event ID(s)
evntid: evt_1QojwpGSblWe99uempmYyxtp

What have you already attempted?
I tried disabling the https://dev.api.afterfund.co/webhook
webhook in test mode to see if events gonna start coming to local listener, but still nothing.

What are you working on?
Donations

#

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

Question
What is the best way to implement over Stripe API a subscription which goes 3 months and costs 120€ with the option to be paid monthly so 40€ per month?

Doc/Guide Links
No guide link or doc

What are you working on?
Stripe Subscriptions

#

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

Question
I have may existing active subscriptions and i want to update price for all of them from there next billing day. How can i do it so that it does not impact performance.

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Question
Is it possible to prefill the card details like card number, expiry, cvv with stripe? I'm using the CardNumberElement from @stripe/react-stripe-js.

Related Request ID(s)
None

What have you already attempted?
Gone through the docs and tried setting the value parameter. But it isn't working.

What are you working on?
I'm trying to pre-fill the card details from a generic magentic card reader.

cursive heronBOT
#

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

Question
I have usage-based subscriptions and I want to update the subscription with different prices, like a subscription upgrade, but without clearing the previous recorded usage. I have trying to use the subscriptions schedule api or just updating the subscription normally, but it always removes the previous usage. The new prices are from the same products and also use the same event meters

Doc/Guide Links
https://docs.stripe.com/api/subscription_schedules/create?lang=cli and https://docs.stripe.com/api/subscriptions/update?lang=cli

What are you working on?
a usage-based AI API, (like a speech to text API)

#

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

Question
How do I setup Test Clocks correctly? I'm currently in test mode and I'd like to test unpaid, past_due and other subscriptions statuses as well scheduled subscriptions if everything works fine - but I don't want to wait all the time for the cykle to expire in realtime. :) Thanks!

Doc/Guide Links
https://docs.stripe.com/billing/testing/test-clocks

What are you working on?
Subscription Schedules and failed payments

#

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

Question
I was told in "zerpy_api" thread that meter information should never be shown to the customer.
However, Stripe's own implementation guidelines suggest that to create products with a flat fee + metered usage (overages for example), should be done by creating a product with a flat fee price + a price linking to a meter.
This means the information about the metered pricing remains hidden from the customer, since all it shows is the product name.

If this is not the way to go, then what's the suggested workflow for flat + multiple metered prices (with info about what a metered price is)

Related Request ID(s)
req_D5rr6fNCgt4Qow

What have you already attempted?
Follow https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models - which suggests how to do fixed fee + overages model.

#

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

Code
const appearanceExpress = {};

    \_\_this.expressElements = \_\_this.stripe.elements\({ clientSecret, appearanceExpress }\);

    const expressCheckoutElement = \_\_this.expressElements.create\("expressCheckout", {
      layout\: 'auto'
    }\);
    expressCheckoutElement.mount\("\#express\-checkout\-element"\);

Question
https://docs.stripe.com/elements/express-checkout-element#create-an-express-checkout-element - Is not working. I want to enable gpay, apple pay, its enabled in my stripe account. My Application built in angular and Laravel. I am trying to load express checkout based on clientsecret

What have you already attempted?
If I try to mount express checkout empty page loads.

#

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

Question
How can I create a Stripe Connect account and verify at the same time with all necessary fields without redirecting the user to the account link

Related Request ID(s)
NA

What have you already attempted?
I have added the business details and personal information while creating a user account and enabled "card_payments" and "transfers" to true but the account is still restricted

#

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

Error Message
Element confirming payment is "expressCheckout", but stripe.confirmSetup() was not called within the "confirm" event. Please call stripe.confirmSetup() in the "confirm" event (https://stripe.com/docs/js/elements_object/express_checkout_element_confirm_event).

Question
Hi. I am using ExpressCheckoutElement for GooglePay and ApplePay. Most of the payments works well, but some of customers (like 15 from 1k) gets this type of error. I am using onConfirm attribute on <ExpressCheckoutElement/> and after few checks executing confirmSetup(). I can give more snippets of code if needed. Thanks in advance

What have you already attempted?
I somehow reproduced this error, when I'am trying to pay and closing the payment window after pressing Pay button, then opens another and pressed Pay again. Maybe you have some advices how to prevents this error or detect this and stop or decline the payment process.

#

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

Code
\Stripe\Stripe::setApiKey($settings['secret_key']);
$account = \Stripe\Account::create([
'type' => 'express',
'country' => 'US',
'email' => wp_get_current_user()->user_email,
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]);

Question
How do I create a user account with a saved card information that I can use to transfer money to

What have you already attempted?
I tried the above, but I got this error: You can only create new accounts if you've signed up for Connect

cursive heronBOT
#

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

What did you expect to happen?
I expect to be able to pay with any other payment method than cards, even if my saved card is expired

What actually happened?
If a user has only one card saved, and that card is expired, he can't pay with that card (obviously), but he can't even pay with other payment methods like Paypal or Google pay, because the Stripe library throws the card validation error even when another payment method is selected.

Reproduction Steps
Add a payment element to the page, pass a customerSessionClientSecret of a customer that has a saved card which has expired: when the element loads in the page, the expiry date shows as invalid. The problem is that can't pay with other payment methods like Paypal because the frontend call to `confirmPayment` returns the `"invalid_expiry_month_past"` error.

Question
How do I allow customers to pay with an alternative payment method, when they have one card saved and that card is expired

What are you working on?
I'm working on the checkout page for www.qwertee.com integrating Stripe payment element in our React site.

#

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

Error Message
com.stripe.stripeterminal.external.models.TerminalException: Tap to Pay reader not operating in secure process
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.checkAndThrowCotsError(Unknown Source:86)
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.access$checkAndThrowCotsError(Unknown Source:0)
at com.stripe.stripeterminal.in

Question
I am getting this error message when the app is installed from Play Store. If the app is install with signed APK (sideloaded) the error does not show and the Reader is discovered.

What have you already attempted?
I was looking at the difference between APK And the AAB.

Reproduction Steps
Install all from the play store.

#

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

Question
how can i apply coupon to invoice, nodejs

Related Request ID(s)
No

What have you already attempted?
const invoice = await stripe.invoices.create({
customer: customer.id,
currency: 'eur',
collection_method: 'charge_automatically',
default_tax_rates: [taxRate.id], // Add the tax rate here
metadata: {
order_id: order.id,
customer_email: customerEmail,
},
...(couponId && { coupon: couponId })
});

        if \(invoiceItems.length \> 0\) {
            for \(const item of invoiceItems\) {
                await stripe.invoiceItems
cursive heronBOT
#

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

Question
Is it possible to set up a spending limit for usage-based subscriptions, so that customers wouldn't have to pay more than the configured even though more billing events have been submitted?

Is there a better way than adding a coupon to the generated (draft) invoice to reduce it to the desired spending limit?

For example, a customer doesn't want to spend more than $100 per month, so the invoice should be capped at $100.

Of course we'd also make sure that this customer cannot generate more billing events for this subscription on our end, but we might not be able to do this to the _exact_ amount, so that the invoice might then come out with a total of $105 instead of $100.

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

What are you working on?
Subscriptions with spending cap

cursive heronBOT
#

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

What did you expect to happen?
We have in place the retry policy for failed one-off invoices
One of our invoices failed and it did not schedule a retry
It is using SEPA Direct Debit, does this retry policy apply to the SEPA Direct Debit?

What actually happened?
Bank blocked the transaction for one of our one-off invoices
Stripe did not schedule a Retry mechanism for this Failed even if we have it in place

Reproduction Steps
Failed Invoice -> Retry after X amount of days

Question
Why did this not work on our use-case?

What are you working on?
Charging the customers for our eLearning services

cursive heronBOT
#

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

What did you expect to happen?
i sent a payment link to my customer who paid the money and transaction was approved and i should be getting money

What actually happened?
My account was blocked and there is no clarity on money to be recieved

Reproduction Steps
Need help on this issue as its a big amount worth 25500 AEd

Question
Will it be credited to my account or will it be refunded to cusotmer.

What are you working on?
I'm the CEO of the company. K M K Electronics trading LLC

#

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

Question
Hello,

As part of an accommodation rental marketplace, I need to create connected accounts that will receive monetary payments.

Some of them are registered companies, others are ‘sole traders’, ‘auto-entrepreneurs’ or even just individuals.

Should I create these accounts with the ‘business_type’ parameter set to ‘individual’ or ‘company’? I understand that you have to use ‘individual’ but there are no longer any SIRET / VAT etc. fields.

Related Request ID(s)
https://docs.stripe.com/api/tokens/create_account

What have you already attempted?
I've managed to create both types of account, I just need information on how to use them properly.

#

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

Code
const handleSubscribe = async (priceId: string) => {
const stripe = await stripePromise;
const { sessionId } = await fetch("/api/create-checkout-session", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({ priceId }),
}).then((res) => res.json());

const result = await stripe.redirectToCheckout\({ sessionId }\);

if \(result.error\) {
  console.error\(result.error\);
}

};

Question
I’m encountering a 401 Unauthorized error when attempting to redirect users to Stripe Checkout for a subscription purchase in my Next.js application.

When clicking the "Subscribe" button, my app makes a request to create a Checkout session. However, I receive the following error in the browser console:

Failed to load resource: the server responded with a status of 401 ()

What have you already attempted?
Google / forms

What are you working on?
NextJS

cursive heronBOT
#

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

Question
I'm encountering an issue with the reporting API where I receive a successful response (200) for a report_run object with status "succeeded", but the body.result.url field is null. This occurs even after a 6-second delay between the initial request and checking the result. According to the documentation, the result field should be populated when status is "succeeded", but this isn't happening in my case.

Related Request ID(s)
"result": { "id": "file_1NUuNdCNPopWMODlMtHMofey", "object": "file", "created": 1689611677, "expires_at": 1721147677, "filename": "frr_1NUuJFCNPopWMODlnJOVXYgV.csv", "links": {

What have you already attempted?

  1. Verified the report_run status is "succeeded"
  2. Confirmed the error field is null, indicating no errors
  3. Implemented a 6-second delay between the initial request and checking the result
  4. Reviewed the API documentation which indicates the result field should be populated when status is "succeeded"
  5. Double-checked that all required parameters are correctly provided in the initial request

What are you working on?
I am maintaining an integration between Stripe and Qonto

#

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

Code
if (window.innerHeight > 900) {
iframe.style.height = "75vh"; // For screens greater than 1600px
} else if (window.innerWidth <= 768) {
iframe.style.height = "75vh"; // For mobile devices
} else {
iframe.style.height = "90vh"; // For normal desktops
}
iframe.style.maxHeight = "787px"; // Set maximum height to 768px
iframe.style.border = "none";
iframe.style.borderRadius = "20px";
iframe.allow = "payment;";

Question
On Different domain than ours, we host our website in iframe.
When we are using staging environment, ApplePay payment in Iframe is working fine at client site, but when we use it in prod environment, ApplePay button is not getting rendered. We tried running it in Safari 17+ Browsers, Same issue is occurring.

What have you already attempted?
- We added iframe.allow = "payment;" parameter inside our code, its not working
- We followed stripe docs (https://docs.stripe.com/stripe-js/elements/payment-request-button?client=react#testing) but no luck, its not getting rendered in prod site.

What are you working on?
Apple Pay Button Not Displaying in Iframe on External Domain

#

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

Code
<PaymentElement options={{ layout: 'accordion' }} />

Question
I'm trying to use CheckoutProvider in https://docs.stripe.com/checkout/custom/quickstart#initialize-checkout for custom embedded checkout. However during testing after filling out all the info, `canConfirm` from `useCheckout` keeps returning `false`.

Checkout session req: req_GCmcebjffzSl3Q

What have you already attempted?
Forcing confirmation yields the error:

custom-checkout-85c6…c9b96f3c567585.js:1 Uncaught (in promise) IntegrationError: A billing address is required for automatic tax calculation to confirm this Checkout Session.

What are you working on?
Embedded checkout

#

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

Error Message
com.stripe.stripeterminal.external.models.TerminalException: Tap to Pay reader not operating in secure process
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.checkAndThrowCotsError(Unknown Source:86)
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.access$checkAndThrowCotsError(Unknown Source:0)
at com.stripe.stripeterminal.in

Question
Getting this error when app is installed from play store, signed APK sideloaded works correctly

What have you already attempted?
i have checked gradle, discors channel pointed me to GIt issue, but it has been closed.

#

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

Error Message
https://dashboard.stripe.com/test/logs/req_V10J3ovOPGnL9g?t=1738684812

Can only apply an application_fee_amount when the PaymentIntent is attempting a direct payment (using an OAuth key or Stripe-Account header) or destination payment (using `transfer_data[destination]`).

Question
Is this a sandbox bug? Note that the request log page reports that "application_fee_amount" is required, but it is definitely included in the request. It indicates that there was no Stripe-Account header but I am very certain I did include it, is there a way to see all the sent headers?

What have you already attempted?
run test that works on non-sandbox account, then run same test on sandbox account in order to stand up sandbox account.

Reproduction Steps
send "create payment intent" request including stripe-account header and application fee amount on a sandbox test account.

What are you working on?
moving existing test suite from non-sandbox test account to sandbox test account

cursive heronBOT
#

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

Error Message
The latest attempt to set up the payment method has failed because authentication failed

Question
I use Stripe Elements for customers to make payments or enter card details on behalf of connected accounts. Serveral users have complained that they get the above error when submitting their card details. The users do not see a bank pop-up screen appear and so the authentication process hasn't got that far. Error shown can be seen in Stri

What have you already attempted?
When users enter different card details, the process completes without error. I have ascertained, from the Stripe dashboard, the the issue is not related to any particular card type

What are you working on?
An asp.net web application

#

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

What did you expect to happen?
Expected running simulation on failed invoice to attempt payment on the invoice again. (I've used this feature many many times in the past)

What actually happened?
Advanced time and nothing happened to the invoice

Reproduction Steps
Create subscription using test card that declines after attaching, first payment on invoice fails, advance time on subscription, nothing happens to invoice

Question
Is this feature broken right now?

#

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

Question
Is that possible to understand how big was Stripe Fee for a payment_intent? Most preferably from the payment_intent.succeeded

Related Request ID(s)
--

What have you already attempted?
We tried calculating it manually based on the information from the Stripe documentation

cursive heronBOT
#

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

Question
I want to know how I can find out the ID of a SQL query created in the sigma module. It starts with the letters srq, since I need access to it to create a macro from Excel that can connect to the resulting data for the automatic filling of a table.

Related Request ID(s)
Run a macro

What have you already attempted?
I want to know how I can find out the ID of a SQL query created in the sigma module. It starts with the letters srq, since I need access to it to create a macro from Excel that can connect to the resulting data for the automatic filling of a table.

What are you working on?
An Excel Dashboard that fills in automatically through running a macro.

#

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

Code
'.Tab--selected:hover': {
color: '#7a7a7a',
backgroundColor: '#E5EBF0',
colorIconTabSelected: '#7a7a7a',
},

Question
Is it possible to dynamically change the tab icon color on hover using appearance.rules, or is this behavior locked to the initial configuration of appearance.variables?

What have you already attempted?
This rule successfully changes the text color and background when I hover over the selected tab. However, it does not change the icon color in the tab. The icon still uses the default color set in colorIconTabSelected.

What are you working on?
Payment element styles

#

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

Question
Question about pricing strategy (mainly for subscriptions)

So the first business requirement is:
In the middle of subscription period client should be able to add (extend) some products to the current subscription. While I havent seen this kind of features anywhere (I think it is a issues-prone solution), I am curious if there is any solution to this sort of requirements.

The second question is:
Can I use "daily" subscriptions but accumulate per day charge to a particular period?
For example there is rental service for n-days / weekly / monthly. Can I use the same subs API for n-days rental and aggregate n-days (for example 5) to a once charged subscription?

Doc/Guide Links
none -_-............

What are you working on?
Online service for renting bikes

#

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

What did you expect to happen?
When I create a subscription schedule I pass specific metadata to the schedule.

What actually happened?
Once the schedule takes action (start date reached) the new subscription has no metadata?!

Reproduction Steps
Active subscription: sub_1QoqRPLZihhBkt1crrGBZpx3

Upcoming Subscription Schedule:
sub_sched_1QoqSoLZihhBkt1ckqBRplMe

Question
Hi, whenever a customer downgrades his subscription, we're planning a subscription schedule and passing important metadata which doesn't apply to the new active subscription

What are you working on?
Subscription Downgrades with Schedules

#

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

Error Message
Unable to verify stripe event: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing

Question
I use buildship for webhooks and I have this error when i receive event

What have you already attempted?
I use buildship for webhooks and I have this error when i receive event

cursive heronBOT
#

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

Question
Did something change with the response object for requests to GET /v1/accounts/acct_xxxxxxxx this used to return a top level 'email' property with the account's email address, now it doesn't?

Related Request ID(s)
req_cTkXyC7IrJmONk

What have you already attempted?
Our app is using API version 2015-10-16, I've tried a few other API versions as well without success.

cursive heronBOT
#

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

Question
I'm trying to model a subscription with an initial, higher price for the first year, followed by a cheaper renewal fee for every year after that. Is subscription schedules what I would use to achieve this?

Doc/Guide Links
* https://docs.stripe.com/billing/subscriptions/subscription-schedules
* https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases
* https://docs.stripe.com/api/subscription_schedules

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

cursive heronBOT
#

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

Question
I'm trying to enable "manual_capture" of credit card information to execute a gas pump style pre-authorization of a card.

Related Request ID(s)
I've read some of the related documentation, and seem to have found the place where testing of this functionality is in my account, but cannot make any lasting changes.

What have you already attempted?
I am simply not someone who knows how to code. It seems like the functionality is available, but I don't know how to enable it.

What are you working on?
See above.

#

@arctic 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://docs.stripe.com/subscriptions

Question
Is it possible to move a subscription from one customer to another? We have a customer that wants to retain history on their subscription but they didn't use a shared email for our service.

What have you already attempted?
I haven't found anything obvious in the documentation or other sites via google.

What are you working on?
Fleet subscriptions

#

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

Question
When the event paymentRequest.on('paymentmethod') if fired, at that moment does the money have been deducted from the user payment method? or they will be deducted after we call stripe.confirmPaymentIntent

Related Request ID(s)
non

What have you already attempted?
non

What are you working on?
Using the React component PaymentRequestButtonElement

#

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

Question
Is it possible to include a footer in the default Stripe receipt?

Related Request ID(s)
n/a

What have you already attempted?
I have added a default footer text in the "settings/billing/invoice", which says "This will appear in the invoice and receipt PDFs."

However, after sending a test receipt to my email, it does not include the footer

What are you working on?
We're build a website to purchase a new hardware product, along with a membership

#

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

Question
Hi,

We have been advised by Stripe support that we need to use destination charges, while our current implementation is using direct charges.

Currently we're creating Customer and SetupIntent objects directly on connected accounts by passing in the 'stripe_account' option using the PHP SDK, and then to process payments we create the direct charges using PaymentIntent.

Will I be able to clone the Customer/SetupIntent/PaymentMethod objects to the platform account in order to process payments using `transfer_data`?

Is that the best way to do this? Are there other options?

tl;dr Best way to migrate from using direct charges on connected accounts to destination charges?

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges-multiple-accounts
https://docs.stripe.com/api/payment_intents/object#payment_intent_object-transfer_data

What are you working on?
We have a Stripe platform account that onboards connected accounts so that their clients can use our SaaS platform to make payments to them.

#

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

Code
Financial Connection - Transactions

Question
Hey Everyone, I am really struggling to set up a basic system for getting using the financial transactions product. I cant seem to get the auth working and wanted to know if anyone had any resources or tutorials outside of the stripe docs that might be helpful. I have tried in both javascript and python and cant seem to get the user auth request pulled up. For whatever reason the GET request to sign the user in never works for me. I am really just trying to test this out.

What have you already attempted?
Python, Strike SDK, javascript frameworks to get it working quickly.

What are you working on?
health care transaction matching for payment validation.

#

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

Question
I’m facing an issue with Stripe’s webhook system while working in development mode using the Stripe CLI. Specifically, the webhook is triggered successfully when I run the stripe trigger checkout.session.completed command in the terminal, but it does not trigger when a user successfully completes and submits the checkout form.

Related Event ID(s)
Dev mode

What have you already attempted?
CLI

What are you working on?
Nextjs

cursive heronBOT
#

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

Error Message
Charges are paused
Contact support for more information.

Question
We cant accept payouts our site wont accept card payments and we have an online small buisness that relys on strip

What have you already attempted?
Contact support via website, no reply need to fix this asap

#

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

Question
Is it possible to combine payment methods into one source_transaction? My payment scenario is: I have Stripe Connect sellers on my platform, who may use their available balance to purchase e-commerce items on the platform. I would now like to add a feature that would charge a separate source, like a cc, for the remaining if the available is insufficient towards the total. My idea is to: 1. create a direct charge from cc to connect account for the remaining amount. 2. use the available balance to cover the total. The problem I can foresee with this solution is that the funds generated in step 1 might not have settled yet for them to use to make the total purchase in step 2.

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges
https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=elements

What are you working on?
Online marketplace - physical goods with buyers and sellers

cursive heronBOT
#

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

Question
Hi, there we got a webhook for subscription `sub_1Qn4LBDyl4lnF0w3Z5JvvnYp` but I can't find it in the dashboard, can you please help me find it?

Related Event ID(s)
evt_1Qn4LFDyl4lnF0w3ggAKCNkP

What have you already attempted?
Searched in the dashboard

#

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

Code
// File: scripts/gpt4-test.js
import { stripeAgentToolkit } from '../index.js';
import dotenv from 'dotenv';
import Stripe from 'stripe';
import { exec } from 'child_process';
import { promisify } from 'util';

dotenv.config();

const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, {
apiVersion: '2023-10-16'
});

// Enhanced MODEL_CONFIGS with additional metadata
const MODEL_CONFIGS = {
'gpt-4': {
api: 'OpenAI',
label: 'GPT-4',
inputPrice: 0.04,
outputP

Question
I'm trying to build a test script where I want to test the credit burndown model
I want to charge my customers based on in and out tokens, the user will have to provide a minimum 5$.
so once the credits are granted I want the token usage to be reflected on the credits
another issue the AI models I use are priced as 0.0012$ per 1k tokens and I get that the stripe limit is 0.01$

What have you already attempted?
so far I was able to create a meter, customer, and track tokens .

What are you working on?
My app charges users based on input output tokens of various AI models

cursive heronBOT
#

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

Question
Tap To Pay SDK -> Android/iPhone

Related Request ID(s)
TTP SDK

What have you already attempted?
Hi
I would like to connect Tap To Pay on iPhone/Android in Stripe and I have some questions.

  1. I see such option :
    Use iPhone SDK and Android SDK and on the backend generate only connection_token before creating the terminal . Are there any other solutions? I want the phone to serve as a terminal in the simplest way, that is, I create a payment to the customer and he pays it

  2. In the SDK, does it create a new instance of the terminal every time I click CREATE PAYMENT, or should it load the terminal once?

cursive heronBOT
#

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

What did you expect to happen?
my account got banned "' and im wondering if i get my account in balance

What actually happened?
my account got banned "' and im wondering if i get my account in balance

Reproduction Steps
please just help me i understand if idont

Question
my account got banned "' and im wondering if i get my account in balance

#

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

#

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

Question
How can I have StripeTerminal API in my objc project successfully discover my Chipper2x reader after the reader is discovered / connected, powered off, then powered back on?

Related Request ID(s)
No ids relevant here necessary

What have you already attempted?
I have logged things to death tracking where the issue is originating but no success. The reader is discovered and connects every single time the FIRST time my app launches. subsequent searches never work

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/automations#choose-filter-conditions

Question
In automation, do we have a condition for is not in invoice metadata?

What have you already attempted?
I check the automation steps and I can't see any option aside from exact match.

What are you working on?
I want to exclude the invoice that has a metadata when invoice is due and mark it as uncollectible.

cursive heronBOT
#

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

Question
How can I trigger the documents.proof_of_registration.files and company.verification.document requirements to test Connect? Additionally, I would like to be able to trigger the verification.proof_of_liveness on the Person object.

Related Request ID(s)
req_brBF1ZZB2ewPyZ

What have you already attempted?
I have tried to purposefully fail director verification by submitting mismatch_director as the first name on the Person object, however, I have not triggered any of the above requirements.

What are you working on?
openunit.com

cursive heronBOT
#

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

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

const [postCreateConnectionToken] = usePostCreateConnectionTokenMutation();

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

Question
I did not have enough space to paste in all the relevant bits of code. We use Tap to Pay on Android and iPhone. We are regularly seeing:

The client_secret provided does not match the client_secret associated with the PaymentIntent.

But cannot work out why it is happening. Have you seen this occurance and any suggestions of debugging it. We feel like it is when the phone is left idle.

What have you already attempted?
- I have reread the installation documentation.
- Added some logs but am going to add further.

What are you working on?
In person payment app for charities.

cursive heronBOT
#

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

Error Message
Deadline
16 May 2024 (overdue)
Impact
Payments paused
Payouts paused

Question
I paid Julia Cordray back her full amount of my service through my bank account and issue was resolved that way due to being complicated via the stripe app :(

I had attached both amounts within the notes of the receipt

Hey! I’ve paid $188.00 to Julia Cordray (BSB: 012227 ACC: *****4834) for Refund from online pt services at 03:14pm on 3 May 2024 Ref: ESFHAU21XXXN

What have you already attempted?
Hey! I’ve paid $188.00 to Julia Cordray (BSB: 012227 ACC: *****4834) for Refund from online pt services at 03:14pm on 3 May 2024 Ref: ESFHAU21XXXN20240503DA0000260773020 via ubank 💸 and I supplied a screenshot to the website for appeal as well

Reproduction Steps
Attached this receipt in text withing the notes of the overdue amount and also supplied screenshots

What are you working on?
I have a new client that I am trying to integrate into everfit app and would like to resolve issues please

#

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

Error Message
Bolling

Question
I canceled my account on December 29, but now money keeps being debited from my credit card!!
I cannot reach anyone and have already filled out a contact form several times to find out.
I want this to be stopped immediately and I want my money back.
I have proof that my account has been canceled and I find it quite difficult that I can easily create an account, but

What have you already attempted?
I have contacted her several times through the website and filled out the contact form and I would receive a message within 1 working day, but that has to happen now!

Reproduction Steps
I want my money back

What are you working on?
Nothing now i quit with the online business

#

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

Question
Is there a way to specify when creating a subscription schedule that I want the first invoice finalized immediately?

Related Request ID(s)
req_qNlsnY150moLbK

What have you already attempted?
I checked the documentation for a way to specify this:
* https://docs.stripe.com/api/subscription_schedules/create?lang=curl&api-version=2024-11-20.acacia

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

cursive heronBOT
#

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

Question
im using PaymentIntent service for subscription payment and i want to give 1 month or 15 days free trial to my subscription features along with these before starting free trial i want user to add card details and once free trial completes it should charge for next months subscription
my backend is in .net and frontends are on React JS and Flutter

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

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

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

Question
Can we override the product name in the invoice?
Instead of using the product name, can we change the product name in the invoice?

What have you already attempted?
I can't find any approach on this one.

Ex.
Product name: Basic
But on invoice, i want to change it to Basic-Lifetime

cursive heronBOT
#

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

Error Message
Trying to log into the account, but sms didnt came. Is there any problem,?

Question
Trying to log into the account, but sms didnt came. Is there any problem,?

What have you already attempted?
Trying to log in for the last 15 minutes

#

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

Question
Hello, I tried checking out a user for a subscription via the creation of a Checkout session. But once the user has paid, the invoice created does not contain the entered billing address, which is weird. Is there any way to use the entered billing address in the Checkout in the invoice as well so it is also displayed?

Related Request ID(s)
evt_1QoqLiRv6YBLclfsZouWd5Q3

What have you already attempted?
Contacted Stripe customer support

What are you working on?
SaaS product

cursive heronBOT
#

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

Question
Hi, I'm a developer working at a payment service where all customers are connected to a facilitator account using "Stripe Connect". The customers have already completed their KYC themselves. After they connected we store their auth token for future purchases or transactions.
Due to an organizational restructuring, we need to create another facilitator account. Can we migrate all our existing customers to the new facilitator account? If so, will this require a new onboarding process, and will customers need to complete KYC again?
If it's possible, where can I find documentation ?

Related Request ID(s)
pm_1PVricCC5iVY5zmKaLl3unNT

What have you already attempted?
We tried to find some docs, to migrate

cursive heronBOT
#

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

Code
I am working on free plan subscription to paid plan subcription transition functionality i am creating a new subscription and when transition from free to paid i am updating the current subscription

Question
My requirement is i have billing rules
BillingRule-1: Monthly & Month-to-Month Subscription
Free Trial Ends On First Charge Covers Next Billing Date
Feb 12 (M1) Feb 12 - Feb 29 (prorated) March 1
Feb 28 (M2) Feb 28 - Feb 29 + Full March April 1
BillingRule-2: Annual Prepay
Subscription Date First Charge Covers Next Billing Date
May 28, 2024 May 28, 2024 - May 28, 2025 May 28, 2025
so my requirement is i want to implement these rules and make billing cycle to 1st of each mont

What have you already attempted?
What i am doing is while transition from free plan to paid plan im cancelling free subscription and creating new paid subscription with billing cycle anchor to 1st of each month

What are you working on?
I am working on billing system with some billing rules

#

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

Question
Following up on this thread: #dev-help message

The issue still remains. Here is most recent response from the API:

"result": {
"id": "file_1NUuNdCNPopWMODlMtHMofey",
"object": "file",
"created": 1689611677,
"expires_at": 1721147677,
"filename": "frr_1NUuJFCNPopWMODlnJOVXYgV.csv",
"links": {
"object": "list",
"data": [],
"has_more": false,
"url": "/v1/file_links?file=file_1NUuNdCNPopWMODlMtHMofey"
}

Related Request ID(s)
file id: file_1NUuNdCNPopWMODlMtHMofey

What have you already attempted?

  1. Verified the report_run status is "succeeded"
  2. Confirmed the error field is null, indicating no errors
  3. Implemented a 6-second delay between the initial request and checking the result
  4. Reviewed the API documentation which indicates the result field should be populated when status is "succeeded"
  5. Double-checked that all required parameters are correctly provided in the initial request

What are you working on?
Maintaining integration between Stripe and Qonto

#

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

Question
My goal is to fetch invoices from stripe and send them via email. I want to send the email in the correct language to the customer. To do that, I check customer.preferredLocales and act accordingly. In 90% of the cases this works, but sometimes customer.preferredLocales ist empty. However, the invoice PDF generated by stripe is in German. Therefore, there needs to be some other place where the language is stored. Can you guide me? Thanks!

Related Request ID(s)
None specific

What have you already attempted?
I tried to get the data from customer.preferredLocales, but it is empty

What are you working on?
A tool that sends e-invoices based on stripe billing

#

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

Question
Can I use my own android phone as a reader inside my website app via the javascript SDK?

Related Request ID(s)
na

What have you already attempted?
I've had a look and found the reader info for my phone, it just doesn't mention in the docs if I can use that as a reader so my app can send the payment to it

What are you working on?
nextjs app

#

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

Question
my account got deactivated due to a dispute with a client and he payed for my service i need help on this thanks.

Related Request ID(s)
pi_3QnPTKLEMA6JVEBQ1gk8Ap9X

What have you already attempted?
contacted stripe support

What are you working on?
to activate my stripe account again

#

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

Code
'.TabIcon:hover': {
fill: '#7a7a7a ' // Changes icon color on hover
}

///////

'.Tab--selected:hover': {
color: '#7a7a7a', //Changes text color on hover
fill: '#7a7a7a' // Does not apply to the icon
}

Question
Since text color inside the tab reacts to hover but the icon doesn’t, this feels like either a limitation or a bug.

Could you confirm if this is expected behavior, or if there's another way to achieve this? Any suggestions would be greatly appreciated. Thanks!

What have you already attempted?
While styling the Payment Element, I noticed that hover does not work on the tab itself to change the icon color, but it does work directly on the icon.

At the same time, the text color inside the tab updates correctly on hover, which makes this behavior inconsistent. This seems like a possible bug, or maybe I’m doing something wrong.

What are you working on?
Payment Element

#

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

Code
const stripeSession = await stripe.checkout.sessions.create({
customer: stripeCustomer.stripeCustomerId,
line_items,
payment_method_data: {
application_fee_amount: Math.round((Number(riderLogExists.netDriverPayout + riderLogExists.riderPercentageFee)) * 100),
},
stripeAccount: stripeAccountId.stripeAccountId,
});

Question
I am getting an error:
1 of 2, '(params?: SessionCreateParams, options?: RequestOptions): Promise<Response<Session>>', gave the following error.
Object literal may only specify known properties, and 'application_fee_amount' does not exist in type 'PaymentMethodData'.
Overload 2 of 2, '(options?: RequestOptions): Promise<Response<Session>>', gave the following error.
Object literal may only specify known properties, and 'customer' does not exist in type 'RequestOpti

What have you already attempted?
I was refering the doc https://docs.stripe.com/connect/direct-charges
where I can split payments between my platform and the driver.

What are you working on?
I am working on a ridesharing app.

cursive heronBOT
#

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

Question
We would like to have them (the sellers) pay for the Stripe fees so we switched from Destination to Direct Charges.

The problem is that the branding, when paying, is that of the seller and not the platform. Is there a way to achieve both outcomes (Stripe fees on seller and platform branding)? Thanks in advance

I read that maybe Custom/Express accounts are needed but it would be better to get confirmation here, and if we did use them would we be able to change the name as well? For the branding in the payment page

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

https://docs.stripe.com/connect/accounts

What are you working on?
Our platform allows sellers to advertise and sell their services to clients -- so we're using Stripe Connect for this.

#

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

Code
$account = $stripe->accounts->create([
'business_type' => 'individual',
'type' => 'express',
'country' => 'FI',
...
]);

Question
These connected accounts are for individuals. Not businessses. Am I doing it wrong, since in the Onboarding the user is asked about their company: which area of business, what's their website. As a person, instead of company, they will not have such information and it confuses them.

Or do I need to take embedded onboarding into use to bypass this section?

What have you already attempted?
Reading the docs here: https://docs.stripe.com/connect/onboarding

What are you working on?
Consumer to Consumer second hand marketplace

#

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

Question
How to manually add a new payment method as an existing customer?

I know that once I've done a payment as a customer with stripe payment elements, the payment method gets saved in the customers profile.

But what if he wants to manually add a new payment method like paypal - how could I achieve this?

Imagine this case: The customer has a active subscription and wants to change his payment method to another one which hasn't been used yet. I'd expect a button "Add payment method" where the user can fill out his payment methods and save it for further charges.

Is that even possible?! Thanks!

Doc/Guide Links
https://docs.stripe.com/api/payment_methods

What are you working on?
Subscription Charges

#

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

Question
Is it possible to group line items when creating a stripe session. I have products that have configurations, I'd like to have a header for the lead product followed by configuration items which in turn have a price

Related Request ID(s)
req_S2e7OmtXoClcEu

What have you already attempted?
A the moment I'm passing all line items and the checkout just lists them all.

#

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

Question
I am not receiving the invoice.paid webhook upon completed one time purchase. I'm in test mode, the payment goes through, the checkout session is on payment mode. But i do not receive the webhook. It doesn't fail or succeed,it simply doesn't fire.

Related Event ID(s)
we_1Qp3L9LUgYCbUJD97qy8t6WC

What have you already attempted?
I attempted the same code on subscription mode with a subscription product and it ware firing perfectly fine. But wont fire on a one time payment on payment mode

What are you working on?
A premium version of my discord bot

#

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

Error Message
The card_present source type with currency eur is not supported in US.

Question
Hello team, I hope you're doing great !
We're testing our Stripe Terminal integration and need to simulate in‑person NFC (card_present) transactions using EUR, for an European Stripe account. However, our current sandbox environment returns the error: 'The card_present source type with currency eur is not supported in US.'

What have you already attempted?
If we change the currency from EUR to USD, then the payment goes through with no issue. I assume it has something to do with the "reader's location" but we're not using any reader yet, just simulating it.
Do you know what could be wrong? Thanks!

Reproduction Steps
POST {{hostname}}/api/payments/nfc
Authorization: Bearer {{token}}
Content-Type: application/json

{
"tripId": 1,
"amount": 50.00,
"currency": "EUR"
}

cursive heronBOT
#

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

Question
Sorry me again, i'm setting MetaData on the checkout session. It gets passed down to invoice.paid at both the top level and subscription level when mode is subscription. However, it doesn't seem to be getting passed down when mode is payment. I'm not sure if this is intentional or i'm doing something wrong

Related Event ID(s)
we_1Qp3L9LUgYCbUJD97qy8t6WC

What have you already attempted?
I have attempted to pass down metadata in invoice.paid for subscriptions and it does it. However, it does not get passed down on payment mode.

What are you working on?
A premium version of my discord bot

#

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

Question
I need the meta data from charge.succeed webhook

Related Event ID(s)
evt_3Qp4EoIxw1u7K45r0YBsTm2h

What have you already attempted?
i can't think of anything to use beside it

What are you working on?
Using Laravel Cashier, to save subscription record in a diff db table and if user purchases a forever-plan/one-off fee then set that user to lifetime

#

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

What did you expect to happen?
Apple Pay to complete the payment.

What actually happened?
Apple Pay shows processing and then the dialog "processing" area remains empty. I couldn't spot anything in console or network tab.
The weird part is that the payment goes through apple pay on iPhone, it went through MacOs once but the problem occurred every time onwards.

Reproduction Steps
Try to buy any product with Apple Pay. Here's a product link: https://app.bananashop.ai/store/moremo2/product/moremo-advanced-lpp-shampoo

Question
What's wrong that ApplePay payment goes through same MacOS device once but is stuck after "processing" subsequent times.

What are you working on?
Ecommerce Store

#

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

Code
import { PaymentElement } from '@stripe/react-stripe-js'; <PaymentElement
options={{
defaultValues: {
billingDetails: {
email: 'xyz@gmail.com',
},
},
layout: 'tabs',
paymentMethodOrder: ['card', 'apple_pay', 'google_pay'],
}}
/>

Question
The email field does not show up in the UI

What have you already attempted?
Read your docs

#
cursive heronBOT
#

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

Question
Is there option to create and share payment method across connected accounts customers. I was imagining to create payment method on main/top account, and use ID of payment to assign to multiple customers across connected accounts (which are same user, but different custID in stripe)

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

https://docs.stripe.com/api/payment_methods/attach

What are you working on?
Donations

#

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

Code
byte[] rawPayload = inputRoot.getLastChild().getLastChild().toBitstream(null, null, null, 0, 0, 0);
String payload = new String(rawPayload, StandardCharsets.UTF_8);
MbElement httpHeader = inputRoot.getFirstChild().getNextSibling().getNextSibling().getNextSibling().getFirstElementByPath("Stripe-Signature");
String sigHeader = httpHeader.getValueAsString();
Event event = Webhook.constructEvent(payload, sigHeader, endpointSecret);

Question
We are trying to process the stripe Webhook event by extracting the JSON Payload and Stripe Signature and verify the authenticity of the webhook. But we are not able to verify the Stripe signature we are getting the following error
"com.stripe.exception.SignatureVerificationException: No signatures found matching the expected signature for payload".

What have you already attempted?
We gave tried to extract the payload and signature from the input message and it is successfully being extracted but we are not able to construct this event
Event event = Webhook.constructEvent(payload, sigHeader, endpointSecret);
We are getting the mentioned error.
We have already cross checked the endpoint secret, format of the payload and stripe signature it seems right.
We have also referred the possible Stripe documents but no luck.

What are you working on?
We are able to verify the Stripe Signature

cursive heronBOT
#

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

Question
We are currently in the process of upgrading to Stripe library version 28.1.0 and have encountered a couple of issues.
In your documentation, we noticed that the charges property on the PaymentIntent object has been removed, with the suggestion to use the latest_charge property instead. Prior to the upgrade, we accessed the Charge object via paymentIntent.getCharges() and retrieved the first element. Following the new guidance, we have switched to paymentIntent.getLatestChargeObject(), but we are encountering an issue where this property returns null.

Related Request ID(s)
pi_3Qp6mZLOFmVUUygj0u6HcBCZ

What have you already attempted?
Could you kindly clarify the correct approach to obtain the Charge object with the new version? Additionally, we understand from the documentation that the latest_charge string property on the PaymentIntent object is null until the PaymentIntent is confirmed. Is there a way for us to retrieve the Charge object at any time, even if the PaymentIntent has not yet been confirmed?
Thank you very much for your time and support. We look forward to your guidance.

#

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

Question
Can't get shipping address to pass options. I"m using this ref doc: https://docs.stripe.com/elements/address-element/collect-addresses?platform=react-native&client=react#other-options

Related Request ID(s)
N/A

What have you already attempted?
```
<AddressElement
options={{
mode: 'shipping',
blockPoBox: true,
fields: {
phone: 'always',
},
validation: {
phone: {
required: 'never',
},
},
}}
/>
```

running into `IntegrationError: Invalid createElement() parameter: options.blockPoBox is not an accepted parameter.`

But this is happening with all the options expect mode.

What are you working on?
outpaint.io

#

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

What did you expect to happen?
We expect the payment processing to work as expected with Apple Pay

What actually happened?
This is regarding the Apple Pay payment method. The merchant has implemented Apple Pay via Chargebee JS, where Chargebee uses Stripe JS.

The wallet gets stuck and does not show anything to proceed. But if the billing address is passed, then the payment processing works as expected.

Reproduction Steps
Shared a video for clarity:
https://www.loom.com/share/8a62a1fa11fa43e9ac2c132a05d94106

Question
What could be the issue here? Is the billing address mandatory to be passed?

What are you working on?
Apple Pay payment method

#

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

Question
how can i limit a user to being able to upgrade/ down grade to a "related" product/ subscription

Related Request ID(s)
n/a

What have you already attempted?
i have set limit to 1 purchase per user, which gets me userers being redirected to the user portal, so as they can "manage their subscriptions" there, but i cant limit them to then being able to upgrade/ downgrade to a "related" products, so as they can only ever be on one of the 3 subscriptions that are related

What are you working on?
user subscriptions that alow them to choose different "time frames" for the subscription

#

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

Question
I want to charge users tax that are in India as I am based in India. Issue is when I use the default_tax_rate and set tax rate there it always changes the currency to USD instead of INR as the region is india. How can I solve this?

Related Request ID(s)
req_VeyWkMCKo5JY9J

What have you already attempted?
Without setting the default_tax_rate it works fine i.e. is redirects to INR but doesn't collect tax for some reason.

cursive heronBOT
cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=ios&reader-type=tap-to-pay#account-linking-and-apple-terms-and-conditions

Question
How can I see the Apple’s Tap to Pay on iPhone Terms and Conditions on an other device ?

What have you already attempted?
I tried to create a Connect account, a new location with the new Connect account identifier as metadata. When I created a connection token, I used the location_id attached to the Connect account. In addition, I'm using a new apple account on another iPhone.

What are you working on?
I'm working on an app with Tap to Pay for hairdressers who work from home.

cursive heronBOT
#

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

Question
I have a Market place and i have standard connect account for seller.

I charge buyer the product fee and shipping fee.

I am usign direct charge, so i charge buyer and take my platform fee and send the rest to seller.

within same call, i am sendign the shipping fee but not within line item within shipping fee parameter.

is there a way stripe do not charge process fee for shipping fee.

or strip will charge processing fee for overall amount. involve in transeciton.

Doc/Guide Links
Not looked any doc at all

What are you working on?
Does there is a way , stripe exclude shipping fee of a transection , for stripe processing fee

#

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

What did you expect to happen?
We have run into an incredibly weird issue where all of a sudden one of our Stripe Readers (S700) in the field has started declining all charges.

There are 2 readers at the location, one is working fine. They are running the same release (on our side), and both readers are running the same software version.

What actually happened?
Successful payments the night of February 3rd. February 4th morning our customer reports every charge is getting declined. No software releases occurred on our side, and the other reader at that location is functioning perfectly fine.

Reproduction Steps
I don't know. The reader is giving decline codes but there are no events logged or data available about this on the Stripe UI? Is there a way to retrieve this information?

Question
I don't know. The reader is giving decline codes but there are no events logged or data available about this on the Stripe UI? Is there a way to retrieve this information?

I'm happy to debug this ourselves but we need information as to why the decline code was occuring so I was hoping to see some logs if I can give you a reader ID and location ID.

#

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

Question
How do I increment usage records for a subscription item that has a price attached to a meter?

Related Request ID(s)
req_2G40esVYAdusUv , req_6QMvWlIiea0J7j

What have you already attempted?
`POST https://api.stripe.com/v1/subscription_items/si_RiZgN2GQ5p2zoh/usage_records` fails and directs me to use /billing/meter_events instead.

`POST https://api.stripe.com/v1/billing/meter_events` works, but doesn't increment the usage on the subscription item.

What are you working on?
Updating our billing system to account for this change in product setup

#

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

What did you expect to happen?
I tried to create a payment link with multiple dollar amount options. The link is for donations. We run a non-profit. Donors want recurring payment option. I need help creating the link because it doesn't work properly.

What actually happened?
When I click the link it does not show me the payment tiers that I created or show me "One-time" or "recurring".

Reproduction Steps
No idea what this means

Question
I need help creating a payment link that allows Donors to choose a payment tier and select recurring donation.

#

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

Question
My team of dev use stripe webhooksbut we are limited at 16 , is there a way to use more ?

Related Event ID(s)
webhooks

What have you already attempted?
We can't create more than 16 webhooks

#

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

Question
We tested live first day and refunded a bunch transactions, now our stripe account has been flagged and deactivated. Support seems automated at this point. How to reach a human?

Doc/Guide Links
There is no doc for production testing, or warnings of no-to-dose

What are you working on?
Gig business like uber.

cursive heronBOT
#

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

Question
Which APIs should I use to create a token from raw card data in the front end? My app won't send the data to the backend and raw data will be handled in frontend only. So, no PCI compliance.

I use a custom form and send the collected card data to Stripe to create a token.

Related Request ID(s)
None

What have you already attempted?
I tried stripe.createToken, stripe.tokens.create methods with raw card data. But they expect a card element.

What are you working on?
I'm trying to capture card details in my custom form and need to send them to stripe to create token.

#

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

Question
Hi

I have this subscription updated with new prices and proration_behaviour="none". Still there are proration items on the next invoice on the invoice.created event

subscription: sub_1Qolk6HJgsdx4qPxJakgh2SD

subscription update request: req_ZXfIOAb4t2cJ6c

invoice id: in_1Qp73wHJgsdx4qPxKOBaoGFK

proration invoice item 1: ii_1Qp73wH.Jgsdx4qPxdoEsj2pd

proration invoice item 2: ii_1Qp73wHJgsdx4qPxH7cCVR8I

Related Request ID(s)
in_1Qp73wHJgsdx4qPxKOBaoGFK

What have you already attempted?
Reading proration documentation

What are you working on?
We are transitioning from post to pre pay billing with the help of credit grants

#

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

What did you expect to happen?
We have built an automation to process payments for connected accounts using saved BACS Direct Debit payment methods. When payments fall due, we submit to stripe with the paymentIntentId, and we would expect it to charge succesfully.

What actually happened?
We consistently get a message of "The payment failed"

Reproduction Steps

  1. store bacs direct debit as a payment method against stripe customer
  2. create a paymentIntent with the customer & paymentmethod ID

Question
Why is the payment failing? Is our implementation wrong?

What are you working on?
The connected accounts are landlords, and the customers are tenants.

#

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

Code
$paymentIntentData = [
'amount' => round($transactionModel->getAmount() * 100),
'application_fee_amount' => round($transactionModel->getTransactionFee() * 100),
'currency' => strtolower($transactionModel->getCurrency()),
'customer' => $customerId,
'payment_method' => $paymentMethod->getToken(),
'off_session' => true,
'confirm' => true,
'payment_method_types' => [],
'metadata' => [

Question
We create credit card transactions with `application_fee_amount`, and `stripe_account` header to do a direct charge in a connected account, the Stripe transaction fee is taken out of this application amount. This is working.

When we do the same thing with an `acss_debit` payment type, the `application_fee_amount` is debited from the connected account as expected, there is an additional Stripe fee billed to the connected account as well.

How can we match the fee behaviors?

What have you already attempted?
I have tried to match the API calls exactly when creating the payment intent, only swapping out the `payment_method_types`

What are you working on?
SaaS platform which organizations use to bill their clients

cursive heronBOT
#

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

Question
How can I connect the partial auth test card (only authorized for 70% of requested amount) to a customer?

Related Request ID(s)
n/a

What have you already attempted?
When I try to use a setup intent the attach the test card provided for partial auths to a customer, the setup intent fails because the card is declined with NSF.
card info: https://docs.stripe.com/payments/partial-authorization#testing

What are you working on?
I'm trying to build end-to-end tests to verify a new payment flow we implemented using partial auths.

#

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

Error Message
Ein Zahlungsversuch mit MasterCard •••• 8523 wurde storniert
Optimieren Sie Ihre Umsatzsicherung
Die Bank hat den Ablehnungscode generic_decline zurückgegeben und keine weiteren Informationen bereitgestellt. Wir empfehlen Ihrem Kunden/Ihrer Kundin, sich an seinen/ihren Kartenaussteller DEUTSCHER SPARKASSEN- UND GIRO zu wenden, um weitere Informationen zu erhalten, od

Question
Die Zahlung ist mit der gleichen Karte einmal fehlgeschlagen aber hat dann beim Zweiten mal funktioniert, woran liegt das?

What have you already attempted?
Ich möchte nur wissen wordan das liegt.

cursive heronBOT
#

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

Question
i want to transfer from a connect account to a main account and i am using the charge endpoint, adding the source as the connect account id,
so i see that the create charge endpoint is deprecated and that we should use payment intent api, but the payment API is throwing an error saying invalid source

Related Request ID(s)
nothing

What have you already attempted?
const charge = await stripe.paymentIntents.create({
amount: amount,
currency: 'usd',
source: connectAccountId,
description
});
} catch (error) {
console.log(error);
}

#

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

Question
I have a question regarding managing payment methods in Stripe.
Is there a way to check and set a payment card (added to a customer) as active or inactive?
For example, I would like to temporarily disable a specific card so that it cannot be used for transactions but still remains attached to the customer.
I know that detaching a card completely removes it from the customer, but is there an option to deactivate/reactivate it instead?

Related Request ID(s)
NA

What have you already attempted?
NA

#

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

Question
I'm encountering an issue with the reporting API where I receive a successful response (200) for a report_run object with status "succeeded", but the body.result.url field is null. This occurs even after a 6-second delay between the initial request and checking the result. According to the documentation, the result field should be populated when status is "succeeded", but this isn't happening in my case.

Related Request ID(s)
req_dWKP6p2X28u2Ha

What have you already attempted?

  1. Verified the report_run status is "succeeded"
  2. Confirmed the error field is null, indicating no errors
  3. Implemented a 6-second delay between the initial request and checking the result
  4. Reviewed the API documentation which indicates the result field should be populated when status is "succeeded"
  5. Double-checked that all required parameters are correctly provided in the initial request

What are you working on?
Maintaining Qonto <> Stripe integration

cursive heronBOT
#

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

Question
I want to update the metadata of a setupIntent, and then listen for that from a webhook, but I'm not finding setup_intent.updated as an event. Am I missing something?

Related Event ID(s)
NA

What have you already attempted?
I see "POST /v1/setup_intents/:id" in the api docs, but in the dashboard when I add events to my webhook I don't see any "updated" event for the setupIntent.

What are you working on?
Writing the API endpoint that lets a customer manage his payment methods.

#

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

Question
I am working with the API for creating tax registrations and get the error that active_from and expires_at are more than 5 years in the future when in reality they are not

Related Request ID(s)
req_cB0ewJfsBk8LvA

What have you already attempted?
Using dates in timestamp directly from the docs also provides the 500 error

What are you working on?
e-comm solution

#

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

Code
$paymentIntentData = [
'amount' => round($transactionModel->getAmount() * 100),
'application_fee_amount' => round($transactionModel->getTransactionFee() * 100),
'currency' => strtolower($transactionModel->getCurrency()),
'customer' => $customerId,
'payment_method' => $paymentMethod->getToken(),
'off_session' => true,
'confirm' => true,
'payment_method_types' => [],

Question
We use direct charges, but we want the Stripe fees to be billed to the platform account, since we are taking the application_fee_amount. This is working for us in production on CC payments, but when using acss_debit payment methods, our connected accounts are billed an additional Stripe fee.

We are charging cards and acss_debit payment methods in the same way using PaymentIntent calls.

What can we do to ensure that the fee is taken from the platform account consistently?

What have you already attempted?
We call the PaymentIntent endpoint using the PHP SDK the same way for credit card payments and acss_debit payments

What are you working on?
SaaS platform for organizations to bill their clients

cursive heronBOT
#

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

Question
Hey guys I have a question again. During the onboarding process for connect accounts it asks for the website url. Can I use my platform url?

Related Request ID(s)
?

What have you already attempted?
The onboarding flow asks for a website url. Some merchants may not have a url.

#

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

Error Message
Refused to load the script 'https://js.stripe.com/v3' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval' blob:

Question
we have added https://js.stripe.com/v3 to the content security policy in our rails application. Still we are facing this issue

What have you already attempted?
NA

#

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

Question
How can I get Price_Id for products created by connected accounts?

Related Request ID(s)
Don't know

What have you already attempted?
I created a a recurring payment product inside a connected account but I can't manage to find it's Price_Id.

What are you working on?
Subscription Plans created by connected accounts

cursive heronBOT
#

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

What did you expect to happen?
The hosted billing portal should show the correct days until due pill in the invoice history when using test clocks

What actually happened?
The hosted billing portal showed the days until due pill in the invoice history based on the current time, not the test clock time

Reproduction Steps

  1. create a test clock with frozen time now
  2. create a customer associated with the test clock.
  3. create a subscription for that customer that renews annually
  4. confirm the subscription is active and pay the test invoice as needed.
  5. advance the test clock forward enough time to issue the next invoice for the subscription

Question
I just wanted to report this minor bug, as it threw me off at first thinking there was something wrong with how I had set up the subscription schedule.

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

cursive heronBOT
#

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

What did you expect to happen?
I am testing with time simulation of subscription but i am restricted to increase only 2 days why

What actually happened?
I am restricted to increase two days only in time simulation of subcription

Reproduction Steps
I dont know how to reproduce this i have jsut created a subscription using python code

Question
I have screenshot of that i will provide you

cursive heronBOT
#

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

Question
My questions is for connected accounts and application fees for tax calculations. The application fee doesn't seem to be an invoice or allow any tax calculation so what is the best way to approach this? Cause the law says I need to charge tax, and I want it to be tracked so stripe can report it properly. But it doesn't seem like that is supported in stripe is that correct?

Related Request ID(s)
General Question

What have you already attempted?
Right now I just set the % or amount for the application fee to the charge with taxes included. But that wouldn't be tracked and the tax calculations will be on an individual level for each connected account.

What are you working on?
We have a platform where we allow Creators to bring in there own stripe accounts to do billing

cursive heronBOT
#

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

Question
Payment Intent creation with partial_authorization set is failing. My account should have access to this feature based off our account rep. Is there something with the request that I am making or any additional steps required?

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

What have you already attempted?
Going through docs and then pinging our account manager to make sure we do have access

#

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

Question
I am using the pricing table JS component. Here's the code on my side:

if (!user?.id || !user?.email) {
return <p>Error: User data is incomplete. Please log in again.</p>;
}

return table (rest of the code)
I am passing user.id to the pricing table as customer ref ID. Sometimes, the pricing table sets client ref id as null, and all my webhooks fail afterwards. I raised this issue before but I got no fix for it. I demand a fix. I am losing clients! It's clear from the client code, if user.id or email are null, we return error, so def not an issue on my part.

Related Event ID(s)
evt_1QoXheGesZuzMkZwJBaxsZfi

What have you already attempted?
Changed the code on my side to return an error if the user id is null. I really suspect that your script for pricing tables has an issue here: this.clientReferenceId=this.getAttribute("client-reference-id")||void 0. If the attribute is not ready as the DOM was not fully loaded, it might be set as null. Please add a check, or a polling mechanism. This is the pricing table script I am using: https://js.stripe.com/v3/pricing-table.js.

What are you working on?
https://headsnap.io. It's a live service and we have sales, but it's really frustrating to have to update the credits for certain users where the client ref id is being lost.

cursive heronBOT
#

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

Question
I am trying to get apple pay turned on but it is saying the domain isnt registed. When I check the dashboard it shows the domain as registered and when I check the for the wellknown certificate it is there. However I cant find the old dashboard page where I could verify the connection.

Related Request ID(s)
req_vRkTpFMgW7GAcH

What have you already attempted?
I've got it working on our beta site so I tried everything from there to get it up and running

cursive heronBOT
#

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

Code
Unable to share code, but will describe the code + intent: We're building a checkout experience that uses the PaymentElement. The only options are `terms: { card: 'never' }`. Depending on the country selected, we need to collect full address details for tax purposes. We would like to render the AddressElement in this scenario.

Question

  1. While testing, the PaymentElement's onChange event did not provide any details on the country selected. Is this expected? The docs suggest `payment_method` event prop could hold this info. This was not available, tho we are only accepting card.
  2. Can the AddressElement omit fields beyond phone number? Even if the above was resolved, we've already collected the user's name in previous steps and while we could pre-populate it, rendering it in the UI it would be redundant.

What have you already attempted?
- Read the PaymentElement and AddressElement docs
- Updated to "@stripe/stripe-js": "4.1.0" to ensure the PaymentElement onChange event included payment_method prop
- Render the AddressElement alongside PaymentElement by default, but full name cannot be hidden (and for many users we will not need to collect full address details)

What are you working on?
checkout experience

cursive heronBOT
#

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

Question
Hello, i am currently running into issues with my Payouts for my main account, and connected accounts. It is saying they're disabled, however it is not giving a reason why, and all requirements are satisfied according to their API response. Looking for other reasons why payouts are disabled.

Related Request ID(s)
req_LlrrXbmnzYpp0R

What have you already attempted?
Ive tried using api to create payouts, looking through all required docs, there is no indication of what is missing.

What are you working on?
Real Estate Management Payment

#

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

Question
I need help setting up usage-based pricing that charges customers $1.39 per off-premise order and $0.25 per dine-in order. Can this be handled with a single subscription, or do I need separate ones?

Related Request ID(s)
none

What have you already attempted?
still nothing

What are you working on?
A usage-based subscription system where enterprise customers are charged only for their actual usage of each service type.

cursive heronBOT
#

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

Question
I want to allow a user to upgrade from a yearly billed subscription to a "lifetime" plan, which is sold as the same product, with a one time price instead of a subscription price. Is there a good tutorial for how to do that?

Related Request ID(s)
N/A

What have you already attempted?
I already have code that can do subscription to a different subscription type but I'm asking if there is an example for this case.

What are you working on?
Subscription based product

#

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

Question
Can somebody please confirm whether we can use universal link for the return_url for a PaymentIntent object? I already have one that works for both android and iOS and wouldn't want to create custom url anew.

Related Request ID(s)
na

What have you already attempted?
Looked at the document. The ios guides says universal link is supported but the code seems to indicate it does.

What are you working on?
Integration with Connect.

#

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

Question
We are looking at updating pricing, but we want to use new pricing going forward and keep existing customers at their current pricing. From what I've tested, it seems like if we create a new price and use it for new sign ups, it doesn't affect existing users. I'm wanting to confirm this is accurate.

Related Request ID(s)
NA

What have you already attempted?
I've created a customer using new pricing in our test environment. I've also looked at an existing user and their pricing didn't change. This is the behavior we want, but I just want to make sure I didn't miss something that could affect our existing users when I tested.

We use Stripe Checkout for all new customers and the Stripe Customer Portal for all subscription updates.

What are you working on?
A SAAS business with subscriptions.

cursive heronBOT
#

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

Error Message
We encountered an error while loading data.

Question
Why can't I update the account I want my funds to payout to?

What have you already attempted?
I have successfully linked the new bank account that I want the payout to go to, but it gives me the error.

#

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

Question
Hi 👋
I am using "@stripe/stripe-react-native": "^0.40.0" on my react native application. At the moment the stripe intent is created on backend side and I have almost no control on what happens inside payment sheet. We have multiple payment methods configured on the dashboard. Is it possible to remove some or control payment options inside the stripe payment sheet on the client side?

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet#react-native-customization

What are you working on?
React Native app, using stripe sdk

#

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

Question
I created a connected account using the API, which i cannot payout

Related Request ID(s)
req_LlrrXbmnzYpp0R

What have you already attempted?
I have already attempted talking to someone on here. I went into the connected account to see if anything is missing, and nothing was missing. Everything seems fine.

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
Stripe element "hitbox" disjoint from visuals, after switching to mobile view. This is the react payment element from react-stripe-js

What actually happened?
Clicking on the fields/buttons/etc doesn't work, you have to click on random spots for it to register.

Reproduction Steps
On safari inspect element, toggle mobile view. Outside of mobile view it works fine.

Question
How can this be fixed? I don't think I'm supposed to use a "mobile payment element" because this is still react on the browser, the code should be the exact same.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/events/types#event_types-invoice.created

Question
I created a subscription. Since subscription, automatically creates invoice. Is it safe to update invoice metadata through invoice.created event?

The reason why I ask is that when invoice is created, it seems it has 1 second before it finalizes.

What have you already attempted?
I have not ready any mention on this one on the docs.

cursive heronBOT
#

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

Question
I encountered a problem. Everything was working fine when the targetSdkVersion was 34. When I upgraded the targetSdkVersion to 35, the payment table could not be displayed when running on an Android 15 phone. It was always loading.

Related Request ID(s)
pi_3QpPH9CQOGOFHFAn1Cnqd2IG

What have you already attempted?
I have tried many ways and upgraded to the latest SDK, but still can't solve it

What are you working on?
I'm having trouble bringing up the payment form

cursive heronBOT
#

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

Question
Hello,
I'm building a marketplace app to provide payments system between clients and sellers.

The idea here is to create all the workflows via APIs only, so the sellers (which are Accounts) avoid the Stripe Onboarding to validate their Account.

So I created a Custom account in Stripe Connect for a fake company in TEST MODE. So far, it's all working fine but I can't resolve this issue :
I added a Person (as a Director) in the Account with all the required informations, but I need to manually 'activate' this Person in the Dashboard, or the account will stay disabled and incomplete.

Related Request ID(s)
Dashboard > Connect > Connected Accounts > acct_1QpGz8PpLKUmewmR

What have you already attempted?
When I GET https://api.stripe.com/v1/accounts/acct_1QpGz8PpLKUmewmR, it responds "directors_provided": false, "executives_provided": false, with a big list of missing data in "currently_due" [].

But when I GET https://api.stripe.com/v1/accounts/acct_1QpGz8PpLKUmewmR/persons/person_1Q, it responds : "director": true, "executive": true, and all the missing data is here : names, addresses, dob...

It's like the data is here but not linked in the account !
The director is created, but I need to manually specify that this person is the director of the account. How can I do that via API ?

What are you working on?
I'm building an marketplace app to provide payments between clients and sellers.

cursive heronBOT
#

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

Question
com.stripe.exception.InvalidRequestException: The price specified supports currencies of `uzs` which doesn't include the expected currency of `cny`.; request-id: req_laiqqaeNgHTZUT

Related Request ID(s)
req_laiqqaeNgHTZUT

What have you already attempted?
2025/02/06 17:26:00

#

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

Question
Hallo Stripe-Support-Team,

ich habe PayPal in meinem Stripe-Dashboard unter Wallets als „Aktiv“ markiert. Allerdings wird es meinen Kunden beim Checkout nicht als Zahlungsoption angezeigt.

Ich habe bereits überprüft:

PayPal ist in meinem Stripe-Dashboard als aktiv gelistet.
Ich nutze Stripe Checkout / eine eigene Integration (je nach deiner Nutzung).
Die Zahlungsmethoden sind korrekt konfiguriert.
Könntet ihr bitte prüfen, warum PayPal nicht angezeigt wird? Falls weitere Schritte erforderlich sind, lasst es mich bitte wissen.

Vielen Dank im Voraus!

Beste Grüße

Related Request ID(s)
Nicht verfügbar. PayPal wurde nie im Checkout angezeigt.

What have you already attempted?
PayPal ist in meinem Stripe-Dashboard unter Wallets als „Aktiv“ markiert.
Ich habe meine Stripe-Zahlungsmethoden überprüft und PayPal ist korrekt aktiviert.
Ich habe Stripe Checkout verwendet, aber PayPal wird nicht als Option angezeigt.
Ich habe die Stripe-Dokumentation zu Wallets und PayPal-Integration gelesen.
Ich habe versucht, den Cache zu leeren und den Checkout-Prozess erneut zu testen.

What are you working on?
Ich integriere Stripe Checkout für mein Unternehmen und möchte PayPal als Zahlungsmethode für Kunden aktivieren. PayPal ist in den Einstellungen aktiviert, wird aber im Checkout nicht angezeigt.

#

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

Code
<Stripe-Signature>t=1738152665,v1=39e84f20f0c49f1ce2bac5afd062c6718aeaca91ec48f3436da98257f50dfbc5,v0=e36f1ac607b83342cd003b0f755d63618191f5a96b37505ba17338fb5de2118e</Stripe-Signature>

Question
What exactly is this t value in this signature? is it in hours, minutes or how exactly is it?

What have you already attempted?
What exactly is this t value in this signature? is it in hours, minutes or how exactly is it?

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?
The customer has selected a subscription in my frontend. Now the backend should create a subscription and return the client_secret so I can setup payment elements and let the user pay the selected subscription with any prefered payment method.

What actually happened?
The subscription just automatically got created and no client_secret has been returned.

Reproduction Steps

  1. Create a Subscription (intent)
  2. Return the client_secret to frontend
  3. The payment elements are loaded with this client_secret
  4. Customer can select payment methods and pay
  5. Subscription status changes (webhook)

Question
Hi, I wonder why my subscriptions are automatically charged and set to status "active" - but it should actually just create the subscription with default incomplete (status incomplete) and return the client_secret so the user can select his payment method and proceed with the payment and charge it.

What are you working on?
Subscription Creation with Payment Methods

cursive heronBOT
#

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

Question
webhook on wordpress site not working anymore, have done all the troubleshooting

Related Event ID(s)
account.updated charge.expired charge.failed charge.succeeded charge.refunded payment_intent.canceled payment_intent.created payment_intent.payment_failed payment_intent.processing payment_intent.requ

What have you already attempted?
Connecting through the Event Calendar plug in. Then manually doing the webhook, adding the events, and putting the secret key back into the site - error message "The signing key appears to be invalid. Please check your webhook configuration in the Stripe Dashboard."

What are you working on?
Ticketing for events

#

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

Code
{loadLink && <LinkAuthenticationElement
id="link-authentication-element"
onChange={handleLinkAuthenticationChange}
options={{
defaultValues: {
email: email
}
}}
/>}
<PaymentElement
options={options}
onChange={handlePaymentElementChange}
/>

Question
Hi, I am integrating LinkAuthentication element to my payment element. I want to implement this in 2 different modes: one with and one without link.

I am using a state variable to display and hide link element for the same, However, when a user is already logged in to link, I am unable to display just the payment element. Is there any way for me to achieve this?

What have you already attempted?
Used react hooks to display and hide Link element

What are you working on?
We are migrating to stripe PaymentElement from traditional elements

#

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

Question
When I am charging a connected account via transfer, if the connected account balance becomes negative, a reserve transaction is created. Is there a way I can track if this happened? And then when the funds are released?

Related Request ID(s)
py_1Qp3s0GOs2bxG0RwOABpC6PG

What have you already attempted?
I checked the balance_transaction object, but it didn't get me much insight.

#

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

Question
Im trying to pass as much information as possible to the onboarding process for connected accounts (express accounts). I already have the address data. If a pass business_type="company" and in company the address data the onboarding process does not ask for which kind of company (in german the dropdown contained "Aktiengesellschaft", "Personengesellschaft", "Verein/Genossenschaft", "Kaufmann") and which structure it is. But this seams to be important, because it influences which data are required. I only want to pass the adress and keep the questions about the company structure and kind.

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

What are you working on?
a marketplace where user can sell extentions of a larger system

#

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

Code
//this below one i created to transfer from platfrom account to merchant connected account

	TransferCreateParams params =
	  TransferCreateParams.builder\(\)
	    .setAmount\(2000L\)
	    .setCurrency\("usd"\)
	    .setDestination\("acct\_1QoJpjFdXhVYPfUI"\)
	    .build\(\);

	Transfer transfer = Transfer.create\(params\);


	// this created to transfer from merchant connect account to their external bank account
    PayoutCreateParams params =
	  PayoutCreateParams.builder\(

Question
transfering from platfrom account to merchant connected account is wokrking fine but transfering from merchant connect account to their external bank account is throwing a error saying Your ACH balance is too low. even though i have enough balance

What have you already attempted?
i tried using API's mentioned

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

#

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

Question
I am using Stripe Tax for WordPress.

Transactions (payments) are not showing the tax in stripe and neither is the receipt. The tax is showing when I go to tax > transactions though.

I see in the checkout session it also says 0 for tax.

"total_details": {
"amount_discount": 0,
"amount_shipping": 0,
"amount_tax": 0
},

The tax customization is showing correctly in the tax > transactions for Tax calculation by location.

Shouldn't Stripe Tax be applying the tax at the checkout so it shows in the main transaction payment and the receipt?

Related Request ID(s)
dashboard.stripe.com/payments - no tax

What have you already attempted?
I have rechecked all settings including that the country Tax Registrations are being shown on the website WooCommerce from Stripe and updated the plugin. But as the tax > transaction is working I guess it is working inside Stripe but I dont know why it is not showing the tax in the payment and receipt.

What are you working on?
Building a ticketing website that processes payments using Stripe hosted checkout.

#

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

Error Message
{
charge: 'ch_3QpQRRHbM3PRXGNo1bWzDQQ8',
code: 'authentication_required',
decline_code: 'authentication_required',
doc_url: 'https://stripe.com/docs/error-codes/authentication-required',
message: 'Your card was declined. This transaction requires authentication.',

Question
My Flow looks like:
Firstly, setupintent is created and after verifying with 3d secure auth, another two payment intent is excuted to deducted funds for connect accounts.

For stripe 3D Secure authentication payment, i have always authenticate card.

Issue: first setupintent is verified then, for the two paymentintent do i need to verfiy it again and again. I could

What have you already attempted?
after sucessfully setupintent, used payment intent to transfer from main account to connected accounts.

What are you working on?
I am working on multivendor ecommerce app, which does not take fees for their internal vendors

cursive heronBOT
#

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

Question
While trying to to create a payment intent, it gave an error that the payment method is trying to redirect user from the page? So the question is what is this redirection for... Is it for providing OTP for the transaction? And if that is the case I want to know how we can handle that

Related Request ID(s)
req_f9i4hf0ogtwJ1u

What have you already attempted?
I was trying to create a payment intent

#

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

Question
Hello team please look into issue

Related Request ID(s)
NA

What have you already attempted?
i am trying to integrate payment page
but Uncaught ReferenceError: Stripe is not defined
at redirect/:2136:17

this type of issue occured

#

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

Question
What's the best way to get a list of all users with a certain entitlement?

Doc/Guide Links
Entitlements aren't returned on a customer object and you can't filter by entitlement. So it seems like I have to loop through all pages of customers, then check if they have that entitlement.

On top of that, the best way to check if they have that entitlement seems to be either making another api request for every customer checking their entitlements, or more likely figuring out the list of all subscriptions that would grant that entitlement, getting that pages customers subscription list (that of course could be more than 100 subscriptions and therefore need more pages) and then compare. This seems like a lot of work needed for what seems like a simple requirement.

What are you working on?
This particular feature is a dashboard for admins to see which users are using a certain band of products and manage those users.

cursive heronBOT
#

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

Question
We have a failing payment for a customer in production.
invoice: in_1QnUoGRpgCGwteH1d2S5oPHQ
The issue is we expected the Entitlements API to deliver a lost entitlement for the customer, but we are not receiving such event only a past due subscription status. Can you explain why this happens?

Related Event ID(s)
evt_1QpGOWRpgCGwteH1kfILY4CQ

What have you already attempted?
Well we checked if the entitlement loss arrived and we didnt handle it properly but no event was received here.

What are you working on?
subscription management

#

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

Question
I wanted to understand the repercussions of detaching a payment method. If the customer wants to re-use or accidently deletes the payment method can it simply be re-created? I suppose I don't understand why it's detach instead of delete

Related Request ID(s)
none

What have you already attempted?
Just looking through the docs trying to better understand what's happening and make sure I don't do something that would be unfriendly to a user.

https://docs.stripe.com/api/payment_methods/detach

What are you working on?
I have a B2B SAAS app that I'm listing a clients payment methods and allowing them to set as default, add or delete payment methods for use on the app.

cursive heronBOT
#

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

Code
i don't have code for now

Question
Hello, i have a questions regarding the cast of type with the Salesforce connector, im using the connector and im listenning on Transfer events, i wanted to know how to cast the body of the response to the Transfer type if its possible to acces value of the data more easily

What have you already attempted?
i attempted using unserialize with the type tv_01_stripeTransfer

What are you working on?
working on a payment system for platform account to redirect money to connected account

cursive heronBOT
#

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

Question
What's the best way to detect if the a subscription.updated event relates to a product or price change (instead of other updates like a discount or trial)? Is it to simply check if the subscription_item id has changed

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

What are you working on?
A stripe app for subscription bundling across companies

#

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

Question
When using bundle pricing such as 10 licenses for a set price, when the user changes quantity it refers to licenses rather than bundles which is a bit confusing IMO. Is there a way to have quantity refer to number of bundles so that 2 would equal 20. Because right now if a user enters 12, they are actually purchasing 20 yet it is very unclear.

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

What are you working on?
A subscription based service where users purchase licenses for multiple users to use the service.

cursive heronBOT
#

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

Question
Is there any way to reset the billing cycle (billing_cycle_anchor set to now) of a subscription without generating a new invoice?

Related Request ID(s)
N/A

What have you already attempted?
billing_cycle_anchor set to now, trials, subscription schedules

What are you working on?
We have an use case when a user purchase hardware and subscriptions we want to charge the user immediately for both but we want to reset the billing cycle once the order was shipped

cursive heronBOT
#

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

Question
We need to collect the full name of the purchaser. It looks like while it's requested the full name is not required with Link or Amazon Pay. We're using the Payment Element in the context of Connect. Is our only option to validate the name prior to creating the Payment Element and then passing it as a defaultValue? https://docs.stripe.com/js/elements_object/create_payment_element

Related Request ID(s)
req_jax35YzrI9aY2L

What have you already attempted?
Looked at the docs and what config or hooks may be applicable.

What are you working on?
An event ticketing platform

cursive heronBOT
#

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

Code
"options": {
"applePay": {
"recurringPaymentRequest": {
"paymentDescription": "My Ritual Subscription",
"managementURL": "https://account.ritual.com/",
"regularBilling": {
"amount": 7200,
"label": "Recurring subscription (plus tax)",
"recurringPaymentIntervalUnit": "day",
"recurringPaymentIntervalCount": 30,
"recurringPaymentStartDate": "Fri Oct 23 2026

Question
I am passing what appears to be the proper props to the payment element to allow apple pay to display the billing agreement and such. I don't see that though in the apple interface

What have you already attempted?
passed correct props

#

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

Question
I want to allow a user to upgrade from a yearly billed subscription to a "lifetime" plan, which is sold as the same product, with a one time price instead of a subscription price. Currently using a coupon to do the discount. Just checking to figure out best practice.

Also, is there a way to restrict a coupon to a certain user?

Is there any downside to having a payment purchase generate an invoice? If no, now my invoice paid hook is getting hit by subscriptions and payments. Is invoice paid still the best hook to general a license key for a subscrption?

Related Request ID(s)
N/A

What have you already attempted?
I already have most of the code working.

What are you working on?
Subscription app: nectarblocks.com

#

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

Question
I have a problem when creating a checkout: users are required to re-enter their SEPA information, it is not being saved... It works for credit cards, but not for direct debits.

Related Request ID(s)
Général

What have you already attempted?
I want the SEPA information to be automatically filled in if the user has already paid with SEPA.

cursive heronBOT
#

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

Question
Good afternoon, I would like to know how to create and capture a PaymentIntent using the expandable object.

Related Request ID(s)
pi_3Qp6mZLOFmVUUygj0u6HcBCZ

What have you already attempted?
I am creating a PaymentIntent using this Stripe method -> PaymentIntent create(Map<String, Object> params, RequestOptions options), where in the Map two elements can be found, an "expandable" list with "latest_charge" and a "payment_intent" with its PaymentIntentCreateParams. However I receive an InvalidRequestException -> Received unknown parameter: payment_intent. Did you mean payment_method_options? Which is the parameter I need to add for either create and capture PaymentIntent? Thank you

cursive heronBOT
#

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

Question
How can I set the tax amount in an invoice item myself "manually" via the API? We cannot use tax rates e.g. 19% or something as I am too afraid the numbers might differ from our ecommerce system.

```
await stripe.invoiceItems.create({
customer: stripeCustomer.id,
invoice: invoice.id,
tax_behavior: "inclusive",
currency: "eur",
```

How can I simply set the tax in the currency, e.g. 1019 for 10.19 Euros? I dont want stripe to calculate the tax on its own to avoid mistakes

Related Request ID(s)
None

What have you already attempted?
Try to exclude tax etc. Nothing worked

What are you working on?
Ecommerce

cursive heronBOT
#

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

Code
<AddressElement
options={stripeAddressElementOptions}
onChange={onChangeAddressElement}
onReady={() => setStripeReady(true)}
/>

Question
hey there! in my company, we are using AddressElement with autocomplete suggestions.

We would like to know if it's possible to know if user has clicked one of the suggestions or has written their address manually.

What have you already attempted?
listening to click events but since it's a 3rd party iframe it doesn't work.

cursive heronBOT
#

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

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

Question
I have the Stripe payment element in a vue application, this application is then hosted as a static site that is used inside an iframe by another application.

Is there any way possible to identify when a modal is opened inside the payment element, for example, when the user clicks on US Bank Account, then click on Test Institution?

Thanks in advance.

What have you already attempted?
I've attempted listening for events from the iframe, or trying to interact with the DOM from the stripe element, but so far nothing worked.

cursive heronBOT
#

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

Question
When creating a refund for a PaymentIntent or the last charge of a subscription, I can't find a parameter to pass to refunds.create that deducts the fee. In other words, the refunded amount is the full amount and does not exclude the Stripe processing fee. I want to refund only the amount excluding the fee so that I don't pay the fee as the platform

Related Request ID(s)
refund

What have you already attempted?
I tried refund_application_fee: false but it didn't work

What are you working on?
a community creation platform

cursive heronBOT
cursive heronBOT
#

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

Question
My current way of creating an invoice does NOT apply tax to the shipping rate. Why is that? It calculates the correct tax on my invoice items but leaves my shipping cost (e.g. USD 12) untouched.

const invoice = await stripe.invoices.create\({
  customer\: stripeCustomer.id,
  collection\_method\: "send\_invoice",
  default\_tax\_rates\: \["txr\_1QpaUnQWc5EeQut9qU55xUqO"\],

....
shipping_cost: {
shipping_rate_data: {
tax_behavior: "exclusive",
type: "fixed_amount",
fixed_amount: {
amount: new Decimal(cart.shipping_methods?.[0]?.amount ...

Related Request ID(s)
none

What have you already attempted?
Tried to use a tax_rate but doesnt work, tried to calculate the tax overall across the entire invoice, didnt apply

What are you working on?
ecom

#

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

Code
const confirmPaymentPayload = await stripeSDK.value.confirmPayment({
elements: stripeSDKElements.value,
clientSecret,
redirect: 'if_required',
confirmParams: {
return_url: returnUrl,
},
})

Question
I'm using stripe web sdk payment element on client side and confirming payment intent with the above code. When selecting cashapp as payment method to pay in test mode a pop up appears to stimulate QR code. When I click on QR code it opens a window in new tab without closing the existing tab, to authorize payment. As soon as I authorize payment it is redirected to return_url in both the tabs. In case of ideal payment method, new tab wasn't opening so this problem wasn't there

What have you already attempted?
Have attempted the above code to confirm payment but the control is happening in both the tabs for cashapp only for other redirect methods, everything is done in the same tab so this issue doesn't come

cursive heronBOT
#

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

Code
Stripe::PaymentIntent.retrieve

Question
I see the status "requires_action" on the returned object. Will the payment intent always eventually succeed or fail? How long will the payment intent be in the state "requires_action"? Is there a maximum time before a payment intent succeeds/fails?

What have you already attempted?
I've tried waiting. For hours.

What are you working on?
Improving our payments systems.

#

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

Question
I would like to use the stripe express checkout while also calculating tax. But VAT OSS in the EU requires two items on non-contradictory evidence, and I was wondering how to ensure two items are being used when creating the payment.

Related Request ID(s)
in_1QpYCEInjg0JXg3SQKX9JUw7

What have you already attempted?
These are my current steps:

  1. From the express checkout `confirm` event, we take the `country` and `postal_code` and send it to our server.
  2. On the server, call `stripe.customers.create()` with `tax.validate_location` set to `immediately`
  3. Call `stripe.subscriptions.create()` with the new customer.
  4. Get the client secret from the returned `pending_setup_intent`/`payment_intent` and pass it to the client
  5. Call `stripe.confirmPayment()` on the client.

This seems to work and tax is calculated. But I'm not sure if this uses two items of non-contradictory evidence.

What are you working on?
A subscription service for https://pelicanparty.games/

cursive heronBOT
#

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

Question
We're trying to work out how to use the balanceTransactions API to report on the terminal reader fees charged to our account. We're mostly trying to figure out what scenarios trigger this stripe_fee.

Here's our three use cases, could you tell me which would incur a terminal reader fee?

  1. A PaymentIntent sent to the terminal through the $stripe->terminal->readers->processPaymentIntent method
  2. A PaymentIntent made with a SetupIntent that used $stripe->terminal->readers->processSetupIntent (ie. Save card details for later use flow in your documentation)

Related Request ID(s)
#1 - pi_3QpFMrEgQAxJcOH41eOc6fzd, #2, pi_3QmHqXEgQAxJcOH40lni0049, #3 - pi_3QmHsbEgQAxJcOH404G89sBA,

What have you already attempted?
3. A second PaymentIntent made with the generated_card on the initial SetupIntent made in Scenario #2.

We're essentially trying to retrieve these items from balance but i don't see any stripe_fees when i query by the `source` value so if you just know the answer for us that's fine OR if you can tell us how to query balance_transactions specifically for that terminal fee that works too?

cursive heronBOT
#

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

Question
Hey everyone! I'm integrating Stripe Connect Express into my Firebase-based React web app (hosted on Firebase & using Firebase Functions for backend logic). I'm running into an issue with accessing the Stripe Express dashboard after onboarding.

After onboarding, users are returned to my website, but there’s no way for them to see if they missed any steps (i.e., required documents, tax info, or ID verification).
When calling stripe.accounts.createLoginLink(accountId), I get the error:

"Cannot create a login link for an account that has not completed onboarding."

Related Request ID(s)
details_submitted: true payouts_enabled: false charges_enabled: false requirements.currently_due → Includes things like tax verification & bank info.

What have you already attempted?
Verified the account status using stripe.accounts.retrieve(accountId).

Checked if requirements.currently_due contains missing fields.
Tried generating an onboarding link (accountLink) to redirect users back to fix incomplete info:

What are you working on?
im trying to use stripe express so business on my website can start accepting payments, like any other ecommerce/market place site.

cursive heronBOT
#

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

Question
We're using EmbeddedCheckout from '@stripe/react-stripe-js' like so:

```
<EmbeddedCheckoutProvider
stripe={stripePromise}
options={{
clientSecret,
onComplete: onStripeComplete,
}}
>
<EmbeddedCheckout />
</EmbeddedCheckoutProvider>
```

It renders out a full form with a submit button. When the submit is clicked I would immediately like to execute a callback, but there is no onClick in the props or anything of the sort. Basically there's a period of time between click and onStripeComplete.

Related Request ID(s)
none

What have you already attempted?
Have set the required state on onStripeComplete

What are you working on?
Trying to set state to prevent them leaving the page because submission has begun

#

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

What did you expect to happen?
AddressElement on prod should include google autocomplete feature

What actually happened?
It seems to be broken right now on our production site. No autocomplete is loading and it shows "Address line 1" instead of "Address"

Reproduction Steps
Load AddressElement in production on our Checkout page

surveymonkey.com/checkout?package_id=34&sm_experiment_preview=experiment_name=stripe_checkout.treatment_name=stripe_one_page_checkout_treatment.validate_entrance_criteria=False.validate_assignment_criteria=False

Question
Is there somewhere to see if there's an issue between Stripe and Google and confirm there is nothing wrong with our setup? This was working yesterday

#

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

Question
Hey sorry, I didn't expect a response so soon and let my previous question idle for too long 😔
#dev-help message

I would like to use the stripe express checkout while also calculating tax. But VAT OSS in the EU requires two items on non-contradictory evidence, and I was wondering how to ensure two items are being used when creating the payment.

Related Request ID(s)
in_1QpYCEInjg0JXg3SQKX9JUw7

What have you already attempted?
These are my current steps:

  1. From the express checkout `confirm` event, we take the `country` and `postal_code` and send it to our server.
  2. On the server, call `stripe.customers.create()` with `tax.validate_location` set to `immediately`
    Call `stripe.subscriptions.create()` with the new customer.
  3. Get the client secret from the returned `pending_setup_intent`/`payment_intent` and pass it to the client
  4. Call `stripe.confirmPayment()` on the client.

This seems to work and tax is calculated. But I'm not sure if this uses two items of non-contradictory evidence.

What are you working on?
A subscription service for https://pelicanparty.games/

#

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

Question
Hi there. We use airbyte to extract stripe data and I am currently looking at the invoice_line_items.

In the past we have always used the stripe_coupons table in order to obtain the invoices and apply it to calculate NET mrr, etc.

Recently we have found the discount_amounts located in the invoice_line_items.

Wondering if the discounts wee in there reflect all discounts or there would be cases where we also to need to consider something else to properly reduce the discounts on a invoice_line_item, invoice or customer level for instance.

Related Request ID(s)
-

What have you already attempted?
checking the doc but still have questions

#

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

What did you expect to happen?
TEST MODE: in Chrome, when creating a session using the embedded checkout form for a stripe customer that has associated payment methods, I expect to see all saved payment methods returned that have `allow_redisplay: 'always` as payment options. this is for a one time payment. this customer has a credit card and two us bank accounts associated with their customer,

What actually happened?
I only see a saved credit card for re-use, but no us bank accounts, even though they have the `allow_redisplay` property set as 'always'

Reproduction Steps
Create a session, ui_mode = 'embedded', mode='payment', pass in a line item, and pass in a valid customer id with associated payment methods (one card, one us bank account). verify that the saved card shows up as a payment source but not the us bank account

Question
How can I display the saved us bank account payment methods back to the customer on checkout? Why is it only displaying saved cards? I have verified the allow_redisplay is set to 'always'

What are you working on?
Embedded checkout in our SPA

#

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

Code
Hello,
We are using the stripe form in https://github.com/stripe/stripe-react-native
version 0.39.0 and we are receiving too much payment_intent_authentication_failure the user validate correctly the 3DS after implementation of the new form from :
https://docs.stripe.com/payments/accept-a-payment?platform=react-native

Question
We use only the paymentIntentClientSecret to call initPaymentSheet missing customer Id or Customer Ephemeral Key can cause this problem?

What have you already attempted?
We didn't have this problem before in oldest integrations.

What are you working on?
Credit mobile App

#

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

Question
I'm hoping to be able to invoice a customer any amount and any payment terms. The invoice may contain one-time services and also subscription products. I'm hoping I can put them on one invoice.

Then, for the one-time services, I'm hoping to be able to spread out the payments in any number of ways. For example, one customer may pay in full, while for another they may put 25% down and pay the rest monthly over the course of 12 months.

Is there a way to do this, both in the stripe dashboard and/or via the API? If so, how?

Doc/Guide Links
https://docs.stripe.com/no-code/invoices
https://docs.stripe.com/payments/payment-intents

What are you working on?
An invoicing system that allows customers to get customer services for website building. We need to allow them to create subscriptions (for hosting the website) as well as one-time payments for custom development services

#

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

Question
I’m looking into a email notification everytime the webhook has a failure, in particular… http status: Timed Out

Related Event ID(s)
N/A

What have you already attempted?
email notifications within the webhook script at various points

What are you working on?
Payment completion webhook

#

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

Question
I need to create a SubscriptionSchedule with an upfront payment.

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

What have you already attempted?
So I have tried something like

POST /v1/subscription_schedules
```
{
"customer": "cus_Rj56Is2vGxSJ29",
"end_behavior": "release",
"phases": {
"0": {
"items": {
"0": {
"price": "price_1QpcaVBcQAyRw7rxjIXu0jkZ",
"quantity": "1"
}
},
"iterations": "12"
},
"1": {
"items": {
"0": {
"price": "price_1QpcwdBcQAyRw7rxLPHnbUOS",
"quantity": "1"
}
},
"iterations": "1"
}
},
"start_date": "1787130418"
}
```

but I see "All phase items prices must be recurring" error

#

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

Question
Hey folks, I just pulled up an old postman collection from a previous job (since bankrupted) and found the prod api key is still working - how can I let y’all know to disable it or just FYI it

Related Request ID(s)
All requests

What have you already attempted?
Tried to find an email to contact but needed a stripe account I guess (I don’t have one anymore I think?)

What are you working on?
I don’t want a prod api key for a bankrupt company to cause any issues for old customers

#

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

Question
i need help you with the flutter integration OXXO pay

Related Request ID(s)
i need help you with the flutter integration OXXO pay

What have you already attempted?
i need help you with the flutter integration OXXO pay

What are you working on?
i need help you with the flutter integration OXXO pay

#

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

Question
Stripe Connect - Subscription renewals not triggering - invoices stuck in "draft" for hours

Related Request ID(s)
evt_1QpN3EBPKYvCcaupxVcIwCLl

What have you already attempted?
We've looked at the data on the connected customer account, but there is nothing that clarifies why the new invoice is stuck in the "draft" state

What are you working on?
multivendor ecommerce platform

#

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

What did you expect to happen?
We are loading PaymentElement and AddressElement in separate Elements instances. We expected google address autocomplete to work by default like it did when they were in the same Elements instance, but this was not the case.

What actually happened?
Google address autocomplete does not happen when they are in separate instances. We found this in the documentation

https://docs.stripe.com/js/elements_object/create_address_element#address_element_create-options-autocomplete

Reproduction Steps
If we have AE and PE in different Elements instances and we don't have Link enabled, and we don't pass in "mode: ‘automatic’" then we won't get autocomplete.

If we then DO pass in "mode: ‘automatic’", will we see autocomplete functionality?

or do we NEED one Elements instance or Link enabled for autocomplete to work?

Question
If we have AE and PE in different Elements instances and we don't have Link enabled, and we don't pass in "mode: ‘automatic’" then we won't get autocomplete.

If we then DO pass in "mode: ‘automatic’", will we see autocomplete functionality?

or do we NEED one Elements instance or Link enabled for autocomplete to work?

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

@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://support.stripe.com/questions/does-stripe-send-receipts-for-0-invoices

Question
If I create subscription with 100% coupon on first billing period, will it send an invoice to the customer?

What have you already attempted?
I tried this one but there's no event of sending email so I assumed no invoice is event. There is stripe info that states it will not send an invoice for 0.

cursive heronBOT
#

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

Question
Seems that sending meter data is giving me an error that I'm sending a timestamp that is in the future by roughly 3.5 hours?

Related Request ID(s)
req_JU4yEqkNqxPY4Y

What have you already attempted?
Checking timestamps to make sure I'm not sending timestamps that are in the future…

What are you working on?
A meter based pricing plan for customers on a mealplan/workout plan platform.

cursive heronBOT
#

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

Question
I am creating a checkout session to receive payments and plan to use a webhook to handle the payment_intent events and perform the necessary internal processes in our system.

Is there a way to determine which checkout session a given payment_intent belongs to?

I am planning to include our internally managed order ID in the metadata of the checkout session. Can I expect this metadata to be passed to the payment_intent object?

Doc/Guide Links
https://docs.stripe.com/api/events/types#event_types-payment_intent.succeeded

What are you working on?
Use checkout session to manage payments

cursive heronBOT
#

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

Code
const { onRequest, onCall } = require('firebase-functions/v2/https');
const admin = require('firebase-admin');
require('dotenv').config();
const logger = require('firebase-functions/logger');
const functions = require('firebase-functions');
const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY);
const cors = require('cors');
const transactionHandlers = require('./stripeTransactionHandlers');

// Initialize admin if not already initialized
if (!admin.apps.length) {

Question
Hi! Hope youre doing well! Im Currently running in some issues with my stripe connect implementation and have some questions. I running into an error when someone completes the onboarding process from stripe, i try to open the dashboard but get an error Error opening Stripe dashboard: Error: Cannot create a login link for an account that has not completed onboarding.
createStripeDashboardLink firebase.js:126
handleStripeDashboard StripeConnectManager.jsx:138
React

What have you already attempted?
multiple implentations

What are you working on?
building an ecommerce/market place platform implementing stripe connect for businesses

cursive heronBOT
#

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

Question
What’s the recommended way to monitor when to prevent a customer from using a feature of your service when they have purchased a product with a price that includes a certain number of metered tokens.

I get that we’re able to track Meter Events as they happen via the webhook, but im unclear if I should use an alert for a Subscription Item when that amount passes, keep a running tally of how many credits a user has at any given billing period, or there is a way to call the Stripe API to know what the amount provisioned to a specific customer is. Or maybe there’s another solution im not even thinking of?

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

What are you working on?
I’m building a membership platform for a new museum in Los Angeles

#

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

Question
I am accepting direct charges on Stripe Connect for one-time charges. I have a payments page, where it displays prices and the total due with a payment button. Upon clicking on this button, I create a setupIntent on the customer (on my platform account). Then, following the docs I want to accept the payment through a paymentIntent on the connect account after cloning the paymentMethod. However, on the setupIntent page (with stripe's components), I get the message, `By providing your card information, you allow Zipful to charge your card for future payments in accordance with their terms.`

Related Request ID(s)
req_3JLp9N58cMjfJg

What have you already attempted?
Following these docs:
- https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements&client=react#charge-saved-payment-method
- https://docs.stripe.com/connect/direct-charges-multiple-accounts

What are you working on?
A ticketing software for independent organisers

cursive heronBOT
#

@finite tree pressed 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/upcoming

Question
I found that subtotal amount is actually included discount amount.

Would like to double confirm does subtotal amount include discount amount?

What have you already attempted?
I try to call Invoice upcoming api with below payload

[
"subscription_details" => [
"items" => [
[
"price" => "price_xxx",
"quantity" => 1,
"tax_rates" => [
"txr_xxx"
],
"discounts" => [
[
"coupon" => "TOTAL50",
]
]
]
[
"price" => "price_xxx",
"quantity" => 2,
"tax_rates" => [
"txr_xxx"
],
"discounts" =>[
[
"coupon" => "TOTAL50",
]
]
]
]
]
]

#

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

Code
```php
public function __invoke(Request $request, $plan)
{
return $request->user()
->newSubscription($plan, $plan)
->checkout([
'mode' => 'payment',
'success_url' => route('dashboard'),
'cancel_url' => route('pricing'),

        \]\);
}

```

Question
I want customer to pay one one time but i am getting error on redirect, You must provide at least one recurring price in `subscription` mode when using prices.

What have you already attempted?
I had changed settings on stripe pricing from recurring to one-off.

What are you working on?
I am working on integrating stripe with my laravel app.

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/payments/bank-transfers

Question
Do bank transfer payment, collection_method=bank_transfer, takes long time to reflect on stripe customer customer balance?

What have you already attempted?
we are on live mode and testing the bank transfer, however, its been 15 minutes and the payment is not yet reflected.

#

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

Question
When using usage based billing, the docs say that when doing an upgrade, then usage is only billed after the date of that upgrade. By setting the proration date, will that backdate the usage price?
just to be clear; what i want to do is replace the previous price mid-cycle and still bill the pre-upgrade usage at the new price

Related Request ID(s)
NA

What have you already attempted?
reading the docs + not being clear

What are you working on?
tiered usage based billing that changes with the amount of seats

cursive heronBOT
#

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

Question
Why can I not UPDATE a customer with a `tax_id_data` but only add it on CREATE the customer according to the docs?

What if I create a customer in stripe and they add their tax ID (e.v. DE12312123) in hindsight?

Is there a reason this is not part of the `CustomerUpdateParams` in the node sdk?

Related Request ID(s)
none

What have you already attempted?
Read through docs

What are you working on?
Ecomm

cursive heronBOT
#

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

Question
I’m using the Payment Element and I was wondering if there’s a way to customize the text labels. Specifically, I’d like to add an asterisk (*) at the end of the label text and make it red, while keeping the rest of the text in a different color.

Is there any built-in way to achieve this, or would I need to override styles manually?

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

What are you working on?
Payment Element

cursive heronBOT
#

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

Question
Quick question: When i add webhook to test ENV it also adds to prod with the same url. But my test ENV and prod ENV have different URLS. How do i get it so the prod webhook sends to one URL and the test to another.

Related Event ID(s)
we_1QpoX4P7mRUqpFzxC9JsKO9B

What have you already attempted?
Went into test and added it to the test url but it added it on prod as well.

What are you working on?
a webhook that calls my server when a customer adds a card to there account so we can get the payment id.

cursive heronBOT
#

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

Question
When a subscription is created but not paid yet (status=incomplete) we were always able to cancel the subscription. Now it throws a `You cannot cancel a subscription with an active checkout session. Expire the checkout session instead.`.

Related Request ID(s)
req_zICCTGbtg1TENi

What have you already attempted?
Also tried via the dashboard, fails as well with same error. We didn't saw this error before, also when we build this cancel logic for incomplete subscriptions in January 2024. We can probably work around by storing the checkout session id and cancel that, but it we were a bit surprised by this behaviour, also the fact that the dashboard throws it.

What are you working on?
A customer clicking subscribe again, preventing duplicate subscriptions.

#

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

Question
Hello,
We are using the stripe form in https://github.com/stripe/stripe-react-native
version 0.39.0 and we are receiving too much payment_intent_authentication_failure the user validate correctly the 3DS after implementation of the new form from :
https://docs.stripe.com/payments/accept-a-payment?platform=react-native

Related Request ID(s)
We use only the paymentIntentClientSecret to call initPaymentSheet missing customer Id or Customer Ephemeral Key can cause this problem?

What have you already attempted?
Can we know why it fails?

cursive heronBOT
#

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

Question
I am trying to setup subscription. I will have to options basic plan, premium plan. Each plan has different pricing and it will be charged based on number of seats (users). If the additional seat added in the middle of the month, then charge prorated amount. Can you recommend the what subscription method i should use? is it fixed price, meter etc?

Doc/Guide Links
I have been reading this document
https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide

What are you working on?
Stripe Subscription

cursive heronBOT
#

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

Question
Payment instalments using Klarna are not supported in Croatia and I want to create for my client custom manual flow of through Stripe dashboard.

So idea is that admin of app will go in Stripe dashboard and create payment links for payment instalments and manually send them to user.

I have 2 questions that I'll write in thread because of character limit here.

Related Request ID(s)
xx

What have you already attempted?
xx

What are you working on?
Payment instalments

cursive heronBOT
#

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

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

Question
I want to create a custom invoice and receipts (with company branding) for users, and want to include the Information like consultant name, user name, booking amount, scheduled call date and time, duration of that call etc...

What have you already attempted?
haven't attempted anything yet, cause not getting a perfect path to attempt it.

What are you working on?
I am developing a consulting service platform. where user can book a session with experts for consulting.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/taxes/manual-tax-amounts#create-credit-note

Question
How can I only refund the tax amount from an Invoice by creating a credit Note?

What have you already attempted?
I am aware of being able to create a custom line item for a credit note where I set the amount to what tax was in the original invoice and setting that line item's tax to 0. But I was hoping of existing a more robust way of doing things. I am using avalara so the tax calculation is exclusive and manual on the invoices.

What are you working on?
Working on being able to refund customers that provide a valid company vat and becoming tax exempted

cursive heronBOT
#

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

Question
I got this error message when trying start payment: You might be having a network connection problem, the link might be expired, or the payment provider cannot be reached at the moment.

Related Request ID(s)
req_RHU7PeBQn0rx5l

What have you already attempted?
I have been checked the api key, secret key.
With other account the same code is working well.
Now here (where not working) is the api version 2024-04-10.
At other websites, where is ok, there is 2022-11-15

What are you working on?
Is there any way, to use the older api version? Maybe this could be the solution.

cursive heronBOT
#

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

Question
How can I process MOTO payments using a virtual terminal? I have a C# application where I want to host a virtual terminal so that users can enter card payments. I don't want all users to have to log on to the Stripe dashboard.

Related Request ID(s)
0

What have you already attempted?
I have got MOTO enabled by support@stripe.com. All they have sent me is a link to https://docs.stripe.com/terminal/features/mail-telephone-orders/payments. This doesn't provide the answers.

What are you working on?
It's a Windows .Net 4.8 application

cursive heronBOT
#

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

Code
stripe setup_intents create --customer "cus_R0fxgho1pCrgzF" --payment-method "card"

Question
I would like to generate a setup intent that will only be for the positive payment method of a credit card. But I get an error using your API. What could be wrong?

What have you already attempted?
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such PaymentMethod: 'card'",
"param": "payment_method",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_J53EP658lBKjLh?t=1738941668",
"type": "invalid_request_error"
}
}

cursive heronBOT
#

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

Question
Is there a way to create adhoc line items that don't create an product or price, to prevent clutter e.g.

A donation system where the price is variable

Related Request ID(s)
NA

What have you already attempted?
I know using price_data is likely the right approach but when using it does the product show in the list of products in stripe when doing it this way

#

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

Question
It's possible to update my connected account controller_fee value ?

It's very weird beacause actyally with the dashboard -> "Test your pricing scheme" and i put the charge_id of any connected account and it's sounds good??? Why ?

Actually it's "application_custom" but i can't use the Platform pricing.

Please help me to find a solution ?

Related Request ID(s)
acctgrp_P9OrZ01ncJK1IB

What have you already attempted?
Also i try the Account V2, and i think with that it's possible to update the controller_fee value, can you confirm ?

#

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

Question
I create invoices through my API in python, I have it set to charge_automatically, yet when I just created an invoice with that setting it didn't try and charge my customer even though they have a payment method saved.

Related Request ID(s)
in_1QpsKGHJGMAIcIokOOyWYiQu

What have you already attempted?
I read that you can use another endpoint to charge the invoice, do I need to call this? even if I have the charge_automatically option set?

What are you working on?
A dashboard

cursive heronBOT
#

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

Question
How can I be very sure that a payout was successfully done?

The webhook payout.paid says:
Occurs whenever a payout is expected to be available in the destination account. If the payout fails, a payout.failed notification is also sent, at a later time.

Related Event ID(s)
N/A

What have you already attempted?
Exploring other methods

#

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

Error Message
Blocked by a default Radar rule due to a high risk of fraud

Question
Why was my client's payment blocked?!

I have verified that it's my client by asking him about the transaction.

I need these funds released so that we can proceed... otherwi,se this will delay everything.

Payment ID: pi_3QpZb5ISSnagTr7s08CnuCSP

What have you already attempted?
Nothing...

#

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

Question
How can I remove a "local listener" from the list of registered webhook listeners? Is it possible?

Related Event ID(s)
n/a

What have you already attempted?
go to webhook page and look for a delete button (there is only an add)

What are you working on?
testing subscription payments (which require all registered webhook listeners to respond 200 to get charge_automatically payments to advance)

cursive heronBOT
#

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

Question
I'm currently using Stripe for my online marketplace at TheArtTimes.com, with WooCommerce and Dokan so that users can register their own artwork for sale. We have Stripe Connect enabled, but I want to make sure I'm following best practices regarding Stripe and Stripe connect and I'm having a devil of a time connecting with Support on the matter. We want to use Stripe for selling the subscriptions and Stripe Connect for vendors to collect payments from customers. Are there any recommendations for how to set up the Stripe components? Do I need to put my company under my own Stripe Connect in order for this to work properly? I tried asking Dokan and WooCommerce already.

Doc/Guide Links
I have utilized ChatGPT for advice and Dokan and WooCommerce support for setup of their plugins, but was offered no guidance on the Stripe setup itself.

What are you working on?
An online marketplace which uses Stripe for payment processing, and Stripe Connect for direct payments to vendors hosted on the platform.

#

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

What did you expect to happen?
Proration behaviour to always invoice is issuing invoice, but when customer doesnt pay , the subscription is cancelled

What actually happened?
Proration behaviour to always invoice is causing subscription to be cancelled

Reproduction Steps
set proration to always invoice, customer doesnt pay, the subscription is cancelled

Question
how to not cancel subscription , when Proration behaviour to always invoice and customer deosnt pay.

we are trying to force customers to pay in case number of units for a subscription is increased

What are you working on?
we are trying to force customers to pay in case number of units for a subscription is increased

cursive heronBOT
#

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

Question
We are looking to upgrade our Stripe API version and we are only seeing the option to upgrade to the latest API version, and wondering if we are able to do incremental upgrades? We are currently on version 2020-03-02 and looking to upgrade to 2020-08-27, and then the next version and so on.

Related Request ID(s)
NA

What have you already attempted?
Looked in Workbench and only see the latest version to upgrade to

What are you working on?
Trying to upgrade our Stripe API version and make the necessary code changes.

#

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

What did you expect to happen?
Not to receive a 1099 k file from your company when I never used Stripe once.

What actually happened?
My MOM half way across the country recieved a 1099 k form from stripe in my name for 10k$ and I've never used stripe.

Reproduction Steps
I don't know, yall don't have any actually system for support for people like me. Not even a phone number.

Question
How are yall going to retract the 10k and clear my name and sick your team and authorities on the fraudulent person?

What are you working on?
Working on not having 10k in my name to yalls company I never used.

#

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

Question
How to Embed Receipt Download in My App?
I'm trying to enable direct receipt downloads from my app using Stripe’s receipt_url

Is there a correct way to fetch the receipt directly? Should I modify the request headers to bypass CORS?
Would it be better to fetch the receipt from my backend instead? Thanks!

Related Request ID(s)
receipt_url

What have you already attempted?
Fetching the receipt URL with axios as a pdf (application/pdf header). Issue: CORS policy blocks the request.

What are you working on?
I’m building a community platform where users subscribe to communities. Users provide payment info and complete a form set by the community creator. Admission depends on the creator’s approval

cursive heronBOT
#

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

Code
this.elements = this.stripe.elements({ clientSecret, appearance, fonts: [{cssSrc: 'https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;700&display=swap'}]});
this.paymentElement = this.elements.create('payment', {
paymentMethodTypes: ["card"],
disableLink: true,
});
this.paymentElement.mount('#payment-element');

Question
I noticed strange behavior with the Payment Element. When I first load the page, only the credit card option appears as expected. However, after refreshing the page, both the credit card and Link payment methods show up, even though I have explicitly set paymentMethodTypes: ["card"] and disableLink: true. Could this be caused by something on the backend or a cache issue? Any ideas on what might be going wrong?"

What have you already attempted?
setup intent: seti_1QptXeLoIlB9VvUEYvQ1B5Cx
client secret: seti_1QptXeLoIlB9VvUEYvQ1B5Cx_secret_•••fYNV

cursive heronBOT
#

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

Code
function createPaymentMethodAndCharge(stripe, card) {
stripe.createPaymentMethod({
type: 'card', card: card.cardNumber, billing_details: {
name: $("#name-text-name").val()
}
}).then(function (response) {
if (response.error) {
alert(response.error.message);
$('#pay').prop('disabled', false);
$('#pay').html($('#opay').attr('data-main-text'));
} else {
var payment_method_id = resp

Question
This code works fine on dev and localhost but switching to production token it just hangs

What have you already attempted?
try to play with headers to make sure it is nto blocked by content policy but everything looks fine

#

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

Question
Is it possible to set a payment method for a specific subscription? So my customer can select one payment method for Subscription 1 and another one for Subscription 2 - and if none is set it will inherit the default payment method?! Just curious :)

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/payment-methods-setting

What are you working on?
Subscription Charges

#

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

Code
await stripe.paymentMethods.attach(sharedPaymentMethod.id, {
customer: userData.testStripeCustomerId
});
OR
await stripe.paymentMethods.create(
{ payment_method: connectedPaymentMethod.id }
);

Question
We set up a new feature to allow our customers who have connected accounts on stripe to create subscriptions and have their own customers. When the connect account customer pays for a subscription, the payment is tracked within that connect account. It's possible for the customer to pay for subscriptions on multiple different connect accounts. We want to track all the payments of this customer on our main stripe account as well. But, when we try any method, it does not work.

What have you already attempted?
the current solution we've been trying is to attach the payment method of the subscription payment made on the connect account customer on the same customer in the main platform account. However when we run that code above, it gives us this error: No such PaymentMethod: 'pm_1QplirH5xbpgiwgVT8jDflyp'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account.

What are you working on?
We are utilizing the connect accounts payments, subscriptions, and product so that the payments directly go to their account and so that it's managed directly

cursive heronBOT
#

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

Code
not enough space here, I'll post in the thread

Question
I'm trying to render Stripe Connect components in vue, and I cannot get the element to display.

What have you already attempted?
I try loading the components as described in the docs, but it renders with no height or width, except if I provide an invalid access secret, in which case it renders "Something went wrong - There was an error during authentication.", which indicates to me that what I'm doing is not wrong. I get no errors in the console and I see the component rendered in the dom, but it's 0x0 in size.

What are you working on?
Trying to embed connect-js components on our platform

cursive heronBOT
#

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

What did you expect to happen?
When attaching a payment method to a customer for it to just attach without any authorization type error:

/v1/payment_methods/pm_xxx/attach

What actually happened?
The API returns a 402 with a decline message of "transaction_not_allowed"

Reproduction Steps
Try and attach a payment method that has some sort of MCC limitation to a platform account not within that MCC availability.

Question
Is there a way to attach a payment method at the platform level that does not do any sort of authorization? We know the payment methods are MCC limited (flex type spending). When we actually go to charge the customer we will use the on_behalf_of a connected account within the correct MCC bounds.

What are you working on?
A payment acceptance form for insurance

#

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

What did you expect to happen?
Expected ssn_last_4 to be verified during connect onboarding using onboarding component

What actually happened?
After completing onboarding, the notification component said, "we're missing valid information about your business," and when I clicked update, I was presented with UI to enter complete SSN

Reproduction Steps
onboard a custom connect account with card payment, ach and transfer capabilities, use valid last 4 of SSN and see if verified business when complete

Question

  1. Why is it saying last 4 cannot be verified?
  2. Can force onboarding to collect a full SSN so account completes in one session?
cursive heronBOT
#

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

Code
<form className={styles.form} id="payment-form" onSubmit={handleSubmit(onSubmit)}>
<PaymentElement />
</form>

Question
i am already successfully using PaymentElement from react / redux
i am generating a payment intent from back end with the amount set to the amount of the cart
planning to enable ACH debit from dasboard, but if the user selects ACH debit payment methd i want to be able to add a fee that i already have as data
so

  1. there is a way to hook up to an event to check the payment method changes from react
  2. there is a way to add a custom fee to the payment intent final amount if ACH

What have you already attempted?
look for the docs but i cant find anything related

#

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

Question
Hi, I'm trying to figure out if we can store a payment method using Tap to Pay on Android, or, is the payment instrument yielded by Tap to Pay one time use only? The docs for Setup Intent seem to suggest we could use setup intents with Tap to Pay.

Doc/Guide Links
https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly

https://docs.stripe.com/payments/extended-authorization?platform=web&ui=elements

What are you working on?
We loan reusables containers to our users, we charge them for the container if they don't return it.

#

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

Question
Is there a way to resend a production webhook? It looks like our endpoint wasn't listening to it. What is weird is we have a log of some of it and some of code executed but not all of it.

Related Event ID(s)
evt_1QpwuyL9ZmOi8B5Qs4mepjQl

What have you already attempted?
Looked through docs.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/3d-secure/authentication-flow?platform=web#three-ds-cards

Question
I'm trying to understand the difference between a card supporting 3DS and being enrolled in 3DS.

What have you already attempted?
We are manually requesting 3DS authentication when sending an API request to create a SetupIntent. The 3DS auth flow appears as expected when testing with a card that supports 3DS, but doesn't require it (ending in 3055 in docs). However, we are unable to trigger the 3DS auth flow when testing with a card that supports 3DS, but is not "enrolled" (ending in 4242 in docs). How can we trigger the Stripe 3DS auth flow for a card that supports 3DS, but is not enrolled? What does it mean to be enrolled, and is this something we can control or is it up to the card issuer?

What are you working on?
Requesting 3DS as part of card setup and payment processing to satisfy the Japan 3DS mandate

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/collect-then-transfer-guide?platform=no-code

Question
Is there a way to define how many times I will split the payment? From what I understand, in every payment recurrence, the connected account receives the amount. But, let's say I only want to pay on the first invoice; how would I do that?

What have you already attempted?
I have already created the payment links and split them with the connected account.

What are you working on?
Split the payment of a recurring payment link only on the first invoice.

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Code
paymentIntent = await stripe.paymentIntents.create(
{
amount: finalPaymentAmount,
currency,
payment_method_types: ["card"],
confirm: true,
application_fee_amount: adminFeeInCents,
payment_method: "pm_card_visa",
capture_method: "automatic", },
{ stripeAccount: shopkeeper.stripeAccountId }
);

Question
In this payment intent I am getting this error "Failed to create payment intent: You cannot use the test ID 'pm_card_visa' in livemode. If you are testing your integration, please use your testmode API keys instead."

What have you already attempted?
I have given you code about that.

#

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

Code
const paymentMethod = await stripe?.createPaymentMethod({
type: "card",
card: cardElement as StripeCardElement,
billing_details: {
name,
address: {
line1: addressLine || null,
country: country || null,
state: state || null,
city: city || null
}
}
});

Question
after creation of payment method i pass the id of that payment to the customer to add the payment

This is how i added payment methods to that customer, but how can i make sure the card is already exists or not?

want to make sure all cards must be unique

What have you already attempted?
Did't do anything yet

What are you working on?
Manage payment methods for customer

cursive heronBOT
#

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

Question
Is that possible using Stripe to bill customer and let them pay to other company instead of my company?

Related Request ID(s)
No ID yet

What have you already attempted?
Managed to bill on self company. Willing to understand more about the possibility to allow customer to bill directly to another company instead of my company.

What are you working on?
Web/Mobile App

cursive heronBOT
cursive heronBOT
#

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

Question
Hi Team, I can't get the AuthorizationCode value from the event in the test environment, but I can see some numeric values in prod.
Also, could you please let us know what are the other places other than Card I can get the AuthorizationCode?

Related Event ID(s)
DEV event Id: evt_3Qq41EHFzwE4pTge0iXASxNW ==> PROD event id: evt_3QqqPIHFzwE4pTge05TtU3At

What have you already attempted?
I tried the card payments in the dev environment but am still getting the null value for the authorisation code.

What are you working on?
I'm validating the authorization code. But couldn't test in prod environment.

#

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

Code
const ephemeralKey = await StripeClient.stripe.ephemeralKeys.create(
{ customer: customerId },
{ apiVersion: "2025-01-27.acacia" },
);
return {
customer: customerId,
ephemeralKey: ephemeralKey.secret,
};

Question
EphemeralKeys must pass apiVersion or not?

it note:
You must specify the API version when creating ephemeral keys. Currently, the required version is 2020-03-02. You must also pass in an ephemeral key nonce, which you can create in your web integration.

if my dashboard api is more than 2020-03-02. Can I skip it ?

What have you already attempted?
-

cursive heronBOT
#

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

Question
It is giving an error of adding a payment method but what if the customer wants to continue with the same payment method already defined or the default payment method

Related Request ID(s)
req_ISEcYSmV75pi3U

What have you already attempted?
i was trying to confirm payment with this function await stripe.confirmPayment({
clientSecret,
confirmParams: {
return_url:`/${props?.entityName}/settings/invoices`,
},
});

#

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

Question
I am trying to create a custom invoices, my original rate for the subscription is 0.1 per page. but this rate can be different depending upon users.

But this custom invoice, i want to charge 1.1x times extra. so the per page rate will be 0.11 per page.

Is there a way to create invoice, where i mention quantity and original price rate (0.1)

and again have a 1.1x times to calculate the total

Doc/Guide Links
not looked at any specific docs

What are you working on?
I am builind a document processing platform

cursive heronBOT
#

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

Code
import requests
from bs4 import BeautifulSoup

# Define the base URL for the search page on Mercari (adjust the URL to match the search query)
search_query = "projector"
url = f"https://www.mercari.com/search/?keyword={search_query}"

# Send a request to the page
response = requests.get(url)
soup = BeautifulSoup(response.content, 'html.parser')

# Extract product details (modify according to Mercari's HTML structure)
products = soup.find_all('li', class_="search-result")

for

Question
import requests
from bs4 import BeautifulSoup

# Define the base URL for the search page on Mercari (adjust the URL to match the search query)
search_query = "projector"
url = f"https://www.mercari.com/search/?keyword={search_query}"

# Send a request to the page
response = requests.get(url)
soup = BeautifulSoup(response.content, 'html.parser')

# Extract product details (modify according to Mercari's HTML structure)
products = soup.find_all('li', class_="search-result")

for

What have you already attempted?
I am looking for someone from a new in-house account.

Thank you for visiting.

I will search domestic flea market sites for the specified keywords.

Could you extract the top-ranked product information into Google Spreadsheets?

I will specify 3-4 times, so please provide the search ranking for each time.

I will also tell you the keywords separately, so I would like you to color the words in red or other colors when they appear in the extracted information.

[Delivery date]

What are you working on?
freelancer

cursive heronBOT
#

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

Question
I currently have a large number of declined payments from Stripe. They all have a generic_decline with no risk score

Related Request ID(s)
req_cTbnpli2NfNcnm?t=1728119737

What have you already attempted?
Tried to add new information like shipping and billing details

What are you working on?
Being able to approve payments

cursive heronBOT
#

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

Code
const options = {
clientSecret: "CLIENT_SECRET",
amount: 1099,
currency: 'gbp',

};

Question
We’re using the deprecated Payment Request Button Element. While the Express Checkout Element works technically, it lacks a key feature: setting the amount shown using a setup intent (currently displays £0.00). This is confusing for customers.

Questions:

What happens if we don’t migrate? Will the Payment Request Button stop working or pose security risks?
Will future updates to the Express Checkout Element allow setting the amount for setup intents?

What have you already attempted?
We have tried variations on the options, but there does not appear to be a way to

#

@vernal prairie 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.

Question
I am creating a payment intent for that I need payment method. So at that time I am getting above error.

What have you already attempted?
paymentMethod = await stripe.paymentMethods.create(
{
type: "card",
card: {
number: cardNumber,
exp_month: parseInt(monthYear.split("/")[0]), // Extract month
exp_year: parseInt(monthYear.split("/")[1]), // Extract year
cvc: cvc,
},
billing_details: {

cursive heronBOT
#

@waxen peak pressed 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/appearance-api

Question
Hi, I noticed something strange in the Payment Element when trying to add a payment method for future use. When the SetupIntent supports two or more payment methods (e.g., "US Bank Account" and "Card"), a tab appears that allows selecting the payment method. However, if I have only one payment method ("Card"), the form fields for the card are displayed, but the tab with the "Card" label is missing.

Is this expected behavior?
Is there any way to force the tab to appear even when there is only one payment method (with just the "Card" tab visible)?

What have you already attempted?
NA

What are you working on?
Payment Element

#

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

Question
We need clarity on what method of creating charges with Stripe Connect are the best for our use case.

We are setup in USA and will have connected accounts all over the world (in Stripe supported countries).

Creators/Connected accounts, after they've completed onboarding on our site, can create products to sell on our marketplace.

Are "Direct charges" the most appropriate for us?

If so, couple of follow ups:
1a. Do we need to create the products under the connected accounts profile?
1b. Can that be done when a product is created via the API/SDKs?
2. Is it best practice to attach a customer to the create checkout session object when creating them via the API/SDKs?

Doc/Guide Links
We are looking at:
Stripe Connect: https://docs.stripe.com/connect/direct-charges
Creating products: https://docs.stripe.com/api/products/create

What are you working on?
A marketplace that connects publishers/creators of tabletop role-playing games (books) and users that purchase their content.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/bank-transfers/accept-a-payment?payment-ui=direct-api&invoices=without#web-complete-bank-transfer

Question
what i need to do if my paymentIntent that i create has next_action[display_bank_transfer_instructions]

this is my next action object: https://ray.so/HO68Nvk

What have you already attempted?
-

#

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

What did you expect to happen?
I expected to get an invoice in my customer billing portal

What actually happened?
The invoice does not exist but the payment appears in the customer page in Stripe back-office

Reproduction Steps
I created and paid a Stripe-hosted checkout page for a customer in payment mode
```{
...
mode: 'payment',
customer: subscription.customer,
line_items: [{ quantity: 1, price_data: {
currency: subscription.currency,
product_data: { name: `something` },
unit_amount: upgrade.unit_amount - current.unit_amount
} }]
}```

Question
Why does the payment invoice is not visible in my customer billing portal?

#

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

Question
I'm looking for some input on a payment flow challenge we're facing, which is built on Stripe Connect. In our marketplace, we reserve a payment via a PaymentIntent when a service (or "helper") is selected, and then later—when the task is done and verified we capture that payment. However, we sometimes need to increase the charge after the initial reservation has been made, and since the PaymentIntent is already in the requires_capture state, updating the amount isn't an option.

Has anyone encountered a similar scenario? How have you handled adding a pay increase (or additional charges) in a reservation/capture flow without modifying the existing PaymentIntent?

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

What are you working on?
Marketplace connecting customers using Stripe Connect

#

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

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

Question
Hi, I'm using the Payment Element UI to add a credit card as a payment method. One of the fields to fill out is "Country," which displays a dropdown list with a large number of countries. Is it possible to limit the list to only two specific countries?

What have you already attempted?
NA

#

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

Question
When retrieving an upcoming subscription invoice with: GET /v1/invoices/upcoming?subscription=<subId>&subscription_cancel_at_period_end=false
for a subscription that is managed by the subscription schedule I get following error: "The subscription is managed by the subscription schedule <subShedId>, and updating any cancelation behavior is not allowed."

I am not updating the subscription and just want to review the upcoming invoice. I need the subscription_cancel_at_period_end flag to retrieve hypothetical invoices for canceled subscriptions

Related Request ID(s)
req_rli7I3Z4W7Rz0w

What have you already attempted?
using the customer instead the subscription, but this doesn't retrieve hypothetical upcoming invoices for canceled subscriptions

#

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

Error Message
card does not support 3ds

Question
how to implement 3ds for Japan if some are support and some card does not support 3ds and some does not how to handle

What have you already attempted?
we have implemend 3ds and added payment_method_options: {
card: {
request_three_d_secure: 'automatic',
},
},
while creating payment intent

#

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

Error Message
ncaught TypeError: Cannot read properties of undefined (reading 'length')

Question
magento 1 extension stop working suddenly after updated api on 27-01. I will migrate to magento 2 but right now i need to make tis works. Can you help me?

What have you already attempted?
Upgrade the api in my extension

#

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

Error Message
Stripe is not defined

Question
Today, all my magento 1.9 stripes suddenly stopped working. Different hosts, different systems...

What have you already attempted?
Reindex and recache

cursive heronBOT
#

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

Question
I wanted to know in the cas were a transfer has been made to a connect account from a platform account, if we want to refund the customer do we have to make the reversal transfer + wait and when the reversal has been done, launch the refund, or can we launch both of the reversal and refund at the same time without worrying about anything ?

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

What are you working on?
platform account that redistribute money to connect account that are tie to merchant

#

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

Question
Hey, currently we are using subscription schedules. We must now implement a feature which allows pausing of the current phase (so not charging the user at all, say for 3 months).
After pausing has ended, we wish for the other phases to continue.
Is there a recommended approach to take for this use case?

I have experimented with trials, inserting a new phase with a trial, shifting start dates and end dates of all phases, pausing a collection on the subscription level, as well as releasing the schedules and building from scratch (starting the first phase when the pause period has ended and excluding any phases already charged)

And advice would be highly appreciated :)

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules#using-trials
https://docs.stripe.com/billing/subscriptions/pause-payment#collect-payment-never
https://docs.stripe.com/api/subscription_schedules/update

What are you working on?
Pausing subscription schedule phases

cursive heronBOT
#

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

Code
curl https://api.stripe.com/v1/transfers
-u platform_api_key
-d amount=1000
-d currency=GBP
-d destination=connect_acc_2
-H "Stripe-Account: connect_acc_1"

Question
Hello, I’m trying to transfer funds between connected accounts, but it’s failing when I use the method for creating transfers between connected accounts. I might be doing something wrong. My goal is to transfer amounts between two accounts connected to my platform via Stripe Connect. The funds could also come from a charge, but I still can’t figure out how to do it when charging on behalf of a connected account. I want to avoid using destination charges.

What have you already attempted?
I’ve read the docs and asked ChatGPT, but I’m still confused.

What are you working on?
Tickets platform

#

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

Question
On creating subscription schedule, when an invoice is created, i need to show some details of invoice pdf so how to do it

Related Request ID(s)
123

What have you already attempted?
I have passed description in default_settings but it is not showing in invoice pdf

What are you working on?
creating subscription

cursive heronBOT
#

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

Question
How to list all invoices with all statuses EXPECT "draft"?!

Related Request ID(s)
-/-

What have you already attempted?
https://docs.stripe.com/api/invoices/list

I've implemeneted this api call which works fine, working around with starting_after and ending_before.

Now we receive ALL invoices. I have filtered them manually to ignore all "draft" invoices. But this breaks our "pagination" and delivers instead of 5 invoices sometimes just 4 because one was a draft.

Can I implement in the API call that I just want all status expect draft? That would help so much.

What are you working on?
Load all Invoices expect draft ones

#

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

Code
"use client";

import { useState, useEffect } from "react";
import Link from "next/link";
import { Roboto } from "next/font/google";
import AOS from "aos";
import "aos/dist/aos.css";
import { FaShoppingCart } from "react-icons/fa"; // Import Cart Icon
import Image from "next/image";

const roboto = Roboto({
weight: "400",
subsets: ["latin"],
});

export default function Navbar() {
const [isOpen, setIsOpen] = useState(false);
const [cartDropdown, setCartDropdown] = use

Question
Why is it giving me error and saying this:

http://localhost:3000/api/checkout 400 (Bad Request)

Navbar.js:105 Checkout failed Error: Failed to create Stripe session: Cart is empty
at handleCheckout

What have you already attempted?
I have been using ChatGPT to try and help me but it doesn't seem to be working

What are you working on?
I want to create a checkout on my website for flower store

#

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

Question
I'm using the PaymentElement component, which is mostly fine. But I can't see the Bank Transfer option, although it is enabled in the dashboard. Other 2 options are displayed in a correct way.

Related Request ID(s)
req_hCkXxQzevGdwy0

What have you already attempted?
Integrated using the @stripe/react-stripe-js lib, all works fine, except for the bank transfer.

cursive heronBOT
#

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

Question
I have a webhook that listens for the invoice.payment_failed event, but it's currently only handling auto-renewal failures. I want to distinguish payment failures that occur during checkout, such as declines due to insufficient funds. Is there a way to differentiate these types of events?

Related Event ID(s)
evt_1Qqx5pKisS78xILJmDu2V301 (Test)

What have you already attempted?
I have reviewed the events trying to find differences and found that one has the source from Automatic and the other from API, however, I do not know how to differentiate this within the object.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/ach-direct-debit#:~:text=click Send invoice.-,On the invoice details page%2C under Details%2C click the Payment,the bank account with mi

Question
Can I prevent the client from using micro deposits to manually verify their bank account? We’d prefer to just do instant verifications

What have you already attempted?
Tried reading through the app to find a way to disable it.

#

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

Question
I want to listen to event when someone has used promo code inside of stripe checkout and stripe checkout has finished successfully.

Related Event ID(s)
x

What have you already attempted?
x

#

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

Question
I am having trouble with my Stripe connect integration.
When reaching the Stripe onboarding step, my users are asked to fill their business information, which does not make sense as they are individuals and have no business.
Is there a way to bypass the business verification in this case?

Related Request ID(s)
req_Te4QJt2JOGSKqk

What have you already attempted?
I tried adding the following params:
const account = await stripe.accounts.create({
type: 'express',
business_type: 'individual',
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
});
This skips the "What type of business are you" screen but still tries to collect business info like website and merchant category code.
Then I tried to input these manually. Iw works to skip these screen but in the end the user sees the business section with my data and it's confusing. Can I just avoid this?

What are you working on?
I am building a wedding list platform that lets users collect donations through my website.

cursive heronBOT
#

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

Question
I'm integrating Stripe with Bubble.io and handling subscription updates via webhooks. However, when a user upgrades or downgrades a subscription, Stripe sends two customer.subscription.updated events, causing duplicate emails to be sent.

Related Event ID(s)
evt_1QqzPy09LC4lNyTLpVM0oxRW, evt_1QqzRE09LC4lNyTLi23m1aJh, evt_1QqzRG09LC4lNyTL8Qq0Gy7E

What have you already attempted?
Comparing latest_invoice, Checking price_id changes, Using previous_attributes

What are you working on?
Implementing Stripe on Bubble.io

cursive heronBOT
#

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

What did you expect to happen?
When ending a monthly subscription cycle and starting another, the quantity of the product is being reset

What actually happened?
I expected that another subscription cycle would start with the same quantity of the subscription product (1 unit)

Reproduction Steps
Create a fixed-price product with monthly billing, create a subscription with that product, advance the time from month to month

Question
How can I adjust/solve this problem, so that every subscription cycle has the same amount of product and without having Unused time on.

I have already tried all the billing portal settings, so there is no pro rata

What are you working on?
Saas platform with monthly subscription plans

#

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

Question
How can I test a subscription payment that fails. Where can I see the possible flows for stripe events, in special failed subscription payment

Related Event ID(s)
evt_1QqzKzDn6CAQGXZnmnIqmLFX

What have you already attempted?
Using Strtipe CLI, I can manually fire events like: customer.subscription.updated, invoice.payment_failed.However I believe there is a flow that I don't get it, also when firing customer.subscription.updated, Looks like I always get new subscription being created and I need payment failing

What are you working on?
Gym System

#

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

Question
What are the differences between application_fee_amount and transfer_amount when creating a payment intent?

For reference: https://docs.stripe.com/connect/destination-charges?platform=web&ui=elements&fee-type=application-fee

Related Request ID(s)
n/a

What have you already attempted?
Current use transfer_amount but that does complicate report so seeing if there is anything outside of reporting that is different I should be aware of

#

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

Code
const stripeConnectPromise = loadStripe('pk_test_(...)');
(...)

        <ConnectComponentsProvider connectInstance={stripeConnectPromise}\>
            <ConnectAccountOnboarding
                clientSecret="accs\_secret\_\_\(...\)"
                onExit={\(\) =\> {
                  console.log\("The account has exited onboarding"\);
                }}
              /\>
          </ConnectComponentsProvider\>

Question
I'm trying to implement Embedded onboarding but I can't make the front-end component render.

I don't get any errors, it just won't load anything.

What have you already attempted?
Already checked the docs and the demo example

https://docs.stripe.com/connect/embedded-onboarding

https://github.com/stripe/stripe-connect-furever-demo

What are you working on?
https://docs.stripe.com/connect/embedded-onboarding

#

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

Question
Subscription_schedule.released is not triggered.
I am in test mode and forwarding the test clock until the last phase finishes. However the release event is not triggered. I am also a little confused that the stripe dashboard says that the phase lasts forever, even though my last phase had iterations=1.
The end behavior is also set to 'release'

Related Event ID(s)
evt_1Qr00VJ7ZygNA3sDZaAuIp9D

What have you already attempted?
I have read the docs, but it doesn't state anything besides that the event should be triggered

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 always visible as a payment method

What actually happened?
sometimes klarna is not visible

Reproduction Steps
it just happen sometimes

Question
we have klarna enabled as a payment method both on the system settings and in the field payment_method_types in the payment intent creation. we noticed that sometimes klarna does not show up. is that possibile? what does that mean?

What are you working on?
nothing new. klarna was already integrated

#

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

Question
We are working on incrementally updating our Stripe API version and were told to create new webhook endpoints for testing programmatically to target the specific version we're upgrading to, but are seeing API requests in the new version, and webhooks created in the new version, but webhooks are being processed by the current version, instead of the upgrade version.

Shouldn't API events and webhooks be using the same application-level Stripe version of 2022-08-01?

Related Event ID(s)
evt_3QqzadL91mzKIzpG1sL3kvK8, we_1Qq0PTL91mzKIzpG6Udfd1Es

What have you already attempted?
I'm seeing some differences in Stripes admin around webhook versions vs API versions in the logs.

The webhook events are showing to target API version 2020-03-02 -> evt_3QqzadL91mzKIzpG1cNePOxG, but the API request is targeting the correct version of 2022-08-01 -> req_VnLR97mnzo3IeN

What are you working on?
Incrementally upgrading our Stripe API version

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?
When I load my customer session, with different types of payment options, like 2 different credit cards, 1 paypal account, 2 bank accounts - I would expect all to be displayed in the payment elements when processing a payment.

What actually happened?
Well, it only shows one single credit card which is currently set as default but not the option to switch to another credit card the customer has saved in his account as payment method.

Reproduction Steps

  1. Added another credit card as payment method
  2. Loaded the customer sessions inside the payment elements
  3. Only one credit card is shown as "saved"

Question
Is there any way I can let my customers select their saved paypal account or even just one of the other credit cards which are saved already as payment methods?

What are you working on?
Re-use saved payment methods as customer in checkout (Elements)

#

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

Question
We are migrating our local development webhooks from our main platform & connected account to sandboxes. We use the 2020-08-27 API. The sandboxes accept requests from this API version just fine. The trouble is that, when we go to add webhooks, it only gives us a choice of adding 2025-01-27.acacia ('your current version'). How do we use sandbox webhooks with older API versions?

Related Event ID(s)
None

What have you already attempted?
Submitting requests under 2020-08-27 so it appears in the workbench (it does) but it still isn't in the webhook menu.

#

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

Error Message
You must provide a value for 'A default deploy group is a fallback for unassigned locations. Locations cannot be explicitly assigned to the default group.'.

Question
We don't understand the error message

What have you already attempted?
Nothing

Reproduction Steps
POST /v1/terminal/locations/tml_F6b7OQIGESN28u
(including header account id for this connected account)
{
"device_deploy_groups": {
"stripe_s700": "tmddg_FVRabAfuGItKQt"
}
}
tmddg_FVRabAfuGItKQt is a Deploy Group of our Platform

What are you working on?
POS Terminal

#

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

Question
Hi,

We have built an integration where we fetch data from Stripe API (using both v1/events API for fresh data) and using the respective APIs (e.g. v1/refunds/...) to retrieve objects that we're interested in.

What we're seeing is that when using the Events API there are some refunds (pyr_1....) that are not showing up (even though they are created < 30 days ago). Querying the v1/refunds API with the exact ID or even the created[gte] created[lte] filters returns those objects.

We're interested in why this can happen? Please not that I've removed all filters from events (i.e. event types).

Related Request ID(s)
Don't have access, doing this on behalf of a customer.

What have you already attempted?
Tried manual debugging.

What are you working on?
A SaaS that fetches financial data on behalf of the customer and provides accounting information

cursive heronBOT
#

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

What did you expect to happen?
Process a payment using a Google Wallet stored credit card using a Terminal Reader

What actually happened?
Got the following error: Card Present and Interac Present SetupIntents can only be created with physical cards, not with mobile wallets.

Reproduction Steps
Please review request req_46hHCEJ5SyWrPV

Question
Why is this happening? Was the setup intent incorrectly configured?

What are you working on?
Testing an app that uses Stripe Terminal to collect credit cards and payments.

#

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

Question
I would like to customize the options given to the user when they select a klarna payment type. Example: they offer pay in four, pay in 3, pay now, etc.. I would like to disable the pay_now for the klarna integration

Related Request ID(s)
req_Nm0BMFZ49rQHYJ,req_53vRY5YuH2IK4U, req_QkF5GFvojPIjmN

What have you already attempted?
I've tried custom options in the paymentIntentCreateParams.PaymentMethodData and PaymentMethodOptions.

  PaymentIntentCreateParams.Builder params = PaymentIntentCreateParams.builder\(\)
            .setAmount\(paymentAmount.multiply\(new BigDecimal\(100\)\).longValue\(\)\)
            .setCurrency\("usd"\)
            .addPaymentMethodType\("klarna"\)
            .setDescription\("1234"\)
            .putMetadata\("orderId", "1234"\);

What are you working on?
Integrating stripe to accept bnpl methods

#

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

Question
How do I display previously saved payment methods in a checkout session?

Related Request ID(s)
Don't think this is relevant here?

What have you already attempted?
I believe that there is an `allow_redisplay` field on a payment method that governs this, but it seems as if it's unset for the payment methods I've been looking at; is there a way to backfill to make this enabled for all of the payment methods that already exist, if this is the right mechanism?

What are you working on?
Working on a new checkout session regarding a product around subscriptions

#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/uploading-photo-of-government-issued-id-faq

Question
Is front and back picture a requirement for all Id document types ? if not, then how can i determine when it is required ?

What have you already attempted?
I've read through the online documents but I haven't found an answer

What are you working on?
Integration with Stripe

cursive heronBOT
#

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

Question
I am trying to build a system for my users to give there tax_id for verification. Now i want to use the stripe tax_id api's from here (https://docs.stripe.com/api/tax_ids). Now my users who will be providing the tax id are express account holders. the question is can i use this api to verify the tax_id of express connected account? I want to ask first so i don't waste my resourses without any guide first

Related Request ID(s)
null

What have you already attempted?
null

What are you working on?
null

cursive heronBOT
#

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

What did you expect to happen?
I expect that the subscription schedule takes action, gets active as a normal subscription, without the legend "Update Scheduled" aside of the subscription item in the subscriptions table.

What actually happened?
Once a subscription schedule start_date has been reached, the subscription gets active. That's fine. But why does my stripe dashboard display a legend aside my active subscription with "Update Scheduled"

Reproduction Steps
Create a subscription. The user wants to downgrade, so we create a schedule that the lower model takes action once the active subscription has expired.

Question
What does this legend mean "Update Scheduled" (look image).

What are you working on?
Subscription Schedules

#

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

Question
I have build a software service via react, nextjs, typescript tailwind... the default for react and am wonder How I can sell my product(s)/Service. It involves AI so one of my products would be tokens through this AI API. How should I go about adding pricing to the tokens so user hit a cap and have to upgrade? Thanks.

Doc/Guide Links
I have not really looked, i'm not sure were to start!

What are you working on?
AI-powered documentation/Notes.

#

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

Code
`Error: Unable to select session.`

when using stripe address element. I'm setting it up correctly compared to any information I can find. Not sure what code would go on here.

AddressElement in react through @stripe/react-stripe-js

Question
I would like this error to stop. the component used to work now does not.

What have you already attempted?
Reconfigured it many times.

What are you working on?
a react app

cursive heronBOT
#

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

Question
I'm trying to simplify our payment method management and need some clarification on default payment settings.

Currently, we handle two defaults:

customer.default_source for legacy card sources (IDs starting with card_)
customer.invoice_settings.default_payment_method for PaymentMethods (IDs starting with pm_)
Our goal is to avoid maintaining two separate default payment fields. Would it be acceptable (and supported) to save a legacy card (card_) in customer.invoice_settings.default_payment_method? We’re wondering if this approach could lead to issues down the line.

Related Request ID(s)
N/A

What have you already attempted?
I saved a card_ into customer.invoice_settings.default_payment_method, and didn't get any validation error, so that's why I want to confirm it here.

#

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

Question
Stripe Connect: allow users to select country in stripe onboarding

Related Request ID(s)
Create an account with the 2 capabilities and then start onboarding process, when adding address stripe won't allow user to select country

What have you already attempted?
I tried to read docs but don't say nothing about allow users select their country

What are you working on?
Just an platform to connect with stripe connect

cursive heronBOT
#

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

Question
We had a payment intent fail 5 times and then succeed but we didn't tell the customer it succeeded because we didn't have any code in place to deal with a payment intent that might fail multiple times then succeed asynchronously. Having looked around the docs, I'm still at a loss as to what we could do to stop customers from trying again and again after CVC check failure while mitigating the risk of duplicate payments due the the payment intent succeeding later.

Related Request ID(s)
req_gWcrqNDTo9Pmw0,req_Pwmr04EjaoLi6Y,req_4PQx46Ug7ycyLG

What have you already attempted?
I've tried looking for documentation on how to handle payment intent requests that fail initially but succeed later asynchronously.

What are you working on?
A gift collection feature.

cursive heronBOT
#

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

Code
<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
<ConnectAccountOnboarding
clientSecret={clientSecret}
onExit={() => {
console.log("The account has exited onboarding");
}}
/>
</ConnectComponentsProvider>
</Box>

Question
I'm getting the error

utils.ts:7 Uncaught (in promise) FetchError: HTTP status code: 400. Reason: No account session with that client secret was found. Was the account session created using a secret key for a different account?

When trying to render a embedded-onboarding
my loadConnectAndInitialize is created using the client secret from the account and session I've created in the steps before that.

What have you already attempted?
I'm trying to implement a https://docs.stripe.com/connect/embedded-onboarding

Right now the steps I did was creating an account

const account = await stripe.accounts.create\(\);

then using that account to create an session and using it to connect to the Embedded onboarding.

What are you working on?
https://docs.stripe.com/connect/embedded-onboarding

cursive heronBOT
#

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

Question
We're evaluating displaying saved payment methods in Payment Element. We learned to use a CustomerSession for that, but it seems there are limited flexibility customizing the behavior. Curious if the followings are possible for saved payment methods:
- separate out saved payment methods for each payment method (e.g. credit cards in its own section)
- sort the list of saved payment methods
- paginate the list if a customer has many saved payment methods

Thank you!

Doc/Guide Links
https://docs.stripe.com/payments/existing-customers?platform=web&ui=elements#display-additional-saved-payment-methods

What are you working on?
Integrating Payment Element

cursive heronBOT
#

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

What did you expect to happen?
People should be able to change their Stripe Connect location.

What actually happened?
US is pre-set

Reproduction Steps
Upon account onboarding, set `country` to `US`. Then, try to change the country.

Question
I was setting `US` as the preset country in my code (stupidly) upon onboarding. We have users that are international & already have the Stripe Connect account linked to their username. Is there any way we can unblock it for our users?

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

cursive heronBOT
#

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

Question
Is there a way to update existing connected account controller properties or do I need to create a new connected account? Looking at the API and controller is not a valid parameter.

Related Request ID(s)
na

What have you already attempted?
I tried using the upgrading the node stripe api to latest (17.6.0) and use the latest api (2025-01-27.acacia)

What are you working on?
An event ticketing platform for organizers.

cursive heronBOT
#

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

Question
Is there a way to pay for an invoice using the payment element by passing the client secret to the stripe.js `confirmPayment()` function?

Related Request ID(s)
req_ImwPXlXDDN8xVJ

What have you already attempted?
Paying for invoices works as long as I create/finalise the invoice and pass the intent client secret to the `elements()` call.

I don't want to create invoices until the user fills out payment details and tries to pay, so I configured the element with amount, currency, and `"payment"` mode, and pass the secret to the `confirmPayment()` call.

Then I get this error: "Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed through the API configured with payment_method_types."

Is there a way to do this with invoices?

cursive heronBOT
#

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

Question
Hi, I have a question on how to correctly implement usage based tiers. My manager wants me to implement something, but I believe her (or mine) understanding of how tiering works is incorrect. My manager wants to have a tiering setup like this for example
0-50 free
51-100 $10. Extra items $0.20 each
101-200 $20. Extra items $0.10 each

Now she would like a user to decide how many units they need, eg: they expect to use up to 100 units monthly. They then pay $10 monthly, and when their usage exceeds 100, they pay per unit at the end of the period. This does not match may understanding of the documentation. My understanding is you pay after the period based on use.

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

What are you working on?
Adding a new feature that we charge per tier + unit

cursive heronBOT
#

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

Question
We implement the auto renew feature in our system by using Stripe invoice APIs. Somethings we found that the user encountered payment fail error with error code "require action". I know that this code indicated that the user need re-authenticate in order to complete the payment. How to reduce the repetitive 3DS authentication process so that users only need to perform 3DS verification once?

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

What are you working on?
We're an e-commerce APP and the sellers pay for our service by monthly subscription

cursive heronBOT
#

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

Question
Using Tap To Pay for iPhone on iOS and am looking to fulfill Apple's requirement 1.6 "The status of whether a merchant has accepted Tap to Pay on iPhone Terms & Conditions should be retrieved from Apple rather than a local variable in your app. Check with your PSP for implementation details."

Is there a Stripe Terminal API to handle this?

Doc/Guide Links
https://apple.ent.box.com/v/ttpoiappreviewpdf
https://stripe.dev/stripe-terminal-ios/docs/index.html

What are you working on?
iOS Point of Sale application with Tap to Pay support.

cursive heronBOT
#

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

Question
Why does the PaymentIntent sometimes not have the charges field after a successful payment, but sometimes has it?

Related Request ID(s)
none

What have you already attempted?
The PaymentIntent of a successful payment has the charges field

cursive heronBOT
#

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

Question
Stripe connect: I just need ask for simple information like bank account, address and maybe phone and email

Related Request ID(s)
creating account

What have you already attempted?
I have tested different options but I need to turn off stripe asking for business info to the user to connect account.

What are you working on?
simple app to send payments to user

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/onboarding/quickstart#init-stripe

Question
Good morning, we are integrating Stripe Connect within our Angular application and in the stripe documentation provided the example is implemented in React; so I have been looking for a library to develop the Angular component to do this, but have not found it
Can you forward me some documentation on the Angular component that supports Stripe Connect?

What have you already attempted?
https://www.npmjs.com/search?q=keywords:Connect
https://www.npmjs.com/package/ngx-stripe

What are you working on?
I am currently integrating the onboarding of accounts connected via Stripe Connect via embedded forms

cursive heronBOT
#

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

Question
How to avoid sending notification emails with 0.00 invoice to customers on trial start but keep invoices for actual subscription?

Related Request ID(s)
req_qWjePTrlTWRZPu

What have you already attempted?
This started happening after I upgraded couple versions of stripe on 8th of January. Previously we never had 0.00 euro invoices being created and we were never sending them to customers. This is some change that happen in stripe that I didn't know about. In my code (C#) I have a method invoiceService.SendInvoiceAsync(invoice.Id) which probably sends the 0.00 invoice, but Im afraid that if I remove it the actual, regular invoice for the amount after the trial will not be send as well.

What are you working on?
I have stable, working solution that started working differently after the library update.

#

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

Question
I want to automate user management is Stripe. I see that Restricted Api Key doesn't allow "Person" scope. The only way is to create a full access key? Thanks!

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
I want to automate user management

#

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

Question
I want to get the SetupIntentService() based on the PaymentMethodId

Related Request ID(s)
I want to get the SetupIntentService() based on the PaymentMethodId

What have you already attempted?
var setupIntentService = new SetupIntentService();

var setupIntentResult = setupIntentService.List()?.FirstOrDefault(si =>
si.PaymentMethodId == "pm_tokenvalue")

What are you working on?
My worry is by default the List() will return only 10 setupintent, but what if my setupintent is not in this list,

#

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

Question
Hey! We want to offer an annual plan with our monthly plan. We have two prices on each sub. One base fee, and one usage based.

Now, afaik, we cannot have an annual subscription, with a usage based price that is on a monthly interval. What is the best practice here? As annual usage-based price? Two subscriptions?

Doc/Guide Links
haven't found any as of now that says something about this

What are you working on?
SaaS product for gaming servers

#

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

Error Message
[scalar] => expired and recall

Question
What is this error?
what is the reason?
Is it related Oauth?

What have you already attempted?
I have not attempted nothing

Reproduction Steps
The issue get on Oauth integrated environment

What are you working on?
nothing

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/elements/express-checkout-element

Question
I use express checkout with elements to integrate, and successfully show "link payment method" payment button in our page. But it doesn't work for applepay regardless of the browser support.
Would be great to have a brief explanation about the intended flow for applepay.

What have you already attempted?
I tried safari browser, but it showed 401.
It might have to do with me not using the apple dev certificate that I got, but couldn't find where to use it.

What are you working on?
applepay integration

#

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

Question
I am using checkout with the parameter invoice_creation enabled set to true. I would like the invoice created after a checkout session to use a specific invoice template. Actually it would also work to have my invoice template be set as the default template for all invoices. I dont see anywhere in the api doc for session the possibility to define a template for the invoice nor the possibility to define an invoice template as the default template. Is this not possible ?

Related Request ID(s)
https://dashboard.stripe.com/test/settings/billing/invoice-templates?active=true&update=inrtem_1QrGKoCTLwsK18mAXHqEup4N

What have you already attempted?
Looked at the doc for checkout session > invoice creation.
Had a look at the doc around invoice templating : https://docs.stripe.com/invoicing/invoice-rendering-template?locale=en-GB&dashboard-or-api=api

#

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

Question
We are using Payment Gateway with Connect, where we create transactions that go directly to the connected accounts and fees to Stripe are paid by the connected account.
We would like to add additional fee for every transaction that would go from connected account to the main platform account.
Is this configurable somehow globally or it has to be specified individually via API for every transaction. If second option is true, which parameter will achieve this?

Related Request ID(s)
none

What have you already attempted?
I have read documentation, but haven't found any specific description of this.

What are you working on?
Payment gateway

#

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

Code
// JavaScript - step 6 - handle any next actions
async function confirmPayment(clientSecret) {
const {
error,
paymentIntent
} = await stripe.handleNextAction({
clientSecret: clientSecret
});

if (error) {
handleError(error);
} else {
// process order here
}
}

Question
We are using the "Finalize payments on the server" guide as it seems to fit our "one page checkout" requirement best. The 3DS dialog is showing, as is Apple Pay, however PayPal isn't doing anything. An error is returned eventually: "Failed to redirect to https://pm-redirects.stripe.com/authorize/acct_xxxx/pa_nonce_xxxxxxx?useWebAuthSession=true&followRedirectsInSDK=true"

We are using the handleNextAction method after receiving the confirmationToken back.

What have you already attempted?
As mentioned, card and apple pay types seem to work fine. The paymentIntent is returned from handleNextAction. However the same doesn't happen when using PayPal.

What are you working on?
We are building our new checkout - it's effectively one page (cart, address fields - our own, not elements, shipping selection and Stripe's payment element)

#

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

Question
I have a problem with the Charge object retreived from a PaymentIntent, it contains a null balance transaction value causing our application to not process the payment properly.

Related Request ID(s)
pi_3QrGbQLOFmVUUygj1eJXxBhx

What have you already attempted?
After processing the 'checkout.session.completed' event we retrieve the PaymentIntent object using the expandable list in order to also get a full Charge object in paymentIntent.getLatestChargeObject(). However, after logging the Charge object we've found out that the value of "balance_transaction" attribute is null, causing our application to fail processing the payment.

#

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

Code
```
const { paymentIntent, error: responseError } =
await stripe.confirmKlarnaPayment(
stripeSecret,
{
payment_method: {
billing_details: {
email,
address: { country },
},
},
return_url: `${NEXT_PUBLIC_HOME_URL}/redirect/status?lang=${lang}`,
},
{ handleActions: false },
);
```

Question
I would like to understand how and which locale you're sending to Klarna when confirming the Payment ? Cause we got on some testing payments a de-AT locale (we're located in France), sometimes en-FR and sometimes fr-FR.

What have you already attempted?
We tried to understand how the locale for the Klarna authenticationUrl is choosen

What are you working on?
Integrating Klarna via direct API

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/paynow#:~:text=Use Stripe Billing to create,and subscriptions with send_invoice collection_method.

Question
It says we can add PayNow to subscriptions. Does this mean Stripe PayNow, now works on stripe subscription invoices? How come I only see PayNow as an option on the manual invoices and not the recurring invoices in a Subscription?

What have you already attempted?
verification on Stripe portal invoices

What are you working on?
Mapping subscription recurring invoice to PayNow

cursive heronBOT
cursive heronBOT
#

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

Question
I have a problem handling the payment_intent.succeeded event, I use the payment Intent to retrieve the Charge object associated to it however the value of balance transaction value sometimes is null.

Related Event ID(s)
py_3QrIBxLOFmVUUygj0ZqnlDib

What have you already attempted?
When we process the payment_intent.succeeded event we expect the "balance transaction" value to exist and contain the transaction ID, however sometimes it arrives null, how could we make sure to always receive a proper id?

#

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

Question
How do i ask for users tax id when setting up account details using stripe hosted express connect acount onboarding flow?

Related Request ID(s)
none

What have you already attempted?
I talked to a guy before and he told me to do set these values (https://docs.stripe.com/api/account_links/create#create_account_link-collection_options) to "eventuall_due" and "include".

What are you working on?
I was thinking about building my own flow to just ask for their tax_id and then use these api's https://docs.stripe.com/api/tax_ids to verify them but the guy talked me out of it that it's not for u

#

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

Question
When creating a subscription through the API, the payment intent is created automatically. How do I set the statement descriptor in this case? I do not see it in the subscription create api documentation

Related Request ID(s)
None

What have you already attempted?
Looked through the API

What are you working on?
Platform with subscription model

#

@modest 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/reports/balance-transaction-types

Question
For a balance transaction object are the conditions that would cause "stripe_fx_fee" and "tax_fee" to be charged/populated, I checked a few of our payments (incl. ones in different currency) but could only find "stripe_fee" in all of them.

What have you already attempted?
-

What are you working on?
want to show complete break down of stripe related fee

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
I am expecting that I can use both Verifications and Connect Account Sessions with one secret key.

What actually happened?
Verifications require a restricted key to access verification info, but a restricted key cannot be used to create an Account Session.

Reproduction Steps
Create a restricted key.
Try to use it to create an Account Token

Create a secret key.
Try to use it to access sensitive verification data

Question
This seems like an oversight, otherwise it would appear to me that I need to deploy both an unrestricted secret key *and* a restricted key, which kind of defeats the purpose of the restricted key as they would of course be under the same protectictions.

Specifically regarding verifications, see https://docs.stripe.com/identity/access-verification-results#create-rest

cursive heronBOT
#

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

Question
I want to setup one time payment.

first step to verify its card
then he can pay the billl

Related Request ID(s)
1

What have you already attempted?
I have attempted user subscription and in this i verify the user card as well

What are you working on?
one time payment using stripe

#

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

Question
We regularly need to set up enterprise subscriptions with yearly invoices that are automatically send out. The date when the contract starts is not always the same as the day we provision the subscription, in fact we often need to backdate the invoice to the signing date.
The problem is now that we cannot backdate the delivery date that is written on the invoice, and also that the next invoice is send 1 year from the date the subscription was created, not the backdated start of the subscription.
How can we handle that case properly, especially preserving the MRR value calculated by stripe correctly?

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

What are you working on?
Enterprise SaaS

#

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

Error Message
To access sensitive verification results for verification processed more than 48 hours ago, add IP restrictions and appropriate permissions to this key. Learn more here: https://stripe.com/docs/identity/access-verification-results#ip-allowlist

Question
My restricted key already has IP restrictions, but I still see the error above.

What have you already attempted?
See req_ydlKMjC6tHfk6z

Reproduction Steps
Add IP restrictions to a key, try to access verification data more than 48 hours old.

What are you working on?
Verification sessions

cursive heronBOT
#

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

Error Message
Charges are paused
Contact support for more information.

Question
what it this and how do i fix it?

the message tells me to contact support and so i have done

What have you already attempted?
i have tried to search and read the problem. i just want to fix this as fast as possible and get going again

What are you working on?
Trying to set up payment for my website

#

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

Question
Is there a way to get the creation date of an external account attached to a connected account ?

Related Request ID(s)
req_zPlzymEK3527IF

What have you already attempted?
Calling from CLI, there is no creation date. On the dashboard though, you can see that it is displayed.

#

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

Error Message
I want to update a Terminal error I was having from is app was installed from the Play Store. Managed to fix the issue by turning off Play Protect in the Google Play Store and resubmitting the app.

Question
I want to update a Terminal error I was having from is app was installed from the Play Store. Managed to fix the issue by turning off Play Protect in the Google Play Store and resubmitting the app.

What have you already attempted?
I want to update a Terminal error I was having from is app was installed from the Play Store. Managed to fix the issue by turning off Play Protect in the Google Play Store and resubmitting the app.

cursive heronBOT
#

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

Question
When using Stripe Terminal do connection tokens eventually expire? If we have a kiosk sitting idle for a long time do we need to occasionally refresh the connection token? Or is there any other considerations. We've gotten reports of disconnected error messages when our kiosk sits idle.

Related Request ID(s)
N/A

What have you already attempted?
I've tried to reproduce by letting our app sit idle for a while but wasn't able to.

#

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

Question
Looking to onboard sellers on our platform to Stripe Connect. It will be hosted solution with Express Connect
Are the below steps good:

  1. create Stripe Account for the seller
  2. create link to Stripe onboarding and direct the sellers to that link
  3. Stripe will try collecting all the required information and redirect back the seller to our platform (redirect url)

question:
Does Stripe collect bank account details as a part of onboarding (step 3)? If not, is it a separate flow?

Related Request ID(s)
none

What have you already attempted?
going through documentation

What are you working on?
onboarding sellers

#

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

Question
Hello, we are building out an integration with Stripe and we were wondering how we can detect charges that are a result of a dispute funds reinstated to a connected account as a result of a won dispute. If our understanding is correct, Stripe will perform this chargeback automatically after a won dispute. But how are these transactions different from any other in the API? The use case is a connected account using direct charges.

Related Request ID(s)
We don't have one yet as we are not sure how to test won disputes in this particular scenario

What have you already attempted?
Reading the dispute documentation

cursive heronBOT
#

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

Question
Is there a way to retrieve payments that correspond to a connected account via API? There doesn't appear to be a way from looking at documentation. Looking not for charges but payments so prefixed with `py`

Related Request ID(s)
https://docs.stripe.com/api/charges/list

What have you already attempted?
Tried listing charges with transfer group but that only returns the charges on my platform not the payments on the connected account

#

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

Question
I need urgent support. I'm trying to create a zap on zapier. I insert url on webhook adding a new endpoint. When I start the trigger I should get a form with identity strings with the verification data. but among these data there is the metadata field without the email field, with the customer's email. I tried to see if there are settings but it doesn't work. I need it to be there, to configure it with shopify.

Related Event ID(s)
webhooks

What have you already attempted?
I need urgent support. I'm trying to create a zap on zapier. I insert url on webhook adding a new endpoint. When I start the trigger I should get a form with identity strings with the verification data. but among these data there is the metadata field without the email field, with the customer's email. I tried to see if there are settings but it doesn't work. I need it to be there, to configure it with shopify.

What are you working on?
By creating a zap that I receive the result of the user verification and pass to shopify the outcome based on the outcome, inserts the tag to the customer.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/testing?testing-method=card-numbers

Question
Hey everyone, I'm looking for a way to add a card that immediately reads as expired in my frontend.

What have you already attempted?
`4000000000000069` throws an "expired_card" error and is not added

`4242424242424242` (or other valid #) w/ an expiration date in the past throws "invalid_expiry_year_past" and is not added

`4000000000000341` Attaching succeeds, but still shows an expiration date in the future

What are you working on?
I'm building an "Add Payment" feature that shows a list of a customer's payments. I would like to have a few expired cards to test how I handle this from the frontend.

#

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

Question
Choosing the recipient type when creating a connected account throws an error, but I'm just attempting the sample code

Related Request ID(s)
req_929rM1VEpIggAv

What have you already attempted?
https://docs.stripe.com/connect/service-agreement-types?connect-account-creation-pattern=typeless&shell=true&api=true&resource=accounts&action=create

What are you working on?
https://docs.stripe.com/connect/service-agreement-types?connect-account-creation-pattern=typeless&shell=true&api=true&resource=accounts&action=create#choosing-type

#

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

Error Message
The `business_type` must be provided when sending either of `individual` or `company` parameters.

Question
Good evening,
we are trying to start user onboarding via the embedded form and as per the documentation, I proceed to create the logged in user and it returns the above error saying that it is mandatory to specify whether it is individual or company. Is there a combination of parameters for which the business_type field is not mandatory?

What have you already attempted?
https://docs.stripe.com/connect/onboarding/quickstart#init-stripe

Reproduction Steps
The error is reproduced when trying to create a linked account without specifying the business_type field

What are you working on?
We are working on customer onboarding via the Stripe Connect service and via the embedded form

#

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

Question
Hey.So my account got restricted for payments on your Stripe account for m2lastfight that don't appear to have been authorized by the customer.

Related Request ID(s)
maniacjans@gmail.com

What have you already attempted?
I talked to support but they stopped responding 4 days ago and nobody gives me any information.I have 0 refunds,0 disputed nobody refunded or something.Can someone help?

What are you working on?
.

cursive heronBOT
#

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

Question
We provide customers with a balance every month, and then can use that balance to pay invoices. If the balance is not enough we recover the remaining amount from a payment method. But when these fail I would expect a future balance to pay for the remainder of an outstanding invoice. However I am not able to see how to do this. guidance suggests this is not possible but there must be work arounds.

Suggestions?

Doc/Guide Links
https://docs.stripe.com/billing/customer/balance

What are you working on?
EV charging app

cursive heronBOT
#

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

Question
How can create a subscription that normaly costs 3.99/month and give it to a user for free without asking the user for a payment method

Related Request ID(s)
?

What have you already attempted?
I dont know where to find info on the api to give a subscription for free

What are you working on?
Cogent - an AI platform for students

#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/data-that-can-be-copied-between-stripe-accounts#:~:text=Data that can be copied,accounts %3A Stripe%3A Help %26 Support&text=Customer object

Question
Is it possible to copy data from one stripe account to another account in real time? Basically, I want to share data between my multiple stripe accounts, which can be used at various places. The reason to do this, I am not able to connect the same account with different systems.

What have you already attempted?
copy customer, but it seems offline at one time. I am looking something realtime.

#

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

Question
How do I add the email field to the metadata, automatically on identity, I would like it to be seen in the log, with all the fields.

Related Event ID(s)
metadata email

What have you already attempted?
It doesn't work

#

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

Code
I am sorry this is unorthodox, I am not the developer, so I don't have the code. But my developer seems to be stuck and I want to inspire them and point them in the right direction.

Question
We are using the Stripe M2 terminal in a custom React Native app. The terminal is in the collectPaymentMethod state, but then I tap cancel prior to taking a payment, the terminal plays a 2 beep "down" tone. Alerting the transaction was canceled or failed. That seems to be the proper use.

But my issue is when I have a successful payment it still plays a 2 beep "down" tone. Is that correct?
We do know the payment is successful.

What have you already attempted?
It seems that we have an order of operations issue with the callbacks. Seems like we are exiting the collectPaymentMethod at the wrong time or improperly during the confirmation of the paymentIntent.

#

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

Question
I am trying to calculate tax on an amount using this API (https://docs.stripe.com/api/tax/calculations/create) by providing customers details. The problem is form some times it calculates tax as 0 which is not correct.

Related Request ID(s)
req_I32175zl32ZTYJ

What have you already attempted?
nothing

What are you working on?
I am trying to calculate tax on an amount and then use the tax transaction api to create a transaction

#

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

Question
Hi! I'm working to implement payments for a new product I'm working on. We hope to have 3 tiers.

Tier 1: Free, $20 per action
Tier 2: $100 per month, 10 actions included, $10 per additional action over 10
Tier 5: $500 per month, 100 actions included, $5 per additional action over 100

What is the best way to implement this in Stripe? I've looked into usage-based pricing, but that all seems to be invoice based. We'd prefer it if users paid at the time of the action. Can we combine Stripe Billing and Stripe Checkout?

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

https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models

What are you working on?
Web app that offers a monthly subscription and ad-hoc purchases

cursive heronBOT
#

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

Error Message
Charges are paused
Contact support for more information.

Question
Forgive me if this is the wrong channel, but my account has been stuck in "Charges are paused". The Settings > Business > Account Status shows 'Action required', but customer support has just replied with canned "its in review". Just want to confirm this isn't a bug. Is there any action I can/should take?

What have you already attempted?
I've tried contacting support through email.

What are you working on?
classace.io

#

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

Question
We continue to have subscription activation issues in sandbox environment. When a successful payment intent is processed, the subscription status remains to be incomplete. The payment flow works properly but appear disconnected with subscription flow.

Related Event ID(s)
evt_3QrNwxP5hZtjEVKR0BjSIkC2; evt_1QrNxBP5hZtjEVKRw7fD1hd4

What have you already attempted?
I have attempted for days now trying to tweak my routes.ts and stripe.ts (lib file). The flow looks logical but the subscription status just won't change to active.

What are you working on?
I am working on a consumer app with two tiers of paid subscriptions.

cursive heronBOT
#

@viscid patrol pressed 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/topics/

Question
I have problems in stripe I want to buy the document in the verification in stripe but I f I put it and click save it doesn’t work me so I want help for that and the verification in business

What have you already attempted?
I have in the verification

What are you working on?
Verification

#

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

Question
Why can't I connect to the TerminalHardware beta api (we have been told we are approved for the beta and it's on our account)

Related Request ID(s)
-

What have you already attempted?
When I make a GET request to https://api.stripe.com/v1/terminal/hardware_skus I get this error.

Unrecognized request URL (GET: /v1/terminal/hardware_skus). Please see
https://stripe.com/docs
or we can help at
https://support.stripe.com/
(Hint: 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: 2022-11-15;terminal_hardware_orders_beta=v5".)

Seems for the beta feature we have to pass an explicit Stripe version, I did that with my request but I'm still getting the same error.

#

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

Question
Stripe Connect onboarding API:
Below is the code snippet from the documentation here:
https://docs.stripe.com/connect/onboarding/quickstart#init-stripe

  String connectedAccountId = gson.fromJson\(request.body\(\), RequestBody.class\).getAccount\(\);

question:
what is the 'connectedAccountId'? is it our platform account id?

Related Request ID(s)
none

What have you already attempted?
going thru the documentation

What are you working on?
connect onboarding

cursive heronBOT
#

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

Code
Back end:
def update_billing_information():
from flask import current_app
stripe.api_key = current_app.config['STRIPE_API_SECRET_KEY']
setup_intent = stripe.SetupIntent.create(payment_method_types=['card'])

return render\_template\(
    'customer\_portal/update\_billing\_information.html',
    setup\_client\_secret=setup\_intent\['client\_secret'\],
\)

Question
Is it possible to use the Payments Element but to ONLY show card as an option? I like the rendering of the Payments Element vs the Card Element, but do not want to see any other payment method and do not want to change the methods permitted in the dashboard (other flows we use utilize this)

What have you already attempted?
I am using this with a SetupIntent. I tried passing in the payment_method_types=['card']

cursive heronBOT
#

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

Code
i dont have code right now yet

Question
can i ask for help? can i ask for help? If this setup is possible, could you guide me through the best way to implement it? I’d appreciate any documentation or specific API features I should look into.

Also, is there an option to automate the release of funds after a certain condition is met, like a confirmation from User A to B and C?

What have you already attempted?
.

What are you working on?
.

#

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

Code
const phases = buildPhases(planCategoryCode, billingInterval, billingDay, today, stripePriceId, metadata);

    const schedulePayload = {
        customer\: customerId,
        start\_date\: todayUnix,
        end\_behavior\: "release",
        phases
    };

    // Create and return the subscription schedule.
    const subscriptionSchedule = await stripe.subscriptionSchedules.create\(schedulePayload\);

Question
Can we choose to use the very first invoice (excluding trial) of a subscription 's collection method as send_invoice and the rest of the recurring invoice charge automatically?
i also want to know how stripe changes the status of subscription in case payment not completed for the invoice

What have you already attempted?
i'm trying to create a subscription on a future date. for eg: for a weekly recurring plan that always start from Friday, and if i subscribe this on tuesday, the subscription should only be active or start from Friday.
so, for that, i'm trying to use subscription schedule with first phases as trial and the 2nd one as the normal recurring invoices.

What are you working on?
subscriptions

cursive heronBOT
#

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

What did you expect to happen?
I am collecting Payment Methods through Checkout Sessions. I want to provide the option of removing the Payment Method before it completes verification (User Input Error).

Status: Payment Method exists and the Setup Intent exists. The Payment Method is not attached to a Customer so I cannot Detach. I expected to be able to cancel the Setup Intent via API.

What actually happened?
- Setup Intent Cancel error: "You cannot perform this action on SetupIntents created by Checkout. Try expiring the Checkout Session instead. See https://stripe.com/docs/api/checkout/sessions/expire for more details."
- Checkout Session error: "Only Checkout Sessions with a status in ["open"] can be expired. This Checkout Session has a status of `complete`."

Reproduction Steps
- Register a US Bank Account Payment Method through a Checkout Session
- Attempt to cancel the Setup Intent via API (Error 1)
- Attempt to expire the Checkout Session via API (Error 2)

Question
How can I cancel a Setup Intent or Delete a US Bank Account Payment Method that has not completed verification?

- Payment Methods Detach does not work because the Payment Method has not yet been attached
- Setup Intent Cancel Fails due to error above
- Checkout Session Expiration fails because there is no open Checkout Session

I can't find an alternative.

What are you working on?
Payment Method registration/deletion flow in a web app

cursive heronBOT
#

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

What did you expect to happen?
I would just update the price and nothing else would happen

What actually happened?
The customer got invoiced and a new invoice was created with a new billing period

Reproduction Steps
Simply update a price in a subscription via ```stripe.subscriptionItems.update```

Question
Is there a way to update a price without invoicing the customer and starting a new billing period?

What are you working on?
Hathora, serverless hosting for multiplayer video games

cursive heronBOT
#

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

Question
When updating an subscription invoice using `this.stripe.subscriptions.update`, a draft invoice is open and kept open for ~1 hours before being finalized. Is it possible to not have to wait before trying to charge the customer for it

Related Request ID(s)
evt_1QrQf8LZJQnOZAReQgaIBHir

What have you already attempted?
Searching documentation on how to charge now.

proration_behavior:'always_invoice' didn't work

cursive heronBOT
#

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

Code
[
{
// Phase 1 :
trial_end: nextBillingDateUnix,
collection_method: 'send_invoice',
iterations: 1,
items: [{ price: stripePriceId, metadata }],
metadata,
},
{
// Phase 2:
items: [{ price: stripePriceId, metadata }],
metadata,
},

];

Question
where to add days_until_due in subscription schedule phases

What have you already attempted?
i was getting this error:

If invoice collection method is 'send_invoice', you must specify 'days_until_due'.

so, i added days_until_due: 3, in the phase attribute of phase 1 after collection_method, but then i'm getting this error:

Received unknown parameter: phases[0][days_until_due]

cursive heronBOT
#

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

Question
Hello! I’d like to get some input / suggestions on what payment flow stripe would suggest for a connected account paying off their charge card balance (aka FundingObligation). For more context, my team is hoping to use a connected account’s external bank account (via Stripe FinancialConnections Account) to send funds to our platform account. I tested this by creating a payment intent and noticed a ACH debit stripe fee was applied (0.8%). Is there another approach you'd suggest that does not include a stripe fee? We also do not want to use Stripe Treasury for this flow. Thank you!

Doc/Guide Links
https://docs.stripe.com/payments/ach-direct-debit
https://docs.stripe.com/financial-connections

What are you working on?
Connected account paying off charge card balance without stripe treasury

#

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

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

Question
If I want to use invoicing to create bills on behalf of my customers and have them pay Stripe fees, but I want to be able to control the invoicing settings, how do I do that? I see no method to control those settings on a connected account from my platform account. Is my only option to use destination charges with `on_behalf_of` and then use platform pricing tools to try and mirror the Stripe payment processing and invoicing costs?

What have you already attempted?
I have checked the docs here:

* https://docs.stripe.com/invoicing/connect
* https://docs.stripe.com/api/accounts/object#account_object-settings-invoices

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

cursive heronBOT
#

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

Question
Identity api is not verifying an id and face due to a previous submission

Related Request ID(s)
Identity api

What have you already attempted?
Looked around in the dashboard

What are you working on?
A database for car rental companies to keep track of customers that have rented cars and review how they treated the car and use the identity api to verify new customers

cursive heronBOT
#

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

Question
Greetings:
I am trying to implement "Finalize payments on the server".
Here is your official documentation link
https://docs.stripe.com/payments/finalize-payments-on-the-server?client=html

The flow is
1 add stripe elements on frontend and then use createConfirmationToken method to get the token.

2 at backend I will use this snippet
const intent = await stripe.paymentIntents.create( with ocnfirmation token)

3 once my paymentIntents setup how can I do the 3D and hence the payments gets sucessfull

Related Request ID(s)
1

What have you already attempted?
I am using this.stripeService
.confirmCardSetup(this.clientSecret
for 3D for user subscript on stripe

What are you working on?
I need to know how to do 3d and is theflow I have mentioned is correct or not

cursive heronBOT
#

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

Error Message
IntegrationError: stripe.redirectToCheckout: the provided sessionId is for a live mode Checkout Session, whereas Stripe.js was initialized with a test mode publishable key.

Question
Stripe seems to think i'm using a test publishable key with a live secret key but i am not

What have you already attempted?
Resetting keys, redeploying, trying incognito browsers.

Reproduction Steps
Try to buy something with our checkout

cursive heronBOT
#

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

Question
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such price: 'price_1QoXSN09LC4lNyTLxo4tqtcG'; a similar object exists in live mode, but a test mode key was used to make this request.",
"param": "line_items[0][price]",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_e9TsEDU4J1pRWy?t=1739321169",
"type": "invalid_request_error"
}
}

Related Request ID(s)
req_e9TsEDU4J1pRWy

What have you already attempted?
Change API keys and price_ID's live and Dev mode

What are you working on?
Implementing Stripe on Bubble.io

cursive heronBOT
#

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

Question
How is the best practice if i want to record all my stripe transaction into an external accounting app (e.g. xero) every transaction must recorded in xero and create a link

Doc/Guide Links
About how to create a payment intent and webhook

What are you working on?
building and maintaining

cursive heronBOT
#

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

Error Message
stdClass Object
(
[scalar] => expired and recall
)

Question
i got this error from stripe, Iam using Oauth intergration in my wordpress stripe payment plugin.
The above error i got from a failed transaction.
Iam using cardpayment.
In which case above error is get?

What have you already attempted?
noting

#

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

Question
Is there a difference between removing Product 1 from a subscription and adding Product 2 to a subscription in the Dashboard vs updating the subscription line item from Product 1's Price to Product 2's Price?

Related Request ID(s)
n/a

What have you already attempted?
I tried this on the dashboard and as far as I can tell, the subscription item ID changing is the main net effect difference.

What are you working on?
Updating subscription via dashboard

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/testing/wallets?ui=express-checkout-element#device-requirements

Question
In the 1st bullet point of section "Check your device and browser setup", it said that to see the applepay button I need to have active payment method linked to my apple ID. I have singapore apple ID, but I don't have real card to test the integration. And as far as my concern, I'm able to show googlepay button on my side, so am I in the right direction by assuming the unpresented payment method on my apple ID?

What have you already attempted?
Tried check if applepay supported is false on my iphone safari browser. Think this might have to do with my Apple ID doesn't have payment method on it.

What are you working on?
applepay using elements to show applepay button on my payment page

cursive heronBOT
#

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

Question
question: InvalidRequestError(message='Invalid array', param='tax_id_data', code=None, http_status=400, request_id='req_ZAaP8ZPMgZmsv0')

Why does the "Customer.modify" have the key "tax_id_data" but the "update customer" does not?

Related Request ID(s)
req_ZAaP8ZPMgZmsv0

What have you already attempted?
I have already tested the 'update customer' endpoint and tried adding 'tax_id_data' as a parameter, but it resulted in an error. I have also read the official Stripe API documentation to understand the expected request structure, but I am still unsure why 'tax_id_data' is supported in 'Customer.modify' and not in 'update customer'.

What are you working on?
change customer profile

cursive heronBOT
cursive heronBOT
#

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

Link to the Doc/Guide in question
https://stripe.com/fr/invoicing

Question
I created a Laravel app using cashier. I store the invoice URL during the webhook response. the key is "invoice_pdf" in the payload. My question is : is it generated when I click on the link or did it already exist in the stripe server ? My client must know

What have you already attempted?
Reading some invoice doc pages

What are you working on?
laravel app

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/testing/wallets?ui=express-checkout-element

Question
Hi I have successfully bind my card in the apple account, and open the following doc using safari.
Why can't I see the applepay button? Did I miss something?

What have you already attempted?
Open in mac and Iphone, both didn't work
My apple acount is indonesia region

What are you working on?
verifying if my device can see the applepay button, as I'm stuck in development

#

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

What did you expect to happen?
When creating invoices for the same customer with different connected issuer accounts, the invoice number was duplicated.

What actually happened?
Two invoices were created. Each of them with a different account ID, as we use connected accounts. For the same customer, the invoice number was repeated.

Reproduction Steps

  1. POST /invoice with issuer account ID: acct_123... for customer cus_123
  2. POST /invoice for the same customer ID but a different connected account ID as issuer

Question
Why is the invoice number reused for the same customer?
Can we exclude the possibility of duplicate invoice numbers for the same customer by a specific setting?

cursive heronBOT
#

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

Question
How do I display PIX payment in stripe form?

Related Request ID(s)
0

What have you already attempted?
I have successfully activated PIX payment on my account. Also, when creating a payment intent, I am returned to payment_method_types: ['pix'], but for some reason I don't see it in the stripe form, which is built using stripe elements.

What are you working on?
I am trying to build a stripe form using stripe elements and I need PIX payment to be displayed in this form, but for some reason it is not displayed.

#

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

Error Message
The customer's location isn't recognized. Set a valid customer address in order to automatically calculate tax.

Question
For US and CA users we want to use the auto tax feature by passing the country and postalcode.

We get this error on the creation of the customer when we add { tax: { validate_location: "immediately" } } and the PM.

We dont add the address here since it should use the address of the PM

This worked last week but now we get the error. Why?

What have you already attempted?
I have added logging to see if the address is added to the payment method and yes it is the case.

Reproduction Steps
We use stripe elements + setup intents to collect the payment method. We have added our own postalcode field to collect postalcode. On stripe.confirmSetup we pass payment_method_data.billing_details.address. After the successful payment and redirect we try to create the customer on the server by passing the PM and add validate_location immediately

#

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

Question
i given this error in production
in localhost is OK
message: "We're sorry, but we're unable to serve your request."

api key and secret key is valid

Related Request ID(s)
developer

What have you already attempted?
nikaat

cursive heronBOT
#

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

Error Message
Error: Exception in HostObject::get for prop 'StripeSdk': java.lang.NoClassDefFoundError: Failed resolution of: Lcom/stripe/android/view/AddPaymentMethodActivityStarter$Result;, js engine: hermes [Component Stack]

Question
Stack:
React-Native: 0.75.2
@stripe/stripe-react-native: 0.39.0

/app/build.gradle
dependencies {
implementation("com.stripe:stripe-android:21.4.2")
implementation("com.google.android.gms:play-services-wallet:19.4.0")
}

What have you already attempted?
implementation("com.stripe:stripe-android:21.4.2")

commented this, error resolved but there was no google play button

downgraded this to 21.4.1 21.4.0 21.3.2 but still same error

Reproduction Steps
const initializePaymentSheet = async () => {
const {error} = await initPaymentSheet({
merchantDisplayName: 'Sarookh, Inc.',
applePay: {merchantCountryCode: 'AE'},
googlePay: {merchantCountryCode: 'AE', testEnv: true},
intentConfiguration: {
mode: {
...
},
confirmHandler: confirmHandler,

What are you working on?
Adding Google Pay to Stripe Mobile Payment Element

cursive heronBOT
#

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

Question
I am trying to create a charge (payment intent) and then split and transfer the money into two or more different connected accounts. But i figured out that balance are not instantly updated whenever a charge is created so i am not able to transfer synchronously. I saw the balance.updated webhook but i am not sure about this since i havent seen this event being triggered. What would be the best approach and what webhook event should i use

Related Event ID(s)
none

What have you already attempted?
I have first tried doing synchronously with enough balance which worked as expected. then when the balance is low the transfer didnt work. I tried using charge.updated which was triggered after some time from payment.intent but it didnt work too. Also tried doing sleep to see if the balance would be available somehow xD

cursive heronBOT
#

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

Code
$setupIntent = $stripe->setupIntents->create([
'customer' => $customerid,
'payment_method' => $request->paymentMethodid,
'usage' => 'off_session',
]);

            $setupIntentConfirmation = $stripe\-\>setupIntents\-\>confirm\($setupIntent\-\>id\);
            
            $intentinfo = $stripe\-\>paymentIntents\-\>create\(\[
            'amount' =\> $netDepositAmount, // Total amount to be charge

Question
Hello Stripe Support Team, We are using Stripe Connect with the Separate Charges and Transfers approach for our platform, where customers make payments, and we distribute the funds between our platform and multiple connected accounts (experts/vendors).
Since we use automatic payouts, all funds—including those meant for future transfers—are getting sent to our bank account.
We do not want to switch to manual payouts because it would require manual fund management, which we wan

What have you already attempted?
Our Current Setup:
We use automatic payouts to transfer funds from our Stripe balance to our bank account because we also process subscription payments on the same Stripe account.
For our platform’s service, we need to hold payments in our Stripe balance until an admin manually confirms the transfer to the connected account (expert).
Once approved, the funds should be automatically transferred to the expert's Stripe account.

What are you working on?
What We Need: We are looking for a solution where: Subscription payments continue auto-payouts to our bank account as usual. Payments for our connected account

#

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

Question
i'm coming across a weird bug, in that its creating different product id's to that which i'm actually pushing the price for, all these "new" products, show as archived

Related Request ID(s)
prod_RlAKimbk7MOEJg

What have you already attempted?
i need the price im pushing to relate to an actual product

cursive heronBOT
#

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

Code
Terminal
.getInstance()
.discoverReaders(
config = usbDiscoveryConfig,
discoveryListener = discoveryListener,
callback = discoveryCallback
)

Question
Is there any timeout for stripe m2 card reader? after which it needs to be re discover?

What have you already attempted?
Tried to discover again.

What are you working on?
I want to auto re discover the reader in case there is a timeout.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payouts/minimum-balances-for-automatic-payouts

Question
How can I set minimum balances through the API?

What have you already attempted?
The docs states that Express and Custom connected accounts can't set a minimum balance. However, I'm able to set an amount to my test account.

What are you working on?
I'm trying to enable automatic payouts but I need to have manners to avoid being liable for negative balances.

#

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

Question
I'm trying to update an existing webhook to now listen for events from connected account (for stripe Connect specifically account.updated for new accounts). However it seems i cannot modify an existing webhook to do this - i must select "connected accounts" only when creating a new webhook. is that correct?

Related Event ID(s)
acct_1QrgiBPAewjqotwf

What have you already attempted?
I want to re-use an existing webhook but cannot find the option to change it to listen to connected accounts

What are you working on?
trying to setup proof of concept for stripe Connect

cursive heronBOT
#

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

Error Message
{
"error": {
"message":
"Invalid object",
"message_code":
"invalid_hash",
"param":
"transfer_data",
"request_log_url":
"https://dashboard.stripe.com/test/logs/req_VBemchDCvzgi33?t=1739373077",
"type":
"invalid_request_error",
},

Question
I have Created a Custom Connect connected account. Now I want to Create a “destination” charge for a Lyft ride in which the rider pays $20 and the driver receives $15.

The id are as follows
Customer Id-cus_Rl1D9o1Y0TsBfL
New Connected account - acct_1QrfpZCBnoCLXRbR

Everytime I try the command in different ways it throws the same error, what is going wrong here

What have you already attempted?
stripe payment_intents create --amount 2000 --currency usd --customer cus_Rl1D9o1Y0TsBfL --transfer_data[destination]=acct_1QrfpZCBnoCLXRbR --payment_method pm_card_visa --confirm

What are you working on?
Working on an assignment

cursive heronBOT
#

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

Question
Is it possible to add a new line_item (product) to an existing subscription via billing portal configuration? The documentation only indicates switching price ids.

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

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

Question
Hello, we have recently integrated referral into our application using transfer_data.destination & transfer_data.amount_percent. We have automatic tax (Stripe Tax) enabled on all subscriptions. But there is an issue with the tax calculation for Subscriptions. From subscription with id id1, 20% of its price is transferred every month to our connected account with id id2 (here is the id of the transfer object id3). But the tax for the subscriptions was calculated on the full subscription price not on the price without the 20% that was transferred to the connected account.

Related Request ID(s)
sub_1QrGF9C6Dm37lcPwJGfcMUkT, acct_1QrGAGCB17PBMwGr, tr_3QrGKMC6Dm37lcPw0L82HpEc

What have you already attempted?
We can only try to disable automatic tax.But disabling Stripe Tax is not desired solution.

What are you working on?
flowlance.com

cursive heronBOT
#

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

Code
I am getting an error while testing stripe google pay on my end

Question
How to resolve this issue?
Developer error in load paymentData. Invalid stripe.publishablekey for the current environment. make sure you are using stripe test key

What have you already attempted?
I have already checked the api key. It's already test key added there

cursive heronBOT
#

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

Question
Is there any webhook event or something to listen 2 days (or x days depending on the plan type) before an upcoming invoice?

Related Event ID(s)
None

What have you already attempted?
currently i'm doing this via cronjob. we're only at test phase now. but i think , as we go on, it'll choke the server. because, i'm fetching entire plans subscribed by the user, and depending upon the plan type, checking if the subscription has an upcoming invoice, if yes and not already saved to local db, create a new record for both (invoice and invoice item)

What are you working on?
stripe upcoming invoice

#

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

Question
Trying to facilitate card-present (or keyed entry) transactions using Stripe Connect for connected account. Using Stripe-Hosted onboarding but we'd like our software to handle payments. Am I using Stripe.JS to tokenize cards before sending them to server to process, and if so, how do I send token for PaymentIntent ? (Or do I have this wrong?) Can this be done with Stripe managed Risk/Liability?

Doc/Guide Links
https://docs.stripe.com/js/including
https://docs.stripe.com/payments/payment-methods/transitioning#compatibility

What are you working on?
PHP Business Management Suite

#

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

Question
How do I dynamically assign a value to the client-reference-id attribute in the stripe pricing table. Inspecting the Webhook events shows the client_reference_id value is null. Am I passing the value incorrectly

Related Request ID(s)
req_6LUgphU70EmWIJ

What have you already attempted?
<stripe-pricing-table
pricing-table-id="My ID"
publishable-key="My Key"
client-reference-id={userId}
></stripe-pricing-table>

What are you working on?
Payment integration

cursive heronBOT
cursive heronBOT
#

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

Question
I'm trying to setup credit burndown usage based billing, similar to what openai has. I see it being launched recently. Why do I need to have a subscription to use meter events? I want to offer prepaid experience, my customers use different endpoints, and they get metered for their usage until balance is 0 and I get alert for it. What are the best practices for my scenario?

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

What are you working on?
Offering TTS models currently, will be adding agents and speech to text as well

#

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

Question
How to handle upcoming invoice in db if the invoice is created X days (set from stripe dashboard) before a subscription renews?

Related Event ID(s)
N/A

What have you already attempted?
i was listening for invoice.upcoming , and create the preview invoice in my local db , so that customer/admin can have a preview in their portal.
i've a plan where the recurring interval is each Friday, and if the customer subscribes on wednesday, then it'll be on trial period until Friday (which means, even though they subscribe, the subscription will only takes place on the coming friday)
i wanted to list the invoice in the portal 3 days before the actual invoice is generated (for preview purpose), so i was listening to invoice.upcoming, but if we subscribe just 1 or 2 days before the interv

#

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

Question
Good day,

I have been experiencing issues for a while now with connecting my Checkify account to Stripe. I have already attempted several solutions through Stripe, including re-requesting API keys, but they keep being declared invalid.

I was wondering if you could assist me with this matter. I would appreciate your help.

Looking forward to hearing from you.

Kind regards,
Zakaria El Maimouni

Related Request ID(s)
.

What have you already attempted?
Text with checkify

What are you working on?
Good day, I have been experiencing issues for a while now with connecting my Checkify account to Stripe. I have already attempted several solutions through Stripe, including re-requesting API keys, b

#

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

Question
Is it possible to create an one-off invoice linked to a subscription?

Related Request ID(s)
None

What have you already attempted?
I created a "one-off invoice" from the subscription dashboard, but the generated invoice was not linked to the subscription.

#

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

Question
Is the creation and confirmation of a SetupIntent mandatory for subscriptions charges?

Context: We were under the impression that setting the default payment method for the customer and creating a SetupIntent was necessary, but it was noticed a few users that failed the SetupIntent creation/confirmation bu were successfully charged only by having the default payment method set.

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
Subscription based service

#

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

Code
const handleClickSubscribeButton = async () => {
const url = await subscribeAction({
companyId: companyId || "",
userEmail: userEmail || "",
priceId: process.env.NEXT_PUBLIC_STRIPE_MONTHLY_PRICE_ID!,
});

if \(url\) {
  router.push\(url\);
} else {
  throw new Error\("Failed to subscribe"\);
}

};

Question
I’m encountering an issue where my live environment variables are working as expected in my local environment but are failing when deployed in production. Specifically, the problem arises when I try to create a subscription using the live priceId and customerId in production, and I get the following

error:
POST https://feature.d21i1xag2zn71d.amplifyapp.com/subscriptions 500 (Internal Server Error)

I've checked to make sure env variables are correct in deployed version.

What have you already attempted?
The live environment variables (such as NEXT_PUBLIC_STRIPE_MONTHLY_PRICE_ID and the Stripe API keys) are correctly set in my production environment. I’ve also double-checked the spelling to ensure there are no mistakes.

The error is not showing up in my local development environment, suggesting that the request might not be reaching Stripe in production or there is an issue with how the environment variables are being handled in the deployed environment.

What are you working on?
This issue is happening when user trying to get to subscription checkout page

cursive heronBOT
#

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

Error Message
invalid_request_error
The microdeposit has a type of descriptor_code. To verify the bank account, you must specify the required param: descriptor_code.

Question
Based on the screenshot, the bank deposits made by users were $0.06 and $0.27

What have you already attempted?
How should we input the descriptor_code for transactions that were deposited with amounts but are missing descriptor_code?

cursive heronBOT
#

@jagged linden pressed 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/receipts#automatically-send-receipts

Question
We've handled creating new paid subscriptions in our main platform account and customer email receipts were sent properly, but now we're trying to do the same thing for connect account subscriptions, but the receipts are not automatically being sent upon invoice succeeded. Is there something that specificall y needs to be configured within connect accounts to get email receipts to send automatically?

What have you already attempted?
We require an email to be attached to the customer on stripe during payment so that when the invoice succeeds, it should send the email receipt. However, we are seeing that this works for main account subscription invoices, but not for connect account invoices.

What are you working on?
We're adding a feature for our own customers to create paid subscriptions that their customers can then purchase to access exclusive text messages from them.

#

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

Question
I am using the endpoints to create an invoice and send it to the client:
https://api.stripe.com/v1/invoices/${invoiceId}/send.
The invoice is being created correctly, however, the email is not reaching the client. I am in test mode—are emails not sent in test mode?

Related Request ID(s)
Dev - Endpoint - Send email

What have you already attempted?
using endpoint on testmode

What are you working on?
Medical website

cursive heronBOT
#

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

Question
I want to make sure I'm using the proper idempotency key in my webhook endpoint. I'm not sure if it's the event id, the event type together with the data object id, or both.

Related Event ID(s)
NA

What have you already attempted?
https://docs.stripe.com/api/events says two things:

"Webhook endpoints might occasionally receive the same event more than once. You can guard against duplicated event receipts by logging the event IDs you’ve processed, and then not processing already-logged events.

In some cases, two separate Event objects are generated and sent. To identify these duplicates, use the ID of the object in data.object along with the event.type."

If I'm reading this right it's saying that "the ID of the object in data.object along with the event.type" cover all cases. Is that correct?

What are you working on?
Webhook endpoint.

cursive heronBOT
#

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

Code
const {reader: connectedReader, error} = await connectLocalMobileReader({
reader,
locationId,
});

Question
After this line gets executed, I see the "Tap to Pay on iPhone" screen which says it will link to my Apple account. I'm currently developing and testing, would I be able to re-use the same Apple account for other test users as I continue to develop/test/debug the feature? I hope I don't need to create a new Apple account each time I use Tap to Pay with another test user on my phone. Can I unlink a test user from my Apple account?

What have you already attempted?
Chat with Stripe AI which said I can't link multiple users to a single Apple account. Chatted also with Stripe Support yesterday, followed-up today, and I'm still waiting for an update. Hoping to get a faster answer here.

What are you working on?
Tap to Pay using React Native

cursive heronBOT
#

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

Question
I am wondering how I can, when someone subscribes, Stripe would log only the necessary information (customer id, subscription id, and status, etc.) to my bot's database? Once that has happened, then I can retrieve the data and ensure the customer is subscribed to the premium before they can use the commands. My question, to summarize, how can I get Stripe to log the subscription information I need when one is made?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/object?lang=node

What are you working on?
A discord bot that has premium commands, I want to check if the guild has an active subscription before using the command.

#

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

Error Message
An unexpected error occurred.
A https://js.stripe.com/v3/fingerprinted/js/controller-387c8a6388a974e5b9176f06339a7a56.js:1

Question
Unfortunately, the error message being given to me isn't too helpful, and I don't know what to do with it. I have a PaymentElement configured to accept Card, ACH, Apple Pay, and Google Pay, and I wanted to add ACSS Debit. Upon doing so, I get this error.

What have you already attempted?
As far as I know ACSS should accept USD, which is what my element was configured to. To rule that out, I also tried Alma (which I expected not to work) and Klarna (which I expected to work). Both behaved correctly. I was able to add Klarna effortlessly.

Reproduction Steps
All I did was add acss_debit to the paymentMethodTypes array of my element

cursive heronBOT
#

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

Question
Stripe integration with Venmo, read some docs for Stripe and looks like it is possible, but i cannot add Venmo links for payments anywhere

Related Request ID(s)
none

What have you already attempted?
Tried all docs i saw

What are you working on?
Simple project for paying meals

#

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

Question
Stripe financial connections sign in is not working (this is with the embedded modal that stripe provides)

For some reason it isn't allowing me to sign into any account

Related Request ID(s)
NA

What have you already attempted?
tried multiple different bank accounts

cursive heronBOT
#

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

Code
In anexisting web app, we load the Stripe web-hosted library:
<script src="https://js.stripe.com/v3/"></script>

Then we create the "elements" instance using the client secret and the 'manual' mode like this:

stripe.elements({
appearance,
clientSecret,
paymentMethodCreation: 'manual'
});

This works fine in the current implementation.

Question
In a new web app that we are building now, we are using the Stripe-js npm package. But when creating the "elements" instance, we can use either the "clientSecret" or the "manual" mode, but not both.

What have you already attempted?
We've tried using both ways of creating the elements instance, separately, in the new web app. In case we don't provide the "clientSecret", we cannot create the payment element subsequently. And if we don't use the "manual" mode, we cannot call "createPaymentMethod()" that is needed to get "paymentMethod.id" at the last step.

We have not been able to replicate the existing web app's Stripe integration, in the new web app with the Stripe-js npm package.

What are you working on?
A new checkout web app to replace our current checkout. The checkout is part of a SaaS platform that our customers use to sell to end-users (their customers).

cursive heronBOT
#

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

Question
Criar uma conta GB atraves de uma conta BR, tentei atraves do terminal da api e esta retornando que nao posso realizar criacao em contas para GB atraves de uma conta BR, porem meus clientes se encontram no reino unido, como posso realizar isso?

Related Request ID(s)
req_MQDGh7YIXMfX7T

What have you already attempted?
{
"business_profile": {
"name": "Teste 1",
"product_description": "Bike Rental",
"support_address": {
"city": "Croydon",
"country": "GB",
"line1": "45 woodmanster road",
"postal_code": "sw16 5uu",
"state": "London"
}
},
"business_type": "non_profit",
"capabilities": {
"affirm_payments": {
"requested": "true"
},
"afterpay_clearpay_payments": {
"requested": "true"
},
"au_becs_debit_payments": {
"requested": "true"
},
"bacs_debit_payments": {
"requested": "true"
},
"card_payments": {

What are you working on?
apenas testando a api para emplementar no meu sistema

#

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

Code
Question about mass transfers to different IBANs

Question
I’m planning to use Stripe for sending payments to multiple IBANs. Initially, it will be a few transfers per day, but it may scale to around 1000 daily over time.

I have a script that sends transfers when users confirm work completion. Can Stripe handle this volume, and are there any limits I should be aware of?

What have you already attempted?
.

What are you working on?
.

#

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

Question
Best practice for creating stripe payment intents to prevent a high risk score and payment decline? Do I need to fill up all the parameters?

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/create?lang=curl

What are you working on?
I have a small business providing services. Payment is through Stripe, but I saw a large amount of generic_decline and fraudulent error codes due to high risk scores and just overall being "risky" by Stripe Radar

#

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

What did you expect to happen?
A payment link should be generated when selecting previously added products using custom domain link.

What actually happened?
When product is added, the app freezes.

Reproduction Steps
Create a payment link with a custom domain payment link, and try to add a product that’s already been added. It will lock up the app.

Question
Can this be fixed? It’s making it very bad to use payment links.

#

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

Question
How to correctly set the billing cycle anchor in subscription / subscription schedule?

Related Request ID(s)
req_LC6HNIZLqqWhSe

What have you already attempted?
I've tried to add a subscription schedule like the req id i sent above, but for some reason, its still showing the first cycle as Feb 13 - Mar 13 .
it should be somewhat like this below:
billing cycle anchor should be 25th of each month.
if anyone subscribes in the middle, they should be charged with full amount (no proration).
for eg: if a customer subscribes to a plan on 13th February, they are ideally subscribing to the plan from Jan 25th to Feb 25th.
i don't know if we can backdate the start date on stripe , so for now, i decided to start from the current date to the coming 25th.

What are you working on?
stripe subscription

cursive heronBOT
cursive heronBOT
#

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

Question
The tax ID types on the website do not match the ones described in the API documentation. The API documentation is missing some information. Upon first comparison, I found that BE VAT is missing, and there might be other missing tax ID types that I haven't verified yet.

Related Request ID(s)
N/A

What have you already attempted?
I have compared the tax ID types between the website and the API documentation, and found discrepancies. I haven't checked all the tax ID types yet, but I did find that BE VAT was missing from the API documentation.

What are you working on?
I am working on integrating the correct tax ID types from the API for the application I am building, and ensuring that all the necessary tax ID types are covered in the documentation.

#

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

Question
I want to do a top up, specifying the destination balance for it. I need my top-ups to be done on the card balance. It is being deposited to bank_account.

Related Request ID(s)
req_N4UabqdgOcK9A7

What have you already attempted?
tried destination_balance as a parameter for the top-up creation but seems 'card' is not a valid option

What are you working on?
We want to automatically do top ups to keep our card balance at certain level, so we don't compromise our operation.

#

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

Code
public Session createCheckoutSession(Long amount, String currency,String productName,Long id,String productDescription
,Long vatCost,String customerId,String country) {
switch (country) {
case ApplicationConstants.USA:
Stripe.apiKey = (sandBoxStatus) ? usaStripeSecretKeyTest : usaStripeSecretKey;
break;
// case "UAE":
// Stripe.apiKey = (sandBoxStatus) ? stripeSecretyKeyTest : stripeSecretyKey;
// break;
default:
Stripe.apiKey = (sandBoxStatus) ? strip

Question
These is my code for payment i have unable pay optoins through bank from my dashboard still its not showing not showing in payment options

What have you already attempted?
NA

cursive heronBOT
#

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

Question
Hi, with the API in PHP, how can I define that a subscription is paid?

Related Request ID(s)
Api developer

What have you already attempted?
I checked with current_period_end, but it's not possible to update it :/

cursive heronBOT
cursive heronBOT
#

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

Question
We are currently integrating Stripe with your java library (28.2.0) and I was wondering whether your client anyhow solves retries in cases of network outage.

In the documentation in section about Connection errors there is a note about Automatic retries, however it's a dead link.

So my question is. Is there a retry mechanism in your library? Is it done under the covers or we should implement some solution on our own?

Thanks in advance for your answer.

Doc/Guide Links
https://docs.stripe.com/error-handling

What are you working on?
Internal microservice which is oferring Stripe as payment method for our services.

cursive heronBOT
#

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

Question
The payment was successful and the order did not receive your payment success notification

Related Request ID(s)
req_ytTHTD81lX7D4n

What have you already attempted?
Changed the payment currency

#

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

Question
I want to configure billing emails using either the API or the Java SDK. Also, just like in the panel, there's an option to set multiple billing addresses for a single customer. I couldn’t find this in the documentation

Related Request ID(s)
--

What have you already attempted?
no

#

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

Question
We want to build a function on our server to allow customer to top up credit to our system. Could you guide us which API endpoint will complete these function:

  1. Top up
  2. Withdraw money

In my thoughts, we just create A Checkout Session represents your customer’s session as they pay for one-time to Top up, but I have no idea how stripe can help me on withdraw money to customer account

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
We are building web application for allow our customer to buy something on our website.

#

@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/js/elements_object/create_express_checkout_element

Question
When creating express checkout with element, how can I link them to merchant reference if I have one?

What have you already attempted?
I checked out create elements, update elements, click event and confirm event on elements

What are you working on?
developing applepay using express checkout with elements

cursive heronBOT
#

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

Code
Event event = Webhook.constructEvent(payload, sigHeader, endpointSecret);

        EventDataObjectDeserializer deserializer = event.getDataObjectDeserializer\(\);
       
        StripeObject stripeObject = deserializer.getObject\(\).orElseThrow\(\(\) \-\> new Exception\("Deserialization failed"\)\);

Question
Getting this error: Internal Server Error: Deserialization failed.

What have you already attempted?
Crosschecked the version of jar files

What are you working on?
I want to extract the header, signature and endpointsecret from the payload and verify the signature.

cursive heronBOT
#

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

What did you expect to happen?
I expected the Stripe dashboard’s churn percentage to stay consistent with actual subscription changes, reflecting our AI chatbot’s true churn rate.

What actually happened?
In November, the churn rate on the dashboard instantly dropped from 34% to 20%, and more recently jumped from 20% to 60%, with no real business events to explain these shifts.

Reproduction Steps

  1. Log into the Stripe dashboard.
  2. Navigate to the analytics or subscription reporting section.
  3. Compare the churn percentages over time (especially November onward).
  4. Note the sudden drops and spikes with no underlying data changes.

Question
What could be causing these sudden churn fluctuations on the Stripe dashboard, and why does the churn rate for the entire period seem to have changed? Is there a technical or methodology issue in how Stripe calculates churn?

What are you working on?
I’m building an AI chatbot business with about $40k MRR, using Stripe for subscription management.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=stripe-hosted&lang=node#provision-and-monitor

Question
In this section of the doc, it's mentioned the I should provide the subscription when I get the `checkout.session.completed` event.

But it's seems incorrect, as it's later mentioned that this events fires when "a customer clicks the Pay or Subscribe button in Checkout, informing you of a new purchase.":

1) The user inputs an invalid CC, and clicks Subscribe.
2) The event `checkout.session.completed` is fired.
3) I provision the subscription.
4) The card is declined or whatever error so the payment is not passing through

Then my system provisioned a subscription without a payment.

What have you already attempted?
Maybe this ? https://docs.stripe.com/billing/subscriptions/overview#how-payments-work-with-subscriptions

But I do not create the Subscription object, I expect it will be created alongside the Checkout session like explained in the first doc: https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=stripe-hosted&lang=node

cursive heronBOT
#

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

Question
I have used stripe CLI to send my self an account.updated to simulate my customer registering a new stripe Connect account. my webhook listener is called successfully. However when I call stripe.Event.retrieve for that event, i get

stripe._error.InvalidRequestError: Request req_H7rXmHXqh2jh0c: No such notification: 'evt_1QrzUEPCGzul3VzcPuhLe3k2'

I have setup my stripe.api_key to be my test key.

So I am not seeing why I cannot re-retrieve that event id?

Related Event ID(s)
evt_1QrzUEPCGzul3VzcPuhLe3k2

What have you already attempted?
stripe_event = stripe.Event.retrieve("evt_1QrzUEPCGzul3VzcPuhLe3k2") returns an error

What are you working on?
getting a stripe Connect demo working

cursive heronBOT
#

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

Error Message
Getting an error in the connected account while try to create connected account with UAE. the error is: "connected accounts in us cannot be created by platforms in ae.
"

Question
Getting an error in the connected account while trying to create a connected account with UAE. The error is: "connected accounts in us cannot be created by platforms in ae.
"

What have you already attempted?
Just create a connected account with main account is UAE.

Reproduction Steps
Just create a connected account that has the main account UAE. and an error will come.

What are you working on?
Connected account

#

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

Error Message
when i tried to create connected account with UAE platform, stripe api throws above error.

Question
How can I create connected account in UAE

What have you already attempted?
it doesnt work

#

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

Question
I want to add recurring ACH debit payments to my previous payment intent

Related Request ID(s)
NIL

What have you already attempted?
I am using ACH debit and I have created a payment intent which will charge $x amount with the necessary steps and it's successfully doing that. But now I want to have a one time payment of $x amount and a recurring payment of $y amount. How to do this ?

What are you working on?
I'm a business charging a one time fee and trying to implement subscription.

#

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

Question
Hi! Using @stripe/react-stripe-js. The PaymentElement does not allow the Bank Transfer, other two (card and MobilePay) options work fine, although I see the Bank Transfer to be ON in the dashboard.

Related Request ID(s)
pi_3QrmrRDobWgkU8A71Ydm3GoX

What have you already attempted?
Tried to debug it myself with no luck; get only 2 elements in the payment methods array

#

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

Question
Is there a possibility that stripe does not sent out an event to our webhook urls? We are missing an event id and stripe shows in its dashboard that they never delivered it.. We also noticed that the customer was delayed by stripe to be created more than 30 minutes. The timestamp shown by stripe that the customer was created on 10:53 UTC today, does not show up in the customer dashboard... (customer_id: cus_NRNpPp8CDejC2c)
Why did this happen? Is this something that can happen regularly? Stripe failing to deliver events?

Related Event ID(s)
evt_1Qp6EgCWdloGdZhU7WQlSLur

What have you already attempted?
Checked our logs, we never received this event. All other events close to that one have been delivered successfully.

What are you working on?
Nothing, we just noticed from our ystems that we were not notified about that customer's update.

#

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

Question
During the API call "Account" (https://api.stripe.com/v1/accounts), I send a bunch of parameters from company metadata to its representative, etc...
But landing on the KYC form, inputs are not filled in. Is it possible to get them back?

Related Request ID(s)
req_MBvi3HA41gErWh

What have you already attempted?
The filled in parameter I see in the dashboard are ones that I filled in manually on the KYC forms.
I sent all the parameters in a proper format. The call is working but the parameter are not sent it seems.

What are you working on?
It's a plateform that make repair dental instrument payment more fluently

#

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

Error Message
Platforms in AE cannot create accounts where the platform is loss-liable, due to risk control measures. Please refer to our guide

Question
please guide what is the solutions?

What have you already attempted?
trying to create account but it gives 500

#

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

Code
$subscriptionItems = [
[
'price' => config('app.opinas_base_year_240'),
'quantity' => $businessCount,
],
[
'price' => config('app.addon_employees_year'),
'quantity' => $employeesCount,
]
];

$invoicePreview = $this->stripe->invoices->upcoming([
'subscription' => $subscription->stripe_id,
'subscrip

Question
I have monthly subscriptors. Im creating a page where they can click a button and swap their subscription to annual. Currently i'm working on view part.

I want to display the upcoming invoice that they will pay for this change with prorations and a button.

The problem is I got this error: "All prices on a subscription must have the same `recurring.interval` and `recurring.interval_count`. If you meant to update an existing subscription item instead of creating a new one...

What have you already attempted?
Maybe my logic is not correct. But that I'm trying to do is I want to remove/reset the subscription items and add new subscription items with the annual priceId and the correct quantity for each.

#

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

Question
Webhook failed a few days ago, has been fixed now, but there are still a lot of "webhooks" that have failed.
For example, I have a payment which states following: "Pending webhook response -> Delivery failed. Event delivery failed after pending for three days. View more information here."

I have a few thousend that need to be resend. But when I try to follow the documentation: "stripe events list --limit="999" --delivery-success=false" it gives me 0 results. Also I noticed, that there's a difference between Webhook delivery events and the event tab in the workbench (latest entry is from 2024)

Related Event ID(s)
evt_3QprwoKsO9xkCfbk12rdXCmu

What have you already attempted?
I have written y python script, but upon inspecting;
failed_events = stripe.Event.list(
delivery_success=False,
)

I found out the count of data is 0.

when running stripe events list --limit="999" --delivery-success=false in workbench, it also returns 0 results.

What are you working on?
The goal is to resend all failed webhooks because they exceed the 3 day retry policy

cursive heronBOT
#

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

Question
Stripe Embedded Form with checkout mode ‘subscription’ doesn’t allow multiple subscriptions per customer

Related Request ID(s)
n/a

What have you already attempted?
I have tried using ‘subscription’ mode which, when going through the Embedded Form and entering an email that was used to start a different subscription, says ‘You already have a subscription with us click here to manage it’ or something similar. I have assessed using ‘setup’ or ‘payment’ mode to take the customer’s payment method and start a subscription straight away using stripe.subscription.create which seems go be the only way to have multiple subscriptions per customer. These feel like a ‘hacky’ solution rather than best practices.

What are you working on?
Building a subscription payment gateway using Stripe Subscriptions Embedded Form.

cursive heronBOT
#

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

Question
How can I change the Saved Card label text when using Payment Element?

Related Request ID(s)
n/a

What have you already attempted?
Hello, I can't find in docs how to update the text for certain labels when using Elements (payment). All I can find is how to change the appearance using CSS, thanks

#

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

Question
Why I can't pre-fill information with api create account?

Related Request ID(s)
req_ikQg5XkFrsZ2YX

What have you already attempted?
I tried to fill in several information. Previous agent here told me that it should not be possible to do so (in some ways) but it is clearly enonciate in the doc that I can...

What are you working on?
An app that allows dental practice to pay for their instrument repair to a repair hub.

cursive heronBOT
#

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

Question
We want to pass payment fees onto our customers, but these change depending on the payment type. Is there an API I can call to get, for example, for Klarna, their processing fee for a specific country or all countries, or something similar? Or should I be looking at this from a different angle?

Related Request ID(s)
NA

What have you already attempted?
Still investigating options.

What are you working on?
Passing on payment fees to customers

#

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

Error Message
Failed to create a deal in HubSpot
Object not found. objectId are usually numeric.

Question
Hello,
I would like to upload 2 data to hubspot with zapier: payment information and purchase type. But I have a problem with zapier. I'm creating a new step to update my transaction record. But I get this error message: Failed to create a deal in HubSpot
Object not found. objectId are usually numeric.

The ID I have: pi_3ObUxwGV9Rx7PuYE0sIEQgHl is this normal?
Do yo

What have you already attempted?
I would like to upload 2 data to hubspot with zapier: payment information and purchase type.

What are you working on?
Create an automatisation with zapier

#

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

Code
While doing a stripe google pay payment, in intent request, I am passing this, 'automatic_payment_methods' => ['enabled' => true], but from stripe dashboard I can see only card and link are present as payment method type in the payment intent response. I have both google pay and link is enabled from the account.

Question
How can resolve this issue so that it will automatically fetch google_pay as payment method type along with card and link?

What have you already attempted?
I have checked stripe dashboard for confirming the settings

#

@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/ach-direct-debit

Question
Is it required to enable the "ACH direct debit" in the payment methods to be able to subscribe users with ACH payment methods?

What have you already attempted?
Nothing was attempted yet, but I have a set of ACH users migrated from a third party platform and I'd like to avoid having their subscription charges to fail due to a simple misconfiguration. These users already have a verified payment_method and setup_intent

What are you working on?
Subscription based service

#

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

Question
hello, i am having troubles with processing payments with stripe. on my website people buying from mobile phones cannot end their payments, it looks like the stripe is hooked and does not proceed after choosing stripe payment metode. here is my shop: https://deklica.si/store/

Related Event ID(s)
dont know

What have you already attempted?
nothing i am asking you i am not a developper

#

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

What did you expect to happen?
Account creation with prefilled email address

What actually happened?
Error "Invalid email address"

Reproduction Steps
Call create account endpoint, passing in email address with info@<domain>

Question
What validation is Stripe doing against email addresses when creating an account?

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=stripe-hosted

Question
When does Stripe create a Customer when I create a session checkout in subscription mode with the Stripe UI and not passing a `customer` ?

When payment intent is created ?
When the checkout session is created ?
When the checkout session is completed ?
Other moment ?

What have you already attempted?
It seems Stripe creates the customer when the checkout session is *created*, but not sure.

#

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

Code
...........................

Question
Hey,

Is it possible to implement the following system with Stripe?

Client A sends money to my Stripe account.
Client B completes the service.
Both Client A and Client B confirm that the work is done.
After confirmation, Client B can access their wallet on the website and click "Withdraw funds."
Stripe receives information from the database about the amount to be withdrawn and processes the payout.
Would this be possible with Stripe? If so, what would be the best approach to

What have you already attempted?
.

#

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

Question
I just created a Connect account with the transfers capability only. When I created the AccountSession I specified:
features: { external_account_collection: false

I later used a SetupIntent to create a us_bank_account PaymentMethod for this Connect Account. Will the account be able to payout to that PaymentMethod or does it need to provide an external_account? I wonder because I see "past_due"=>["external_account"] in the requirements attribute of the Account object. The current_deadline is nil though, so I wonder whether this is actually required or whether the PaymentMethod will suffice for payouts.

Doc/Guide Links
https://docs.stripe.com/api/accounts/object
acct_1QrkZ5PhRlLm7kVD

What are you working on?
A marketplace where we will use destination charges to automatically move funds to our Connect Accounts

#

@supple marsh pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Code is long
unable to share

Question
Hey i am creating the :

Step 1 - express accounts
Step 2- creating the external bank account
Step 3- Updating the stripe account with identity documents, phone, email, address etc.
Step 4- Creating the account onboarding link

But as i am updating the phone and email but when i get the onboarding URL i stil have to fill the phonenumber instead it should be not.
I should be only left with the tos acceptance.

What have you already attempted?
Not able to share code due to more length

#

@pine forge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<iframe
:src="urlpay"
style="width: 100%; height: 100%; border: none;" />

Question
SecurityError: Failed to read a named property 'href' from 'Location': Blocked a frame with origin "https://localhost" from accessing a cross-origin frame.

What have you already attempted?
why cant iframe on android app in web view

What are you working on?
paymnent

cursive heronBOT
#

@quiet cobalt pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
You must provide at least one recurring price in `subscription` mode when using prices

Question
we would like to understand what we are doing wrong in creating a recurring sepa payment via your API

What have you already attempted?
we have consulted and followed the following documentation for implementation: https://docs.stripe.com/billing/subscriptions/sepa-debit?platform=web&payment-ui=stripe-hosted#create-checkout-session

Reproduction Steps
we tried to create a recurring payment via the sessionservice API with the following request: {‘SuccessUrl’: ‘https://www.lasersoft.it’, ‘CancelUrl’: ‘https://www.google. com’, “Key”: “sk_test_•••c3bB”, “Amount”:3500, “Currency”: “eur”, “ConnectedAccountId”:null}

What are you working on?
we would like to understand what we are doing wrong in creating a recurring sepa payment via your API

#

@unkempt edge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We are testing Stripe checkout page and we've found out that Link option has stopped being displayed in our account.

What actually happened?
After creating a checkout page in order to make a payment with Stripe we've seen that the Link payment method is no longer displayed, although it was working properly yesterday. Have you done some changes related to this? It is happening in sandbox.

Reproduction Steps
Create checkout page with an account that has Links enabled.

Question
After creating a checkout page in order to make a payment with Stripe we've seen that the Link payment method is no longer displayed, although it was working properly yesterday. Have you done some changes related to this? It is happening in sandbox.

#

@mellow igloo pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Error processing webhook: Error: SubtleCryptoProvider cannot be used in a synchronous context.
at Ce.computeHMACSignature (https://esm.sh/stripe@14.21.0/es2022/stripe.mjs:3:2721)
at Object.verifyHeader (https://esm.sh/stripe@14.21.0/es2022/stripe.mjs:4:21939)
at Object.constructEvent (https://esm.sh/stripe@14.21.0/es2022/stripe.mjs:4:20906)
at Server.<anonymous> (file:///Users/josep/Documents/invoicely-health/supabase/functions/stripe-webhook/index.ts:24:35)
at eventLoopTick (ext:core/01_core.js:168:7)
at async #respond (https://deno.land/std@0.190.0/http/server.ts:220:18)

This is the error

Related Event ID(s)
evt_3Qrj2lI82uxBwv1s049tuZez

What have you already attempted?
I was going through the docs on supabase and github about the stripe webhooks and I think we are missing something but I'm unsure what. Would love just some problem solving help with the function to get it logging correctly.
I've also been going back and forth with chatgpt about it and I wonder if the issue is related to the following:
"Ensure that the Stripe webhook signature is verified correctly so that only valid events are processed. Ideally, use a version of the Stripe library (or an alternative Deno-specific library) that supports asynchronous crypto operations."

What are you working on?
I am making an automated invoice sender to clients. Upon payment, I want Stripe Connect to subtract 12% as collection fee from the total payment

#

@misty marten pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const returnUrl = new URL("./subscribe/done", location.href);
await stripe.confirmPayment({
clientSecret,
elements: stripeElements,
confirmParams: {
return_url: returnUrl.href,
},
});

Question
Hi, I'm embedding the express checkout within a sandboxed iframe. Because of this, stripe.js fails to redirect the top level page to return_url.
Is there an option to open a new tab instead?

What have you already attempted?
I tried setting `redirect: "if_required"` which seems to work for both google pay and apple pay (we don't support any others). But I'm not sure if there are any situations with apple/google pay where a redirect is still required. So I'm not sure if I can assume that this will always work (even with different card types for instance)

What are you working on?
A subscription service for https://pelicanparty.games/

#

@west otter pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentElementOptions: StripePaymentElementOptions = {
layout: {
type: 'tabs',
defaultCollapsed: false,
},
terms: {
card: 'never',
},
fields: {
billingDetails: {
name: 'never',
phone: 'never',
address: 'never',
},
},
defaultValues: {
billingDetails: {
email: state.email,
},
},
};

Question
Trying to show Checkout with Link payment methods on PE for users with no Link account.

What have you already attempted?
I have added a default email address added to show link. This works well when there the email has a Link account. But when email has no Link account, on initial render the Link element to signup is not shown. We are trying to re-render the PE in React, every time the email changes from external email input. The Link start showing up inconsistently.

What are you working on?
Integrating Link in payment element as a payment method.

#

@mortal copper pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=stripe-hosted

Question
When does Stripe create a Customer when I create a session checkout in subscription mode with the Stripe UI and not passing a `customer` ?

When the payment intent is created ?
When the checkout session is created ?
When the checkout session is completed ?
Other moment ?

My goal is to know when I need to record the Stripe customer id in my system.

E.g: If the customer is created when the checkout session is created, I would record the id from this event in my webhook, because if the session is never completed for some reason, user creating a new session later will create another customer etc

What have you already attempted?
Already got some infos, but the thread was closed...

#

@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
does Stripe Express Connect allow linking multiple bank accounts?
we have a scenario where a vendor has more than 1 source of revenue - for e.g. revenue from services and revenue from tips.
If the vendor want to link different bank accounts for each type, does Stripe Express Connect support that?

Related Request ID(s)
none

What have you already attempted?
API documentation on Stripe Express Connect

What are you working on?
onboarding users for payouts

#

@placid crater pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi !

I hope you're doing well.

Im a backend developer from Purse and we are actually integrating Stripe in our orchestration tool. We did a sequence diagram for the creditcard method with vault, non vault, direct_debit and differed_debit implementation and we would like to know if its possible to validate this with someone from the technical side of Stripe ?

We are also having trouble to pass PCI_PROXY card numbers and CVC to stripe API for the vault mode integration - Creditcard.

Thanks in advance !

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_jMr4F50TgxSZWe?t=1739460370

What have you already attempted?
For the vault mode I already attempted to create first a payment method than pass it the to payment_intent.payment_method (string) but it doesn't work even though we have already authorized stripe on pci_proxy.

What are you working on?
Stripe Integration for Purse (VAULT MODE)

cursive heronBOT
#

@white hedge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want to create a billing_portal session for a user to pay for their trial subscription after it's ended. the susbscription is paused and the flow is supposed to be: user adds card, subscription renews, they are automatically redirected to my return URL. Right now with the basic portal session creation with only customer id and return url. the customer is able to add their card, renew their subscription, but then they have to click return to Company_name to go to my return URL.

Related Request ID(s)
req_KngMuiAnFhjIZA

What have you already attempted?
i've tried adding a billing_portal configuration object which did not help. I also tried specifying only "after_completion" with type "redirect" in flow_data but it requires a "type". and when i specify "type" as payment_method_update. The flow gets very close to what i want where it shows the user to add payment info, and redirects them to return URL after. but unfortunately the subscription does not get renewed. i want the user to add payment info, then subscription renews, and they are redirected automatically to my url.

What are you working on?
A trial subscription flow.

#

@cosmic sluice pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripe = Stripe('pk_test_51QrP3URs7hIyKckB9RNPsUmIQzGK1Zut6nAAurqYyQbLBRt176oUKSy0cI1ptNbYfhybDAPBzzmTZHmTDjRjFhh800XMlvm9jg');
stripe.redirectToAccountOnboarding(data.client_secret).then(result => {
if (result.error) {
alert('Erro ao iniciar onboarding: ' + result.error.message);
}

Question
configuracoes.php:43
Erro: TypeError: stripe.redirectToAccountOnboarding is not a function
at configuracoes.php:33:28

What have you already attempted?
.

What are you working on?
Criacao de conta e verificacao dos requisitos iniciar transacoes com Embedded onboarding

cursive heronBOT
#

@tranquil sky pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Not receive daily emails to update my stripe info

What actually happened?
Receiving daily emails to update stripe info even if I update it the day prior

Reproduction Steps
There is no way for me to reproduce on my end as the emails are pushed to me daily

Question
I am a Turo host. TURO uses stripe for their claims payments. I had received payment several months ago from their claims department. Ever since 2/4/25 I have been receiving daily emails to update my info.

What are you working on?
Na

cursive heronBOT
#

@left moth pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Unionpay debit card number not accepted from card element

Question
Try to input on Unionpay debit card number(beginning with 62177107) into Stripe card element, but the Stripe card element shows error in card icon, and cannot create a new payment method with Unionpay debit card.

What have you already attempted?
Confirm with Stripe support that Stripe payment gateway supports Unionpay debit card.
Try to use payment element, the card number can be recognized as Unionpay card, but does not for card element

Reproduction Steps
In card element, input Unionpay debit card number, and the card element will show error. the sample card number can be 62177107xxxxxxxx

#

@pine forge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const checkout = await stripe.initEmbeddedCheckout({clientSecret});

Question
Uncaught (in promise) IntegrationError: You cannot have multiple Embedded Checkout objects.

What have you already attempted?
how can i get back with clientsecret key previous embedded ?

#

@wary lintel pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When using Payment Element & Cash App, the elements.submit() functionality should not resolve when exiting out of the modal without payment.

https://docs.stripe.com/js/elements/submit

What actually happened?
When using Payment Element & Cash App, the elements.submit() resolves with no errors making the assumption that the submissions was successful when it was not.

Reproduction Steps
Setup Payment Element with Cash App. Trigger elements.submit() and exit out of the cash app modal.

The following will resolve successfully since there are no errors and nothing else to notify that the payment was simply exited out of.
const {error, selectedPaymentMethod} = await elements.submit();

Question
Is there a way to know that cash app modal was exited out of using elements.submit()?

What are you working on?
GiveWP Payment Element Gateway

#

@rapid nest pressed 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/money-movement/remote-deposit-capture-checkdeposit-53-migration#feature-enablement-for-financial-accounts

Question
We're following the changes in this migration guide to use Fifth Third Bank.

1) what exactly is the change related to rdcdi on the 5/3 migration guide for remote deposit capture?

2) if we are using rcid (Received credit id) to link a treasury received credit on a financial account to a specific check deposit, will that still continue? Are there changes to the webhook for treasury.received_credit.succeeded?

What have you already attempted?
We've updated the deposit flow, but now we're wondering if there's any other updates that are required.

What are you working on?
Financial management service

cursive heronBOT
#

@compact storm pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm looking at the webhook events and the objects for the external_account and the financial_connections account. The two objects share some of the same attributes like status, but the financial connections account object has more data points. Our architecture generally caches these objects and keeps them in sync via webhooks. Do you recommend keeping both objects in sync with our system or will just keeping the financial connections object in sync generally suffice?

Doc/Guide Links
https://docs.stripe.com/api/events/types#event_types-account.external_account.created

https://docs.stripe.com/api/events/types#event_types-financial_connections.account.created

What are you working on?
A marketplace that uses destination charges to move funds into a Connect Account balance and use Payouts to move the funds to the external account

cursive heronBOT
#

@crisp falcon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to change the terms of service acceptance wording on the Stripe Hosted Payment Page for a Subscription Invoice?

Related Request ID(s)
(none)

What have you already attempted?
Looked at documentation, it seems possible with a payment link, but doesn't seem possible for a Subscription Invoice?

cursive heronBOT
#

@foggy latch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a 'new subscription confirmation page' in our web application (react with rails backend). In that subscription confirmation page, we'd like to display stripe's embeddable payment component on that page to capture card number, expiration, etc. When the user submits, we want to start their subscription and then store the card details on the Stripe Customer object. This way, if the user cancels their subscription and returns to the same 'new subscription confirmation page', we can display the card we have on file, and give them the option to subscribe using that card. How would we do this

Related Request ID(s)
N/A

What have you already attempted?
We have a working system that is using the REALLY old version of stripe checkout js and need to migrate to a newer system, but we want to make sure the card is stored on Stripe Customer. The new subscription confirmation page should work whether they are typing in card details and hitting submit (no card attached currently) or a card is already attached and hitting submit. Will we need different backend for the 'submit' action for these 2 scenarios?

#

@flint pebble pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Set up a BAA for HIPAA compliant API integration

Related Request ID(s)
na

What have you already attempted?
Searched of all online documentation, no guidance. But tryeden.com uses stripe for checkout.

What are you working on?
A healthcare related project with payment support

cursive heronBOT
#

@robust ermine pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Illegal char <:> at index 39: net.company.appname.app-mergeDevResources-125:/values/values.xml

Question
I am integrating com.stripe:stripe-android:21.4.2 into my Android project

What have you already attempted?
the first attempt was tried a clean build using:
./gradlew clean
./gradlew assembleDebug --stacktrace

After that, the Jetpack Compose BOM was updated to 2023.10.01 and the result was the error message sended, before the updated of the Jetpack Compose the error was
Illegal char <:> at index 41: net.hidecompany.hiappname.app-mergeDebugResources-125:/values/values.xml

Reproduction Steps
Just After adding the dependency in my build.gradle: implementation 'com.stripe:stripe-android:21.4.2' i got the build error related to resource compilation.

What are you working on?
I'm trying to use the CardInputWidget and PaymentSheet to register the customer credit card and allow the payment

cursive heronBOT
#

@little orchid pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the payload of Stripe's webhook events, is there a guaranteed order for invoice line items?

Related Request ID(s)
n/a

What have you already attempted?
In the payload of Stripe's webhook events, is there a guaranteed order for invoice line items?

If I add the line items in order will the first one received from the webhook be the same one I passed in first for the checkout url?

cursive heronBOT
#

@burnt sleet pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm building a Stripe App that has a frontend component in the Stripe Dashboard and a backend. I'd like to listen to events from accounts that have the app installed and execute functions based on the accountID., but events don't contain accountID. There's no oauth and I only let users install the app from the Marketplace.

When I trigger
stripe listen --forward-to localhostUrl --forward-connect-to localhostUrl

stripe trigger customer.created --stripe-account <XYZ>

Question
How can I receive accountID for events like customer.created via webhook?

What have you already attempted?
https://docs.stripe.com/stripe-apps/how-stripe-apps-work https://docs.stripe.com/webhooks#webhook-endpoint-def https://docs.stripe.com/connect/webhooks

#

@plucky badge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am receiving the following error when confirming a payment intent. "The type of the provided Source (pm_1Qs6qJLVwyrKELh7VfXizY6v) is link. This does not match the expected type card. Try confirming with a Source of type card.". I am trying to track down the source of this error as it appears to happen when a client side confirmation request is made on payment intents that have a status of "requires_action"

Payment Intent: pi_3Qs6qJLVwyrKELh71B8YNbVL
Account ID: acct_1GJ2WsLVwyrKELh7

Related Request ID(s)
req_xMo1C3EQYGskfC, req_2Z6krrafqrSFSm

What have you already attempted?
I am in the figuring out stage so haven't attempted any code changes yet. I'd like to better understand why it seems like a Link payment method that requires 3DS is failing during the client side confirmation.

What are you working on?
I am maintaining a large platform with about 150,000 merchants.

cursive heronBOT
#

@dawn kelp pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why aren't my API-created Payment Method Domains visible in the stripe dashboard?

When I add payment_method_domains via the API, they do get verified (we have the Apple Pay domain association file), enabled and are listable, but they don’t show up in the dashboard.

When I list domains in the dashboard, all I see is the ones I created via the dashboard.
When I list domains via the API, I see both the ones I created via the dashboard and the API.

So, it's the same pool. I just can't work out how to make them appear, or the significance of them not being visible on the dashboard.

Ta

Related Request ID(s)
req_5xctupkloCEt77

What have you already attempted?
I tried adding before + after the Stripe connect flow completes.
I tried manually calling Validate multiple times.
I tried creating a few different stripe accounts.
I tried creating them as enabled/disabled.
This is all from a test-only account.

What are you working on?
Automatically adding a payment method domain (for Apple Pay) during account creation

cursive heronBOT
#

@dusk zephyr pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
export async updateAccount(accountId, params) {
const thirdParam = {
stripeAccount: getConnectedAccountId()
}
// is this correct to update a connect account
const res = await Stripe.accounts.update(accountId,
{
...params,
})
// or is this the correct way
const res = await Stripe.accounts.update(accountId,
{
...params,
},
thirParam
)
}

Question
using the nodejs sdk to update an account do we have to pass the RequestOptions.stripeAccount parameter?

What have you already attempted?
I haven't ran the code. I want to make sure I get it correct before updating an account

#

@mellow narwhal pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
return await this.stripe.paymentIntents.create({
amount,
currency,
payment_method_types: ['card'],
application_fee_amount: platformFee,
on_behalf_of: creatorStripeAccountId,
transfer_data: {
destination: creatorStripeAccountId,
},
metadata: {
...metadata,
fee_responsibility: 'connected_account'
},
receipt_email: email
});

Question
I am working on payments in my stripe test account, I am creating a payment intent in the following way. But I am noticing while the charge succeeds the stripe fees are being routed to my platforms account and not the connected user. I want to figure out how to route the stripe fees to the connected account.

What have you already attempted?
I have tried adding on behalf of field and also direct payments but the fees always seem to route to my platforms account.

I am using custom stripe onboarding via my Application which i read causes fees to be charged to my platform. But I also read you can configure the payment intents to charge the fees to the creator selling the product even when using custom account types.

What are you working on?
Correct fee distribution for my platform and its creators.

#

@burnt sleet pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to listen for webhook events related to meters and usage in a Stripe App?

Related Event ID(s)
none

What have you already attempted?
Triggering webhook events after reporting usage in the Stripe Dashboard

#

@dusky fable pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We’re working on a system that processes Stripe payout transactions. For CAD payouts, we use the Payout trace ID included in bank partner messages as `transactionShortReferenceId` to link a transaction to payout. However, for USD payouts (ACH), we can’t find a similar reference.

Can you please confirm if Stripe includes the `Payout trace ID` or any other reference field when initiating ACH transfers? We’re trying to determine if this is omitted by our banking partner or if they don’t receive it from Stripe.

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
A system that processes Stripe payout transactions.

cursive heronBOT
#

@dusky fable pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We’re working on a system that processes Stripe payout transactions. For CAD payouts, we use the Payout trace ID included in bank partner messages as transactionShortReferenceId to link transactions. However, for USD payouts (ACH), we can’t find a similar reference.

Can you confirm if Stripe includes the Payout trace ID or any other reference field when initiating ACH transfers? We’re trying to determine if this is omitted by our banking partner or if they don’t receive it from Stripe.

Payout ID: `po_1QgEhGPuC9R6lZAOpevAoKAH`

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
A system that processes Stripe payout transactions

cursive heronBOT
#

@sly shore pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
#1: Stripe errors The statement descriptor cannot include '..

#2: db_insert failed. Message = SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_agent' cannot be null: INSERT INTO {give_problem} (donation_uuid, type, detail, timestamp, user_agent) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_pla...

Question
Hi there! I have a client on a Drupal website, with a Stripe integration - and their Donation (specific to recurring donations) form continues to give these errors. Their one-time donation, as well as their membership purchasing works (all Stripe) Is anyone familiar with Stripe x Drupal and assisting me in next steps or troubleshooting a different method to resolve?

What have you already attempted?
We have already tried following Stripes docs to reset API keys and fix the statement descriptor. This did not have any special characters/symbols - even though that's what the error is pointing at. I've reset the APIs in Drupal Commerce Configuration and am still receiving the same error codes & log messages.

Reproduction Steps
Can only reproduce if you're willing to plug in a CC # for recurring donation. I have a company card I'm able to use so wouldn't recommend doing it on your own.

What are you working on?
Drupal Commerce x Stripe Integration

cursive heronBOT
#

@dusk zephyr pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to update a standard Connect account's business_profile.url?

Related Request ID(s)
req_2eKCrdStCj4uTG

What have you already attempted?
Using the Nodejs sdk I attempted to update the account but I get a 403

cursive heronBOT
#

@cosmic sluice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I create a product within a connected account?

Related Request ID(s)
.

What have you already attempted?
I'm creating a system for managing workshops and I would like to rent my customers' motorcycles online, but I can't find any endpoint to create a product in the connected account that I created for my customer, I can only create it in my account

#

@crude skiff pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://stripe.com/blog/api-versioning

Question
I'm unsure if this is the right place to ask... we modeled our own API on Stripe's versioning system a few years back and have recently updated to include major versions. I just noticed today that Stripe announced a similar change with the "acacia" style versioning. It might not be a bad idea to update or nuke the old blog post from 2017 because your versioning strategy has changed.

What have you already attempted?
NA

What are you working on?
An API

cursive heronBOT
#

@mellow narwhal pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
country: 'US',
email: user.email,
capabilities: {
transfers: { requested: true },
card_payments: { requested: true },
},
business_type: 'individual',
controller: {
stripe_dashboard: {
type: 'none',
},
fees: {
payer: 'account', // Connected account pays Stripe fees
},

Question
I am trying to create Stripe connect accounts on my platform where the fee responsibility is on the seller and not me (the platform). But I am still seeing fee payments going to me as the platform and not the connected seller. Are there any settings or configurations in my stripe connect that are causing the fees to be routed to me? Or am i not understanding something in the way the api works?

What have you already attempted?
I have tried modifying my account creation process to use the latest controller settings in the api documentation. Ive tried modifying my payment intent creation to route the fees to the user.

What are you working on?
Online marketplace that connects sellers and buyers

#

@vocal stump pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why does my refund object not have destination_details? It should according to the docs: https://docs.stripe.com/api/refunds/object

Related Request ID(s)
pyr_1QhuNzLj11YtqxjbCyktBG07

What have you already attempted?
It seems this refund object is different, since it's a pyr_ and not re_ object.

What are you working on?
Trying to correctly display refund status and whether a charge is a reversal.

cursive heronBOT
#

@sinful iron pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://ray.so/xRkqpo6

Question
Confirm a PaymentIntent can have success url and failed url?

What have you already attempted?
On my website, I create a PaymentIntent when a user wants to pay. I use Stripe's Payment Element, and users confirm the PaymentIntent via the API.

My question is: Can I set the success and failure URLs after creating the PaymentIntent? I'm using client-side confirmation. If so, how can I achieve this? Are there any specific considerations or best practices I should be aware of?

cursive heronBOT
#

@dawn kelp pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why aren't my API-created Payment Method Domains visible in the stripe dashboard?

When I add payment_method_domains via the API, they do get verified (we have the Apple Pay domain association file), enabled and are listable, but they don’t show up in the dashboard.

When I list domains in the dashboard (using the account switcher), all I see is the ones I created via the dashboard.

If I use the platform account to 'view dashboard as connected account', I can't access the payment method domains list.

How can I see the payment method domains to ensure they're correctly set up?

Ta

Related Request ID(s)
req_ffVizLuxYCUsTO

What have you already attempted?
I tried adding before + after the Stripe connect flow completes.
I tried manually calling Validate multiple times.
I tried creating a few different stripe accounts.
I tried creating them as enabled/disabled.
I tried listing the PMDs with the account switcher
I tried to find a list via "View dashboard as this connected account", but that page seems to be unavailable.
This is all from a test-only account.

What are you working on?
Programatically adding a payment method domain (for Apple Pay) during account creation

#

@hazy zenith pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are trying to ACH debit pull 1 time and save that bank account for monthly subscription that will start later at an undefined, but shortly after time.

We are trying to find the best approach for this.
Currently doing paymentIntent with setup_future_usage
We have read about setupIntent, but are not sure of the benefits or if its better?
Or is there a better approach?

Related Request ID(s)
n/a

What have you already attempted?
We are still in the planning and early development phase.

cursive heronBOT
#

@errant venture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does enabling "Allow connected accounts to customize their own payment methods from the Dashboard" allow merchants to manage all payment method configurations independently, including enabling/disabling specific methods from their Stripe Dashboard?

Related Request ID(s)
https://dashboard.stripe.com/settings/payment_methods/connected_accounts

What have you already attempted?
If enabled, will the default, off-by-default, and blocked payment methods follow our predefined list, or do connected accounts need to configure them manually?

What are you working on?
We have currently uses the platform account so our client can connect with us we start to options that use the dynamic payment methods to enable this setting which provided.

#

@scenic obsidian pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What are the best practices for disconnecting from a created connected account? Should I call del API ?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
E Commerce platfrom with ability to connect with Stripe as Payment method

cursive heronBOT
#

@mental current pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const elementOptions = {
appearance: {
labels: 'floating',
rules: {
'.Label--resting': {
fontSize: 'clamp(0.75rem, 0.631rem + 0.38vw, 0.875rem)',
},
'.Label--floating': {
fontSize: 'clamp(0.75rem, 0.631rem + 0.38vw, 0.875rem)',
},
'.Input': {
fontSize: 'clamp(1rem, calc(0.375rem + 2vw), 1.125rem)',
}
}
},
mode: 'payment',
}

elements = stripe.elements(elementOptions)

Question
Is it possible to change the font size of the floating label in the Appearance API depending on the viewport or media query?

Input changes with this code, but I cannot move fontSize of '.Label-resting' does not.

What have you already attempted?
Read Document
Try codes

What are you working on?
building

#

@vocal wagon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
When `stripe_dashboard[type]=express`, your platform must collect fees and be liable for negative balances or refunds and chargebacks.

Question
When try to create a connected account getting above mentioned error. can you please help me figure out.

What have you already attempted?
Just create connected account via api.
This my request:
const stripeAcc = await stripe.accounts.create({
country: 'AE',
email: process.env.SHOP_HANGOUTI_EMAIL,
controller: {
fees: {
payer: 'account',
},
losses: {
payments: 'stripe',
},
stripe_dashboard: {
ty

#

@hazy zenith pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello Stripe team

New to the platform and still learning.

How do I see if a payment method is configured for on or off session? We made a test bank account payment method via paymentIntent and setup_future_usage, after this its not showing on the payment method itself only on the payment logs ("This payment successfully set up pm_1QsGgNIwU6Fsfor future on-session payments")

For creating a paymentIntent why is product id not required, but for subscriptions a product id is? We made a paymentIntent with just the $ amount and customer ID, for subscription it seems like product id is required

Related Request ID(s)
n/a

What have you already attempted?
Still in early development phase

cursive heronBOT
#

@true viper pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public Session createCheckoutSession(Long amount, String currency,String productName,Long id,String productDescription
,Long vatCost,String customerId,String country) {
switch (country) {
case ApplicationConstants.USA:
Stripe.apiKey = (sandBoxStatus) ? usaStripeSecretKeyTest : usaStripeSecretKey;
break;
// case "UAE":
// Stripe.apiKey = (sandBoxStatus) ? stripeSecretyKeyTest : stripeSecretyKey;
// break;
default:
Stripe.apiKey = (sandBoxStatus) ? strip

Question
i have try to pay with the help of test bank but i am getting error as payment failed and my session id is cs_test_b1LtUt656NVDmTaH8s0nian3c3HiBmkXNq9br7ugTVIJWeK4FgB5byY7yF

What have you already attempted?
NA

What are you working on?
Pay the amount in test mode with the help of test accounts

cursive heronBOT
#

@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
how test stripe app in OAuth connect

Question
my stripe plugin use a intermediate server for OAuth connect.
my stripe app is submitted to stripe and instal link is registered there.
currently i need to switch my app server from cloud to aws.
i need to test the app before its get live.
i cant use the install link already registered in it for testing because its in live.

What have you already attempted?
no

cursive heronBOT
#

@glossy totem pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I cannot close a dispute with the "general" reason via API

Related Request ID(s)
du_1QisCIF1mCyZ5oJezMemrXXw

What have you already attempted?
php laravel
$stripe->disputes->close($disputeId, []);
the response is {"status":"successful"}

cursive heronBOT
#

@pine osprey pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Some user invoices created during the renewal subscription process cannot change their status from draft to open due to "auto_advance" = false. However, all remaining users are not affected

Related Event ID(s)
evt_1QmlxyGOGj3Av1fnGi1Vh89V

What have you already attempted?
Because only a few users have the problem, I can't know where the error trace comes from

#

@errant venture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am experiencing an issue with adding a domain to enable payment methods such as Apple Pay, Google Pay, and Amazon Pay on my connected account. Below are the details of the situation:

Related Request ID(s)
https://dashboard.stripe.com/logs/req_MIxPmkEJG6Hg4K

What have you already attempted?
I used the following API call to add the domain:
curl https://api.stripe.com/v1/payment_method_domains
-u "skid"
-d domain_name="example.com"

- This API call returned a successful response with the domain embed.prod.simpletix.com listed as active, and payment methods (Apple Pay, Amazon Pay, Google Pay, etc.) set to active.

Despite receiving the correct response, the domain embed.prod.simpletix.com is not showing up in the connected account's payment method domain.

I have verified the domain and checked if it's registered correctly, ensuring that it meets Stripe’s domain requirements.

What are you working on?
I also made sure to verify that the connected account's configuration is correct, but the domain still doesn’t show up.

#

@worldly belfry pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
running `stripe apps upload` in a turborepo

Question
I have my stripe app setup in turborepo in a workspace under /apps

When running `stripe apps upload` from the app workspace I will see the error

× Failed to package files
failed to find any package manager lockfiles, run yarn/npm install with a version that produces lockfiles

How can we point the CLI at a package-lock.json not co-located with the app code.

What have you already attempted?
If I run from the root of the repo I will get

error reading stripe app manifest file. open stripe-app.json: no such file or directory

An alternative solution is to run CLI command in the project root but point it to the workspace to run the build

What are you working on?
Building a stripe UI plugin

cursive heronBOT
#

@dry flicker pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can we send the payment recieved by the stripe main account to the connected account.
When i use transfer api to send the payment account, after that i try refund payment using payment_intent recieved by stripe main account , i was refunded, but actually that payment was transfferd to connected account , i throw an error right ?

Related Request ID(s)
req_tLy5rsRjx3o4VI

What have you already attempted?
I send the payment to stripe main account using create checkout url api and store the payment intent id , and using the charge id i wil release the payment to connected account , After i tested like i try to refund the payment using refund api with params of payment intent id , i was refunded , but actually it was transfered to the connected account , so it will throw an error ,

What are you working on?
I was creating the market place where seller sell the product , buyer will buy the product , the admin will acts as middle man , who can verify this and release the payment to seller connected accoun

cursive heronBOT
#

@uncut vale pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are adding BACS direct debit options to a payment flow. We have enabled BACS direct debit as payment methods. It works fine in test mode, but in production, we are getting an invalid payment method when we try and use BACS.

Related Request ID(s)
req_mT2gNvzXcTW6LG

What have you already attempted?
We have enabled BACS payment methods everywhere we can find

What are you working on?
A membership system for a cycling governing body

#

@fierce mortar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are middle-men. Our customers have their own customers, and we handle the payments between the two. Those payments may have varying processing fees, which Stripe invoices us for later. How do I tell what those fees are at the time of the payment, so that I can pass on correct payments to our customers and hold back the fee amount to cover our next Stripe invoice?

Related Request ID(s)
pi_3QsL6jJk75hPCxYy1gjGZXug

What have you already attempted?
NA

What are you working on?
Payment processing.

#

@tulip condor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Via Stripe Connect API, our users can create Stripe products and prices directly from our UI. We have added the checkbox "Hide from customer portal" to easily allow users to hide a price from their portals.

Would it be possible to have on the price object a new attributes named "customer_portal" that can bue "true" or "false" depending if we want to show or hide that price from the customer portal?

This will allow us to easily hide specific prices from customer portal just looking at the price objects, instead of using the Customer Portal Configuration API.

Related Request ID(s)
/

What have you already attempted?
Calling Customer Portal Configuration API each time the user hide a price from customer portal, but it's too complex. We want to easily configure the customer portal hiding the prices that have the attribute "customer_portal" at "false".

What are you working on?
White-Label SaaS integrated with Stripe Connect API

#

@median lava pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm troubleshooting an issue with our client's OSS shop in Germany using Stripe's hosted checkout process. B2B customers with European VAT IDs are seeing default prices with 0% tax included, even though I expect the unit price to be reduced based on their country's tax rate. I'm testing this in a Sandbox environment with a "valid" test VAT ID (Austrian), which should reduce the unit price by 20%. However, I don't see any price adjustments, even when manually setting customers as exempt or eligible for reverse charge. Am I missing something?

Doc/Guide Links
https://docs.stripe.com/billing/taxes/tax-rates#tax-exempt-and-reverse-charge

What are you working on?
Online shop for virtual musical instruments

#

@radiant lynx pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Webhooks are not working means not getting hit on server via webhook although same API(provided in webhook on stripe) accepting requests while hitting it manually from any HTTP Client.
And in log getting timed out so unable to get actual cause behind the issue.

Related Request ID(s)
req_Ht4BRiOXG9julj

What have you already attempted?
We've checked our server thata's responsible to accept webhook trigger and it's working fine for a manual HTTP call but in case of webhook trigger by stripe not receiving any call or related logs on server and stripe showing TIme out error.

What are you working on?
We developed a subscription module by using stripe and it was working fine before 2-3 days

cursive heronBOT
#

@compact dragon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hello, I create a connected account (in test mode).

On dashboard, it says the payments and transfers will soon be suspended. Stripe is requesting additional requirement. Here, an ID card. I take the link present in the “request information” button: https://connect.stripe.com/express/acct_1QsLR0Q7WgdQ4Vpj/HLoaRLHsiEa9)

Problem: This link is leading my connected account to his dashboard and there's no information to tell him to send his ID. He is not landing on a Stripe-hosted form at all.

Similarly, in the results of my api call, I don't see any inform!ations...

Related Request ID(s)
req_N7Hf1YqFLalLhk

What have you already attempted?
I created a connected account (in test mode), I get an onboarding link, the connected account fills in all the requested information, its account has been created and charges enabled and payout enabled are actvated.

I cannot try to send an id, I don't have any form or url to do so.

What are you working on?
It's a plateform that allows dentist to pay repair center for their instrument's reparations

#

@long sonnet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We setup a card for future usage (single-use only) by using setup intent endpoint and not passing Customer id. When trying to charge this stored card by passing the relevant payment_method_id in Payment Intents API call, we are facing this error "The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first"

If we attach a Customer to a card while calling SetupIntent, the resulting pm_id ends up being a multi-use token.

How do we end up getting around this issue by creating a single-use only card token in Stripe?

Related Request ID(s)
req_Ts3RF3nxvZH5Zc

What have you already attempted?
Setup Intent API and Payment Intents API

What are you working on?
Trying to build a checkout where customers store their card for being charged later but only once

cursive heronBOT
#

@exotic grove pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/integration

Question
I would like to know how we can set up tax in the invoice, both in an inclusive or exclusive mode

What have you already attempted?
So far I've been reading the Docs in API integration available at https://docs.stripe.com/invoicing/integration

What are you working on?
I am trying to figure out how do I set the Tax Amount in the invoice, because for different locations I will be charging different amounts / currencies

cursive heronBOT
#

@tender crater pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
have to convert req.body to raw data after parse it by bodyParser.

Related Request ID(s)
N/A

What have you already attempted?
I attempted to using bodyParser.raw and Buffer.from method, but it won't work.

#

@copper geode pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Paypal to be added to my checkout as possible payment method

What actually happened?
Paypal does not appear (yet?)

Reproduction Steps
- settings > payments > payments methods > (both in default + billing payments) > get paypal as "active"
- when creating the checkout session, I do not use the payment method field to restrict.

Question
Not sure if I'm missing a step or just need to wait. I opened a new paypal business account today.
I do notice that in `Settings > Billing > customer portal > payment methods` I only have "Credit or debit card" listed. And can't find how to add paypal even tho it's turned on.

cursive heronBOT
#

@loud zinc pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
please chack apple pay is available for the site
https://crepchiefnotify.com/
account id : acct_1FoYdmBrd4LJwsTj

What actually happened?
google pay button is displaying apple pay not dispaling.

Reproduction Steps
you can purchase a product, on checkout page apple pay displaying

Question
apple pay displaying? please provide a update

cursive heronBOT
cursive heronBOT
#

@halcyon lotus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why can I see the PIX payment method when creating a checkout session, but when using Stripe Elements I don't see it?

Related Request ID(s)
0

What have you already attempted?
I've already tried a lot of things to understand why PIX payment is not displayed and the last thing I came up with was to try creating a Checkout instead of Stripe Elements and redirecting the user to the Stripe Checkout page. And I saw that on the Stripe Checkout page I can see and use the PIX payment method, but for some reason it doesn't show up in Stripe Elements.

What are you working on?
I'm working on a donation form where the user enters and sees a `donation amount` field where he chooses the amount he wants to donate and a stripe form where he can choose the payment method that is

cursive heronBOT
#

@stark holly pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Onboarding a South Africa client using stripe connect

Question
We do not see South Africa as an option in the countries dropdown.

What have you already attempted?
I tried to change the account type from standard to express as they suggested. However, i still don’t see South Africa as an option in the countries dropdown, during the onboarding process. Maybe it’s tied to the fact that our stripe account is US based, thus there’s a country list limitation?

cursive heronBOT
#

@craggy junco pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The Stripe dashboard(Test mode environment) shows the webhook was not processed in our service. However, I checked the failed event in Stripe and saw that it was processed correctly in our service. What might go wrong?

Related Event ID(s)
evt_3QsMnjLInokrDjWM0tr0x376

What have you already attempted?
I re-send the webhook manually in the Stripe dashboard. However, it still shows the event was not processed correctly.

#

@craggy vigil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to create a subscription schedule through dashboard and define a phase as a trial? This appears possible via API but want to advise on non-technical peers the same.

Related Request ID(s)
Look in dashboard

What have you already attempted?
https://docs.stripe.com/api/subscription_schedules/create#create_subscription_schedule-phases-trial

What are you working on?
Custom Subscription-based stripe integration

cursive heronBOT
#

@chrome forge pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I’m integrating Stripe to my iOS app. My app will accept GrabPay and card payments. My goal is that when user checks out with card, I want to save the card. When creating a payment intent, I’m having an issue where I can’t use setup_future_use if GrabPay is allowed in my payment intent. What would be best practice here?

  1. Should I save the card first before creating a payment intent? If yes, is there any best practice to achieve this
  2. Do I create a UI where user chooses between GrabPay and card. Once chosen, I should update the payment intent allowed payment methods?

The reason to save card is to ultimately avoid users needing to add a card each time they checkout.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=ios&ui=payment-sheet

What are you working on?
Building a designated driver app. The member app has a checkout screen.

#

@misty marten pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const user = getLoggedInUser(request.cookies);
const session = await stripe.checkout.sessions.create({
mode: "subscription",
line_items: [
// ...
],
currency: "eur",
success_url: "...",
cancel_url: "...",
customer: user.stripeCustomerId,
});
return Response.redirect(session.url)

Question
I'm using the stripe customer id from the logged in user to create a checkout session. However, this allows an attacker to send the returned redirect url to another user. This user might then fill in their details, even though it is the attacker that will receive the subscription entitlements and even allows them to view filled in details from the other user through any customer portal links. Is there any way I can protect against such an attack?

What have you already attempted?
I considered using metadata to verify whether the user that submitted the details is also the user that requested the session. But I worry that this might result in completed checkout sessions that then won't be attached to one of our users due to cookies being cleared etc.

What are you working on?
A subscription service for https://pelicanparty.games/

#

@umbral musk pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
"With the PaymentIntent API, after receiving money on a Virtual IBAN, is it possible to automatically transfer the funds to our account, or does it have to be done via API calls?"

Related Request ID(s)
N/A

What have you already attempted?
I took a look on the documention and we did not find anything about that.

What are you working on?
Migration from Source / Charge API to PaymentIntent API

cursive heronBOT
#

@flat leaf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am trying out Stripe Checkout and despite providing the customer when creating the session, his stored payment methods are not suggested at checkout

Related Request ID(s)
req_ySx5sNh3QckWhB

What have you already attempted?
I event tried adding this but with no success:
'saved_payment_method_options' => [
'allow_redisplay_filters' => ['always', 'limited', 'unspecified'],
],
the stored payment methods are visible on the customer page on the admin dashboard and the client can also see them on his customer portal but not at checkout
thank you for your help

What are you working on?
Stripe Checkout

#

@frigid quartz pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
is it possible to pay an incomplete invoice with customer invoice balance that is adjusted after the invoice payment failed for a subscription?

Related Request ID(s)
req_nEXllF4yRkCWid

What have you already attempted?
I have tried to simulate a failed invoice and then add credit balance to failed invoice amount and then pay the invoice.

What are you working on?
hosting platform for deploying ai agents and sites

#

@terse shale pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Somebody added a new payment method and I expected an uncollectible invoice to be paid through that new payment method

What actually happened?
It still is marked as uncollectible and the payment has yet to be made

Reproduction Steps
I am not sure how to reproduce this.

Question
Will uncollectible invoices automatically try to charge new payment methods of a customer? How can i make it pay the invoice?

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

@autumn solar pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Using Stripe Connect through Oauth to connect to existing accounts and be able to manage products etc for them. I'd expect that once an account is connected I have access to the products and their prices.

What actually happened?
What ends up happening in some cases is that products are accessible through the main account as well as the connected one but the prices are unavailable to the main account (I just get an error that says the price isn't available)

Reproduction Steps
To reproduce: connect an account with Oauth using Stripe Connect and then visit the products and their associated prices with the main account. An example price you can check for this is: price_1O5s6yBlAp1NB238B7kRCuY6 I have access to the product from the main account but I can't access the price (from the API either using credentials from the main account)

Question
I'm not sure if I'm doing something wrong or what I need to pass through to make sure that connect gives access to all of the products.

#

@lament kettle pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
You did not provide an API key. You need to provide your API key in the Authorization header...

Question
We’re seeing an error on the second payment attempt in simulated mode with the Stripe Terminal Android SDK. The confirmPaymentIntent call returns “no API key provided,” even though the first collect/confirm flow succeeds. Why is the SDK losing its auth context on subsequent transactions, and how can we resolve this?

What have you already attempted?
After connecting the TTP reader in simulated mode, the first collect/confirm flow succeeds. The second flow fails with a “no API key” error. We tried reconnecting the reader, regenerating ephemeral keys, and checking our server-side setup. The issue persists on the second confirm call, suggesting a lost auth token.

Reproduction Steps

  1. Initialize Stripe Terminal in simulated mode.
    2.. Connect the TTP reader using the code snippet (autoReconnect=true).
  2. Create a PaymentIntent, then call collectPaymentMethod → confirmPaymentIntent (works first time).
  3. Repeat step 3 without disconnecting the reader (fails with “no API key” error).

What are you working on?
Terminal Tap-to-Pay

cursive heronBOT
#

@mortal marlin pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
缺少 CAPTCHA 响应,请重试。如果您继续遇到错误,请访问此支持文章进行故障排除。

Question
无法登录网站,提示缺少CAPTCHA,登录网页不弹验证图案。

What have you already attempted?
已经按照https://support.stripe.com/questions/troubleshooting-login-captcha-issues?locale=zh-CN 这里的解决方案尝试了换浏览器,换其他电脑设备,包括手机也登不不了,提示同样的错误。

#

@sleek dawn pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
apiVersion: "2025-01-27.acacia" as never,
typescript: true,
});

Question
Works in local not in prod. env variables are correct on hosting platform

What have you already attempted?
Different Stripe versions, different code, etc...

What are you working on?
Nextjs app with stripe

#

@tulip cipher pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Production invoice in_1QnUA8ITZzlUK3bS5C1e25i7

Item si_RW2seW4sG831d5 is reporting total usage of 11506954066988

But our logs show that we sent 11530201047855

We found that the following usage record is not included in the Jan. invoice:
{"id": "mbur_1QnUAAITZzlUK3bSpF4nT6NT", "object": "usage_record", "livemode": true, "quantity": 23246980867, "timestamp": 1738368000, "subscription_item": "si_RW2seW4sG831d5"}

This was sent during the 5 minute drift window on Feb. 1st.

Related Request ID(s)
None

What have you already attempted?
See above.

#

@smoky leaf pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to ensure in my application that refunds are only ever issued once for a given payment intent (PI). I track the PI statuses in my database to avoid issuing duplicate create refund requests, but under some race conditions they might occur. I intend to include an idempotency key to handle those cases.

My question is, would it be bad practice to use something like `create-refund-${paymentId}` as an idempotency key? The idea is that the key would be unique to that endpoint and PI, but without any of the extra work that would go into storing and retrieving a separate value. It feels like a hack given the recommendation in the docs to use a random value like a UUID.

Doc/Guide Links
https://docs.stripe.com/api/idempotent_requests
https://stripe.com/blog/idempotency

What are you working on?
Web application with payment processing

cursive heronBOT
#

@trim yacht pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe transaction fee would be visible on connected account's transaction, both dashboard and API but especially API

What actually happened?
The fee is visible for most of our connected accounts, but on one account we cannot see the Stripe fee on the majority of their transactions.

Reproduction Steps
For example, this transaction: pi_3QsRr02H3QNsqCMy05FmsciV

Question
Is there a way we can get the Stripe fee for this transaction? Is there a privacy setting or something the connected account can switch off?

What are you working on?
We're working on an accounting sort of integration where it would be useful to have the Stripe fee for the connected accoun

cursive heronBOT
#

@dull radish pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a webhook for connect with account.updated events. It works in sandbox mode, but in prod, this event is never triggered even on Stripe's end. If I go to the webhook in stripe and view the events, there are none even after a user completes connect onboarding and I can see their connect account in the stripe dashboard with a complete status, the webhook never fired. I added a connect account id of a user that completed onboarding and yet the account.updated connect webhook never fired.

Related Event ID(s)
acct_1QsPIHCF2R3ls8Lr

What have you already attempted?
I tried sandbox mode, which worked (the webhook triggers the account.updated event upon a user onboarding)

What are you working on?
a backend that listens for "'account.updated' through the webhook

#

@compact rose pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm attempting to use dynamic payment methods when creating a subscription, but my users are getting the following error:

The PaymentMethod provided (link) is not allowed for this SetupIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively update the allowed payment_method_types for this SetupIntent to include "link".

Related Request ID(s)
req_AwhUEe2jllk5si in acct_1JAiz6IEN4lWhEmZ (test mode)

What have you already attempted?
The issue is that I'm creating a subscription with a free trial using the API. Stripe's internal system then creates a setup intent for the subscription. But the setup intent that gets created has the following field

"payment_method_types": [ "card" ]

There's no way for me to change the parameters of the setup intent that gets created downstream of the subscription.

How can I stop my users from seeing this error?

#

@robust ermine pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
error: invalid path 'ml-core:base/dependencies/dependencies.txt'

Question
I encountered the issue of the error message when trying to clone the Stripe Android repository on Windows using git clone command and the Download ZIP option.
The stripe-android folder created by the cloning only came with .git and .ideia.
The root cause appeared to be related to file path restrictions on Windows.

What have you already attempted?
Attempted cloning on Windows normally. After that I tried cloning with the --depth 1 option to bypass the issue, but it only fetched the .git folder, not the full project. I also tried downloading the repository as a ZIP file, but the ZIP extraction failed due to file corruption. I was able to successfully clone the repository on a MacBook.

Reproduction Steps
On Windows, clone the repository of https://github.com/stripe/stripe-android.git (https://github.com/stripe/stripe-android.git)

cursive heronBOT
#

@karmic dagger pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why do stripe.js requests still use old Stripe API version, but SDK requests use the specified API version?

Related Event ID(s)
req_MgFLlwzJoGZWLT -> API Version 2022-08-01, req_h6ttInOe5fU93m -> API Version 2020-03-02, req_bznD0gnoCFLTlS -> API Version 2020-03-02

What have you already attempted?
I have incrementally upgraded our Stripe API version using SDK and Webhook versioning, which has all ruby SDK requests coming through in the new API version of 2022-08-01, but other requests are still using the account API version. Is it possible to change the account API version to 2022-08-01?

What are you working on?
We are working on incrementally upgrading our Stripe API version/integration to get to the latest version.

cursive heronBOT
#

@cosmic sluice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Account number and sort-code test

Related Request ID(s)
Checkout

What have you already attempted?
I am testing the checkout with Bacs debit, which bank account and sort code can I enter to test the checkout?

cursive heronBOT
#

@lyric zephyr pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
............................

Question
Hello,

I have a question regarding the requirements for the page where clients register for Stripe Connect. I have created a script that allows users to withdraw funds from their account using Stripe Connect, acting as an intermediary (escrow) – I hold the funds on my account and enable withdrawal upon request.

What have you already attempted?
My question is: does the registration page where users sign up for Stripe Connect need to look exactly as specified by Stripe (e.g., including fields like “Provide your website” or “How do you make money?”), or is it possible to customize the design and remove these fields?
I would also like to ask how best to customize the appearance of this page (e.g., field names, descriptions) and what exactly needs to be included to comply with Stripe's requirements while also fitting

What are you working on?
my needs.

cursive heronBOT
#

@vital cave pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you explain about API socket

Related Request ID(s)
I need Your ID because my ID is missed

What have you already attempted?
Development

What are you working on?
Attention of AI technology combined Block Chain

cursive heronBOT
#

@digital orchid pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I suspect someone is intercepting my payments

Related Request ID(s)
Can you please help?

What have you already attempted?
My payments on the websites and stripe are different. Every second payment is missing

What are you working on?
Please help

#

@tame raptor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to get billing email addresses via the API, but it looks like that's a dashboard-only feature (at least as of 2022 on SO). So I'd like to make (or +1!) a feature request that you add that field to the API.

Related Request ID(s)
None

What have you already attempted?
Stripe API docs, various StackOverflow threads (e.g., https://stackoverflow.com/questions/73888432/how-can-i-include-a-invoice-email-address-when-creating-a-stripe-customer)

What are you working on?
A Stripe extension for helping users follow up on overdue invoices.

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@main root pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
?prefilled_promo_code= URL parameter to load the coupon immediately and show the discounted price to the end user

What actually happened?
The prefilled promo code can take 30 seconds+ to load, which is likely to cause problems with conversion rates

Reproduction Steps
Go to https://www.nichecampus.com
Click 'Pricing' or scroll down to Pricing tables
Click to buy a plan which links to Stripe checkout pages
Observe that the plan's coupon takes a long time to apply, making the price seem higher and un-discounted during it

Question
Why is Stripe being slow to apply this coupon? Is it an issue with Stripe or something with my URL structure or what?

What are you working on?
Checkouts for my custom product solution

cursive heronBOT
#

@sullen willow pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to retrieve the email from the checkout session.

Related Event ID(s)
evt_1QtMz1EcN4toC7LNKqtTujOz

What have you already attempted?
I was trying to get the customer email from the event.data.object but not sure why the checkout.session.completed event was not triggered.

What are you working on?
I am working on a SAAS Subscription project which is just for using stripe for the payments and webhooks.

cursive heronBOT
#

@lime sierra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, if we have a subscription product with a monthly and a yearly price, can we create a checkout session with the yearly price as the line item, but somehow also give the option to the users to switch to monthly within the checkout?

I know the opposite is possible through upsells, but I couldn't find a way from annual to monthly.

Related Request ID(s)
No requests yet

What have you already attempted?
Tried putting both as the line items, but an error is raised saying that I cannot have both monthly and yearly in the same checkout session.

cursive heronBOT
#

@undone aurora pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My project requires adding surcharge to payment intent. However, when checking the response of stripe.paymentIntents.create(), there is no payment_method_options.card.surcharge.status as in the docs

What can I do to make the response return with surcharge Object?
Or is there a setting I need to enable to enable surcharge?

Related Request ID(s)
Not relate any request ID

What have you already attempted?
I tried to apply surcharge but as docs instruction, no payment_method_options.card.surcharge.status so I can't add surcharge amount

What are you working on?
I'm building order flow with Stripe Payment

#

@dark fox pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I disabled the Link from the stripe dashboard but it still appears in the card tab inside payment element

Related Request ID(s)
no id

What have you already attempted?
Tried disabling that from dashborad

What are you working on?
Maintaining a stripe integration plugin for woocommerce

cursive heronBOT
#

@nimble vessel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how do I clear and update the AddressElement on mount? I'm trying to copy shipping information into shipping information and can't programatically update the UI component.

Related Request ID(s)
n/a

What have you already attempted?
Can't identify which property will prefill the AddressElement. I got the stripe session to update the values using checkout.updateShippingAddress.

What are you working on?
outpaint.io

#

@dire ivy pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
I found a minor bug on the stripe landing page where I can't click on the sign in button.

Question
I just want to report this in case you might transfer it :)

What have you already attempted?
Nothing. Look at the picture. The "Anmelden" Button is "cut-off" and after one second it disappears completely so I can't find the login button in the header anymore as usual.

Reproduction Steps
German visitors open stripe.com/de and try to sign in through the header.

What are you working on?
-/-

#

@grand skiff pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can we use phone number as a primary key for user signup on our platform and would stripe integration accept phone number parameter as primary key to associate transactions and default payment method data with the user account?
Or must we use email only for this purpose?

Doc/Guide Links
https://docs.stripe.com/connect/design-an-integration?connect-onboarding-surface=hosted&connect-dashboard-type=express&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-charge-type=separate

What are you working on?
Our app connects audiences with DJs for real time song requests. The app integrates with Stripe for secure, fast, and hassle-free payments, supporting credit/debit cards and online wallets.

cursive heronBOT
#

@drifting tiger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to avoid having a $0 automatically transition to paid? I'm trying to update the number of the invoice but for those with $0 it fails as it's automatically marked as paid. Or a way to avoid creating $0 at all.

Related Request ID(s)
req_Hio1B6acFINvON

What have you already attempted?
Couldn't find anything related to this.

We are a Romanian company. For RO clients, we need sequential numbers on invoices. To do this, I'm leaving Stripe to handle sequential for RO clients, and for all others, on the invoice.created hook, I'm setting a random number on the invoice.

#

@lilac smelt pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
While refunding if we do {
"amount": "10000",
"payment_intent": "pi_3QtNjiHvbngkCFkt1cjYKgwG",
"reverse_transfer": "True"
} this, we do expect 10000 cents should be reversed from connected account to platform account.

What actually happened?
The amount 9806 cents only reversed.

Reproduction Steps
Refund a payment with certain amount with the flag reverse_transfer: true, the certain amount is not getting reveresed fully.

Question
How can we make sure it transfer reverse the mentioned amount ??

#

@late yoke pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Payment methods api has a less than documented `validate` parameter to skip validation when attaching a payment method to a customer. Is there a similar parameter for Setup Intents?

Related Request ID(s)
req_CgAQ4XzskNldNp, req_m6y87P7SuDLG5N, req_zAru1QUq8CX4sN

What have you already attempted?
I tried using the `validate` parameter the same as for payment methods, but the api says no

What are you working on?
We frequently handle virtual cards which may not work at the time they're added, but will work some days/weeks later when they're charged

cursive heronBOT
#

@limpid turret pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the OAuth flow to onboard standard Connect accounts to my platform. By default, `sepa_debit_payments` capability is automatically requested to be enabled during onboarding (I think?). It's worth noting that during standard accounts onboarding, I don't explicitly request specific payment methods to be enabled, rather I believe they reflect the payment methods enabled on my platform. Nevertheless, for some accounts `sepa_debit_payments` capability is not requested, why?

Related Request ID(s)
req_bkcVdcKU6euyTq

What have you already attempted?
Nothing really, it's just that this case is somehow an anomaly

What are you working on?
Connect Standard Account Integration

cursive heronBOT
#

@nimble vessel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how do I clear and update the AddressElement on mount? I'm trying to copy shipping information into shipping information and can't programatically update the UI component.

Related Request ID(s)
n/a

What have you already attempted?
```
<AddressElement
onChange={handleBillingChange}
options={{
mode: 'billing',
display: {
name: 'split',
},
}}
/>
```

tried putting a defaultValues but it runs into a runtime error. I'm using the react component vs the raw api.

```
IntegrationError: Invalid createElement() parameter: options.defaultValues is not an accepted parameter.
```

What are you working on?
outpaint.io

cursive heronBOT
#

@crystal dome pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
SubscriptionCreateParams.builder()
.setCustomer(customerId)
.setPaymentBehavior(PaymentBehavior.DEFAULT_INCOMPLETE)
.setPaymentSettings(
PaymentSettings.builder()
.setSaveDefaultPaymentMethod(SaveDefaultPaymentMethod.ON_SUBSCRIPTION)
.build())
.addItem(Item.builder().setPrice(prices.getData().get(0).getId()).build())
.addExpand("latest_invoice.payment_intent")
.setTrialPeriodDays(7L)
.build();

Question
i create a 7 days free tial sku subscription, then i use subscription.getLatestInvoiceObject().getPaymentIntentObject().getClientSecret() to get client secret, it return null.

What have you already attempted?
i want to get client secret

cursive heronBOT
#

@loud vigil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I used stripe sdk in java and spring boot for backend.
I create embedding checkout with this server and create customer in this process if customer does not exist. I put my userId (PK) in metadata of customer.
In some cases for mutli instance of java server , this create duplicate customer?
how can prevent this inconsistency for create customer?

Related Request ID(s)
I used stripe sdk in java and spring boot for backend. I create embedding checkout with this server and create customer in this process if customer does not exist. I put my userId (PK) in metadata of

What have you already attempted?
please suggest me best practice for resolve this issue?

cursive heronBOT
#

@stoic forge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
intent = stripe.PaymentIntent.create(
amount=int(amount * 100) + 50, # Stripe expects the amount in cents
currency="eur",
customer=stripe_customer_id,
payment_method=payment_method_id, # Use the saved payment method ID
off_session=True, # This allows charging without customer interaction
confirm=True,
)

Question
I have a code, which charges the customers on my platform every month. The thing is that i have to send the collected money to the providers on my platform, also send a receipt to the customers and so on. I tried to implement it via the attributes for receipt email of customer and fee for transaction, but it didnt work like i wanted. How do I implement that?

What have you already attempted?
...

What are you working on?
Platform providers and customers, where customers can book products, etc. from providers.

#

@unkempt haven pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
So i have multiple clients, and they want invoice payment feature in their app without handling any stripe code. I have a backend application dealing with stripe, so if I Host UI with Stripe Elements Payment Page, can my clients embed that UI in their app for making invoice payments?

Doc/Guide Links
https://docs.stripe.com/checkout/embedded/quickstart

What are you working on?
invoice payment

cursive heronBOT
#

@tardy dew pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We'd like to emulate the timeline feature from the Payment tab in the dashboard. We're not sure what parts of the API it's made up of however and our assumption is that it may be several different events.

Related Request ID(s)
N/A

What have you already attempted?
https://docs.stripe.com/api/balance_transactions/list

What are you working on?
We are building a view payments history in a portal for our team for those that cannot access Stripe Dashboard. The Timeline in the Dashboard for a Payment is the most useful part of this.

#

@empty sparrow pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, hope you are doing well.

I have a question about the Refunds, specifically, the payload of the `charge.refunded` event.

Currently we have two different stripe account for different regions. And on the second account we have a payload of this event which differs from the first one.

On the first one the refunds collection is loaded with the event payload initially, even if the refund is Full. On the second one - refunds collection is not included initially, but can be retrieved via API.

Is it an expected behaviour? Or may be there is some setting which turns this property expansion?

Related Event ID(s)
evt_3QrxrdJwofC1XQj713Y7i9xp (first Stripe account), evt_3QrIhVKcz3PWOiPO1Svxk7zw (second account)

What have you already attempted?
Checked the API and Refunds documentation
https://docs.stripe.com/refunds
https://docs.stripe.com/api/charges/retrieve
https://docs.stripe.com/api/charges/object#charge_object-refunds

What are you working on?
Trying to process the refunds event and synschonise our back-end business logic with it.

cursive heronBOT
#

@obtuse vale pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way we can use the Stripe API to allow merchants to complete a re-run of a paid payment intent?

Related Request ID(s)
n/a

What have you already attempted?
Checked multi-capture documentation, seems it can complete smaller amounts

#

@loud zinc pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The permissions are set during the
onboarding process. Since
WebToffee mentioned they are
using OAuth (an onboarding type),
it means they have to specify it on
the onboarding link.
If going through the process they
have shared did not update the
permissions, kindly ask them to
manually create an onboarding link
for you with the read-write
scope/access.

Question
this is the response for our clint from stripe.
what we need to do?

What have you already attempted?
Kindly inform WebToffee as well
that it will help if they can contact
us about this issue, so we can
check on their onboarding process
further.
That way, we can recommend them
what needs to be done and how to
create the onboarding link with the
read-write scope.
You can share these case ID's for
reference to our conversations:
20135005 and 20079672

#

@turbid charm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to update a subscription in the futur and change product

Related Request ID(s)
sub_sched_1QtU7fDeg55eSBYjTB4V0HIV

What have you already attempted?
I tried to create subscriptionschedule link to sub_1QtU6yDeg55eSBYj1tJCv5uP with params FromSubscription but after i'm stuck to apply the product change

#

@quiet ridge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Should we be using the https://api.stripe.com/v1/elements/sessions? root in our front end app?

Related Request ID(s)
look at any of our front end generated card payments

What have you already attempted?
I am not a front end dev but I manage a product where the js front end uses https://api.stripe.com/v1/elements/sessions and if the calls are inspected in the browser the payload key field has the pk in plain text

What are you working on?
Improving payment service security

#

@boreal moss pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Checkout Session Complete webhook working well on test mode but stopped when changed to production and deployed with live keys to Vercel. Now getting

Related Event ID(s)
evt_1QtTvhLOgtMDtnWQBhfbOgHy

What have you already attempted?
Changed all my env keys and webhook signing secret to live mode and updated on Vercel, also tested deploying on Render and got 508 error. Stripe is sending webook events to my server but it's not listenning to them, altough everything was running well on test mode.

What are you working on?
Ticketing platform

#

@winged storm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to setup - I want a base subscription type of $20 usd this gets a user 1000 logs. After 1000 logs they will be charged .02 a log.

Related Request ID(s)
I’m not sure

What have you already attempted?
I have a product with 20 subscription monthly reoccurring. I have a log-usage meter. But I’m not sure how to get the meter to only start charging once there get to 1000

What are you working on?
Initial payment setup for gofrosty.ai

#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

We'll be back at 0900 SGT (0100 GMT) tomorrow!

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@autumn mauve pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What's the recommended way to combine the express pay and payment elements when using deferred payment intent creation and two step confirmation?

Doc/Guide Links
https://docs.stripe.com/payments/build-a-two-step-confirmation
https://4242.io/test/elements-recommended/
https://docs.stripe.com/payments/accept-a-payment-deferred

What are you working on?
I'm working on building a purchase page that combines the express checkout, payment, and address elements, and that uses two step confirmation.

cursive heronBOT
#

@magic kelp pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide

Question
Metered billing: current usage

What have you already attempted?
Given the following doc page, how can I get the customer’s current usage/max quota? I see that future invoices track that information but is there a way to get it for the current period?

cursive heronBOT
#

@tired nimbus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm designing a flow to register a card (3DS authenticated as it is in EU zone) for a subscription but make the first payment apply after a month. I can't find a test card that will approve after the initial setup intent though, am I using the correct flow or is there another test card to use?

Related Request ID(s)
seti_1QspSmBcQAyRw7rxp8l5twby / sub_1QspUSBcQAyRw7rxdK6zRkGg / cus_RmOE5wzrqiQ1Cl / pm_1QspS5BcQAyRw7rxjIncTb6r /

What have you already attempted?
1) Customer Creation
2) Payment Method Creation (e.g. card ending 3184)
3) Attach PM and Cus
4) Set the PM as default for the Cus
5) Create a SetupIntent (this is with 3DS challenge because the card used is a 3ds test card and the challenge was success)
6) Find or Create the Price
7) Create the Subscription with all above

What are you working on?
Recurring donations for charitable organisations

cursive heronBOT
#

@jaunty compass pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Implementing CashApp as payment method using this guide
https://docs.stripe.com/payments/cash-app-pay/accept-a-payment

When I try to use that saved payment method for a second transaction I get the error “mandate_data is not allowed because this payment intent already has a reusable Cash App Pay payment method attached to it.”

I see that “mandate_data” is automatically added since we use the PaymentElement.

Can we amend params in this POST request so we don't include the “mandate_data” for CashApp purchases? Should we process the charge differently instead of using `confirmPayment` again?

Related Request ID(s)
--

What have you already attempted?
I see this issue that is very similar to ours. That solution doesn't work though. Our checkout flow is set up to confirm payment with Stripe on the client side before then submitting the completed transaction to our server.
https://github.com/stripe/stripe-js/issues/539

We already take CCs and Google/ApplePay wallets successfully with the `confirmPayment` method.

What are you working on?
Adding CashApp as an additional payment method in our checkout flow via the PaymentElement. US-only transactions

cursive heronBOT
#

@golden igloo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have opened the Payment sheet with ephermal secret of the customer. But the paymentSheet is not showing up the saved payment methods of the customer .while that same thing works with CustomerSheet (to Manage Payment methods).

Related Request ID(s)
ephermal key ID = "ephkey_1QtjI5GHic5sXtZaNmAPBFRF"

What have you already attempted?
Made the payment methods of Customer to have allow-redisplay as always.
Double checked the Ephermal secret it works with CustomerSheet.
And also made sure the Customer ID is correct

What are you working on?
I am building a recurring subscription for AudioBook App.

cursive heronBOT
#

@grave heart pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const options = {
appearance,
layout: {
type: 'accordion',
defaultCollapsed: false,
radios: true,
spacedAccordionItems: false
},
terms: { card: 'never' },
paymentMethodOrder: PAYMENT_METHODS_ORDER,
clientSecret: clientSecret
}

<PaymentElement
options={options}
onChange={handlePaymentElementChange}
/>

Question
Hi, Is there any way to hide "Secure 1-click checkout with Link" collapsible that appears on the Payment element card option?

What have you already attempted?
passed variable 'linkMode: false' in options

cursive heronBOT
#

@scarlet wyvern pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we are building a multivendor marketplace using the wcfm woocommerce plugin for wordpress. We are now at the final stages of the development and are integrating stripe to pay out vendors. Unfortunately we can only receive payment, but then are unable to pay out vendors, 7 days have gone by, everything is enabled & verified. Neither through the live mode or test mode are we able to payout vendors, on the test mode the money is sent from the admin dashboard (marketplace admin account) but then never appears in the sellers statement, it just disappears. We really need help with this issue

Related Request ID(s)
req_gwCvke94JO1c9e

What have you already attempted?
We have attempted to talk with support numerous times, Verified everything once again, send in documents, waited 7 days - connected accounts again, so on and so forth but nothing seems to help.

We really need some help with this matter as it is completely crucial to our platform - please take a look at it and help us, We have been stuck with this for 2 weeks now.

What are you working on?
We are working on developing www.undermarket.eu

cursive heronBOT
#

@surreal vigil pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$result = \Stripe\Customer::create([
[
'email' => email,
'source' => token,
]
$result->sources->data[0]->id is passed on a 'source' for \Stripe\PaymentIntent::create()

Question
is is safe to pass this source as 'payment_method' to the paymentIntent ?
The sources are only cards

What have you already attempted?
At this point I tried by just changing the 'source' key to 'payment_method'
All seems to work ok, saved sources work correctly, but I am wondering if I need to be aware of something else

What are you working on?
I have an old implementation of paymentIntent with source, and I need to keep the old code, and use the payment_method in parallel

cursive heronBOT
#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i have facing one issue in the account link, When i copy and paste the account link in a different system browser it automatically expires. may i know the reason?

Related Request ID(s)
const stripe = require('stripe')('sk_test_•••aZ4d'); const accountLink = await stripe.accountLinks.create({

What have you already attempted?
const stripe = require('stripe')('sk_test_•••aZ4d');

const accountLink = await stripe.accountLinks.create({
account: 'acct_1Mt0CORHFI4mz9Rw',
refresh_url: 'https://example.com/reauth',
return_url: 'https://example.com/return',
type: 'account_onboarding',
});

This is my request.

cursive heronBOT
#

@ionic patrol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm facing issue for creating customer using the mobile number on back end laravel stripe library.

Related Request ID(s)
https://discord.com/channels/841573134531821608/841573134531821616

What have you already attempted?
I have use default library for the create customer if user don't have email then thay able to create customer using mobile number but that not work also i run coomand with CLI than its work with mobile number but not work on the laravel library

#

@loud zinc pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The permissions are set during the
onboarding process. Since
WebToffee mentioned they are
using OAuth (an onboarding type),
it means they have to specify it on
the onboarding link.
If going through the process they
have shared did not update the
permissions, kindly ask them to
manually create an onboarding link
for you with the read-write
scope/access.

Question
i dont see where the permission get set

What have you already attempted?
i add scope in my install link.
but where did i see the permission in dashboard?

#

@modest trout pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can we in any way implement tap to pay on android and ios devices using a web app/javascript sdk? We want to avoid building an android/ios app for this use case

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
tap to pay web app integration

cursive heronBOT
#

@ashen kindle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when I use the payment_intent.succeeded webhook, the function in this webhook runs only on certain transactions where transactions are obtained from website A only. or if there is a transaction from website B then the logic that runs is logic B. what is the best practice for doing this

Doc/Guide Links
https://docs.stripe.com/webhooks

What are you working on?
building and maintaining

#

@sour idol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want cancel the proration amount that credited to user

Related Request ID(s)
i want cancel the proration amount that credited to user

What have you already attempted?
i want cancel the proration amount that credited to user

What are you working on?
i want cancel the proration amount that credited to user

#

@wise shuttle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are testing a payment feature. When the invoice fails we want the amount to be deducted from the customers Cash Balance.
We have setup this for
this customer: cus_Rn8EAFyfANSzhU and t
his invoice: in_1Qtm3ZB8Sk5ZJAZiDm9Cn6Ez
on the testing mode but the Cash amount is not deducted automatically for the past due invoice.
But the cash flow is not deducted automatically even if the invoice is still in Open status, is there something we are missing?

Related Request ID(s)
https://docs.stripe.com/payments/customer-balance/funding-instructions?dashboard-or-api=funding-instructions-api#create-funding-instructions

What have you already attempted?
We have added this to the customer:
https://docs.stripe.com/payments/customer-balance/funding-instructions?dashboard-or-api=funding-instructions-api#create-funding-instructions

What are you working on?
Customer Payments (retries) when customers default payment method (SEPA) fails

cursive heronBOT
#

@minor island pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.PaymentIntent.modify(
payment_intent.stripe_id,
amount=convert_amount_for_api(amount),
api_key=stripe_platform.private_key,
)

Question
I have a working next.js Stripe elements integration. We need to update the total amount when a discount voucher is used and we're successfully doing so using PaymentIntent.modify. However the problem arises with the google/apple pay checkout windows on the frontend don't reflect the updated amount. The Paypal checkout window does reflect it so this seems like some sort of bug.

What have you already attempted?
I tried firing elements.fetchUpdates() on the frontend after the successful voucher update API call but it didn't seem to work. I would ideally want to avoid having to refresh the window for this to work.

What are you working on?
Stripe elements payment page for booking website

#

@placid spindle pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Terminal error

Question
I am using odoo self service kiosk for my client and i am trying to connect my stripe reader

What have you already attempted?
I am clueless

What are you working on?
Odoo based self service kiosk

cursive heronBOT
#

@surreal frost pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
The promotion code default currency (usd) does not match the line item currency (eur).

Question
I have a promo code `promo_1QrhwUCrLGqcCDLGFKQc0ew1` with 3 currencies: usd, eur and gbp. I also have a price with 3 same currencies `price_1QUstjCrLGqcCDLGpuepygTW`.
When a customer attempts to create a checkout session with this promo code prefilled and this product, the error above happens. It also happens only for several customers, while other are fine.

What have you already attempted?
I tried reproducing the bug on other customers, but the bug reproduces only for certain customers, eg `cus_RnNX0Z4wMB7fUL`

Reproduction Steps

  1. Try to create a checkout session with customer `cus_RnNX0Z4wMB7fUL`, line item with price `price_1QUstjCrLGqcCDLGpuepygTW` and discount `promotion_code: "promo_1QrhwUCrLGqcCDLGFKQc0ew1"`
  2. Get an error `The promotion code default currency (usd) does not match the line item currency (eur).`

What are you working on?
Educational platform

cursive heronBOT
#

@late yoke pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to create a payment method on a connected account, using a token that was created on the platform account?

Related Request ID(s)
req_FvHNbNRIxzgP7v req_rE0LhQxlO2Vhlg req_ZRONQivxEmW8KT

What have you already attempted?
It seems to work with sources api, but that's tagged as deprecated.
It also works with setup intents instead of tokens, but
this causes virtual cards to non-rarely fail because of validation attempts

What are you working on?
I want to save virtual cards on stripe. Some of them work only on specific dates with specific amounts.

cursive heronBOT
#

@midnight heath pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am webtoffee stripe plugin developer, i have app in stripe market place. Now i need to setup or trigger a an event when webtoffee app is uninstalled from stripe dashboard. Kindly share any webhooks which fires after app disconnected from server?

Related Event ID(s)
account.application.deauthorized

What have you already attempted?
now i created an action hook inside my plugin code
add_action('woocommerce_api_eh_stripe_deauthorized', array($this, 'handle_stripe_deauthorization_webhook'));
but this event is not triggered when app unistalled

#

@sinful stirrup pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I set the recurring->trial_period_days for Price via API?

Related Request ID(s)
N/A

What have you already attempted?
I've tried via the Stripe console/dashboard but there's no possibility

What are you working on?
I'm building a paywall with a monthly and yearly plan. I want the yearly plan to have 7 day free trial. I want the paywall to be remotely configured via my Stripe Products.

cursive heronBOT
#

@fervent brook pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello!!
Could you tell me, please, how can I add billing details in Stripe PaymentElement with payment method type 'card'.
Current stripe elements options:
mode: 'setup',
setupFutureUsage: 'on_session',
paymentMethodCreation: 'manual',
paymentMethodTypes: ['card'],

I want to see name name in PaymentElement.
current PaymentElement options:
export const paymentElementOptions: StripePaymentElementOptions = {
fields: {
billingDetails: {
name: 'auto',
address: {
country: 'auto',
},
},
},

Setting up default values doesn't help

Related Request ID(s)
-

What have you already attempted?

  1. Was trying to remove AddressElement from form.
  2. Was trying to setup default value name in PaymentElement options

What are you working on?
billing part of app

cursive heronBOT
#

@subtle marsh pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a checkout using API and everything is working correctly. However, we currently have customers in Brazil with the currency (R$) and in Portugal (Euro), is it possible to do this automatic currency conversion at checkout? What country is the client in agreement with?

Related Request ID(s)
None

What have you already attempted?
As far as I know, I register a price for a product in R$, and open the checkout with that price ID. I would have to create another separate price just for Portugal, I would have to identify where the customer is from. Isn't there something automatic for this at checkout?

What are you working on?
API Checkout

#

@earnest stream pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How does statement_descriptor parameter work when creating a payment intent for card payments?
Stripe documentation (https://docs.stripe.com/api/payment_intents/create) says "Setting this value for a card charge returns an error. For card charges, set the statement_descriptor_suffix instead."
However, when I test it out (req_jLtGzxlgUL8saZ), I see no errors, and the payment intent is getting created successfully.
So I wanted to check whether this is an error in documentation.

Related Request ID(s)
req_jLtGzxlgUL8saZ

What have you already attempted?
I am testing integration with Stripe API via a 3rd party service, and that service doesn't seem to support statement_descriptor_suffix parameter. It only supports statement_descriptor. Is it okay to use just statement_descriptor for card payments?

#

@mortal copper pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I sometimes get customer's complains due to multiple active subscriptions running on their account.

Here's what I **suppose** sometimes happens:

A user is looking for subscribing, creates the checkout session (I use the Stripe UI), but his payment fail due to bank error or whatever.

A subscription is created and set to "incomplete", which is expected.

Said customer close the page, and come back to my website later in the day with a valid CC, try to subscribe, which create another subscription, and succeed.

So the newly created subscription is set to "active". But the first "incomplete" one is still running.

-> more in the next message ->

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview#payment-window

https://docs.stripe.com/billing/subscriptions/event-destinations#state-changes

What are you working on?
Integrating Subscriptions

cursive heronBOT
#

@nimble vessel pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Error Message
Payment error: IntegrationError: You called confirm() while the Address Element is mounted, but you previously also called updateShippingAddress(). If you intend to use the value from the Address Element, you should not call updateShippingAddress(). If you intend to use a different value, ensure the Address Element is not mounted by the time you call confirm().

Question
Cannot confirm the payment with a mounted AddressElement as I have previously called checkout.updateShippingAddress(). But I need to call the function to get the updated tax values on the page so the customer knows what they're paying based on updating shipping address.

What have you already attempted?
n/a

Reproduction Steps
- user adds shipping information on checkout page.
- the tax information is updated based on shipping country.
- user adds cc on payment element (test cards)
- user hits confirm (pay button) to make payment

What are you working on?
an ecommerce site