#dev-help

1 messages Β· Page 85 of 1

atomic shuttleBOT
#

@covert bison pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How to handle multi capture in stripe issuing?
e.g. authorization is for 50$, but then we get capture for 30$, what's happening with the rest 20$?
It's confusing case, because authorization is closed and from the balance transaction it seems that the whole 50$ hold is released before the 30$ capture.
What's happening with the balance then? Is there still a 20$ hold, so that merchant still can charge you? And if merchant will decided not to charge you, what's the indicator for FULLY "closed" authorization?

Doc/Guide Links
https://stripe.com/docs/issuing/purchases/transactions?issuing-capture-type=multi_capture

What are you working on?
Issuing credit cards

#

@marsh granite pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello. How can I trigger a payout.canceled in Test mode? I would like to have one payout as "canceled" state in Test

Related Request ID(s)
I don have a canceled request id

What have you already attempted?
I tried to find a payout in test mode in any connected account but i was not able to move to canceled state

What are you working on?
I am doing integration tests listening a payout.canceled event - I am mocking the event but need a real payout in canceled state

#

@late yoke pressed the πŸ“‘ API button in #help to ask a question:

Question
When updating a subscription to use send_invoice collection method, days_until_due parameter is required. How to use the default value here, as set up in billing invoice settings?

Related Request ID(s)
req_bq7th55Z3Rrsts

What have you already attempted?
Sending an empty value is not accepted. In api docs I couldnt find if default settings could be read

#

@languid hearth pressed the ❌ An Error button in #help to ask a question:

Error Message
On pi_3PRBGaAcqRxm04BK01lyZ9xj we're getting amount_too_large

Question
This account should have overcapture capabilities and we're randomly getting amount_too_high

What have you already attempted?
I've tried with other accounts and the functionality is working fine

#

@glossy osprey pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<body>
<div id="express-checkout-element">
</div>
<div id="error-message">
</div>
<script type="module">
const stripe = Stripe('pk_test_LGnpIZPuYCOrvCDMZwYssJU7');
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
appearance: {/*...*/},
};
const elements = stripe.elements(options);
const expressCheckoutElement = elements.create('expressCheckout');
expressCheckoutElement.mount('#express-checkout-element');
</script>

Question
I'm integrating Stripe Express Checkout with the example from the doc : https://docs.stripe.com/elements/express-checkout-element/accept-a-payment

Testing on Safari, I have only a Link button, but no Apple Pay. I want the Apple Pay button to be displayed.

What have you already attempted?
The console prints :
"You have not registered or verified the domain, so the following payment methods are not enabled in the Express Checkout Element:

- apple_pay

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

I thought Express Checkout does not need a registration ?

#

@jade bane pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to integrate payment on my nextjs project both crypto and normal methods, I did not find too much on the docs about the crypto one, is there a link to guide? and will it work on uae

Related Request ID(s)
-

What have you already attempted?
I have the normal payment setup

What are you working on?
conference website

atomic shuttleBOT
#

@olive heron pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello, I'm building a SaaS which costs 99€ per month. It's a Facebook Ad Manager application which means that users can create Facebook ads from within the application and place an ad budget.

For example, they can have a campaign A with a daily budget of 10€ and campaign B with a daily budget of 20€.

The application pays the ad budget invoices to Facebook first and then every month we make an API call to Facebook to retrieve the billable amount.

Now here I'm not sure how to accomplish this: We want to deduct the total ad budget spent for this user every month from his credit card which we have on file. What is the best practice to accomplish this?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models?locale=de-DE

What are you working on?
SaaS for a Facebook Ad Manager platform

atomic shuttleBOT
#

@hexed harness pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hello,
A customer in our system did a payment with google pay, but had a 3DSecure challenge error. What was working before, is that, we never had a pending 3DSecure with google pay other than in the google pay app. Can you please tell me if it changed ?

What actually happened?
A 3DS error happenned with a google pay payment.
Got error:
"The customer needs to complete 3D Secure authentication
Have the customer return to your application to enter payment details and complete the 3D Secure authentication."

Reproduction Steps
Do a google pay payment with a 3DS required card.

Question
Did the behaviour changed recently ? We didn't had any case like this and this is the first case that we have like that

#

@hoary kraken pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using stripe api to generate the Connect account onboarding link. When user follow the generated link, one of the step asks the user to enter the complete SSN (Social Security number). Is there any way so it only asks to enter the last 4 digits of SSN?

Related Request ID(s)
req_LJ4u4sVsT2kUGG

What have you already attempted?
Read the stripe api documentation

What are you working on?
A two sided market place for restaurants and customers.

#

@dark kiln pressed the πŸ“‘ API button in #help to ask a question:

Question
calculate spending for stripe issuing cards

Related Request ID(s)
a

What have you already attempted?
I want to calculate spending per week for a stripe issuing cards

atomic shuttleBOT
#

@bleak prairie pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to extend a subscription without using a trial? Say a customer has an active subscription and the then pre-buy another year, can we extend or change the subscription schedule without using a trial?

Related Request ID(s)
Any id

What have you already attempted?
Right now, we just use a trial period, but this doesn't truly reflect the status or nature of the subscription.

What are you working on?
We are looking to fulfill a Kickstarter in which we allowed already subscribed users to buy another year at a discount.

atomic shuttleBOT
#

@hallow surge pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How to get client_reference_id from refund or renew event using webhooks?

Related Event ID(s)
evt_3PQt49RpvgHyxzWO18z0pq3G

What have you already attempted?
I can not get client_reference_id to update documents in mongodb

What are you working on?
I am using webhooks to update mongodb documents on payment.

#

@left basalt pressed the πŸ“‘ API button in #help to ask a question:

Question
I would like to ask a question on why there is a payment cancellation. pi_3PJobpGfkqzKHrXm1J1JuWgJ

Related Request ID(s)
https://docs.stripe.com/api/payment_intents/cancel

What have you already attempted?
Looking at the docs

What are you working on?
I am building a coaching platform to provide our users with video analysis to complete orders for other users.

#

@fringe token pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
'use client';
import React, { useState, useEffect } from 'react';
import { loadStripe } from '@stripe/stripe-js';
import { Elements, CardElement, useStripe, useElements } from '@stripe/react-stripe-js';

// Ensure the Stripe public key is correctly set
const STRIPE_PUBLIC_KEY = process.env.NEXT_PUBLIC_STRIPE_PUBLIC_KEY;
const BACKEND_URL = process.env.NEXT_PUBLIC_MEDUSA_BACKEND_URL || 'http://localhost:9000';

interface PaymentProvider {
provider_id: string;
status: strin

Question
I have integrated stripe payment in medusa.js it is functional..but It is showing a simple one Line iframe that accepts Card number and CVV and pin,

But it doesnt show like how it is in the stripe documentation, including the Gpay option..

What have you already attempted?
Ive tried adding the appearence theme into but Elements but it is giving an error..

What are you working on?
An e-commerse store checkout page..

#

@round haven pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, there can you please let me know why my test bank account is getting restricted?

Related Request ID(s)
req_2UVPGOtggaAchM

What have you already attempted?
I am attempting to add a test bank account using the provided test credentials for a user and have supplied all the required information. Despite this, my account is being restricted. It was previously working well, but now I am encountering issues

#

@restive dock pressed the πŸ“‘ API button in #help to ask a question:

Question
I put mi stripe apy public and secret keys in sandbox and it work out but then i change to normal and when i put a new debit card in m y html said that does not work, please help me

Related Request ID(s)
stripe html

What have you already attempted?
I have change my api keys but they do not work

What are you working on?
I am doing a place to pay for my page.

atomic shuttleBOT
#

@main vigil pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
- When a user pays on our site, the site automatically compensates for the fees by calculating what the stripe fee will be and adding it to the amount the user pays. We have tried to find the right formula to always get the amount right to the cent, but no matter what we do the amount paid into the connected account is often one cent higher or lower than desired.
- Users get upset when stripe levels additional fees at them. The organization being payed is annoyed when they are missing a cent compared to what they expect.
- Can we have fees taken from a third account instead? This way, we can not have to worry about losing money when transferring to connected account.

Doc/Guide Links
https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers

What are you working on?
- We are making a site that lets HOA members pay their dues to an HOA organization.

atomic shuttleBOT
#

@hollow hearth pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
I have no link for documentation since I can't find none

Question
Hi! I'm a PO on a startup and we're implementing Stripe to add/use payment methods in our app. We already have payments integrated on our web (Cards and ACH accounts).

We're currently having trouble with ACH accounts, as we can't find a way for our app users to add their accounts and validate them.

I was looking for documentation on how to save/use bank accounts for payments in our app.

What have you already attempted?
We currently have 2 flows working on our web to add a bank account. The first includes logging in to the bank and the other involves an automatic email that is sent to the user for them to validate the account.

#

@restive dock pressed the πŸ“‘ API button in #help to ask a question:

Question
It is declining all the cards I register

Related Request ID(s)
stripe html

What have you already attempted?
it works very well in sandbox but not with real ones

What are you working on?
an app so my customers can pay in line

#

@faint plover pressed the πŸ“‘ API button in #help to ask a question:

Question
Does the payouts list endpoint include reverse_transfers?

Related Request ID(s)
N/A

What have you already attempted?
Reading the endpoint documentation and reviewing my test dashboard

#

@prime moth pressed the πŸ“‘ API button in #help to ask a question:

Question
how do i add tax to checkout session? I want it to add tax to total lineitems + shipping

Related Request ID(s)
1

What have you already attempted?
Reading the docs is very confusing

What are you working on?
ecommerce project

#

@strange ibex pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
I have no link for documentation since I can’t find none

Question
Hi! I’m a dev on a startup and we’re implementing Stripe to add/use payment methods in our app React Native. We already have payments integrated on our web (Cards and ACH accounts). We’re currently having trouble with ACH accounts, as we can’t find a way for our app users to add their accounts and validate them. I was looking for documentation on how to save/use bank accounts for payments in our app.
What have you already attempted?

What have you already attempted?
We currently have 2 flows working on our web to add a bank account. The first includes logging in to the bank and the other involves an automatic email that is sent to the user for them to validate the account.

#

@cosmic night pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I delete Express Accounts connected to my Stripe account using Postman and API?

Related Request ID(s)
I don't know what this is

What have you already attempted?
I've connected my account to Postman correctly ( I think ). Executing the API to delete an Express Account is beyond confusing.

What are you working on?
Affiliate program for eCommerce store

atomic shuttleBOT
#

@tame vessel pressed the πŸ“‘ API button in #help to ask a question:

Question
when using stripe.confirmCardPayment if I put medatadata and billing details, it does not show up on the stripe dashbooard

Related Request ID(s)
N/A

What have you already attempted?
await stripe.confirmCardPayment(clientSecret, {
payment_method: {
card: elements.getElement("card"),
billing_details: billing_details ? billing_details : {},
metadata: metadata ? metadata : {}
},
})

What are you working on?
payment integration

atomic shuttleBOT
#

@craggy vigil pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to determine if a given customer has any payment intents that `requires_action` without iterating through payments intents aka the list pay ment intent API?

Related Request ID(s)
N/a

What have you already attempted?
Currently iterating through open invoices, finding payment intents attached, and fetching those and checking if any has status of ``requires_action`

What are you working on?
Custom stripe integration

atomic shuttleBOT
#

@vocal wagon pressed the ❌ An Error button in #help to ask a question:

Error Message
I got an email saying payment having been block on my account. It is a mistake there is no risk. I have a legit certified licensed business. Can you please unblock my stripe account and put it back to normal. Thank you.

Question
I got an email saying payment having been block on my account. It is a mistake there is no risk. I have a legit certified licensed business. Can you please unblock my stripe account and put it back to normal. Thank you.

What have you already attempted?
I got an email saying payment having been block on my account. It is a mistake there is no risk. I have a legit certified licensed business. Can you please unblock my stripe account and put it back to normal. Thank you.

Reproduction Steps
I got an email saying payment having been block on my account. It is a mistake there is no risk. I have a legit certified licensed business. Can you please unblock my stripe account and put it back to normal. Thank you.

What are you working on?
I got an email saying payment having been block on my account. It is a mistake there is no risk. I have a legit certifie

atomic shuttleBOT
#

@oak bluff pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there anyway to fetch the total applicationFees for a connect account for a time range?

Or do you have to fetch the itemized list of applicationFees, handle the pagination and sum the total yourself?

What have you already attempted?
We've looked through all the api docs and queried them, but it seems there is only a way to get itemized fees, not total.

What are you working on?
Payment processing for business in our SAAS app

atomic shuttleBOT
#

@lyric rune pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi! I'm sure I'm a pioneer here until Stripe drops a visionOS SDK. I'm going to use Stripe as the payment processor in my visionOS app and Apple Pay will be the only form of payment + check out. My question is, do I need to add the entire iOS SDK to my Xcode project or can I add a subset SDK used just for Apple Pay? Trying to reduce the errors I have tackle in Xcode :)

Doc/Guide Links
https://docs.stripe.com/apple-pay?platform=ios#csr

What are you working on?
Integrating Apple Pay button and Stripe as the payment processor in my visionOS app.

atomic shuttleBOT
#

@errant folio pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello !

We have a serious issue with annual Stripe subscriptions, which were working fine before this month.

It seems that the behavior has not been the same since June 1.

My case : I create yearly subscriptions that start the last second of a month, and end the same date/time next year. Ex: May 31th 2024 23:59 to to May 31th 2025 23:59. It works fine from more than 18 months now but now, with a same request, start date is "now" and end is the expected start date πŸ€¦πŸ»β€β™‚οΈ

What happened? What did I miss?
I give detail to verify what I say and steps to reproduce.

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

What have you already attempted?
- Create a new subscription from curl or PostMan with same parameters and check if the result is the same ;
- Replay an old request (from logs), that has been sent before June 1 and which worked well, and check that now the result is NOT the same now ;
- I read documentation and also looked for a breaking change in the changelog but I've found nothing.

#

@static yarrow pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am attempting to reconcile stripe with my financial database through webhooks for checkouts and subscriptions.

My problem is that it is passing the amount_total or total as the total without what stripe takes (for example a product is $100 and I get a request, Stripe takes $3 but the amount_total is passed as $100 and I need the $97)

Related Event ID(s)
evt_1PGAOsGl4imgjXWLi8v59gG2

What have you already attempted?
I thought about using the payout since that has the actual amount however I have a description system for the finance inputs where having the client information is needed so just inputting the payout would prevent me from analyzing the data the way I currently am.

What are you working on?
Selling services online

#

@hidden jasper pressed the πŸ“‘ API button in #help to ask a question:

Question
Tax output is not working.

Although tax registration is enabled the correct tax and sometimes tax as a whole is not properly being outputted as per where the buyer is from.

Related Request ID(s)
n/a

What have you already attempted?
From the stripe dashboard I have done everything possible to ensure everything is enabled. The output logic is relatively straight forward. get address, send to stripe and push out the tax rate.

What are you working on?
peer to peer marketplace allowing users to buy and sell trading cards to one another from canada and usa

#

@strange ibex pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
I have no link for documentation since I can’t find none

Question
I am working with React Native. I want to create payment methods that are saved in stripe with initPaymentSheet.
But I need after creating them to get the setupIntent.paymentMethod.id

What have you already attempted?
I am currently doing it with
const {error, setupIntent} = await confirmSetupIntent(createIntent.stripeClientSecret, {
paymentMethodType: 'USBankAccount',
paymentMethodData: {
accountNumber: data.accountNumber,
billingDetails: {
name: data.fullName,
},
routingNumber: data.routingNumber,
},
});

But I need to have automatic validation of the ACH

atomic shuttleBOT
#

@willow pond pressed the πŸ“‘ API button in #help to ask a question:

Question
The stripe 3DSecure modal opens underneath CSS top-layer (dialog opened with .showModal()).

I want to close my dialog when this happens, but I have no way to detect when the stripe modal opens

Related Request ID(s)
4242 4242 4242 4242

What have you already attempted?
https://x.com/wesbos/status/1801298196422922699

What are you working on?
Custom checkout with the PaymentElement

atomic shuttleBOT
#

@thin cave pressed the πŸ“‘ API button in #help to ask a question:

Question
I am integrating Stripe for payment processing in my site. I collect and store all payment method information in our db, in this case, ACH payment info. I need to be able to create essentially a one-time ACH payment intent in Stripe without having the customer verify their bank account. I handle verification outside of Stripe. I simply want to pass the payment method and amount as a single payment for a connected account. When I do this, I get a 200 response with "next_steps" to verify with microdeposits. This won't work. Any other options besides "instant verification"?

Related Request ID(s)
NA

What have you already attempted?
I have created a payment_intent:
amount:2000
currency:usd
confirm:true
payment_method_data[type]:us_bank_account
payment_method_data[us_bank_account][account_number]:4111111111111111
payment_method_data[us_bank_account][routing_number]:324079555
payment_method_data[us_bank_account][account_type]:checking
automatic_payment_methods[enabled]:true
automatic_payment_methods[allow_redirects]:never
metadata[SP_TX_ID]:1234156

I get a 200 response but with required next steps.

What are you working on?
integration for payment processing

#

@olive dawn pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I created a cupon for 3 months free for a monthly suscription. I send the cupon to my client and he used it. we both were expecting for stripe to dont charge the monthly fee for 3 months and after that period of time, start charging

What actually happened?
the cupon didnt work, firts he was charged with $0 so we both think it was working fine, but after a minute, stripe charge the monthly fee to the client and send me the money to my account, so i have to send the money back and i lost money because of the stripe fee

Reproduction Steps
i created a cupon, 3 moths free, my client applied the cupon and the cost was $0, but after a minut stripe charge him

Question
what is wrong with cupons for suscriptions? how can i return my client his money with out me spending extra

What are you working on?
it is monthly suscription platform

#

@thorny stream pressed the ❌ An Error button in #help to ask a question:

Error Message
@stripe_connect-js.js?v=1f589d48:112 Uncaught (in promise) TypeError: element.setConnector is not a function
at @stripe_connect-js.js?v=1f589d48:112:17

Question
I am trying to implement the documents embedded component and receiving this error.

What have you already attempted?
I am doing it the same way as i am with payouts embedded component, and that one works. I am making a call to my server to create an account session with documents enabled set to true and returning the client secret. Then i am creating a stripe instance with the client secret. Once the instance is loaded i am using the create('documents') func and appending in html

atomic shuttleBOT
#

@candid coyote pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
After attempting to add a CAD Bank Account the Setup Intent is created and then the Payment method is generated pending the Mandate on the account

What actually happened?
Setup Intent is created, but user receives message in "The selected account may not be able to process payments"

Reproduction Steps
Log into our Payments Portal
User adds CAD Bank Account and proceeds to setup
Setup Intent is generated successfully
User receives error in Stripe.js modal

Question
The API logs for the Setup Intent to not show any errors and I am unsure what is causing this issue. Is it something specific to the Users Bank account? If so I can't see any details as to a reason

What are you working on?
Payments Portal for Livingston Internation. Client Portal used for paying invoices

#

@next atlas pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Don't have any code to share regarding my question.

Question
When creating a separate transfer, where will I see the Stripe fee for a payout? According to the Stripe documentation, payout fee's are .25% of the total payout, but I don't see anything in my development environment that shows any Stripe payout fees?

What have you already attempted?
Looked through documentation, looked through code, looked at webhook info, etc, etc

What are you working on?
Website for Yoga Meetups

atomic shuttleBOT
#

@rough forge pressed the πŸ“‘ API button in #help to ask a question:

Question
I’m trying to verify in the `payment_intent.succeeded` event when the PaymentIntent was created from a Subscription or not. Is it possible to just check for `payment_intent.invoice` as an identifier of a subscription or can it be populated for other reasons?

The docs for PaymentIntents only say: β€œinvoice: ID of the invoice that created this PaymentIntent, if it exists.”

Related Request ID(s)
req_AqeGDuItOPTrWi

What have you already attempted?
See my question

What are you working on?
Coaching platform

atomic shuttleBOT
#

⛔️ 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 around 5pm Pacific time or 8am Singapore time

atomic shuttleBOT
#

βœ… Stripe developers are currently available on Discord!

#

@humble rivet pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
to show apple pay on payment element

Question
I am using stripe payment element to support both google pay and apple pay, currently card payment, google pay all works well, however apple pay doesnt show on safari with apple wallet enabled, for configuration, is there anything extra need to do to make it work?

What have you already attempted?
since google pay works well, so the main flow should be good. on dashboard, apply pay is enabled. also, domain is registered and verified on dashboard. on safari, apply pay check is enabled, and wallet has added card information.

What are you working on?
a form using payment element to support google/apple pay

#

@elder knoll pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expected stripe js to continue working as we have not made any changes.

What actually happened?
At 2 PM PST, all our connect customers on live servers started getting a browser error coming from 4 Stripe payments box was no longer showing and console was showing this error: v3/:1 Uncaught TypeError: Cannot read properties of undefined (reading 'postMessage')
at be.sendEvent (v3/:1:85323)

Reproduction Steps
It is impossible to reproduce anymore as the error got resolved without us doing anything around 4pm PST. However, while error was showing, it was ponting to this part of the script:

this.sendEvent = function(e, t) {
n.getFrame().postMessage({
__stripeJsV3Message: "event",
messenger: n.uniqueMessenge

Question
The question is, what happened, and what can we do to either avoid this in the future?

We contacted Stripe support via chat and were escalated to email, but we have not heard back as to what happened. We can only presume that they resolved it as this part of the script is no longer there:

n.getFrame().postMessage

What are you working on?
We are offering a marketplace currently used by thousands of connected Stripe accounts.

#

@rich wind pressed the πŸͺ Webhooks button in #help to ask a question:

Question
If an AliPay customer revokes consent for payments, what webhook event should be handled in order to account for this if any?

Related Event ID(s)
N/A

What have you already attempted?
https://docs.stripe.com/payments/alipay/set-up-payment#handle-revoked-billing-agreements

I assume though, that there would be some webhook here, rather than needing to look up the payment method at time of use in order to determine that it's ineligible.

What are you working on?
An AliPay integration using PaymentIntents for off-session charges

#

@hidden musk pressed the πŸ“‘ API button in #help to ask a question:

Question
stripe subscription and related auto pay webhook events are not published

Related Request ID(s)
sub_1PMilBEJx1LumFjqaX6kIIcF

What have you already attempted?
tried updating the webhook events at my existing webhook - we_1O0JbtEJx1LumFjqn13gyv3b

#

@scenic dove pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Payment element should show up when passing smallest currency unit

What actually happened?
Payment element doesn't show up unless minimum is higher

Reproduction Steps
NOK 3: https://checkoutpage.checkoutpage.co/nok-300
NOK 10: https://checkoutpage.checkoutpage.co/nok-1000

USD 0: https://checkoutpage.checkoutpage.co/usd-0-2

Question
I'm following https://docs.stripe.com/payments/accept-a-payment-deferred

For USD, we can render <Elements /> with amount: 0 and it works fine.

For other currencies, e.g. NOK or PLY, amount 0 breaks the Payment Element.

Docs say it should be the smallest currency unit. For NOK this is 3, but it doesn't work. It works when passing 10.

What are you working on?
Checkout Page β€” a custom checkout page builder to sell digital products, subscriptions and event tickets.

atomic shuttleBOT
#

@vast whale pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const subscription = await stripe.subscriptions.create({
customer: Meteor.user().customer_id,
items: [
{
price: TEST_BOOST,
},
],
});
return subscription;

Question
How can i create a subscription with a free trial attached?

What have you already attempted?
I've tried using trial_period_days field but it doesnt seem available. In the dashboard you can create a subscription but its per user and i want to do it thru the checkout.

What are you working on?
event hosting platform

atomic shuttleBOT
#

@royal warren pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I got "Insufficient funds." error for all of the first recurring .

I'm wondering if there could be an issue with my code, can someone suggest. I use Stripe hosted checkout
checkout_session = stripe.checkout.Session.create(
line_items=[
{
"price": prices.data[0].id,
"quantity": 1
}
],
mode="subscription",
customer=xx,
)

Should I use "subscription" or "setup" mode? Currently I used "subscription" and got 100% failed on the first recurring in live mode while it works in test.

Related Event ID(s)
evt_1PRI0KJ0vJQiTlzAs64ZZVMl

What have you already attempted?
Test in test mode.

What are you working on?
Gen AI chat platform where users subscribe to get access

atomic shuttleBOT
#

@candid widget pressed the πŸ“‘ API button in #help to ask a question:

Question
Can connected accounts log in to tripe's dashboard to withdraw money themselves?
Or can you only withdraw money when calling stripe's api

Related Request ID(s)
1

What have you already attempted?
1

atomic shuttleBOT
#

@sharp forum pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Dispute webhook events fired on won/lost

When stripe fires a customer.dispute.created event I lock the user out of their subscription by expanding the payment intent for the customer and setting the dispute status on their subscription. I'm more concerned about the resolution of a dispute. When a dispute is won/lost for a subscription, what events fire? Does customer.subscription.deleted fire on fail? Does customer.subscription.updated fire on won?

Related Event ID(s)
n/a

What have you already attempted?
I have tried executing customer.dispute.created and it progressed through an irrelevant one time fake product.

What are you working on?
AI Image Generation platform

atomic shuttleBOT
#

@strange minnow pressed the ❌ An Error button in #help to ask a question:

Error Message
Hi, I am getting error 402 for /v1/tokens on prod? how do I recreate that on test account

Question
requestId
req_XpfDjz6RbLnX1O
can you please help me with whats actually hapening?

What have you already attempted?
went through docs

#

@frozen oracle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How to implement subscription for organization?

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

What are you working on?
The idea is that the user will sign up and create a organization after that they can invite other user to join the organization. This logic would be close to Sanity.io (I think they use stripe as the payment provider)

atomic shuttleBOT
#

@obtuse delta pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I would appreciate any assistance in identifying the root cause of this issue and resolving the webhook signature verification failure.We are experiencing an issue with the Stripe webhook integration in our application. The application is receiving webhook events from Stripe, but the signature verification process is failing, resulting in the following error:

⚠️ Webhook signature verification failed: [error message]
Logs and Error Messages:

2024-06-14 14:57:42 info: Received a webhook event
Request Body: [webhook event payload]
Request Headers: [request headers including stripe-signatur

Related Event ID(s)
evt_1PRSCmRsJfE0QDMTMBWKOcR0

What have you already attempted?
Steps Taken:

We have verified that the STRIPE_ENDPOINT_SECRET environment variable is set correctly and matches the webhook secret in our Stripe dashboard.
We have checked the request body and headers, and they appear to be valid for the invoice.paid and invoice.finalized webhook events.
We have reviewed the code responsible for verifying the webhook signature, and it aligns with the Stripe documentation.
We have checked for any middleware or code modifications that might be altering the req.body or req.headers before they reach the handleWebhook function, but found none.
We have checked the

What are you working on?
SaaS w/ stripe integration for handling active subscriptions

atomic shuttleBOT
#

@cold dragon pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I have two connected accounts
acct_1PR3klGf0XzPwNWI
acct_1POUEW2fduMExcKj
these accounts were created 'Using Connect with Standard accounts' where both of them are using same email address during account creation
I want to view the dashboard of both accounts

What actually happened?
Currently I am able to view the dashboard of the recent accounts without any customers

Reproduction Steps
Create stripe standard account and provide email.
Again create stripe standard account with same email

Question
I wonder if stripe allows to create multiple standard accounts with same email then while logging in it should ask to switch between the accounts which we wanted to view

atomic shuttleBOT
#

@reef walrus pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there any way to check if a customer has a tax_id via the customer id in the API?

Related Request ID(s)
N/A

What have you already attempted?
I'm looking at the customer object, but I cannot find the tax_id that a specific customer has

atomic shuttleBOT
#

@remote horizon pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I delete custom connected accounts with accounts.del?

We have a bunch of custom connected accounts no longer associated with users from our testing database we'd like to remove.

Tried listing, comparing ids to our user collection and then accounts.del where the id doesn't exist in our collection but receive permissions errors?

Related Request ID(s)
req_ohgHTDww3i7YYi

What have you already attempted?
Listing in batches of 100 and iterating through to delete

atomic shuttleBOT
#

@fiery stirrup pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
W/StripeTerminal(17330): class=OnlineDirectResourceRepository message="Collectible payment is null in processPayment!"

E/StripeTerminal(17330): class=TerminalSession
E/StripeTerminal(17330): java.lang.NullPointerException
E/StripeTerminal(17330): at com.stripe.stripeterminal.internal.common.api.ApiRequestFactory.confirmPaymentIntent(ApiRequestFactory.kt:294)

Question
We are getting a Null Pointer Exception when collecting a Payment Intent using the Stripe Terminal SDK with a Tap to Pay simulated reader.

What have you already attempted?
Reviewed the logs we are getting.

What are you working on?
Mobile Terminal App using Stripe Terminal SDK for Android

atomic shuttleBOT
#

@quick current pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I need to rename my app, as the company has rebranded however I can't upload a new app as I already have an app with the old name in the account and I can't seem to delete the old app.

Doc/Guide Links
```
Request failed, status=400, body={
"error": {
"message": "9:App developer account already has a public app. Cannot create another public app.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_UfxGtGchydwM52?t=1718355368",
"type": "invalid_request_error"
}
}
```

What are you working on?
App for subscription monitoring

#

@rapid delta pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const paymentElement = elements.getElement(PaymentElement);
const { error, paymentMethod } = await stripe.createPaymentMethod({
paymentElement,
params: {
billing_details: {
name: 'Jenny Rosen',
},
},
} as CreatePaymentMethodData);

Question
how to pay upfront from Bank Transfer from the frontend and also how add or ACH bank transfer for payment method and use it for subscription.
using react js and node js

What have you already attempted?
I have tried to collect the bank details from pay elements and tried to create a payment method id for attaching to a subscription.

What are you working on?
I need a way to collect payment info / create payment method id and use it to create a subscription. should have pay from bank options like bank transfer

atomic shuttleBOT
#

@frosty coyote pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi I am looking in the documentation at application fee refunds. However, creating the application fee refund requires an `fr_` ID, what is this id and where do I get it?

Related Request ID(s)
N/A

What have you already attempted?
I've been looking at the documentation and cant seem to work out what it requires

What are you working on?
A sports platform

#

@pure crane pressed the πŸ“‘ API button in #help to ask a question:

Question
Is confirmTwintPayment method from stripe-js officially supported ? In 3.5.0 this method is not included in the types.

Related Request ID(s)
-

What have you already attempted?
However it is included in https://js.stripe.com/v3

#

@pearl canyon pressed the πŸͺ Webhooks button in #help to ask a question:

Question
i am trying to integrate the webhooks for my application but I saw that the 2023.10.16 version is the current version however while creating a new webhook i have only 2 options
2023-08-16 and 2024-04-10 how do i create webhook with the 2023.10.16 version

Related Event ID(s)
we_1PRW5oJ6rlRnliaxhF3eXuRU

What have you already attempted?
i tried to implement the versions available but i am getting an error "We’ve had some trouble sending requests in live mode to a webhook endpoint associated with your VBULLS PRIVATE LIMITED account for nine consecutive days."

What are you working on?
We are working on a payment gateway integration

#

@carmine plinth pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
let config = try UsbDiscoveryConfigurationBuilder().build();

Question
Is there an updated binary for the USB driver binary for the beta iOS USB driver setup? Also is there a detailed breakdown of how the xcode project should be setup. The whitepaper got me most of the way there, but I feel like I may have environment issues.

What have you already attempted?
I'm working on using the beta version of the USB driver for iOS with the M2 Reader. I can see that the driver is running in the console of my iPad. But when attempting to connect to a reader I get some form of the error: kernel 2 duplicate reports for System Policy: ReportCrash(2677) deny(1) file-read-metadata /private/var/db/driverkitd/SystemExtensions/...

What are you working on?
I'm working on using the beta version of the USB driver for iOS with the M2 Reader.

#

@teal scroll pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Button Payout-checkout UI.
I am using just webhooks calls, so is there a template button I can copy?
I saw some react examples but they were a lit overwhelming, while the webhook guide was straightforward so I went with it.

So Im looking for a button (and its CSS) associated with general stripe where onClick= will redirect to the chekcout

Doc/Guide Links
Next.js component but i went with normal webhooks

What are you working on?
Bot Subscription

#

@native crypt pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to create subscription page but i am getting error like: Element, which cannot be used to create card PaymentMethods.

I have paymentElement and i want to create payment by:

const cardElement = elements.getElement(PaymentElement);

setIsLoading\(true\);

const { error\: paymentMethodError, paymentMethod } =
  await stripe.createPaymentMethod\({
    type\: 'card',
    card\: cardElement,
    billing\_details\: {
      email\: 'example@mail.com',
    },
  }\);

on charge customer on backend.

Related Request ID(s)
n/a

What have you already attempted?
I tried all steps

What are you working on?
I want to build a scenario -> register -> pick plan -> subscribe

#

@crude sky pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
$source = \Stripe\Source::create([
'type' => 'sepa_credit_transfer',
'currency' => 'eur',
//'amount'=> $decodePaymentData['serviceChargesWithTax']*100,
'owner' => [
'name' => $custName,
'email' => $custEmail,
'phone' => $custPhone,
],
'metadata' => [
'Service Name' => $subscriptionDetails['invoiceDetails']['serviceName'],'Service Quantity'=>$subscriptionDetails['invoiceDetails']['invoiceQty'],
'Unit Pr

Question
source api deprecation
i want new code how to accept sepa_credit_transfer transactions ?

What have you already attempted?
paymentintent api

atomic shuttleBOT
#

@mystic scroll pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, we're trying to use the Stripe SDK in our mobile apps to take payment for in-app products. As part of this we need a line-itemised invoice & invoice url we can access. The invoice needs to be marked as paid once payment has gone through. Whats the recommended approach to achieving this?

Related Request ID(s)
req_KDdT1ZwIogAIZ5

What have you already attempted?
We are using paymentIntent but this doesn't allow us to generate a line-itemised invoice and doesn't mark it as paid on successful payment. If we create an invoice manually we end up with 2 invoices.
(We could use Checkout which does do what we need it to do but we prefer the SDK from a user experience perspective.)

What are you working on?
An app where users can buy print products.

#

@sinful nest pressed the πŸ“‘ API button in #help to ask a question:

Question
We are trying to extend the authorization period using the request_extended_authorization parameter in the PaymentItent. but once the payment form is submitted we are getting following message: This account is not eligible for the requested card feature . See .../flexible-payments for more details.
Can you tell us if there are some settings needed on the account? is this feature available in the sandox account?

Related Request ID(s)
-

What have you already attempted?
final PaymentIntentCreateParams params = PaymentIntentCreateParams.builder().setAmount(totalPrice).setCurrency(currency)
.setCaptureMethod(com.stripe.param.PaymentIntentCreateParams.CaptureMethod.MANUAL)
.addExpand("latest_charge")
.addPaymentMethodType(CnhistripeservicesConstants.CARD)

#

@reef walrus pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to create an invoice line, and for some reason, I'm getting an error related to the currency. It tells me that the product expects euro and not gbp. But when you look at the product in the front end, you can see that the price is listed in pounds. How can I fix this?

Related Request ID(s)
req_ELnAn7Ei7H71jF

What have you already attempted?
N/A

#

@keen pelican pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I tried to implement the webhook on my nodeJs server but i am getting an error
Webhook signature verification failed: Webhook payload must be provided as a string or a Buffer instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead.

Related Event ID(s)
evt_1PRWtKLiVTIndlsJkPsPO1CH

What have you already attempted?
I am using Express in the node server. and I have followed the documentation: https://docs.stripe.com/webhooks#verify-webhook-signatures-with-official-libraries
but nothing helps

What are you working on?
we are working on stripe subscription by using stripe session checkout, and once session checkout done we tried to save susbsription data into database by using webhook which is not working.

#

@mortal totem pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
i am using stripe subscription. When the custumer subscribe, i would like to redirec him in my app after the payement is collected

What actually happened?
The custumer si redirect to a page containing two links, dowload bill, and download receipt

Reproduction Steps
1- create custumer
2- create the product
3- create the subscription with collection_metho="Send_invoice"
4- collect the payement
5- Change de collection_method for "charge_automaticaly", so i could collect future recurring payment

Question
How can i integrate redirect link, so after finalizing payment of subscription, user could be redirect to my app directly.

What are you working on?
Web App for work management that users should pay monthly subscription plan before using the app

#

@pure mica pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We are using the stripe migration toolkit to migrate subscriptions to stripe. We face an issue for subscription with adhoc items where the quantity needs to be set to 0. If I create a subscription with an amount and set the subscription item quantity to 0, the subscription is created successfully.

What actually happened?
Through the migration toolkit this is not accepted. In your documentation you accept numbers as the quantity field adhoc_items.x.quantity. But number 0 is treated as null, cause if we upload a csv with a non-zero amount and a zero quantity, the error we get is: items[0].quantity : Must not be empty;

Reproduction Steps
Upload a csv to migration toolkit with one subscription with a non-zero amount and a zero quantity.

Question
Since your documentation states that. a numbe ris accepted we expect 0 to be expected. If I input as qunatity something like: 0.0 We get an error that the quantity field must be a positive integer, contrary to your docs. How can we schedule a subscription with the migration toolkit for this particular case? Thanks

#

@sour idol pressed the πŸ“‘ API button in #help to ask a question:

Question
user paid - 118

stripe fees: 3
amount client 1: 100
amount client 2: 10
my fees application fee: 5

how to pay amount client 1 & 2
both are connected account in my stripe

Related Request ID(s)
connected account

What have you already attempted?
connected account

What are you working on?
connected account

#

@visual kite pressed the πŸ“‘ API button in #help to ask a question:

Question
when i create the checkout.session.create that time take custom date for billing.
for example
current_period_start date take is cusotm or not ?

Related Request ID(s)
stripe_product_price_id and stripe_customer_id

What have you already attempted?
10 to 12 time

What are you working on?
stripe payment integration in nodejs

atomic shuttleBOT
#

@inner geode pressed the πŸ“‘ API button in #help to ask a question:

Question
Now I am modifying subscriptions but I would like to preview how that modifications affect to invoices or extra payments

Related Request ID(s)
I am not sure about answer of this field

What have you already attempted?
I am using method stripe.Subscription.modify(
subscription_id,
items=[{"id": subscription_item_id, "quantity": quantity}],
proration_behavior="always_invoice",
)

What are you working on?
Subscription modification preview

atomic shuttleBOT
#

@tawdry peak pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I've updated stripe lib and now I cannot validate stripe webhook signature

Question
How to fix the error regarding webhook verification

What have you already attempted?
updated from v72 to v76 stripe-go library

#

@arctic oxide pressed the ❌ An Error button in #help to ask a question:

Error Message
"failure_code": "incorrect_cvc",

Question
The customer entered the wrong card info, CVC according to the error. He updated and added new cards. However, the product now is incomplete, I have one failed payment. Can I remove the old product, and add the same one again, and select his newly added card and retry it? Or is there a retry on existing product?

What have you already attempted?
I just updated on the subscription product his other card. Thank you

What are you working on?
software developer

#

@sharp quartz pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm actually stucked with the usage with https://github.com/thephpleague/omnipay-stripe . The customer wants to change every payment method to stripe but I'm not able to get correct informations about how to auth and the expected "paymendMethod" (test environment). Is it a id? A string? I'm doing something wrong during authentification? Also sometimes got problems with API telling me the provided account is not allowed "this or that" payment method.

Related Request ID(s)
req_qTX8YTyVmBiVbf

What have you already attempted?
Follow ominipay / official API docs

What are you working on?
Shop with different products and prices depending on onpage selectable payment methods and customer country

#

@simple bronze pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
In stripe, if the user is on one subscription and you upgrade him to another plan but the payment fails, I downgrade the user to previous plan. so user can try again to upgrade with a different plan.

What actually happened?
when payment fails and user is downgraded to previous plan, and try again with different card, he gets upgraded even if the payment fails, with 0$ charged.

Reproduction Steps
1- user get subscribed to plan A
2- user try to get subscribed to plan B
3- payment fails, and user is revert back to plan A
4- user try again and this time he gets shifted to plan B with invoice of actual payment but got charged 0$.

Question
how is the user transition to plan B with actual invoice as paid but with only got charged 0$?

What are you working on?
I'm working on the flow where users can change there subscription based on their needs

atomic shuttleBOT
#

@wide compass pressed the πŸ“‘ API button in #help to ask a question:

Question
doesnt work the connection with coupon affiliates

Related Request ID(s)
connect to pay customers

What have you already attempted?
i connected the apis (public and secret) with the coupon affiliates plugin in wordpress but when i try to make the connection in the customer view, Stripe gives an error..
Can you help me to solve it?

What are you working on?
trying to connect stripe to this plugin so the affiliates can ask the money directly from my stripe

atomic shuttleBOT
#

@rain quail pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
To reedem my 60 days reserve funds, and to continue using and working on my Stripe account

What actually happened?
Two days before the date of collecting my money they were stacking for 60 days due to some unknown reason, they closed my account with 1880 euros, and told me that my money will be never available for me? I mean how they can do that, that is my hard deserved money for the orders which I shipped long time ago, and that causes damage to my business. That is the criminal

Reproduction Steps
Don't have any steps, just want my hard deserved money which nobody can steal from me with saying "hard risk" account. Okay, give me
my money and close my account if you dont want to work with me, but this is the classic steal!!

Question
How is this possible? and how can someone just go and tell me they will not give me my OWN money? they are first ones who are not respecting and failing their own policies

#

@night dirge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Which process i must use to display price pages for logged x unlogged users?

Doc/Guide Links
For Logged im using.
Display prices using prices API

When the user click on the price/product I display a page and that page have credit card slot. I pass **email** for subscription api to get client secret.

Which approach I should use to unlogged users?

What are you working on?
Im preparing a payment page for our users. we have a payment for users.

#

@wintry timber pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey, I am working on an integration with stripe Tax since we want to switch to it and for calculations I am noticing that Shipping tax is always zero. I am using tax code txcd_92010001 for shipping. Is this normal? Our currently tax provider does adds taxes in the same scenarios.

Related Request ID(s)
taxcalc_1PRLQJHB6SoeH5Z1vyBlr95n

What have you already attempted?
Using tax code txcd_92010001 which is the only one for shipping.

What are you working on?
Stripe Tax integration

#

@worthy path pressed the ❌ An Error button in #help to ask a question:

Error Message
Timeouts after migrating to stripe 9.9.0

Question
So we had a really old dated stripe version (4.4) i migrated to 9.9.0 and im experiencing a lot of timeouts in my service when trying to interact with stripe.
For example in creating a setup intent or dettaching a payment method,
And its weird because the dettached event comes to our webhook but it seems stripe takes to long to give a response.

What have you already attempted?
Its weird because other actions work well, i would like if you guys could see the logs from my api_key to have a better understanding on whats going on.

Reproduction Steps
I could pontentially share a code snippet so you guys can see the integration.

#

@unreal bison pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
PaymentIntentService paymentIntentService = new();

PaymentIntentCreateOptions paymentIntentCreateOptions = new()
{
Amount = (long)(amount * 100),
Customer = stripeCustomerId,
Currency = "usd",
PaymentMethod = paymentMethodId,
Confirm = true,
ErrorOnRequiresAction = true
};

PaymentIntent intent = await paymentIntentService.CreateAsync(paymentIntentCreateOptions);

Question
Using this code we created two requests

  1. req_rs3dHymIQLw7iz - Error 400 (Call from scheduler)
    2.req_2pkdeiCs49JHxe - Success (Call from API internally)

What have you already attempted?
Can you please tell me what is the difference between those 2 requests. Why first one is not successful?

What are you working on?
Charging customer through our own scheduler on custom date and time

#

@long marsh pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We would like to add Apple Pay integration to Stripe.

What actually happened?
We followed https://docs.stripe.com/apple-pay to register and verified out domain. However, the ApplePay option still not available to us. I tried https://docs.stripe.com/stripe-js/elements/payment-request-button using Safari and it worked OK for us. I wonder that is missing.

Reproduction Steps
Go to our sandbox website, try to pay with stripe and not able to see the Apple pay option

Question
What did I miss in my settings?

What are you working on?
Apple pay stripe integration

#

@foggy bolt pressed the πŸ“‘ API button in #help to ask a question:

Question
I am testing my software to handle phases of a subscription schedule which have passed. However I do not know how to create a dummy subscription schedule which would have ,let's say 2 out of 4 phases already passed. Any ideas on how I can do this?

Related Request ID(s)
Non

What have you already attempted?
I have successfully created and charged subscription schedules. I am writing a new feature to correct some past schedules.

What are you working on?
E-commerce platform

#

@lilac delta pressed the πŸ“‘ API button in #help to ask a question:

Question
I would like to know if I can use Stripe Terminal In-person Payment with a Mobile App without using any App.

Related Request ID(s)
https://docs.stripe.com/terminal

What have you already attempted?
I have read the Documentation for Terminal Integration and before starting any Development i just want to confirm if its possible or not

What are you working on?
Stripe Terminal

#

@violet thorn pressed the πŸ“‘ API button in #help to ask a question:

Question
how to see my secret key please?

Related Request ID(s)
req_92929

What have you already attempted?
yes. i try to reveal but doesn't seem to have a button

#

@shadow crane pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet&lang=node#react-native-google-pay

Question
Hi, I'm looking for examples of react native app with stripe-react-native that accepts google and apple payments. The example app in that repo, doesn't mention fetching specific SKUs from google, nor apple

What have you already attempted?
I read the docs https://docs.expo.dev/versions/latest/sdk/stripe/, https://github.com/stripe/stripe-react-native and watched https://youtube.com/watch?v=uK7W5x_8gbg but they didn't address that specific issue

What are you working on?
mobile app in expo

#

@alpine jay pressed the πŸ“‘ API button in #help to ask a question:

Question
I am integrating stripe and opting for automatic tax deduction during purchase based on buyer's address

Related Request ID(s)
req_zZu6RyXMdDtcoi

What have you already attempted?
I have looked into code and provided default product tax code for each product still no avail

What are you working on?
A platform for collectible game cards

#

@ruby walrus pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm working through a multifaced issue with ACH (us bank account) mandates, as I recently discovered our implementation isn't using them correctly (it is generating a new one with each payment intent instead of reusing them from the original setup intent).

Related Request ID(s)
req_nBQouojBW3r5JO

What have you already attempted?
In the sample request (which is a paymentintent but saving the payment data for future authorized payments) we are sending mandate_data but not getting back a mandate ID with the response, which is why we assumed they couldn't be reused. How do I get the mandate ID for future use from this sort of request?

#

@tall drum pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When I succesfully complete the 3DS verification, the response from stripe.confirmPayment should return a payment intent response or an error and it doesn't appear to do so. (It DOES do this in a test environment, just not in Production for 1 card in particular).

What actually happened?
Nothing appears to be returned from `stripe.confirmPayment`. In the console there are JS errors related to some kind of 3rd party verification tool (probably specific to the card (Mastercard)); there is 1 `Uncaught TypeError: selections is undefined` from a 3rd party called https://secure7.arcot.com/content-server/api/tds2/txn/browser/v1/creq

Reproduction Steps
This occurs only with live details, when using a Mastercard and being prompted for 3DS verification.

Question
Is there any way I can figure out why my integration is not receiving the response from stripe.confirmPayment, or why it is not being sent? Or any clues on understanding why this is happening in LIVE mode and not TEST mode? Are the JS errors mentioned above relevant to this failure? Many thanks.

#

@strange minnow pressed the ❌ An Error button in #help to ask a question:

Error Message
hi for this request
req_GeM5wx12j2Lax9
I am getting error live_mode_test_card

Question
can you please look into it. I don't see any card with those last 4 in test cards

What have you already attempted?
went through document

#

@tribal rover pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to create a payments plan using amount_due. But unable to find the reference in the php api sdk.

https://docs.stripe.com/invoicing/payment-plans?testing-method=with-code#initial-deposit

Related Request ID(s)
in_1PRYtRAKpiwvO5o9XNVT5qLA

What have you already attempted?
Tried creating & updating invoices in different ways in test mode

What are you working on?
Take initial deposit and also following remaining payments on duedate

#

@restive dock pressed the πŸ“‘ API button in #help to ask a question:

Question
in sandbox the payments logs just show 49 payments because i have made more payments but they dont show up

Related Request ID(s)
api

What have you already attempted?
in sandbox the payments logs just show 49 payments because i have made more payments but they dont show up

What are you working on?
my app of payments

atomic shuttleBOT
#

@oblique plover pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
-> customer fills out payment element
-> clicks submit (we calculate taxes and update the element) we show the taxes to the customer
-> clicks confirm
-> stripe.createConfirmationToken
-> Create Subscription
-> Use Confirmation Token to confirm the subscription.latest_invoice.payment_intent

Question
I have this workflow working, but my issue is that if there's an error with their card or payment, when they resubmit our payment page, we create a NEW subscription for them. What's best practice here to avoid creating multiple subscriptions in this flow?

What have you already attempted?
https://docs.stripe.com/payments/finalize-payments-on-the-server

What are you working on?
We are migrating from createSource to createConfirmationToken

#

@keen ferry pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to determine what product was purchased given the refund object on a charge.refunded webhook but I am not having any6 luck

Related Request ID(s)
evt_0PQzjIPXI34JMUGQcsmHC3K6

What have you already attempted?
Examined the Refund, Charge, and PaymentIntent objects for the refund event

What are you working on?
subscription and product payments for our application

#

@prisma coral pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm working on integrating with Stripe terminal. I am trying to understand how to ensure a resilient integration and user experience under webhook deliverability issues, as mentioned in: https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#stripe-api. If we're polling the stripe api we'll never be able to understand if a reader state that we fetched was the reader state directly proceeding the last reader state shown to the user. In other words, a payment may have failed and then succeeded in the time it took us to poll the stripe api.

Related Request ID(s)
NA

What have you already attempted?
I've tried reading the docs and thinking through different methods to address this but it's unclear what to do in this scenario.

What are you working on?
Booking software for SMBs

atomic shuttleBOT
#

@coral basin pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://github.com/stripe/stripe-ios/releases/tag/23.8.0

Question
Can I get confirmation that this release it the iOS SDK that started supporting the simulators on M1 Macbooks? I am getting an error deploying older versions using the SDK to a simulator and found online that it was likely due to the version not supporting the arm64 architecture and I am working to figure out which version is the first one that started supporting it.

What have you already attempted?
Using older versions of the SDK developing against iOS simulators on M1 Macbooks

#

@pine badge pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const subscription = await stripe.subscriptions.create({
customer: customerId,
items: [{ price: priceId }],
payment_behavior: "default_incomplete",
payment_settings: { save_default_payment_method: "on_subscription" },
expand: ["latest_invoice.payment_intent"],
});

const clientSecret = subscription.latest_invoice.payment_intent.client_secret

<Elements
stripe={stripe}
options={{ clientSecret: clientSecret }}
><PaymentForm /></Elements>

Question
I have a problem with the payment method types for Stripe Elements used with subscriptions.
The payment method types does not follow my available payment option types that I set in my Stripe dashboard.
When I manually create a SetupIntent or PaymentIntent, I can enable the option "automatic_payment_methods".
But when I create a subscription, the associated PaymentIntent is created automatically, and I can't find a way to configure it with "automatic_payment_methods".

What have you already attempted?
I tried to update the PaymentIntent right after creating the subscription and before to use its client secret, but there's no option in the API to update the PaymentIntent automatic_payment_methods option.

Do I do this the right way? Can someone give me some direction?

What are you working on?
I am making a SaaS with subscriptions through a custom dashboard.

#

@dire echo pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to create an invoice with each transaction that is attempted. I can make at the transaction and it is tied to a customer but I want an invoice also that details their purchse how can i do this?

Related Request ID(s)
the settings appear on for creating inoices.

What have you already attempted?
invoice: true,
invoice_items: [
{
amount: paymentInfo.amount,
currency: 'usd',
// description: description,
},
],

various attempts similair to this.

What are you working on?
I am working on my internship where I am setting up their stripe payment. They don't know how to use it either.

#

@vocal path pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm building out a feature for a client using Stripe Connect. It is my first time using it and I am a bit overwhelmed by the documentation. It seems to have a lot of parts that I an struggling to piece together. It's for a Rails app and I want to allow a user go through a simple onboarding process but I'm not sure where to start. Non-Stripe guides are outdated and don't go into depth. CJ's tutorial is the best but the business model is a bit different than the newsletter one.

Related Request ID(s)
N/A

What have you already attempted?
I've downloaded the Sinatra app and ran it and did create a connected account, but then I could not log out of it. YouTubed and read articles. Read through the docs and API. Tried asking some devs I know but they aren't familiar with it.

What are you working on?
Peer-to-peer rental app. A user creates a connected account and is able to sell or rent their items to other users. Features: Users create connected accounts. Set prices/create products via app

#

@ivory socket pressed the πŸ“‘ API button in #help to ask a question:

Question
I would like to provide a link for a connected account holder to view the details of received payments. I would also like to know how to generate a partial payment with an invoice for the balance to be collected later.

Related Request ID(s)
req_Fo3xnSVjdRA9Wd

What have you already attempted?
I've logged in as the connected account holder to see the payment details. However, if I copy the url with payment Id and try to go directly to it from an incognito browser window, it will not let me log in.

What are you working on?
Building an integration with Strip-hosted dashboards and connected account with direct payments.

atomic shuttleBOT
#

@floral pollen pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Scenario: User has unpaid invoices, after all the automatic retries done by stripe to get the payment for the unpaid invoice(s) the user's subscription moves to the cancelled status. The user a month later decides they want to continue using the service and wishes to resubscribe.

Question: I understand that I will need to create a new subscription for the user, but how would I charge the user for the new subscription cost as well as the prorated past dues?

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

What are you working on?
Custom billing for CRM

atomic shuttleBOT
#

@wet mesa pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to create customer portal with different products in it.

Related Request ID(s)
None

What have you already attempted?
Set custom product in the api request but it doesnt seems to be a thing.

What are you working on?
I have 2 websites under the same Stripe account. For both websites I want to create a customer portail session but I want each sessions to only be able to switch specific product.

atomic shuttleBOT
#

@cerulean pasture pressed the πŸ“‘ API button in #help to ask a question:

Question
Trying to integrate destyination charges getting the included error.

Related Request ID(s)
None errors before hand

What have you already attempted?
syntax error, unexpected single-quoted string "transfer_data", expecting "]"

Here is the code $paymentIntent = \Stripe\PaymentIntent::create(
[
'amount' => $total,
'currency' => strtolower($lane->country).'d',
'payment_method_types' => ['card_present'],
'capture_method' => 'automatic_async',
'transfer_data' => [
'amount' => (round($total, 2) - (round($total * .00003))) - 5,
'destination' => $team['

What are you working on?
credit card processing platform with connect using terminals

atomic shuttleBOT
#

@tired night pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a payout id with me. Is there a way to retrieve all payment intent ids of the payments which were associated with the particular payout id

Related Request ID(s)
po_1OaFDbEcg9tTZuTgNYmX0PKB

What have you already attempted?
I have tried to explore the api doc but couldnt find an api call which addressed this.

#

@foggy bolt pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How can I get the amounts ; past and future; for a Stripe Subscription?

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

What are you working on?
Custom payment portal

#

@worthy path pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
InvoiceItem to be attached to the next created Invoice

What actually happened?
Invoice got created without any items

Reproduction Steps
Create Invoice Item.
Create Invoice
It should automatically attach to the next invoice created if no invoice param is provided in the first place.

Question
Why is this happening?
Implementation:
invoice_items.create(params=data)
invoices.create(params=data)

#

@hollow steeple pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I am working with the laravel cashieer package.
$subscription->alwaysInvoice()->previewInvoice()

Question
We have a subscription where they can have two items on the subscription.
We are trying to build our system where they can increase the quantity on a specific line, and view the prorated amount. What they owe today. But i am having an issue with the proration not returning a quote for the single line that was adjusted.

What have you already attempted?
I have gone through the cashieer package which is pretty good with interacting with stripe. But i am not seeing how to do this.

I see that it is possible when previewing a change on a subscription in the stripe dashboard

#

@distant elbow pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How can I test checkout.session.completed event trigger locally?

Related Event ID(s)
N/A

What have you already attempted?
I have tried following this guide https://dashboard.stripe.com/webhooks/create?endpoint_location=local but it didn't trigger. checkout.session.completed is triggering other events like product.created, price.created and payment_intent.created. Am I doing something wrong?

What are you working on?
I'm working on a digital marketplace website with stripe as payment gateway

#

@cyan wedge pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey there! Is it possible to add an extra 'initiation fee' to a Stripe subscription price (eg. $20 the first month, but $10 every month going forward)?

Specifically for stripe connect model too.

Related Request ID(s)
-

What have you already attempted?
-

atomic shuttleBOT
#

@broken field pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to disable the "edit" button in the Mobile Payment Element? I am using the React Native mobile SDK and would love to use the payment element instead of the card form, but we can't allow users to remove all payment types (they have to keep at least one on file). I wasn't able to find information about this in the docs.

Related Request ID(s)
N/A

What have you already attempted?
Searched through the documentation here: https://stripe.dev/stripe-ios/stripepaymentsheet/documentation/stripepaymentsheet/paymentsheet

What are you working on?
converting a web app to react native

atomic shuttleBOT
#

@dense bronze pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Upgrading PHP SDK to latest stable release.

Question
Our code is currently using the v7.128.0 PHP SDK. We are looking to upgrade to the most current version but are wondering if there is a place where all deprecation that has happened in the PHP SDK between v7.128.0 and the most recent version.

What have you already attempted?
We are moving towards using confirmation tokens and they do not work in the current version of our SDK.

What are you working on?
Updating to payment element server-side capture.

#

@vital sky pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello, I am trying to restirct the origins of requests to my API. I have added the full list of domains stripe uses but still when I trigger a webhook, it gets denied. Can you tell me what is the origin of all webhook requests to my API?

Related Event ID(s)
dashboard/developers/webhooks

What have you already attempted?
added all domains

#

@next atlas pressed the ❌ An Error button in #help to ask a question:

Error Message
Invalid currency: cad. You can use these currencies for transfers for an account in US: usd

Question
Is it possible to add a new external bank account (ex. Canadian bank account) to a USA Connect account created with USD as the default currency? The dashboard throws an error saying it's not the same currency, but the dashboard doesn't give any choice for currency used by the new external bank account, it just assumes I want to use CAD, not USD.

What have you already attempted?
Went into a Connect account created with a US location and USD as the currency, clicked on "add" external account. Selected a country of "Canada", which is different then the initially created bank account of US. Then hit add and received the error about a mismatch in currencies between the CAD and USD.

What are you working on?
Website for Yoga Meetups

atomic shuttleBOT
#

@cerulean pasture pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Webhooks are no longer sending since moving to destination charges

Related Event ID(s)
req_4geMLH0v1u4SbR

What have you already attempted?
I had webhooks already setup, however, there are no more webhooks coming through

What are you working on?
Point of Sale platform

atomic shuttleBOT
#

@muted kite pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I'm trying to set the $currentCustomer after a Stripe Webhook, but the customer is not being loaded correctly by \StripeIntegration\Payments\Helper\Generic::getCustomerModel() ...

It calls \StripeIntegration\Payments\Helper\Generic::getCustomerId which has these lines:
...
// A webhook has instantiated this object
else if (!empty($this->magentoCustomerId))
...
but this IF block is never hit executed! Instead Stripe's code calls $this->sessionManager->getStripeCustomerId(); and gets the WRONG customerπŸ€¦β€β™‚οΈ

How can I enforce that the correct $currentCustomer is set during a webhook?

Related Event ID(s)
evt_1PRdSGKD3mQa0uCT3fOOoADb

What have you already attempted?
Overriding Stripe code
Emulating adminhtml in webhook observer

What are you working on?
A recurring subscription re-ordering service on Adobe Commerce

#

@broken field pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to set up future payments using CardField and/or CardForm? The example I could find with the React Native SDK uses PaymentSheet (https://docs.stripe.com/payments/save-and-reuse) and the examples with CardField use confirmPayment.

Related Request ID(s)
n/a

What have you already attempted?
const { createPaymentMethod, loading } = useConfirmSetupIntent();
I tried createPaymentMethod --> is not a function

What are you working on?
react native rebuild

atomic shuttleBOT
#

@arctic zodiac pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
We are using the react stripe library and the existing CardElement component to capture payment methods (from generated paymentTokenId). We ar enow interested in adding the new PaymentElement component to do the same thing (for ACH bank capability). Is this not possible with this new element? Everything I am seeing just involves setting up a payment intent to process a payment.

What have you already attempted?
Existing element is asking for our secret key.

atomic shuttleBOT
#

⛔️ 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 reopen on Monday June 17 around 10am UTC as the team in Asia is away for the day.

atomic shuttleBOT
#

βœ… Stripe developers are currently available on Discord!

#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to test google pay. Please help me.

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Test Card Payment

#

@leaden plank pressed the πŸ“‘ API button in #help to ask a question:

Question
android integrates stripe payments, and the server uses the Create a PaymentIntent interface to create a payment intent. Unlike checkout, there's no place to specify an item.

How to integrate if you need to specify goods?

Related Request ID(s)
None

What have you already attempted?
None

atomic shuttleBOT
#

@eternal sonnet pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We expected that the subscription schedule status would automatically be released on the start_date.

What actually happened?
After the start_date, we encountered an error when trying to set cancel_at via the Subscription update endpoint: β€œThe subscription is managed by the subscription schedule xxx, and updating any cancellation behavior directly is not allowed. Please update the schedule instead.”

Reproduction Steps

  1. Create a subscription schedule with a start_date set to the first appointment.
  2. Wait until after the start_date.
  3. Attempt to set cancel_at via the Subscription update endpoint.

Question
What exactly happens on the subscription start_date? Is a subscription automatically created? Is the subscription schedule automatically released? When exactly will the status be β€œreleased”?

What are you working on?
A cleaning subscription service

atomic shuttleBOT
#

@icy cradle pressed the πŸ“‘ API button in #help to ask a question:

Question
Our business needs `wechat_pay` or `alipay` as payment method types for subscriptions.

  1. Seems `wechat_pay` is not supported for recurring payments. What are the best workarounds for this?
  2. `alipay` supports recurring payments, but it requires approval, how do we get approval?

Related Request ID(s)
req_4SuEx64fgA1zu9, req_5fprIcM5K1fSbp

What have you already attempted?
- wechat_pay, alipay are enabled on our customer portal settings. But i understand both are not supported for subscriptions

#

@bleak flicker pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Email ID of the subscriber is not getting sent to webhook endpoint on event customer.subscription.created.

Related Event ID(s)
I tried on test mode. It is not getting sent

What have you already attempted?
Created Webhook. Configured it to customer.subscription.created event. Tried making a payment on test mode. Never received the email ID of the subscriber at the end.

What are you working on?
I want to receive email id of the subscriber for all the events to create automations on these events.

#

@dusk gulch pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How to handle payment attempt?

Related Event ID(s)
Fail attempt

What have you already attempted?
give example payment attempt

What are you working on?
payment attempt handle

#

@rocky schooner pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello,
I just have a quick question about using Custom Connected Accounts in Canada.
In our app we will have our own custom KYC and we will not use Stripe Onboarding.
For the KYC we require Government ID, WSIB and proof of insurance.
So my question is, is the SIN(Social Inurance Number) needed when creating a Connected Account and if it is, is it viable for use without that information?
Thank you for your help.
(Sorry if this question is not meant for developers)

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

What are you working on?
We are creating an app that will have escrow like payments.

#

@minor finch pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Create a payment intent with email

Question
Is it possible to make a payment intent sending a email to the customer when the payment is success?

What have you already attempted?
I have been watching the docs for swift that it where de app is made and java for the server, but i didnΒ΄t find where can i put the email for autosend a email with the invoice

atomic shuttleBOT
atomic shuttleBOT
#

@cold dragon pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I wanted the webhook url to have accout type as connect

What actually happened?
While setting up webhook url from the dashbaord it is always creating account type event though i have selected the event on connected account option

Reproduction Steps
go to developer -> webhook -> add endpoint
at listen to select event on connected account option

Question
After selecting the event on connected account it should have shown it as connect type

#

@ancient bison pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment#submit-payment

Question
Hi, our payment element payflow was implemented two years ago, which first we generated payment intent from backend, and pass client_secret to frontend and assign to payment element, then render stripe payment element component. After that, we update and confirm payment intent at backend. Now, we are trying to change to your latest payflow, which create and confirm payment intent in one step. However, we met a big problem. before confirm payment intent, we want to extract card's issue country, which is used to calculate cross board fee to assign to `application_fee_amount`.

What have you already attempted?
In old way, when update payment intent in backend, we can eaisly extract payment_method attached to payment intent by intent = Stripe::PaymentIntent.retrieve(id: payment_intent_id, expand: ['payment_method']). However in your new payflow, you finish everything in one go, even I try to add update payment intent before that, I still cannot get payment_method

What are you working on?
change old payflow to new payflow and introduce subscription too

#

@mystic plaza pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is it possible to integrate with Google Analytics 4 when I'm providing payments via Payment Link? Or it can be done only if I build a checkout page on my site and integrate with Stripe using API?

Doc/Guide Links
I'm trying to provide Stripe integration with Google Analytics 4.

What are you working on?
Subscription based website, where subscriptions are managed by Stripe, using Payment Link.

#

@gusty vale pressed the πŸ“‘ API button in #help to ask a question:

Question
When creating a stripe invoice with following params:
InvoiceCreateParams.builder()
.setCustomer(customer)
.setAutoAdvance(true)
.setCollectionMethod(SEND_INVOICE)
.putMetadata(META_KEY_SOURCE, BILLING_ADJUSTMENT.name)
.setDaysUntilDue(CHARGED_IN_SEVEN_DAYS)
.setCurrency(currency)
.build()

Does the auto advance work for send_invoice type? I am interested whether I can expect stripe to automatically re-attempt a failed payment or no.

Related Request ID(s)
in_1PSdAGLg39QVbFmiDOevUjg0

What have you already attempted?
I've read https://docs.stripe.com/invoicing/integration/automatic-advancement-collection

Creating the invoice with auto advance = true does not throw any errors from Stripe API with collection method send_invoice. But I cannot find explanation in the API docs in terms of what to expect. Since due dates take a lot of time to test different scenarios, I thought I would seek help from people who know better.

What are you working on?
telemedicine insurance payment adjustments

atomic shuttleBOT
#

@dusk gulch pressed the πŸ“‘ API button in #help to ask a question:

Question
subscription payment attempt issue every time return 1 so how to increment payment attempt increase ?

Related Request ID(s)
req_3ggJaHKBkJEB79

What have you already attempted?
payment attempt failed

What are you working on?
field attempt to current plan cancel and downgrade plan

#

@barren harness pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am using stripe account testing mode so it will early onboard my account but when i switch environment to the live mode so my expectation is my account will be easily complete onboard process

What actually happened?
In test mode it will easily onboard account but in live mode i am not able to complete onboard process and stripe is not giving any error or pending verification warning

Reproduction Steps
following stripe onboarding process till complete in live mode.

Question
when I onboard my account in stripe test mode hit account.update webhook event after completing onboarding process and it work perfectly but when i switch to live mode I am not getting account.update weebhook event after successfully completing onboard process also not getting any error or pending document verification warning from stripe.

atomic shuttleBOT
#

@haughty mist pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi Team,
I am trying to create "Invoice item" in stripe from Postman whenever I am sending "unit_amount_decimal" value is 1250 from postman in stripe this value is converter in 12.50 & when I am sending 12.50 this will convert in 0.13 in stripe. Can you please help me how to I can do

Related Request ID(s)
No request id, just a question

What have you already attempted?
Trying to create invoice item for value 0.01.

What are you working on?
Trying to create Invoice from Business central.

#

@thick kraken pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
I want help with implementing mandates in our existing workflow and I am not sure how to create mandate. I can only find a mandate retrieve API.

What have you already attempted?
After going through the docs, I tried setting up mandate details in payment method options with setupIntent create Api but it didn't work.

What are you working on?
In our business model or current flow, we don't have stripe subscription for our customers since the amount cannot be determined or fixed. we create customer using setupintent and thus register paymen

atomic shuttleBOT
#

@brisk basin pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://us-prod-dpa-doc.sap.stripeconnectors.com/docs/StripeSAPDPAAdapterUserGuide.pdf

Question
How to use stripe v2 payment UI in a custom application using SAP Digital Payment Addon

What have you already attempted?
We have integrated SAP Digital Payment Addon with Stripe V1 and using SAP Digital Payment Addon APIs and JS Library called the Payment UI

What are you working on?
Integration with SAP Digital Payment Addon

atomic shuttleBOT
#

@azure spindle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We are trying to provide subscriptions with "extras".
That is, add on items that are seen more as extra features.

My thinking is the only way to do this is to add a nice price to the the subscription prorated if an item is added, but I'm not sure if there's another option ... thoughts smart devs?

Doc/Guide Links
mmm ... sorry, I don't have link.

What are you working on?
Stripe integration ... 2.0!!!! (For us)

atomic shuttleBOT
#

@dusk gulch pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Payment failed attempt count not increase for web hook

Related Event ID(s)
evt_1PSYaqIErBwOu8QAPKgzFyyT

What have you already attempted?
my failed event call first time meet the attempt count 1 and second same event call not increase attempt count

What are you working on?
how to increase attempt count

#

@trim cloud pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/revenue-recovery/customer-emails

Question
Does stripe sent invoices to billing emails setup in the customer account as well? Or only the customer account email setup while creating it?

What have you already attempted?
Added a new billing email manually on customer's account

What are you working on?
Updating invoice email for a customer

#

@strange pewter pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We implemented a sign up flow on our website that goes sort of like: users add info & Customer obj is created -> Subscription created -> users is directed to Stripe element & fills their billing info -> Payment Intent completed & their subscription is Active upon success. we charge $55/month on this. we expect them to get invoiced & charged for $55

What actually happened?
the whole flow completed as expected, however what is reflected and invoiced to them isn’t $55 ok the first invoice. it’s $53.55. the math for this doesn’t seem to equal 2.9% + 30 cents per successful charge for domestic cards. that should be about $53.11

Reproduction Steps
sign up successfully on our website, pick a subscription, input payment info successfully, and complete first invoice successfully

Question
why are we not charging the full $55? is the $53.55 just the stripe fees? how can we confirm it’s the stripe fees? if it’s not the stripe fees, what is it? we confirmed $55 is also not what is being taken out of customers accounts. we shouldn’t be required to pay taxes on these memberships in the state of Nevada. these subscriptions are for memberships to a gym.

What are you working on?
a website to purchase memberships to our gym. the portal currently is so admins can manage users.

#

@harsh saffron pressed the πŸ“‘ API button in #help to ask a question:

Question
how do I make a stripe connect request that takes the users personal info into the final account object when retrieved?

Related Request ID(s)
na

What have you already attempted?
I attempted to create a login link but that doesn’t return individual data

What are you working on?
a restaurant mobile application CMS

atomic shuttleBOT
#

@sour idol pressed the πŸ“‘ API button in #help to ask a question:

Question
payment intent single transactin - one of 100 & one of 20
in one stripe payment

pass to one to first connected ac
pass to two to second connected ac

charge my application fee for 1st account

Related Request ID(s)
connected account

What have you already attempted?
connected account

What are you working on?
payment intent single transactin - one of 100 & one of 20 in one stripe payment pass to one to first connected ac pass to two to second connected ac charge my application fee for 1st account

atomic shuttleBOT
#

@thick kraken pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Need help with implementing mandate

I have already asked this in another thread but it has been closed now. please check my previous thread

What have you already attempted?
The payment failed: The parameter `mandate` is not provided or invalid. Please either provide the id of an existing mandate or create a new mandate

this is the error I am facing with card payment methods mostly with Indian customers

I already have a stripe flow with setupIntent for customer creation and adding payment method

#

@icy wasp pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const publishableKey = Constants.STRIPE_KEY;
function Payment(props) {
return (
<StripeProvider publishableKey={publishableKey} merchantIdentifier="merchant.prmassist.com">
<Reward {...props} />
</StripeProvider>
);
}
const openPaymentSheet = async () => {
const { error } = await presentPaymentSheet();
if (error) {
console.log('1')
setFinalPaymentFail(error.message);
console.log(error.message)

Question
I got this in the logs:
You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY'). See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe.com/.

this code did work so i dont understand why it doesnt anymore

What have you already attempted?
I have gone through the api documentioln and i have checked github forums, youtube videos but nothing to work

What are you working on?
stripe integration for a marketplace in react native

#

@rotund fractal pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hi, we had set up a webhook event for invoice.created but we actually needed invoice.finalized. we noticed too late and now we have about a dozen invoices for which we need that finalized event but since it was not turned on yet we can't refire that event. is there way to trigger a webhook for that event after we add it as a webhook?

Related Event ID(s)
evt_1PSdNEDgx1UehyAu686aLZ2Y

What have you already attempted?
We've looked in the docs for ways to do this and checked the dev console to (re)trigger the event but to no success

atomic shuttleBOT
#

@fiery stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to create a Stripe subscription for an amount that's defined during the checkout process by the user?

Related Request ID(s)
Not available

What have you already attempted?
Reviewed the Stripe Billing / Subscription documentation. It looks as if this can't be done without creating lots of products.

What are you working on?
Stripe Billing / Subscriptions integration

#

@cyan wedge pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey there! I'm adding some additional line items to a subscription price. Is it possible to add multiple line items of different currencies inside one checkout instance?

Eg. There's a $10 USD monthly subscription + $20 USD initiation fee (line item) + $5 CAD fee (line item).

Or do all items need to be the same currency?

Related Request ID(s)
-

What have you already attempted?
-

atomic shuttleBOT
#

@hearty raven pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is there a way to send payment links with just an amount but no lineitems/products?

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

What are you working on?
Property Management System

atomic shuttleBOT
#

@eager vault pressed the πŸ“‘ API button in #help to ask a question:

Question
We're trying to create stripe connect accounts that have full access to the stripe dashboard, but we cover the stripe fees. The documentation implies that this is possible here: https://docs.stripe.com/connect/design-an-integration#your-personalized-guide, but when we try to create the accounts with the API we're getting this error: `InvalidRequestError: Request req_XXX: `fees[payer]=application` is not supported when creating an account with the full dashboard.`

Related Request ID(s)
n/a

What have you already attempted?
We're currently just continuing to test with express accounts, but we would like the created accounts to be able to handle refunds using the full stripe dashboard

What are you working on?
Stripe Connect

#

@hushed lily pressed the πŸ“‘ API button in #help to ask a question:

Question
How to create express account in Dominican Republic?

Related Request ID(s)
req_akaeoCD5bV2DaL

What have you already attempted?
Create API call using this endpoing -> https://api.stripe.com/v1/accounts?country=[country]&type=[type]&email=[email]&capabilities[[card_payments]][[requested]]=true&capabilities[[transfers]][[requested]]=true

What are you working on?
An App like Task Rabbit which intended for Dominican Republic Tasker but my client is located in the US

#

@warm pagoda pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
i use "save and reuse"
i have a credit card identifier (fingerprint + idPaiement (pm_)

i want to block on hold for 5/7 days.

can i do that without asking the customer to add his card again ?

What have you already attempted?
for now, nothing. i just asking

atomic shuttleBOT
#

@rancid crest pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We recently had an ACH transaction disputed and the funds reversed without us even being able to submit evidence. As a merchant, is there another form of payment we can accept so that the funds CANNOT be pulled back away from us? Besides cash of course. Bank wire transfers perhaps?

Doc/Guide Links
https://stripe.com/resources/more/bank-transfers-explained

What are you working on?
Possiblly looking into accepting bank wire transfers

#

@leaden nest pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Do we need to verify the domains that our javascript booking interface is embedded on that is serving up our content and the payment element? Or do we just need to verify the main domain that is serving up the actual content?

What have you already attempted?
n/a

What are you working on?
We provide our customers with 2-lines of code that they embed within their CMS that renders a booking interface. All of the content (including the Stripe Payment Element)gets served up via our domain

#

@sharp forum pressed the πŸͺ Webhooks button in #help to ask a question:

Question
With async subscription payments (Sofort), is customer.subscription.{created} sent immediately or after 2-14 business days? Does this subscription come with a validate date respective to the fund capture timestamp or when checkout.session.completed is sent?

Related Event ID(s)
n/a

What have you already attempted?
Nothing yet. I am trying to wrap my mind around how this works to mock some code for testing.

What are you working on?
AI Image Generation Service

#

@ivory socket pressed the πŸ“‘ API button in #help to ask a question:

Question
In test mode, working on setting up webhook handling on Java platform, currently just setting it up to log incoming request body. I can hit it with Postman, but when I use stripe-cli to trigger an event I just get 403

Related Request ID(s)
req_ddzghRo6KiJHN2

What have you already attempted?
Tried hitting the endpoint with Postman. Tried reading docs: https://docs.stripe.com/cli/listen, examining webhook error in dashboard

What are you working on?
Building Stripe integration with Stripe-hosted dash and direct payments

#

@exotic marsh pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I use payment links on our website, but when a customer buys there (e.g. via paypal) no invoice is created. Ive seen that there are several ways, but what is the easies, no code implementation to have the invoices created and sent to the new customers automatically?

Doc/Guide Links
https://docs.stripe.com/invoicing/integration
https://support.stripe.com/questions/create-and-send-an-invoice-using-stripe-billing

What are you working on?
make some agency services available for sale

#

@cyan wedge pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey there! I have a stripe checkout session for a subscription price and an additional one-time payment line item.

I have a free trial for the subscription price. How can I add a free trial to the single line item also? Is this even possible? Ideally, I only want the user to pay the one time payment + their first subscription payment after the free trial.

Related Request ID(s)
-

What have you already attempted?
-

#

@pure crane pressed the πŸ“‘ API button in #help to ask a question:

Question
Should setup_future_usage be updated on the payment intent each time customer change its payment method?

Related Request ID(s)
-

What have you already attempted?
I'm collecting payments informations before creating the intent (https://docs.stripe.com/payments/accept-a-payment-deferred).

I want to use either card or Twint. In case it is card I want to save the card using setup_future_usage: 'on_session'.

I have seen this value must be aligned on the client when I init stripe Elements and on the server when I create the intent.

My issue is initializing Stripe Element on the client with setup_future_usage: 'on_session', will remove Twint from the eligible payment method.

What is the good pattern to handle this?

#

@amber gust pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
What are the best practices when it comes to what info a user should input in a registration form/account for a website that uses stripe for subscriptions? I'm working with ruby on rails' devise which by default only asks for email and password. However I see many sites ask for firstname, lastname, some country and others a phone number. My question is mainly concerned with avoiding bad actors (stolen cards, wrongful chargebacks etc.). Thanks

Doc/Guide Links
i don't think this info is in the docs

What are you working on?
SaaS with subscriptions

#

@next atlas pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
var payoutOptions = new PayoutGetOptions(); payoutOptions.AddExpand("balance_transaction");
var requestOptions = new RequestOptions { StripeAccount = "acct_xxx"};
var service = new PayoutService();
var payoutResult = await service.GetAsync("po_xxx", payoutOptions, requestOptions);
var fee = payoutResult.BalanceTransaction.Fee;

Question
After I fetch a payout and include the balance transaction as an .AddExpand field, I always get $0 as the balance transaction fee. Using the API how can I get the fee Stripe charges me for each payout? I need to calculate this fee into my costs and I need to do it using the API.

What have you already attempted?
Attempted to fetch a payout using the API trying to get the payout fee Stripe collected from me.

What are you working on?
Website for Yoga Meetups

#

@vocal wagon pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
```
for await (const subscription of Stripe.subscriptions.list({ limit: 100 })) {
```

Question
Is there any way to iterate over subscriptions linked to a specific product only ? I'm trying to create a guard to be notified in case there is mismatch between subscription status on our side and at Stripe

What have you already attempted?
Read :

https://docs.stripe.com/search#supported-query-fields-for-each-resource

https://docs.stripe.com/api/subscriptions/list

What are you working on?
Building Edith & Nous

#

@eager vault pressed the πŸ“‘ API button in #help to ask a question:

Question
We're trying to implement a configuration connected accounts that the documentation online says is valid but we're getting errors on account create.
https://docs.stripe.com/connect/design-an-integration?connect-onboarding-surface=hosted&connect-dashboard-type=full&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-charge-type=direct#your-personalized-guide

Is this not a valid configuration?

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

What have you already attempted?
n/a

What are you working on?
Stripe Connected Accounts

atomic shuttleBOT
#

@coral phoenix pressed the ❌ An Error button in #help to ask a question:

Error Message
There was an error processing the payment: The payment method type "link" is invalid. Please ensure the provided type is activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use.

Question
How to solve this everyone getting this error while using stripe

What have you already attempted?
Nothing Need Help to solve this problem

What are you working on?
I have ecommerce website and i using this payment gateway last 1 year currenty my customer report this error

atomic shuttleBOT
#

@versed lodge pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to test a customer booking another tutor, but when I try it, i get this error,

024-06-17T16:36:00.185755+00:00 app[web.1]: Error in authorize-charge endpoint: StripeInvalidRequestError: Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments
2024-06-17T16:36:00.185821+00:00 app[web.1]: at StripeError.generate (/app/node_modules/stripe/lib/Error.js:10:20)
2024-06-17T16:36:00.185822+00:00 app[web.1]: at res.toJSON.then.Error_1.StripeAPIError.message (/app/node_modules/stripe/lib/RequestSender.js:105:

Related Request ID(s)
5d17b0b1-4991-468c-ac36-72ef52fcc45e

What have you already attempted?
I have tried to go into the stripe dashboards and such and I couldnt find this option to turn on

What are you working on?
Tutoring app

atomic shuttleBOT
#

@ancient bison pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/create#create_subscription-collection_method

Question
we want to setup a monthly subscription for 4 months only, collection_method is charge_automatically, customer needs to be auto charged at the beginning of cycles(which is the time we create subscription). it auto be cancelled after charging customer 4 times, is it possible?

What have you already attempted?
When I test monthly subscription, I found it will auto charge customer at the end of cycle?

What are you working on?
installment by subscription

#

@shut spruce pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is there a way to add a fee on a stripe checkout session, depending on the payment method selected? For example, if the user choses Revolut Pay, add 0.25 EUR to the total..

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

What are you working on?
Ecomm checkout

atomic shuttleBOT
#

@eternal jewel pressed the πŸ“‘ API button in #help to ask a question:

Question
Does Stripe have the API for customer to download invoices

What have you already attempted?
Looked for API document, but not sure which one is the correct answer

atomic shuttleBOT
#

@surreal veldt pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/ach-debit#mandates

Question
What happens to the mandate once the payment has been collected for a one-off ACH debit payment?

What have you already attempted?
read docs

#

@ivory socket pressed the πŸ“‘ API button in #help to ask a question:

Question
Still trying to resolve the webhook issue. I am getting 403 errors from the stripe-cli webhook triggering event, and I can't figure out why.

Related Request ID(s)
evt_3PSjJ4IzJqdgXYvP2ItCFUkt

What have you already attempted?
I tried hitting the endpoint with Postman, which worked. I've read https://docs.stripe.com/cli/listen, I've refactored according to https://docs.stripe.com/webhooks/quickstart. Now both Postman and Stripe give the 403.

What are you working on?
Integration with Connect, Stripe-hosted dashboard and direct billing

#

@carmine hedge pressed the πŸͺ Webhooks button in #help to ask a question:

Question
If I issue virtual card to someone, they use it on certain shop. i know i can get information about that shop: name, location etc. Can I get items they bought?

Related Event ID(s)
Webhook Auth Issuing Cards

What have you already attempted?
It's a question

What are you working on?
Webshop

#

@gaunt seal pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I'm selling a product which is one-off, not subscription, has 2 price IDs and is eligible for coupon discount, using the payment and address elements. The end user can select one or the other price and/or apply a discount coupon which updates the payment element. We need all completed transactions to have a Stripe customer associated with it. Some we have for users that are logged in, but guest payments we'll need to create a Stripe customer.

I'm confused what the high-level order should be for this scenario. Collect payment first or upon submission, create/retrieve Stripe customer, create an invoice and associate it with the customer, add lineItem, finalize...

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred

What are you working on?
Customer and guest checkout flow

#

@foggy latch pressed the πŸͺ Webhooks button in #help to ask a question:

Question
We're sending our own dunning emails for failed subscription payments from within our app. Right now we're using the "invoice.payment_failed" webhook for this. The problem is that our first dunning email says that we will retry the payment (we have it set for 4 smart retries in a 2 week period), but this isn't the case for customers connected via bank account, as their subscription is immediately canceled when the payment fails. So I think we'll either need to figure out how to do smart retries for bank accounts, or how do we determine if it's a bank account attached via the webhook.

Related Event ID(s)
in_1PQf9a2hqajdreQx86fyzzXf

What have you already attempted?
Looked through the webhook payload but couldn't determine how to see if this is for a bank account and not a card. Should we be using the invoice.payment_failed webhook for dunning emails?

What are you working on?
Dunning emails from within our app

#

@wet mesa pressed the πŸ“‘ API button in #help to ask a question:

Question
How to update the billing cycles (date of last payment, date of next payment) of a billing subscription.

Related Request ID(s)
None

What have you already attempted?
Looking the doc but it looks like its only possible when creating a subscription.

What are you working on?
I recently imported/migrated subscriptions and I did a mistake with the billing cycles. Do you advise me to cancel the migration and re-do it or can I simply edit the subscriptions through the API?

#

@silent junco pressed the πŸ“‘ API button in #help to ask a question:

Question
The Stripe dashboard allows creating test clocks for existing customers -- it launches the create request with the `customer` parameter. However, the docs say this is not supported (see https://docs.stripe.com/billing/testing/test-clocks/api-advanced-usage), and I get an InvalidRequestError when trying to send the `customer` parameter to the create test clock endpoint. Is there a way this could be supported?

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_pgrhxwgcnbT8qB, https://dashboard.stripe.com/test/logs/req_G4AN8FeAB06cEH

What have you already attempted?
I've made near-identical requests from the dashboard and the api -- the dashboard one went through, and the api one failed. Note that the dashboard request is using API version 2023-08-16, and the API request is using API version 2024-04-10.

What are you working on?
I'm working on testing infrastructure for my company's development environment; we'd like to be able to fast-forward time for users in our development environment to verify correct billing behavior.

#

@unkempt pagoda pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
val config = DiscoveryConfiguration(20, DiscoveryMethod.LOCAL_MOBILE, false)

Question
The Terminal `localmobile` module must be included for this DiscoveryMethod

What have you already attempted?
I already tried to add many localmobile library that's my stripeterminal one: implementation "com.stripe:stripeterminal:2.21.1"

What are you working on?
TapToPay Android

#

@drowsy kindle pressed the πŸ“‘ API button in #help to ask a question:

Question
A client's customer's subscription cancelled but I am not sure why.

Related Request ID(s)
evt_0PSkcAwPNbMMXFhmOajNg3qY

What have you already attempted?
I have looked through the logs. The subscription payment went through last month (in_0PHUsywPNbMMXFhmrNw3Mbpb) but failed this month (in_0PSjfUwPNbMMXFhmVReKBNOW). It is the same subscription and same bank account. What changed between the two months?

What are you working on?
subscriptions

#

@final pagoda pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We implemented a sign up flow on our website that goes sort of like: users add info & Customer obj is created -> Subscription created -> users is directed to Stripe element & fills their billing info -> Payment Intent completed & their subscription is Active upon success. we charge $55/month on this. we expect them to get invoiced & charged for $55

What actually happened?
the whole flow completed as expected, however what is reflected and invoiced to them isn’t $55 ok the first invoice. it’s $53.55. the math for this doesn’t seem to equal 2.9% + 30 cents per successful charge for domestic cards. that should be about $53.11

Reproduction Steps
sign up successfully on our website, pick a subscription, input payment info successfully, and complete first invoice successfully

Question
why are we not charging the full $55? is the $53.55 just the stripe fees? how can we confirm it’s the stripe fees? if it’s not the stripe fees, what is it? we confirmed $55 is also not what is being taken out of customers accounts. we shouldn’t be required to pay taxes on these memberships in the state of Nevada. these subscriptions are for memberships to a gym.

What are you working on?
a website to purchase memberships to our gym. the portal currently is so admins can manage users.

#

@polar grail pressed the πŸ“‘ API button in #help to ask a question:

Question
We're trying to pass metedata from a webpage into the checkout page via the payment link so that our users can collect more information from the person making a payment. Stripe limits it to 3 optional fields but our users require 4-5 fields for each payment

Related Request ID(s)
None

What have you already attempted?
We tried adding a 4th optional field to the checkout page but there is a limit of 3,

What are you working on?
We are building a donations page for our customers who run fiscal sponsorship and NGOs

#

@frozen elbow pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm consuming this api for getting transaction data based on payout ids on here https://stripe.com/docs/api/balance_transactions/list. I know that the payouts themselves, if they are daily/scheduled will take all transactions or transfers (or reverse transfers) in a day and get a total. And when I look at the transactions for one of my payouts I see a reverse transfer/refund or partial transfer. However, based on some historical outputs it doesn't look like the reverses are appearing. Is there a way for me to see the output for an older payout and its balance transactions?

Related Request ID(s)
NA

What have you already attempted?
It seems like via the cli that I'm unable to hit the payout id via "stripe balance_transactions list --payout [payout_id]" as it says it doesn't exist anymore. Is there any way to still access the output of the balance transactions api to this payout? Or is it too old (it's from March of 2024)?

atomic shuttleBOT
#

@leaden nest pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-card-element-comparison#:~:text=For most users,improve checkout conversion.

Question
For context, we are in the process of migrating from the card element to the payment element. Will the Apple Pay and Google Pay buttons appear by default within the new Payment Element component similar to how iDEAL does if the criteria are met or will we need to add the buttons ourselves?

What have you already attempted?
n/a

atomic shuttleBOT
#

@shell warren pressed the πŸ“‘ API button in #help to ask a question:

Question
I've noticed that when I create a customer with a subscription with `payment_settings.save_default_payment_method: 'on_subscription` the customer still has `invoice_settings.default_payment_method: null`. Why is that? How can I ensure the default payment method is tied to the customer and not the subscription.

Related Request ID(s)
req_GUAz3JoEAQgluK

What have you already attempted?
On the client side (production) I'm suing stripe.confirmCardPayment to attached payment, but in my test suite ( dev ) I'm using `stripe.paymentIntents.confirm` or `stripe.setupIntents.confirm`

What are you working on?
I'm trying to fix a bug where the payment method is sometimes attached to the customer (for example when addition card are added) and sometimes added the the subscription (when first created).

#

@trim yacht pressed the ❌ An Error button in #help to ask a question:

Error Message
The payment method type "us_bank_account" is invalid. Please ensure the provided type is activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use.

Question
I'm operating a marketplace with connected accounts - one connected account is unable to accept ACH payments and I'm having difficulty finding the right settings to have them turn on.

What have you already attempted?
With the owner of the connected account, we went to https://dashboard.stripe.com/settings/payments and enabled ACH Direct Debit

Reproduction Steps
PaymentIntent create call from C#

What are you working on?
Ecommerce Marketplace, Payments Via ACH

atomic shuttleBOT
#

@lapis torrent pressed the πŸ“‘ API button in #help to ask a question:

Question
i'm trying to get the notification banner embedded connect component to show what accounts need to update. in my test environment i have acct_1PC7kIGb5HQ01JiE which is restricted because it was never set up. i'm able to create the session, but nothing shows up. the only time i've seen things show up is when i was configured incorrectly and i got a message "something went wrong. there was an error during authentication."

Related Request ID(s)
req_UQvrjCBEXiqn2A

What have you already attempted?
i'm following the guide here: https://docs.stripe.com/connect/supported-embedded-components/notification-banner

i'm using the react component. i've tried both Brave and MS Edge browsers.

What are you working on?
we are a marketplace for self-storage

#

@twin kernel pressed the πŸ“‘ API button in #help to ask a question:

Question
I cannot update the billing portal that I created as default for my stripe connected users. Is there a work around?

Related Request ID(s)
None

What have you already attempted?
I tried to update it but it says "You cannot make any changes to a PortalConfiguration that was not created by your application, or to a PortalConfiguration that has `is_default: true` on a connected account."

What are you working on?
Enabling payment method update on existing portal configs that has it disabled.

atomic shuttleBOT
#

@fresh basin pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
n/aaaaaaaaaaaaaaaaaa

Question
I am having trouble figuring out which guide I should be looking at for what i’m trying to do.

What have you already attempted?
I have already attempted a couple of them but i don’t believe they fit exactly.

What are you working on?
I am trying to be the host of a wager and payout the winner based on the outcome. I will only allow it to be between two parties.

atomic shuttleBOT
#

@compact agate pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
What are the best practices for handling subscription cancellations with an outstanding balance for a seat-based monthly subscription service? (where we invoice prorated amounts each billing cycle)

e.g. say a user creates a subscription at the beginning of the month (pays for 1 seat), then adds a user immediately. After 29 days, they decide they want to cancel the subscription immediately and delete their account. We want to allow this action to go through if we can successfully invoice them for the prorated amount of the added seat (29 days * monthly subscription cost), and reject it if payment fails. Is this the right approach?

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

What are you working on?
seat-based monthly saas subscription product

#

@real compass pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am trying to offer the first 500gb of usage free, after that .03 per gigabyte. This is usage based metered billing, it lets me do tiered pricing, but i cannot enter a 0.00 price for the first tier.

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

What are you working on?
billing customers for storage usage

atomic shuttleBOT
#

@small anvil pressed the ❌ An Error button in #help to ask a question:

Error Message
DEVELOPER_ERROR in loadPaymentData: An error occurred in call back, please try to avoid this by setting structured error in callback response
(anonymous) @ instrument.js:110
J @ pay.js:193
sd @ pay.js:232
(anonymous) @ pay.js:234
Promise.then (async)
td @ pay.js:234
Bd.b.onpaymentmethodchange @ pay.js:241
Show 1 more frame
Show less

Question
when I try to execute the confirm method with express checkout, I get the attached error. but I have no idea what it means. could you give me a hint about it?

What have you already attempted?
try to update stripe js. but it look already up-to-date

<script src="https://js.stripe.com/v3/"></script>

Reproduction Steps
const expressCheckoutElement = elements.create('expressCheckout')
expressCheckoutElement.mount('#express-checkout-element');
expressCheckoutElement.on('confirm', async (event) => {
// enable email required
const options = {
emailRequired: true
};
event.resolve(options)
}

What are you working on?
i would like to execute google pay or apple pay with storing customer email as billingDetails

atomic shuttleBOT
#

@thick kraken pressed the ❌ An Error button in #help to ask a question:

Error Message
invalid_request_error - payment_method

The mandate used to pay this invoice is incompatible with the payment method or source used.

Question
I am unable to understand the error as the mandate options were correctly send and created. Not sure what else I need to add.

What have you already attempted?
I created mandate with required params and tried finalizing a invoice with the mandate created but failed with the above error.

Reproduction Steps
https://dashboard.stripe.com/test/logs/req_eqs6TSqBEnBASs?t=1718676747

Here is the request id if it helps to identify the issue.

What are you working on?
I am building a saas platform where we charge the customer per usage base and we manually create invoice at month end.

atomic shuttleBOT
#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
Implement Google Pay To Website

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Implement Google Pay To Website

atomic shuttleBOT
#

@cerulean frigate pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to automatically create a Stripe Customer as part of a checkout session if I have not provided a `customer` value.

This errors with `You may only specify one of these parameters: customer, customer_creation.`

If I don't provide a `customer` and also don't provide a `customer_creation`, does this create a new customer in Stripe anyway?

Essentially I want to make sure that any `"checkout.session.completed"` objects have a populated `customer` ID

Related Request ID(s)
N/A

What have you already attempted?
- Adding `customer` to request, omitting `customer_creation` works
- Omitting `customer`, adding `customer_creation` does not handle existing customer flow
- Adding `customer` and `customer_creation` errors at checkout creation

atomic shuttleBOT
#

@edgy igloo pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Im running a webhook for updates on subscriptions, im trying to use the webhook to catch when a subcription goes from trialing to active aka its paid up.

The issue im having is that once payment card is added to the subcription and due date comes and payment fails its considered an "active" subscription and the wbhook becomes useless

Related Event ID(s)
gg

What have you already attempted?
Previous attributes "Trialing"

What are you working on?
Automation

atomic shuttleBOT
#

@dusk gulch pressed the πŸͺ Webhooks button in #help to ask a question:

Question
it's possible payment failed attempt_count testing in stripe test mode ?

Related Event ID(s)
Payment failed attempt count

What have you already attempted?
four attempt count complete after cancel current subscription

What are you working on?
subscription

atomic shuttleBOT
#

@arctic oxide pressed the πŸ“‘ API button in #help to ask a question:

Question
The subscription has cancel_at_period_end set to true. What are the implications if we set it to False? Will the subscription be cancelled anyway after the subscription ends (in this case after a year)?

Related Request ID(s)
I will share privately the sub_id

What have you already attempted?
I have compared for other users this value and usually it is set to False. So not sure how this value is set to true for a single customer?

atomic shuttleBOT
#

@left comet pressed the πŸ“‘ API button in #help to ask a question:

Question
Quick question regarding Stripe API calls, since we updated from making API calls on behalf of connected accounts to Destination charges. When retrieving the charge object data or balance transaction data which account should I refer in the API call? The platform or the connected account? Or is there a way to make a charge on behalf of the connected account and have stripe instead deduct the stripe processing fee from the application_fee_amount instead?

Related Request ID(s)
N/A

What have you already attempted?
The reason for the switch is since we are passing off the charges to the customer who is purchasing the product via the application_fee_amount. Creating a direct charge on behalf of the connected account would instead deduct the stripe processing fee from the whole charge amount (which is normal behavior I believe) then separate's the application_fee_amount from it which in turn would make it seem as we deducted the processing fee twice from the connected account's Net Amount.

What are you working on?
basically we have a connected account offering sales for ticketing.

atomic shuttleBOT
#

@rancid terrace pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
If I add a $12.50 coupon to an update to my tiered where an unit costs $50 subscription for one time, the next upgrade should cost $37.50 and the next $50

What actually happened?
The tiered subscription quantity increase after the one when the coupon was applied costs the coupon difference, in this case $62.50

Reproduction Steps
Create a tiered subscription in Stripe where each item costs $50, create a one-time coupon for $12.50, apply it once when upgrading quantity and then upgrade quantity by one once more

Question
How can I make it so the $12.50 discount that gets applied once does not make the next quantity increase cost more than the regular price?

What are you working on?
SaaS

atomic shuttleBOT
#

@thick kraken pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expected the Invoice to finalise with provided mandate id.

What actually happened?
It failed with the error:

invalid_request_error - payment_method

The mandate used to pay this invoice is incompatible with the payment method or source used.

Reproduction Steps
- create mandate using SetupIntent
- create invoice with Invoice.create API and pass the mandate id
- finalise the invoice

Question
Upon checking it could be due to some missing mandate params in the paymentIntent. However, the paymentIntent for the invoice wasn't explicitly created by me rather it got created when invoice was finalized.

How can I pass mandate_data info in Invoice.create API? Is there a way to create Invoice directly using paymentIntent?

What are you working on?
I am building a saas platform where we charge the customer per usage base and we manually create invoice at month end.

#

@minor finch pressed the πŸ“‘ API button in #help to ask a question:

Question
ΒΏIs there an endpoint to received a invoice with a transaction id?

Related Request ID(s)
-

What have you already attempted?
-

atomic shuttleBOT
#

@vagrant ibex pressed the πŸ“‘ API button in #help to ask a question:

Question
Good afternoon We sell subscriptions through the website. The customer comes to the checkout page, we use the following code. That is, we create a new subscription, pull out the latest invoice from it, and from the invoice we pass the payment attempt identifier to the front-end side. Everything works great, but now we have a new requirement. Through the ordering page, change the number of items in the order (number of subscriptions). And here the problem begins, I cannot change the number of positions either in the pending subscription or in the invoice. Perhaps you can recommend any solution

Related Request ID(s)
no

What have you already attempted?
standard code

#

@tall flower pressed the πŸ“‘ API button in #help to ask a question:

Question
I created a custom field during checkout. how can i retrive and edit this field?

Related Request ID(s)
not available

What have you already attempted?
Checked developer dashboard but can't see on customer detail

What are you working on?
Retrive custom field "SDI "and edit if necessary

atomic shuttleBOT
#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
I am implement google pay in my website, but it does't display

Related Request ID(s)
acct_1MMCGLGj9wZxiJmi

What have you already attempted?
I am implement google pay in my website, but it does't display

#

@last galleon pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We've added Link in our Payment Element, and was expecting the saved payment method to be Link and Card in our test environment of the Stripe Dashboard.

What actually happened?
After the payment was successful, sometimes the saved payment method in the dashboard was Link and sometimes it was Link and Card.

Reproduction Steps
Add a card through Link in the Payment Element and pay with that card. Then see what payment method is stored in the Stripe Dashboard. Sometimes it's Link and Card, and sometimes it's just Link.

Question
Is there a way to ensure that payment with a card through Link is stored as Link and Card consistently and not just Link?

What are you working on?
Adding more payment methods to our custom-built checkout

#

@neat ferry pressed the πŸ“‘ API button in #help to ask a question:

Question
My question is : I've implement subscription plan three type(essential, growth and unlimited)
Now this task I've to implemented :

Essential $19p/m + 1.7% of revenue (1 product)
Growth $65p/m + 1.6% of revenue (upto 10 products)
Unlimited $120p/m + 1.5% of revenue (unlimited products)
Pay annually and save 20% (edited)
Client will subscribe for say 50 dollars a month. Then based on sales we capture in the backend, it will send an amount to stripe at the end of the month and ask them to pay certain percentage of the sales as commission to Haze.
For example -
Fixed Subscription - $50 a month

Related Request ID(s)
Implementing the comission from revenue generated how to do it ?

What have you already attempted?
I've implemented simple checkout session.

#

@foggy bolt pressed the πŸ“‘ API button in #help to ask a question:

Question
I would like to follow-up on a previous discussion I was having with toby and a few other supporters. This was about the past phases of a subscription schedule not showing up using the retrieve function IF the subscription time was changed using a test clock.

Related Request ID(s)
Non

What have you already attempted?
I have attempted to retrieve the phases on a regular live subscription schedule which has two months passes. Past phases are showing up as expected. I have read past phases on a test simulation as well. Past phases do not show up. I just want to confirm if that's the expected behaviour.

What are you working on?
E-Commerce platform

#

@sweet elbow pressed the πŸ“‘ API button in #help to ask a question:

Question
Helloooo, I have a custom checkout process that can have subscriptions and one off purchase items.
Scenario 1: Subscription + one-off item in cart. I collect card on F/E (CardElement) and process 1) attach card, 2)create schedule and add_invoice_items - works perfect :-)
Scenario 2: only one-off and client doesn't check "save card" - same flow doesn't work now because no attached payment method :-(

Question is do I need a totally different flow for scenario2 vs scenario1?

Related Request ID(s)
No id

What have you already attempted?
We collect the clients credit card (createPaymentMethod) on the F/E using the card element. Pass that along with the items to the PHP backend and do subscriptionSchedules->create with all the required phases and add the one off items with invoiceItems->create. This works great but if we don't have subscription items and just do invoiceItems->create followed by invoices->create then it throws a error that the payment method we provided MUST be attached to the client. How do we do this without an attached payment method - so one time card use please?

What are you working on?
Saas platform for yoga studios

atomic shuttleBOT
#

@remote horizon pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/billing-cycle?locale=en-GB

Question
I'm trying to allow users to pro-rate subscriptions, using the `billing_cycle_anchor` field.

How do you go about setting it so that e.g:

it is the 18th June, and we want to pro-rate the subscription from the 31st June and going forwards it will be billed on the 31st of each month.

What have you already attempted?
using the `billing_cycle_anchor_config` object - we cannot use this as we are on too old a version of the API

#

@undone goblet pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello. I'm integrating Paypal using new ExpressPaymentElement.
But I get some issue when I was trying to confirm payment using: `stripe.confirmPayment` method. It said that `The shipping information on this PaymentIntent was last set with a secret key and therefore cannot be changed with a publishable key. Please use your secret key instead.`.

Related Request ID(s)
req_LBFOeHt3AqPrm5

What have you already attempted?
I followed these instructions here: https://docs.stripe.com/elements/express-checkout-element/migration#one-time-update-method

What are you working on?
I am trying to migrate from using ` Payment Request Button Element` to ` Express Checkout Element`.

#

@lucid stone pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello,

I need to create a way to update there bank account for our users (we are a marketplace plateform). How can I provide a way to update the RIB/IBAN ? By connect or Api.

I'm on Symfony 7

Related Request ID(s)
Dont know

What have you already attempted?
$stripeAccount->external_accounts

#

@prime socket pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Is it possible to handle a minimal commitment period using stripe ? e.g I want my users to subscribe to a product for 3 months at minimum, is that possible ?

What have you already attempted?
I read the documentation (https://docs.stripe.com/billing/subscriptions/cancel for instance) and checked on the internet, most replies talk about setting up a backend with webhooks and handling it manually

What are you working on?
Crossfit application

atomic shuttleBOT
#

@static compass pressed the πŸͺ Webhooks button in #help to ask a question:

Question
i want to test the new stripe requirements, how can i force validation on directors_provided or id_number for example?

Related Event ID(s)
none

What have you already attempted?
none

#

@leaden plank pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
fun presentPaymentSheet() {
paymentSheet.presentWithPaymentIntent(
paymentIntentClientSecret,
PaymentSheet.Configuration(
merchantDisplayName = "KZY",
// Set `allowsDelayedPaymentMethods` to true if your business handles
// delayed notification payment methods like US bank accounts.
allowsDelayedPaymentMethods = false
)
)
}

Question
Using oppo k11 (android 14, API 34) real machine debugging, initialization is no problem when entering the "paymentSheet. presentWithPaymentIntent" program crashes

What have you already attempted?
None

#

@thorny idol pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi,
I'm building a stripe integration for my company, and I’m wondering how to model the pricing structure
Currently when setting up their account the user goes through a SetupIntent flow to save their card details, and then at the end of the session we go through an off-session PaymentIntent in order to complete the purchase. Is this the best way to structure this?

We’d also like to do a check if the card is valid at the start of the session, for example charging a small fee, which is adjusted to the cost of the session, and then potentially retry the final payment if it fails at the end of the session

Doc/Guide Links
https://docs.stripe.com/api/setup_intents
https://docs.stripe.com/api/payment_intents
https://docs.stripe.com/billing/revenue-recovery/smart-retries?locale=en-GB
https://support.stripe.com/questions/verify-a-new-ach-direct-debit-customer-using-micro-deposits

What are you working on?
The app is for a hire scheme model, where our users will rent out our service for an unspecified amount of time, and then at the end of this hire period we want to charge them without going through a payment flow.

#

@rapid siren pressed the πŸ“‘ API button in #help to ask a question:

Question
I have subscriptions of my clients that pay monthly their plan, but I need to give them the possibility to pause their plan for X amount of months, for example: That they can select to pause their payment for the next 3 months (July, August and September) so that later in October the payment is activated again, in case of not being able to be paid the subscription would be cancelled.
What is the best way to implement this? The pause will always be by months or until a specific date, for example: Pause plan until September 15th.

Related Request ID(s)
N/A

What have you already attempted?
I am investigating how to do it, but I don't know if this is possible.

#

@vital cedar pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
hi we need to take payment in person. I don't know how to programme the card reader. can you help?

Question
How to start with in person payment with the card reader? what is developer how can we use it

What have you already attempted?
none

What are you working on?
we want to start taking payment in event and stalls

#

@boreal adder pressed the ❌ An Error button in #help to ask a question:

Error Message
StripeInvalidRequestError: Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.

Question
I encountered an error while trying to add a payment method to save a card. Why am I getting this error in test mode?

What have you already attempted?
I am always using a test mode card with the Visa 4242 number but is not work throw me same error.

#

@sacred totem pressed the πŸ“‘ API button in #help to ask a question:

Question
We don't really understand the "duration_in_months" field in coupons. We are finding what appear to be edge cases and we'd love clarification

Related Request ID(s)
req_5HS6PyweZfHrRh

What have you already attempted?
We are trying to apply coupons to memberships with durations that are not monthly, but annual and weekly instead

atomic shuttleBOT
#

@dusk gulch pressed the πŸ“‘ API button in #help to ask a question:

Question
Cancel subscription after how to stop recurring payment

Related Request ID(s)
Recurring payment stop

What have you already attempted?
Recurring payment stop

What are you working on?
Subscription

#

@undone goblet pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello. I am migrating from using `Payment Request Button Element` to using `Express Checkout Element`. I got this error when I called `confirmPayment`:
`The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.`

Related Request ID(s)
req_9MVbzc0vYRf7jR

What have you already attempted?
I do not get this error when i used `Payment Request Button Element`. And I can not find related instructions about confirmation with `setup_feature_usage` with `Express Checkout Element`: https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#handle-click-event

What are you working on?
I am trying to migrate from using ` Payment Request Button Element` to ` Express Checkout Element`.

atomic shuttleBOT
#

@graceful marsh pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
The requirement is to increase the quantity of subscription item of an existing subscription by 1. We need to charge the customer the whole amount for the present month added in the upcoming bill. So the upcoming bill should have original charges + new charge for next month + charge for the previous month (without proration)

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/prorations
https://docs.stripe.com/billing/invoices/subscription#adding-upcoming-invoice-items
https://docs.stripe.com/api/subscriptions/update

What are you working on?
SaaS product

#

@languid dome pressed the πŸ“‘ API button in #help to ask a question:

Question
when can cancelling Subscription Schedule attached to a subscription, the whole subscription it self gets cancelled

Related Request ID(s)
req_hUBJGJJacZoLV9

What have you already attempted?
I have tried other options like de linking the schedule

#

@strange minnow pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
is there any way to have subscription metadata in every subscription invoice?

Question
every invoice that subscription creates should have the metadata of the subscription

What have you already attempted?
went through docs

#

@dapper pivot pressed the πŸ“‘ API button in #help to ask a question:

Question
No response when calling API asynchronously

Related Request ID(s)
pi_3PT07eGpnLHZB9v90orhDXDu

What have you already attempted?
Hello, we found during testing on the Xiaomi 10 phone that when calling Await isPlatformPaySupported ({googlePay: {testEnv: IS-DEV}}), Await has not been affected. What is the situation? And after subsequent testing, calling await presentPaymentSheet() did not respond, but await initPaymentSheet() can respond normally. @ stripe/stripe read native used

atomic shuttleBOT
#

@fading kindle pressed the πŸ“‘ API button in #help to ask a question:

Question
i'm struggling to retrieve some data from the API, when I manually go to stripe and search for a given customer, there is an email below the name, that email refers to the field "email" found in the customers endpoint but in that same view, you can also see the billing emails inside the details section on the rightmost part of the page, which may contain a different email and I can't find it anywhere.

Related Request ID(s)
-

What have you already attempted?
I tried to query all the tables for the same customer using sigma (charges, payment_methods, payments_intents, customer, sources) but i never found the same email that i saw in the view i was refering to above

What are you working on?
i'm building a Stripe to Bigquery integration using python

atomic shuttleBOT
#

@vivid wraith pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
If the PaymentIntent has multiple transfers and we refund it using the reverse_transfer flag, are the funds pulled back from a single transfer or all of them proportionally?

What have you already attempted?
We want to send the total amount of a PaymentIntent in several transfers, but we are not sure about how the refunds would behave

#

@red adder pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
I am integrating with stripe to handle paid subscribtions and I want stripe to auto cancel subscribtion if customer doesnt pay the specified amount after some period I font want to handle it in code and I am not sure how to do it

What have you already attempted?
I already tried to set a retry policy to smart retries 8 times in 14 days period and if all retries failed cancel the subscribtion it should work I think but when I used subscribtion simulation feature in test mode and more I advance in time it just move the subscribtion from active to past due no cancellation at all. that made me worried because the code will be on production soon and I want to make sure will everything will work fine or not

What are you working on?
its a website to ease communication between employers and employees and it has paid subscribtion

#

@weak nymph pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi!
Our Stripe setting is set not to send receipt email by default and we want to keep this general setting for all our customers.
However, we want to allow the customer to manually enable a notification setting "Send receipt for my payments" (including mainly subscription renewal receipts) in his app user account.

Can a setting be set on the customer Stripe level for that, or at least the subscription level?
As far as I can see, it's only at the "invoice" level, which requires receiving the webhook for each payment, checking whether the user has this setting on our side, and then manually sending the receipt or setting the "receipt_email" value.

It will not be the idea

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

What are you working on?
A user setting in our app to enabled/disabled receipt email notification.

atomic shuttleBOT
#

@drowsy crown pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
try {
const setupIntent = await stripe.setupIntents.create({
customer: customerId,
payment_method_types: ['paypal']
});

Question
is it possible to add paypal as a payment method in stripe?

What have you already attempted?
i tried adding it the way i showed but it doesn't work

What are you working on?
i'm working on an app with paypal integrated payment and also card payments with stripe

#

@strange minnow pressed the πŸ“‘ API button in #help to ask a question:

Question
billing portal was created for this customer automatically twice. can you help me understand how & why this got created?

Related Request ID(s)
not a req id but I have event id => evt_1PQMl5GXlQ7PG1unV7gDNgWa/ evt_1PQAW2GXlQ7PG1unUMNkvXh0

What have you already attempted?
also I don't see any emails were sent to this customer

atomic shuttleBOT
#

@willow apex pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
how to get Amazon Pay or CashApp Pay or Revolut Pay as a payment method in PaymentRequestButton?

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

https://docs.stripe.com/payments/amazon-pay/accept-a-payment?web-or-mobile=web

What are you working on?
I use PaymentRequestButtonElement and Elements from @stripe/react-stripe-js package (React.js web application). In dashboard settings (dashboard.stripe.com/settings/payment_methods) Amazon Pay, Cash App Pay and Revolut Pay wallets

#

@lone smelt pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I want to migrate from sources api to payment intents with alipay payment method

Question
Is it normal to be redirected from checkout session to sources api while paying using alipay?

What have you already attempted?
I've tried to create a checkout session with payment method alipay, i get redirected to checkout and I see the alipay. I enter my mail and then, after clicking pay, i get redirected to the sources api, as it was in my previous flow using sources api.

#

@void dew pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://stripe.com/resources/more/sepa-business-to-business-direct-debit-germany

Question
Is SEPA B2B supported by stripe? I'm getting mixed results from the internet search. On some articles it says that it only supports SEPA core, in some others, like the one above, it looks like it does support B2B.

What have you already attempted?
Integration with SEPA core. But that doesn't work for us as we're a B2B fintech sass

What are you working on?
loans fintech

#

@red adder pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
elif(event['type'] =='customer.subscription.deleted'):
payment_intent = event['data']['object']
print(payment_intent)
customer_id = payment_intent['customer']
id_price= payment_intent["items"].data[0]["price"]["id"]
id_sub= payment_intent["items"].data[0]["subscription"]
subscription = Subscription.objects.get(id=id_sub)
# get the customer object from the database

Question
that is a portion of code from my webhook I am setting stripe setting of billing to retry smart tries to get the subscribtion mondy if all retries failed cancel the subcribtion and this is the only event I am listening on to cancel subscribtion so will stripe cancel the subscribtion automatic with this logic or i have to do it manual

What have you already attempted?
I tried to use simulation feature in the test mode of stripe but more I advance the time the subscribtion only convert to past due no cancellation so iam worried it wont work on production

What are you working on?
system that provide different subscrition plans

#

@oblique plover pressed the πŸ“‘ API button in #help to ask a question:

Question
We receive an invoice.payment_succeeded webhook, but due to other processes going on around the time of initial purchase, our webhook listener needs to retrieve the most up to date copy of the invoice at that time.

We have noticed that the intitial webhook event will send with a "billing_reason: subscription_create" but the subsequently retrieved invoice (within 2 seconds) has a "billing_reason: subscription_update" which we had been using to filter functionality and now that is not working

Related Request ID(s)
evt_1PSyPVLv5IzfagowAaVwCq8G, req_vBg4xXQNm6k858

What have you already attempted?
This is new functionality we added the secondary retrieve for some new code. My gut is telling me this is a race condition.

What are you working on?
Our webhook listeners need to react based on metadata we add to the invoice and this behavior is new since we have added the secondary invoice retrieval

#

@worthy crane pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to retrieve a connected account's payouts, so that we can show the statement descriptor. I am setting it up like so:

$stripeAccount = \Stripe\Account::retrieve([
'id' => $business_stripe_account_id
]);

which gives me the account, but now I need to retrieve the payouts.

Doing $stripeAccount->payouts->all(['limit' => 3]) returns "Call to a member function all() on null"

I am using your Php Api stripe-php-7.87.0

Related Request ID(s)
none

What have you already attempted?
See above

What are you working on?
Payouts retrieval

#

@cyan wedge pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey there! I have stripe subscription prices that users can subscribe to instantly. However, I'd like to add an application form type setup where a user needs to 'apply' to join a membership.

My initial thoughts are that the user would perform a payment setup intent for a specific subscription, but the card wouldn't be charged initially. Upon reviewing the application, I would then ideally be able to trigger a charge for the payment setup intent and process the transaction.

Just wanted to check this is possible in a Stripe connect environment before getting hours deep haha.

Related Request ID(s)
-

What have you already attempted?
-

#

@mossy nacelle pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have a question for payement_intent webhook and subsription schedule, when i buy my subscription schedule in my website, i get ce invoice.created but payment_intent make 1 hour to be sent, how can i fix the issue ?

Related Event ID(s)
invoice created id : evt_1PT1I7PArkoUmVDxeMtPeh1p -> payment_intent : evt_3PT2EbPArkoUmVDx0W7gqNlq

What have you already attempted?
i tried to create subscription schedule with stripe API using Create a schedule (https://docs.stripe.com/api/subscription_schedules/create)

#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
Test some case error for google pay

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Test some case error for google pay

#

@frosty geode pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<AddressElement options={{mode:'billing'}} />

Question
Is there a way to indicate that the city field must contain a value?

What have you already attempted?
I have already tried to access the element inside the frame to work with it but, blocked by CORS.

What are you working on?
Trying to make city field mandatory, and show a message when it's empty

#

@strange minnow pressed the πŸ“‘ API button in #help to ask a question:

Question
billing portal was created for this customer automatically twice. can you help me understand how & why this got created?

Related Request ID(s)
not a req id but I have event id => evt_1PQMl5GXlQ7PG1unV7gDNgWa/ evt_1PQAW2GXlQ7PG1unUMNkvXh0

What have you already attempted?
What does 'source: Automatic' mean?

#

@tired night pressed the πŸ“‘ API button in #help to ask a question:

Question
Unable to create a payment intent using api call. I'm making the api call but it is not going through.

I tried multiple ways, curl api, python code, stripe shell but the call is not going through

Related Request ID(s)
https://docs.stripe.com/api/payment_intents/create?lang=curl&shell=true&api=true&resource=payment_intents&action=create

What have you already attempted?
curl https://api.stripe.com/v1/payment_intents
-u "sk_test_51N6......."
-d amount=2000
-d currency=usd
-d "automatic_payment_methods[enabled]"=true

Stripe shell output:
(krutd33@gmail.com) $ stripe payment_intents create --amount="2000" --currency="usd" -d "automatic_payment_methods[enabled]=true"
We were unable to communicate with the Stripe API, please try again.

#

@vocal wagon pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to pay any unpaid invoice (if any) when the customer updates their payment method. We are using payment intents with SetupFutureUsage = "off_session" and providing a returnurl for both these situations (both updating and paying). When testing with a 3DS required card, we get the redirect url as expected when updating the card, but we also get requires_action for the actual payment, and in this situation we do not get the redirect_url, only the "use_stripe_sdk" message. What could be going wrong here?

Related Request ID(s)
None

What have you already attempted?
This has only been tried in test

atomic shuttleBOT
#

@tired crater pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there an API way to list usage records? Our dashboard for a customer is showing that the customer has usage for a period, but isn't showing any usage records when I try to see more. The customer is being overbilled which is why this is a problem

Related Request ID(s)
https://dashboard.stripe.com/subscription_items/si_PIthkxWHDVI8sN/usage_records

What have you already attempted?
I've tried clicking around in many different places, but am unable to find a way to show the usage.

I've also tried looking through the docs, but can't seem to find an endpoint to list usage records for a subscription item

What are you working on?
Billing system for our SAAS product

atomic shuttleBOT
#

@fading raven pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/bank-transfer

Question
Is it possible to charge an Application Fee on a bank transfer payment resulting from an Invoice?

We want to generate invoices for our Stripe Connect customers and allow bank transfer payments, but we also want to take a small fee when the payment is made. I cannot see how to set an application fee if the payment results from an invoice.

What have you already attempted?
I haven't started prototyping yet. We already accept direct payments and have an application fee on those; this would be a new feature.

Currently the only way I can see to achieve this is to get the charge id from the invoice object once it has bene paid and then update the application fee amount - but not sure if you can do this after a charge has been paid.

What are you working on?
B2B event planning system - we want to implement payment plan management for our Stripe Connect customers.

#

@hidden moss pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there any field in Stripe we can use to capture if an invoice was paid via automatic retries vs users' manual payment?

Related Request ID(s)
No request ID

What have you already attempted?
Tried to look this field in the Stripe's payment intent object. Saw this field - https://docs.stripe.com/api/payment_intents/object#payment_intent_object-confirmation_method. But not sure if this is the correct field to look at

#

@arctic oxide pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I found this example on your site
import stripe
stripe.api_key = "sk_test_β€’β€’β€’RSVr"

stripe.Subscription.create(
customer='{{CUSTOMER_ID}}',
items=[{"price": '{{PRICE_ID}}'}],
billing_cycle_anchor_config={"month": 7, "day_of_month": 1},
)

Question
We would like to bill a customer and to reset his billing cycle to the 1st of the month. He has 3 trial days left but we would like to charge him now. And set the next charge date to be 1st of July, i.e. every first of the month.

What have you already attempted?
Nothing yet

atomic shuttleBOT
#

@sour bronze pressed the ❌ An Error button in #help to ask a question:

Error Message
Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.

Question
How to enable raw card data in the Stripe Test environment? We need to process all payments through our backend, from customer registration to the availability of our services.
When creating a β€œcard” type of payment method to associate with a customer, made by an https call to the endpoint https://api.stripe.com/v1/payment_methods the error described above is returned

What have you already attempted?
Read documentation related to the Payment Method. Read Reference Api and contacted 'SAC' in Brazil

Reproduction Steps
Call endpoint "https://api.stripe.com/v1/payment_methods" via Stripe JavaScript SDK with stripe test private key, to register our customers' credit cards with fictitious credit card details provided in documentation from stripe "https://docs.stripe.com/teste"

What are you working on?
Containers as a service. Cloud service that helps manage and deploy applications using container-based abstraction.

#

@tiny estuary pressed the ❌ An Error button in #help to ask a question:

Error Message
Unrecognized stripe.confirmPayment() parameter: cstoken is not a recognized parameter. This may cause issues with your integration in the future.

IntegrationError: You must pass in a clientSecret when calling stripe.confirmPayment().

Question
Why this not work?
I get the clientSecret from the backend and pass it to the frontend:

String clientSecretToken =
subscription.getLatestInvoiceObject().getPaymentIntentObject().getClientSecret(); this has a value like "pi_xxxxx..."

In frontend:
stripe.confirmPayment({elements,cstoken,confirmParams}) where cstoken is the "pi_xxx" value.

What have you already attempted?
Im migrating from the deprecated credit card element to the new payment elements.

Reproduction Steps
Read the code above.

#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
Can you send me a link to the documents that browsers will display for apple pay and google pay?

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Can you send me a link to the documents that browsers will display for apple pay and google pay?

#

@stone kindle pressed the πŸ“‘ API button in #help to ask a question:

Question
We are migrating from β€œSource api” to β€œPayment Intent api” for our bank transfer integration. But we have encountered a serious issue. As per documentation, the on_behalf_of attribute isn’t supported in β€œPayment Intent api”.

https://docs.stripe.com/payments/bank-transfers#connect

We are EU market place and ourselves we are not the MoR. In our business, our sellers are MoR. So far we have managed this by using on_behalf_of attribute in our β€œSource api” calls as per below documentation.

https://docs.stripe.com/connect/destination-charges?platform=web&ui=elements&lang=curl#settlement-merchant

Related Request ID(s)
Platform: acct_14xN6qFznQNL1Zp1

What have you already attempted?
Tried direct charges. But it need customer or payment method to be cloned to connected account. Customer cloning is also being deprecated. Payment method cloning is not available with type: customer_balance

What are you working on?
Migrating from β€œSource api” to β€œPayment Intent api”

#

@tired crater pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to change the metered usage charge method for a price that's already been created.

We have a price that is set to "most recent usage value" and that's causing bugs in our system.

Related Request ID(s)
price_1NsS7VEUqHBlqQXGLXroSADc

What have you already attempted?
I've tried looking through the API and also using the dashboard

What are you working on?
Fixing a bug in our SAAS billing system

atomic shuttleBOT
#

@worthy crane pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
//retrieve payouts
$stripePayouts = \Stripe\Payout::all(
[
'limit' => 50
],
['stripe_account' => $business_stripe_account_id]
);
//loop over payouts to find balance transactions
foreach ($stripePayouts['data'] as $eachPayout) {
$stripeBalanceTransactions = \Stripe\BalanceTransaction::all(
[
'payout' => $eachPayout['id'],
'expand' => ['data.source']
],
['stripe_account' => $business_stripe_account_id]
);
}

Question
How can I expand the properties of $stripeBalanceTransactions to get the each of the payment intents? I want to get the metadata ssociated with all the payment intents on a given payout...

What have you already attempted?
see above

What are you working on?
payouts

atomic shuttleBOT
#

@feral stirrup pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Trying to understand the workflow for changing a subscription price for all of my customers. Using the API, I can create a new price, iterate over all the subscriptions with the old price id, replace the old price id with the new one, and then set the old price to inactive. Is this correct? Thanks!

Doc/Guide Links
https://docs.stripe.com/products-prices/manage-prices?dashboard-or-api=api#edit-price

What are you working on?
Planning for future price changes.

#

@hidden moss pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there any field in Stripe we can use to capture if an invoice was paid via automatic retries vs users' manual payment?

Related Request ID(s)
NA

What have you already attempted?
I had already raised this question but forgot about it and the chat got closed, so raising it again

#

@ocean dragon pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I use Stripe Connect to enable individual users to receive payments.

What actually happened?
During the Stripe Connect onboarding process, individual users are asked to provide business information such as a website and an industry.

Reproduction Steps

  1. creation of a connected account
  2. redirect on account link

Question
"Is it normal that when using Stripe Connect, business information is requested from an individual?"

What are you working on?
I am trying to offer a payment method where an individual pays another one and the plateforme take a comission

#

@blazing mesa pressed the πŸ“‘ API button in #help to ask a question:

Question
How to get the number of revisions of an Invoice

Related Request ID(s)
None

What have you already attempted?
I read through the Invoice object API and was able to find "latest_revision", however "latest_revision" was null and not being updated in my use case

What are you working on?
Working on showing a message stating that the user cannot revise an invoice for more than 3 times. Unable to track the number of times an Invoice is revised

atomic shuttleBOT
#

@versed lodge pressed the πŸ“‘ API button in #help to ask a question:

Question
The Error I am getting is that the stripe account does not have transfers turned on, so it is not letting the transaction through

Related Request ID(s)
0feb1e8-9d7f-433a-9219-0ec843e1a4da

What have you already attempted?
I have attempted to find and locate this setting in the stripe app but i cannot

What are you working on?
Tutring app

#

@feral stirrup pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have successfully tested our site (locally with localhost) using the CLI proxy for webhooks, but I now want to test payments on our live website. Can I still do this using test mode or do I have to use non-test mode?

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

What are you working on?
Testing our system in prep to go live

#

@plain laurel pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
I was wondering why some of my customer's subscriptions show tax_percent as null even though tax is applied to their subscription. Example: sub_1PDWqbBHlto6ebSHRSHLmEts (tax_percent: null_ and sub_1PMFlGBHlto6ebSHLUS2zMZx (tax_percent: 6.0)

What have you already attempted?
I am working on updating customer's subscription from a customize dashboard. Sometimes the subscription has null for tax_percent. However in the dashboard tax is calculated for the subscription. I was wondering why some customer subscriptions have a value for tax_percent but other have null.

What are you working on?
Making changes on a customer's subscription

#

@hasty tundra pressed the πŸ“‘ API button in #help to ask a question:

Question
Update payment methods on existing invoice.

Related Request ID(s)
sub_1LBPn1F6VnIuOevo6EdEYKkR

What have you already attempted?
Updating payment in sub.

#

@inner geode pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I cancel subscription schedule without cancelling related subscription

Related Request ID(s)
.

What have you already attempted?
I have checked docs but it seems that subscription will always be cancelled

#

@steel slate pressed the ❌ An Error button in #help to ask a question:

Error Message
"code": "amount_too_large",
"doc_url": "https://stripe.com/docs/error-codes/amount-too-large",
"message": "The payment could not be captured because the requested capture amount is greater than the amount you can capture for this charge. Contact us via https://support.stripe.com/contact/ for help.",

Question
This is only happening during Visa Debit when attempting to add tip after the initial create. So we cannot add tip to Visa Debit. This isn't failing for other cards, using the same flow.

What have you already attempted?
Our workaround is to enforce a tip-before flow.

What are you working on?
DripOS, a Coffee Focused POS.

#

@rapid siren pressed the πŸ“‘ API button in #help to ask a question:

Question
Pauses subscription with "resume_at" field, I don't know what event to listen for in the webhook to determine when the subscription is stopped.

Related Request ID(s)
N/A

What have you already attempted?
pause_collection: {
behavior: 'void',
resume_at: 1718734118
},

#

@hushed lily pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I create payment Intent that has a status of "requires_capture" but I add a connected account on the header?

Related Request ID(s)
req_tJBhLAtIcKiUsc

What have you already attempted?
I want to know if it is possible to add a connected account to this payment intent with on hold payment.

What are you working on?
An app similar to Task Rabbit

atomic shuttleBOT
#

@spark night pressed the πŸ“‘ API button in #help to ask a question:

Question
How to display the customer's information in Connected Account Dashboard -> Payments, when performing destination charges?

Related Request ID(s)
req_IQ9mwROUu0CELP

What have you already attempted?
I have tried creating a customer in Connected Account and using that ID to perform charge in Platform account but it says no such customer.

atomic shuttleBOT
#

@steel slate pressed the ❌ An Error button in #help to ask a question:

Error Message
"code": "amount_too_large",
"doc_url": "https://stripe.com/docs/error-codes/amount-too-large",
"message": "The payment could not be captured because the requested capture amount is greater than the amount you can capture for this charge. Contact us via https://support.stripe.com/contact/ for help.",

Question
Related to earlier message, but I had to drop off the chat for an on-call issue and now cannot message it further due to permissions.

What have you already attempted?
To answer the already asked question, yes we use the https://docs.stripe.com/terminal/features/collecting-tips/on-reader

However we allow tipping after tap.

Reproduction Steps
Tap to pay -> pay -> tip -> reciept.
Doesn't get to receipt part bc transaction fails

#

@burnt needle pressed the πŸ“‘ API button in #help to ask a question:

Question
When refunding a charge, which currency is used?

Related Request ID(s)
N/A

What have you already attempted?
Nothing

atomic shuttleBOT
#

@dense saddle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Our customers set up one or more payment methods in our platform using checkout in setup mode. We also allow them to setup subscriptions. We also give them access to the Customer Portal where they could remove all payment methods, or make changes so they have more than one payment method but no default payment method. If they have no payment method, or no default, what will happen when the next invoice in their subscription is charged?

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

What are you working on?
Portal where businesses can setup recurring subsidies for their employees to use towards healthcare purchases through our platform

#

@bleak prairie pressed the πŸ“‘ API button in #help to ask a question:

Question
What are the API calls I need to make to simulate the "Bill yearly starting" option in the Dashboard? I am wanting to create an active subscription that is active now but does not bill for a year.

Related Request ID(s)
Any id

What have you already attempted?
Tried just setting the anchor date but that did not work:

Stripe::Subscription.create({
billing_cycle_anchor: DateTime.now.next_year.to_time.to_i,
customer: customer,
items: [{price: "price_id", quantity: 5}]
})

atomic shuttleBOT
#

@wraith snow pressed the πŸ“‘ API button in #help to ask a question:

Question
Having an issue with managing the attribution of user's CC. For example, as a user enters the site to purchase a subscription, there is no account creation so the user is created as a temp user then deleted once the transaction has gone through to avoid the CC being saved on the current user's email. Is there a way to just simply create the user within Stripe -> Subscribe them to a plan and not save the user's CC info to the current user's Email?

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

What have you already attempted?
Attempted to add a delete card on the current user, however, this impacts the renewal period on the subscription.

What are you working on?
Bubble.io

#

@trim gale pressed the πŸ“‘ API button in #help to ask a question:

Question
I can not use Apple Pay when i build a pay-link , and open it on Iphone

Related Request ID(s)
acct_1PSoruB89x4oX6nW

What have you already attempted?
I can not use Apple Pay when i build a pay-link , and open it on Iphone

What are you working on?
Apple,iphone,ios,itunes

#

@fallow ermine pressed the πŸ“‘ API button in #help to ask a question:

Question
When I `retrieve` a Stripe subscription, it doesn't show an item...but then when I try to update the subscription with a new item, I get `A new item with Price <price> can't be added to this Subscription because an existing Subscription Item <si> is already using that Price`

Related Request ID(s)
req_iGJat78QiehvC7?t=1718742671

What have you already attempted?
Not sure what to try, `subscription.items` is empty

What are you working on?
I'm struggling with a backwards-compatibility change--we want to itemize invoices, but existing hard-coded values seem invisible

#

@unique atlas pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
If the account cannot be kept open after getting all of the reasonable answers and documentation then Stripe must return the payment balances to customers account on given date but thats not what happened

What actually happened?
The account got closed after review all the documents were provided and now the payment balance is not even going back to customer not to me and no one is replying, the customer must be returned with the payment so we can process payment with them in another mode

Reproduction Steps
RETURN THE BALANCE TO CUSTOMERS CARD ASAP - That's the only step needed and we are looking forward to.

Question
Why it is taking time to get the customers payments returned after STRIPES own mentioned date.

What are you working on?
Getting my account closed after STRIPE thinking a wholesale brand business is a risk

#

@solemn shadow pressed the πŸ“‘ API button in #help to ask a question:

Question
We are using web elements and have additional payment methods like (net 30, vouchers and gift cards). How is this handled or can it be handled.

Related Request ID(s)
na

What have you already attempted?
Question on options.

What are you working on?
checkout process

#

@wind shoal pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
After clicking resend api webhook, we only expected one response. The webhook is dependent on payment_intent.success

What actually happened?
The api webhook triggered continuously until it was disabled.

Reproduction Steps
We disabled the webhook.

Question
Why is the webhook sending continuously? How can we ensure that the request is only sent one time?

#

@inner geode pressed the πŸ“‘ API button in #help to ask a question:

Question
Using subscriptions I need to preview prorated invoice for existing subscription.
Having monthly paid subscription (3 €/month) if I want to preview the invoice at day 15 of 30 with quantity = 1 it should retrieve an invoice with 1.5 € amount but it generates 3 € invoice

Related Request ID(s)
.

What have you already attempted?
instant_payment = stripe.Invoice.create_preview(
customer=customer_id,
preview_mode="recurring",
subscription=subscription_data["id"],
subscription_details={
"items": [
{
"id": current_subscription_item_data["id"],
"quantity": quantity - current_quantity,
}
],
},
)

atomic shuttleBOT
#

@proven igloo pressed the πŸͺ Webhooks button in #help to ask a question:

Question
My webhook has been working but today a customer paid and got a 307 temporary redirect in the webhook logs for checkout.session.completeted.

Related Event ID(s)
evt_1PT4A2IPblDJirEcQ0snbY75

What have you already attempted?
I haven't done anything.

What are you working on?
Maintaining a website that rents out dumpsters through online checkout session and sends info to MongoDB database through webhook

#

@versed lodge pressed the πŸ“‘ API button in #help to ask a question:

Question
When it comes to creating a new Stripe account, I am having a lot of difficultiesi with getting the right info and having the authorization be correct

Related Request ID(s)
n/a

What have you already attempted?
I have tried to look online and see the docs but I am still unsure

What are you working on?
Tutoring

atomic shuttleBOT
#

@spare shard pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The customer billing portal shouldn't overflow the view

What actually happened?
The customer billing portal overflows the view on mobile

Reproduction Steps
Visit the customer billing portal on mobile. It overflows the view.

https://billing.stripe.com/p/login/4gw2bnaDw62i7iU5kk

Question
Please fix this, it's a terrible experience

#

@arctic zodiac pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_methods/customer_list

Question
With the listPaymentMethods API call, can we get it to return unverified bank accounts that show up in the stripe portal under a customer? If no, is there another way to query that information?

What have you already attempted?
Node sdk - stripe.listPaymentMethods

What are you working on?
Managing payment methods. Adding support for bank accounts. We were hoping to list bank accounts as verified or unverified in a table.

atomic shuttleBOT
#

@gaunt seal pressed the πŸ“‘ API button in #help to ask a question:

Question
We're using Anrok's tax integration and so I have a Tax product with 1 price which is set to $0. I am trying to use $stripe->invoiceItems->create method but I get an error "You may only specify one of these parameters: amount, price" How can add this item to the invoice with a custom price similar to using `add_invoice_items` with the `$stripe->subscriptions->create` method?

Related Request ID(s)
req_KfOPOGu1tXy2Pv

What have you already attempted?
I've passed this argument several different ways using stripe->invoiceItems->create

What are you working on?
Guest/Customer checkout process

atomic shuttleBOT
#

@ebon token pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
session = stripe.checkout.Session.create(
line_items=self.prices_to_line_items(prices),
mode='subscription',
success_url=success_url,
cancel_url=cancel_url,
currency='usd',
client_reference_id=user.id,
allow_promotion_codes=True,
)
return Response(session)

Question
I'm using the checkout page to create a payment, and the mode is a subscription. How can I do an auth charge?

What have you already attempted?
I tried ` payment_intent_data={"capture_method": "manual"},`, but it doesn't support subscription.

atomic shuttleBOT
#

@prisma coral pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to retrieve a connected account. I'm using this from the API docs: https://docs.stripe.com/api/accounts/retrieve.

When I copy the stripe CLI command (stripe accounts retrieve acct_1Nv0FGQ9RKHgCVdK) I get the following error: `stripe accounts retrieve` requires exactly 0 positional arguments.

Related Request ID(s)
None

What have you already attempted?
stripe accounts retrieve acct_1Nv0FGQ9RKHgCVdK

What are you working on?
Showing the payout status of a connected account.

atomic shuttleBOT
#

@rich flame pressed the πŸ“‘ API button in #help to ask a question:

Question
How can i get the total amount of an Subscription object

Related Request ID(s)
sub_1PTBcgESRxUGxqvhXq4YvlpG

What have you already attempted?
i've been trying to retrieve the subscription with the ID but i cant find (or I dont see it) the total amount of the subscription.

What are you working on?
Subscriptions

atomic shuttleBOT
#

@blazing spoke pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello I'm looking into a Stripe Integration for Subscriptions. The way we're setting it up is to have all our clients be charged an amount on the same day monthly. For example all our clients would get charged X amount of money on the 1st of the month. We want to track the status of the payments via Webhooks and we're concerned with the amount of events that could get generated at once and sent to our endpoint. The amount of clients could be in the hundreds of thousands. So my question is, do all the webhooks get sent to us at once? Or will they be staggered in some what?

Related Event ID(s)
N/A

What have you already attempted?
Nothing yet, I'm trying to figure out what are the implications of having hundreds of thousands of Subscriptions payment notifications getting to our servers.

What are you working on?
Stripe Subscription Integration into custom solution

atomic shuttleBOT
#

@grand moss pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/error-low-level#get-and-delete-requests

Question
The documentation states that get and delete requests are idempotent by design. However that doesn't appear to be the case when deleting accounts.

Running a delete against `https://api.stripe.com/v1/accounts/acct_1234` multiple times doesn't end up with the same result. The next request after the account is deleted returns a 403.

My understanding of idempotency is that the same request multiple times would return the same result, in this case some 2xx code that the account was deleted successfully, or a 4xx or 5xx code if there was some error.

What have you already attempted?
I've tested this multiple times, and have had to build logic to recognize a 403 as a success, even though there are error cases where the 403 might actually be a 403 instead of a "this account was already deleted" case.

What are you working on?
Porting our billing system to Stripe

#

@dire surge pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<section class="checkout-grid">
<div class="js-cart-summary cart-summary"></div>
<div class="js-payment-summary payment-summary">
<div class="js-payment-info">
<div class="payment-summary-title">
Order Summary
</div>
<div class="payment-summary-row">
<div>Items (<?php echo $total_quantity; ?>):</div>

Question
How can I increase the Stripe payment container size, while keeping the same ratio and not losing quality. I want to note that this is in a mobile web viewpoint where the .checkout-grid is dead in the center and is not very wide.

What have you already attempted?
my orginal css made the container really small in the mobile web-viewpoint, but when I tried to increase the width of the container, all it did was add some blank space in between, making it difficult to see anything (the font size was really small). So the next thing I did was use the scale() property and margin-top, and that worked but the quality was incredibly low and pixelated.

What are you working on?
checkout system

atomic shuttleBOT
#

@undone goblet pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello. I am trying to integrating Paypal using Express Checkout Element, when I call `stripe.confirmPayment`, I got the error `payment_intent_payment_attempt_failed`, with decline code `generic_decline`

Related Request ID(s)
req_SRHpshNn0wHHbM

What have you already attempted?
I had tried my 2 different paypal accounts and I got the same error. Even though these 2 accounts are work OK if I try to checkout with paypal directly.

What are you working on?
I am trying to integrating PayPal

atomic shuttleBOT
#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
How to make capture_method expired faster?

Related Request ID(s)
-

What have you already attempted?
I want to do handle webhook event when payment capture is expired, but I see in document is expired arroud 4-7days.

I want to test payment capture when expired faster.

What are you working on?
Doing to handle stripe webhook event when exipred capture_method

#

@hot crescent pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have 2 products on the stripe, how can I distinguish which product was purchased when receive webhook payment_intent.succeeded?

Related Event ID(s)
i dont know

What have you already attempted?
nothing

What are you working on?
distinguish which product in json webhook

atomic shuttleBOT
#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to borderRadius for apple pay and google pay button

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
I want to borderRadius for apple pay and google pay button

#

@dusk gulch pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
$cancel_subscription = $stripe->subscriptions->cancel('sub_i', [
'invoice_now' => false,
'prorate' => false,
]);

Question
Cancel subscription to retrieve payment stop.

What have you already attempted?
first attempt on this code

What are you working on?
Cancel subscription

atomic shuttleBOT
#

@winter shuttle pressed the πŸ“‘ API button in #help to ask a question:

Question
I have to use Stripe Radar for fraud prevention. I went through documentation but not able to get how can I activate it.

Related Request ID(s)
Radar

What have you already attempted?
Went through documentation for Radar

What are you working on?
Fraud prevention.

#

@cold dragon pressed the πŸ“‘ API button in #help to ask a question:

Question
i have created a subscription schedule in the provided request id. I can see that the subscription is active. But the invoice is in draft and it shows 1 hour left for the finalization. Is it the desired case?

Related Request ID(s)
req_xfTiVXX40D1wE4

What have you already attempted?
Querying in the discord :)

atomic shuttleBOT
#

@ember shell pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have 2 subscriptions plans.
Plan A and B.
Each plan has 2 prices: monthly and yearly.
What is the best approach to setup the products and allow the customer to apply coupon ONLY on the monthly plan? Create a product group by range of time (Monthly plan products and Yearly plan products or create Product A with monthly and yearly price) Checking the specs is not possible to limit the coupon to a single price, so we are thinking to refactor our product in Stripe grouping by the product by range of time (Monthly plans product and Yearly plan products ). Does Stripe allow in the future to limit the coupon to a single price instead of a single product?

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

What are you working on?
We are refactoring the product and the prices in order to use the hosted payment checkout and later elements.

atomic shuttleBOT
#

@cold dragon pressed the πŸ“‘ API button in #help to ask a question:

Question
In test mode I was able to add test bank account.
In the live mode it is showing error message as
setup_intent_invalid_parameter - payment_method_types

Related Request ID(s)
req_Gk6dqUfthyRJ2E

What have you already attempted?
I have googling regarding this message

atomic shuttleBOT
#

@frail valley pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I want to calculate the prorated amount for a subscription change before the new subscription is subscribed to show to the customer that this will be the amount they have to pay after proration if they subscription to this new subscription plan.

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

What are you working on?
Subscription change functionality

#

@cobalt kraken pressed the πŸ“‘ API button in #help to ask a question:

Question
We are unable to receive the full amount paid, it seems to be rounded up

Related Request ID(s)
"cs_test_a1w37VLYzs7WGvUYWpnH2YkpitTV2ill9VLV3aza63aQJ1CuqD5fbg3yN3"

What have you already attempted?
We are unable to receive the full amount paid, it seems to be rounded up

atomic shuttleBOT
#

@candid widget pressed the πŸ“‘ API button in #help to ask a question:

Question
i have 3 pi_id:
pi_3PSzRYIJOXcdaYNk1zcNHJWD
pi_3PQ4CTIJOXcdaYNk02DroucZ
pi_3PQ6RcIJOXcdaYNk1cxR7DcW
When foreach to call the paymentIntents->capture api then:
pi_3PSzRYIJOXcdaYNk1zcNHJWD error my foreach loop stopped
Is there any way to foreach all 3 pi_ids above, including the api error case?

Related Request ID(s)
paymentIntents->capture

What have you already attempted?
paymentIntents->capture

#

@eternal sonnet pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When a payment fails, there should be the option to pay with all possible types of payment methods.

What actually happened?
When a payment fails, there is only the option to pay with credit card.

Reproduction Steps
Use an payment method that declines the charge.

Question
When Card declines, only payment with credit card is available

What are you working on?
charging a customer for puchasing a service on our platform

atomic shuttleBOT
#

@sharp forum pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/get-started/account/teams/roles

Question
Is there a way to preview roles without creating a whole new email and invite it?

What have you already attempted?
Searching for anything to do with roles other than what they support

atomic shuttleBOT
#

@sweet elbow pressed the ❌ An Error button in #help to ask a question:

Error Message
No overload matches this call.
The last overload gave the following error.
Object literal may only specify known properties, and 'confirmation_token' does not exist in type 'ConfirmPaymentData'.ts(2769)

Question
Trying the following
const { error } = await stripe.confirmPayment({
clientSecret,
confirmParams: {
confirmation_token: confirmationToken,
return_url: 'https://app.timesquad.io/',
},
});

Checked the node_module and confirmation_token isn't declared in the interface?

Any suggestions ?

What have you already attempted?
tried looking in the interface declaration but cannot find this confirmation_token declaration

atomic shuttleBOT
#

@oblique portal pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We are creating Payment Links for Connect Express accounts, not passing a Payment Method Configuration id and using the Stripe hosted checkout.

We expect the checkout to work, users go to the link and pay on the Stripe checkout.

What actually happened?
Payment Link is created correctly (200), but when opening the link to pay, Stripe is throwing "There was an error" in the hosted checkout.

Reproduction Steps
Create a Payment Link for an Express connect account (req_Ml9ATJm5KkMQEL)

Go to the link and try to pay.

We are getting error "No such payment_method_configuration: pmc_1Ow0DnQNPiPbAPW62jWawwgF"

We pass no such pmc_ during request, and Payment Links POST request doesn't even allow to send one.

Question
As we have tried to overcome the issue with Support team and is day 2 of no payments, it looks so far to be an issue from Stripe side.

Is there any way we can resolve this by updating our integration or any changes to our merchants ?

Thank you

What are you working on?
Payment Links for Express Connect accounts

#

@pale whale pressed the πŸ“‘ API button in #help to ask a question:

Question
How do multiple_months coupon duration work with annual subscriptions? I want for example give 50% off for 2 months for my subscription. if a customer is paying monthly, this works well, but if they pay annually i can see my upcoming invoice as being 50% off. my expectation is that it is pro-rata'd so that 50% off only applies to 2/12 months in that invoice. Furthermore, (i have not tested this) if a subscription is charged weekly, will only the first 2 invoices be 50% off. I would expect the first 8 invoices (4 in a month * 2 months) to be 50% off.

Related Request ID(s)
NA

What have you already attempted?
I have tried to create annual and monthly subscriptions and apply a coupon that has a duration of 'multiple_months' with 'duration_months' being 2

What are you working on?
marketplace

atomic shuttleBOT
#

@cold dragon pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have taken a subscription schedule and in the https://docs.stripe.com/api/invoices/object#invoice_object-lines-data-type I am getting invoiceitem as type value in live mode while in the test mode it was giving me subscription.
Note: I have used the type=subscription as condition to distinguish that the invoice.payment_succeeded is from subscription.

How can i distinguish that the webhook call is from subscription?

Related Event ID(s)
evt_1PTHQaQvZV1U4plL6po3jGsz

What have you already attempted?
I have reverified with the test mode payload and it's subscription. But in live mode it is invoiceitem.

#

@sweet elbow pressed the ❌ An Error button in #help to ask a question:

Error Message
Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed with a Payment Intent configured with payment_method_types."

Question
We are using <PaymentElement /> to collect a confirmationToken, then we do PHP add_invoice_items, followed by create invoice and finalise (expand payment_intent) We do not specify any payment methods in the invoice create

What have you already attempted?
Create Invoice: req_tpMuH536srwU5l
Finalise: req_bKteeilcXdTFnU
confirmPayment: req_me9THlSLMxCiRp

Reproduction Steps
Create Invoice: req_tpMuH536srwU5l
Finalise: req_bKteeilcXdTFnU
confirmPayment: req_me9THlSLMxCiRp

#

@winter shuttle pressed the πŸ“‘ API button in #help to ask a question:

Question
Payments are declined due to Radar issue

Related Request ID(s)
Radar

What have you already attempted?
Tried to change risk score but not working

What are you working on?
Fraud prevention.

atomic shuttleBOT
#

@quaint flume pressed the πŸ“‘ API button in #help to ask a question:

Question
I am creating a widget that utilizes stripes API's. The widget uses client side code that connects to a server via rest API's. This server then communicates with Stripe using the secret key and returns the info the client side. I am using a node.js server. What are the standard security best practices I should implement in this process?

Related Request ID(s)
Security

What have you already attempted?
I have middleware, CORS configured properly, firewall rules set up, but I worry since if someone hacks this server it contains sensitive info I will need more

What are you working on?
a subscription widget to use on my thingsboard app

#

@uncut jacinth pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
, I am a testing engineer from China. I tested Stripe payment in China, but encountered two issues while using an app that integrates Stripe

  1. Using iPhone, Stripe cannot recall Apple Pay controls
  2. Using an Android phone, after using a proxy IP, the Google Pay control can be triggered, but the payment fails and Stripe suspects it to be fraudulent

What actually happened?
in china, can not arise apple pay and google pay

Reproduction Steps
Using iPhone, Stripe cannot recall Apple Pay controls

Question
May I ask how to test Stripe payment in China, including Google Pay and Apple Pay, and how can payment be successful

#

@rugged lance pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<form className={Styles.paymentForm} onSubmit={handleSubmit}>
<PaymentElement className={Styles.paymentElement} options={paymentElementOptions} />
{/* Show any error or success messages */}
{message && <div id='payment-message'>{message}</div>}
</form>

Question
how can i hidden the form option of Country?

What have you already attempted?
i can not do any effect work

atomic shuttleBOT
#

@white warren pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
HTML:
...
<div id="payment-element"></div>
...

-------------------------------------
Typescript:
...
this.stripe = await loadStripe(this.stripePublishableKey);
this.elements = this.stripe.elements(this.elementsOptions);
this.paymentElement = this.elements.create('payment');
this.paymentElement.mount('#payment-element');
this.paymentElement.on('change', (event: any) => {
this.isPaymentDataValid = event.complete;
});
...

Question
How can I implement my portal so that the customer can select from his payment methods?

What have you already attempted?
I haven't found anything about that.

What are you working on?
I am developing a website using angular and stripe.js

#

@meager kite pressed the πŸ“‘ API button in #help to ask a question:

Question
how can my customers that are connected below my main Stripe connect account issue refunds through their Stripe express dashboard?

Related Request ID(s)
x

What have you already attempted?
x

What are you working on?
x

#

@hollow wharf pressed the πŸ“‘ API button in #help to ask a question:

Question
i am trying to collect payment details (ACH [bank details]) and create payment method id using createPaymentMethod method of stripe js, how can i success that payment if i have payment intent and payment method id

Related Request ID(s)
pi_3PTLayJuNQz7pWWL1Kd86XVj

What have you already attempted?
i attempted stripe payment intent confirm api via confirm api but it saying that "Payment method data is not allowed when payment_method_options[us_bank_account][verification_method]=instant is used"

What are you working on?
i am trying to achieve the flow

#

@craggy junco pressed the πŸ“‘ API button in #help to ask a question:

Question
We are planning to set the source_transaction in the Stripe Transfer create API endpoint.

  1. What would be the source_type of the transfer if we set the source_transaction for the transfer?
  2. Will we receive the insufficient funds' error from the Stripe Transfer create endpoint if we set the source_transaction for the transfer?

Related Request ID(s)
https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability

What have you already attempted?
We set the source_type before doing the transfer. but sometimes we get the insufficient funds error from Stripe Transfer create API endpoint.

#

@cold dragon pressed the πŸ“‘ API button in #help to ask a question:

Question
In test mode I was able to add test bank account.
In the live mode it is showing error message as
setup_intent_invalid_parameter - payment_method_types

Related Request ID(s)
req_1yXRIS2V5mNCMg

What have you already attempted?
I have asked previously and have turned on the BECS Direct Debit

#

@thick kraken pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
How can I create mandate for existing customers who have already added their cards as payment method?
I need to understand how to update the mandate details for existing customers without their setupIntent id.

What have you already attempted?
I have successfully added mandate flow for new indian customers in my portal.
I looked through the documentation and found that you can only update mandate data options with setupIntent Ids for each customer. Unfortunately, we don't store setupIntent id for each of our customer. We do have stripe customer id stored.

What are you working on?
I am building a saas platform where we charge the customer per usage base and we manually create invoice at month end.

#

@trim tulip pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am working on updating our Stripe integration from old CardElement + stripe.createToken + Charges API to PaymentElement with SetupIntent/PaymentIntent API. I need to make a call to the backend between the the payment method confirmed and executing charges. Creating setup intents works but then the user sees disclaimer that his payment details will be saved (event when it is a one-time charge) and agree to be charged for future payments. On top of that Google pay prompt shows $0.00 which is misleading since it is not a payment but just saving card details. What other options I have when I want to execute business logic between tokenization and charging?

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=setup&lang=ruby#submit-the-setup
https://docs.stripe.com/payments/payment-element/migration?integration-path=future

What are you working on?
Migrating from CardElement + Charges API to PaymentElement and SetupIntent/PaymentIntent API

#

@fiery stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
Does a Subscription Schedule always have a related subscription?

Related Request ID(s)
N/A

What have you already attempted?
Reviewed the documentation but I am still not sure about this.

What are you working on?
Stripe Billing integration

atomic shuttleBOT
#

@dark kiln pressed the πŸ“‘ API button in #help to ask a question:

Question
how can I get if an issuing account was funded

Related Request ID(s)
a

What have you already attempted?
don't find any apis to test it

#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I get Stripe fee Before Payment and Before Payout?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Doing to see stripe's fee before Payment/Payout.

#

@uncut jacinth pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
in china, we want to use wallets, such as apple pay and google pay

What actually happened?
in china, when we use china credit card to payout, but can not arise the apple pay and google pay

Reproduction Steps
can not arise the apple pay and google pay

Question
what shoud i do, can use the wallets, such as apple pay and google pay

#

@steel nacelle pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The customer portal should dynamically scale and fit inside a mobile device browser.

What actually happened?
The customer portal doesn't scale well on mobile anymore. It now has a min-width that makes it only display half of the page with overflow on the rest.

Reproduction Steps
Open this link on a mobile device or make your browser window as small as a mobile device: https://billing.stripe.com/p/login/dR63gb1s76CqeMU4gg

Question
I don't know when it happened, but not long ago the customer portal did dynamically scale correctly. This has changed very recently. My question is if this is something you are aware of and working on fixing or if there is any new config I'm not aware of related to this?

What are you working on?
Mobile application with subscriptions where the users are using the customer portal to handle their subscription.

#

@undone goblet pressed the πŸ“‘ API button in #help to ask a question:

Question
Google Pay button do not appear on Express Checkout Element.
I am trying to migrate from Payment Request Button to Express Checkout Element.
But GG Pay button do not available, even though with the same browser, It is visible with Payment Request Button

Related Request ID(s)
no ID

What have you already attempted?
I made an experimental with the minimum code like this:
```
const elements = this.getStripe().elements({
mode: 'payment',
amount: this.getAmountInCent(this.checkout.amount),
currency: this.currency?.toLowerCase(),
})

    const expressPaymentElement = elements.create\('expressCheckout', {
        paymentMethods\: {
            "googlePay"\: "always",
            "applePay"\: "always",
            "link"\: "auto",
            "paypal"\: "auto",
        }
    }\)

    expressPaymentElement.mount\(container\)

```.

What are you working on?
I am trying to integrating Express Payment Element

#

@lunar spindle pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to hit stripe invoice APIs, to get all invoices data but after 999 hits the apis stops responding.

Related Request ID(s)
NA

What have you already attempted?
Put sleep after each call still getting issue. Not sure if it is a rate limit issue or not.

#

@lapis parrot pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/events/types

Question
Can an Invoice payment fail if its Checkout Session succeeded?

What have you already attempted?
I looked in the docs and asked the search AI, but the answer was not related...

What are you working on?
I'm working on endpoints, and trying to decide if I can consider the `checkout.session.completed` event will always lead to an `invoice.paid` event. And, if not, in which case this could not be.

atomic shuttleBOT
#

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

atomic shuttleBOT
#

βœ… Stripe developers are currently available on Discord!

#

βœ… Stripe developers are currently available on Discord!

#

@wintry brook pressed the πŸ“‘ API button in #help to ask a question:

Question
We need to collect application fees via a standard payment intent but using customer-provided API keys from their own account and not keys through our primary account via Connect.
The customer would still be onboarded via Connect and associated with our account via onboarding, so how would the fee be directed?

Related Request ID(s)
NA

What have you already attempted?
NA

atomic shuttleBOT
#

@sour laurel pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
In test mode, it's not possible to update the subscription schedule in specific situations.

What actually happened?
Even though the phase has not yet passed, it cannot be updated because it is considered as already past.

Reproduction Steps

  1. create customer
  2. create subscription and set 2 quantity
  3. request update subscription.schedule
    0 phase quantity 2 with current period time(start, end date)
    1 phase quantity 2 with only start date of 0 phase end date
  4. occur error (You can not update a phase that has already ended. Trying to update phase 0.)

Question
what happen? Even though it is in test mode, it seems correct that it does not occur. Is there another solution?

atomic shuttleBOT
#

@wanton siren pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const ourTaxRate = new Decimal('0.01');
const stripeFeeRate = new Decimal('0.029');
const stripeFlatFee = new Decimal('0.30');

const cc1AmountDecimal = new Decimal\(cc1Amount\);
const cc2AmountDecimal = new Decimal\(cc2Amount\);
const cc3AmountDecimal = cc3Amount ? new Decimal\(cc3Amount\) \: new Decimal\('0'\);

const totalAmountBeforeFees = cc1AmountDecimal.plus\(cc2AmountDecimal\).plus\(cc3AmountDecimal\);

const cc1Fees = cc1AmountDecimal

Question
The main issue is that the tax and fee calculations are adding to the expected amount. Specifically, when attempting to charge a total amount, the calculated fees and final amount are not as anticipated. For example, for a $30 total amount, the system calculates $32.75 instead of $31.47. I need to understand the exact tax formula used by Stripe, including how the percentage fee and fixed fee are applied.

What have you already attempted?
tried the P charge, P goal, F fixed, F percent formula within code logic.

What are you working on?
I'm building a payment processing system that splits a payment between multiple cards and accurately calculates and displays fees, including our tax and Stripe'

atomic shuttleBOT
#

@cold dragon pressed the πŸ“‘ API button in #help to ask a question:

Question
In test mode I was able to add test bank account.
In the live mode it is showing error message as
setup_intent_invalid_parameter - payment_method_types

Related Request ID(s)
req_d7PfaQMluB9teE

What have you already attempted?
I might have already turned on the BESC_DIRECT_DEBIT for this business

atomic shuttleBOT
atomic shuttleBOT
#

@modest elk pressed the ❌ An Error button in #help to ask a question:

Error Message
"url_invalid"

Question
When i try to confirm setup, the return url seems to be invalid, and thats strange because before that it was working.

What have you already attempted?
Tried to change the url, and the customer id

atomic shuttleBOT
#

@stable patrol pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment?platform=react-native

Question
I want to integrate stripe payment in my react native project where i want the payment form to be directly displayed in the checkout screen

What have you already attempted?
currently i am able to integrate payment using paymentsheet but it appears on a modal on click of the button which i dont want like tht

atomic shuttleBOT
#

@vocal wagon pressed the πŸ“‘ API button in #help to ask a question:

Question
I wanted to understand API request allocations for GET request. In documentation they have mentioned Read API requests shouldn’t exceed an average ratio of 500 requests per transaction for an account.
But then they have mentioned this "Connect platforms use a separate allocation to make read requests on behalf of their connected accounts", what do they exactly means by connected accounts and platform.
Also I wanted to knwo if we make requests through OkHttpClient and through stripe SDK is there a difference in fetching invoices? Because my OkHttpClient requests after sometime don't respond.

Related Request ID(s)
NA

What have you already attempted?
Making API requests to fetch invoices.

#

@half jackal pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Using SetupIntent + StripeJS + incorrect billing address + card element I expected to get a AVS error.

What actually happened?
Log ID: req_hAcZj46yhVFsjR

I've used SetupIntent with StripeJS card element and added in incorrect billing address information. Got a 3DS from my bank, validated my request and got a response that everything is ok.

Reproduction Steps

  1. Make api call to retrieve SetupIntentID
  2. Use the SetupIntentID with StripeJS card element.
  3. Add in billing_details.address in request POST body
  4. Verify through 3DS

Question
My goal is to retrieve AVS validation results for billing_details.address. My integration can only succeed if AVS did happen and address validation was successful. I'm thinking maybe I should setup Radar or Identity verification in Stripe platform to make this work on every call? What are your suggestions?

What are you working on?
Validating user inputted address for auditing purposes

#

@pliant coyote pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
After a certain number of payment failures/retries, the status changes to 'canceled' within Stripe, and the transaction no longer exists. Therefore, the payment cannot be processed and must be handled manually. Is it possible to restore a payment after it has been canceled? Alternatively, is it possible to create a new charge during a payment retry if the previous charge has failed? Does this violate Stripe's policy?

Doc/Guide Links
https://support.stripe.com/questions/payment-blocked-due-to-excessive-retries
https://stripe.com/resources/more/failed-payment-recovery-101
https://docs.stripe.com/api/payment_intents/create

What are you working on?
payment retry system

atomic shuttleBOT
#

@hot brook pressed the πŸ“‘ API button in #help to ask a question:

Question
We're integrating with Stripe Tax and we'll be sending customers Tax ID number and address asynchronously so they might not always arrive in the same order. Would tax validation work correctly if you first receive a customers tax ID, and then the customers address is updated?

Related Request ID(s)
/

What have you already attempted?
The docs are light on tax validation detail: they only provide 3 different numbers: one that fails, one that succeeds, one that remains pending.

#

@bronze hedge pressed the πŸ“‘ API button in #help to ask a question:

Question
I am attempting to test stripe connect, specifically, I'd like to test cross-border payments by creating a French connect account in my testing environment. Afterwards, I'd like to test an american credit card user sending a payment to that account. However, when attempting to create this account, even when entering in a "French" phone number (+33 and all 0s), I appear to be locked into selecting a U.S. address for my location. How do I create a test account that is French instead?

Related Request ID(s)
All done in just the dashboard

What have you already attempted?
I have attempted selecting different business types (Individual vs. Business).

What are you working on?
A platform connecting audiences to classical music artists, where they can donate and or pay for digital tickets and subscriptions for digital content.

#

@crude sky pressed the πŸ“‘ API button in #help to ask a question:

Question
sepa_credit_transfer sources api is going to down
so can i also change in sepa_debit api also

Related Request ID(s)
sepa_debit

What have you already attempted?
sepa_debit

atomic shuttleBOT
#

@azure gust pressed the ❌ An Error button in #help to ask a question:

Error Message
We cannot change the country of this account from IN to US. Please contact support for help creating a new account.

Question
How can I resolve the issue of connecting my India-based Stripe account with connected accounts outside India?

What have you already attempted?
I have tried creating different stripe accounts with phone numbers from US , UK, Germany however the same error is shown, not able to figure out how Stripe is identifying it as Indian account

What are you working on?
I have a marketplace website where creators can post their products/services, with individual and collective landing pag

#

@sinful iron pressed the πŸ“‘ API button in #help to ask a question:

Question
Can i use paymentIntent for subscription. Or can i make subscription by not create product

Related Request ID(s)
-

What have you already attempted?
-

#

@minor sonnet pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
I'm building an integration to sync Stripe data incrementally and want to clarify if the balance_transactions object is immutable or not. If it is, I could use the create date as query param to only request new records but if it is possible to edit an old balance_transaction this solution will not give us all records in their updated state.

So, can the balance_transactions object be updated or is it immutable after creation?

What have you already attempted?
For the other streams, we've used events to retrieve the updated objects. With balance_transactions, we couldn't find any events tied to them.

What are you working on?
Building an integration to sync Stripe data incrementally

atomic shuttleBOT
#

@tardy fractal pressed the πŸ“‘ API button in #help to ask a question:

Question
When an invoice is created via the API, does the system automatically apply any available credit balance for the customer?

Related Request ID(s)
NA

What have you already attempted?
Docs

What are you working on?
Stripe Integration with Salesforce

#

@white wren pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
PaymentMethodCreateParams.createTwint()

Question
Hi,
we are currently in the process of integrating Twint as a new payment method.

We use the custom payment flow and I'm wondering if twint is already supported in the Android SDK (20.46.0). I'm looking for something like "PaymentMethodCreateParams.createTwint()" but can't find anything.
Is there a workaround for Twint?

What have you already attempted?
It works for all other payment methods eg.
PaymentMethodCreateParams.createKlarna
PaymentMethodCreateParams.createEps
PaymentMethodCreateParams.createPaypal

#

@split forge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have to use 'Create separate charges and transfers' for my payments model. My company will be a marketplace based in the US and operating solely in Thailand.

My questions are:

- Can I send cross-border payouts to destination accounts in Thailand without having to create a local Thai company ?
- 'Create separate charges and transfers' is not available for the Thai market but I guess it doesn't affect me if my Stripe account is in the US, right ?

Doc/Guide Links
https://docs.stripe.com/connect/separate-charges-and-transfers
https://docs.stripe.com/connect/cross-border-payouts

What are you working on?
Vacation short term rentals.

#

@strange minnow pressed the πŸ“‘ API button in #help to ask a question:

Question
hi, is there any way to stop automatic updates like this?

Related Request ID(s)
evt_1PMLKZGXlQ7PG1unUGQU13IQ

What have you already attempted?
we haven't handled such updates in our implementation for this event

#

@sharp forum pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
I am trying to understand this document to get a grasp of a free trial. To reduce the possibility of a dispute I want to easily offer refunds which would terminate the free trial and prevent us from being debited the stripe transaction fee. The payment info should be collected through stripe and should charge at the end of the free trial. This document says nothing about *when* we would get debited the stripe transaction fee. All I really understand is that it creates a $0 invoice.

What have you already attempted?
I've tried asking the AI doc thingy, but it yes mans me and refers me to an article about not collecting information but still offering free trial.

What are you working on?
Recurring service subscription

#

@blissful pumice pressed the πŸ“‘ API button in #help to ask a question:

Question
setting metadata on checkout.session or setup intent induced payment_method

when i create a checkout.session i cannot specify a payment_method_data.metadata.

nor am i able to update the setupIntent created with the checkout.session with a
payment_method_data.metadata
as type 'card' is not allowed

is there any plans to make this possible.
currently we have to patch the payment_method after it was created with the metadata instead of doing it beforehand.

Related Request ID(s)
-

What have you already attempted?
stripe.checkout.session.create({
...,
payment_method_data: { metadata: { ... }})

and

const co = await stripe.checkout.session.create({...})
await stripe.setupIntents.update(co.setupintent, {
payment_method_data:{metadata: { ....}}
})

#

@hushed lily pressed the πŸ“‘ API button in #help to ask a question:

Question
When I send a payout to 1 of my express connected account, it says that I have insufficient balance, but when I check my balance it has an amount of 9659970

Related Request ID(s)
req_eDnczAIIY0dRbj

What have you already attempted?
Create API using this -> https://api.stripe.com/v1/payouts?amount=[amount]&currency=[currency]&source_type=[source_type]

What are you working on?
App like Task Rabbit, my main account is from US, my express accounts are from Dominican Republic

#

@glacial crest pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
My question is that the client may not have configured a list of products and prices, just putting a description and a price in the appointment itself (like in Google calendar), my question is when creating the payment link I need to pass a product and price. Should I create a new product for each appointment with the description and price or is there a way to create the payment link without creating new products, just passing a name and price?

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

What are you working on?
I have a digital agenda and my clients can create appointments and I wanted to integrate with connect and payment link to request payment for the appointment.

#

@severe lance pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://dashboard.stripe.com/revenue-recovery/retries

Question
Is there a way for us to set up Revenue Recovery (smart retries, emails) on behalf of connected accounts (Standard), either using API or set it as a default when we create the account?

What have you already attempted?
I'm not able to find any documentation on it, and when I impersonate a connected account, it's not possible to manage these settings (https://dashboard.stripe.com/revenue-recovery/retries).

What are you working on?
Platform using Stripe Connect to manage Standard accounts

#

@eternal sonnet pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
i expected the capability to reset the password of a user

What actually happened?
i didn't find an option to reset the password of my user

Reproduction Steps
make a customer lose his password

Question
is there an option to reset the password of a stripe customer?

atomic shuttleBOT
#

@twin bloom pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const { paymentMethod } = await stripe.createPaymentMethod({
type: 'paypal',
})

  const { error } = await stripe.confirmPayPalPayment\(
    response.data.purchase.client\_secret,
    {
      return\_url\: getRedirectUrl\(currentPaymentPageId, uuid\),
      payment\_method\: paymentMethod?.id as string,
    },
  \)

  // this code doesn't work
  if \(error\) {
    logFailedPayment\(

Question
Hi, is it possible to handle error or success after passing redirect_url? because in my case it doesn't work

What have you already attempted?
try to log error and success

#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
Update text for apple pay and google pay with Express Checkout Element

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Update text for apple pay and google pay with Express Checkout Element

#

@hollow wharf pressed the πŸ“‘ API button in #help to ask a question:

Question
i want to create custom connected account , i provided all necessary info but why my account restricted?

Related Request ID(s)
evt_1PTgasFb8HfjTQSvFf4lHWSv , acct_1PTeK6Fb8HfjTQSv

What have you already attempted?
i want to see verified status in stripe dashboard of my custom connected account

What are you working on?
i am trying to firgure out the issue

#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
Google pay display in google of iphone chorme

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Google pay display in google of iphone chorme

#

@marble perch pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The PaymentElement React component displays several options

What actually happened?
The PaymentElement React component always displays one option (CC for USD, Ideal for EUR). If I turn off the option in the Dashboard, I see empty frame.

Reproduction Steps
Following this guide https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment&client=react#create-ct

Created this https://codefile.io/f/etAkPQFXg5
pk_key: "pk_test_51PT1tQP6HTnnbYyB9A5dZRzUJTmRxAh6Gt3mUnFMUOsXTu1WzjqWyO9dCpYrFKNcMM5gwflhcChgJUK0ykjRC40A000jRGdL3u"

Logs of payments_config POST shows the long list.

Question
What am doing wrong and how to make the element show all the options?

What are you working on?
Integrating Stripe in our current project

#

@sharp forum pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
See below cuz not enough characters.

Question
Does Stripe's API (typescript btw) have something to coalesce an event's id/object to either an id or object?

What have you already attempted?
Searching around, but turned up empty.

What are you working on?
Events handling

#

@cobalt orbit pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Reply to github issue https://github.com/stripe/stripe-react-native/issues/1675

What actually happened?
No reply

Reproduction Steps
See in issue referenced above.

Question
See in issue referenced above.

What are you working on?
Weight loss service

atomic shuttleBOT
#

@gentle kindle pressed the πŸ“‘ API button in #help to ask a question:

Question
i create on user account using below api
await stripe.accounts.create({
type: 'standard', // Account type: standard, express, custom
country: 'US', // Country code for the account
email: 'example@example.com', // Email address associated with the account
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
});

it was account created but payout not processing. i check status of this account is restricted ?

Related Request ID(s)
-

What have you already attempted?
i create on user account using below api
await stripe.accounts.create({
type: 'standard', // Account type: standard, express, custom
country: 'US', // Country code for the account
email: 'example@example.com', // Email address associated with the account
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
});

it was account created but payout not processing. i check status of this account is restricted ?

What are you working on?
Ecommerce app

#

@mental pelican pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I've a case. We're a DevTool, using Stripe. We're working on pay-as-you-go pricing model. So, clients are using the services throughout the month, we're generating invoice at the end of the month and they're paying it out before due date. We're sending our service usage data to stripe, and stripe generates invoice. This is working well.

Case -- I have a few enterprise accounts, with which I've a deal, under which they've to add certain amount of funds in their Video SDK account (e.g.$100/mnth), and this amount gets added as credit in their account. And, when invoice is generated, their amount is adjusted against this balance.

Currently it's manual. How can we automate?

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

What are you working on?
Can we use "Subscription" to charge the clients on monthly/quarterly basis (from their saved card) and add that amount as credit in client's account? This credit should be adjusted when we generate monthly (usage-based) invoice.

atomic shuttleBOT
#

@forest hazel pressed the πŸͺ Webhooks button in #help to ask a question:

Question
What is up with the customer.source.expiring event? From the console, On our test account I can only see this event was ever sent 1st of april 2024. I find it hard to believe that that's the case. On our prod account I only find this event being sent related to some migration cleanup, where all customers with the expiring card has been deleted.

Related Event ID(s)
evt_1P0pr3KzUvCzCIV4woN4NdFC

What have you already attempted?
I am expecting many events the 1st of every month, notifying me of upcoming cards expiring, but that's not the case

#

@deep hawk pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
User tried to pay for subscription through checkout session. The card entered had insufficient funds and I expected that the checkout wouldn't finish.

What actually happened?
Instead the checkout created subscription that had status "past-due". Which caused some bugs.

Reproduction Steps
That is actually my question. I would like to solve this edge case locally, but I'm not able to replicate this, because none of the test payment cards I tried resulted in subscription being created with status "past-due". They always fail during checkout.

Question
That is actually my question. I would like to solve this edge case locally, but I'm not able to replicate this, because none of the test payment cards I tried results in subscription being created with status "past-due". They always fail during checkout.

#

@chrome quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
Payment intent was confirmed. But the authentication was failed. Please let us know what's the exact issue is? Is the issue from the customer side? Ref: https://dashboard.stripe.com/acct_1LxiNqDR8M4a6MZP/payments/pi_3PQj7pDR8M4a6MZP2OmQWoXU

And with this payment intent, the charge was failed. Ref: https://dashboard.stripe.com/acct_1LxiNqDR8M4a6MZP/payments/pi_3PQj8hDR8M4a6MZP0OMRl9q7

Related Request ID(s)
evt_3PQj7pDR8M4a6MZP2bwxd45X, evt_3PQj8hDR8M4a6MZP02IKxD5T

What have you already attempted?
This is approach we follow and works in the test mode. Could not reproduce the issue.

#

@tardy gorge pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
stripe.createPaymentMethod({
type: 'revolut'
}).then((result) => {
/// TODO
}).then(response => {
//TODO CHECK THIS LOGIC
return ACC.checkout.confirmPayment();
}).then(data => {
/// TODO
}).catch(e => {
if(e.response && e.response.data) {
/// TODO
}
});

Question
Dear support,
i am trying to integrate new payment method - Revolut Pay. How i should create payment method correctly ? I receive an eror : "Missing value for createPaymentMethod: revolut should be an object or element."

What have you already attempted?
Code above

What are you working on?
Marketplace solution with Stripe in it

#

@frail lantern pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Invoices should be present on every payment, regardless if it's live or test mode.

What actually happened?
Invoices are not present on payments in live mode.

Reproduction Steps
Make a payment in a test mode and you'll be able to get an invoice. Make a payment in live mode and there's no invoice to be found.

Question
Why are there no invoices present for payments in live mode but there are invoices in test mode?

What are you working on?
A Stripe integration for my company's product

atomic shuttleBOT
#

@hoary lagoon pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello! After a few months of having Stripe successfully implemented in my Firebase project, I'm now looking to move to my live keys.

Due to this, I've moved my test keys to the Google Secrets Manager (which acts as a .env for Firebase Functions). However, whenever I try to use my test key obtained from the Secrets Manager, I'm getting the error:
message: 'An error occurred with our connection to Stripe. Request was retried 1 times.',
detail: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Authorization"]

I can confirm that the hardcoded key and the env key are the same.

Related Request ID(s)
req_Igc56Z0Hr7ApeL req_sjsfrGyA3d6ggB

What have you already attempted?
I've tried various ways of getting and parsing the secret key, including using .toString(), wrapping it with `${}` etc.

My payment intent code looks like this:
const validatedStripe = new stripe.Stripe(process.env.StripeKey);
await validatedStripe.paymentIntents.create({
amount: req.body.amount,
currency: "gbp",
metadata: req.body.metadata,
}, (err, paymentIntent) => {
if (err != null) {
console.log(err);
} else {
res.json({
paymentIntent: paymentIntent.client_secret,
});
}
});

What are you working on?
I'm working on adding a payment method to my Flutter mobile application and website. The error occurs when trying to get the paymentIntentClientSecret so that I can show the user the payment sheet.

#

@wintry heron pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm building an android app to put on the s700devKit, is there anyway that I could put my app to run after the Payment is received?
My app has more than 100mb, and I've already installed it locally via adb, but everytime after a test payment, it goes back to the stripe splash screen.

Related Request ID(s)
Couldn't find anything related

What have you already attempted?
I've already installed the app on the s700 device
I've tried to push my app via dashboard (payload too large)
https://docs.stripe.com/terminal/features/apps-on-devices/troubleshooting?lang-android=java
https://docs.stripe.com/terminal/features/apps-on-devices/build

#

@dense pivot pressed the πŸ“‘ API button in #help to ask a question:

Question
We recently got the email about the sources API no longer supporting non-card payments.

Is there anyone who can provide a few pointers as to how we migrate our sources api code to use the payment intents API ?

Our current code makes the following calls to the Stripe API:

1) POST customers
2) POST sources
3) POST customers/<customer_id>/sources

We make reference to properties, returned at step (2), like 'error', 'sepa_debit.last4' and 'sepa_debit.mandate_reference'. Will those properties still exist when we switch to the Payment Intents API ?

What have you already attempted?
We already accept card payments via the Payment Intents API so should we be, basically, looking at copying that code but just changing the data we send ?

#

@wise iron pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, our app (Parcelcraft Shipping which can be found at https://marketplace.stripe.com/apps/parcelcraft-shipping) is newly released in the Stripe Apps Marketplace. Our app takes your payment, invoice, or customer data and creates shipping labels for USPS, Fedex, UPS, DHL, and more, right in the Stripe dashboard. As a general announcement to the forum: We're looking for beta-tester users who use Stripe and need to ship items for a feature with our API where you can generate custom shipping rates that are quoted to your customer's address and your preset package weight.

Related Request ID(s)
null

What have you already attempted?
We've attempted to find testers on Reddit, but we thought this might be a good fourmn.

What are you working on?
https://marketplace.stripe.com/apps/parcelcraft-shipping

#

@fossil cosmos pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const StripePricingTable = () => {

const i18nLocale = useSelector((state) => state.i18nLocale);

useEffect(() => { loading script here and setting -> pricingTable.setAttribute("locale", i18nLocale)};

return (
<stripe-pricing-table
pricing-table-id="my ID"
publishable-key="my Key"
locale={i18nLocale}
/>
);
};

export default StripePricingTable;

Question
Hello, we are currently integrating pricing tables built on Stripe into our Ruby on Rails App (React front-end). We need three different languages. We use the i18nLocale attribute to load different language scripts on our side. I am guessing it must be possible to pass our language locales to Stripe to render the Pricing table in the matching language ("en", "fr", "nl"). I can not find the right documentation though, is that possible? & how ? or where are the docs?

What have you already attempted?
I attempted to pass our language locale together with the useEffect loading the "stripe-pricing-table" but the displayed table sticks with the language selected on the table creation on Stripe.

What are you working on?
We are building a recruiting Website for the construction sector in Belgium.

#

@jade apex pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
There is a customer payment in "processing" state. The invoice of this payment is in "open" state. I want to discard this invoice. What's the best way to do this? If I void the invoice, will the payment be cancelled? I don't want customer to be charged since I want to discard this invoice.

Doc/Guide Links
https://docs.stripe.com/payments/payment-intents/verifying-status

What are you working on?
I'm working on cancelling a payment that is already initiated by the customer.

#

@dire mantle pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to retrieve card last4 attached via Link? API are not providing Card object attached to this payment method.

What have you already attempted?
Retrieve card attatched to Customer via Link

#

@faint barn pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
i don't have the code because i don't know from where do i need to access it

Question
How to set the setting recurring: false in my payment intent (pi_) creation?

What have you already attempted?
i didn't try anything because i don't know from where to do this

What are you working on?
not working on something , just integrated the payment with smoobu chanel manager and stripe

#

@bleak flicker pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I wish to restrict free trails with same payment process. We can do that with emails. But how to achieve that with payment menthod. Is there any info in the webhook endpoint we can use.

Related Event ID(s)
I don't have an event id for this. I am asking

What have you already attempted?
checking things in the webhook endpoint. feeling directionless

#

@narrow ivy pressed the πŸ“‘ API button in #help to ask a question:

Question
how to Add a bank account or debit card,Account application missing
This account has not finished submitting their application. Please ask the account to complete onboarding,Accept the terms of service
Onboarding & verification using api

Related Request ID(s)
i want to send money from my stripe account to connected account

What have you already attempted?
i create express connect account with api endpoints https://api.stripe.com/v1/accounts

#

@sinful iron pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
how can i implement subscription feature in my backend but don't want to create any product and price

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

What are you working on?
i use payment_intents for my standard payment because don't want to create any product and price. So what solution that i can do if I want to create subscription feature

#

@west vault pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const { error, confirmationToken } = await stripe.createConfirmationToken({
elements: elementsRef.current,
params: {
payment_method_data: {
allow_redisplay: savePaymentMethod ? 'always' : 'unspecified',
},
set_as_default_payment_method: false,
},
});

Question
is there a way to pass a parameter to set a payment method as default, while creating a ConfirmationToken?

What have you already attempted?
I passed the variable as hardcoded, but it is not read in Stripe request req_rAn9yqmGhtJA2j

#

@gaunt verge pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using strip checkout, I am collecting shipping address in a previous step to calculate shipping cost before redirecting to the stripe hosted checkout. I want to pass the shipping address collected to the checkout session so the customer don't have to input it again

Related Request ID(s)
req_eUhmHzieSFlScd

What have you already attempted?
I couldn't find any resources that mentioned this

#

@sleek dirge pressed the ❌ An Error button in #help to ask a question:

Error Message
FATAL EXCEPTION: main
Process: com.example.taptopayandroid, PID: 28097
java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 0.

Question
I have added the location in the Dashboard but app is unable to fetch that location and my app got crashed when the location list is empty.

What have you already attempted?
I am following this tutorial https://youtu.be/2y0abSgxPXw?si=7UpztUuiHg178q8K but getting an error.

What are you working on?
I am working on stripe sdk for android https://github.com/stripe-samples/tap-to-pay-android-demo?tab=readme-ov-file

#

@steel inlet pressed the πŸ“‘ API button in #help to ask a question:

Question
Is possible to receive PaymentIntent ID as query param in the redirect_url when a Checkout Session is completed? It seems that only the session_id could be appended to the url as query param

Related Request ID(s)
none

What have you already attempted?
none

What are you working on?
ERP Platform

#

@foggy wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
How to create a checkout link for a product that a connected account has created? When I use the price_id of the created product I get the error that the price_id wasn't found because there are no products in my platform account, only connected accounts with products.

Related Request ID(s)
req_Q0TtDn6vNofc0W

What have you already attempted?
I can set the price for the checkout link, but that doesn't achieve my goal of dynamically pulling it based on the connected account's price.

What are you working on?
I have a marketplace where vendors list products and I take a commission. I'm planning to use destination charges to withhold the funds I receive until the goods have been fulfilled by the vendor.

#

@tribal rock pressed the πŸ“‘ API button in #help to ask a question:

Question
i have implemented the stripe payout functionality. i want to add one more functionality such as
i want to calculate the payout processing fees and this fees should be deducted from receiver side

Related Request ID(s)
N/A

What have you already attempted?
yes

What are you working on?
yes

atomic shuttleBOT
#

@wispy cosmos pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is there any documentation which helps me in multiple currencies along with multiple payment methods for subscriptions ?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements
I am following the above guide for subscriptions flow using web elements.

What are you working on?
I am building dynamic subscriptions which supports multiple currencies and multiple payment methods using nodejs sdk of stripe.

#

@grave night pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
stripe_account = request.account_id

    \# Create a new customer in the connected account
    customer = stripe.Customer.create\(
        description="Customer for subscription",
        stripe\_account=stripe\_account
    \)

    \# Create the invoice item for the one\-time fee
    invoice\_item = stripe.InvoiceItem.create\(
        customer=customer.id,
        amount=request.one\_time\_fee\_amount,
        currency=request.currency,

Question
I want to create a subscription for connected account to the platform i have IBAN

What have you already attempted?
I have tried this in code i sent

#

@dense plinth pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
When I have a subscription that recurs each month. What will happen If the user fails to pay and let's say in 3 months the user fixes their payment.
Let's say the user pays 100$ each month.

When the user fixes their card in 3 months of delay how much money will pay

What have you already attempted?
Nothing I just need an info

#

@hot heron pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Can i somehow remove a subscription item when a new invoice was already created?

At the end of a billing cycle i want to check if all subscription items are still valid, this is not always the case.

I would do that by reacting to invoice.created
At this moment i want to remove some items that should not be going into the next cycle

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

What are you working on?
Domain registry

#

@brazen pier pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
We are using Stripe Checkout for Payment but somehow it's by default check the option of link . Which ask my owners to enter phone number

Question
We are using Stripe Checkout for Payment but somehow it's by default check the option of link . Which ask my owners to enter phone number

What have you already attempted?
We are using Stripe Checkout for Payment but somehow it's by default check the option of link . Which ask my owners to enter phone number

What are you working on?
Stripe Checkout

#

@icy wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to make a pre existing stripe payment system work. 

My code was not working, I then got it working but the next morning it stopped again with the same error, once again I fixed it and again in the evening it did the same.

The code isn’t being changed and the error stays the same.

ERROR Stripe Error Code: Failed Message: You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY'). See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe

Related Request ID(s)
POST /v1/payment_intents

What have you already attempted?
Code was fixed multiple times but breaks out of nowhere

What are you working on?
adding a stripe system to marketplace

#

@strange minnow pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I have this event "customer.source.updated" with source: Automatic, there was an automatic update to one of customers card, does Stripe update customer cards own its own?

Related Request ID(s)
evt_1PMLKZGXlQ7PG1unUGQU13IQ

What have you already attempted?
like expiry, last4 & fingerprints as well?

#

@foggy latch pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/standard-accounts

Question
We're using the modern implementation of connecting standard accounts where you first create the account then send them a link (as opposed to the old way of using oauth). However, what if they want to connect a stripe account they've already created? Will this process work?

What have you already attempted?
We told a customer it would, but not actually sure if that will work. Do we have to use oauth instead?

#

@waxen mica pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am using the Salesforce Stripe Connector to listen to an event for when a subscription is created and once it has been created, go and update the future invoice product amount

Related Event ID(s)
customer.subscription.created

What have you already attempted?
I tried using the Stripe action within the flow but am having a hard time understanding how to get what I need accomplished.

What are you working on?
This is for Stripe Connector app for Salesforce.

#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to ask about display apple pay and google pay

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
I want to ask about display apple pay and google pay

#

@dire pond pressed the πŸ“‘ API button in #help to ask a question:

Question
We are currently using the invoice url property to download the invoice in pdf. We've found here: https://docs.stripe.com/receipts and here: https://stackoverflow.com/questions/71853034/how-long-is-stripe-receipt-url-valid-for that the links expire after 30 days, we are not sure if that affects to this url to download the invoice, and if it does, if a new url is created of it is permanently not useful to do so. Can you lend us a hand to clarify this?

Related Request ID(s)
Invoices

What have you already attempted?
https://docs.stripe.com/receipts

#

@near ocean pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am trying to configure a subscription. Requirements are rather complex.
There is a fixed amount paid monthly, unless on trial. This amount may be reduced for N months by a discount code. Discount code is actually a partner code and partners need some reports on these codes.
There is also usage based amount paid at the end of the month. Unless usage is above some threshold, in that case customer is charged immediately.
Usage based calculations have allowances. For example 50/month are included. These allowances are different for trial period.
Need help implementing.

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

What are you working on?
SaaS billing.

#

@kind plinth pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How to get the Amazon Pay button? What should I do for? (US vpn)

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element

What are you working on?
I use ExpressCheckoutElement and Elements from @stripe/react-stripe-js package (React.js web application). In dashboard settings Amazon Pay wallet is turned on. I can see only Link and Google pay?

#

@tawdry quarry pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<stripe-buy-button
buy-button-id="buy_btn_1PT"
publishable-key="pk_live_5"
>

Question
How can I override the text for the button (Stripe Payment Link)? It is needed because I need to support transliteration. I think maintaining payment links for each language is a bad way.

What have you already attempted?
I tried to use "label" and "data-label" attributes. It does not work.

What are you working on?
I build website with Stripe Payment Button for multiple regions/languages.

#

@strange flax pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I want to use Stripe Invoices to charge a customer using Stripe Products & Prices, how can I avoid creating "orphaned" invoices if the user decides to abandon a payment and later creates a new "cart" with different products? Is there a way to end up with a single Invoice per payment?

Using Checkout Session I can achieve something similar: I can pass a list of products, and it will only create the invoice once the session has been paid, otherwise there's no invoice for that customer. But I would like to have a similar flow while using Payment Element on my site instead os a Checkout Session.

What's the recommendation? How can I avoid ending up with many unpaid invoices?

Doc/Guide Links
https://docs.stripe.com/payments/checkout
https://docs.stripe.com/billing/invoices/subscription

What are you working on?
Customer product cart / checkout / invoice payment flow.

#

@mint night pressed the πŸ“‘ API button in #help to ask a question:

Question
If I we have a CAD stripe account, and bill a customer in USD, can we get the result from the API call list the conversion into CAD that will be paid in our account

Related Request ID(s)
None

What have you already attempted?
Nothing yet

What are you working on?
Adding products online in USD

#

@ember shell pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I would like to setup the upsell price for "Product Monthly plan Price A" to "Product Yearly Plan price C"

What actually happened?
I'm able to setup the upsell price for "Product Monthly plan | Price A" to "Product Monthly | plan Price B"

Reproduction Steps
Product: "Monthly plans"
- Price A: All in one podcaster 14.99 USD / Month
- Price B: Podcast Network 19.99 USD / Month

Product: "Yearly Plans"
- Price C: All in one podcaster 99.99 USD / Year
- Price D: Podcast Network 199,99 USD / Year

Question
Could you please confirm this limitation on your end or are we doing something wrong inside my configuration test?

#

@knotty yoke pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<PaymentElement
options={{
defaultValues: {
billingDetails: {
email: 'myemail@gmail.com'
}
}
}}
/>

Question
Im trying to add Link to a checkout (that was already using the PaymentElement), by passing the email in the defaultValues prop, but for some reason the Link features arent showing on the PaymentElement, even though the Link account exists.

What have you already attempted?
I have followed the steps on the docs:
- Im creating a setup intent passing the customer id and payment_method_types: ['card', 'link'].
- Im passing the email to the PaymentElement using the defaultValues prop.
- I have registered my HTTPS domain (im using ngrok to test locally).
- I have enabled Link in the Stripe dashboard.

What are you working on?
Im trying to add Link to a checkout (that was already using the PaymentElement)

#

@willow pebble pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Im using a webhook in my java springboot application. Everything works perfectly when the api version is 2023 but when i use the 2024 version it breaks down. Do you know why this could be happening? Payments do get completed but in my code i alo put that i has to send confirmation email. This does not work anymore on the 2024 version

Related Event ID(s)
none

What have you already attempted?
tried both 2023 and 2024 api version. 2023 version does work. Also tried it with other account and new products id

What are you working on?
Making a springbook Java application where you can rent lockers

#

@normal sphinx pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm building an interface in which the users can register many credit cards that could be used as a payment method (I used checkout with setup mode for this). But the problem is that I donΒ΄t know how to create a checkout session setting a specific payment method (I used the list of payment method s of a customer to build the interface). By default, it uses the last configured card, is it possible to use previous cards ?

Related Request ID(s)
None

What have you already attempted?
I read the docs, but didnΒ΄t find a way to do this with checkout. A possible workaround would be to set this payment method as default when the user click it

What are you working on?
An embedded interface in which users can register multiple cards to use it for later payment

#

@elfin musk pressed the πŸͺ Webhooks button in #help to ask a question:

Question
We are about to onboard users through connect standard. Does our webhook automatically get applied to their connected account with us? We want our webhook to be applied to all connected accounts

Related Event ID(s)
req_0yoIfNUfBIkLAS

What have you already attempted?
I've tried to sign myself up, it seems like the webhook doesn't get transferred

What are you working on?
We are transitioning from paypal to stripe for our clients who run events, they use us for event registrations

#

@shell path pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
In 'payment_intent.succeeded' hook, I expected that the 'amount_received' is the actual amount received so the initial amount minus the refunds.

What actually happened?
In 'payment_intent.succeeded' hook, the 'amount_received' is always the initial amount even if there are refunds.

Reproduction Steps
Create a payment intent, request a partial refund and check the 'amount_received' from the 'payment_intent.succeeded' event.

Question
So what is the proper way to get the real amount received for a payment intent?

#

@primal glen pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey! My company uses the Invoice API to generate invoices from our own, in-house subscription system. So we create products like, "Enterprise Annual" (say it's $100/year), then use the InvoiceItem + Invoice API to bill (e.g., if they have 20 users, we set quantity=20 using that ^^ price). I'm trying to figure out how we could prorate if they add a user in the middle of the year. Do I need to create a separate price object (e.g., for half the amount)? And possibly 365 price objects for each possible proration?

Related Request ID(s)
(none)

What have you already attempted?
(We're exploring a net-new use case, just trying to get feedback on an idea. Also, I'm a former Stripe employee. 😁)

#

@restive dock pressed the πŸ“‘ API button in #help to ask a question:

Question
app it is not working i have an error

Related Request ID(s)
stripe api

What have you already attempted?
I have an error

What are you working on?
app for my page to pay

#

@twin belfry pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
need dimensions of app

Question
need dimensions of app or aspect of app

What have you already attempted?
searched stripe app documents, but not found

What are you working on?
documentation and design purpose

#

@primal dust pressed the πŸ“‘ API button in #help to ask a question:

Question
We've created a Payment Link which charges a customer based on a specific product from our product catalog, but which does NOT create an invoice. We cannot figure out how to tell from the resultant payment entities, what products were bought.

Related Request ID(s)
pi_3PTmQmGGq1MJhrgL0KR9wHOV

What have you already attempted?
We looked in the dashboard through all the objects that seem associated with the payment and we don't see any line items.

What are you working on?
An app that migrates data from Stripe to Mailchimp, but it requires product information to migrate successfully.

#

@prisma coral pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using direct charge with a standard connected account. We take an application fee from a transaction. Then if the entire charge is refunded we refund the transaction fee. But if the charge is only partially refunded we do not refund any of the transaction fee.

Related Request ID(s)
N/A

What have you already attempted?
I've tried only returning the application fee if the refund is the entire amount. But if we do a first refund of 1/2 the payment and a second refund of 1/2 the payment, I can't figure out how to return the entire application fee on the second refund.

#

@earnest lintel pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi there - I changed one of our connected accounts statement descriptors via the update account API, and it looks good when I GET account. However, since I made the change I've had customers report that they still see the old statement descriptor. How or when does this get updated for customers who have existing subscriptions with us?

Related Request ID(s)
NA

What have you already attempted?
API request

#

@dire pond pressed the πŸ“‘ API button in #help to ask a question:

Question
We are currently using payment intentions so that clients can pay bookings at a location. We've been asked to generate invoices for each of these payments. What we've done is to generate a new invoice when a successfull payment event is recieved via webhook, add the description and amount of the payed payment intention as an invoice item, and then mark the invoice as paid. We are retrieving each hosted invoice with its id and then downloading its pdf through its url. We are not sure if this flow is sustainable in the future because of these expirations we've found online

Related Request ID(s)
Invoices

What have you already attempted?
.

#

@foggy bolt pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi. I have a problem with not being able to retrieve the past phases of a subscription schedule. Please have a look at this subscription schedule ID "sub_sched_1PD7GKDVf1B7CjYuTMLGw24m" . It has 4 phases on stripe dashboard but the stripe.retrieve function gets only three.

Related Request ID(s)
sub_sched_1PD7GKDVf1B7CjYuTMLGw24m

What have you already attempted?
Tried to use the "await stripe.subscriptionSchedules.retrieve(subscriptionScheduleID as string))" to get the phases

What are you working on?
E-commerce platform

#

@real lynx pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey guys. I am having trouble creating a confirmation token. I am able to submit my elements with a mounted Payment Element, but when I try to call 'createConfirmationToken', I get 'v3/:1 IntegrationError: Could not find a mounted element to create the Confirmation Token from, please ensure you have a Payment Element or Express Checkout Element mounted (or both).' But I can breakpoint and see the Payment Element in the elements object. We are using Stripe Connect to manage merchant accounts, FYI.

Related Request ID(s)
None

What have you already attempted?
I have tried any possible option I can think of. Initially I was getting that error when submitting the element, but adding more data to the config options fixed that. SO I assume I'm missing some configuration somewhere. I am using TypeScript/Angular, though I am using the Stripe.js directly.

What are you working on?
We are creating software for the service industry, starting with Pest Control companies.

#

@humble rivet pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
implement payment form in react use stripe element and payment element

Question
I have put a variable in amount field in option taken from stripe element. when i use google pay, e.g. the amount 40 will show on the popup window, however when i close the popup window and update the amount to 60 and click google pay again, the amount still show 40, is there any way to update the amount on google pay popup window?

What have you already attempted?
i checked when there is an amount update, the element component should re-render. however, it doesnt work

What are you working on?
i am working on the payment form to support google/apple pay, and I can modify the pay amount

atomic shuttleBOT
#

@raw plaza pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-and-reuse?platform=react-native&mobile-ui=payment-element

Question
I would like to know if it is possible to obtain the user's card details (last 4 digits, expiration date/month, etc.) after creating a setup intent with the payment sheet and with the Stripe reader.

What have you already attempted?
I tried with useConfirmSetupIntent

What are you working on?
I am creating a setup intent to save the user's card details for future transactions, using the payment sheet or the reader, and I need to display the card details on the screen

#

@summer crane pressed the πŸ“‘ API button in #help to ask a question:

Question
We have implemented "allow_promo_codes" in stripe checkout mode payment, however we do not want to generate invoices. How can I retrieve either the discount code or the coupon associated with the checkout session from the Webhook without the need to generate an invoice?

Thank you very much in advance!

Related Request ID(s)
Dashboard>Developers>Events>CheckoutSession.completed

What have you already attempted?
I have attempted to generate an invoice simply for the purpose of obtaining the id of the discount/coupon but my supervisor is not in line with this

What are you working on?
Simple product/subscription checkout functionalities

atomic shuttleBOT
#

@versed lodge pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to try a canadian debit card for test, but it seems that there dont exist any on your wesbite.

Related Request ID(s)
N/A

What have you already attempted?
I made a US based account and tried it with a US card, and that one worked, but I want to see if the Canadian section also works.

What are you working on?
Tutoring app

#

@hexed cedar pressed the πŸ“‘ API button in #help to ask a question:

Question
I am writing quite a lot of integration tests with Stripe to test various scenarios.

I am using the Test Mode of the Account.

I currently have around 5k+ Invoices (which I cannot delete via the API as they are in various states that doesn't allow deletion.

Is what i'm doing considered bad practice?

Related Request ID(s)
Not sure there are any

What have you already attempted?
Read the documentation on Test mode

#

@burnt badger pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
``` js
const appearance = {
theme: 'stripe',
};
const options = {
clientSecret,
appearance,
};

return (
<div className='main-swipe'>
{clientSecret && (
<Elements options={options} stripe={stripePromise}>
<PaymentForm clientSecret={clientSecret} listingType={listingType} amount={amount} />
</Elements>
)}
</div>
);

Within PaymentForm.js:
const styles = {
layout: 'tabs',
};

I'm refer the quickstart code

Question
I've integrated stripe payment element into my web app and it works and accepts payments just fine. My issue is when testing the screen in ChromeDevTools and changing the screen size to a mobile size (ie. iphone 14 Pro Max). I cant see all the fields as the iframe limits the view. The stripe payment element works fine for all screen sizes but when testing a 430 x 932, I cant see all the fields with default css.

What have you already attempted?
I've setup a basic Elements and passed in appearance and clientSecret. Then within my PaymentForm component I have a PaymentElement with the tabs layout passed in using the same structure from the payments quickstart guide for a JavaScript SDK, React and Node application. I've tried to use custom id's to manipulate the card size because in a mobile view, I cant see the fields beyond the CVC title. Iframe height is too short and the base css works for all other screen sizes.

What are you working on?
Integrating Stripe Payment into Web Application

#

@shadow crow pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
An invoice should only have one successful payment for a subscription on a specific price ID.

What actually happened?
A draft for a second invoice was created 2 hours after the first invoice for both Customers affected. This draft went through the steps of changing the subscription, generating an invoice, submitting another payment for the invoice, and finalizing the draft.

Reproduction Steps
We have not been able to reproduce the issue. However, we noticed that in this particular case, two customers were using the same card to save their payment information on Link. Our logs show only a single entry indicating that a payment was successful.

Question
Could you help us figure out what may be causing this issue?

What are you working on?
We are working on a Web-App that allows users to Sign Up and subscribe for a gym membership

atomic shuttleBOT
#

@muted wing pressed the ❌ An Error button in #help to ask a question:

Error Message
This application is not authorized to edit the parameter 'email'

Question
The API is not allowing me to update the email of a Standard Connect account, even though the API documentation says I should be able to: https://docs.stripe.com/api/accounts/update#update_account-email

Notably, for the `company` and `individual` fields it's explicitly noted that they can't be changed after the account link, but for `email` it's not.

What have you already attempted?
Attempted to change the email via the API

Reproduction Steps

  1. Create a Standard Connect account.
  2. Start the account link process
  3. Attempt to change the account email via the API from the platform side
atomic shuttleBOT
#

@sand bay pressed the ❌ An Error button in #help to ask a question:

Error Message
comp.setCollectionOptions is not a function

Question
Notification Banner embedded component throws error

What have you already attempted?
I am using nextjs . I tried dynamic loading of the component with ssr set to false. also called loadConnectAndInitialize in useEffect by checkinfg if client has loaded

Reproduction Steps
```
<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
<ConnectNotificationBanner
// Optional:
// collectionOptions={{
// fields: 'eventually_due',
// futureRequirements: 'include',
// }}
/>
</ConnectComponentsProvider>
```

What are you working on?
Building real estate fintech trying to add the notifcation banner for the connected accounts

#

@blissful patio pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How could I track a payment method status?

I know a Payment Intent and Setup Intent can show the status of a payment method, but how should I get the status of a payment method based on the pm id?

Doc/Guide Links
Payment method, payment intent, setup intent...

What are you working on?
-

atomic shuttleBOT
#

@rough ridge pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I bulk report meter events, in usage based billing?

Related Request ID(s)
-

What have you already attempted?
-

#

@gusty lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
My client sells both alcoholic and non-alcoholic stuff.
Is it possible that for every purchase of a alcoholic product, the money will go to bank #1. And for every purchase of non-alcoholic product, the money will go to bank #2.

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Payment intent

atomic shuttleBOT
#

@kindred relic pressed the πŸ“‘ API button in #help to ask a question:

Question
I am not sure if my question was received so I am going to try again. I am trying to add a coupon/promotion code to the checkout session using the API. Example: Say if a students selects a tutor for $45 an hour. It then directs them to the checkout session. If they have a coupon code, they should be able to add it.

Related Request ID(s)
Not sure.

What have you already attempted?
Products, does not apply to us because our prices vary. We also do not have subscriptions.

What are you working on?
We are a tutoring company that offers tutoring lessons, group courses, courses, and group classes.

#

@stray owl pressed the πŸ“‘ API button in #help to ask a question:

Question
attempting to use @stripe/stripe-react-native, throws an error when I call useStripe()
"`new NativeEventEmitter()` requires a non-null argument"

Related Request ID(s)
no logs - setting up for first time

What have you already attempted?
I'm attempting to follow the supabase guide https://github.com/supabase-community/expo-stripe-payments-with-supabase-functions.

I believe the only Stripe logic is in /components/Payments.tsx and I have commented out all of that logic besides the useStripe() call and it still throws the error. Thanks for any help!

versions
"expo": "~50.0.19",
"@stripe/stripe-react-native": "~0.35.1",
"react-native": "0.73.6",
"expo-router": "~3.4.10",

What are you working on?
React Native/Expo frontEnd with Supabase Auth/Backend

#

@placid siren pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Como detecto con el status de la subscripcion que no se ha ejecutado la sub debido a que el usuario no ha podido verificar el 3d secure. En paymentintent existe el status confirmation_require y por ende puedo ejecutar $intent->confirm pero en subscripciones no.

What have you already attempted?
Check every status

What are you working on?
PHP Drupal

#

@kindred relic pressed the πŸ“‘ API button in #help to ask a question:

Question
I’m trying to add β€œadd a promotion/coupon code” option to my checkout page, without adding a product because prices vary per tutor. Every tutor has their own rate. The idea is when a student finds a Tutor for $40 an hour. When a student pays $40, there should be a coupon code option below the amount prior to paying.

Related Request ID(s)
Have not looked.

What have you already attempted?
We tried a few things such as creating a payment link but the student has to remember what the session was priced. Creating a product does not work for us because tutoring rates for tutors vary from $20-100 an hour.

What are you working on?
We are a tutoring business that offers tutoring lessons, courses, group classes for students.

#

@oblique pollen pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We use avatax so when creating subscriptions we set pay_immediately = false.
I expect that when unpausing a subscription, the invoice that stripe auto creates stays in a draft state to allow for avatax to set the tax on the invoice + our internal webhook handling to set the transfer data amount to send to the connected account

What actually happened?
When unpausing the subscription, the invoice was immediately finalized and paid. No tax calculation was done for the invoice. No transfer data was set on the invoice (we add this after tax calculation is complete and then finalize the invoice) therefore the connected account did not get paid

Reproduction Steps
Pause then unpause a subscription and view the newly created invoice

Question
What can we do to get the automatically created invoice to stay in a draft state. I tried setting pay_immediately to false in the update subscription call when pausing a subscription just in case but it didn't change anything

atomic shuttleBOT
#

@candid snow pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How do I verify a webhook event's IP address locally? When I run tests, I only see internal IP addresses

Related Event ID(s)
evt_1PTpvBHTHZMmFuxlQ6UCinhh

What have you already attempted?
I'm using the CLI to have `stripe listen --forward-to` route the event to my test endpoint, using the Stripe dashboard to add/remove a card from a customer, and the resulting event coming in only has local IPs

#

@hard ether pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We're trying to pass on Stripe fees to the customer. We have a lot of customers that use international cards and pay in different currencies and would like the Stripe fee to reflect exactly what their fee would be based on their credit card. Using the `PaymentMethod` we obtained, we can differentiate between the country of the card using the `country.card` property of the `PaymentMethod` and add the 0.8%. What is the best way to determine the currency of a credit card from its PaymentMethod so we know whether to add 2% if currency conversion is required?

Doc/Guide Links
https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers
https://docs.stripe.com/payments/payment-methods
https://docs.stripe.com/api/payment_methods/object
https://stripe.com/en-ca/pricing

What are you working on?
Web application to facilitate payments to municipalities for services.

#

@serene copper pressed the πŸ“‘ API button in #help to ask a question:

Question
How to update the coupon of all phases of the subscription schedule on the API? I don't want to update the items, only add a coupon to the phases. Is it possible without specifying the items? If not, how to specify the item so they won't change?

Related Request ID(s)
req_4Ub8nOop9KwSSH?t=1718912622

What have you already attempted?
Updating the schedule with only the coupon

#

@outer quail pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect future requirements current deadline to always be in the future.

What actually happened?
future requirements current deadline is in the past but there's eventually due items in the array.

Reproduction Steps
Listen for account.updated webhook events, setup and account and provide future requirements information before it becomes due. After the deadline update the account to receive a new webhook.

Question
How should I handle requirements x future requirements in order to show warning messages to my end users as well as we can see those in Stripe's dashboard.

What are you working on?
Stripe custom connect account onboarding using hosted checkout.

atomic shuttleBOT
#

@plush quartz pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We disabled Link in Dashboard > Payment Methods, but it stays on

What actually happened?
After disabling Link at the main account and at the connected account level, Link continues to ask customers to save info during check out and if they do save it, it's there for the next customer.

Reproduction Steps
We disabled Link in Dashboard > Payment Methods. Waited a bit (now 7 days), and try to check out as a customer (site uses elements). Continues to ask about Link.

Question
In a kiosk setting where we have many customers sharing computers and checking out... we need to work to clearing sessions/cookies. But in the meantime how can I disable Link until we get this resolved?

atomic shuttleBOT
#

@knotty yoke pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/link/save-and-reuse?defaultValues-integration-type=before#charge-saved-payment-method

Question
Im integrating Link into a PaymentElement. So far, I've created a SetupIntent and, using the Link features, I can select one of my saved cards. But im having problems with card that require 3DS authentication. The docs says: "To find a payment method to charge, list the payment methods associated with your customer.". Will this be a different payment method, than the one that I get after confirming the SetupIntent?

What have you already attempted?
Previously I was:
-Creating a SetupIntent
-Confirming the SetupIntent
-Using the payment method from the SetupIntent to create the PaymentIntent
And that worked fine. Do I need to changes the flow?

What are you working on?
Checkout with PaymentElement + Link

atomic shuttleBOT
#

@haughty dagger pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I created an affiliate management platform where brands can track and manage their affiliates. A lot of these companies are on Stripe. What is the best way of pulling the money out of the company's account and then paying out all the affiliates? Payouts occurr at the end of the month.

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

What are you working on?
Affiliate Management Platform

#

@dense saddle pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have a webhook that publishes payment_intent.succeeded and payment_intent.payment_failed. I am trying to figure out how I can get either the subscription_id associated with the payment. I dont see it in the response.

Related Event ID(s)
evt_3PTqhlGx3oNn81Ln1ddCdMsf

What have you already attempted?
Looked at the response

#

@sharp sentinel pressed the πŸͺ Webhooks button in #help to ask a question:

Question
We've updated our webhook to receive all treasury events but for some reason none seem to be getting delivered. Is there anything else we need to do to get treasury events to work?

Related Event ID(s)
rc_1PTrWeRDuxpVNUu89jTY7WKm

What have you already attempted?
Added all treasury events to our webhook and then sent another ACH payment to the financial account.

#

@fathom elk pressed the πŸ“‘ API button in #help to ask a question:

Question
Refund transaction failed. No such charge:

Related Request ID(s)
req_TFMzcJO6vE6XQO

What have you already attempted?
Sent connected account as empty while making refund.

#

@restive dock pressed the πŸ“‘ API button in #help to ask a question:

Question
payment process duration of the payment

Related Request ID(s)
api

What have you already attempted?
I made payemnts but those payments do not arrive to the other company because stripe make retentions

What are you working on?
I made payemnts but those payments do not arrive to the other company because stripe make retentions

atomic shuttleBOT
#

@humble rivet pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
use payment elements to support google pay, the whole process works. however when cancel google pay and try to update amount and use google, the amount does not update

Question
i use elements.update({amount: xxx}) as suggested to update option, however I saw "IntegrationError: You cannot update Payment Request options while the payment sheet is showing."

What have you already attempted?
I have read document about element update, and also researched the error messages and read about something about payment request

What are you working on?
work on stripe payment element that use google pay, there is one scenario that submit google pay and cancel the payment, update amount and pay again

atomic shuttleBOT
#

@drifting portal pressed the πŸ“‘ API button in #help to ask a question:

Question
I am looking to create a `on_behalf_of` property in my creation of a paymentIntent API call in your Stripe Connect system. The value of this property will be my companies Connect Account ID, as they are the "platform" as your docs like to call it, or the parent Connect account that other Connect accounts will fall underneath.

However, I cannot find the Connect Account ID of my business when I log in to Stripe and look through the dashboard. How would I find this ID?

Related Request ID(s)
req_mMHyoz6agTeA6P

What have you already attempted?
Googling, looking through the dashboard, etc

atomic shuttleBOT
#

@short geyser pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
await stripe.paymentMethods.create({
type: 'card',
card: {
number: 'REDACTED', // Apple Pay applicationPrimaryAccountNumber
exp_month: 1, // Apple Pay applicationExpirationDate
exp_year: 2030, // Apple Pay applicationExpirationDate
tokenization_method: 'apple_pay',
cryptogram: 'REDACTED', // Apple Pay onlinePaymentCryptogram
eci: '07', // Apple Pay eciIndicator
}
}, requestOptions);

Question
I have completed a Payment Platform Integrator level integration to Apple Pay and now have decrypted Apple Pay data. How can I send that data to stripe to process a transaction?

What have you already attempted?
I have followed several examples for different solutions to provide Apple Pay data to Stripe, even dug into the ActiveMerchant repository on Github and tried to recreate this with no luck: https://github.com/activemerchant/active_merchant/blob/master/lib/active_merchant/billing/gateways/stripe_payment_intents.rb#L490-L499

I have also scoured Stack Overflow, argued with ChatGPT, and tried reading through the NodeJS Stripe SDK on github to find solutions or inspiration.

What are you working on?
A payment gateway-like project for payment orchestration, to which I'm trying to add alternative payment methods like Apple Pay.

atomic shuttleBOT
#

@fathom elk pressed the πŸ“‘ API button in #help to ask a question:

Question
We, as a platform account, charge $2.10 per transaction, and Stripe charges $2.90 + $0.30 per transaction. Together, we take this fee from the customer. Since May 19, we started using the Payment Intent API, and we realized that all the fees are now being paid from the platform account instead of the connected account. I would like to know which API parameters I need to supply or change in the existing API calls. Could you please take a look?

Related Request ID(s)
req_yirDQMnEVS4juN

What have you already attempted?
Used Payment Intent API

What are you working on?
Platform and connection API account

atomic shuttleBOT
#

@fathom elk pressed the πŸ“‘ API button in #help to ask a question:

Question
We started using the Payment Intent API, and we realized that all the fees are now being paid from the platform account instead of the connected account. Which Payment APIs i need to use on stripe side. Could you verify the following request and make sure the fees is taking from the stripe connected account? NOTE: I made the code change and this is not LIVE, this is under test mode transaction.

Related Request ID(s)
req_iaUc4Mn4dir833

What have you already attempted?
I tried looking into the Dashboard, sorry, I can't figure it out and need help.

What are you working on?
Used PaymentMethod API instead of CardToken API

#

@candid widget pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/express-dashboard

Question
How to create a link for connected account to dashboard screen to view balance

What have you already attempted?
How to create a link for connected account to dashboard screen to view balance

atomic shuttleBOT
#

@vestal flax pressed the ❌ An Error button in #help to ask a question:

Error Message
Something went wrong?

Question
I have tried to login with stripe CLI and when It goes to the browser, the browser ui shows an error with the message "Something went wrong?"

What have you already attempted?
--

What are you working on?
--

atomic shuttleBOT
#

@torn plinth pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to transfer from bank token to a Connect Account but got an error
``
You have insufficient funds in your Stripe account for this transfer. Your ACH balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance).
``
So I want to check if there is any way to increase my ACH balance

Related Request ID(s)
req_EjBRVX2Dk9aoEm

What have you already attempted?
I check the provided document ( stripe.com/docs/api#balance) but there is no API to top-up for ACH balance

What are you working on?
I am trying to provide a solution to tranfer for our partner from my bank account

atomic shuttleBOT
#

@muted sable pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm unclear on whether a specific piece of functionality is available at all. We're a SaaS product servicing enterprise users, and they would like to raise an invoice to be submitted to their accounts team, rather than checking out directly. I can't really tell if that's possible via the stripe-hosted checkout page or not.

Related Request ID(s)
N/A

What have you already attempted?
I've read everything i can find that's relevant (i think?) but I can't find a definitive answer on whether I can include "Raise Invoice" as a payment option on checkout

What are you working on?
Premium user memberships

#

@wintry heron pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
the app to be deployed on the s700devkit

What actually happened?
when I finished the deployment, it gave me the message that the app was deploying, but nothing happened.

Reproduction Steps
I've followed everything in this documentation:
https://docs.stripe.com/terminal/features/apps-on-devices/overview
I've also finished the deploy as it says in here:
https://docs.stripe.com/terminal/features/apps-on-devices/deploy
but when I finish the deployment, it says that it's deploying, but nothing changes

Question
is there any extra configuration that I need to do, besides what's on the documentation?
I already have the deploy group with the location of the devkit well configured, the app is also approved, I've deployed the newest version to the deploy group but it's not being actually deployed

#

@rich valley pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
hey there, is it possible to put 1$ authorization hold to a card using stripe? if yes - how to do that?

What have you already attempted?
I've already integrated stripe payment-element into my checkout flow

What are you working on?
integrating platform pay into my website

#

@tribal rock pressed the πŸ“‘ API button in #help to ask a question:

Question
i've implemented the stripe payout functionality. now i have one more requirement such as while creating the payout the processing fees should be deducted from the user which is getting the payout.

Related Request ID(s)
N/A

What have you already attempted?
yes

What are you working on?
yes. implemented payout but processing functionality is incomplete

atomic shuttleBOT
#

@swift cape pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/expand

Question
I noticed that if a `PaymentIntent.create` call returns a failure due to a failed charge, any `expand=[...]` parameters I pass are ignored and the PaymentIntent does not come with expanded fields. Is there any explanation around this?

What have you already attempted?
Request req_6gG2bvzoivawzh: `expand=['latest_charge']` is passed but 'latest_charge' is not expanded. This came from a `PaymentIntent.create` call where the payment failed for whatever reason.

Request req_ffqZsrWx2KCUov: `expand=['latest_charge']` is passed and 'latest_charge' is expanded. This came from a `PaymentIntent.get` call on the same PaymentIntent as above.

What are you working on?
Using details in `latest_charge` do some data processing on our end; hoping not to have to carve an exception to use `last_payment_error`

atomic shuttleBOT
#

@severe leaf pressed the πŸͺ Webhooks button in #help to ask a question:

Question
If possible to first create payment intent and add card with create customer and connect with payment intent with customer

Related Event ID(s)
no

What have you already attempted?
i create a payment intent and add card also but i can't connect with payment intent with customer

What are you working on?
checkout

atomic shuttleBOT
#

@green hare pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I can't figure out how to handle via webhooks the recurrences expired due to non-payment by the user.
Can you help to find me some doc about it? thx!

Related Event ID(s)
.

What have you already attempted?
In the customer.subscription.updated event i dont find anything about that.

atomic shuttleBOT
#

@solar grotto pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
payment_intent = stripe.PaymentIntent.create(
amount=data_dict['amount'],
currency='aed',
automatic_payment_methods = {
"allow_redirects": "never",
"enabled": True},
)
# print(payment_intent)
# print(payment_intent.id)
payment_intent_modified = stripe.PaymentIntent.modify(
payment_intent.id,
payment_method='pm_ca

Question
hello
i am using stripe payment intents to handle payments in my app
with this code i can run test payments and i get payment success
but the problem is my payment method is static
and no matter what number i enter for my card number it always uses ****4242
and pm_card_visa for PM

What have you already attempted?
i tried setting my payment method to paymentMthod.id but i dont know how it works

What are you working on?
i am using Django and react for an ecommerce store

atomic shuttleBOT
#

@obtuse yew pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
try {
const response = await $.ajax({
url: "{{ route('front.process_payment') }}",
method: "POST",
headers: {
'X-CSRF-TOKEN': csrfToken, // Include CSRF token in headers
'Content-Type': 'application/json',
},
dataType: "json",
// data: JSON.stringify({ items }), // Uncomment if you need to send data
});

const { clientSecret } = response;
elements = stripe.elements\({ clientSecret }\);

const paymentEleme

Question
how to customize checkout page

What have you already attempted?
3

What are you working on?
intigrate payment gateway

atomic shuttleBOT
#

@mild vine pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Wondering if its possible to add a user-enter-custom-amount payment button on a client side only webpage, or button that redirect user to stripe where they can type custom amount.

Doc/Guide Links
iirc that's not possible when I was googling 3 years ago

What are you working on?
Picking up a client side only webpage that I worked on 3 years ago...

atomic shuttleBOT
#

@stone pewter pressed the πŸ“‘ API button in #help to ask a question:

Question
How do i wait for a test clock to finish advancing?
I have a fixture file that setup my dev environment and that relies on a couple of test clock advancements. Sometimes the test clock requires more time and the next command is executed before the clock is ready.

Related Request ID(s)
req_jBiF7qM8VDWaI0

What have you already attempted?
I'm not aware of any workarounds

What are you working on?
I'm testing renewal of subscriptions for different customers and different setups (like not paying customers)

#

@fresh crag pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/quickstart

Question
is there any other way other than importing stripe to the project. like any API or something.

What have you already attempted?
researched on the google and couldn't find any solution

What are you working on?
Accept in-person payments

atomic shuttleBOT
#

@cobalt lion pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi im trying to get google pay to work but i keep getting There was an error processing your order. my normal stripe payment works. I have added the .well-known. and both apple pay and google pay is active in my stripe dashboard

Related Request ID(s)
slack overflow

What have you already attempted?
i checked the dashboard and my code

atomic shuttleBOT
#

@maiden sorrel pressed the πŸ“‘ API button in #help to ask a question:

Question
I had a incomplete Payment Intent to be paid with a bank transfer that we forgot. Now the customer did transfer some money and the automatic reconciliation did partially pay for an old payment intent.

How can I get the money out of the old payment intent and return it to the customer cash balance?

Related Request ID(s)
No request yet made

What have you already attempted?
I tried to refund using the Console, but that doesn't seem to be allowed for partially paid invoices.

#

@proven plaza pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello. I have a question about the webhook and the account.updated event. If the account owner changes the business address, for example in the Account Details tab (when I change the address in this tab, the event does not work) or in the Company Details tab, how can I get the new address because the object "Account" only has "business_profile".support_address" which contains the address from the "Public Details" tab?

Related Event ID(s)
evt_1PU2kiFveib1JfzjXKmLT9yz

What have you already attempted?
I changed the business address in different tabs of the Stripe dashboard and checked what data I received from the webhook

#

@junior halo pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Deep Linking into a Connected Account - Best Practices and Recommended Approach

Hey there! I am currently exploring how to approach deep links from a web app into a connected account’s Stripe Portal. Some resources in my web app may also be inspected in the customer’s Stripe account, and I am wondering how to approach this in the recommended way. After my initial research, it seems the only way to achieve this is by constructing the URL myself in my app. I feel like this should be avoided and thought there may be an approach similar to how customer portal links work.

Doc/Guide Links
Pretty much all of Stripe Connect Docs

What are you working on?
Web Application leveraging Stripe Connect

#

@stiff plaza pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello, I'm working on subscription schedules and was wondering why when I click Manage scheduled update and Delete update on your dashboard it doesn't send me a we hook subscription_schedule.released. What do I need to do via your dashboard to get this released webhook. And if I can only click on Delete update, how do I see this action via your webhooks? Finally, can I release a subscription schedule via your API but by having the subscription ID instead of schedule ID? Thanks

Related Event ID(s)
current open subscription with a schedule: sub_1PU2fEL9NSQkHZNxTeMsW1ln

What have you already attempted?
I've read the subscription schedule API and used your webhooks, I've tried clicking Delete update.

#

@dusty wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to generate an invoice when a user's subscription is paused, i.e their trial is ended and they want to reactivate but the users can select another plan to switch on that reactivation step but im getting an error when trying to generate the upcoming invoice

Related Request ID(s)
req_auVdEWhK5vuRBc

What have you already attempted?
When i do this "The subscription is paused and will not generate invoices until it has been resumed. Pass the `subscription_resume_at` parameter to view the invoice that will be generated if the subscription is resumed." by passing the subscription_resume_at i wont be able to change the items to the new item. What is the best way to handle this type of situation.

#

@hot bough pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I can't build the event with the php function \Stripe\Webhook::constructEvent() because the Stripe signature and/or Webhook secret information don't seem to be right. But I don't know how to get them right. And the payload is correct because when I use the \Stripe\Event::constructForm() function directly, it works.

Related Event ID(s)
evt_1PU3OBFI9m9EHoBSuEjDk3iJ

What have you already attempted?
Know how to get the right information.

What are you working on?
I create a function that retrieves the Stripe invoice.finalized call to send an email to the customer.

#

@weak parcel pressed the ❌ An Error button in #help to ask a question:

Error Message
KeyError: 'HTTP_STRIPE_SIGNATURE'

Question
I am getting KeyError: 'HTTP_STRIPE_SIGNATURE' and I would like to know why

What have you already attempted?
I have 2 API

  1. Get's everything and redirects
  2. Has stripe things
    I tried ways to redirect everything and they worked but now I am getting that error and I tryed putting stripe things from API 2 to API 1 but still the same error

What are you working on?
Creating a webhook

#

@gritty vessel pressed the πŸ“‘ API button in #help to ask a question:

Question
If I have apple pay merchant Token, How can I later use that to charge user using Stripe.
I am using apple pay deferred payment. is this possible from server side ? just calling any stripe api?

Related Request ID(s)
N/A

What have you already attempted?
I have tried creating a setup intent as this is deferred payment, no luck.

What are you working on?
I am trying to integrate apple pay with stripe

atomic shuttleBOT
#

@fickle sun pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We are collecting a deposit from the customer when he starts working with us. After some time, lets say a year, we want to return that deposit to the user. Is this doable with stripe?

Doc/Guide Links
https://support.stripe.com/questions/refund-a-customer
https://docs.stripe.com/refunds

What are you working on?
An app for renting hotel and tourist equipment.

#

@patent vortex pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When paying with link i do to expect to have another link payment method added to the customers existing methods when using SetupFutureUsage.OFF_SESSION. This does not happen when paying with card

What actually happened?
This seems to happen because SetupFutureUsage.OFF_SESSION is set and just adds more the link payment method after each payment, a customer can have loads of the same link payment methods

Reproduction Steps
When creating payment intent add .setSetupFutureUsage(PaymentIntentCreateParams.SetupFutureUsage.OFF_SESSION) in java and pay using link

Question
Is this a feature or a bug? This does not happen for card so I don't understand why the same link payment method is created again. maybe there's a way around it?
I need to use the setup for future usage and it works as expected for card

atomic shuttleBOT
#

@neat pollen pressed the πŸͺ Webhooks button in #help to ask a question:

Question
While triggering a webhook in stripe, it is showing stripe signature is not valid kind of error

Related Event ID(s)
evt_1PU2wSCdRI7rcOCIE7Cs5emu, evt_1PU48LCdRI7rcOCIcZNSsyJ1

What have you already attempted?
I am getting stripe-signature while logging in my node js application and tried to give only v1 value from the header

#

@hybrid dragon pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The subscriptions should have renewed

What actually happened?
We got the following error message: β€œThe provided source has already been used to make another payment. You cannot reuse sources without attaching them to a Customer object first”

Reproduction Steps
https://dashboard.stripe.com/customers/cus_NHeD76cZKdFucq

Question
Why did it happen ? We're using Woocommerce Subscription for the renewals, and we migrated to a different server. Could this failure be explained by the change in IP address ?

#

@graceful niche pressed the πŸ“‘ API button in #help to ask a question:

Question
hello
i have to update a subscription price for 1st july,
im thinking of creation a subscription schedule from an existing subscription, but i dont know what info to use in the phase 0, indeed, the price used for the subscription has been generated through a sub creation indicating the amount (the amount is different for each customers)

Related Request ID(s)
xxxxxxxxx

What have you already attempted?
.

#

@mellow sentinel pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I'm looking to build a system that automatically creates manual payouts with some additional logic around the amounts that get paid out and the bank account references used. I'd like to check if it's possible to turn off automatic payouts in test mode, without affecting live, so that I can work on this in a sandbox environment?

Doc/Guide Links
https://docs.stripe.com/payouts#manual-payouts

What are you working on?
Custom payout schedule

atomic shuttleBOT
#

@candid widget pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to withdraw money for connected account
api call $this->stripe->payouts->create
with parameters
'method' => 'standard',
'source_type' => 'card',

Related Request ID(s)
https://docs.stripe.com/connect/manual-payouts

What have you already attempted?
payouts->create

#

@pure crane pressed the πŸ“‘ API button in #help to ask a question:

Question
setupFutureUsage cannot be toggled

Related Request ID(s)
-

What have you already attempted?
Once setupFutureUsage is set on Elements using elements.update({setupFutureUsage:'on_session'}),
we cannot remove setupFutureUsage.

elements.update({setupFutureUsage: null}) is not working.

#

@chrome thicket pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const url = `https://api.stripe.com${payload.apiUrl}; console.log\(accessToken\); const headers = { Authorization\: \Bearer ${accessToken}`,
// Authorization: `Basic ${Buffer.from(`${accessToken}:`).toString("base64")}`,
};

Question
I implemented the Stripe OAuth 2 flow and got a restricted key access token with `dispute_read` permissions.

However when I try to use the restricted key, i get the `platform_api_key_expired` error. I know this key is fresh because I generated it right before the API call (and the expiry time is 1h)

What have you already attempted?
I've combed the OAuth 2 docs many times, and tried both auth types as shown in the code.

What are you working on?
I'm working on a Stripe App!

#

@obtuse yew pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const paymentElementOptions = {
layout: "tabs",
country: "GB",
};

Question
How to set default country united kingdom on checkout paga

What have you already attempted?
3

What are you working on?
payment intigration

#

@dusk gulch pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
$switch_subscription = \Stripe\Subscription::update(
$package_data->profile_id,
[
'items' => [
[
'id' => $subscription_details->items->data[0]->id,
'price' => $price_id,
],
],
'proration_behavior' => 'none',
'metadata' => ['platform' => SUBSCRIPTION_PLATFORM],
]
);

Question
I have set proration_behavior none. so my payment pay instance or next billing

What have you already attempted?
next billing to pay my new payment

What are you working on?
Subscription

#

@gaunt remnant pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We expected that all customer information, including complete shipping and billing details, would be captured and displayed in the WooCommerce order page when a payment is made using Apple Pay through Stripe.

What actually happened?
When a customer paid using Apple Pay, the WooCommerce order page did not display complete customer information. Specifically, the address details were incomplete, making it difficult to fulfill the order. The issue seems to occur despite all shipping fields being set as mandatory in the checkout field editor plugin.

Reproduction Steps
Configure Stripe payment gateway in WooCommerce.
Enable Apple Pay as a payment option.
Ensure all shipping fields are mandatory using the Checkout Field Editor plugin.
Make a test payment using Apple Pay.
Observe that the WooCommerce order page lacks complete address information.

Question
How can we ensure that all necessary customer information (including complete shipping and billing details) is captured and displayed correctly in WooCommerce when payments are made using Apple Pay through Stripe?

What are you working on?
Woocommerce store

#

@neat pollen pressed the πŸͺ Webhooks button in #help to ask a question:

Question
While triggering a webhook in stripe, it is showing stripe signature is not valid kind of error

Related Event ID(s)
evt_1PU2wSCdRI7rcOCIE7Cs5emu, evt_1PU48LCdRI7rcOCIcZNSsyJ1

What have you already attempted?
I am getting stripe-signature while logging in my node js application and tried to give only v1 value from the header

#

@fathom elk pressed the πŸ“‘ API button in #help to ask a question:

Question
We recently started using the Payment Intent API sine May 19th, and realized that all the fees are now being paid from the platform account instead of the connected account. Based on our conversation with Stripe support, we learned that we can reverse the transaction by using the 'https://api.stripe.com/v1/transfers/[transferId]/reversals' API. For testing, we reversed a transaction platform fee. Could you please verify that the fee amount is accurate and that no extra payments were taken from the connected account?

Related Request ID(s)
req_as6LkKhKzAH5v2

What have you already attempted?
Made a test reversal transaction

What are you working on?
Once verified, I will proceed with revering Live transaction.

#

@sleek dirge pressed the ❌ An Error button in #help to ask a question:

Error Message
FATAL EXCEPTION: main
Process: com.example.taptopayandroid, PID: 21609
java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 0.

Question
Trying https://github.com/stripe-samples/tap-to-pay-android-demo?tab=readme-ov-file. Function causing app crash
private fun connectReader(){
val config = DiscoveryConfiguration(
timeout = 0,
discoveryMethod = DiscoveryMethod.LOCAL_MOBILE,
isSimulated = false,
location = mutableListState.value.locations[0]

What have you already attempted?
I am following this video tutorial https://youtu.be/2y0abSgxPXw?si=m1SmzVjpJxQE1B8L

What are you working on?
I am trying to run this demo at https://github.com/stripe-samples/tap-to-pay-android-demo?tab=readme-ov-file

atomic shuttleBOT
#

@teal scroll pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
```js
const session = await stripe.checkout.sessions.create({
success_url: `https://..., cancel\_url\: \https://..., payment\_method\_types\: \['card'\], line\_items\: \[ { price\: officialSubId, quantity\: 1, }, \], mode\: 'subscription', subscription\_data\: { metadata\: { custom\: \${discordUserId}`
}
}
});
```

Question
I mainly wanna use Stripe to enable Apple and Google pay, which are enabled in the dashboard, but they dont appear as an option on the redirect Stripe check out page.
Iirc Apple pay will/should popup as option if your account/machine is Apple related?
Tho for Gpay shouldnt it popup regardless?

What have you already attempted?
https://cdn.discordapp.com/attachments/1235240261383098391/1253675911216365568/image.png

https://cdn.discordapp.com/attachments/1235240261383098391/1253676017164226582/image.png

What are you working on?
Own website subscription

#

@karmic talon pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible setting up a trial period (collecting payment info) for a one-time product?

Related Request ID(s)
?

What have you already attempted?
No I am just wondering

What are you working on?
Payment flow for my SAAS

#

@sharp quartz pressed the πŸ“‘ API button in #help to ask a question:

Question
Change description in payment overview with Session payments

Related Request ID(s)
https://docs.stripe.com/api/metadata

What have you already attempted?
Creating and finishing a payment with session like
$paySession = $stripe->checkout->sessions->create([...

... 'payment_intent_data' => [
'metadata' => [ ....

Here I want to insert the description to each Payment which afterwards I want to see below https://dashboard.stripe.com/test/payments

Instead I see only the sessions like pi_... how to attach my custom description to this overview?

What are you working on?
Custom Shop

#

@foggy bolt pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hey Guys,
I am working on a revised implementation of my e-commerce app. I have the following bits of information at the moment. I would like to have your advice on what is the best practice on integrating Stripe based on my project needs. Here is what I have:
1) Products which have three prices each. Each price will be retrieved based on a value like "Premuim" ," Gold" , "Silver".
2) I need to be able to add discounts on the go while making subscriptions.
3) There will be referral code system which will reduce the monthly payment for the first few months.
4) Need to be able to add all that to the invoice items with details on discounts/referrals.

Doc/Guide Links
I have looked into the entire stripe docs. I figured that I need to use Tiered product prices and attach the prices to the phases of the subscription schedule. I just want someone to confirm my approach and possibly fill in some blanks if any.

What are you working on?
E-Commerce platform

#

@magic lance pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How can I see webook events older than 15days

Related Event ID(s)
none

What have you already attempted?
How can I see webook events older than 15days
I am looking at webhook

#

@brisk nymph pressed the πŸ“‘ API button in #help to ask a question:

Question
How to set overdue status in test mode

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

@midnight ocean pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have created to two checkout session with different purpose with the same secret key. so If I create the webhook for these two does it will have conficts

Related Event ID(s)
for now there's now event id it just my doubt.

What have you already attempted?
I have already tried these two checkout session with their webhook which is created with one secret key.

What are you working on?
I have been working on some unique ecommerce in which for now we will go with the one time payment mode using stripe but we have subscription model using these one time payment mode . which is questio

#

@austere minnow pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using the API to enable payouts to my customers. US users are able to successfully create and verify their accounts. Users from Bangladesh are not able to even verify their phone number even thought payouts to Bangladesh accounts are enabled. In the API call, I do not specify the country.

Related Request ID(s)
req_C6cfy6slEsoBKy

What have you already attempted?
- Checked that payouts to Bangladesh are enabled.

What are you working on?
A story app where writers can get paid for their stories.

#

@fiery stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
When trying to create a subscription for a Custom Account using Stripe Connect destination charges, are the products / prices created at the Platform account level?

Related Request ID(s)
None

What have you already attempted?
Reviewed documentation here: https://docs.stripe.com/connect/subscriptions#customer-connected-account

What are you working on?
Stripe Billing Integration

#

@forest hazel pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
params
.setPaymentBehavior(paymentBehavior)
.setTrialEnd(SubscriptionUpdateParams.TrialEnd.NOW) //forces expiration of any remaining trial days
.addAllItem(
currentSubscription.items.data.map {
val i = SubscriptionUpdateParams.Item.builder()
.setId(it.id)
.setPrice(it.price.id)

				if \(existingPricesToKeep.contains\(it.price.id\)\) {
					// Keep it
					i.setQuantity\(1\)
				} else {
					// Delete it
					 i.setDeleted\(true\)
				}

				i

Question
I am trying to have a pending subscription update where I might want to delete and replace plans, but I can't delete the "old" subscription items when the payment behavioour is PENDING_IF_INCOMPLETE.

What is the best way to do this?

What have you already attempted?
I have tried to .setQuanitity(0), but this is not really viable if I want to change the plan's billing interval. For example, the old plan is billed every month, the new plan is billed twice a month

atomic shuttleBOT
#

@inner bison pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm using Stripe Connect and Stripe Tax. The user onboards with Connect Express accounts, and we need to know if the connected account is a business or an individual to determine whether we should collect tax on their behalf if they are an individual. Is it possible to get this information via an API so we can respond appropriately? I can see the business_type in the logs but not when I make a request via the CLI. Is it possible to get all the data I can see in the logs so I can use it in my app?

Related Request ID(s)
req_2mSlXFGWpiRbth

What have you already attempted?
Made different types of requests via the CLI

What are you working on?
Auction marketplace

atomic shuttleBOT
#

@mystic hawk pressed the πŸ“‘ API button in #help to ask a question:

Question
How to integrate card present transaction

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
How to integrate card present transaction

#

@obsidian crystal pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
this.stripe.createToken(this.card).then(function(result) { //code goes here }

Question
The CreateToken method is hanging when we attempt to run it. The code in the function never executes, and no exceptions are raised by the try-catch block the createToken function is being run in

What have you already attempted?
const result = await this.stripe.createToken(this.card);
this.stripe.createToken(this.card)
.then(result => { //code }

Both of the above implementations display the same behavior

What are you working on?
Web form that takes in payment info and returns a token

#

@late sigil pressed the πŸ“‘ API button in #help to ask a question:

Question
Does the Stripe checkout page support Co-badged cards?

Related Request ID(s)
No Id

What have you already attempted?
Does the Stripe checkout page support Co-badged cards?

#

@frozen elbow pressed the πŸ“‘ API button in #help to ask a question:

Question
Currently using the list balance transactions api but want to grab the transfer id for refunds/partial refunds or reversals.

Question about if refunds that happens for example 6/25 for a payment that originally took place 6/21, will it show up on a payout for transactions from 6/25?

Other question is, is there a way to access the transfer id for a payment_refund? Because in the list balance_transactions endpoint, I see refunds but they do not have a source_transfer object which contains the transfer id.

Related Request ID(s)
NA

What have you already attempted?
stripe balance_transactions list --payout="po_1PTEKOGbO9HHspF7uxQPsH0d" --api-key="sk_test_β€’β€’β€’1hyw" --stripe-account="acct_1OL9pUGbO9HHspF7" -d "expand[0]"=data.source.source_transfer.source_transaction

#

@stark flower pressed the πŸͺ Webhooks button in #help to ask a question:

Question
We want to monitor our clientele. Is it possible to automate the following? possibly with webhooks

for every trigger:
cancelled subscription (trial/paid)
trial ends
nonpayment of subscription

action: notify via email

Related Event ID(s)
none

What have you already attempted?
none

What are you working on?
Email notifications for cancel/nonpayment in Stripe

atomic shuttleBOT
#

@rancid latch pressed the πŸ“‘ API button in #help to ask a question:

Question
When creating a SubscriptionSchedule for a Subscription that has a coupon with duration of "once" that will apply to the upcoming invoice, how to preserve the coupon?

Related Request ID(s)
N/A

What have you already attempted?
1) Include the discount in both the current and next phase of the SubscriptionSchedule.

Result: Stripe API returns this error:

invalid_request_error
Current and future phases may not contain deleted or expired discounts and discounts must be applicable. Phase 1 has a discount di_1PP5Sy01z6HWY8PkuFrD0nwe that would be deleted, expired, or not applicable.

2) Include the discount only in the CURRENT phase.

Result: The discount is NOT applied to the upcoming invoice.

3) Include the discount only in the NEXT phase.

Result: The discount is NOT applied to the upcoming invoice.

What are you working on?
SaaS platform that automatically upgrades or downgrades the user's subscription plan each month based on usage

#

@summer crane pressed the πŸ“‘ API button in #help to ask a question:

Question
We have included the vat in the price in the checkout session and lets say we have also a discount. Is there a way to retrieve the net undiscounted price? We would like to use Stripe's way of rounding the resulting decimal in this subcase.
Thank you very much in advance

Related Request ID(s)
checkout session with tax rates included

What have you already attempted?
We use List line Items to expand the sessions line items

#

@drowsy stone pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
All Accounts to be available to choose from when connecting via Financial Connection flow: stripe.collectBankAccountToken

What actually happened?
only 50 of 500 accounts were shown with no ability to get more.

Reproduction Steps
using stripe.collectBankAccountToken user began flow
logged in
stripe times out
tried again
logged in
only 50 accounts showed with no option to view more
client could not connect the account they needed to connect

Question
how do we get all of the accounts for our client to connect the correct one???

What are you working on?
Bank Connections and Account tracking

#

@wintry furnace pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Is it possible to force Stripe to always display Apple Pay + Google Play in the payment element like we can do with express checkout element ?

What have you already attempted?
It works with express checkout elements

#

@brave beacon pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Every time I use a payment link to pay for a product, a new user gets created in Stripe, even though the user already exists in my list of Stripe customers. Is this supposed to happen? How can I prevent this?

What have you already attempted?
I'm testing in "test mode" and when creating the payment link, I have these two options checked:

- Collect tax automatically
- Save payment details for future use

atomic shuttleBOT
#

@sly oak pressed the πŸ“‘ API button in #help to ask a question:

Question
How is your documentation so good? Even the error messages tell me exactly what I need to fix. What sort of conversations do you have with business/management to advocate for the importance of great documentation? (Asking for a friend)

Related Request ID(s)
N/A

What have you already attempted?
We've had countless meetings with management about allocating time for better documentation and testing, but they never seem to get anywhere. What's your secret?

#

@tranquil wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I enable refund option from express dashboard if not how can I create a standard dashboard for connect accounts with the refund option but disable the developer tools and creation of products or payment links

Related Request ID(s)
N/A

What have you already attempted?
Enabling the standard dashboard for connect accounts

What are you working on?
Enabling refund for connect accounts

#

@round dock pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
(this is in test mode) I expected usage to be applied to the lower tier first, then applied to the higher tier

What actually happened?
All of the usage is billed to the higher tier immediately

Reproduction Steps
(I have not attempted to reproduce)

Create a usage based product with a tiered price, customer subscribes to that price. Record usage against the subscription item. Usage is immediately applied to the higher tier before filling out the lower tier.

Question
This is only happening for one subscription in test mode as far as I can tell.

What are you working on?
A saas product where we bill EC2 runtime to customers

#

@stiff plaza pressed the πŸ“‘ API button in #help to ask a question:

Question
hello, how do I a subscription schedule, connecting it to a Subscription? I don't see that either when creating the schedule or by modifying the subscription I can ever link the two via the API so how do I do this?

Related Request ID(s)
n/a

What have you already attempted?
I have attempted doing SubscriptionSchedule.create with a subscription=id and Subscription.create with a schedule=id.

#

@vocal stump pressed the πŸ“‘ API button in #help to ask a question:

Question
When processing SEPA Direct Debit payments, what event should I listen to in order to send "pre-notifications"? And how am I supposed to send this notification if I don't know when a payment is made, such as an automatic rule triggering payment based on user behavior (in our case, automatic refills)?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Implementing SEPA Direct Debit for business customers

atomic shuttleBOT
#

@west pivot pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to lock the source amount in crypto on ramp API?

Related Request ID(s)
Crypto on Ramp API

What have you already attempted?
Just starting to test API. Cannot find a complete list of available params.

#

@tranquil pecan pressed the πŸ“‘ API button in #help to ask a question:

Question
I have embedded the pricing table form into our web app. After successful checkout, I want to redirect the user to a URL of our app. How can I do that?

Related Request ID(s)
req_vuWFUl1dlLCy2O

What have you already attempted?
I tried to add a success-url attribute to the stripePricingTable object

      stripePricingTable.setAttribute\('success\-url', 'https://app.ai/subscription/success');

however, that didn't work.

#

@solid wolf pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
to embed stripe connect onboarding form on my website

What actually happened?
it rendered a btn to redirect user to stripe connect stripe's onboarding website

Reproduction Steps
create account type custom
create session
embed form component

Question
how to embed the form in my app?

atomic shuttleBOT
#

@hybrid hemlock pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
import { showToast } from '@stripe/ui-extension-sdk/utils/';

Question
Hello, I'm updating an existing Stripe App and trying to add a toast component based on the documentation. I'm getting the error "Module '"@stripe/ui-extension-sdk/utils"' has no exported member 'showToast'.ts(2305)" .

What have you already attempted?
I've tried upgrading to the latest version of Stripe library and Stripe Apps.

What are you working on?
Updating a Stripe App

#

@exotic heart pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
...............................

Question
How to add payment mothed with firebase react native

What have you already attempted?
react native

What are you working on?
js

#

@pearl bramble pressed the πŸ“‘ API button in #help to ask a question:

Question
Shipping tax has been added despite the coffee beans is a non-taxable product.

Related Request ID(s)
req_Xs6hbGMxhrCs6l

What have you already attempted?
We have automatic_tax: { enabled: true } but I would imagine Stripe shouldn't have tax the shipment because according to the Stripe docs -

"Since all of the products the customer purchased are nontaxable food products, the entire charge, including the shipping and handling charge, is exempt from tax"

atomic shuttleBOT
#

@fathom elk pressed the πŸ“‘ API button in #help to ask a question:

Question
Transfer reversal question:
Let's say one of our connected accounts has a total balance of $$ amount. In that case, I can make an API call for a transfer reversal, right?

Related Request ID(s)
dont-have-one

What have you already attempted?
Ensure the connected has sufficient balance

What are you working on?
Working on it..

#

@vocal wagon pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I have a question, can you transfer the money to be a bank for a day or do you have to wait 1 week

What actually happened?
I have a question, can you transfer the money to be a bank for a day or do you have to wait 1 week

Reproduction Steps
I have a question, can you transfer the money to be a bank for a day or do you have to wait 1 week

Question
I have a question, can you transfer the money to be a bank for a day or do you have to wait 1 week

atomic shuttleBOT
#

@steel slate pressed the ❌ An Error button in #help to ask a question:

Error Message
"message": "The payment could not be captured because the requested capture amount is greater than the amount you can capture for this charge. Contact us via https://support.stripe.com/contact/ for help."
"type": "invalid_request_error"

Question
Previous communicaiton about this, but the issue is scaling quite fast and is novel. We're unsure if something is changing on the card network side.

What have you already attempted?
This is occuring with the tip-after-payment flow. Here is the log
pi_3PUARYAcqRxm04BK1hh6j8zM

Our workaround is to tip-before-payment/tip-on-reader. But many customers want to continue this flow *and* allow visa debit cards. Are any other customers dealing with the same issue?

What are you working on?
DripOS

#

@teal scroll pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
(request, response) {
const data = request.body;
const invoice = data.data.object;
const customMetadata = invoice.lines.data[0].metadata.custom;

console.log\(customMetadata, '<<<<<<<< stripe'\) //THIS IS GETTING LOGGED
const sig = request.headers\['stripe\-signature'\];

let event;
try {
event = stripe.webhooks.constructEvent(request.body, sig, 'weboohkey');
} catch (err) {
console.log(err)//NO err
}
console.log('STRIPE PAYMENT') // This is NOT logged

Question
console.log('STRIPE PAYMENT') // This is NOT logged

something wrong with stripe.webhooks.constructEvent(request.body, sig, 'weboohkey');?

What have you already attempted?
logging all the steps

What are you working on?
website

#

@wind shoal pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is it possible to pick and choose which items to prorate when billing for multiple items under one subscription?

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

What are you working on?
A subscription with 3 products, 2 that are fixed monthly and 1 that should be prorated

#

@smoky robin pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Amount Captured is zero when charge has failed (for ACH Debit Payments)

What actually happened?
Amount Captured is set when charge has failed (for ACH Debit Payments)

Reproduction Steps
Take a Failed ACH Debit Payment using the API
Check the charge.failed object in Dashboard and the amount captured is set

Question
I have an integration with the Stripe API.
When the client takes a paper payment (ACH Debit or ACSS Canada Check) and it fails, Stripe is sending the charge object with the amount captured set.
However it should be zero, because the amount failed to be captured.
Is it a bug on Stripe?

What are you working on?
API Integration

atomic shuttleBOT
#

@deft iris pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
The site has proven difficult to navigate for engaging the sale of the artifacts and art forms . need live advice.

Doc/Guide Links
too complicated for me and need live discussion

What are you working on?
pricing and web sales features

atomic shuttleBOT
#

@rough forge pressed the πŸ“‘ API button in #help to ask a question:

Question
With stripe.checkout.Session.create, I am able to create a one-off product via `product_data` inside the line items and it creates a one-off product that it also immediately marks inactive. I’m seeing the stripe.Subscription.modify API does not allow for `product_data` as `items[].price_data.product_data` and you must instead pass an actual product in. I tried emulating this by creating a product and then marking it `active=False` after assigning it, but I’m seeing there’s still something different going onβ€”the checkout ones can't be edited, but my ones canβ€”is there any way to match this?

Related Request ID(s)
req_2WnBZetgWv3lHC, req_3UfqrrPfqsbcXz, req_O9FFp6GTmIjL4y, req_XLXfEyKDdzrWvU

What have you already attempted?
See my question, I tried marking active=False to match, but looking at the requests, I’m seeing the error: `invalid_request_error
The product was created by Stripe automatically and cannot be updated.`

Is there just no way to match how Stripe Checkout does this with products?

atomic shuttleBOT
#

@hoary scroll pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
If I'm planning to switch from receive the invoice.upcoming event from 7 days to 14 days, what happens to the current orders that are scheduled to be billed between 7-14 days right now?

Doc/Guide Links
https://docs.stripe.com/billing/invoices/subscription

What are you working on?
Modifying when we're receiving the invoice.upcoming webhook

#

@dry gust pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
3DS to only popup the advertised amount https://docs.stripe.com/payments/mobilepay#3d-secure-authentication which is about 1% for most cases

What actually happened?
3DS check every time

Reproduction Steps
Use MobilePay to pay for anything in the nordics.

Question
3DS checks provide alot of friction. The intention with the MobilePay is to reduce that. Have I configured the integration incorrectly or is it inherent to the MobilePay integration?

What are you working on?
Booking platform for bars

#

@silent crystal pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Stripe Subscription Create

Question
how can I create a subscription with a discount applied to the first invoice but not the overall subscription?

What have you already attempted?
I am able to apply a discount in the retrieve upcoming invoice. Previously I used a hack with subscription schedules to be able to modify the first invoice, should I do something similar?

What are you working on?
I am building a discount-type feature into our platform where if a user has reached a certain status, they get a discount on their monthly bill.

#

@leaden nest pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/confirm

Question
Can I use tokenized card info from an external payment system to create a new charge / paymentIntent via Stripe?

What have you already attempted?
n/a

What are you working on?
We want to use the card token we receive from PCI booking to create a charge in Stripe so that we dont have to have the user enter credit card information again

atomic shuttleBOT
#

@weak parcel pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How to solve http_stripe_signature error

Related Event ID(s)
evt_3PUCxGFEH4SoslXV1gCzEzSg

What have you already attempted?
Send request to the webhook with CURL but another person from support told me that it's not good to use that and that I should use stripe directly but I am still getting that error

What are you working on?
Webhooks

atomic shuttleBOT
#

@scarlet cradle pressed the πŸ“‘ API button in #help to ask a question:

Question
How do i set different shipping rates for different countries?

Related Request ID(s)
Look in Dashboard

What have you already attempted?
It doesnt allow me to do it

What are you working on?
support

#

@outer sand pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How do I take non-idempotent action after stripe.confirmPayment success? I'm recording the purchase for analytics, but the user will be redirected before I can do anything. If I record a conversion that on the return_url page it might not create a duplicate event but it would still feel wrong. A user could load the return_url page multiple times.

Doc/Guide Links
https://docs.stripe.com/js/payment_intents/confirm_payment

What are you working on?
stripe elements payments

atomic shuttleBOT
atomic shuttleBOT
#

@exotic heart pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
React Native app with stripe mobile element payment

Question
When you open the payment screen, the application becomes heavy

What have you already attempted?
...

What are you working on?
React Native JS

atomic shuttleBOT
#

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

atomic shuttleBOT
#

βœ… Stripe developers are currently available on Discord!

atomic shuttleBOT
#

@brittle trench pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
success_url: `${api}/transaction/success?session_id={CHECKOUT_SESSION_ID}`,
cancel_url: `${req.headers.origin}/cancel-url`,

Question
Somehow, after filling the card info and clicking on the payment button the success endpoint is giving an error in the webpage and none of my console.logs inside are getting returned:
{"error":"invalid input syntax for type integer: "success""}

What have you already attempted?
I already tried to simplify the checkout function and the success function to the minimum and still can't fix it.

What are you working on?
I'm using the test environment to test my renting app, I only have a few hours to fix this...

#

@keen vine pressed the ❌ An Error button in #help to ask a question:

Error Message
An error occurred when calling the Stripe API to create an account StripeInvalidRequestError: `fees[payer]=application` is not supported when creating an account with the full dashboard.

Question
I am running into this issue where I am trying to onboard a new user to my connected accounts. Will ad more details in the comments

What have you already attempted?
I tried changing the charge type to account and it just timed out my application

Reproduction Steps
const stripe = require("stripe")(
// This is your test secret API key.
"sk_test_β€’β€’β€’C123.....",
{
apiVersion: "2023-10-16",
}
);
try {
const account = await stripe.accounts.create({
country: 'US',
controller: {
fees: {
payer: "application",
},
},
});

response.json

What are you working on?
https://docs.stripe.com/connect/onboarding/quickstart#init-stripe

#

@heavy trail pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Express Checkout Item (Google Pay button) should not intermittently disappear

What actually happened?
ExpressCheckoutItem div intermittently is removed. It is present immediately after mounting but then is sometimes removed. There are no errors shown in the console when the issue occurs.

Reproduction Steps
I've not been able to consistently recreate the issue, however when I have it has been when I'm resizing the browser window or opening the dev tools.

Question
What could potentially cause the ExpressCheckoutItem div to intermittently be removed?

atomic shuttleBOT
#

@obtuse yew pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
$paymentIntent = PaymentIntent::create([
'amount' => $request->amount, // amount in cents
'currency' => 'gbp',
]);

Question
how to store money in this curreny Β£0.00

What have you already attempted?
2

What are you working on?
payment intigration

atomic shuttleBOT
atomic shuttleBOT
#

@old osprey pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I show the product description on the invoice?

Related Request ID(s)
.

What have you already attempted?
I tried to add a description on the product description field but it's not showing in the invoice pdf file

What are you working on?
we have a subscription system where users have recurring billings , and users can check their invoice and receipt respective to their plans

#

@tribal rock pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey, consider my scenario, i have created hosted checkout page where the customer can pay and that money is sent to the website owner stripe account.
from owner stripe account, i want to made transfer money to the vendor connected account. ( implemented already). my main concern in that the transfer fees should be deducted from vendor net payment instead of website owner stripe account.

i am unable to fnd this solution.

Related Request ID(s)
n/a

What have you already attempted?
no

What are you working on?
doing RnD but found nothing

atomic shuttleBOT
#

@fiery stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there any documentation on how to create Prices / Suscriptions using Per Unit, Tiered and volume based and Tiered and graduated pricing for a usage based Pricing model?

Related Request ID(s)
N/A

What have you already attempted?
Reviewed this doc: https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#pay-as-you-go

What are you working on?
Stripe Billing Integration

#

@icy bison pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Stripe::Invoice.list({ customer: cus_id, status: :paid, expand: %w[data.discounts] })

Question
With this code I can get a paid Invoice. I want to exclude refunded Invoice from this list.

What have you already attempted?
I am looking at the Invoice object, but could not find where the refund status is stored.

atomic shuttleBOT
#

@frigid bane pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
PaymentIntentData = new SessionPaymentIntentDataOptions
{
ApplicationFeeAmount = applicationFee,
ReceiptEmail = receiverAccount.Email,
TransferData = new SessionPaymentIntentDataTransferDataOptions
{
Destination = receiverAccount.StripeId,
},
},

Question
Above provided code is not complete and i just shared a snippet. using .net mvc here, basically what we are trying is that we have our platform account whose keys we are using and it is in live mode, customers pay the creators and and when they click fund button stripe checkout session opens. after the checkout is completed we deduct 5% our platform fee, everything is working fine. the stripe fee is being deducted from the platform account, it should be deducted from payment.

What have you already attempted?
i have attempted the code and i will share the screenshot of full code

What are you working on?
we are a platform where creator post their goals and supporters fund those goals. on backend we are using stripe for payments

#

@tranquil hatch pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I'm reporting **daily pre-aggregated** usage for a customer whose billing cycle anchor is June 5 03:00:00 UTC. On July 5, at about the same time, an invoice will be generated. This invoice will contain **partial** usage data for July 5 (from midnight to 3am), is that correct? Usage data for the rest of the day on July 5 will be counted towards the next invoice?

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

What are you working on?
I built a text-to-speech widget that can be embedded on websites. The cost of the service depends on how many articles were synthesized to speech, and how many users listens to each article.

#

@dusk gulch pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
$subscription = \Stripe\Subscription::create(array(
"customer" => $user_info->stripe_token,
"default_payment_method" => $card->card_id,
"items" => array(
array(
"price" => $package_data->stripe_price_id,
),
),

Question
How to get payment intent i have create the subscription implement this code but not getting payment intent id
$latest_invoice_id = $subscription->latest_invoice;
$invoice_details = \Stripe\Invoice::retrieve($latest_invoice_id);

What have you already attempted?
3 attempt called

What are you working on?
Subscription create

#

@sonic arch pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/accounts

Question
How can a platform collect fees from other platforms?
Our business is building apps for other businesses (our clients). They are integrated with Stripe as platforms (they have their connected accounts).
Payments go directly to our clients, who make transfers for their connected accounts.
We have full control over our clients' applications and Stripe API (using the API keys).
We wish to collect fees from the transactions of our clients.
We also have a platform stripe account.
It's important that our clients have their stripe accounts and won't be connected accounts to our platform.

What have you already attempted?
I have tried registering our Stripe account as a connected account in our clients' Stripe accounts and making transfers to it.
I have struggled to link the existing account and also find a way to do it automatically via API calls.
As we have many clients, we need to find an automatic way to do it, without a human filling web forms.

#

@timid nimbus pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Hey, I want to know how I can achieve this : I'm going to use PayFac as a service which Stripe offers. How can sub-merchants submit their payments directly to Stripe when they use TUI/CLI-based applications?

What have you already attempted?
Reverse Proxy : Not all attempts follow PCI DSS compliance; that's the problem.

What are you working on?
Building a payment gateway as a service using stripe connect

atomic shuttleBOT
#

@opal wadi pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi I received this email from stripe:
is currently accepting iDEAL payments in your Stripe payments integration using the Sources API. Starting on 15 August 2024, the Sources API will no longer support non-card payments.

To avoid disruption to your business, upgrade to the Payment Intents API, Stripe's latest payments API. For the best migration experience and access to Stripe's newest features, we recommend that you integrate Payment Element or Checkout.
How can ii update my implementation?

Related Request ID(s)
NA

What have you already attempted?
NA

#

@stiff plaza pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I create a Subscription Schedule via your API for a certain Subscription?

Related Request ID(s)
n/a

What have you already attempted?
I've tried to do SubscriptionSchedule.create with from_subscription but my SubscriptionSchedule item still has subscription=null and when I retrieve my Subscription item it still has schedule=null. Do I need to send another API call, ie. for my Subscription.

What are you working on?
Integration Tests

atomic shuttleBOT
#

@lament loom pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I have a Question I have Enabled Apple Pay, and the Domain is verified but Apple Pay is not working in my Iframe
here is the id: pmd_1PUXbL2eK5EuH4UleypGurJB

Related Request ID(s)
pmd_1PUXbL2eK5EuH4UleypGurJB

What have you already attempted?
Apple Pay is not wokring

#

@frigid bane pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
https://dashboard.stripe.com/logs/req_fYDXWJLtjiRjVS

Question
on creating checkout i am getting error that specified customer is not an existing customer however this customer is in my customers dashboard

What have you already attempted?
i am creating direct charge and now i am getting this error. previously i was using same code but was doing destination charge and it was working fine

What are you working on?
we are a platform where creator post their goals and supporters fund those goals. on backend we are using stripe for payments

#

@lapis parrot pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
How do I configure a coupon so it is only applicable to subscriptions, and not one-time payments?

What have you already attempted?
I tried setting the Duration to "Multiple months" (and choosing "1 month"), but the created coupon code can be applied to the product, even on one-time purchases.

What are you working on?
I want to create a coupon code that makes the first month free. But I don't want it to be used on one-time payments (purchases, not subscriptions). I'm using hosted Checkout Sessions.

#

@lean bobcat pressed the πŸ“‘ API button in #help to ask a question:

Question
We are trying to set up via the stripe api a subscription, where occasionally there is an additional setup fee (so always an ongoing subscription fee of say Β£20, but occasionally and additional Β£200 setup fee on the first invoice). We currently have the subscription part working with the payment intents api, but trying to add the additional product using the short trial_end method so we can add the additional product to the first paid invoice is resulting in us using the payment method to charge the first invoice, but not fails to be attached to the customer. Any advice?

Related Request ID(s)
req_Mrre5RPLhQxyDi

What have you already attempted?
Played with a combination of payment intent and setup intent (which we use for zero invoices) to get the payment method to attach, but can't get it to work.

What are you working on?
A B2B website using stripe elements to facilitate a subscription payment model (a free, and paid plan is available)

atomic shuttleBOT
#

@lime igloo pressed the πŸ“‘ API button in #help to ask a question:

Question
how can I apply tax percentage while creating subscription?

Related Request ID(s)
-

What have you already attempted?
When I pass tax_percent in latest API it gives me error.

As per version (2020-08-27)

https://docs.stripe.com/upgrades#2020-08-27

now, how can I apply tax_percent to any subscription?

atomic shuttleBOT
#

@slim wadi pressed the πŸ“‘ API button in #help to ask a question:

Question
my funds are still not released after 120 days?

Related Request ID(s)
logs

What have you already attempted?
I emailed stripe numerous times it’s been more than 120 days and my balance hasn’t been released to my bank

What are you working on?
my stripe acc

#

@pulsar flame pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We currently offer subscriptions (B2C), but would like to start selling to companies. Where a company buys a single subscription that covers x employees to get access to our product. For now this will be a manual process. Basically we manually register the company as a customer and send them a payment link from the dashboard. But can we track the usage via Stripe? Basically we need to track the requests of the company where a request equals to one of their users signing up. Is there something we can utilize to create this behaviour? Via webhooks?

Doc/Guide Links
https://stripe.com/en-pt/resources/more/b2b-payments-explained-best-practices-and-how-stripe-can-help

What are you working on?
B2B support to our current B2C SaaS app

atomic shuttleBOT
#

@pseudo python pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We'd like to track failed submission on the Stripe Connect onboarding (hosted by us) to track our churn when users struggle with completing it. Is there a way to know when a submission has failed, and what fields errored specifically ?

Doc/Guide Links
https://docs.stripe.com/connect/custom/hosted-onboarding

What are you working on?
Stripe Connect integration

#

@cobalt rivet pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a PHP app which uses Stripe subscriptions to handle recurring payments which words great. I'm trying to use the upcoming invoice feature of the Stripe API to show to the user how much they will be charged when upgrading from their current plan to a higher plan. I've got a user who's currently paying $12 per month which last renewed just a few days ago and they want to go to $25 per month. The issue is that the upcoming invoice that Stripe is generating for me shows a total of $35 which surely can't be right i.e. more than the new monthly plan they want?

Related Request ID(s)
None showing for these API requests?

What have you already attempted?
Here's my code...
---
// Get Stripe subscription
$existingStripeSubscription = \Stripe\Subscription::retrieve("...");

// Generate the future invoice
$futureUpgradeInvoice = \Stripe\Invoice::upcoming([
'customer' => "...",
'subscription' => $existingStripeSubscription,
'subscription_details' => [
'items' => [
[
'id' => $existingStripeSubscription->items->data[0]->id,
'price' => "..."
]
],
'proration_date' => time(),
'proration_behavior' => 'create_prorations'
]
]);

What are you working on?
Subscription based billing.

#

@modest elk pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I want to know the use of metadata, if possible to give 3 random scenarios that companies would use metadata.

Doc/Guide Links
Ive read the docs on metadata, i just want to know the usecases. For example, save certain kind of data or identifier, but i would like to know some professionals uses.

What are you working on?
Learning to use metadata

#

@ruby turtle pressed the ❌ An Error button in #help to ask a question:

Error Message
we_1PSccVP8Nf7fqAUF46gAGQWO

Question
My prestashop website has problem with all webhooks

What have you already attempted?
i tryed to enter directly from account

#

@toxic valve pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I can't use stripe listen --forward-to https://localhost:8000/fr/webhook 1 ↡ ──(lun.,juin24)β”€β”˜

Related Event ID(s)
none

What have you already attempted?
I use stripe login, click on the link and accept it, on my cli key list I have my key created, on the page who explains how to create a local endpoint it says that I'm well connected.
But when I run : stripe listen --forward-to http://localhost:8000/fr/webhook
You have not configured API keys yet. Running `stripe login`...
Your pairing code is: speedy-neat-peppy-finest
This pairing code verifies your authentication with Stripe.
To authenticate with Stripe, please go to: https://dashboard.stripe

#

@fallen python pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am setting up Stripe Express Checkout. I understand that I can collect shipping address if I separately mount an address element. But this forces the user to separately input a billing address, which may be the same. Is there no way to request shipping address (offering a 'same as billing option') within the payment modal? Or do I need to use the non-express checkout for this?

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element

What are you working on?
Website payment portal

#

@flint finch pressed the πŸ“‘ API button in #help to ask a question:

Question
We use Stripe JS - ExpressCheckout element. In 'confirm' event before calling 'confirmPayment' we would need to make AJAX call to validate checkout data (addresses in particular). But it seems that 'confirmPayment' method needs to be called straight away, otherwise it shows error message in UI. So is there any chance I can do AJAX call before 'confirmPayment'? Or how to ensure adresses are always not empty? Because we've noticed there are missing addresses in couple of our orders. Thanks

Related Request ID(s)
no IDs

What have you already attempted?
https://docs.stripe.com/js

What are you working on?
ecommerce platform, we are integrating Stripe Express checkout

#

@alpine depot pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
import { useStripe } from '@stripe/stripe-react-native';

export default function CheckoutScreen() {
const { initPaymentSheet, presentPaymentSheet } = useStripe();

const initializePaymentSheet = async () => {
const { error } = await initPaymentSheet({
merchantDisplayName: "Example, Inc.",
intentConfiguration: {
mode: {
currencyCode: 'USD',
},
confirmHandler: confirmHandler
}
});
if (error) {
// handle

Question
This is in Stripe's own docs: https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=react-native&type=setup&integration=paymentsheet#initialize-paymentsheet and doesn't work in TS.

Requires `setupFutureUsage` which isn't shown or explained and requires type `FutureUsage` which doesn't seem to be properly exported.

What have you already attempted?
Right now, I'm doing this:

`setupFutureUsage: "OffSession" as FutureUsage,`

while also definining

```
type FutureUsage = "OffSession" | "OnSession";
```

which feels hacky

What are you working on?
Implementing Payment Sheet on React Native

#

@stray forum pressed the πŸ“‘ API button in #help to ask a question:

Question
GET payment_intents?limit=10" is skipping a record. You can see the email in the picture

Related Request ID(s)
NA

What have you already attempted?
checked api docs for why this could be but cant see anything : https://docs.stripe.com/api/payment_intents/retrieve

What are you working on?
Zoho CRM

#

@dense helm pressed the πŸ“‘ API button in #help to ask a question:

Question
API key contains non-ASCII characters.

Related Request ID(s)
API key contains non-ASCII characters.

What have you already attempted?
API key contains non-ASCII characters.

What are you working on?
API key contains non-ASCII characters.

#

@steady remnant pressed the πŸ“‘ API button in #help to ask a question:

Question
Payment system randomly started producing error when trying to authorise card (MOTO Payment).
Error: Received unknown parameter: payment_method_options[card][moto]

Related Request ID(s)
N/A

What have you already attempted?
I have tried looking up error and I have tried turning off moto variable.

What are you working on?
Fixing payment system

atomic shuttleBOT
#

@fast spruce pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
```
</div>
<div id="payment-element">
<div id="address-element">
</div>

...

    const elements = stripe.elements\(options\);
    const paymentElement = elements.create\('payment'\);
    paymentElement.mount\('\#payment\-element'\);

    const addressElement = elements.create\("address", {
        mode\: "shipping",
    }\);
    addressElement.mount\('\#address\-element'\);

```

Question
Unable to add multiple elements to my checkout. Also adding an address element my button disappears as well as the email field.

How do I correctly add multiple elements?

What have you already attempted?
I have tried looking up examples online but I failed to find them. So if you can give me a good multi-element example I'll probably figure it out myself as well.

What are you working on?
General webstore

#

@swift solar pressed the πŸ“‘ API button in #help to ask a question:

Question
When using Google Pay, we are trying to process a "Confirm Payment Intent" flow. We can replicate the 3DS step "next_action" of type "redirect_to_url" using a test card.

My question is: Will 3ds with google pay be a 2 step process:
e.g
1 . call confirm payment intent endpoint
2. call 3ds url from "redirect_to_url" response

OR

1 . call confirm payment intent endpoint
2. run gathering data step (https://support.stripe.com/questions/3d-secure-2-device-information)
3. call 3ds url from "redirect_to_url" response

If gathering data is required, what would this look like when using the API?

Related Request ID(s)
req_KsbPIYJ0rMgHS8

What have you already attempted?
Attempted to use the test cards provided to trigger "gathering_data" for 3ds using google pay.

What are you working on?
A full 3ds payment using Google Pay

#

@daring scarab pressed the πŸ“‘ API button in #help to ask a question:

Question
We have multiple payment tiers and user can upgrade from one tier to another. We are currently using stripe.subscription.modify for that with pending updates: "always_invoice" proration_behaviour and payment behaviour = "pending_if_incomplete". In this case, we only receive customer.subscription.updated event when user payment is successful. But this does not work for bank debits use case and returns an error. Can you suggest what to do in this case?

Related Request ID(s)
req_m2ZiEHSwMkdRmy

What have you already attempted?
Tried going through docs and read on all possible payment_behaviours but unable to judge what works best as unsure how customer.subscription.updated events are triggered on them. We listen to this event through webhook to upgrade the customer tier in our systems.

What are you working on?
Stock Unlock

#

@rare elm pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to figure out stripe processing fees.
I create a paymentinent for 11344 and transfer to a connect account.
The fee works out at 485(inc VAT) which my calculation works out at a stripe fee of
3.25% + 0.25c
This is the charge on the stripe website for international cards.
My account is in Ireland. In this example both customer and connect account are in Ireland.

Related Request ID(s)
ch_3PVAQMCmALlWSXao1fRvImfC txn_3PVAQMCmALlWSXao1k5dyOX2

What have you already attempted?
I tried changing customer and connect accounts to various countries, but the fee on the balance_transaction remains the same.

What are you working on?
marketplace for selling within the EU.

atomic shuttleBOT
#

@hollow wharf pressed the πŸ“‘ API button in #help to ask a question:

Question
i want to collect ACH payment details and create payment method using that info(by stripe js in client side) and send that payment method id on my backend and debit the payment from my customer how i can achieve that without micro deposit verification and i also don't want financial connection popup as well

Related Request ID(s)
pm_1PV8s4JuNQz7pWWLKDHVMjNN

What have you already attempted?
i tried to attach/confirm payment method via confirm API but it shows next_action in the stripe dashboard.i need it show processing or show success of the payment

What are you working on?
i trying to achieve that

#

@frigid bane pressed the πŸ“‘ API button in #help to ask a question:

Question
on checkout i am getting this error
Something went wrong
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)
there is none

What have you already attempted?
previously i was dealing with destination charges and it was working fine. now i switched to direct charges and it shows this error

#

@gentle kindle pressed the πŸ“‘ API button in #help to ask a question:

Question
i have an stripe account. i attach my another account to connect an account. i can't create a payout ?

Related Request ID(s)
N/A

What have you already attempted?
const createPayout = async (accountId) => {
try {
const payout = await stripe.payouts.create({
amount: 1000, // amount in cents
currency: 'eur',
method: 'standard', // payout method: standard, instant, etc.
destination: accountId, // destination account ID
});
console.log('Payout created:', payout);
return payout;
} catch (err) {
console.error('Error creating payout:', err);
throw err;
}
};

Error creating payout: StripeInvalidRequestError: No such external account: 'acct_xxxxxxx'

What are you working on?
Ecommerce app

atomic shuttleBOT
#

@marble narwhal pressed the πŸ“‘ API button in #help to ask a question:

Question
I need to have my customer enter their card info once then charge two or more connected accounts (Connected Acc A., Connected Acc B....) For Connected Account A I need to setup a subscription in their connected account and include the credit and customer info. Is this possible and are there any code samples or details docs to show how to do this. Also I do not need to store the customer info in my platform account.

Related Request ID(s)
Not sure whart related request IDs are

What have you already attempted?
I can create the Setup Intent and create PMs but I do not see how to create a subscription with the card info in the connected account. I also do not need to store the card and customer info in my platform account

#

@obtuse yew pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
// Check for Apple Pay availability
if (window.ApplePaySession && ApplePaySession.canMakePayments()) {
const applePayElement = elements.create("applePay");
applePayElement.mount("#apple-pay-element");
}
} catch (error) {
console.error("Error initializing payment:", error);
// Handle error as needed
}
}

Question
Apple pay intigration not working. can you explain step by step

What have you already attempted?
4

What are you working on?
payment intigration

#

@steady remnant pressed the πŸ“‘ API button in #help to ask a question:

Question
Error: Received unknown parameter: payment_method_options[card][moto]

Related Request ID(s)
N/A

What have you already attempted?
You told me exactly what my issue was, you then said to contact stripe support. I have been speaking with Stripe support for over an hour now, and he won't turn Moto payments on, he just keeps telling me how to take payments through the dashboard. Please fix this for me cause the stripe support guy is an idiot

What are you working on?
Moto payment intents

#

@toxic valve pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I cant' run stripe listen forward to ...

Related Event ID(s)
none

What have you already attempted?
stripe loguin, be connected :
stripe listen --forward-to http://localhost:8000/fr/webhook
You have not configured API keys yet. Running `stripe login`...
Your pairing code is: warmth-yay-amply-cool
This pairing code verifies your authentication with Stripe.
To authenticate with Stripe, please go to: https://dashboard.stripe.com/stripecli/confirm_auth?t=7ap8xueCtC0kJXxf2Tu5BUzFkoe9mqOX
β’Ώ Waiting for confirmation...No directory provided for file keyring

my stripe version is 1.20.0

What are you working on?
sorry i was in break, I m come back

#

@modest elk pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Do i have to create a webhook for each case ? Or can i create just one webhook listening to multiple events and use it for different users ?

Related Event ID(s)
Create payment, confirm payment, ACH Microdeposits etc

What have you already attempted?
I want to know how webhooks works and in which case use them

atomic shuttleBOT
#

@tropic hamlet pressed the πŸ“‘ API button in #help to ask a question:

Question
Looking at this Stripe documentation:

https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-redirect

How does Device gathering take place if we need a manual approach of directly using the APIs?

Related Request ID(s)
req_KsbPIYJ0rMgHS8

What have you already attempted?
Purchases with Google Pay

What are you working on?
Stripe Integration - GooglePay

#

@thorny blaze pressed the πŸ“‘ API button in #help to ask a question:

Question
Are payment methods like PayPal, ClearPay, Klarna etc available on Invoices using the hosted invoice page. All the docs to enable it reference the Checkout Session,

Related Request ID(s)
req_ACZxb4Wss8YLPK

What have you already attempted?
Added the relevant payment method to the json under the payment_method_types and payment_method_options key

#

@static flume pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
When using Stripe Checkout to purchase with a trial period, the customer's payment method is saved and can be charged after the trial ends. How can this be implemented with a custom checkout flow?

What have you already attempted?
I tried creating a Subscription with a trial period, but it automatically generates a paid invoice. However, this invoice has no payment intent, so we cannot collect the payment method details for the future invoice.

What are you working on?
Implementing trials for a custom-built checkout flow.

#

@rare elm pressed the πŸ“‘ API button in #help to ask a question:

Question
Follow on to a previously posted question, which is now closed.
#dev-help message
Is there a way to see the Fee which will be charged, before I confirm the paymentintent.

Related Request ID(s)
txn_3PVBNNCmALlWSXao0mL7Dkka

What have you already attempted?
Right now I find out the fee by checking the balance_transaction after the charge has gone through. Can I see it beforehand

What are you working on?
marketplace for selling within the EU.

#

@vocal stump pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I mark a subscription "excluded from auto-cancellation" with the API? It's an option you can set on the dashboard to prevent a failing sub payment from cancelling the subscription.

Related Request ID(s)
n/a

What have you already attempted?
I tried searching for it in the docs but I cannot find this parameter.

#

@round dock pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Two things, mostly I want to close the loop on this thread: #dev-help message

The confusing invoice was due to billing thresholds - the free tier was included in previous invoice correctly within the month.

In our app, we have a page that intends to show their monthly usage, however we look at their upcoming invoice to pull their usage and bill information. Is there a better way to get the monthly usage than listing all invoices in the billing period?

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

What are you working on?
Showing users information about their monthly bill

#

@dire pond pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, we received this error message when execute the endpoint POST create invoice, although the customer has a default payment methos.

"There is no 'default_payment_method' set on this Customer or Invoice. Set a default on one of those objects or specify the Payment Method"

Related Request ID(s)
Invoice

What have you already attempted?
.

#

@calm mist pressed the πŸ“‘ API button in #help to ask a question:

Question
We have recently made stripe update in our code to use payment intent.

before we used to

  1. create a customer
  2. manually attach a default payment method to the customer
  3. then create a charge with the charge API

because the charge API is deprecated we now just create a customer and create a payment intent. The payment automatically links the payment method to the customer.

However, for existing old customers who already had a default pm attached we are experiencing some errors. I'll send them....

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
payment method and customer

#

@dawn galleon pressed the πŸ“‘ API button in #help to ask a question:

Question
A user has a base subscription (monthly/yearly). Then he adds an add-on subscription item to the subscription in a later date, which will be prorated. When he deletes the add-on later, the add-on should only be "deleted" at the next billing period. What is the API that I need to do that?

Related Request ID(s)
.

What have you already attempted?
.

#

@rain grail pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Get validation error trying to create Stripe product with valid credentials

Question
Get validation error trying to create Stripe product with valid credentials

What have you already attempted?
I tried this code:
```js
const { productRoninId, productTitle, productDescription, productPrice } = body
console.log(process.env.STRIPE_SECRET_KEY!, 'secret key')
console.log('----')

		const product = await stripe.products.create\({
			name\: productTitle
			// description\: productDescription,
			// default\_price\_data\: {
			// 	unit\_amount\: productPrice \* 100,
			// 	currency\: 'usd'
			// }
		}\)
		console.log\(product, 'stripe product'\)

```

What are you working on?
Marketplace of digital products

#

@frail lantern pressed the πŸ“‘ API button in #help to ask a question:

Question
How to add Account Tax ID on an invoice for subscription payment?

Related Request ID(s)
req_2S5nxFDdNKk9in req_MlAbVjcvzSnh9L

What have you already attempted?
For one-off payment I can successfully add Tax ID to an invoice using InvoiceCreation option (req_KhDyw0Aa7HICRd). However, I can't use invoice creation on subscription payment's because it's already enabled by default (req_2S5nxFDdNKk9in req_MlAbVjcvzSnh9L).

What are you working on?
A Stripe integration for my company's product written in Go

#

@oblique mango pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Apple Pay to load ....

What actually happened?
Apple Pay stuck in loading

Reproduction Steps
Honestly... it's random. cannot say whats the problem

Question
Why is the Apple Pay ECE Button stuck in loading

atomic shuttleBOT
#

@wispy dawn pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I need to create some subscriptions manually, from the backend admin panel, without a payment method configured by the customer, to an already created product. What would be the best way to achieve this?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions
I checked that Stripe has a function to stop payments from an already created subscription. However, a payment method needs to be configured previously

What are you working on?
SaaS application using Stripe

atomic shuttleBOT
#

@rain grail pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Webhook is not called when I try test local checkout

Related Event ID(s)
evt_3PVDnkEApj6WQ8u00Jfn6I0W

What have you already attempted?
Tried to change code, logs

What are you working on?
Digital marketplace

atomic shuttleBOT
#

@wraith geode pressed the πŸ“‘ API button in #help to ask a question:

Question
I send my accountant the Balance and Payout data each month from my account. They need this as a PDF. I can see there are endpoints for pulling down all the data, so I could cobble together a PDF from this data myself, but I was hoping there might be an endpoint to generate and return that PDF or an automated way to make this available every month without a bunch of clicking around the Dashboard. Is there such a thing?

Related Request ID(s)
NA

What have you already attempted?
Looking at the docs and dashboard to try and work this out.

#

@quasi nebula pressed the πŸ“‘ API button in #help to ask a question:

Question
Attempting to implement MOTO payments for a Connect platform. Currently receiving this error: "Received unknown parameter: payment_method_options[card][moto]". Assuming this is because we don't have the correct permissions on our account? But we need clarity on whether we can have MOTO enabled without the need for the raw data API.

Related Request ID(s)
N/A

What have you already attempted?
Have had multiple interactions with Stripe support over the past week and have been given conflicting information about needing to pass raw card data versus using the Card Element (like we already have implemented on our website's frontend). We don't want to handle raw card data or deal with the additional PCI compliance requirement that goes along with it, if we can just use Stripe JS to tokenise the card details from the browser.

What are you working on?
SaaS platform with e-commerce frontend and trying to ship new feature to allow telephone orders

#

@gentle lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
In our system we want to give a potion to upgrade subscription to different price and applying the coupon at the same time, how can I properly make a proration preview?

Related Request ID(s)
N/A

What have you already attempted?
is it enough to to add discount ini InvoiceUpcomingParams? And when building Discount object is it enough to set a coupon field?

What are you working on?
proration proview

#

@wooden umbra pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to backdate a one-off Stripe invoice when creating it? E.g. create an invoice on June 1st with a date of May 31st

The scenario here is usage data is not finalized for May until ~12 hours after the end of the day May 31st, so any invoice created in Stripe for usage during May shows up as dated on June 1. Ideally, I want to be able to create the invoice with a date of May 31 instead to match the line item periods

Related Request ID(s)
req_6dUcQpqLfY3av1

What have you already attempted?
Attempted to create invoice via postman and there isn't seemingly an option to set the date that way. Also tried to update period_start on invoice unsuccessfully.

What are you working on?
Integration between Stripe and NetSuite

atomic shuttleBOT
#

@hearty raven pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
If a merchant in our system wants to change an order (in agreement with the customer) after the charge has already been processed, what would be the appropriate course of action? Customer uses Stripe checkout to pay $100 for product X... but upon agreement with the merchant they settle at a new price ($80)... how do we deal with this?

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

What are you working on?
Property Management System

#

@eager vault pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is there any concern with hosting the apple's domain association file perpetually at
/.well-known/apple-developer-merchantid-domain-association , and leaving this accesible in perpetuity or is it best practice to eventually disable this endpoint?

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#verify-domain-with-apple

What are you working on?
Stripe Integration

#

@vital zephyr pressed the ❌ An Error button in #help to ask a question:

Error Message
Apple Pay cant be activated

Question
If I try to select Apple Pay in my Shopify Admin in Stripe, i cant save

What have you already attempted?
tried to activate it in stripe

Reproduction Steps
Open shopify, apps, stripe, select apple pay, save

#

@solid wolf pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
i expected the embedded form to be embedded in my web's app

What actually happened?
the embedded form guidelines rendered a btn that redirects users to a stripe page

Reproduction Steps

  1. create account
  2. create session
  3. code rendered a btn to redirect users

Question
how can i actually have a embedded form for onboarding that DOES NOT redirect users to a stripe page?

#

@reef dune pressed the πŸ“‘ API button in #help to ask a question:

Question
Payment Intent preferred settlement speed deafault speed?

Related Request ID(s)
1

What have you already attempted?
Create a payment intent specifying the settlement speed.

What are you working on?
Payment Intents

#

@vital rover pressed the πŸ“‘ API button in #help to ask a question:

Question
I would like to confirm that if we create a payment intent but we dont pass value to the capture_method, the money of our customer will not be on hold in their banks, is it correct?

Related Request ID(s)
req_ltskIBD21mcXDm

What have you already attempted?
It is a double check to avoid block money of our customers

#

@molten wraith pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to create a subscription via API with a promotion code. However, I'm receiving an error code "resource_missing" and "No such promotion code: 'PVIP...'". However, the promotion code does exist. I'm unsure if I'm suppose to connect it to the product somehow.

Related Request ID(s)
req_jKMg0ShoAcyvu6

What have you already attempted?
I've created the product in which I'm trying to subscribe to and the promotional code that I wish to apply to the subscription.

What are you working on?
I'm working on a SaaS platform

#

@ivory sandal pressed the πŸ“‘ API button in #help to ask a question:

Question
We have MOTO payments enabled on our account but unsure of how to use them without creating our own payment form.

Here is a previous thread: https://discord.com/channels/841573134531821608/1202608073697529866

Ideally we still want to use Stripe elements to provide sales agents with a secure form but we need to not run 3d Secure as the payments are taken over the phone.

Is this possible?

Related Request ID(s)
NA

What have you already attempted?
We can create a MOTO enabled Stripe payment intent but can't use it inline with a Stripe elements without getting Stripe related errors around not being able to do this.

#

@warped vine pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/tax/tax-overrides#when-you-can’t-use-overrides

Question
I need to have a customer who is tax exempt on a per-tax type basis.
I'm looking to have the customer charged no PST abut charged GST.

Would something like this be supported by the tax-overrides beta? if yes, can i get added to the beta?

What have you already attempted?
I can't seem to figure this out with the existing supported features.
automatic_tax=true + adding PST number to customer ends up with customer being charged both GST and PST
automatic_tax-=true + setting tax exempt = exempt results in no GST and no PST being charged.

What are you working on?
cus_NPBDwCzIRsHa6M

#

@dawn galleon pressed the πŸ“‘ API button in #help to ask a question:

Question
I have created a subscription already (without a schedule). I need to add an item to the subscription. I use the https://api.stripe.com/v1/subscription_schedules/ update API. I am getting an error, "The subscription schedule update is missing at least one phase with a `start_date` to anchor end dates to." What do I need to do so the new item can start right away?

Related Request ID(s)
.

What have you already attempted?
.

#

@obsidian crystal pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I wanted to know if there are privacy configurations for vendors that we have set up in Stripe Connect. We want to clone payment tokens across accounts but want to ensure the vendors have privacy regarding their Stripe account activity and customers.

Doc/Guide Links
https://docs.stripe.com/connect/cloning-customers-across-accounts

What are you working on?
Integrating payments with external vendors

#

@proud lily pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<ExpressCheckoutElement
onConfirm={() => {
confirmApplePay();
}}
options={{
buttonType: {
applePay: 'check-out',
},
buttonTheme: {
applePay: 'white-outline',
},
buttonHeight: 55,
}}
/>

Question
If I wish to save customer payment method using apple pay to complete a setup intent, are there any details I should consider?

We wish to start subscriptions for customers at a later date and charge them monthly/quarterly. I want to know if I am able to allow them to set this up with apple pay.

What have you already attempted?
I have created the express checkout element, but we are already serving customers using the CardElement and allowing them to complete setup intents.

What are you working on?
E Commerce App that serves subscriptions for products.

#

@tawny zenith pressed the πŸ“‘ API button in #help to ask a question:

Question
Our app has a concept of a waitlist. We want to know if there's a way to put a payment on a waitlist until we trigger it once the waitlist clears up

Related Request ID(s)
N/A

What have you already attempted?
I've tried to find documents around this

What are you working on?
Tournament registration app

#

@oblique mango pressed the πŸ“‘ API button in #help to ask a question:

Question
PayPal button does not show up in ECE

Related Request ID(s)
NA

What have you already attempted?
Read the docs, double, triple checked...

#

@candid snow pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Our integration utilizes more than one platform, as well as connect accounts. When setting up webhooks, is it possible to have a single setup (i.e. one signing secret) for all the environments? If not, is there an expected way to identify the environment that triggered the webhook so that the appropriate secret can be used?

Related Event ID(s)
N/A

What have you already attempted?
I tried setting up a webhook in the dashboard of one of our platform accounts, but I didn't see anything to make it work for both the platform AND the connect accounts on it.

atomic shuttleBOT
#

@obsidian crystal pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I'm remaking a thread I just made but I was told 'a general Stripe Connect connection would still grant your platform access to thinks like payments on the connected account'- I was wondering if there was a way to have a Stripe account that is connected to my own, but without granting me total access to payments or other activity on the connected account? Our goal is to help our partners maintain as much privacy as possible while our accounts are connected.

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

What are you working on?
trying to clone payments between us and an external vendor

atomic shuttleBOT
#

@wispy grail pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi there,

Is it possible to test dynamically a Standard Connected Account requirements update ?

Related Request ID(s)
req_3SNAvVRpQddYxP , req_jYmkqnlpu0UOij

What have you already attempted?
I attempted to update the business profile name as `invalid_business_profile_name_denylisted` (and also to change the business_profile.url to https://disallowed.stripe.com )
But my platform is not allowed to update this informations...

What are you working on?
Testing Stripe Connected Account state change to trigger events when an account become restricted

#

@rapid siren pressed the πŸ“‘ API button in #help to ask a question:

Question
Configure checkout session so that my customers' subscriptions start their cycle every 2nd of each month.

Related Request ID(s)
N/A

What have you already attempted?
I create a checkout session for my users to pay the subscription to my platform, but I would like that no matter what day they subscribe, the payment is always on the 1st of each month.

const { url } = await this.stripeAccount.checkout.sessions.create(stripePayload)

#

@molten wraith pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-js/react#useelements-hook

Question
Is there a way to automatically make the payment method being added, be set to the default payment? If not, what is the recommend process to set default payment after payment method (card) is added?

What have you already attempted?
I already have this setup for the customer to add a payment method. I'm only allowing one payment method to be added. Once cards are found, the option to add a payment method is no longer available.

What are you working on?
SaaS platform

#

@craggy canyon pressed the πŸ“‘ API button in #help to ask a question:

Question
Can someone provide more insight into why I was receiving 429 responses for lock_timeout?

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

What have you already attempted?
I made 5 payments at the same time for the same customer

What are you working on?
Working on a payment processing job

#

@tawny zenith pressed the πŸ“‘ API button in #help to ask a question:

Question
Our app has a concept of a waitlist. We want to know if there's a way to put a payment on a waitlist until we trigger it once the waitlist clears up.

Trying to reopen an existing thread. Seems like I can't hold it longer than 7 days?

Related Request ID(s)
N/A

What have you already attempted?
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method#authorize-only

#

@timid ember pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Using Stripe Payment Terminal, a merchant attempted to process payment on June 23, 2024 several times but nothing was successful.

What actually happened?
Attempts to pay amount of $73.98 resulted in 4 separate attempts.
pi_3PUv0HJ93KfFVesb1MygM6jV
pi_3PUv7yJ93KfFVesb01QDaTBy
pi_3PUvAAJ93KfFVesb0tV64blv
pi_3PUvXQJ93KfFVesb120tszI1
None of the attempts worked as card taps resulted in successful on the terminal but the associated payment intents still shows incomplete

Reproduction Steps
we were not able to reproduce this issue

Question
Please investigate and see what happened

atomic shuttleBOT
#

@steady oriole pressed the πŸ“‘ API button in #help to ask a question:

Question
I need to know how can I get invoice for a paid paymentIntent , on paymentIntent object , on invoice I am getting null

Related Request ID(s)
no

What have you already attempted?
I have tried with create invoice api
I am using express js

What are you working on?
website development

#

@wicked meteor pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
HI! We are unable to process refunds on our connected accounts due to insufficient funds in payout. We enabled debit_negative_balance:true, but unsure if that's all we need to do? Our issue is, especially with ACH where there's no holdover, we have to try to manually time refunds for when the account has enough funds. We would like it to hit the connected account's bank to pull funds for refunds when none available in platform. We don't want it to hit our platform account.

Doc/Guide Links
https://docs.stripe.com/connect/account-balances#accounting-for-negative-balances

What are you working on?
B2B SaaS with connected accounts - want to refund large payments quickly

#

@proud lily pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const confirmApplePay = async (
event: StripeExpressCheckoutElementConfirmEvent
) => { ... }

Question
I am trying to hook up Apple Pay to my site, and I want to complete my setup intent with the apple pay token generated from the express checkout element but I can't find any resources showing how to access the object.

What have you already attempted?
I have a system already in place to save payment methods to customers for starting subscriptions later with that payment method, but I'm lost on how to access Apple Pay's merchant tokens and whatnot.

#

@chrome thicket pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to programmatically access a Stripe App users's restricted access key from a Stripe App? I want to send a refresh/access token pair to the backend so that I can start a data sync job.

Related Request ID(s)
none

What have you already attempted?
Right now it seems like the only 2 options are
1) OAuth from my own web app
2) Use the RAK flow (copy/paste RAK into app)

It feels like the user experience is suboptimal

What are you working on?
stripe dispute analytics app

#

@fierce storm pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am using the webhook:

customer.subscription.trial_will_end

to send a reminder email 3 days before a trial ends. Is there a similar webhook that I can use to send a reminder 3 day before a paid term renews?

Related Event ID(s)
NA

What have you already attempted?
Searched the API, google

What are you working on?
Subscription payments

#

@obsidian crystal pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi again! When it comes to stripe connected accounts is there a Parent-Child relationship between accounts? Is the flow of access limited depending on which way the information is going (parent to child vs child to parent)? I'm looking to understand if it matters which Stripe Account establishes the connection, are there limitations or considerations?

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

What are you working on?
n/a

#

@mystic hawk pressed the πŸ“‘ API button in #help to ask a question:

Question
How to test terminal based transaction on simulator. I am using server driven approach

Related Request ID(s)
NA

What have you already attempted?
We have created reader object and perform collect payment

What are you working on?
PHP

#

@slate sedge pressed the ❌ An Error button in #help to ask a question:

Error Message
resource_missing - line_items[0][price]

Question
I got this error randomly. I'm trying to use the Product Catalog to create a product (transaction fee) and I need its priceId. When I copy the priceId into my code it give me this error.

What have you already attempted?
I feel like pretty much everything :)

Reproduction Steps
payment-router.ts, page.tsx, trpc.ts., stripe.ts, webhooks.ts

What are you working on?
Build a ecommerce store.

#

@bleak tartan pressed the πŸ“‘ API button in #help to ask a question:

Question
In the event log, is there a way to retrieve the email event that was sent. I have it set to remind users in 3 days of a renewal, how do I get the email event associated with this email.

Related Request ID(s)
evt_1PU8tMEt08B8OBXEs6Z6Ggqg

What have you already attempted?
I searched the dashboard and GETing the event does get me what i need

What are you working on?
pitchsend.com SaaS

atomic shuttleBOT
#

@stuck kiln pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/connect-reader?reader-type=bluetooth

Question
We are attempting to add support for the StripeTerminal for in-person payments using a card reader. (The app already works with mobile payments.) This is an iOS application built using SwiftUI, and we are having trouble working with the UIKit (specifically delgates) code you have provided in your documentation. We saw a reference here from March indicating that (hopefully) some SwiftUI examples would be added eventually.

What have you already attempted?
We have tried to use UIViewControllerRepresentable to work with your UIKit code, but we are stuck on what type of UIViewController we need to be configuring for the discoverReaders function:

func discoverReadersAction() throws {
let config = try BluetoothScanDiscoveryConfigurationBuilder().build()
self.discoverCancelable = Terminal.shared.discoverReaders(config, delegate: self) { error in
if let error = error {
print("discoverReaders failed: \(error)")
} else {
print("discoverReaders succeeded")
}
}

What are you working on?
We are attempting to add support for physical card readers to facilitate in-person payments.

atomic shuttleBOT
#

@foggy wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm not seeing the application_fee_amount listed anywhere on my checkout page when I create it.

Related Request ID(s)
req_eKefpK4sVm9TS6

What have you already attempted?
const session = await stripe.checkout.sessions.create({
mode: "payment",
line_items,
payment_intent_data: {
transfer_data: {
destination: body.acct_id,
},
application_fee_amount: 1000,
},
success_url: `${new URL(req.url).origin}`,
cancel_url: `${new URL(req.url).origin}`,
});

What are you working on?
Creating a session with a destination charge.

atomic shuttleBOT
#

@vale quail pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/issuing/connect/funding

Question
Hi there. I am working on the Stripe Issuing with Connect integration. I am struggling with the Funding piece. I have set up to use the Stripe embedded onboarding in my application. In this flow Stripe collects the external bank account details already. Are these bank account details different? When it comes to funding the Stripe Issuing balance I see the steps are to use Plaid or Microdeposit - are there components for this? Or since the stripe embedded onboarding already collected the bank account details can I just show the balance details and then should I use the Balance Transfer API?

What have you already attempted?
I keep running into issues getting an error trying to use the embedded components for stripe issuing. I am not sure the next steps to fund the issuing account.

What are you working on?
Stripe Issuing with Connect

atomic shuttleBOT
#

@wanton badge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I need to plan the rental of items. These items have a price tag and I'd like to set up a deposit system. The problem is that a bank imprint lasts 7 days max and I want to be able to plan a rental weeks in advance and I also want to be able to rent out my item 14 days max. I don't really know which payment method to use. Should I use a bank inprint?
Thanks

Doc/Guide Links
https://stripe.com/fr/resources/more/credit-card-imprint-in-france

What are you working on?
I work on a rental platform

atomic shuttleBOT
#

@proud lily pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<div>
<ExpressCheckoutElement
onConfirm={() => {
confirmApplePay();
}}
options={{
buttonType: {
applePay: 'plain',
},
buttonTheme: {
applePay: 'white-outline',
},

Question
Can I detect when the apple pay express checkout element will be visible or not and have that as a boolean variable so I can display things conditionally as well??

What have you already attempted?
https://docs.stripe.com/js/elements_object/create_express_checkout_element

I looked at the docs and I couldn't find anything.

What are you working on?
React / Next JS

#

@lime aurora pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
What are best practices to test 3DS in production? We've tried using radar rules to require 3DS for a given test account, but this doesn't guarantee 3DS gets triggered. What have other Stripe users done to test 3DS in production?

Doc/Guide Links
https://docs.stripe.com/testing
https://docs.stripe.com/payments/3d-secure/authentication-flow#three-ds-cards

What are you working on?
Testing our 3DS flows in production

#

@prisma coral pressed the πŸͺ Webhooks button in #help to ask a question:

Question
What is the recommended approach to getting a refund object from a charge.refunded webhook event?

Related Event ID(s)
evt_3PVGqaRbUz80Wmly1xOAAT0i

What have you already attempted?
I can grab the charge, then list the payments but that does not guarantee I will get the same refund that caused the event to fire in the first place.

atomic shuttleBOT
#

@dense saddle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
If I create a subscription and provide a payment method of us_bank_account and collection_method=charge_automatically, what webhook should I listen to to know that the ACH charge is processing? I already listen to invoice.paid and payment_intent.succeeded. PI_succeeded tells me when the ACH charge has succeeded, but which event tells me that it has started processing as a result of the subscription being activated? Thanks.

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

What are you working on?
A two-sided marketplace that allows employers to pay employees subsidies that they use towards employee benefits purchases

#

@rain goblet pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/customer-sheet?platform=ios&uikit-swiftui=swiftui#ios-ach

Question
I am currently at step 6: Present the sheet using SwiftUI. From the doc, customerSheet in YourAccountViewModel is an non-optional variable, I need to give customerSheet some value when initialize the YourAccountViewModel, but in the doc, it uses @ObservedObject var model = YourAccountViewModel(), which lead to error. Also, the doc assigns MyBackendCustomerSheetModel() to a variable called model, and accessed customerSheet using model.customerSheet later on, but customerSheet should be in the YourAccountViewModel, not MyBackendCustomerSheetModel.

What have you already attempted?
I don't know how to give YourAccountViewModel a default value, because I want the logic to be like, if the user taps a button, then opens up the saved payments sheet in the profile page. I declared YourAccountViewModel in Profile page, and I need to pass in some value.

What are you working on?
I am developing an iOS app that works as gig economy platform that allows user to buy services provided by others. and It has a "manage saved payment methods" button in the profile page.

#

@sullen pier pressed the πŸ“‘ API button in #help to ask a question:

Question
can i use stripe checkout on a diffrent url? so lets same i have my account registred under store.com can i use stripe checkout under shop.com without any issues?

Related Request ID(s)
no id

What have you already attempted?
nothing, just a question

#

@viral pelican pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am planning to add Stripe payment check out links into my Flutter web app but I have some dilemmas and questions.

I am using Stripe link as I want to checkout to happen at Stripe site (links)

I want users to pay before they register in my app (Firebase Auth) or even better if they are automatically registered too at my app once they make payment

Problem is:

If user clicks Sign-up button then I lead him to Stripe page where he makes payments

Once the payment is completed, Stripe redirects user to a url we choose

Now if after payment user comes back to my app, he will have to fill register form at my app (Firebase Auth). But I have no way to actually know if this us

Doc/Guide Links
Stripe Documentation

What are you working on?
A web app that will allow users to buy 2 types of one-time digital access for 30 days and 60 days

#

@oblique mango pressed the πŸ“‘ API button in #help to ask a question:

Question
Why does Apple Pay not load in ECE

Related Request ID(s)
na

What have you already attempted?
everything.

#

@slate sedge pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
im getting this error in my stripe.ts.

Type '"2024-06-20"' is not assignable to type '"2023-10-16"'.ts(2322)

Question
Nope I do not have any questions.

What have you already attempted?
nothing just a random error.

What are you working on?
A ecommerce store.

#

@dawn galleon pressed the πŸ“‘ API button in #help to ask a question:

Question
What webhook event do I need to check to see if a user has upgrade or downgrade between monthly and yearly subscription?

Related Request ID(s)
.

What have you already attempted?
.

#

@floral oxide pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
An account would be created with test data that I could use to login and test react-connect-js components with stripe connect

What actually happened?
The connected account details could not be used to login, in test mode - instead i receive an "Invalid email or password" error

Reproduction Steps
Create a standard account through the API with controller properties; specifying only the country, card payments + transfers; use the account onboarding to add test account details

Question
Why can a test account with a fake email address not be used to login, when everything is created in test mode? The account has been created successfully but will not work when testing react-connect-js components (Account Management etc)

#

@rapid ice pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Use Radar dashboard to understand unexpected increase in card declines

What actually happened?
Error on dashboard:

Transactions created between June 7th and June 19th 2024, that were successfully actioned by Radar rules are currently not appearing in the list of blocked transactions on this page. Our engineers are actively working to fix this.

Reproduction Steps
Visit a rule detail on Radar dashboard

Question
There's been an unexpected increase in card declines with our Connect platform, which is affecting our users. I'm attempting to understand the pathology of the issue, but the Dashboard is erroring.

What are you working on?
Connect platform for developers to sell video games

atomic shuttleBOT
#

@drifting portal pressed the πŸ“‘ API button in #help to ask a question:

Question
I am expecting to get back a `latest_charge` on my `stripe.retrievePaymentIntent` method from the `'@stripe/react-stripe-js'` library, but on the returned object, it is nowhere to be found. Not only that, but my Typescript definition pulled in automatically from the package doesn't show it... but looking at the dev logs... its right there πŸ€”

Related Request ID(s)
req_S8ailm8bAJf6eO

What have you already attempted?
Digging through docs:
https://docs.stripe.com/api/payment_intents/retrieve
https://docs.stripe.com/api/payment_intents/object#payment_intent_object-status
https://docs.stripe.com/payments/payment-intents
https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=elements&client=react

What are you working on?
I am trying to extract the charge_id to pass to my transfer request

#

@unique tinsel pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const upgradeToPremium = async () => {
const priceId = 'prod_QM4ifab06X8DGr';
const checkoutUrl = await getCheckoutUrl(app, priceId);
const navigate = useNavigate();
navigate(checkoutUrl);
console.log("Upgraded to premium");
}

Question
I get Uncaught (in promise) Error: An error occurred: No such price: 'prod_QM4ifab06X8DGr' when trying to go to the payement page

What have you already attempted?
Tried to redo all the code and steps of this video but didn't worked : https://www.youtube.com/watch?v=xi3F2Zv91UE&t=180s

(only difference is that I'm using react and him nextjs)

What are you working on?
I want to create a website to talk with an LLM but it is costly so I want to make user pay to use the LLM

#

@muted sable pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
new_session = stripe.checkout.Session.create(
payment_method_types=[
'card',
],
mode='subscription',
customer=customer_id,
line_items=[{
'price': price_id,
'quantity': 1,
}],
success_url=f'{success_url}?sid={{CHECKOUT_SESSION_ID}}',
# cancel_url=f'{origin}/cancel-payment',
metadata=metadata,
)

Question
How do I set payment_behaviour="incomplete" via a checkout session in subscription mode?

What have you already attempted?
passing the arg

#

@rapid fern pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm using this doc https://docs.stripe.com/invoicing/integration?method=elements&lang=java#accept-invoice-payment to integrate invoice - payment intent but I have the following error:

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

status: "requires_payment_method"

What is the problem in my integration ? Do I need other setting to my stripe's account

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

What have you already attempted?
My integration with subscriptions works correctly but now I am using invoice for one-time payment

What are you working on?
payment intent

atomic shuttleBOT
#

@prisma coral pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How can I reliably determine which refund was the cause of a charge.refunded so I know which refund to update in my application?

Related Event ID(s)
NA

What have you already attempted?
I've thought about getting the charge, expanding the refunds list, but that may produce inconsistent results if another refund has occurred after the event being generated but before I could retrieve the charge.

#

@rain goblet pressed the ❌ An Error button in #help to ask a question:

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

Question
I wonder why it happens. It is a swiftui ios app. is it because the current user is a real customer, not a test customer?

What have you already attempted?
I printed out current customer, and it does have a stripe id. but is a real customer, not test customer

Reproduction Steps
I set StripeAPI.defaultPublishableKey to be the string that starts with "pk_test", and I toggled on test mode in the Stripe Dashboard, but I haven't create test customers yet. I ran my app, and logged in my app, got the stripe id for current user, and click "Manage Payment Methods", and trying to "Save" a test cards 42424242xxxx. Then the error message shows up.

What are you working on?
I'm building a gig economy platform that allows user to buy/publish services, n payout directly to the service providers

atomic shuttleBOT
#

@plain mulch pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const stripe = Stripe('MY_STRIPE_SECRET');
initialize();

// Create a Checkout Session
async function initialize() {
const fetchClientSecret = async () => {
const response = await fetch("https://dev.api.no-name-games.com/checkout-session", {
method: "POST",
});
const body = await response.json();
return body.client_secret;
};

const checkout = await stripe.in

Question
Getting an error when trying to embed a checkout form:
```
fetchClientSecret failed with error "Unable to parse client secret. Please ensure you are using a valid embedded Checkout client secret."
```

How/where do I get an embedded Checkout client secret? Is that different from my regular dev publishable key?

What have you already attempted?
N/A - not understanding the error I'm receiving.

#

@leaden silo pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/refunds

Question
will stripe refund the whole amount paid by an user including the stripe fees?

What have you already attempted?
I am trying to implement a refund api, so i want to know if the entire amount deducted from the user is refunded or only the amount after stripe fees are excluded will be refunded

What are you working on?
stripe refund api

#

@inland condor pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const stripe = Stripe(json.public_key , {
stripeAccount: json.connected_account_id
});
const elements_options = {
clientSecret: json.client_secret
};
const elements = stripe.elements(elements_options);
const expressCheckoutElement = elements.create('expressCheckout', {})
expressCheckoutElement.mount('#express-checkout-element')

Question
Unable to create "expressCheckout" using the above code .

What have you already attempted?
But try the following code to create a Payment Element normally using same public_key and connected_account_id .

const stripe = Stripe(json.public_key, {
stripeAccount: json.connected_account_id,
});
const options = {
clientSecret: json.client_secret_embedded,
appearance: {},
};
$('#payment-form').show();
const elements = stripe.elements(options);

const paymentElement = elements.create('payment');
paymentElement.mount('#payment_content_stripe');

What are you working on?
I want to initiate expressCheckout using my Stripe account, which is a sub account of Stripe Connect

atomic shuttleBOT
#

@normal brook pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, We are looking for Stripe integration for a US based customer for there B2B business. In future they may also have marketplace as well. Are there any limitations which we need to consider while choosing Stripe? I tried going through various forums but couldnt find anything but we heard some limitations with Stripe marketplace integration from other US customer. Please suggest.

Related Request ID(s)
NA

What have you already attempted?
NA

atomic shuttleBOT
#

@reef trellis pressed the πŸ“‘ API button in #help to ask a question:

Question
After the creation of the subscription schedule is successful, the subscription.latest_invoice.payment_intent in the response data is null

Related Request ID(s)
req_w5Vv9Iho1T5kgc

What have you already attempted?
I'm trying to get the payment intent by retrieving the subscription object separately, but I think there's something wrong with my request data, but I've searched for a long time and I can't find what the problem is.

atomic shuttleBOT
#

@sly ore pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have the following setup:
Some of our customers pay directly to us via Stripe, some customers pay to a third party that we eventually invoice. We want all customers to be treated equal in our system so we want to rely on Stripe for all the subscription logic even for the customers that pay via some partner.

What I'm interested in is how to achieve this am I right in going about it like this:
* All customers get subscriptions
* Direct customers we do automatic collection
* Partner customers we pause payment collection on the subscription and each draft invoice gets set as paid out of band.

Is there a better way of going about doing this?

Thanks!

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

What are you working on?
A SaaS platform that helps companies buy and distribute software and hardware for their internal employees.

#

@drifting portal pressed the πŸ“‘ API button in #help to ask a question:

Question
I need help getting the Expanding Responses to work with the PaymentIntent API. I cannot get the `latest_charge` to show up on the response for the life of me.

Related Request ID(s)
req_S8ailm8bAJf6eO

What have you already attempted?
Looking through docs

Adding in the `expand[] = latest_charge` to the initial PaymentIntent creation

#

@fresh crag pressed the πŸ“‘ API button in #help to ask a question:

Question
https://docs.stripe.com/api/terminal/readers/present_payment_method

i'm working on the simulating a payment through a reader (API) but the response is throwing "This simulated reader is not currently processing a transaction" "invalid_request_error"

Related Request ID(s)
req_HaamgpnMKPmRoh

What have you already attempted?
checked if any parameters are missing but it seems that all are okay.

What are you working on?
i'm working on the simulating a payment through a reader

atomic shuttleBOT
#

@hidden musk pressed the πŸ“‘ API button in #help to ask a question:

Question
getting following error on error_code=None error_message='The parameter `billing_cycle_anchor` expects a unix timestamp representing a date and time in the future. You specified the value `7` but have a Test Clock currently frozen to `1717898652`.' error_param=billing_cycle_anchor error_type=invalid_request_error message='Stripe API error received'

Related Request ID(s)
req_9F89VwbXkyUNvE

What have you already attempted?
tried with billing_cycle_anchor being day number but not the timestamp, am confused to get a timestamp

atomic shuttleBOT
atomic shuttleBOT
#

@deft river pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
resetPaymentSheetCustomer() should be work as expected on Android. Should logged out the Link account used before on the Link Payment popup

What actually happened?
resetPaymentSheetCustomer() does not work as expected on Android. The Link account used before still available on the Link Payment popup

Reproduction Steps
Start the android app.
Call resetPaymentSheetCustomer()
open PaymentSheet and click on Payment With Link button
Open Link payment screen and the link account still existing

Question
Im using "@stripe/stripe-react-native": "0.38.0"
Following the instruction for usePaymentSheet() and handle resetPaymentSheetCustomer() as example code in https://www.youtube.com/watch?v=d4xCTtkUfPA&t=345s

What are you working on?
ecom native apps

atomic shuttleBOT
#

@tacit lake pressed the πŸ“‘ API button in #help to ask a question:

Question
Could you please elaborate more on a parameter here? https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-klarna-payment_details-marketplace_seller_info-account-listing_last_modified_at

We in the company are trying to be compliant with Klarna and wanted to understand more what a word "listing" here actually means in more detail before sending any information to them.

Related Request ID(s)
-

What have you already attempted?
Nothing, we just wanted to clarify what the parameter means

What are you working on?
Klarna integration

#

@steady oriole pressed the πŸ“‘ API button in #help to ask a question:

Question
I have created invoice with api and collecting payment with payment element and amount is paid , I also can download invoice pdf but it always shows amount due

Related Request ID(s)
no

What have you already attempted?
tried to find the latest_invoice that have paid mark

What are you working on?
website development

#

@covert bloom pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
add_filter( β€˜wc_stripe_force_save_source’, β€˜__return_true’ );

Question
On Woocommerce, Stripe wordpress plugin, I started using the new checkout experience but the force save card filter no more works. I am using this filter to save the customer’s payment method automatically because I sell subscriptions and I need to configure payment method for future off-sessions payments. I know this filter is only for the payment methods outside the UPE block (new checkout experience). Do you have a new filter that I can use?

What have you already attempted?
I went back to the old checkout experience but in august 24th I will have no choice to switch to the new stripe experience... because API sources will no longer be available.

What are you working on?
Switch to the New Checkout Experience on my woocommerce website

#

@dusk gulch pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Invoice update webhook call time add metadata

Related Event ID(s)
metadata add for invoice update webhook call

What have you already attempted?
First time automatic call invoice updated then custom metadata set .

What are you working on?
webhook call

#

@opal wadi pressed the πŸ“‘ API button in #help to ask a question:

Question
Can anyone explain to me what are the ideal payments?

Related Request ID(s)
NA

What have you already attempted?
NA

#

@steady oriole pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to get paid invoice of payment intent , I have generated and that one is marked as amount due

Related Request ID(s)
no

What have you already attempted?
no

What are you working on?
website development

#

@brittle venture pressed the πŸ“‘ API button in #help to ask a question:

Question
In the stripe settings we can specify a value in days for "payment due" under "Default payment terms". However when I create an invoice with collection method = send_invoice I get this error "If invoice collection method is 'send_invoice', you must specify 'due_date' or 'days_until_due'." and if I try with collection_medthod = charge_automatically then the payment is due the day the invoice is created. Am I minsinterpreting the "payment due" setting ?

Related Request ID(s)
no

What have you already attempted?
Tried with different collection method

atomic shuttleBOT
#

@stoic linden pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to charge the customer for their subscription now, but start that subscription later.

Related Request ID(s)
NA

What have you already attempted?
Using trial_end doesn't bill the customer immediately, using subscription schedule has the same problem.

#

@clear pelican pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, We currently using SFCC cartridge link_stripe_sfra for stripe integration. Now we have received an email to upgrade Ali pay method from source API to new payment intent API. What changes we need to make.
Can you guide us?

Related Request ID(s)
12

What have you already attempted?
We just started checking new payment intent API

#

@woven iris pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to create a subscription where the customer is billed immediately, the full amount and the subscriptions billing_cycle_anchor is set to January 1st next year. I wanna use the stripe checkout for this.

Related Request ID(s)
req_C9ZU1lbXY9UW10 req_hQvAk3UxR8qkL6

What have you already attempted?
I've tried creating a checkout session with a subscription and proration_behavior set to none, but that created a checkout session, where the customer had to pay 0.00, but the billing period was correct.

I then tried creating a regular subscription, where I didn't set any billing_cycle_anchor, which resulted in correct payment. Then I wanted to update the billing cycle to January 1st, but that's not doable either.

What are you working on?
It's basically just a portal for members of a small local club, where they want to pay memberships online instead of cash.

#

@dawn galleon pressed the πŸ“‘ API button in #help to ask a question:

Question
When I add an subscription item in monthly subscription, I get 2 charges, one for the product monthly and one for "time" (remaining and unused time). Why?

Related Request ID(s)
.

What have you already attempted?
.

atomic shuttleBOT
#

@steady oriole pressed the πŸ“‘ API button in #help to ask a question:

Question
I need help with invoice create and tax

Related Request ID(s)
no

What have you already attempted?
no

What are you working on?
website development

atomic shuttleBOT
#

@primal sentinel pressed the πŸͺ Webhooks button in #help to ask a question:

Question
hey, how can I listen for payment for a subscription or rejection of payment for a given subscription? So that the object returns id_sub?

Related Event ID(s)
evt_1PVW9BDLkyBvca6o6ERhArUH

What have you already attempted?
I added webhooks:

"checkout.session.completed",
"payment\_intent.succeeded",
"payment\_intent.payment\_failed",
"payment\_intent.canceled", //
"payment\_intent.created", //
"account.updated",
"invoice.payment\_succeeded",
"invoice.payment\_succeeded",

ok this webhooks is triggering, but I don't have sub_id anywhere :/

What are you working on?
manage subscriptions

#

@rotund grotto pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
subscription = await stripeClient.subscriptions.create({
customer: customer.id,
items: [
{ price: product.default_price as string },
],
expand: ["latest_invoice.payment_intent"],
payment_behavior: "default_incomplete",
payment_settings: {
save_default_payment_method: "on_subscription",
},
});

Question
I'm facing a bug when users dismiss the payment sheet in app.

When users tap on the "buy" button I use the Stripe Flutter SDK to open the payment sheet. It requires a `payment_intent`, `ephemeral_key`, `customer_id` to work.

I generate them on the server by creating a new subscription attached to that customer.

The bug happens when the user dismissed the payment sheet - the subscription is left in an incomplete state and breaks if I try to update the subscription again.

What have you already attempted?
Would like to know the right way to go about this.

What are you working on?
A paywall on the app

atomic shuttleBOT
#

@minor finch pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I am generating invoices with the API, but when I generate them they are created as pending payment, but I am generating the invoice once the user has already made the payment, so I want to indicate that they have already been paid

Question
ΒΏHow can indicated that invoice have been paid?

What have you already attempted?
-

#

@steady oriole pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I generate international type when creating vat or auto set type based on region in create tax id API

Related Request ID(s)
no

What have you already attempted?
no

What are you working on?
Stripe developer

atomic shuttleBOT
#

@clever sierra pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card-mandate_options-reference

Question
Whats the purpose of mandate reference and why is it unique across a payment method, can you give some examples of how it is to be used

What have you already attempted?
Keeping the same mandate info which the the product name doesnt work as we allow multiple payment methods on a single website.

#

@exotic heart pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const paymentIntent = await fetchPaymentSheetParams();
const { error } = await stripe.initPaymentSheet({
customerId: paymentIntent.customer,
customerEphemeralKeySecret: paymentIntent.ephemeralKey,
paymentIntentClientSecret: paymentIntent.paymentIntent,
merchantDisplayName: 'BALAUM SHOP',
googlePay: {
merchantCountryCode: 'US',
testEnv: true, // use test environment
},
});

Question
I have in my app react natyive stripe moblie element payment now ic click save for future (My Name store) paymets and i try use again for check if saved but he not saved i dont know what happend

What have you already attempted?
React Native JS

#

@visual pine pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When paying via Google Pay, I expect it to charge the total amount with the VAT Included. Let's say total amount is €1.00, I want it to to add the 21% vat which should become €1.21.

What actually happened?
When paying via Google Pay, no VAT is charged in the Google Pay window. For example, I need to pay €1.00 instead of €1.21. However, after the payment processing, I do see that €1.21 is deducted from my account (which is good, of course, because I selected 'Netherlandsbut it's strange that it shows €1.00 in the Google Pay checkout window).

Reproduction Steps
I am not sure how to reproduce, because everything works fine for creditcard.

Question
How can I fix the bug where VAT is not included when paying with Google Pay? I am using Stripe Elements

What are you working on?
I am building a small webshop which only sells one product

#

@lime bear pressed the πŸ“‘ API button in #help to ask a question:

Question
Using a card requiring SCA for purchase in US. We are using one of the SCA Test cards (4000002500003155) to purchase something at a US connected account. Tokenizing the card without SCA works fine, but then when we use it for a purchase (in the US) with setting `error_on_requires_action=true` (this is our standard setting for token-based transactions), we get an error that action is required. We assumed that presenting a European card to a US merchant would not require SCA?

Related Request ID(s)
pi_3PVX89HFnb1nD54K1kelPYht

What have you already attempted?
API call

What are you working on?
International integration.

#

@dry crow pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to query subscriptions based on metadata which is a JSON field.
metadata has a field called flags with a sample value of {"feature1":1,"feature2":1}
Can we query it using metadata['flags']['feature1']:1.

If not what is the best course of action that you would recommend

Related Request ID(s)
no request id

What have you already attempted?
Read the stripe documentation and have gone through Stripe API but not luck . Attaching curl for reference

curl --location --request GET 'https://api.stripe.com/v1/subscriptions/search'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Basic <auth>'
--data-urlencode 'query=metadata["flags"]["feature1"]:1'

atomic shuttleBOT
#

@tribal rock pressed the πŸ“‘ API button in #help to ask a question:

Question
implementing stripe checkout and transfers in nodejs.
my main concern is that the business owner does not need to pay the processing fees for checkout and transfer instead the customer should pay the processing fees.
is there any way that while creating checkout and transfer can we add the show the customer that this is your processing fees

Related Request ID(s)
N/A

What have you already attempted?
yes alot couldn't find any thing

What are you working on?
yes

#

@primal sentinel pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How can I check the subscription to provide it first (select the invoice.paid webhook) and then reject the payment during 2 attempts (in two months)? (webhook: invoice.payment_failed)

Related Event ID(s)
evt_1PVYKbDLkyBvca6oRHy9NU8a

What have you already attempted?
I have webhook for this action

atomic shuttleBOT
#

@silk python pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there way to delete payment method domain using the Stripe api.

Related Request ID(s)
NA

What have you already attempted?
I read documents but i did not find endpoint to delete payment method domain with id

ref: https://docs.stripe.com/api/payment_method_domains/object

What are you working on?
NA

atomic shuttleBOT
#

@tired zodiac pressed the πŸ“‘ API button in #help to ask a question:

Question
ACH integration stop working - collectBankAccountForSetup started to fail with error "no such setupintent".

No changes were done.
Public and secret keys are in place.

What we do is:
- First , in our back-end we create a customer in Stripe using the access token generated by Stripe Connect for our customers.
- Then, we create Stripe Setup Intent, this will give us a client secret.
- Finally, in the front-end we use the client secret to call collectBankAccountForSetup and then open Stripe's ACH modal. But this step fails.

Related Request ID(s)
N/A

What have you already attempted?
We reviewed all the code and we don't understand what is wrong, specially because we didn't change this part of the code in months, and suddenly we found that started to fail when calling collectBankAccountForSetup in the front-end.

#

@dusk falcon pressed the πŸ“‘ API button in #help to ask a question:

Question
cant create invoice for CHF currency... but got error

Related Request ID(s)
req_rnQTPEbFWagmbH

What have you already attempted?
whats the problem?

What are you working on?
create invoice for CHF via bank transfer

#

@grave oar pressed the πŸ“‘ API button in #help to ask a question:

Question
I am from Europe and I would like to use payment plans like Klarna or Afterpay in my beacons store but it says doesnt allowed in my country through stripe. What can i do?

Related Request ID(s)
API, Payment plans,

What have you already attempted?
I didnt do anything because i dont know what to do

What are you working on?
I would like to get access to payment plans.

#

@white warren pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
var paymentIntentService = new PaymentIntentService();
return paymentIntentService.Create(new PaymentIntentCreateOptions
{
Amount = request.Amount,
Currency = "EUR",
Customer = request.CustomerId,
PaymentMethodTypes = new List<string> { "card", "sepa_debit" },
PaymentMethod = request.PaymentMethodId,
Description = request.Desc

Question
I am trying to pay using SEPA (ES6621000418401234567891 ) in test mode. And I am getting Stripe.StripeException: 'There was an unexpected error while processing your request. Please contact us via https://support.stripe.com/contact if the error persists.'
my catch exceptions returns "invalid_request_error" on e.StripeError.Type. But the declineCode is null

What have you already attempted?
I control the message to show to the customer using the declineCode, but this time I have a null value. It's possible that this error is due to use a real sepa on test mode?

#

@blazing spoke pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I would like to know what the best practices are for having to charge large number of transactions within a day. For example we're building a service that could charge over 300,000 customers recurring monthly payments. The dollar amount each month changes each month and we have to charge them on the same day.
We thought at first to just schedule payments monthly on our end and call the PaymentIntent API but have also looked at perhaps using Subscriptions as well. Does Stripe have any suggestions for charging recurring payments that change montlhy and are of large volume?

Doc/Guide Links
https://docs.stripe.com/subscriptions
https://docs.stripe.com/payments/accept-a-payment-deferred

What are you working on?
A system that will keep track of a balance that a customer owes based on claims submitted by a third party. Our system will bill customer's monthly so they can pay down this balance.

#

@vocal stump pressed the ❌ An Error button in #help to ask a question:

Error Message
See in_1PVZNEL7ilRdQXxEC9TkIZRu

According to the dashboard, this invoice is "pending" a SEPA debit transfer, but no SEPA bank account is associated with the invoice or subscription, and none of the events indicate that the charge is pending. Latest change is evt_1PVZNHL7ilRdQXxEmIWpTBxH which says the invoice is open

Question
See explanation above, please.

What have you already attempted?
See explanation above, please.

#

@plain mulch pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
log.Printf("Body: %v", request.Body)
params := &stripe.CheckoutSessionParams{
LineItems: []*stripe.CheckoutSessionLineItemParams{
{
Price: stripe.String((request.Body)),
Quantity: stripe.Int64(1),
},
},

Question
I am passing a request body to my function that contains a price_id. No matter which price_id I pass, my embedded checkout session returns the same product and I am unsure why.

What have you already attempted?
I am logging the request body to AWS CloudWatch and can verify that it is a string and also a valid price_id.

#

@zenith pivot pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
For it to accept the account as Swedish and not as Danish.

What actually happened?
I get an error saying "The country you specified for the bank account: SE, does not match the country of the bank account number: DK."

Reproduction Steps
Go to https://dashboard.stripe.com/settings/payouts and provide such an account.

Question
Stripe seems to treat transfers to a Swedish bank account registered through a Danish bank as a Danish bank account, and treats it as an international transfer. It's not, it's the other way around, a transfer to this account from Denmark would actually cause an international transfer. I have had no success getting past Level 1 support regarding this, so trying here...

#

@exotic heart pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
googlePay: {
merchantCountryCode: 'US',
testEnv: true, // use test environment
},

Question
What Mean merchantCountryCode: 'US',

What have you already attempted?
REACT NATIVE JAVASCRIPT

#

@distant yoke pressed the πŸ“‘ API button in #help to ask a question:

Question
I am encountering an issue with the tax calculation for my service in Stripe. When I create a payment intent, the tax calculation returns a "taxability_reason" of "product_exempt," even though my service should be taxable. I need guidance on how to correctly configure the tax settings so that the appropriate sales tax is applied

Related Request ID(s)
req_NeReds5s44hMLI

What have you already attempted?
Select Stripe Tax category, and changed it.

tried to add automatic_tax on payment_intents, but that didn't work

What are you working on?
My business, Toque, provides a service where chefs prepare and cook food in customers' homes.

atomic shuttleBOT
#

@azure junco pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const elements = useElements();

Question
i'm using useElements to collect payment info. When I submit the form, I get the following error: IntegrationError: To use createPaymentMethod with the Payment Element, your elements instance must be created with paymentMethodCreation: 'manual'.
I'm not sure where to pass this option. Does the useElements hook accept this option?

What have you already attempted?
passing the option to the hook.

What are you working on?
billing for our products

#

@obsidian crystal pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
When connecting stripe accounts this message is provided to the vendor accepting the connection: "[Company] will be able to see your account data (such as all payment and payout history), including any data created by other businesses you've connected. They'll also be able to create new payments and take other actions for you."

I wanted to know exactly how visible payment and payout history are to connected accounts- and what other information is visible to those accounts? How is the information shared? Is it available only through api calls or are there dashboard displays for my connected accounts that show my financial comings and goings?

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

What are you working on?
Stripe Connected accounts for processing payments

#

@hexed cedar pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to remove the due date label on an invoice which has the due date set?

Related Request ID(s)
none that I can find

What have you already attempted?
I'm reading the docs but cannot find anything thus far

What are you working on?
We've had an open ticket for awhile where in Norway, we want to send invoices to customers, however the Due Date label on the invoice is not translated to the customer's language, it falls back to eng

#

@slim anchor pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Stripe CLI to connect correctly to my account

What actually happened?
I typed in stripe login - i went to the URL specified logged into my account

Reproduction Steps
On the CLI command prompt this displayed: "message":"The livemode of the authorization key you provided does not match that of the key provided in the Stripe-Account header.","message_code":"stripe_account_livemode_mismatch" this used to work just fine a few months back what could I be doing wrong?

Question
Not sure why I cant use the stripe CLI anymore I pasted the error above

#

@ancient bison pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
https://dashboard.stripe.com/test/logs/req_f5XGVvsJhm0jzI?t=1719260889 The provided on_behalf_of (acct_1HFVC8LNz3uMms8Y) does not match the expected on_behalf_of (null). Try confirming with a that is configured to use the same parameters as Stripe Elements. May I ask what does that mean?

What have you already attempted?
I am pretty sure I've already passed onBehalfOf to payment element in frontend js

What are you working on?
trying to find out what's wrong with my testing payment

#

@main pilot pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I'm having an issue where the webhook events for `transfer.created` are not being triggered for my connected account. I'm working with destination charges, and it seems like the events are not being sent at all.

Related Event ID(s)
webhook events

What have you already attempted?
added other events like `payout.created`, and webhook events were triggered.

#

@marble lily pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I have no code,! !!!

Question
I want a stripe webshop with a shopping cart, but I can't figure it out!

I want people to order via that webshop. and I can see the orders via another website.2

What have you already attempted?
Coding, with chat gpt, but even he didn't know it.

What are you working on?
Webshop

atomic shuttleBOT
#

@hexed bloom pressed the πŸ“‘ API button in #help to ask a question:

Question
I am on the process of integrating with Stripe checkout (embed)

Testing Bank transfer or Sepa
gives me this error: You passed an empty string for 'payment_method_options[customer_balance][bank_transfer]'. We assume empty values are an attempt to unset a parameter; however 'payment_method_options[customer_balance][bank_transfer]' cannot be unset. You should remove 'payment_method_options[customer_balance][bank_transfer]' from your request or supply a non-empty value.

Related Request ID(s)
req_nA3GZzO7Gq7sDC

What have you already attempted?
I've noticed that this error does not occur if I do not preset a customer when creating the checkout session, but I need to pre set a customer.

#

@fiery karma pressed the πŸ“‘ API button in #help to ask a question:

Question
I have developed a system using Stripe API where user can setup their bank account and then pay money using this account. A few users are running into an issue when they try to attach their bank. They get "The auth session is in an invalid state for this action".

Related Request ID(s)
4242.io

What have you already attempted?
i tried different browsers but still same issue

atomic shuttleBOT
#

@modest elk pressed the πŸͺ Webhooks button in #help to ask a question:

Question
What are all webhooks used related to ach ?

Related Event ID(s)
Payment with ach

What have you already attempted?
I want to know what are the steps by whoch ach works, this way i will know which webhooks i need.

From what i understand a payment is created , they must verify with microdeposits, once done the payment can proceed.

But i want to know what are all webhooks related to that process or to ach in general

What are you working on?
Making ach work

atomic shuttleBOT
#

@vocal wagon pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
How to show payments by customer made with `stripe.checkout.sessions.create` in the billing portal returned by `stripe.billingPortal.sessions.create`?

What actually happened?
After payments using dynamic pricing, I can't see it when I go to billing portal. I use same customer_id for both payments and creating the billing portal session.

Reproduction Steps

  1. Create payment session with `stripe.checkout.sessions.create`
  2. Pay it
  3. Use same customer_id, and goto url returned by `stripe.billingPortal.sessions.create`

Question
I want to be able to see all payments in this billing portal. How can I do that?

What are you working on?
SvelteKit + Supabase + Stripe project

#

@valid torrent pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there an option to deactivate or archive a customer?

Related Request ID(s)
No requests need for it

What have you already attempted?
Now I see only customer deletion https://docs.stripe.com/api/customers/delete

What are you working on?
I need to be able to temporarily disable a customer, including subscriptions, sending any emails, invoices, and billing

#

@merry rapids pressed the πŸ“‘ API button in #help to ask a question:

Question
I've enabled Link for the Test version of my account, however, when I land on the checkout page, I do not see an option to use Link. I've enabled

Related Request ID(s)
req_l87L6pD8DLxTFC

What have you already attempted?
I followed the same process for our developer account and after enabling Link, it appeared on the checkout page. I reproduced the same steps for the Test mode of our primary account and it is failing.

What are you working on?
A fundraising website which uses standard payments (feature upgrades) and Connect for platform paymens.

#

@fading finch pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, i'm trying to implement auto-renewal payment on with stripe webhook on my platform but i do not know which event to listen to and how to handle when an auto-renewed subscription is successful

Related Request ID(s)
None

What have you already attempted?
Listen to :
checkout.session.expired : not working
invoice.payment_succeeded : not relevent (i think...)

What are you working on?
Chrome Extension + SaaS with AI in digital marketing

atomic shuttleBOT
#

@lime garden pressed the ❌ An Error button in #help to ask a question:

Error Message
Terminal error A7-INT

Question
I know this is generally a place for API related questions but we're having multiple terminals coming up with an A7-INT error on auto update and I was wondering if anyone knows about a current issue. Sorry if this isn't the right place, but I'm just trying to get answers for the field asap

What have you already attempted?
I have a support case open, but waiting on responses

#

@unkempt pagoda pressed the πŸ“‘ API button in #help to ask a question:

Question
TapToPay, cant pay when isSimulated = false

Related Request ID(s)
none

What have you already attempted?
TapToPay, cant pay when isSimulated = false
isSimulated = true works

#

@kind adder pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to specify on a PaymentIntent which bank account the payment will be paid out to?

Related Request ID(s)
None

What have you already attempted?
Reviewed Payment Intents API docs, External Bank Accounts API doc

What are you working on?
Our connected accounts are able to define multiple external bank accounts. We'd like the ability to direct certain payments to certain bank accounts based on our business logic.

#

@twin hamlet pressed the πŸ“‘ API button in #help to ask a question:

Question
How can i read card fingerprint from s700 terminal without initiating a PI? I want to refund only using card, not knowing PI

Related Request ID(s)
no requets

What have you already attempted?
read terminal docs

#

@mental owl pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Balance transaction `status` changing from pending to available - is there any way to get notified?

Related Event ID(s)
n/a

What have you already attempted?
?

What are you working on?
Marketplace with Connect

#

@slender glacier pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/components/settingsview

Question
I submitted my app for review and got some feedback. I don't completely understand it.

It says: Create a clear path for users to unauthenticate the app from within the Stripe Dashboard UI.
https://docs.corp.stripe.com/stripe- apps/components/settingsview

Issue: The Potio app has not "views" listed under the
"uiExtension" section of App Manifest file, which leads to no unauthentication flow within the App drawer or App Settigns page
Expected: Either add views for app drawer or settings page and have Connect / Disconnect buttons OR provide link to disconnect on app settings page which redirect

What have you already attempted?
I'm unsure what I need to connect/disconnect here. Should the connect buttons start the oauth flow and then redirect user to Potio? And should the disconnect flow remove the oauth info from my app? (there is already a button to disconnect app on Stripe's side)

What are you working on?
potio.cc

#

@livid lantern pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
stripe.SubscriptionSchedule.modify(
str(subscription.schedule),
items=[{'price': '<price_id>'}, {'price': '<price_id>'}, {'price': '<price_id>', 'clear_usage': True}]
)

Question
What is wrong with my request? I am getting an error back from SDK call => "stripe._error.InvalidRequestError: Received unknown parameter: items"

What have you already attempted?
I have used the Stripe shell to build my call.

What are you working on?
Updating a subscription pricing

#

@quasi nebula pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I check the MOTO enablement status for a Standard connected account to my platform? I'm aware that each connected account needs to request MOTO access individually, however on our side we need to gate access to any features that will use MOTO (i.e. set payment_method_options[card][moto] in the PaymentIntent) to accounts that Stripe have switched it on for already. The Stripe API doesn't seem to surface this information for the connected account anywhere, as far as I can see.

Related Request ID(s)
req_SkjUy6XZFM4DBu

What have you already attempted?
I've checked `/v1/accounts/:id`, as I expected to find this information in `capabilities`, but there's nothing to be found.

What are you working on?
SaaS product with e-commerce and some requirement for telephone orders in backend dashboard

#

@fresh ingot pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
function ApplePayButton({ onConfirm }) {
return (
<ExpressCheckoutElement
options={{
//@ts-ignore
paymentMethods: { applePay: 'always', googlePay: 'never' },
}}
onClick={({ resolve }) => { resolve({}); };}
onConfirm={onConfirm}
onReady={({ availablePaymentMethods }) => {
// availablePaymentMethods?.applePay = false;
}}
/>
);
}

Question
I read this topic (https://github.com/stripe/stripe-js/issues/484) and understand why it is necessary to verify top level domain for Apple Pay.
But our product is widget embedded into other sites and not every domain is want to make verify or can make it

I want to display ApplePay payment method only if top level domain is verified, can I check it via js API?

What have you already attempted?
I tried use `onReady` event and check `availablePaymentMethods?.applePay` but it's too late, I need to check it before go to payment methods screen.
Also I tried check `window.ApplePaySession.canMakePayments()` but it's return true for non verified domains too.

#

@misty parrot pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
APPROACH 1
1 - await stripe.checkout.sessions.create()
2 - await stripe.paymentIntents.capture()
3 - transfer through webhook

APPROACH 2
1 - await stripe.checkout.sessions.create()
2 - await stripe.paymentIntents.capture() (TO MARKETPLACE ACCOUNT)
3 - await stripe.transfers.create() (TO SELLER ACCOUNT AFTER CHECKIN)

Question
HI I want to know if it's correct my approach. I create a session to charge the buyer but with manual capture. The capture and transfer happen when the buyer checkin to the seller account ( Stripe connect).
I was wondering if the other approach to collect money and then pay is correct. I've linked the flow to better give an idea.
https://excalidraw.com/#json=LrHCRNcaJcLwUr7NRMo5F,sWbtVM5t8Yg3i5Oc5dTR4w

Also, is it ok to save the paymentIntent id on my database? Is it safe?

What have you already attempted?
It's working already both through checkout (uncapture funds) and then capture and transfer the fund from buyer to seller and the other approach: buyer pays the platform, then the platform transfer the money to the seller account after checkin, but I'm not sure what's the best approach and if it's correct what I've thogutht.

What are you working on?
Marketplace to facilitate meet of buyer and seller, charging a fee.

#

@compact rose pressed the πŸ“‘ API button in #help to ask a question:

Question
Could I get some clarification on how we should be thinking about payment method domains for Stripe Connect? We use Stripe Connect Standard accounts to allow our users to collect payment from their members via our platform.

We allow our users to use their custom domain for our platform as well. So all of our users can collect payments on either app.heartbeat.chat or example.theirdomain.com.

1) Do we need to create a payment method domain inside every connected account for app.heartbeat.chat?
2) Is it possible to download the Apple Pay verification file via the API?

Related Request ID(s)
N/A

What have you already attempted?
Read this: https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect

What are you working on?
A community plaform

#

@maiden dawn pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to remove the Quantity from appearing in the check out session?

Related Request ID(s)
1255213921519009864

What have you already attempted?
Made penny product and modified check out line items to be cents multiplied by 100, formatted as numbers with 2 decimal places, and then split the final number by the first part of the decimal. This gives us correct total across the board in our checkout, but a $50 product displays underneath the $50 charge on the stripe checkout page as Qty 5,000, $0.01 each.

What are you working on?
bubble web app for event entries / management

#

@reef dune pressed the πŸ“‘ API button in #help to ask a question:

Question
Understand Payment Intents US Bank Account preferred settlement speed

Related Request ID(s)
1

What have you already attempted?
Create two payment intents. One with the standard speed and another one with the fastest speed

What are you working on?
Payment Intents

#

@primal sentinel pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hi this webhook:
subscription_schedule.aborted

should be to listening for:

Subscription status
If all retries for a payment fail: cancel the subscription

Related Event ID(s)
evt_1PVe1jDLkyBvca6ovW17OGze

What have you already attempted?
I added this webhook

#

@dense saddle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We allow our customers to create subscriptions with a us_bank_account pmt method. In test, I am seeing that an invoice.paid event is immediately created. But will this be the case in live mode? I assume not, as the ACH transaction takes days to process, right?

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

What are you working on?
platform for employers to pay subsidies to their employees

atomic shuttleBOT
#

@limpid thicket pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I update a customer's billing emails via API or Billing Portal?

Related Request ID(s)
N/A

What have you already attempted?
I've looked at the API docs and other developer help centers like Stack Overflow.

What are you working on?
I'm trying to build a way to our customers to update only their billing email address. It can be using the billing portal or via API.

atomic shuttleBOT
#

@sullen torrent pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hi. I'd like to enquire about how to handle payment intents that have status requires_confirmation. Using the Stripe SDK on node, I see it isn't added as a type for us to act based on a webhook.

That said, I'd like to know that the expected flow would be to handle payment intents that requires confiramation.

For a little more information, our stack uses react native, react and nodejs as a backend. We use the applicable stripe SDKs in each of these and not calling the Stripe rest api directly.

Thanks in advance

Related Event ID(s)
N/A

What have you already attempted?
We wanted to implement a webhook to listen for payment intents hitting this status but the status doesn't seem to be available in the type. We're thinking this is the wrong way to handle requries_confirmation and looking for advice on the correct flow.

What are you working on?
We build a marketplace platform for collectibles.

#

@soft swift pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/build-backend

Question
I'm trying to build a Stripe app that receives webhooks from accounts where it has been installed/configured. My app registers a webhook endpoint, but I have not been able to validate the received webhook with `stripe.webhooks.constructEventAsync`.

1) When the app is installed, will there be a new webhook endpoint per account that installs it?
2) How do I programatically get the webhook signing secret after the endpoint is created?
3) How do I debug the failure to validate the incoming webhook event?

What have you already attempted?
Inside my Hono server I have successfully validated incoming events from my settings UI using my App Signing Secret.

For webhook events, I'm trying to construct the event:
const sig = c.req.header('Stripe-Signature');
const webCrypto = Stripe.createSubtleCryptoProvider();
const bodyText = await c.req.text();
const event = await stripe.webhooks.constructEventAsync(
bodyText,
sig,
'whsec_XXX',
undefined,
webCrypto
);

What are you working on?
A Stripe App with a settings view and a backend hosted in Cloudflare Workers that receives webhooks

#

@azure junco pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements#apple-pay-and-google-pay

Question
i believe the code in this doc is incorrect. specifically this:
// Retrieve the "setup_intent_client_secret" query parameter appended to
// your return_url by Stripe.js
const clientSecret = new URLSearchParams(window.location.search).get(
'setup_intent_client_secret'
);

// Retrieve the SetupIntent
stripe
  .retrieveSetupIntent\(clientSecret\)

it should retrieve the setupIntentId from the url and use that, according to the API docs here: https://docs.stripe.com/api/setup_intents/retrieve

What have you already attempted?
I tried the code in the doc and it doesnt work because the intent cant be found

What are you working on?
billing on our products

#

@daring scarab pressed the πŸ“‘ API button in #help to ask a question:

Question
We have multiple tiers and when a customer tries to upgrade from a lower paid tier to higher one, we call stripe.subscription.modify with pending updates to ensure customer subscription is only updated once payment is successful and if it fails, the existing subscription doesn't change.

Pending updates doesn't work with account debits and we are unable to figure out a way to handle account debits with this usecase in Stripe.

Related Request ID(s)
req_m2ZiEHSwMkdRmy

What have you already attempted?
We have tried looking at different payment_behaviour options but none seems to be working ideally with the usecase. If we go by default payment_behaviour, then customer subscription is updated in Stripe to the new PriceId before payment goes through and if the payment fails, then subscription is cancelled. But we do want that customer has their original subscription i.e. the priceId before the modify call.

If we try to create a new subscription for this change, then we are unable to do prorations in that.

atomic shuttleBOT
#

@raven grove pressed the πŸ“‘ API button in #help to ask a question:

Question
I would like to create a subscription schedule which starts from past date. I successfully created the schedule yet here is the question. I expect the generated invoice period to match the schedule phase yet it does not, as well as subscription billing cycle anchor (it does not match to the current phase end). is there any way to resolve this issue?

Related Request ID(s)
req_xwmugSgB1wzjrD

What have you already attempted?
I tried to set billing cycle anchor as phase_start when I create subscription schedule yet didnt work as I wish.

What are you working on?
backend application

atomic shuttleBOT
#

@unkempt pagoda pressed the πŸ“‘ API button in #help to ask a question:

Question
TapToPay, view stuck on HoldCard

Related Request ID(s)
none

What have you already attempted?
Pay

atomic shuttleBOT
#

@wild bloom pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to finalize an invoice that is not set to charge automatically without emailing the customer?

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

What have you already attempted?
We're upgrading api_version from 2016-06-15 to 2024-04-10. I've looked at the stripe invoice api docs.

What are you working on?
We're upgrading API versions and have a weird process where we close and forgive invoices then update their totals via a webhook.

#

@tame herald pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I need to get "customer_email" which is sent to create payment session, but it is not returned on webhook body. After the payment is succeeded, I look the logs on "webhook" tab, and it shows all the attributes of the request. I can not find "customer_email" attribute which is sent.

Related Event ID(s)
payment_intent.succeeded / payment_intent.payment_failed

What have you already attempted?
I've tried to sent inside "metadata" object, and the logs show the same object empty. Also, I attempted to sent "receipt_email", and it returns null on webhook request.

What are you working on?
Working on a E-Commerce website.

#

@languid hearth pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Can you do a payment intent amount update during requires_confirmation

Doc/Guide Links
I searched around the docs but they have honestly gotten much more complicated

What are you working on?
Updating payment intent amount after collecting payment

#

@wheat wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Trying to understand issuing authorizations and reverals. Why would there ever be a reversal with an amount of 0?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
card issuing platform

#

@rigid raptor pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there any way to workaround apple verification when I have web on Wix and it doesnt let me verify my site with downloaded file from your website?

Related Request ID(s)
xx

What have you already attempted?
I think I tried to search through the whole youtube, Wix, Stripe, Apple websites. But in my case, when there is not supported WixPayment in my country is only option your Stripe. But Wix doesnt let me verify my page for Apple with that file, because I cannot upload it there..

What are you working on?
self defense web with online courses and we need applepay for people

#

@jaunty trail pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I charged my card and y'all took like $3 as a fee, so I tried to charge it again for $5 and y'all flagged it as fraudulent and I uploaded my documents and everything else and I'm trying to fix it because I needed it to direct deposit to my payout. Card

What actually happened?
Y'all flag my account. And I did everything you asked and i'm trying to unlock it

Reproduction Steps
I couldn't find a contact number so I had to download this app

Question
It's said that the payment wasn't approve by the customer. But yes, it is, it's my card

What are you working on?
I have A. Business credit card that I got approved for and I have to direct deposit one twenty five onto it

atomic shuttleBOT
#

@soft swift pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have created a Connect webhook endpoint in test mode through workbench (we_1PVgWpKHtUMqOYFUmEJ4AjCD).

I want to trigger events for this webhook:
1) From the CLI
2) From accounts that install a Stripe Marketplace App

I can't get either to work.

Related Event ID(s)
No events appear in the logs

What have you already attempted?
I am trying to send test events through the CLI: `stripe trigger --stripe-account acct_1IfGs2KHtUMqOYFU charge.succeeded` where that is the account ID for my test account

I am also trying to trigger account.application.authorized events by uninstalling/reinstalling my app by running `stripe apps start`.

In workbench, I see that the webhook is listening for 6 events, but no attempted deliveries. I feel like I'm missing something!

What are you working on?
I'm trying to build my first Stripe App that receives webhook events for accounts with the app installed

#

@fading finch pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to filter webhooks events on customer email ?

Related Request ID(s)
none

What have you already attempted?
Did not see anything compatible with this case.

What are you working on?
Chrome Extension + SaaS with AI in digital marketing

#

@magic pelican pressed the πŸ“‘ API button in #help to ask a question:

Question
Sanity Check: We need to charge each Client a deposit for the initial services (package transportation) via an emailed Checkout Session URL, then charge the balance after the event.

payment_intent_data.setup_future_usage=off_session accomplishes this, correct?

Related Request ID(s)
req_MqdeLC6rRvN3VT

What have you already attempted?
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-consent_collection-payment_method_reuse_agreement

What are you working on?
Transportation and Shipping system

#

@pure cave pressed the πŸ“‘ API button in #help to ask a question:

Question
How can i download an extract of the developer log from the workbench ?

Related Request ID(s)
req_0

What have you already attempted?
inspecting the workbench but didn't find how to export the list of api requests from the logs.

What are you working on?
trying to export all error 400 related to transfers that I will need to run again now that the connect account issue has been fixed.

#

@glacial condor pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
// Scheduled function
export const hellooooo = onSchedule("every 1 minutes", async (event) => {
const userId = "8hP3KyNRorgBiks1t8MMd9Ge9ij1"; // Replace with the actual user ID or logic to get user IDs
const userRef = db.collection('users').doc(userId);
logger.info(`Starting transaction for user ${userId}`);

try {
  await db.runTransaction\(async \(transaction\) =\> {
    const userDoc = await transaction.get\(userRef\);
    if \(!userDoc.exists\) {

Question
In firebase, I need scheduled functions to work to ensure that my stripe can work. Does anyone have any experience making scheduled cloud functions.

What have you already attempted?
I have attempted literally everything lol.

What are you working on?
I am building a social network

atomic shuttleBOT
#

@weary crescent pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
stripePromise.current = await loadStripe(stripeKeys.publishableKey, {
locale: languageCode,
});

    const { error } = await stripe.confirmPayment\({
      elements,
      confirmParams\: {
        return\_url\: \`${window.location.origin}/billing/transactions?invoice\_id=${invoiceId}\`,
        payment\_method\_data\: {
          billing\_details\: { sending name, address, and email },
        },
      },
    }\);

Question
When we use stripe.confirmPayment, is it possible to set the new payment method the customer used to checkout as their new default payment method? Is there a configuration or param that can be set somewhere during payment or when we create a customer or subscription?

What have you already attempted?
https://docs.stripe.com/js/payment_intents/confirm_payment
https://docs.stripe.com/stripe-js/react#elements-provider

these docs don't appear to have any setting where we can make sure the new payment method entered is set to their default

What are you working on?
Subscription renewals failure case, want to update default PM when they pay invoice and it succeeds

#

@chrome thicket pressed the πŸ“‘ API button in #help to ask a question:

Question
I am building a Stripe app. I have the permission `connected_account_read`, but when I call `GET /v1/accounts` I get the following error:

"you cannot access the connected accounts of your platform's connected accounts"

Why is this?

Related Request ID(s)
req_X9wTP8vECtw89R

What have you already attempted?
What I said above

What are you working on?
A dispute analyzer Stripe app.

atomic shuttleBOT
#

@limber plank pressed the πŸ“‘ API button in #help to ask a question:

Question
We have a platform account with many "custom" managed accounts under it. We recently switched from the deprecated Charges API to the Payment Intents API for making charges.

Previously under the Charges API the managed accounts default descriptor would be used for the charge. After the switch to the Payment Intents API it appears that our platform account's default descriptor is being used for all payments even though the payments have another "destination" and "on_behalf_of".

How do I set up the payment intent to use the connected account default descriptor instead of our platform accounts?

Related Request ID(s)
req_vh1qmdBUneIIQL

What have you already attempted?
I've tried manually specifying the Statement Descriptor when creating the payment intent, but ideally the connected account's default descriptor

What are you working on?
e-commerce Platform

atomic shuttleBOT
#

@humble rivet pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/checkout/quickstart

Question
i try to switch payment element to checkout using stripe hosted page. is it possible to accept payment on behalf of other connected stripe account?

What have you already attempted?
I have read through the document, and have made the flow work on my test account, however I didn't find any parameters that can take stripe account to accept payment on behalf of the account. I just want to confirm whether it would work.

What are you working on?
try an approach to switch payment element to checkout

#

@chrome thicket pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
authorization: {
url: `https://marketplace.stripe.com/oauth/v2/${env.STRIPE_CHANNEL_ID}/authorize`,
params: {
redirect_uri: "http://localhost:3000",
},
},

Question
Is there a way to redirect to localhost when testing stripe Oauth locally?

What have you already attempted?
i tried adding localhost to the domain whitelist but it says only https domains allowed.

in the meantime i've been manually changing the url but i was wondering if there's a more convenient way to do this.

What are you working on?
dispute dashboard stripe app

atomic shuttleBOT
#

@dawn galleon pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to show a coupon field on a Stripe checkout page initiated by https://api.stripe.com/v1/checkout/sessions?

Related Request ID(s)
.

What have you already attempted?
.

atomic shuttleBOT
#

@crimson wave pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I fix the usage of invoice with type=recurring price?

Related Request ID(s)
in_1PVTm7Fa6QI974SgDoWxsHhk

What have you already attempted?
I have tried using Mater to record past usage.
It was recorded , but it is not reflected in the draft invoice.

atomic shuttleBOT
#

@leaden plank pressed the πŸ“‘ API button in #help to ask a question:

Question
Create a Checkout can set the expiration time, Create a PaymentIntent is OK?

Related Request ID(s)
None

What have you already attempted?
None

atomic shuttleBOT
#

@mental owl pressed the πŸͺ Webhooks button in #help to ask a question:

Question
On the `balance.available` webhook, is there any way to find out which balance transaction status changed? (or, is there an event that tracks the balance transaction?)

Related Event ID(s)
n/a

What have you already attempted?
n/a

atomic shuttleBOT
#

@whole sand pressed the πŸ“‘ API button in #help to ask a question:

Question
Can invoices be set to charge at a set date after the invoice date (instead of immediately)?

Related Request ID(s)
N/A

What have you already attempted?
Looked at docs for Invoicing but didn't find anything. Making the invoices not automatically charge is an option, but not ideal for our use case because we have a high rate of people forgetting/not paying with our current payments setup.

What are you working on?
An application for martial arts clubs to manage students, including club fees.

atomic shuttleBOT
#

@vocal stump pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hello

When viewing a subscription on the dashboard that has collection_method = charge_automatically, it does not display the payment methods enabled for the subscription. However, if you set it to send_invoice it does.

Examples:

sub_1PVCNoL7ilRdQXxEYwvNMili is charge_automatically. If you retrieve this sub, you will see it has card and link enabled....

What actually happened?
Btu see sub sub_1PDoQUL7ilRdQXxEtpNnFCUt - it has send_invoice and displays the enabled payment methods on the dashboard.

I would expect this to be displayed in both cases as it's set the same for both subscriptions, API-wise.

Reproduction Steps
This form does not really match my type of feedback here.

Question
This form does not really match my type of feedback here.

atomic shuttleBOT
#

@tribal rock pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey, i want to implement the payment scheduling such as customer visit the website and pay 100 usd for the item. the 100 usd will be transfered to platform owner, after 2 days, the owner will send 80% of the amount to his vendor and keep the 20% remaining as his profit.

how can i implement it?

Related Request ID(s)
n/a

What have you already attempted?
no

What are you working on?
stripe scheduling

atomic shuttleBOT
#

@clever sierra pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card-mandate_options-reference

Question
I tried to understand the meaning of reference while setting up mandate, I was suggested that reference information will automatically be taken care of my the confirm setup intent api but looks like there is some misunderstanding, i remove reference from my setupintent api and it started failing with error Missing required param: payment_method_options[card][mandate_options][reference].
thread link #1255121024681513072 message

What have you already attempted?
parameter_missing - payment_method_options[card][mandate_options][reference]
Missing required param: payment_method_options[card][mandate_options][reference].

atomic shuttleBOT
#

@lilac smelt pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Stripe.PaymentMethod method = new PaymentMethodService().Get(
PaymentIntent.PaymentMethodId );

Question
I am getting "Unrecognized request URL (GET: /v1/payment_methods/). If you are trying to list objects, remove the trailing slash." error

What have you already attempted?
what is wrong here ?

atomic shuttleBOT
#

@muted sable pressed the πŸ“‘ API button in #help to ask a question:

Question
Why is my tax collection not working?>

Related Request ID(s)
req_jOQoXXerQiQpJO

What have you already attempted?
Fiddling with all my tax settings

atomic shuttleBOT
#

@strange minnow pressed the πŸ“‘ API button in #help to ask a question:

Question
hi, how do I get card id for this customers payment method? cus_Q7KpchZFMkmqr2

Related Request ID(s)
req_29lB0EiHes9ive

What have you already attempted?
cant find card id for this payment method

#

@vocal wagon pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/pricing-table#product-marketing-features

Question
How to define currency in stripe embedded pricing table. There are two currencies i am curious for : INR & USD.

What have you already attempted?
Read about the +location_XX in customer_email to set the currency. But Is there any way we can do except this?

#

@chrome quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
Is address required for Afterpay BNPL payment? We were getting error when we try to make payment without address for the customer. Error says "The PaymentMethod provided (afterpay_clearpay) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card, affirm, klarna. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "afterpay_clearpay". But when I try with address there's no error and Payment goes through

Related Request ID(s)
failed one - req_6py6cZ21EJXefi, worked one - req_1NZafiHcnZ1bhj,

What have you already attempted?
We tried with and without address and it's behaving as I explained above

#

@rocky garnet pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
$customer = $stripe->customers->create(['name' => $cus_name],['stripe_account' => $res['stripe_account_id']]);

Question
I have two different stripe account used on my single website, I want to use same saved card in both the account

What have you already attempted?
I tried searching but nothing found

What are you working on?
building

atomic shuttleBOT
#

@timid horizon pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Working on the most popular Elixir SDK package breaking changes due to misunderstanding of the spec: https://github.com/beam-community/stripity-stripe/pull/829

Question
Hey there, I would like to understand the logic behind the following chunk of code from your SDK: https://github.com/stripe/stripe-go/blob/9c48c72a38d0c6e066ea7bb49a93ae92b1c06143/bankaccount/client.go#L95-L102

I am not sure how your internal SDK detect the "polymorphic" endpoint.

What have you already attempted?
Tried to find a way to leverage `x-stripeResource` to correlate logically somehow to the `x-stripeOperations` to detect the situation

What are you working on?
Fixing Elixir SDK Breaking Changes

#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
G Pay is not visible on the payment page.
The screen shot is taken from chrome on an android device in India.

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
G Pay is not visible on the payment page.
The screen shot is taken from chrome on an android device in India.

atomic shuttleBOT
#

@gloomy kite pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
var subscriptionOptions = new SubscriptionCreateOptions
{
Customer = "cus_PJihEbRQ7FjUB5",
Items = subscriptionItems,

		PaymentBehavior = "default\_incomplete",
			PromotionCode = "promo\_1PVZPrBUmBAZBIgtP0mGH04Z"

Question
When i create a subscription with promocde and paymentbahavior is "default_incomplete" the subscription "status" is active instead of "incomplete", please advise i want incomplete status when i use promocode.

What have you already attempted?
i attemt code:
var subscriptionOptions = new SubscriptionCreateOptions
{
Customer = "cus_PJihEbRQ7FjUB5",
Items = subscriptionItems,

		PaymentBehavior = "default\_incomplete",
			PromotionCode = "promo\_1PVZPrBUmBAZBIgtP0mGH04Z"
atomic shuttleBOT
#

@fickle dawn pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const boxRef = useRef(null);

const boxElement = boxRef.current;
if (boxElement) {
boxElement.addEventListener('scroll', handleScroll);
}

return (
<Box ref={boxRef}></Box>
);

Question
I want to create pagination. I want it to be an infinit-scroll-like pagination, so that when the user scrolls to the bottom, I call fetchData() and another 10 rows of data appears. My problem is that I cannot sense the moment when the user has scrolled down to the bottom.

What have you already attempted?
Tried to add scroll event listeners but they seem not to be working.

#

@oak kraken pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
je veux un commercial par tΓ©lΓ©phone !!!

Doc/Guide Links
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

What are you working on?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

#

@trim spindle pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Why do we get invoice.paid event first but seconds later we get invoice.payment_failed.

Related Event ID(s)
"evt_1PVB4PFnZ21YgCseA6gdqwHG" and "evt_1PVB4KFnZ21YgCseJLAJOg87"

What have you already attempted?
We are trying to understand what causes this. Is this a Stripe bug or something we need to handle. Customer reached us and said he paid, we see the active subscription but because of payment_failed event our system switched his plan to free.

What are you working on?
WE have a SAAS app at https://robomotion.io

atomic shuttleBOT
#

@drowsy terrace pressed the ❌ An Error button in #help to ask a question:

Error Message
StripePermissionError: This application does not have the required permissions for this endpoint on account 'xxxxxxxx'

Question
I had a webhook which listens to connected account. It was failing with error rate 100%. I knew it. All retries had been failed. And on latest event for charge.succeeded I got Webhook Error: This application does not have the required permissions for this endpoint on account 'xxxxxxxx'. Is it because it retried many time to deliver webhook and now it revoked access?

What have you already attempted?
Nothing. I was making new request to list webhooks endpoints on that connected account but now it says the same error.
const webhookEndpoints = await stripe.webhookEndpoints.list(
{ limit: 100 },
{ stripeAccount: "acct_1Lhg0AINQkxthFBH" }
);

What are you working on?
I am working on a SaaS model

#

@wintry canyon pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Good day
I'm working on integrating multibanco payments since the way we had been processing htem (sources) is to be deprecated soon.
I have already built in our checkout a way to create a payment intent and provide the client with the entity and reference they need to make the payment.
Thing is that the webhook
payment_intent.succeeded captures also other payment intents, like every card payment.

Related Event ID(s)
https://dashboard.stripe.com/workbench/webhooks/we_1PVqFrK7MQtpdjzI8vynND2S

What have you already attempted?
In my endpoint I already check wether or not it's a multibanco payment and exit if it's not, but this generates a lot of traffic and it's hard to pinpoint multibanco payment cases when inspecting the webhook, since they are all mixed with the more common card payment methods.
So long story short, is there a way to filter or make the webhook only trigger on a certain payment type?
I would like it to detect and reach endpoint only with multibanco successful payment intents

What are you working on?
New way with payment intents to process multibanco payments

#

@light dirge pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi Team, we use the stripe module to show customer that they can pay the total amount in installments.
The message is shown, but not in the correct language. I uses browser language, which can be an issue sometimes.
Is there an language variable which we can use to indicate the right language?

Related Request ID(s)
-

What have you already attempted?
We currently use the browser language

What are you working on?
increasing conversion

#

@gentle lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a option to update Stripe API to version 2024-04-10 (so not to the current one 2024-06-20)

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
weupdated our system to use version 2024-04-10 (we are using stripe java library) and currently we are in the middle of deploying it to our customer, but in a meantime new Stripe API came out

atomic shuttleBOT
#

@crude saffron pressed the ❌ An Error button in #help to ask a question:

Error Message
(Status 402) (Request req_***) Your card was declined.
with decline codes such as "try_again_later" or "insufficient_funds"

Status 402) (Request req_***) Your card's security code is incorrect.
(Status 402) (Request req_***) Your card number is incorrect.

Question
I get the above error when I’m updating the payment method details. Why would I get errors such as insufficient_funds if I'm only updating a payment_method?

What have you already attempted?
Attempted to test several cards to fail when I’m updating payment method details

What are you working on?
Using setup_intents, and payment_intents

#

@prime cobalt pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to get a liability shift for off session payments? I am requesting 3DS on the setupIntent but it seems the payments made with the cards are still not liability shifted. Why?

Related Request ID(s)
None

What have you already attempted?
Have the SetupIntents 3DS verified.
The payments also dont show any sign of 3DS usage in the dashboard.

atomic shuttleBOT
#

@keen belfry pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How to do seperate charges and transfers internationally to multiple connected accounts.

My scenario is this:
I have a platform account that is based in Finland, and I would need to accept payments from all around the world. Client could be purchasing one or many services from different sellers who each have their own connect account. When the client makes the payment the sellers have one week to complete it. If they don't complete it the client gets refunded. If the service is completed the seller gets transfered their amount of the payment. Is this possible, and how would I do it?

Doc/Guide Links
https://docs.stripe.com/connect/separate-charges-and-transfers https://docs.stripe.com/connect/account-capabilities#transfers-cross-border

What are you working on?
Global web service store

#

@steel fox pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
i want to pass data with subscription payment webhooks. not sure how to do this as metadata isn't inherited from the subscription to the generated payment_intent

Doc/Guide Links
https://docs.stripe.com/metadata#copy-metadata

What are you working on?
subscription system that records success via webhook

#

@weary hemlock pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
paymentRequest.on("shippingaddresschange")

Question
MDN says shippingaddresschange is deprecated, but i still see it in the official documentation. Can we use it?

What have you already attempted?
Express checkout elements, but I wasn't able to add taxes or shipping cost - as I couldn't find the way to access country and zip code.

What are you working on?
Express checkout

#

@prime socket pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Can we use cancel_at and cancel_at_period_end (true) at the same time ?
For instance what happens if I set cancel_at in 3 months in the future and cancel_at_period_end at true at the same time, will the subscription be cancelled at the end of the current month or in 3 months ?

What have you already attempted?
We already use cancel_at_period_end but we want to be able to allow the user cancel in advance at a specific date

What are you working on?
Crossfit application

atomic shuttleBOT
#

@hidden moss pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have a customer whose card got declined with the error code `card_velocity_exceeded`. The customer has reached out to us for help. On the payments page, I can see an option to "Add to Allowlist". Would adding them to the allowlist, allow them to make the payment?

Doc/Guide Links
As per the doc here - https://docs.stripe.com/declines/codes. It says the customer needs to reach out to their bank, but wanted to know if adding them to the allowlist would work?

What are you working on?
Payments

atomic shuttleBOT
#

@civic onyx pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I have some questions about payout events:

  1. Are payout.failed and payout.canceled the final result for a payout ? e.g : could a payout with payout.failed turn into payout.paid ?
  2. For a successful payout, Stripe usually sends 3 events (payout.created , payout.reconciliation_completed , payout.update ) at around the same time, and then after 1.5 hours later sends a payout.paid event. I'd like to ask what would be the situation for payout.failed and payout.canceled ? Do those two events also come 1 or 2 hours later after the first 3 events , if payout failed or got cancelled ?

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@distant yoke pressed the πŸ“‘ API button in #help to ask a question:

Question
I have 49 payments recorded... 1 successful, and 1 canceled, and 47 incomplete.... I want to clean house... is there an API that I can use to delete the incomplete payments?

Related Request ID(s)
no logs req

What have you already attempted?
search the docs and web

What are you working on?
Toque, chef app

atomic shuttleBOT
#

@gloomy kite pressed the ❌ An Error button in #help to ask a question:

Error Message
Subscription.LatestInvoice.PaymentIntent is null reference error

Question
Subscription.LatestInvoice.PaymentIntent.ClientSecret form here i want PaymentIntent ClientSecret for confirm payment form stripe.confirmpayment from js

What have you already attempted?
var subscriptionOptions = new SubscriptionCreateOptions
{
Customer = customer.Id,
Items = subscriptionItems,
PaymentBehavior = paymentBehavior,
PromotionCode = "promo_1PVZPrBUmBAZBIgtP0mGH04Z"

#

@tardy fractal pressed the πŸ“‘ API button in #help to ask a question:

Question
Error while issuing credit note

Related Request ID(s)
NA

What have you already attempted?
Offical docs

What are you working on?
Stripe Integration with Salesforce

#

@twilit quiver pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Hello, I'm preparing the migration of the payment methods system of our app (php/laravel).
In our workflow, we save the pm first, then charge later.
We already manage card and sepa with our own frontend and backend.
Card are saved first as source with token, then verified using SetupIntent, if 3DS is valid we get and save a PaymentMethod, that we charge later with PaymentIntent.
For SEPA, we currently save them as source then charge them with "Stripe\Charge".

Two questions :
- is the current card workflow correct ?
- I cannot find the corect doc. on how to save a Sepa as a PaymentMethod ?

What have you already attempted?
n/a

What are you working on?
client payment methods migration to payment intent

#

@hidden moss pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The tax amount being computed is incorrect by a couple of dollars. Probably due to rounding off error

What actually happened?
I had an invoice with subtotal $9402. And the applicable tax was 8.875% on it. Now Stripe computed and showed the taxable amount as $834.44. But the actual amount is $834.4275. So even if the rounding off happens at 2 decimal places, it should come out to $834.43 and not $834.44

Reproduction Steps
Create an invoice with a subtotal of $9420 and add the region as NY, US. As it has a tax rate of 8.875% associated with it

Question
Likely there is an incorrect tax rate on a taxable invoice?

#

@prime terrace pressed the πŸ“‘ API button in #help to ask a question:

Question
Dear Stripe team,

Do you have API integrations with Wolters Kluwer - Tax & Accounting (https://www.wolterskluwer.com/en/tax-and-accounting) Dear Stripe team,

Have API integrations with Wolters Kluwer - Tax & Accounting (https://www.wolterskluwer.com/en/tax-and-accounting) for automated electronic invoicing management for users who purchase subscriptions as a business in Stripe?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
We are building a web app for networking

#

@tired zodiac pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm getting the following error when trying to do setup intent for ACH payments:

ErrorCode: AchCreateMandate_Provider_Error; ErrorMessage: The payment method type "us_bank_account" is invalid. See https://stripe.com/docs/api/payment_methods/object#payment_method_object-type for the full list of supported payment method types. Please also ensure the provided types are activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any features that you are trying to use.

Related Request ID(s)
req_G0oA8tPirLhNbp

What have you already attempted?
It seems that I have to enable ACH us bank payment methods on the Stripe account that I use for testing (acct_1LHndwDSyVrA4ZKz)

But I cannot found the option in my setup.
Could you activate this?

What are you working on?
ACH payments for accounts connected via Stripe Connect

#

@humble hazel pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://dashboard.stripe.com/account/onboarding/summary/bankAccount/create

Question
hi i tried to create an stripe express account after entering my Name and email i got the pop up that they will get back to me as soon as possible how long does this take.

What have you already attempted?
i tried signing up but go the message we will get back to you i just want to know how long.

#

@primal sentinel pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I do stripe.subscriptions.create in stripe, then cancel it (cancellation period until the end of the billing period) and the webhook is triggered: customer.subscription.deleted during cancellation. How can I check if my subscription is expiring? Additionally, will any other webhook be launched after the lapse period? Now, currently, when canceling (including the cancellation period as it is), the following webhook is called: customer.subscription.deleted

Related Event ID(s)
evt_1PVtj8DLkyBvca6o8hENCkQw

What have you already attempted?
I implemented webhook customer.subscription.deleted and I have in account settigns:
subscription status: cancel the subscription at the end of the period

#

@tribal quiver pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
"By default, updates are applied regardless of whether payment on the new invoice succeeds. If payment fails, rolling back the updates is a manual process. You need to create a new invoice, prorate items on the invoice, and then initiate payment again."
As the doc said this, I wonder that why rollback a subscription upgrade need to pay a new invoice? As the customer has already payed this cycle, if upgrade pay fail, they don't need to pay anything to rollback.

What have you already attempted?
I have read most docs of 'subscription'.

What are you working on?
i am building a online office product's subscription featue.

atomic shuttleBOT
#

@weary hemlock pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Refused to connect to 'https://apay-us.amazon.com/gp/widgets/sessionstabilizer?ledgerCurrency=USD&isSandbox=false' because it violates the following Content Security Policy directive: "connect-src 'self' https://apay-us.integ.amazon.com".

Question
Im getting this error and nothing gets shown in the express checkout div. What's going on?

What have you already attempted?
Tried locally and over ngrok

What are you working on?
Express checkout elements

atomic shuttleBOT
#

@vocal stump pressed the ❌ An Error button in #help to ask a question:

Error Message
Layout error, see below

Question
Hello

When visiting an invoice payment page configured for SEPA Debit, the layout of the text is mangled.

What have you already attempted?
n/a - nothing to attempt

Reproduction Steps
Issue an invoice with SEPA Debit, navigate to the invoice payment page and observe.

#

@stable patrol pressed the ❌ An Error button in #help to ask a question:

Error Message
payment is happening but doesnt show anything in payment intent status

Question
i have implemented payment sheet in react native application.. the payment intent is getting generated and the payment screen is loading but on successfull payment . payment intent status is not getting changed

What have you already attempted?
payment sheet

atomic shuttleBOT
#

@cosmic valley pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
there is no code for this request

Question
How I can connect a payment link to a discord rΓ΄le ?

What have you already attempted?
I speak with the assistance of stripe but they don't no

#

@green tartan pressed the πŸ“‘ API button in #help to ask a question:

Question
We used the sources api to save ach direct debit bank accounts to customers for years. We have now upgraded our integration to payment intents/payment methods.

We were under the impression that we could continue using our saved payment methods that are sources indefinitely. Is this not the case? We see some documentation about transitioning to payment methods, but none of the links work and there are beta tags everywhere.

If we do have to migrate these sources, how can we if the links in the dashboard dont work?

  1. Do we really need to migrate these ach direct debits?
  2. How?

Related Request ID(s)
none

What have you already attempted?
Following the instructions here:

https://docs.stripe.com/payments/payment-methods/transitioning

"To preserve your existing customers’ saved payment methods, you must convert those sources to payment methods using a data migration tool in the Stripe Dashboard. For instructions on how to convert them, see the support page."

Once on the support page we clicked the link to access the tool, but it just brings us to our stripe dashboard home page./

atomic shuttleBOT
#

@winter moat pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am struggling triggering a `invoice.paid` with both an existing `customer` and `invoice` .

Related Event ID(s)
N/A

What have you already attempted?
```powershell
./stripe.exe trigger invoice.paid --override invoice:customer=cus_QMPm8fmp1p6Xgf --override invoice=in_1PVgxNAotHECEdB6z8ZLO0c6
Invalid value for override flag (invoice=in_1PVgxNAotHECEdB6z8ZLO0c6). The override flag requires the name of the fixture to apply (--override fixtureName:path.to.param=value).

Valid fixture names are: [customer payment_method invoiceitem invoice invoice_pay]
```

What are you working on?
Troubleshooting a webhook.

atomic shuttleBOT
#

@terse scroll pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const payload = {
line_items: /* ... */,
automatic_tax: { enabled: false }, // Enable automatic tax calculation
metadata: {
invoice_id: invoice.id,
},
};

stripe.paymentLinks.create(payload);

Question
The metadata does not seem to be appearing in the webhook response

What have you already attempted?
Not really sure how to debug this

#

@fresh ingot pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Sandbox with code example: https://codesandbox.io/s/payment-request-button-forked-n2z8lc?file=/src/index.js

Question
For render single payment method (single button), better to use `PayementRequestButton` if we believe documentation.

But for my case, `PayementRequestButton` work wrong. But `ExpressCheckout` work perfect if I limit payment methods via `wallets` property. It's not great, but work.

I made minimal sandbox example, that show this buttons works different. Can you say why `ExpressCheckout` render Google Pay button, but `PayementRequestButton` not?

What have you already attempted?
I showed my attempt in sandbox

atomic shuttleBOT
#

@unkempt pelican pressed the πŸͺ Webhooks button in #help to ask a question:

Question
400 (Bad Request)
Response: Stage 1
invoice.payment_succeeded

Related Event ID(s)
evt_1PVcUzGHp99ilxw2z3rUhZEI

What have you already attempted?
The code is same as my other website, but on this one for some reason is not working

atomic shuttleBOT
#

@gloomy kite pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
when i create a subscription sub_1PVvDJBUmBAZBIgtDzUeeMS7 with the price price_1P6ARpBUmBAZBIgtMcMB2rVd ($7/Month) using 100% discount promocode promo_1PVZPrBUmBAZBIgtP0mGH04Z first discount applied and also on next payment will be $7/month get from subscription saved paymentmethod? or again discount applied?

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

#

@dense pivot pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there an endpoint to verify/validate an SEPA IBAN number ?

What have you already attempted?
Our current validation method says the Stripe 'test' numbers are invalid which is making it hard to test development

#

@spring mantle pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
# Stripe keys

# Environment variables
STATIC_DIR=../client
DOMAIN=http://localhost:4242
PORT=4242
CI=false
CHALLENGE_ID=

Question
Where can i find my challenge ID

What have you already attempted?
Ive copied the keys already, but still get an error when running the NPM START. I just want to be able to start the challenge

atomic shuttleBOT
#

@rich flame pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
currently in my code at the moment of canceling a subscription it is deleted in our database but I would like to know if in stripe the same thing happens when a person stops paying. Is their subscription also deleted or is it saved?

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

What are you working on?
I am working on user subscriptions in my project and I would like to have a record or history of what the user paid before they cancelled their subscription or stopped paying.

atomic shuttleBOT
#

@stable patrol pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
issue with payment sheet react native

Question
integration is done, im able to see the paymentsheet modal but after successful payment , payment intent status is not getting success

What have you already attempted?
I already had created a thread 3 hrs ago but they wanted me to send a screen recording so i needed sometime

#

@void hemlock pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Sorry, I'm not sure if webhooks is the right place for this question. Is it possible to use Stripe automations in test mode without impacting the production environment? I want to be able to test the automations in our dev environment before using them in production. The goal is to add/send the invoice.overdue webhook to our backend, but I don't want to enable it in production until the code is ready.

Related Event ID(s)
N/a

What have you already attempted?
I tried to create a Stripe automation for the "invoice is overdue" event while in test mode. I wanted to target a specific product ID that exists in my test mode environment (with the hopes that this would prevent it from impacting production), but it said it did not exist. I could only see the production products listed in the options.

What are you working on?
I want to send a webhook on the "invoice is overdue" automation event so we can help alert our internal teams of missed invoices/payments.

#

@prime terrace pressed the πŸ“‘ API button in #help to ask a question:

Question
Our organization upgrade to use USA Api v 2024-04-10 On test mode sandbox seeing billing details, whereas through Api charge endpoint GET verb seeing blank values

Related Request ID(s)
req_PkSUKN7M2QCyvp

What have you already attempted?
Attempted to verify different / earlier versions of Api, no luck

What are you working on?
Upgrade Api version

#

@void python pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello,
I am a platfrom using Stripe Connect. I'm trying to create Subscriptions via the API. I have trouble specifying the start date of a subscription. e.g : the customer of my merchant can buy a monthly subscription that starts in 3 months (when school starts). I can't find how with the API.

Related Request ID(s)
req_cZQIkRjxQtsTbj, req_xqcf49CGvCoLVh

What have you already attempted?
I've tried the `billing_cycle_anchor` but it cannot be further than 1 period (1 month in my case). The only way i've managed to specify the start date via the API is giving a `trials_end` parameter, but by doing so, the Checkout page displays a big "70 days free", which is not true. It's just that the subscription starts in 70 days. I'm a bit lost, thanks for any tip :)

What are you working on?
Marketplace for children activities

#

@polar hedge pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Does the M2 have a timeout after sending a payment intent to the reader?

What have you already attempted?
Searched other docs, google etc.

What are you working on?
M2 terminal integration

atomic shuttleBOT
#

@reef kestrel pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
With React frontend and Python backend, how can i add a Payment Request Button Element so my users can provide payment information using Apple Pay/Google Pay etc.

What have you already attempted?
https://docs.stripe.com/stripe-js/elements/payment-request-button
I've followed this until step 3. Step 4 requires a payment intent, but the initial docs for stripe elemtns is for accepting payment details before an intent is created.

What are you working on?
Creating my own subscription form using stripe elements

#

@desert maple pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect Smart Retries to allow an invoice to move through it's typical lifecycle into it's uncollectible state

What actually happened?
The invoice was changed to auto_advance=false and stayed in the "failed" state

Reproduction Steps
Turn on smart retries and have a payment fail, Stripe will automatically change the invoice's auto_advance flag to false which will prevent it from moving to uncollectible

Question
Why doesn't Smart Retries follow the setting that is set in the dashboard?

#

@gentle lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
how to apply coupon during subscription update (with pending update)

Related Request ID(s)
req_380B4Ws0nshW8x

What have you already attempted?
I tried to set new coupon when calling subscription.update but seems it's not supported together with pending update

What are you working on?
to be able to apply coupon during subscription update (to have this discount to be counted in proration payment)

atomic shuttleBOT
#

@soft basin pressed the ❌ An Error button in #help to ask a question:

Error Message
Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payment

Question
We have to connect Stripe Issuing feature with our connected accounts, users must use their cards instead of transfer money or payout to their accounts. we created connected accounts without SSN, Account, and Routing Numbers but showing restricted not able to add funds using Stripe dashboard, getting the above errror

What have you already attempted?
We tried the solutions given in the Stripe documentation section

Reproduction Steps
Created connected accounts without using External Accounts i.e. SSN, Accounts, and Routing Numbers, now trying to add some funds, and getting the above error

atomic shuttleBOT
#

@winter moat pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I would like some guidance on how to secure my serverless API endpoint to validate that the source is Stripe - in order to enhance the security of my endpoint.

Related Event ID(s)
N/A

What have you already attempted?
I am using Netlify and this is the current structure:

```js
exports.handler = async (event, _) => {
if (event.httpMethod !== "POST")
return handleError(new Error("Only POST requests are authorised."), 405);

const {
livemode,
type,
data: { object: paymentIntent },
} = JSON.parse(event.body);

const stripeSecretKey = livemode
? process.env.STRIPE_SECRET_KEY
: process.env.STRIPE_SECRET_KEY_TEST;
const stripe = require("stripe")(stripeSecretKey);

--- SNIP ---
}
```

What are you working on?
serverless API endpoint to process webhooks

#

@mental flume pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
When a user signs up for a subscription, I am collecting a custom field on checkout. I need this custom field to show up on ALL invoices. I'm able to do this on all future invoices by setting `invoice_settings.custom_fields` on the Customer object.

However, I noticed that this field is not showing on the FIRST invoice of the subscription. I believe this is due to the order of things getting created/updated after checkout is complete.

What is the best way to ensure that this custom field is also on the user's FIRST invoice of the subscription?

Doc/Guide Links
https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-custom_fields

What are you working on?
Custom Fields on Invoices for a B2B Community

atomic shuttleBOT
#

@gaunt verge pressed the πŸ“‘ API button in #help to ask a question:

Question
checkout, near sales tax, showing info icon which says the sales tax is based on billing address, but i already mentioned in the api to calculate based on shipping address

Related Request ID(s)
req_5iAb9hjMhn5882

What have you already attempted?
I looked into the setting on stripe dashboard. couln't find any setting

#

@north jolt pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello,

we use Stripe in our React app with react-stripe-js and the CardElement where all 3 details (card number, CVV and expiration date) are entered in one field. It is also Stripe Connect. Now my question: Since we are using the CardElement, are we covered for "co-badged cards compliance" because we are in the EEA? Or do we have to do something else. Can the customers select the provider via the icon or do we have to activate this first or is this handled directly by Stripe?

Doc/Guide Links
https://docs.stripe.com/co-badged-cards-compliance?type=checkout-payment-links

What are you working on?
Payment integration for digital services

#

@hidden musk pressed the πŸ“‘ API button in #help to ask a question:

Question
Hitting maximum active subscriptions per customer limit

Related Request ID(s)
req_SkBwYnzQmN0blT

What have you already attempted?
trying to understand the maximum number of active subscriptions per stripe customer at connect platform

#

@blazing spoke pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have to charge 300,000 Customers a monthly amount that changes every month. This amount can vary because the amount of money due every month is determined on the amount they owe in total and they can also add to the total amount owed at any time. We will likely add even more customers over time. Would Stripe recommend using Subscriptions for this? Just to take advantage of the retry feature that Subscriptions offer? Or is it better to just make 300,000 calls to the PaymentIntent API and handle retries on our own?

Doc/Guide Links
https://docs.stripe.com/billing/collection-method#failed-subscription-payments

What are you working on?
A system that tracks a balance owed for our customers. As they use the services we provided, the balance increases. As it increases the amount they owe monthly changes.

#

@safe socket pressed the πŸ“‘ API button in #help to ask a question:

Question
Why can't Payment Intents (Charges) have a tax rate id attached?

I'm familiar with how to add tax rates to subscriptions/invoices for repeat customers.

I just realized though that I cannot attach a tax rate id to a Payment Intent (Charge), the API doesn't seem to have that functionality?

I have some people buying "classes" that are mostly one-time customers, they will not want their credit card information stored.

What is the best way to still track "collected taxes" for the seller? Use an invoice, I'm guessing? But still not save credit card information of the buyer?

Related Request ID(s)
req_D74PGEBzAIf2Uh

What have you already attempted?
Been trying to figure out if a Payment Intent can be used to pay an invoice, or if an invoice can create a payment intent, but it seems like it always wants a "source" or "payment method" that is stored?

What are you working on?
Our app uses the Connect platform for our customers to sell memberships and classes.

#

@foggy wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm looking to pass a customer_phone when I create a stripe checkout so that the phone number is possibly prefilled when the user is completing checkout.

Related Request ID(s)
req_ComUjPL3zzf5Mm

What have you already attempted?
const session = await stripe.checkout.sessions.create({
mode: "payment",
line_items,
payment_intent_data: {
transfer_data: {
destination: body.acct_id,
},
application_fee_amount: fee,
},
success_url: `${new URL(req.url).origin}/${body.postId}`,
cancel_url: `${new URL(req.url).origin}/${body.postId}`,
customer_details: {
phone: 8479034099, // Autofill the phone number if it exists
},
phone_number_collection: {
enabled: true,
},
});

What are you working on?
App to sell tickets on behalf of vendors.

atomic shuttleBOT
#

@rain goblet pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/manage-payout-schedule

Question
I wonder can i schedule the payout to be a specific date? for example, once a customer paid for 99 usd for a house cleaning service that is scheduled on Sep 22, 2024, I will schedule the payout date to be Sep 24, 2024.

What have you already attempted?
I checked the documentation for Managing payout schedule and Using manual payouts, but couldn't find out the answer.

What are you working on?
I am building a gig economy platform like thumbtack.

#

@night steppe pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to know if when a customer makes a purchase if it will receive the invoice in his email

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@delicate marsh pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

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

Question
Hey Stripe team, I’m currently migrating our code to the Stripe Payment Element and I’d like to run a callback when we open the 3DS Authentication modal when we call stripe.confirmSetup. This is mainly to call an internal events endpoint to track when this happens.
My current approach is to call my endpoint after an await stripe.confirmSetup , but there’s no way to determine that 3DS auth happened off the setup_intent I’m getting. Any ideas here?

What have you already attempted?
Console logging the setup intent

#

@mental flume pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I need to update the first invoice of a subscription with a custom field without converting all our payment links to be custom. Is there a way to do this?

This has spawned off the conversation here: #dev-help message

Doc/Guide Links
#dev-help message

What are you working on?
Invoices for a B2B Subscription Community

atomic shuttleBOT
#

@vague fox pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
What's the best way to Stripe Product Link for a product worth $0

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

What are you working on?
Email capture + Optional Pre-purchases

#

@unkempt pagoda pressed the πŸ“‘ API button in #help to ask a question:

Question
Can pay using taptopay, stuck on "hold card"

Related Request ID(s)
none

What have you already attempted?
pay

atomic shuttleBOT
#

@proud lily pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
try {
const subscription = await stripe.subscriptions.retrieve(
subscription_id
);

    console.log\('sss', subscription\);

    if \(!subscription.schedule\) {
        const updated\_subscription = await stripe.subscriptions.update\(
            subscription\_id,
            {
                trial\_end\: new\_end\_date\_epoch,
                proration\_behavior\: 'none',
            }
        \);
    } else {

Question
I want to know how I can tell if a subscription object which started off as a subscription schedule can be identified as "not in a subscription schedule anymore"

What have you already attempted?
I assumed that there wouldn't be a schedule if it was released from it.

What are you working on?
React JS / Next JS using stripe-js

#

@sleek phoenix pressed the πŸ“‘ API button in #help to ask a question:

Question
We are a marketplace based in US, when new user sign up to our webapp, they receive a "Verify email" to validate their account (We use AWS for these email). By verifying the email it creates the User's express connected Stripe account linked to our platform Stripe account. A bug occurs, a user didn't received the email but we managed to activate his account but it doesn't created his Stripe account since the register token was not called. How can we make the account created after registering on our webapp?

Related Request ID(s)
We don't have this since it didn't created the Express connected account

What have you already attempted?
We are looking for a solution to register the token

What are you working on?
It's a marketplace for food creators on a webapp

#

@mortal abyss pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Is it possible to create a webhook on behalf of a Stripe company that has OAuthed to our app?

Let me be specific:
- Our company, Versa (YC S22), helps b2b companies pass through invoices to their customers.
- We have built a service that takes a Stripe β€˜invoice.paid' webhook and takes it from there.
- We have walked some companies through setting this up.
- But it would be better UX if they could: (1) OAuth to our app, and then (2) we create a webhook via API using this: https://docs.stripe.com/api/webhook_endpoints

... is this possible?

Related Event ID(s)
n/a

What have you already attempted?
We currently support this flow manually (customer logs in to their dashboard, and then we walk them through the setup steps). We're curious if this is possible to all do programmatically, after the OAuth to grant the permission.

What are you working on?
It's a hassle for businesses to track receipts. We are building a service that programatically pulls itemized invoice data into a customers' expense management system. versa.org

atomic shuttleBOT
#

@amber steppe pressed the πŸ“‘ API button in #help to ask a question:

Question
Any best practices for address validation when using Stripe Elements? Sometimes our users enter garbage addresses, which causes issues downstream when it comes time to do tax collection/reconciliation. But if our customers are trying to pay us, we'd also like to allow them to pay us, even if they don't have a "valid" address for tax purposes...

Related Request ID(s)
n/a

What have you already attempted?
n/a

atomic shuttleBOT
#

@vivid anvil pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hey, I'm new to Stripe and have a question related to webhooks.

I have already implemented a webhook in my server application and successfully tested receiving a payment_intent.succeeded trigger. However, when creating a trigger via the CLI, the data I receive does not include a customer. Is there an easy way to create a payment_intent.succeeded trigger with customer and product information? Or do I need to listen to other events to get this information?

Maybe someone can help me get on the right track. :)

Related Event ID(s)
N/A

What have you already attempted?
N/A

atomic shuttleBOT
#

@rain goblet pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/address-element/collect-addresses?platform=ios#ios-customize-appearance

Question
Can I just embed the shipping address element directly, without having the user click the "Add shipping address" and then opens the shipping address element? that way, i will need to remove the close icon button at the top left, and the "Save address" at the bottom

What have you already attempted?
I tried to embed the component directly into my view, and it looks weired.

What are you working on?
I am building the checkout view that allows user to review order and shipping address before they can pay. Language is swiftui for ios

atomic shuttleBOT
#

@languid hearth pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How should we do tipping with the over capture changes to visa debit cards?

Doc/Guide Links
I know Stripe Terminal has it's own tipping flow, but it also uses overcapture.

What are you working on?
Tipping with Terminal

atomic shuttleBOT
#

@amber steppe pressed the πŸ“‘ API button in #help to ask a question:

Question
Bug report for Invoice pages on Dashboard. Addresses shown are incorrect/misleading:

  1. Are the Customer's current Billing/Shipping address, not the Invoice's Billing/Shipping address
  2. A Shipping address is shown (copy of the Customer's billing address) even if the Invoice & Customer don't have a Shipping address

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

@wild solar pressed the πŸ“‘ API button in #help to ask a question:

Question
We are getting this error when we try to create a stripe connect account for our users. The country is canada.

"The bank_transfer_payments capability is not requestable for accounts in CA"

.setCapabilities(AccountCreateParams.Capabilities.builder()
.setCardPayments(AccountCreateParams.Capabilities.CardPayments.builder()
.setRequested(true)
.build())
.setBankTransferPayments(AccountCreateParams.Capabilities.BankTransferPayments.builder()
.setRequest

Related Request ID(s)
request-id: req_yMmIGrVVFuTgxT

What have you already attempted?
Is there code for what capabalities are available for what countries? We're trying to get this set up with stripe connect for payouts.

atomic shuttleBOT
#

@humble rivet pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
are we able to customize label for the input field, e.g. by default label for county is "Country or region", is it possible to give label value to override the default one?

What have you already attempted?
i read the document, but i didn't find any reference for the attribute, just to confirm whether it is doable.

What are you working on?
stripe element using payment element and address element.

atomic shuttleBOT
#

@high mural pressed the ❌ An Error button in #help to ask a question:

Error Message
received an unknown message

Question
I am not a member of Stripe, I have received 3 messages with verification codes, I do not have an account, I am not in the USA, please stop messaging me and delete my information

What have you already attempted?
tried to find anything on your website but it is so vague and useless it just pissed me off

atomic shuttleBOT
#

@neon kernel pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
class StripeOfflineListener: OfflineListener

Question
I am in search of an answer for how we can detect that a payment was declined upon forwarding it to Stripe.

Would this surface as an error in `onForwardingFailure` or would it be returned via `onPaymentIntentForwarded` with some indication of failure?

What have you already attempted?
We've built a `OfflineListener`.

What are you working on?
We are in the midst of implementing offline mode for an application running Stripe Terminal Android.

atomic shuttleBOT
#

@radiant peak pressed the πŸ“‘ API button in #help to ask a question:

Question
We have accounting system in Hong Kong , we would like to change the paper invoice to e-invoice , is that possible we can use Stripe API to integrate the system? thanks

Related Request ID(s)
Dashboard->Developer->Invoice

What have you already attempted?
https://docs.stripe.com/api/invoices/create
I am not sure if this is also support in Hong Kong

#

@obsidian halo pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<CardField
placeholders={{
number: '4242 4242 4242 4242',
}}
cardStyle={{
backgroundColor: '#FFFFFF',
textColor: '#000000',
}}
style={{
width: '100%',
height: 50,
marginVertical: 30,
}}
/>

Question
Is it possible to separate the fields of CardField on to multiple lines?

What have you already attempted?
Modifying cardStyle and style attributes

atomic shuttleBOT
#

@tardy fractal pressed the πŸ“‘ API button in #help to ask a question:

Question
An issue on credit Note API is throwing an out-of-bound error

Related Request ID(s)
NA

What have you already attempted?
Docs

What are you working on?
Stripe Integration with Salesforce

atomic shuttleBOT
#

@inland condor pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const stripe = Stripe(json.public_key , {
stripeAccount: json.connected_account_id
});
const elements_options = {
clientSecret: json.client_secret
};
const elements = stripe.elements(elements_options);
const options = {
paymentMethods:{
applePay:'always',
link:'auto',
paypal:'auto',
}
};
const expressCheckoutElement = elements.create('expressCheckout', options)
expressCheckoutElement.mount('#express-checkout-element')

Question
The quick payment button has appeared and clicked to activate the strip, but after entering the test card number, the loading status remains displayed

What have you already attempted?
the expressCheckout has been activate

atomic shuttleBOT
#

@fast spruce pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<meta http-equiv="Content-Security-Policy" content="
default-src 'self';
script-src 'self' 'unsafe-inline' https://js.stripe.com;
style-src 'self' 'unsafe-inline';
img-src 'self' https://jlsfcpullsvbilbnnxrx.supabase.co https://www.paypalobjects.com;

script\-src 'self' https://js.stripe.com, https://maps.googleapis.com;
frame\-src 'self' https://js.stripe.com, https://hooks.stripe.com;
connect\-src 'self' https://api.stripe.com, https://maps.goog

Question
My content security policy is not working. I just want to know how to fix this so stripe stops getting blocked

What have you already attempted?
Just my current code.

I've been trying to understand this error:

Content-Security-Policy: The page’s settings blocked the loading of a resource (frame-src) at https://js.stripe.com/v3/controller-with-preconnect-5fae2411bfd82593b2b7c9882a4f4ee8.html#apiKey=pk_test_51PB6SsHpZPqJ0PwRcmyapm4u5pXfFUi64atu8VBKNLUusc7aZbqu9IT5k9es7eOoOXKGctAy28L0uunZKviq88EA00fcwYBrIR&stripeJsId=abaa21c7-6e9a-4d64-aea1-6915ac180ad4&controllerCount=1&isCheckout=false&stripeJsLoadTime=1719464167072&

What are you working on?
General webstore

atomic shuttleBOT
#

@fast spruce pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const appearance: Appearance = {
theme: 'night',
labels: 'floating'
};
let options: StripeElementsOptionsClientSecret = {appearance: appearance, clientSecret: paymentIntent.client_secret!};
const elements = stripe.elements(options);
const addressElement = elements.create("address", {
mode: "shipping",
});
const paymentElement = elements.create('payment');

    addressElement.mount\(

Question
There's a duplicate field: [Full Name] with the address element and a certain payment type in the payment element. How can I remove it?

What have you already attempted?
I've looked around on the web elements docs and searched Discord if it was asked before.

What are you working on?
General webstore

#

@hollow wharf pressed the πŸ“‘ API button in #help to ask a question:

Question
i want to send payment to my customer (it's not connected account) they are just normal stripe customer , i have a form in the my client side(UI) to accept their ACH details , how can i send payment to them directly on their bank

Related Request ID(s)
ba_1PVxt4JuNQz7pWWLghLzS7N8

What have you already attempted?
i have created this bank account token , but in the API doc it says we can use it only one time so i can i send payment to them next time?

What are you working on?
i am checking multiple things but not finding any proper way

#

@bitter arch pressed the πŸ“‘ API button in #help to ask a question:

Question
While creating a new individual bank account from latest iphone 15 verion 17.5, the API successes but in stripe dashboard connect account, external account is not created.

Do I or API team needs to update anything to make it work?

Related Request ID(s)
api ios

What have you already attempted?
{\n' +
" code: 'verification_document_failed_copy',\n" +
" detailed_code: 'verification_document_failed_copy',\n" +
" reason: 'Copies (including photos or scans) of the original document cannot be read. Please upload the original document.',\n" +
" requirement: 'individual.verification.document'\n" +
' },

#

@heady scarab pressed the ❌ An Error button in #help 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 (https://support.stripe.com/questions/connect-availability-in-the-uae) for more details.

Question
How to create a connected account

What have you already attempted?
i have tried to create a connected account with different snippets available on stripe docs or through chat-gpt but failded.

What are you working on?
i m working on a web app which have 3 roles

atomic shuttleBOT
#

@silver gorge pressed the πŸ“‘ API button in #help to ask a question:

Question
```typescript
return this.stripe.subscriptions.create(
{
customer: customerId,
items: [{ price: priceId }],
default_payment_method: paymentMethod,
collection_method: 'charge_automatically',
payment_behavior: 'default_incomplete',
expand: ['items'],
cancel_at_period_end: !isRenewable,
application_fee_percent: applicationFeePercent,
},
{ stripeAccount: accountId },
);
```

I got this code to create a subscription but then it create an invoice as open for some reason and does not automatically charge.

Related Request ID(s)
req_ScQUZ5aLqowRhc

What have you already attempted?
I made that take the invoiceId returned by this function and charge it with invoices.pay but that looks like a dirty fix and probably won't work with renew of the subscription

What are you working on?
A subscriptions systems with renewable subscription or not

atomic shuttleBOT
#

@rugged fox pressed the πŸ“‘ API button in #help to ask a question:

Question
Im attaching the card to our customer on our platform but got this error. I have no clue how to fix this next

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

What have you already attempted?
Im trying to attach the card to the customer.

What are you working on?
We are building on base from opencollective.com. Projects on our platform will collect donation from supporters. We are using Stripe Connect so can charge the fees or receiving the tips.

#

@rich ermine pressed the πŸ“‘ API button in #help to ask a question:

Question
How to provide a `payment_method_configuration` on the subscription create endpoint?

It's working fine to create new payment intent, but I don't see it in the subscription API that creates a payment intent to be passed to the client.

Related Request ID(s)
N/A

What have you already attempted?
I only see the `payment_method_options` option, but don't see how to use the PMC on the subscription creation endpoint.

What are you working on?
Upgrading our hardcoded payment settings to payment method configuration

atomic shuttleBOT
#

@manic spade pressed the πŸ“‘ API button in #help to ask a question:

Question
i am using one stripe account then to make a payment gateway by using element. for one account its working properly and for other account its givvng error like
{message: 'error/Amount must be at least $0.50 usd', errorcode: 'Amount must be at least $0.50 usd', backtrace: '* line 311 of \enrol\stripepaymentpro\externallib.…_external\external_api::call_external_function()\n', link: 'http://localhost/moodle4.4/enrol/index.php?id=8', moreinfourl: 'https://docs.moodle.org/404/en/error/moodle/Amount must be at least $0.50 usd',
though i getting that the price is going for payment intent is 20$

Related Request ID(s)
req_Yb0coJsFGmsE7Y

What have you already attempted?
payment intend creating

What are you working on?
moodle stripe plugin

#

@lucid crane pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected to be refunded yesterday but I have not

What actually happened?
Refunded hasn’t come

Reproduction Steps
I was told I’d be refunded but they sent a receipt and it looks counterfeit

Question
Could I send this receipt so you can verify it’s a true receipt please as I need the money back

What are you working on?
I am trying to get my money back ASAP

#

@calm wasp pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I want to customize stripe payment checkout page or embeded checkout page

Question
I want to customize stripe payment checkout page or embeded checkout page

What have you already attempted?
I want to customize stripe payment checkout page or embeded checkout page

What are you working on?
I want to customize stripe payment checkout page or embeded checkout page

#

@fathom dawn pressed the ❌ An Error button in #help to ask a question:

Error Message
We are unable to authenticate your payment method. Please
choose a different payment method and try again.

Question
How can i resolve the error message

What have you already attempted?
Couldn't do much as don't know what is the issue

Reproduction Steps
Adding Card in Live Mode

What are you working on?
Payment in Live Mode, Test mode is working fine

#

@maiden dune pressed the πŸ“‘ API button in #help to ask a question:

Question
We’re MoeGo, Inc and is working on Stripe Capital integration. Now our integration is on live but we received the error β€œUnrecognized request URL (GET: /v 1/capital/financing_offers). Please see stripe.com/docs or we can help at support.stripe.com. (Hint: Currently this is only allowed in test mode, not in live mode.)β€œ.

Related Request ID(s)
no id sry

What have you already attempted?
we are already online capital but get this error

#

@desert haven pressed the πŸ“‘ API button in #help to ask a question:

Question
I create subscriptions like this: create a setup intent (backend), confirm the setup intent (client), create a subscription (backend) with the `pm_id` the client received.

When I create a subscription, the invoice is finalized and everything is ok (correctly using the `incomplete` -> `active` subscription lifecycle from the docs). I also use schedules, to start with an intro price, and then move to the full one.

The problem is that the first payment for the intro price is not immediately finalized, but rather a draft invoice is created, and it's finalized after one hour.

Related Request ID(s)
/

What have you already attempted?
This is the Python code
```
stripe_client.SubscriptionSchedule.create(
api_key=api_key,
customer=customer_id,
end_behavior="release",
phases=[
{"items": [{"price": intro_price_id}], "iterations": 1},
{"items": [{"price": price_id}], "iterations": 1},
],
start_date="now",
)

Do you know why? Is there any different parameter set when you create a subscription schedule that makes the first invoice a draft rather than finalizing it? How can I check?

What are you working on?
A website where I let my users subscribe directly to a full price, or to an intro price first that then becomes full.

atomic shuttleBOT
#

@worldly yoke pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi, we're exploring Stripe Terminal integration. Our platform has connected accounts. They want to use Tap to Pay iOS/Android devices with the Stripe Terminal SDK. In this setup, should we follow the iOS/Android architecture flow in the doc below, or should we use the server-driven flow instead?

Doc/Guide Links
https://docs.stripe.com/terminal/quickstart?platform=ios
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=ios
https://docs.stripe.com/terminal/features/connect#direct-locations

What are you working on?
Stripe Terminal (Tap to Pay) integration

#

@weary hemlock pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const {error: confirmError} = await stripe!.confirmPayment({
clientSecret,
confirmParams: {
confirmation_token: confirmationToken.id
}
});

Question
Typescript wont compile, i get this error
The expected type comes from property 'confirmParams' which is declared here on type '{ elements?: StripeElements | undefined; clientSecret: string; confirmParams: ConfirmPaymentData; redirect?: "always" | undefined; }'
node_modules/@stripe/stripe-js/dist/stripe-js/stripe.d.ts:124:3
124 confirmPayment(options: {
~~~~~~~~~~~~~~~~~~~~~~~~~
125 elements?: StripeElements;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

What have you already attempted?
I am looking at the example code https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#create-ct

#

@heady scarab pressed the πŸ“‘ API button in #help to ask a question:

Question
How to send money to end customer?

Related Request ID(s)
req_T4pv7hGLsaiBCK

What have you already attempted?
i try to attach bank account/ debit card to customer but it did not works it shows following error

You cannot charge or add SEPA bank accounts to customers.

What are you working on?
i m working in a webapp where customer book an event and each customer pay all participants amount it self when other participants join the event that amount should be transferred to that customer

#

@fast spruce pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/address-element?platform=web#create-an-address-element

Question
How can I setup the address element to also ask for billing address?

What have you already attempted?
So it's written in the docs:
> In shipping mode, the element does two things:
> Collect a shipping address.
> Offer the customer the option to use it as a billing address too.

But it does not ask for a second address or a billing address or a checkbox or something

What are you working on?
General webstore

#

@raven fossil pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a legacy Node.js app that uses some properties of the Subscription object that don't exist in the latest API versions (the tax_percent field was removed on 2020-08-27). How to force an earlier API version that still has this field?

Related Request ID(s)
No requests go through

What have you already attempted?
Already tried according to the docs:

const stripe = require('stripe')(config.stripe.secretKey, {
apiVersion: '2015-08-19', // most requests from the app in Prod to our live Stripe account are tagged with this version
});

But it doesn't work, all requests fail with the same "Invalid Stripe API version" error.

#

@tribal quiver pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
it should refund to the customers after cancel the subscription with stripe.SubscriptionCancelParams.Prorate set to true.

What actually happened?
I test this in test environment, actually there's no refund to the customer

Reproduction Steps

  1. the customer create and pay a subscription
  2. then cancel the subscription with stripe.SubscriptionCancelParams.Prorate=true

Question
after success cancel the subscription, why there's no refund to the customer?
"Will generate a proration invoice item that credits remaining unused time until the subscription period end. Defaults to `false`." and this is the API doc.

atomic shuttleBOT
#

@foggy wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I send an array with the create checkout session API call? It's for use in the received webhook after successful checkout.

Related Request ID(s)
req_EP4sBHUchcZcBV

What have you already attempted?
I tried sending it in metadata but metadata only accepts strings. Each event has an unknown number of ticket options and the user can get any amount of each. I want to know the line items they purchased so I can send them confirmation.

What are you working on?
Selling tickets on behalf of venues.

#

@radiant peak pressed the πŸ“‘ API button in #help to ask a question:

Question
If we would like to use invoices API , is there any limitation about the payment way? and how much does it cost if we use invoices API ?

Related Request ID(s)
Dashboard->Developer

What have you already attempted?
no information

#

@vital rover pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
That an payment intent is charged after a confirmation

What actually happened?
It requires action from the users, but we dont understand why

Reproduction Steps
Logs of this pi_3PWFWOIzcid8RrBH0lrPRund you can check the calls an understand the process

Question
Coudl you help me to understand how we need to define the payment intent to avoid required actions from the user after confirmation?

#

@south lichen pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#:~:text=You can share usage information,for example%2C every day).

Question
I want to implement usage based billing system in my website. But I am not sure How can I achieve it. The doc is very confusing

What have you already attempted?
I have created meter and subscription but no Idea what to do further.

#

@foggy wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to request a checkout session with line items expanded from a browser environment but when I add the query parameter the request fails. Without the query parameter the request works.

Related Request ID(s)
req_ceYZIytZ7NqhBC

What have you already attempted?
https://api.stripe.com/v1/checkout/sessions/{{sessionId}}?expand[]=line_items

#

@echo field pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
client_secret = data.stripeClientKey;
stripe = Stripe(data.stripePublicKey);

				var stripeElements = stripe.elements\(\);
				stripeCard = stripeElements.create\("cardNumber", {classes\: {base\: 'form\-control'}}\);
				stripeExpire = stripeElements.create\("cardExpiry", {classes\: {base\: 'form\-control'}}\);
				stripeCvc = stripeElements.create\("cardCvc", {classes\: {base\: 'form\-control'}}\);
				stripeCard.mount\("\#cardnumber"\);
				stripeExpire.mount\("\#expiration"\);

Question
So the customer already has a default payment methood. Even though I Set up these elements, can I display the data from the current default payment method?

What have you already attempted?
Tried to overwrite the fields...I know I dont have the full card number or CVV but I wanted to display at least the last 4.

What are you working on?
Customer update payment method form

#

@cobalt orbit pressed the πŸ“‘ API button in #help to ask a question:

Question
Please advise how to eligible Wechat pay and Alipay

Related Request ID(s)
API

What have you already attempted?
I tried to contact my case manager but it cannot be fixed

#

@rich inlet pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
paying for a one time payment invoice

What actually happened?
I have a customer that paid an invoice with a card, the invoice was declined "do_not_honor" , but after that, the invoice was paid automatically.

Reproduction Steps
i have the customer id you can check the logs

Question
help me to know what the issue so we report it to the user? or we fix the bug on our side

#

@winter tulip pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to use the Customer search end point of the API.

Related Request ID(s)
n/a

What have you already attempted?
When I log into the account and I go to Customers I see a list of customers with name, email and what they spent. I have tried using the Search customers end point and the List all customers end point but it comes up with an empty result. After many tries I tested inside the Strip dashboard. I went to the Customers list and used their email filter. I put in the email of the first entry in the list and it too came up No results. I am not sure what I am doing wrong

What are you working on?
I am trying to build out a simple API call so my client can look up customers and their orders from their website

atomic shuttleBOT
#

@rugged fox pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I would like to reopen support for this as I want more help

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

What have you already attempted?
I've created a payment method (platform) then trying to attach to a customer (attach to a connect's customer account) to make payment

What are you working on?
Im setting up a payment method for a customer that will donate for projects on our platform.

#

@distant sun pressed the πŸ“‘ API button in #help to ask a question:

Question
How do i handle recurring payments without a payment_method_id?

Related Request ID(s)
N/A

What have you already attempted?
Our payment flow in our React Native app goes something like this:
- A user looks to reserve a parking space, and can enable the option to auto-renew their reservation if they like.
- The payment intent is created
- The payment sheet is displayed, a user enters their details and confirms the payment.

Previously, we were handling payment_method_ids, and so when a user wanted to auto-renew, we would continue to create payment_intents to be executed with that specific payment method. Since refactoring to use the PaymentSheet, we no longer have access to the payment methods.

#

@rose saffron pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Classic stripe checkout

What actually happened?
- A "Test" text appears on both Test and Live mode checkout (It is not the Test Mode label)
- It appears on top of billing address form fields

Reproduction Steps
I don't know, not sure why it is appearing here, I don't have custom text/fields in my code

Question
How to remove this "test" text ? I can't find anything in code or dashboard

What are you working on?
B2B SaaS

#

@knotty tartan pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How do users create and manage their accounts in Stripe? We understand how to create products, invoice, etc., but how do users view and manage their purchases? Do they create login credentials?

Doc/Guide Links
We created a test account and viewed links sent by our sales rep.

What are you working on?
We have an iPad app that requires an annual subscription to use features within the app.

#

@lunar surge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
My BE system creates subscription, i'm using promo code with 100% discount. I want to safe payment method for future so my FE uses setup intent to collect credit cards data for future use.
But when i use the cards that should be declined for example: 4000000000000002 , subscription is created but payment method is not added.
So my BE is responsible for creating subscription & FE is responsible for adding payment method. In this case i'm getting subscritpion without payment method which i don't want, i want always to add payment method even if the payment is for free (0.00).
Can i somehow first validate credit card and then ask BE to create subscription ?

Doc/Guide Links
https://docs.stripe.com/testing#declined-payments
https://docs.stripe.com/api/setup_intents
https://docs.stripe.com/js/element/the_element_container

What are you working on?
Don't create subscription when credit card is incorrect for setup intent

#

@lucid crane pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I have my ARN Code from the merchant

Question
How do I use it to track my refund please and how many characters is it?: should it be

What have you already attempted?
I don’t know where to put it in to track my refund as I am a customer

#

@wind schooner pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hi Team so I have a parent stripe account and there are multiple stripe connected accounts connected to this account -> I want to delete the payment methods configuration from one of the connected account which is there because of our app/integrqation

What actually happened?
Some issue has lead to duplicate payment method configuration for one of my connected account and due to this issue my connected account is not able to use the pmc and take payments !

Reproduction Steps
Original issue is hard to reproduce need a solution here

Question
Some issue has lead to duplicate payment method configuration for one of my connected accounts, I just want to delete this configuration from one of the connected account entirely how do i do that ?

#

@unique rose pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to cancel a refund via the API? I see in the dashboard there is a "cancel refund" button on a payment that has been refunded, but the API docs for refunds state "Cancels a refund with a status of requires_action. You can’t cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state", but the refund I am looking at has a status of "succeeded". Since the "cancel refund" button shows in the dashboard I'm assuming there is a way to do this via the API as well.

Related Request ID(s)
re_3PWJkLBZdPwcgHSO1uAZBdnx

What have you already attempted?
Tried issuing a cancel on the refund but I get the message "Charges must be refunded using the /v1/charges/{CHARGE_ID}/refunds endpoint" but I don't see a "refunds" endpoint in the charges API docs.

What are you working on?
Paw Partner Payments

#

@marsh nexus pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I use the created parameter for subscription lists to set an interval?

Related Request ID(s)
NA

What have you already attempted?
I've tried a list of dates and appending the child parameters.

What are you working on?
I'm just trying to create an api call that grabs all subscriptions created after a specific date/time.

atomic shuttleBOT
#

@open wing pressed the πŸ“‘ API button in #help to ask a question:

Question
Good morning, I am lavroing on the website contabilipills.it, I have created a platform for online booking with Amelia.

I integrated Stripe with the Api keys that I found in the control panel. However as soon as I try to finalize a payment via Stripe in the Booking platform the following error shows up: Sorry, an error occurred while processing the payment. Please try again later.

Related Request ID(s)
req_dywYdr01gMaiSR

What have you already attempted?
I entered within Amelia a redirect url upon completion of the check out, however, it didn't work, and I don't think that is the solution that should be followed.

What are you working on?
Website with Amelia Booking

#

@lament carbon pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to get the Issuer of a Payment Method through an API endpoint? Or a webhook. We believe we have a large number of failed payment intents coming from a specific bank and I want to be able to run some analytics on this.

Example from Stripe:

Issuer
Canadian Imperial Bank of Commerce

Related Request ID(s)
None

What have you already attempted?
I've checked through the API documentation and I can't find anything, I've also looked at our payment_intent.payment_failed webhook and the information does not appear to be there either.

What are you working on?
Stripe implementation to accept payments from customers

#

@foggy latch pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Some webhooks from one of our connect accounts (standard) is showing "Pending webhook response"

Related Event ID(s)
pi_3PW39VIOrKgrdAp60xngzi2Z

What have you already attempted?
Not sure what to do here. I don't see an error on our end.

atomic shuttleBOT
#

@gaunt phoenix pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi,
I work on a project that generates mobile apps for customers.
A customer can have multiple apps. The customer has a monthly subscription per app, with a tiered pricing based on the app usage (metric is Monthly Active Users for the app).
I defined 1 Product with 1 Price (usage based, per tier, volume) and 1 Meter (event_name is "testEvents"). I generate Meter Events with event_name = "testEvents".
I don't really understand how Stripe will differentiate/aggregate Meter Events for each of my apps, to generate one bill per app.
Should I create 1 Price (maybe 1 Product) with a different Meter (event_name including the app ID) per app? Or can I use only 1 Product?

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

https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage

What are you working on?
A web app that generates mobile apps for customers.

atomic shuttleBOT
#

@fierce storm pressed the πŸ“‘ API button in #help to ask a question:

Question
My site allows customers to sign up for a subscription free trial. When they are signing up for the trial I collect the payment method, and then create the subscription. The first invoice is a $0 and requires a valid credit card. If the user doesn't have a valid credit card, then the subscription isn't created.

I recently had a customer that used a credit card with incorrect billing zip (didn't match the one on file). The first ($0.00) invoice was successfully paid, but I got an error on the second invoice (greater than $0.00) because the billing zip didn't match.

Related Request ID(s)
https://dashboard.stripe.com/events/evt_1PR3ORHtzQiUYLb0nho6tR4p,https://dashboard.stripe.com/events/evt_1PW918HtzQiUYLb0eOu4OsBD

What have you already attempted?
Searching google

What are you working on?
A subscription service

atomic shuttleBOT
#

@chrome thicket pressed the πŸ“‘ API button in #help to ask a question:

Question
So I recently learned that once a Stripe user goes through OAuth and grants your Stripe App permissions to their resources, you can simply use your client secret + X-Stripe-Account header to make API calls.

So what's the purpose of the refresh token / access token? Is it just to support standard oauth client implementations? The refresh token has a 1-year expiration-do I need to refresh it at some point regardless of whether i use it or not?

Related Request ID(s)
none

What have you already attempted?
n/a

What are you working on?
Stripe App

#

@humble slate pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We're setting up our SaaS payments for our platform. Our customers are businesses. They may have multiple users as part of their account. How should I set up the Customers object in their system? I assume it should represent the business that is our customer. Then what is the individual user making the payment? Is there an object for that user (like primary contact, etc.)?

Specifically, an example flow is:
- A user signs up on a free account. We create a Stripe Customer object and give their company the free plan.
- Other users may or may not join their account.
- One of those users elects to upgrade to a paid plan.

Doc/Guide Links
https://docs.stripe.com/api/customers/object
https://docs.stripe.com/billing/customer

What are you working on?
Building a SaaS platform for researchers.

#

@echo field pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Refused to connect to 'https://merchant-ui-api.stripe.com/link/set-cookie' because it violates the following Content Security Policy directive: "connect-src 'self' https://api.stripe.com https://errors.stripe.com https://r.stripe.com https://ppm.stripe.com".

Question
I'm getting this message in the DOM when trying to use stripe Elements. I hadn't made changes in a while and now I'm seeing this. I'm using V3 of the stripe JS

What have you already attempted?
Verified latest Stripe JS and disabled extension. Tried disabling other plugins I'm using in case there is a conflict.

atomic shuttleBOT
#

@wind schooner pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
stripeOptions.value.paymentMethodTypes=['klarna', 'afterpay_clearpay', 'card']

Passing in the above paymentMethodTypes to stripe payment element

Question
now inside card i want to enable googlepay but not apple pay, pls give a simple solution use case is very simple and don't want to use custom pmc

What have you already attempted?
checked docs and it said to use payment request button, etc. But can it be done in a simpler way ? like some configuration of paymentMethodOptions to pass into the payment element

What are you working on?
I want to accept all cards except apple pay and don't want to use pmc want to do it via the paymentMethodTypes and paymentMethodOptions

atomic shuttleBOT
#

@astral owl pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Question is theoretical rather than working example

Question
I want to test how we handle declines in our backend, but i can only see one card that can be attached and declined after adding. I need to test the different codes that can be returned, such as insufficient funds. How can I do this?

What have you already attempted?
TRied adding the card mannually through dev console but i cant add such a card 4000000000009995, and actually test charging it

#

@fossil rune pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect that link will work somehow

What actually happened?
The link I received on my email doesn’t work

Reproduction Steps
So, my account is freezed or paused

Question
I just can’t accept payments, it says either to contact support or submit additional info within 0 days, due today. Contacting support has nothing in it, the email you have sent me, its link is expired within minutes and link don’t work anymore.

What are you working on?
I’m currently working on solving the shitty issue of Stripe

#

@vestal bough pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to create a checkout session with custom price data, that would allow customer to select how much he wants to pay.

I don't want to create a new price/product for this, that's why I would like to take advantage of the price data functionality.

Related Request ID(s)
none

What have you already attempted?
I've tried to look into the Stripe API docs and have found no clear way to achieve my goal, is it possible?

What are you working on?
One-time payment in which customer can define the amount to pay.

#

@spark night pressed the ❌ An Error button in #help to ask a question:

Error Message
Invalid null ID found for url path formatting. This can be because your string ID argument to the API method is null, or the ID field in your stripe object instance is null. Please contact support@stripe.com on the latter case.

Question
I am trying to update some details on destination payment when charge happens in Platform Account. but I am getting above mentioned error when trying to retrieve transfer object from latest charge of Payment Intent.

What have you already attempted?
N/A

Reproduction Steps
Call PaymentIntent.create(paramMap) and then use latest charge of Payment Intent to retrieve transfer object.

#

@stark whale pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We want to have wallet for users, something like apple app store, so users can charge their wallet and buy products or use pay-as-you-go services then platform debit their wallets. If it be possible through Connect model, it would be easier for us to implement, We checked treasury and it was too complicated for us and wasn't suitable.

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=destination

What are you working on?
we have two services, a marketplace and multipe pay as you go services.

atomic shuttleBOT
#

@limpid mauve pressed the πŸ“‘ API button in #help to ask a question:

Question
I have subscriptions being created through my webapp integration with stripe. My subscribers are not being charged tax even though the tax behaviour of my price is set to be exclusive.

Related Request ID(s)
req_PxzEnqztdkK1Aa

What have you already attempted?
Read docs, checked tax behaviour, looked at logs

What are you working on?
NextJS app

atomic shuttleBOT
#

@steady wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello. I want to set up a description to be an email from the customer. I am talking about the description in the payment details. I am using a test and it always says (created by Stripe CLI), and I want there to be an email or nothing.

Related Request ID(s)
I am not sure what I need to type here

What have you already attempted?
I have tried making it work by changing the request.body, but read that stripe doesn't allow that. Updating won't work for me because it shows up in the logs. I have been banging my head the whole day for this.

What are you working on?
I am trying to choose stripe as the payment method.

#

@jovial holly pressed the ❌ An Error button in #help to ask a question:

Error Message
Request failed, status=400, body={
"error": {
"message": "9:Because your account is a Connect platform, you cannot choose the public distribution at this time.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_SFpXaE95yEZ6X0?t=1719519497",
"type": "invalid_request_error"
}
}

Question
Hello, I'm attempting to create a Stripe app that companies on my dashboard will install then give permissions via OAuth for my company to receive `checkout.session.completed` event webhooks. This app is not for our Connect accounts to use. Why is this a limitation? And what are the work arounds?

What have you already attempted?
Nothing- I'm looking for a work around.

Reproduction Steps
Upload an app with oauth authentication with a Stripe account that has Connect accounts under it.

What are you working on?
Building an app to let a company give us access to receive event webhooks as part of an affiliate integration

atomic shuttleBOT
#

@winter moat pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have a serverless endpoint that listen for Stripe payment_intent.suceeded and send an email to clients based on successful payment status. As of now the emails are sent by using my private SMTP server, meaning the communication/email is not recorded within Stripe on a per client basis.

For ease of centralising everything within Stripe, is there any option to leverage my Stripe account and using Stripe mailing to have this recorded and sent from Stripe on my behalf?

Related Event ID(s)
N/A

What have you already attempted?
See question.

atomic shuttleBOT
#

@vivid anvil pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am currently testing my webhook for the checkout.session.completed trigger. I am already overriding the customer to get a valid customer in the webhook data. Now, I also use the session ID from the webhook data to retrieve the session and expand line_items.

Currently, a new product and price are created with each trigger. Is it possible to avoid creating new products and prices and instead add or override the product and price ID with already existing ones?

Related Event ID(s)
N/A

What have you already attempted?
N/A

#

@peak mauve pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to get only the email, date, and price when getting a invoice? I'm trying to integrate the Stripe API into a subscription system I'm making and that'll make my life a good bit easier.

Related Request ID(s)
N/A

What have you already attempted?
I've used the stripe invoices list command but it has given too much data

What are you working on?
Subscription dashboard

#

@rapid ice pressed the πŸ“‘ API button in #help to ask a question:

Question
Somewhere between Python SDK 8.4 and 9.11 the behavior around creating charges with an application fee changed. In 8.4, the `application_fee` in the response contained the identifier of the `application_fee`. In 9.11, this value is `null`, and an event occurs after the charge is succeeded which updates it with the application fee. Is there any documentation on this change or the new suggested way to handle application fees?

Related Request ID(s)
evt_3PWPhDPB0QrKz9P90tX0BBFU is after the change, evt_3PWOHNPB0QrKz9P90RusA67s is before the change.

What have you already attempted?
Nothing present in the changelog https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md

What are you working on?
Connect platform for developers to sell video games

atomic shuttleBOT
#

@dense saddle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
If I just want to change the items on an existing subscription, can I just delete all the existing items and replace with all new? And is the structure of the items the same as when first creating the subscription? Thanks!

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

What are you working on?
2-sided marketplace

atomic shuttleBOT
#

@fierce storm pressed the πŸ“‘ API button in #help to ask a question:

Question
I would like to do the following:

  1. User subscribes with 14 day trial with sub1
  2. User upgrades to sub2 during trial.

I would like to update the subscription to the new price (sub2), not charge the consumer, and let them finish out their trial.

Related Request ID(s)
evt_1PWQmsHtzQiUYLb0SCCAT4zT

What have you already attempted?
I am trying this:

data = {
'default_payment_method': paymentID,
'cancel_at_period_end': False,
'proration_behavior': "always_invoice",
"items[0][price]": priceID,
# "billing_cycle_anchor": "now"
}

I am seeing both subscriptions on the upcoming invoice for the subscription. I apologize if I am missing something simple!

What are you working on?
Subscriptions

#

@stark whale pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have marketplace and Connect/Express seems helpful but I don't want to redirect user to payment link for every small purchase, one idea came to my mind is to let user charge his account balance (charge destination = user himself) and disable auto payout to use user balance as my app wallet, so when user wants to buy and have enough credit no payment link redirecting needed, but do you have better solution?

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=destination

What are you working on?
Marketplace for media assets

#

@nova bluff pressed the πŸ“‘ API button in #help to ask a question:

Question
Migrating to Stripe Platform from single account servicing multiple customers. Currently I have a stripe account that sells N products. Each product is purchased using the stripe subscription link (via a Checkout page). I then listen to those respective webhook events to manage the application for each customer who has purchased a subscription for each of my N clients. I am looking to migrate to stripe Platform as we scale so that we can do automatic payouts to the N clients as well as per client split the payout to M bank accounts when required. What changes from the API side for us?

Related Request ID(s)
N/A

What have you already attempted?
Investigating what the migration process would look like.

What are you working on?
Platform that manages software subscriptions for N clients. i.e. Client A sells their subscription through us to X of their clients, Client B sells their subscription to Y of their clients and so on.

atomic shuttleBOT
#

@wheat wind pressed the πŸͺ Webhooks button in #help to ask a question:

Question
We were not handling a few webhooks properly in our production env, and got an email about shutting down the webhooks on 7/3/2024. We have since updated our handling of webhooks, and have resent the failed webhooks which were handled and responded correctly. Will the webhook still be shut off on 7/3. Need to ensure that is not the case as this would be a major problem.

Related Event ID(s)
n/a

What have you already attempted?
fixed all failing webhooks

What are you working on?
Card issuing platform

#

@next atlas pressed the πŸ“‘ API button in #help to ask a question:

Question
Are there any conditions other than lack of funds or lack of (correct)parameters that can cause a transfer to throw an exception?

Related Request ID(s)
created different transfers to test

What have you already attempted?
created different transfers to test

atomic shuttleBOT
#

@opaque dust pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have one product that is offered at a flat rate if user is not subscribed but if user is subscribed this product is offered at a graduated tier (for example first 5 orders $10.00, 6 - 10 orders $5.00, etc.).
I use the Stripe hosted Checkout to process a subscription purchase (and if a product is purchased while setting up a new subscription).
After being subscribed then all future purchases of this same product (product is a property report) are via a different Price object, the graduated tier price.
What is the BP to record this usage that will be paid at the end of the month?
Invoice.modify()?

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

What are you working on?
Saas

#

@pure rose pressed the πŸ“‘ API button in #help to ask a question:

Question
I saw there is a thread from today regarding meters and usage report. I'm trying to use prices based on usage for different subscriptions avoiding the creation of new meter/prices each time. Do you have an estimation for the support of subscription_id for the meter usage?

Related Request ID(s)
#1255925982859235421 message

What have you already attempted?
Used the deprecated usage records - want to avoid this approach

What are you working on?
Customers with multiple subscriptions and products with prices depending on usage (independent usage per subscription)

atomic shuttleBOT
#

@distant yoke pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I have a guest customer gcus_1PQu22GEfs7cZv8K8HXY0277 that is a real customer cus_QKAD9KD2SUxHfI.

How do I migrate the payment pi_3PQtzEGEfs7cZv8K1TkA4udJ to cus_QKAD9KD2SUxHfI

Question
I have a guest customer gcus_1PQu22GEfs7cZv8K8HXY0277 that is a real customer cus_QKAD9KD2SUxHfI.

How do I migrate the payment pi_3PQtzEGEfs7cZv8K1TkA4udJ to cus_QKAD9KD2SUxHfI

What have you already attempted?
looks through the docs

#

@viral pelican pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://pub.dev/packages/flutter_stripe_web

Question
So after attempting other ways and not relly getting the desired output I setup a backend server and tried integrating Stripe checkout for my flutter web app. After completing all work, I just learned that Stripe payment sheet isn't available on flutter web? What are the actual features available on flutter web then? I dont want to use Payment links as they dont necessarily have a decent feedback system to actually make users continue to registration on my app after successful payment. And I asked here, they said there isnt a way to reconcile my firebase users vs stripe customers. How else?

What have you already attempted?
Dont want payment links
paymentsheet isnt supported for flutter web.
What are my other clean options?

What are you working on?
A web app where user pays and gets registered on my app to use premium digital content

#

@heady scarab pressed the ❌ An Error button in #help to ask a question:

Error Message
StripeInvalidRequestError: 'individual' is not a supported business type in the country AE

Question
How to create a individual stripe connect account in UAE country?

What have you already attempted?
i read stripe documentation it is clearly mentioned that ,we not support business type individual in UAE .

What are you working on?
but mu customer did not have a trade license/permit or NGOs.

#

@candid widget pressed the πŸ“‘ API button in #help to ask a question:

Question

  1. call api payment_intents/create =>
    - pi_3PWUKXIJOXcdaYNk0NRUj1Pb
    - status: "requires_capture"
  2. call api $stripe->paymentIntents->capture('pi_3PWUKXIJOXcdaYNk0NRUj1Pb', []);
    Question:
    - when api $stripe->paymentIntents->capture('pi_3PWUKXIJOXcdaYNk0NRUj1Pb', []); return failure ?
    - What states does paymentIntents->capture have?

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

What have you already attempted?
https://docs.stripe.com/api/payment_intents/capture

atomic shuttleBOT
#

@blissful pumice pressed the πŸ“‘ API button in #help to ask a question:

Question
i have created a payment_method for off_session use using checkout.session with stripe hosted page.
how when i create a payment_intent with that pm, but the card is requires 3ds, then payent_intent goes into requires_action state. how can i display a stripe hosted page / create a link for this action

Related Request ID(s)
req_ozsdQ7zRBIQNhQ

What have you already attempted?
there is no link in the payment_intent or the event i could call. did not find any hints in the docs

atomic shuttleBOT
#

@rancid gate pressed the πŸ“‘ API button in #help to ask a question:

Question
hello.
I opened a payment session, set it to payment mode, and created the customer. The payment is complete, but when I open the portal, there is no record of the payment. Can you shed some light on this issue?
I have tested it in the development stage.
Here is the documentation I referenced.
https://docs.stripe.com/api/customer_portal/sessions/create

Related Request ID(s)
req_E2i6FPoMWcUCH9

What have you already attempted?
.

#

@worldly wing pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I develop an app which is in the flutter technology. For android and Ios the stripe works good. But when i create in Web i use api for create payment method, I want to use direct property for web also, there is any property for web, Or in web i use cardField property for enter card but i didn't get an card details.

Related Event ID(s)
Developer

What have you already attempted?
I tried with
WebStripe.instance.confirmPaymentElement(ConfirmPaymentElementOptions(confirmParams: ConfirmPaymentParams(return_url: "html.window.location.href")));
/* PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(billingDetails: billingDetails),
))

Also tried with

Stripe.instance.createPaymentMethod(
params: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(billingDetails: billingDetails),
))

What are you working on?
As flutter developer

atomic shuttleBOT
#

@candid widget pressed the πŸ“‘ API button in #help to ask a question:

Question
Mobile number
Can't be updated in testmode
=>
I understand that test mode cannot be fixed
=> So the production environment can fix it, right?
=> Is there an API where I can get this phone number? This is a connected account

Related Request ID(s)
https://connect.stripe.com/app/express#acct_1PTyBiIZ1JuRr5wx/settings

What have you already attempted?
https://connect.stripe.com/app/express#acct_1PTyBiIZ1JuRr5wx/settings

#

@south lichen pressed the ❌ An Error button in #help to ask a question:

Error Message
{
"statusCode": 400,
"message": "Unable to determine the customer this event is for. To fix, pass the customer ID in the event payload with key "cus_QMenG3HRRuk62R"."
}

Question
I am creating meter event but getting above error

What have you already attempted?
I have already passing customer id in payload.

atomic shuttleBOT
#

@earnest kettle pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
$.getScript("https://js.stripe.com/v3/", function (success) {
var stripe = Stripe('{{ StripePublicKey }}');

$\("\#BtnEshopPaymentByBancontact"\).on\("click", function \(\) {
    $.ajax\({
        url\: "/mod/eshop/process/createorder" + "?csrf\_token=" + $\("meta\[name='csrf\_token\_global'\]"\).attr\('content'\),
        contentType\: "application/json; charset=utf\-8",


        success\: function \(Data\) {
            if \(Data.indexOf\("\#\#\#OK\#\#\#"\) \> \-1\) {

Question
Hello, I have to migrate an old JS code that is using createSource API.

What would be the easiest way to migrate this?

What have you already attempted?
Trying to understand the documentation but it's unclear.

atomic shuttleBOT
#

@static tundra pressed the ❌ An Error button in #help to ask a question:

Error Message
Orders keep status on pending payment after payment successful on stripe side. like the stripe callback don't reach the website or so.

Question
hello everyone!! I'm using stripe on a WooCommerce website, and all my orders are in "pending payment" status while I can see successful payment on my stripe account. I'm using the last version of the WC stripe gateway add-on. I see some change log on the version 8.3.1… that should fix it but problem still happen.

can you please help me ? regards

What have you already attempted?
update to last plugin version, try to tweaks some options as well regarding some resolved issues in GitHub. but no luck so far.

Reproduction Steps
place an order on a WooCommerce website using stripe, the status of the order stay on pending payment

What are you working on?
a WooCommerce shop with stripe payment

#

@latent marsh pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello, how can I retrieve the card information used for payment when using Checkout?

Related Event ID(s)
clint92626

What have you already attempted?
I've tried to look at the document, but I couldn't find any information.

#

@obtuse parrot pressed the πŸ“‘ API button in #help to ask a question:

Question
Does the API use the IP address 145.224.102.64? It is not listed in the docs (https://docs.stripe.com/ips), but our logs show it as the request IP of the success callback.

Are there more potential IP addresses we should expect?

Related Request ID(s)
req_mkoMsG1znW4Bhs

What have you already attempted?
Updating the list of valid IP addresses.

What are you working on?
Stripe Checkout Session via HTTPS request

atomic shuttleBOT
#

@fallow heath pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is it possible for users using the Stripe Checkout to voluntarily end their free trial before the expiration date and get charged right away?

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

What are you working on?
A free trial version of our products

#

@night dock pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello Stripe Support,
I would like to know is it possible that Stripe notify customer to pay a payment by email ? if yes which request should i call ?
Thank you in advance

Related Request ID(s)
req_rZU14Bm8B6cTD0

What have you already attempted?
I tried payment intents but seem like i need to specify payment_method i thought customer could fill it themself so i don't need to provide it for them

#

@weary hemlock pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
await this.http.post(environment.apiUrl + '/stripe-checkout/' + checkoutTransactionState.checkoutTransaction?.id + '/express', confirmationToken).toPromise().then((value: any) => {

      const { secret\: clientSecret } = value;
      console.log\("\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-"\);
      console.log\(value\);

      // Confirm the PaymentIntent
      stripe!.confirmPayment\({
        elements,

        clientSecret,
        confir

Question
Error: Element confirming payment is "expressCheckout", but stripe.confirmPayment() was not called within the "confirm" event. Please call stripe.confirmPayment() in the "confirm" event (https://stripe.com/docs/js/elements_object/express_checkout_element_confirm_event). β€”

What have you already attempted?
it is being called from the event, but it reports an error

What are you working on?
express checkout

#

@drowsy ruin pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<script src="https://js.stripe.com/v3/"></script>
<script type="text/javascript">
var stripe = Stripe("{{ stripeKey }}");
var elements = stripe.elements();
const card = elements.create('card');
console.log(card);
card.mount('#card-element');
</script>

Question
I have this script in my view, with my HTML code. I have a problem with the card.mount, because I receive this error in console:
Refused to connect to 'https://merchant-ui-api.stripe.com/link/set-cookie' because it violates the following Content Security Policy directive: "connect-src 'self' https://api.stripe.com https://errors.stripe.com https://r.stripe.com https://ppm.stripe.com"
Can somebody helps me?

What have you already attempted?
I need to create a view to create a new payment method in Stripe

#

@nova cosmos pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm setting up card payment elements on the website and having issues with webhooks. I've set them up correctly, but testing with Stripe CLI isn't working as expected. I'm simulating a Klarna payment, which takes a few hours for approval, and then canceling the payment before approval finishes. This should trigger the "payment_intent.cancel" event, but Stripe CLI automatically fires the "payment_intent.created" event right after "payment_intent.cancel." Why is this happening?

Related Request ID(s)
...

What have you already attempted?
...

What are you working on?
An explanation if someone experienced similiar issues.

#

@solid shore pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'd expect the PaymentIntent to inherit the payment_method_types from the Checkout Session

What actually happened?
However I see ["bacs_debit", "card", "paypal"] for payment_method_types in the PaymentIntent. I then thought those would be inherited from settings/payment_methods and then from settings on the connected account. However, Bacs is set to Inherited (Off) so I wouldn't expect to see that as an option for payment_method_types in the PaymentIntent

Reproduction Steps
Use Ruby gem Stripe::Checkout::Session.create and pass ["card"] for payment_method_types.

Question
I'm upgrading our API from 2022-11-15 to 2023-08-16 in development and am having trouble understanding the behaviour of payment_method_types and payment methods being automatically set.
We use Stripe connect and create a Stripe Checkout Session where we pass ["card"] for payment_method_types and Stripe automatically generates a PaymentIntent from this.

#

@idle girder pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/saving-payment-methods-for-subscriptions-after-strong-customer-authentication-(sca)-regulations-take-effect

Question
we want an API which saves the card details and makes payment in one go using only single API without making an other API hit . Please, explain how can we achieve that or which API can be used for it?

What have you already attempted?
Currently, we are making payments through cards via stripe and it is done in 2 steps. First, we request for setup intent for the card details , and then make the request for the payment intent.
For implementing payments in one step, I am reading the documentation, but didn't get enough information to implement it.

#

@astral owl pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
N/A - issue appears to be stripe side, not in our code as the hook never triggers

Question
I am using test clocks to test subscription renewal failures. I am using the card 4000000000000341 which is decline after attaching. This should fail on renewal. However, when advancing the test clock to the date of renewal, the invoice is being created as draft, but never finalised and billed

What have you already attempted?
Tried advancing the clock well beyond the due date, but it never seems to leave draft status on stripe

#

@verbal pond pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to retrieve active logo detail data from Stripe dashboard. But Idk how to get data via API key. I will attach screenshot to describe what data I want to get via API.

Related Request ID(s)
req_RL1VuPlgyYDAZQ

What have you already attempted?
I tried to extract subscription and charge data.

What are you working on?
Company business metrics

#

@shrewd dawn pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
checkout_session = stripe.checkout.Session.create(
payment_method_types=["card", "ideal", "sepa_debit"], # Add more payment methods if needed
line_items=[
{
"price": offer.stripe_price_id,
"quantity": amount,
},
],
mode="payment",
success_url="https://your-stable.com/success/",

Question
I have a Swift app and want to handle the payment in the web, but when i give back the session id and go to checkout page, it wont find it.

What have you already attempted?
Everything hahaha

What are you working on?
Python & Swift

#

@latent marsh pressed the πŸ“‘ API button in #help to ask a question:

Question
I saw the field payment_method_details.interac_present.receipt.authorization_code in The Charge object, but the information returned by Retrieve a charge does not have interac_present.receipt.authorization_code, how can I obtain it?

Related Request ID(s)
clint92626

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

atomic shuttleBOT
#

@bleak flicker pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am taking a payment on stripe payment page. I want to pass the payer's Email ID as a URL parameter to the redirection url. How do I do that.

Related Event ID(s)
evt_1PWbo1GCrUuSimJTABr9cf7v

What have you already attempted?
I am actually still researching how to do that.

#

@weary hemlock pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Error: Element confirming payment is "expressCheckout", but stripe.confirmPayment() was not called within the "confirm" event. Please call stripe.confirmPayment() in the "confirm" event (https://stripe.com/docs/js/elements_object/

Question
I have this error with Angular, using stripe.js and with https://ngx-stripe.dev/ which means its in stripe.js

What have you already attempted?
Both directly and ngx-stripe.dev

What are you working on?
Express checkout

#

@tribal quiver pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I want to offer the customer to create a future subscription, so I choose the subscription schedules, but i found that it will not collect the customer's pay method. So what should i do to let stripe auto to collect the pay method while creating a subscription schedule?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases

What are you working on?
i am building a subscription feature for our SAAS.

#

@short zenith pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const options = {
clientSecret: this.clientSecret,
// Fully customizable with appearance API.
appearance: {/*...*/},
};

const options2 = {
  layout\: {
    type\: 'accordion',
    defaultCollapsed\: false,
  }
};

elements = stripe.elements\(options\);
const paymentElement = elements.create\('payment', options2\);
paymentElement.mount\("\#payment\-element"\);

const linkAuthenticationElement = elements.create\("linkAuthentica

Question
Hello, Stripe support team. I integrated the payment element using Vue. Could you please explain why I can see the Google Pay payment option on PC’s Chrome browser, but not on the mobile version of Chrome?

What have you already attempted?
I have reviewed the relevant documentation, and the code is mostly consistent with the documentation. I have also completed domain verification.

atomic shuttleBOT
#

@visual obsidian pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
/**
* Creates a Stripe Checkout Session for setting up a customer card
* without specifying any currency or price.
* @param customerId - The ID of the customer for whom the card is being saved.
* @returns The URL of the Checkout Session for setting up the card.
*/
public async createSetupCheckoutSession(
customerId: string,
success_url: string,
cancel_url: string
): Promise<Stripe.Checkout.Session> {
const session = await this.stripe.checko

Question
when saving the card here there isn't a part for billing details on the setup session page, one of the clients was asking to have the company details etc to be put in invoice how can we do that?

What have you already attempted?
just received the inquiry

What are you working on?
seo platform with stripe subscriptions

#

@dapper geyser pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/customer-balance/refunding#testing-refunds

Question
How can I test the "Refund fails" scenario?

What have you already attempted?
I created and paid a PaimentIntent, then I initited a refund, but it was automatically marked as confirmed after initiation https://dashboard.stripe.com/test/payments/pi_3PWOxpCwXI9yfnGa1asl1QfD

What are you working on?
EU customer balnce refunds

#

@umbral mango pressed the πŸ“‘ API button in #help to ask a question:

Question
How can we adjust the subscription invoice date on a subscription? For example, if an annual subscription starts on January 1st and paused from January 1 thru 15th, can we adjust the next invoice/renewal date to account for the 15 days the subscription was paused?

Related Request ID(s)
n/a

What have you already attempted?
We have not found any documentation stating that this can be done. This is why we need help! :)

What are you working on?
Customers have the ability to preorder subscriptions with a future start date.

atomic shuttleBOT
#

@ember perch pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
public IActionResult Chekout()
{
List<Transaction> transactions = new List<Transaction>()
{
new Transaction()
{
Amount = 20,
Status = "sent",
Timestamp = DateTime.UtcNow,

       },


   };

   var domain = "https://localhost:7211/";

   var options = new SessionCreateOptions
   {
       SuccessUrl = domain + $"ChekOut/OrderConfirmation",
       CancelUrl = domai

Question
What if i want to send money that i received from this code, to another user(not business, just usual person), is it possible?

What have you already attempted?
I know that i need to use stripe connect for this, but as i understand, i can send money only to connected account, which must be business accounts. Is there a way to solve my problem?

What are you working on?
Im working on website where company is paying to blogger for advertising. Company paying, money transfers on my stripe account and then i send it to blogger

#

@bright bough pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I'd like to understand the best practices flow of events when using stripe payments.
When user adds a product to a cart, a PaymentIntent is created and updated. When user decides for the purchase the PaymentIntent is "fulfilled" by user filling the payment form and making payment with card or other method. This is creating Charge with proper amount which is then (happy path) successfully paid and attached to PaymentIntent object as 'latestCharge'.

Questions: When the invoice is generated using PaymentIntents and Charges? Docs subscriptions flow only.
Can it be automated so user can download invoice? I see a receipt link in Charge but no invoice link.

Doc/Guide Links
https://docs.stripe.com/invoicing/overview
I can create invoice manually but that will create payment (https://dashboard.stripe.com/test/invoices), what about invoices for existing and paid charges that belong to successful PaymentIntent?

What are you working on?
online product with annual payment (not subscription)

atomic shuttleBOT
#

@gusty lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I pass the fees to the end user via API?

"Passing fees on a customer cannot be done automatically, this must be done manually"

I saw this on one of your documentation. Can you elaborate more this? Thanks

Related Request ID(s)
N/A

What have you already attempted?
N/A

atomic shuttleBOT
#

@rich valley pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I'm playing around with the github example of the payment element integration for react native. here's the link:
https://github.com/stripe/stripe-react-native/blob/master/example/src/screens/PaymentSheetDeferredIntentMultiStepScreen.tsx

Question
my question is, after initialisePaymentSheet() was called I see that `paymentMethodOption` contains apple pay. which is expected and ok. But my question is does apple pay or google pay loads up by default after calling initPaymentSheet()?

What have you already attempted?
---

What are you working on?
rebulding my checkout form

#

@clear zephyr pressed the πŸ“‘ API button in #help to ask a question:

Question
What is the proper way to retrieve settlement currency conversion data (amount and fee) after a payment took place.

Related Request ID(s)
NA

What have you already attempted?
My approach:
- wait for checkout.session.completed event.
- retrieve the associated payment Intent
- retrieve the balance transaction

Unfortunately, (paymentIntent.latest_charge as Stripe.Charge).balance_transaction is null (maybe not yet happened ?).

(for information I properly expand: latest_charge)

atomic shuttleBOT
#

@open brook pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is there any way to include manual tax collection? Our account is based in Puerto Rico, which does not appear among the states enabled to use Stripe Tax for automatic tax calculation. We need to charge the tax at the time of sale so that the customer can see it.

Doc/Guide Links
https://docs.stripe.com/tax/supported-countries/united-states#us-states

What are you working on?
Creating suscriptions.

#

@ivory sail pressed the ❌ An Error button in #help to ask a question:

Error Message
Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again.

Question
We have Apple Pay enabled on our account + the certificate uploaded to our landing page

The Apple Pay widget shows up but its not working when my colleague test it

they are getting the error code below:

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

What have you already attempted?
- I tried to download the certificate again and update it in the project

- I tried to disable the domain and then re-enable it

- I tried to disable Apple Pay and then enable it

Reproduction Steps
- Setup Payment element
- Enable Apple pay payment
- Download the Apple certificate and add it to the project
- Verify the domain successfully

atomic shuttleBOT
#

@silent cargo pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Look at the attached image.

Question
I just changed from test mode to live mode in Stripe. Previously, everything worked perfectly well with Stripe. But now, after switching to live mode it does not work. In the meantime, I've also changed the URL for my website. The only thing I've changed is the key in my code and the Stripe webhook secret and the Stripe API key (I'm using Firestore with your extension)

What have you already attempted?
I've tried everything. I use the Firebase built-in extension, so my code should be relatively simple.

But the error is that I keep not getting redirected to the url for the stripe payment page. Nothing happens, after a user presses on the "pay now" button. And the reason is that I somehow don't get the checkout url, after switching to live mode.

What are you working on?
Simple web app for SaaS

atomic shuttleBOT
#

@cerulean pasture pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Trying to find out how to adjust fees based on if its a tap or insert card transaction on terminal

Question
We charge a $.10 fee for all transactions, however, would like to know how to adjsut that to $.15 for tap transactions

What have you already attempted?
Nothing yet, essentially "losing" money on taps.

What are you working on?
Point of sale

atomic shuttleBOT
#

@nova bluff pressed the πŸ“‘ API button in #help to ask a question:

Question
Follow up question on account type for the flows described in this thread: https://discord.com/channels/841573134531821608/1256019370367385630

Related Request ID(s)
N/A

What have you already attempted?
Currently assessing API implementation for Stripe Connect and custom payouts for clients.

#

@green citrus pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
i'm trying to setup a multi step checkout flow.

Question
Is there a no-code app or option for this?

What have you already attempted?
Looked in marketplace and docs without success

What are you working on?
I have lots of products for an event. I need my users to checkout in 3 steps. 1st is ticket type, second is accommodation and third is a add-on.

atomic shuttleBOT
#

@jagged shuttle pressed the πŸ“‘ API button in #help to ask a question:

Question
I am getting a JavaScript error when creating the stripe element

Related Request ID(s)
no logs. client side

What have you already attempted?
I had this issue once before, and it was solved by clearing the cache, but that is not working this time

What are you working on?
e-commerce site dykigavle.se

atomic shuttleBOT
#

@hollow haven pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment#create-ct

Question
I'm looking at this doc and am curious about step 4, specifically the `stripe.createConfirmationToken` and how it interacts with the Customer. If I submit payment details like name, address, etc along with this, how does this affect the customer? Is the logic something like if there is no existing customer for this info, it creates it, otherwise, it will update the customer if new info is given?

I am trying to determine if I need to submit customer info (like address) to my own server for tracking or if I can use the stripe customer in a later step on my API as the source of truth?

What have you already attempted?
I've been looking at API docs and guides, but I haven't been able to determine explicitly what is happening.

What are you working on?
re-building our stripe flow to migrate from charges to intents

atomic shuttleBOT
#

@opaque dust pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have one product that is offered at a flat rate if user is not subscribed but if user is subscribed this product is offered at a graduated tier (for example first 5 orders $10.00, 6 - 10 orders $5.00, etc.).
I use the Stripe hosted Checkout to process a subscription purchase (and if a product is purchased while setting up a new subscription).
After being subscribed then all future purchases of this same product (product is a property report) are via a different Price object, the graduated tier price.
What is the Best Practice to record this usage that will be paid at the end of the month?
Invoice.modify()?

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

What are you working on?
Saas

atomic shuttleBOT
#

@ivory garden pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<div id="express-checkout-element">
<!-- Express Checkout Element will be inserted here -->
</div>
<div id="error-message">
<!-- Display error message to your customers here -->
</div>

<script\>
    const stripe = Stripe\('pk\_test\_.....................'\);
    const options = {
    mode\: 'payment',
    amount\: 1099,
    currency\: 'usd',
    // Customizable with appearance API.
    appearance\: {/\*...\*/},
    };

    //

Question
How can I integrate stripe google pay using express checkout element in php?

What have you already attempted?
I have already added the above code but the button is not displayed on the browser. Google pay is enabled in my test stripe account and I have added the domain there. I am getting the error "unable to download payment manifest "https://www.google.com/pay". and "unable to download payment manifest "https://www.google.com/redirect"

What are you working on?
Using stripe connect account, I want to integrate stripe google pay where amount and currency will be dynamic

atomic shuttleBOT
#

@fallow ruin pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to know if after a canceled payout if fails there will be a failed payout that will be triggered.

Related Request ID(s)
-

What have you already attempted?
I listen to the payout paid and payout failed webhooks

atomic shuttleBOT
#

@viral pelican pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
await Stripe.instance.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
paymentIntentClientSecret: jsonResponse['paymentIntent'],
merchantDisplayName: 'Cruise-App',
customerId: jsonResponse['customer'],
customerEphemeralKeySecret: jsonResponse['ephemeralKey'],
style: ThemeMode.light,
),
);

Question
This is how I initilized PaymentSheet for flutter web just to learn that it is not supported by web. Now I also learned that instead of PaymentSheet I can use PaymentElement for Flutter web. I have tried several ways but just not being able to make this happen? I mean similar version but with Elements instead of sheets
Can anyone guide me or give me any example/dart sample code to achieve this.

What have you already attempted?
I have tried documentations and somehow I keep getting same issue where I am either screwing up logic or hierarchy in which the methods are called.

What are you working on?
sell Digital Product

#

@jade lodge pressed the πŸ“‘ API button in #help to ask a question:

Question
How can i cancel every single billing meter record usage for all users on a given time range.

Related Request ID(s)
the api

What have you already attempted?
Read eveything about billing meters in the api

What are you working on?
fixing a huge mistake

#

@wraith mesa pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We're wondering what 10000 foot, general approaches would be best practice for a subscription service that has add-on options.

For example, imagine a movie streaming service with two main plans:

Standard = $10/month
Premium = $20/month

The user *must* be subscribed to one of those two main plans, but can optionally add on these:

Multi-device add-on: $5/month
HD audio add-on: $5/month

We're not too worried about details like proration, but for completeness: ideally if you added an add-on in the middle of a billing cycle, it would be prorated (e.g. HD audio added in the middle of a cycle = $2.50 charge)

Thanks!

Doc/Guide Links
#1207806192282238986 message

https://docs.stripe.com/billing/subscriptions/overview

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

What are you working on?
Subscriptions With Add Ons

#

@coral flare pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, I currently have a set of Fraud prevention rules for my account, but was wondering if I could have separate set of rules between Payment APIs and Payment Links. For example, my account currently has certain Country IP blocked for fraud prevention, but I am looking for a way to create a different payment source with different IP Block setup. Is this possible?

Related Request ID(s)
I do not have any

What have you already attempted?
I have not started anything yet, just asking if this is possible.

atomic shuttleBOT
#

@winged nebula pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const {error, confirmationToken} = await stripe?.createConfirmationToken({
elements: stripeElements.value,
params: {
payment_method_data: {
billing_details: {
name: order.orderRaw.address.invoiceAddress.name,
}
},
return_url: XXX
}
});

Question
The API wants me to specify a return_url for the express checkout.
Unfortunately, this is completely impractical for my purpose.
Can I deactivate this somehow?

I only use it for applepay, paypal and google pay.

What have you already attempted?
omitting return_url throws an error.

#

@nova bluff pressed the πŸ“‘ API button in #help to ask a question:

Question
Migrating existing Subscriptions in non Stripe Connect account to Stripe Connect?
#1256019370367385630 message

Related Request ID(s)
N/A

What have you already attempted?
N/A

atomic shuttleBOT
#

@dense saddle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
When I edit an active subscription, Stripe is performing a bunch of steps on the next coming invoice to account for "unused time" and "remaining time". How do I prevent that behavior? I simply want the old items to be removed and the new items to be added, without any of that pro-rating behavior. Thanks.

Doc/Guide Links
https://dashboard.stripe.com/test/subscriptions/sub_1PW4vxGx3oNn81LnyieK5jEt

What are you working on?
marketplace

#

@nova cosmos pressed the πŸ“‘ API button in #help to ask a question:

Question
I have the issue that when I try to make the payment using the web element built by stripe so that I can take a payment onsite using card, the following function that is provided by striped named handleSubmit does not fire when the payment is successful, only when it is unsuccessful.

The reason I am trying to run this function is to be able to create an ajax callback to save the order at that point which works fine if the payment is unsuccessful. It doesn't have to be that function specifically, but a way to run an ajax call regard less whether the payment is or is not successful.

Related Request ID(s)
N/A

What have you already attempted?
...

What are you working on?
A payment gateway

#

@lofty arch pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to retrieve the TIN - or at least the last 4 digits - for a Connect account? I'm using the custom setup and want to display the user's entered data to them in my own UI, but no endpoint I can find returns the TIN. They all only return a boolean stating if the TIN has been entered.

Related Request ID(s)
N/A

What have you already attempted?
Retrieving Connect, Account, and Customer objects using specific IDs

What are you working on?
A marketplace application where Sellers use Stripe Connect for payments and payouts

#

@obtuse quarry pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
So, I have a app which I'm gonna use it to submit evidence to stripe disputes.
On the front end there can be up to 10 files potentially uploaded ( 5 for a specific part, 5 for "additional info"), but at the same time, there could be only one file uploaded. These files can be pdf/png/jpg
I'm working with HASURA and it doesnt support file upload through remote schema.
Should I convert those uploaded files to base64 and send to backend, OR, upload N files to stripe through file API, then send those ids to backend and create another 10 file links for those files, to be downloadable on backend.

Doc/Guide Links
Nothing but stackoverflow advices.

What are you working on?
Personal Project

#

@vocal stump pressed the πŸ“‘ API button in #help to ask a question:

Question
I don't understand why expanding payment_method when confirming a setup intent gives me a card that does not have a fingerprint property.

Related Request ID(s)
req_CCrSloB2Oz0rco

What have you already attempted?
I expand the payment_method when confirming the intent.

What are you working on?
Updating payment methods on our site.

atomic shuttleBOT
#

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